/* Layout
==========
Coloured row structure for site scaffolding.
* Grey 			.row-grey
* White 		.row-white
* PSCMS Blue	.row-blue
* Dark Blue		.row-dark-blue

Recommended usage pattern:

    <div class="row-fluid row-grey">
		<!-- Wrapper/Container -->
    </div>
*/
.row-grey{ background-color: #eee; }
.row-white{ background-color: #f9f9f9; }
.row-blue{ background-color: #2f76b6; }
.row-dark-blue{ background-color: #1c1f22; }

/* 	Body
	
	Remove bootstrap 2.3 body padding.
*/
	body{
		padding: 0px;
	}

/* Wrap 
	
	A centered container.
	Note: Must use .clearfix if .wrap contains grid.
*/
.wrap{
	margin: 0 auto;
	padding: 0 20px;
	max-width: 1000px;
}

/* Hero */
#hero{
	background-image: url('../../../img/landing_page/hero.jpg');
	background-position: top center;
	background-repeat: no-repeat;
	min-height: 600px;
	border-top: 1px solid #30363a;
}
/* UL */
.process li{
	display: inline-block;
	zoom: 1;
	*display: inline;
	width: 33%;
	margin: 60px 0;
}
/* Laptop */
.laptop{
	width: 100%;
	text-indent: -9999px;
	display: block;
	background-size: 100%;
	margin-top: -45px;
	margin: -45px 0 30px 0;
}
	.laptop.laptop_desktop{ display: block; }
	.laptop.laptop_tablet{ display: none; }
/* Client List*/
.clients li{
	display: inline-block;
	width: 20%;
	text-align: center;
	float: left
}
/* Footer */
#footer{
	height: 80px;
}
#footer p{
	line-height: 80px;
	margin-bottom: 0;
}
.social{
	margin-top: 30px;
}
	.social-twitter,
	.social-facebook{
		display: inline-block;
	}
/* Modal Forms */
.form-horizontal .control-label{
	width: 150px;
}
form{
	margin: 0; /* Reset abitrary form padding. */
}


/* Logo placement and sizes.
==========
Various Pointstreak logos and sizes *Needs expanding*
* 325 x 50		.logo_325

Recommended usage pattern:
	
	<h1 class="logo logo_32">
		<a href="#">Pointstreak Sports Technology</a>
	<h1>
*/
.logo a{
	text-indent: -9999px;
	display: block;
	background-repeat: none;
}
	.logo_325 a{
		width: 325px;
		height: 50px;
		background-image: url('../../../img/landing_page/logo_325.png');
	}


/* Settings
==========
* Typography
* Colors

	Headings h1 - h4.
*/
h1,
h2,
h3,
h4{
	font-family: "Roboto", Arial, sans-serif;
	color: white;
}
	h1{
		font-size: 44px;
		font-weight: 500;
		line-height: 60px;
	}
	h2{
		font-size: 38px;
		line-height: 52px;
	}
	h3{
		font-size: 32px;
		line-height: 44px;
	}
	h4{
		font-size: 24px;
		line-height: 32px;
	}

/* Paragraphs 

	* Paragraph Leads 	.lead
	* Fine print 		.fine-print
*/
p{
	font-family: "Roboto", Arial, sans-serif;
	font-size: 14px;
	line-height: 24px;
	color: #777;
}
	.lead{
		font-size: 20px;
		line-height: 32px;
	}
	.fine-print{
		font-size: 12px;
		line-height: 18px;
	}

	.alert p,
	.well p{
		line-height: 18px;
		font-size: 13px;
	}

	.feature-header{
		font-size: 20px;
		font-weight: 500;
		text-transform: uppercase;
		line-height: 38px;
	}

/* Colors
	
	Add class to any typographic element.
*/
.light-grey{ color: #ddd; }
.middle-grey{ color: #777; }
.dark-grey{ color: #444; }
.title-blue{ color: #50555a; }


/* Buttons
==========
Buttons for performing actions in the site.

Identifies the primary action in a set of buttons.

    <button class="btn primary">Primary</button>
*/
.btn{
	border: none;
	color: white;
	font-weight: 500;
	text-shadow: none;
}
	.btn:hover,
	.btn:focus{ color: white; }
.btn-pscms-primary{ 
	padding: 10px 25px;
	font-size: 15px;
	background: #2f76b6; 
}
	.btn-pscms-primary:hover,
	.btn-pscms-primary:active,
	.btn-pscms-primary:focus{ background: #307ec3; }

.btn-pscms-secondary{
	padding: 10px 25px;
	font-size: 15px;
	background: none;
	box-shadow: inset 0 0 0 2px #7e8287;
}
	.btn-pscms-secondary:hover,
	.btn-pscms-secondary:active,
	.btn-pscms-secondary:focus{ 
		box-shadow: inset 0 0 0 2px #909499;
		background: none; 
	}
.btn-pscms-grey{ 
	padding: 10px 25px;
	font-size: 15px;
	background: #555; 
}
	.btn-pscms-grey:hover{ background: #666;}


/* Padding & Margins
==========
Deals with padding and margins for elements on the page.
*/
h1.logo{
	margin: 70px 0 50px;
}
.btn-pscms-secondary{
	margin-left: 20px;
}
#pitch .span6{
	margin-top: 40px;
}
.call-to-action{
	margin-bottom: 75px;
}
.clients li{
	margin: 30px 0;
}


/* Media Queries
==========
Set up for mobile, tablet and desktop views.

	Tablet 					 950px
	Mobile					<768px
*/
/* Tablet  */
@media only screen and (min-width: 768px) and (max-width: 950px){
	img.laptop{
		margin-top: 20%;
	}
}
/* Mobile + Phablet */
@media only screen and (max-width: 768px){
	body{
		overflow-x: hidden; /* Hide offset elements */
	}
	/* Landing Page 'Hero' Section. */
	#hero{
		background-image: url('../../../img/landing_page/hero_tablet.jpg');
	}
	.logo{
		display: none; /* Hide Logo */
	}
	#hero .row-fluid .span14{
		width: 100%; 
		text-align: center; /* Center hero text. */
	}
	#hero .row-fluid [class*="span"]{
		min-height: 1em; /* Collapse header row. */
	}
	/* Sales Pitch */
	img.laptop{
		width: 100%;
		height: auto;
		background-image: none;
		margin: -40px auto 0 auto;
		max-width: 500px;
	}
		.laptop.laptop_desktop{ display: none; }
		.laptop.laptop_tablet{ display: block; }
		#pitch .span6{
			width: 100%;
			margin-left: 0;
		}
	.process li{
		display: block;
		width: 100%;
	}
	#pitch .span6 h4,
	#pitch .span6 p{ 
		text-align: center; 
	}
	/* Client List */
	.clients li{
		display: inline-block;
		width: 25%;
		text-align: center;
	}
	.clients li:last-child{
		width: 100%;
	}
	/* Footer */
	#footer p{
		line-height: 45px;
		margin-bottom: 0;
	}
	.social{
		display: block;
		float: none;
		margin: 0;
	}
	.copyright{
		display: block;
		float: none;
	}
	/* Modal */
	.modal{
		width: 100%;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		margin-left: 0;
	}
		.modal.fade.in{ top: 0; }
	.modal-footer{
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
	}
	.modal-body{
		bottom: 50px;
		top: 80px;
		left: 0;
		right: 0;
		position: absolute;
		overflow: scroll;
		max-height: none;
	}
	.form-horizontal .control-label{
		width: 60px;
	}
	.form-horizontal .controls{
		margin-left: 120px;
	}
}


/* 	Questionnaire Styles
	===

	Note: These styles are included in landing-page.css because the
	questionnaire and landing page share styles. 

	Todo: Rename landing-page.css to be more generic. 

	These styles should be moved to a new stylesheet.

	Default Block Container
	---
	<div class="block block-offset">
		...
	</div>
*/

	.block{
		background-color: #FFF;
		box-shadow: 0px 10px 50px rgba(0,0,0,.25);
		padding: 50px;
		-moz-box-sizing: padding-box;
		-ms-box-sizing: padding-box;
		-webkit-box-sizing: padding-box;
		box-sizing: padding-box;
	}

		.block-offset{
			position: relative;
			top: -175px;
		}

/* 	Large Format-Form
	---
	This works in conjunction with form-horizontal for
	large, full-page forms (ie. questionnaire).

	<form class="form-horizontal form-large-format">
		...
	</form>
*/

	.form-large-format{}
		.form-large-format .control-group{ margin: 0; padding: 20px 0; }
		.form-large-format .control-label{ width: 335px; }
		.form-large-format .controls{ margin-left: 360px; }

	.form-large-format .error{ display: inline-block; margin-right: 15px; }



/* 	Questionnaire Template Selection.
	---
*/
	.questionnaire-designs li{
		display: inline-block;
		width: 43%;
		margin: 0 30px 30px;
		cursor: pointer;
		position: relative;
	}
	.questionnaire-designs li .image-container{
		height: auto;
		overflow: hidden;
	}
	.questionnaire-designs li img{
		width: 100%;
	}

	.questionnaire-designs li:hover{
		box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.3);
	}

	.questionnaire-designs li.active{
		box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
		opacity: 1 !important; /* IE8 */
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important; /* IE8 */
	}
		.questionnaire-designs li.active .badge{ 
			display: block; 
		}
		.questionnaire-designs li.opaque{ 
			opacity: .5; 
			-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE8 */
		}


	/* Validation Style */
	.error + .questionnaire-designs{ border: 1px solid red; }

	/* Selected Badge */
	/* Todo: consolidate with PSCMS badges on Photo Albums */
	.questionnaire-designs li .badge{
		width: 21px;
		height: 22px;
		border-radius: 25px;
		padding: 7px 0 0 10px;
		position: absolute;
		bottom: -8px;
		right: -8px;
		background-color: #56b340;
		display: none;
		z-index: 100;
	}

/*  Questionnaire Level Specific
	---

	Increase size of template thumbnails for LCAHL and Penguins.
	Todo: CMS-2984 Increase size of all template thumbnails.
*/
	.penguins .questionnaire-designs li,
	.lcahl .questionnaire-designs li{
		display: inline-block;
		width: 70%;
		margin: 0 120px 30px;
		cursor: pointer;
		position: relative;
	}


