@import "typography.css";


/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: stuart clift 
   EMAIL: stuclift79@gmail.com
   Website http://www.stuartclift.com
   ========================================================================== */





/*-------LAYOUT--------*/

html,body{
	height: 100%;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}


body {
	margin: 0px;
	padding: 0px;
	color: #283b43;
	background-color: #fff;
	font-size: 62.5%;
	font-weight: normal;
	border-top: 6px solid #007391;
	}
	
#wrapper {
	margin: 0 auto -240px;
	min-width: 960px;
	width: 100%;
	min-height: 100%;
	height: auto!important;
	/*position: relative;*/
}


#header_wrapper {
	background-color: #f6f6f6;
	border-bottom: solid 1px #EBECEC;
	margin: 0;
	padding: 0;
	width: 100%;
}

#header{
	
	margin: auto;
	padding: 0;	
	width: 960px;
	padding-top: 24px;
	padding-bottom: 12px;
	border-bottom: solid 1px #d6d8d9;
	}
	
	
	
#tagline_container{
	width: 960px;
	border-top: 1px solid #fff;
	padding-top: 36px;
	padding-bottom: 36px;
	margin:auto;
}

	
	
	
.main{
	overflow: auto;
	width: 960px;
	padding-bottom: 240px;
	margin:auto;
}






#home_content{
	width: 960px;
	margin: auto;
	position: relative;
	float: left;
	padding-bottom:48px;
}


#content{
	width: 648px;
	float: left;
	background-color: #fff;
	padding-bottom: 144px;
	position: relative;
	
}


#content img{
	margin-bottom: 24px;
}












/*----PARAGRAPH AND HEADER TAGS----*/	
	
body,p.subhead, .learn_more a{
	font-family: 'MuseoSlab500', Georgia, serif;
}
		

p{
	margin: 0;
}

#home p.copy {
	float: left;
	color: #4c4846;
	font-size: 1.3em;
	line-height: 1.8em;
	padding:0 40px 12px 0;
	width: 920px;
}

p.copy {
	float: left;
	color: #4c4846;
	font-size: 1.3em;
	line-height: 1.8em;
	padding:0 40px 12px 0;
	width: 608px;
}


h1{
	font-family: "MuseoSlab500",sans-serif;
	font-weight: normal;
	font-size: 2.2em;
	line-height:1.5em;
	display: inline;
	margin: 0;
	padding: 0;
}

h1.inline{
	font-weight: normal;
	display: inline;
	color: #f15f22;
}

h2.welcome{
	margin: 0 0 12px 0;
	padding: 18px 0 6px 0;
	font: 500 1.8em "MuseoSans500", Arial, Helvetica, Geneva, sans-serif; 
	border-bottom: 1px solid #e4e6e7;
}

h2.page_title{
	margin: 24px 0 12px 0;
	padding: 0 0 6px 0;
	font: 500 1.8em "MuseoSans500", Arial, Helvetica, Geneva, sans-serif; 
	border-bottom: 1px dotted #e4e6e7;
	text-transform: uppercase;
}


#confirmation h2.page_title{
	text-transform: none;
}





/*--------LINKS AND CALL TO ACTION BUTTONS------*/

a {
	text-decoration: none;
	color: #007391;
	}
	
a:visited{
	color: #007391;
}	

a:hover { color: #06e; }	


#header a.logo {
	display: block;
	padding-top: 6px;
	margin: 0;
	font:bold 2.2em/1.2em "HelveticaNeue",sans-serif;
	width: 200px;
	text-shadow: 0 2px 5px #fff;
	color: #283B43;
}

#header a.logo span{
	font: 22px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}


		
a:hover.logo {
	text-decoration: none;
}


a.cta{
	font-family: 'MuseoSans500', HelveticaNeue, sans-serif;
	font-size: 1.4em;
	display: block;
	padding: 10px 0;
	width: 99px;
	background-color: #354149;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
	-khtml-border-radius:5px;
	
	color: #fff;
	text-align: center;
	margin: 20px auto 0 ;
}

a.cta.learnmore{
	margin-top: 12px;
	margin-bottom: 14px;
}

a.cta.returnHome{
	margin: 20px 0 0 0;
	width: 175px;
	padding: 12px 0;
}

a:hover.cta{
	background-color: #3E5259;
	
}

.useful_link{
	text-transform: uppercase;
	font-size: 1.4em;
	font-family: 'MuseoSans500',HelveticaNeue, sans-serif;
	padding: 10px 0 5px 0;
	display: block;
}







/*----NAV----*/	

#header ul {
	margin-top: 22px;
	list-style: none;
	float: right;
}

#header li{
	float: left;
	
}

#header li a{
	margin-right: 10px;
	display: block;
	padding: 8px 8px;
	font-family: 'MuseoSans500', sans-serif;
	font-size: 1.4em;
	color: #889195;
}

#header li a:hover{
	color: #283b43;
}

#header li a.contact_me {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
	-khtml-border-radius:5px;
	background-color: #25BFEF;
	color: #fff;
	margin: 0;
}

#header li a:hover.contact_me {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
	-khtml-border-radius:5px;
	background-color: #ffffff;
	color: #9FBAC9;
}

#home #homelink, 
#learner_driver #learner_driverlink,
#lesson_fees #lesson_feeslink,
#driving_test #driving_testlink,
#pass_plus #pass_pluslink {
	color: #283b43;
		
} 
















/*-------BANNER ----------*/




.banner{
	display: block;
	height: 324px;
	width: 960px;
	padding: 24px 0 0 0;
	margin: 0;
	border-top: 1px solid #f6f6f6;
			
		
}

.image{
	float: left;
	margin: 0;
	padding: 0;
	border: 0;
}

.image img{
	width: 660px;
	height: 324px;
}


.offer_box{
	margin: 0;
	float: left;
	width: 278px;
	height: 304px;
	background-color: #007391;
	padding: 10px 10px;
	cursor: pointer;
	display: inline;
	
}

.offer_box.over{
	background-color: #077d9c;
}


.offer_container{
	border: 3px solid #fff;
	width: 274px;
	height: 298px;
	
	
}

p.special{
	color: #fff;
	font: 4.2em "Lobster13Regular", Arial, Helvetica, Geneva, sans-serif;
	padding-top: 9px;
	margin: 40px auto 10px;
	text-align: center;
}

p.subhead{
	margin-top: 10px;
	text-align: center;
	color: #fff;
	font-size: 1.5em;
	margin-bottom: 0;
	
}

p.small{
	font-size: 12px;
}

p.grey{
	color: #283b43;
}


p.offer{
		font-family: 'MuseoSlab500';
		font-size: 7.2em;
		text-align: center;
		color: #fff;
		line-height: 1em;
		margin: 0;
	}

p.offer span{
	font-size: 60px;
	vertical-align: text-top;
}

p.per_hour{
	text-align: center;
	font-size: 14px;
	color: #fff;
	margin: 0;
}








	
	
	
	

/*-------- LEARN MORE MODULES ON HOMEPAGE ------------*/



.ln_more_container {
	margin: 0;
	width: 960px;
	float: left;
	position: relative;
	padding-bottom: 48px;
	border-bottom: solid 3px #EBECEC;
	
	
	
}

.learn_more {
	background-color: #e4e4e4;
	width: 202px;
	height: 202px;
	float: left;
	margin-right: 26px;
	padding: 9px;
	text-align: center;
	margin-top: 24px;
	
	
}

.learn_more.over{
	cursor: pointer;
	background-color: #f3f3f3;
}

.learn_more h2{
	margin: 8px 0 0 0;
	font-family: 'MuseoSans500';
	color: #ff8645;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 2.4em;
	
}


.learner_driver, .driving_test, .driving_lessons, .pass_plus{
	
	padding-top: 45px;
	border: 2px solid #fff;
	
}

.learner_driver {
	background: url('../img/car_icon.png') no-repeat 50% 15px;
	}
	
.driving_test {
	background: url('../img/traffic_cone.png') no-repeat 50% 14px;
}


.driving_lessons {
	background: url('../img/piggy_bank.png') no-repeat 50% 13px;
	
}

.pass_plus {
	background: url('../img/info_icon.png') no-repeat 50% 13px;
}







/*----LESSON FEES TABLE---*/

/*table{
	width: 648px;
}*/


#training{
	width: 500px;
}
#fee {
	width: 150px;
}



td {
	padding: 10px 50px 10px 5px;
	color: #4c4846;
	font: 1.4em/1.5em 'MuseoSlab500', Arial, Helvetica, Geneva, sans-serif;
	}

tbody tr:nth-child(even) {
   background-color: #f6f6f6;
}	


tbody tr:nth-child(odd) {
   background-color:#e1e4e5;
}	


td.smalltext{
	font-size: 1.2em;
	color: #5f6e74;
}








/*--SIDEBAR & TESTIMONIALS--*/

#sidebar{
	padding: 24px 0 60px 0;
	float: left;
	width: 260px;
	margin-left: 52px;
}

#testimonials{
	margin: 24px 0 0 0;
	width: 260px;
	position: relative;
	float: left;
}

.testimonial{
	background-color: #e1e4e5;
	padding: 20px;
	overflow: hidden;
	float: left;
	
}

p.quote_title {
	text-transform: uppercase;
	display: block;
	margin-bottom: 10px;
	color: #283B43;
	font: bold 1.2em Arial, Helvetica, Geneva, sans-serif;
}

p.quote {
	color: #283b43;
	font-size: 1.2em;
	line-height: 1.8em;
	margin: auto;
		
}

.author{
	background: url('../img/qte_mk_triangle.png') no-repeat 10% top;
	position: relative;
	width: 250px;
	float: left;
}


.author p{
	
	font: bold 1.1em Arial, Helvetica, Geneva, sans-serif;
	margin: 48px 0 30px 15px;
	}

.author p span{
	color: #283B43;
	
}




/*---LIMITED OFFER MODULE---*/

.limited_offer{
	

	text-align: center;
	margin-top: 24px;
	width: 190px;
	
	background-color: #007391;
	padding: 0 30px 20px 30px;
	color: #fff;
}

.limited_offer h3{
	margin: 0;
	padding: 20px 0 10px 0;
	border-bottom: 2px solid #fff;
	font: 3.6em 'Lobster13Regular', Arial, Helvetica, Geneva, sans-serif;
	
	
	
}

.limited_offer p{
	font: 'MuseoSlab500', Georgia, serif;
}

p.first_ln{
	font-size: 18px;
	text-transform:uppercase;
	margin-top: 12px;
}

p.second_ln{
	font-size: 48px;
}

p.third_ln{
	font-size: 12px;
}

p.fourth_ln{
	font-size: 10px;
	text-transform: uppercase;
	padding: 10px 0;
	border-bottom: 7px solid #fff;
}




/*------YOUTUBE VIDEOS---*/


iframe{
	float: left;
	margin-bottom: 20px;
}


/*-----CONTACT FORM---*/




form{
	width: 442px;
}

label{
	display: block;
	margin-top: 20px;
	font-size: 1.2em;
	
}

input[type="submit"]{
	display: block;
}

input, textarea{
	width: 400px;
	border: 1px solid #e2e0e0;
	background-color: #f6f6f6;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 1.4em;
}

textarea{
	height: 200px;
	}

input[type=submit] {
	text-align: center;
	color: #fff;
	font-family: 'MuseoSans500', Helvetica-Neue, Arial, sans-serif;
	font-size: 1.4em;
	margin-top: 20px;
	width: 130px;
	height: 37px;
	border: none;
	cursor: pointer;
	background-color: #283B43;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius:5px;
	-khtml-border-radius:5px;
	
}

input[type=submit]:hover{
	background-color: #3E5259;
}

label.error{
	color: #f15f22;
}









/*-------- FOOTER ----------*/

#footer_wrapper {
	color: #fff;
	position: relative;
	background-color: #354149;
	margin-top: -240px;
	height: 240px;
	clear: both;
	
}

#footer{
	position: relative;
	width: 960px;
	margin: auto;
}

#footer p{
	font: 1.3em 'MuseoSans500', Arial, Helvetica, Geneva, sans-serif;
	text-transform: uppercase;
	padding-bottom: 4px;
	border-bottom: 1px solid #f6f6f6;
	margin-bottom: 10px;
	width: 220px;
	margin-top: 0;
}

.footer_module{
	width: 220px;
	float: left;
	padding-top: 12px;
	
}

#footer a.logo{
	font: bold 1.5em/1em 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
	color: #fff;
	
	}
	
#footer a.logo span{
	font: 15px 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
}	
	

#footer ul{
	padding: 0;
	margin: 0;
	list-style: none;
}

#footer ul.pages{
	font-weight: normal;
	font: normal 1.2em/1.5em 'MuseoSans500', Arial, Helvetica, Geneva, sans-serif;
}

#footer ul.pages li{
	padding-bottom: 2px;
}

#footer ul{
	font: bold 1.2em/1em 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
	margin-bottom: 4px;
	
}

#footer ul a{
	color: #fff;
}

#footer ul img{
	vertical-align: middle;
	margin-bottom: 3px;
	margin-right: 8px;
}

#footer .push{
	padding-left: 10px;
	padding-right: 10px;
}

#footer .right{
	padding-right: 20px;
}



/*===== END PRIMARY STYLES =========*/
/*==================================*/





/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
