html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, figure {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline; 
}
img {
	float: left;
	max-width: 100%;
	height: auto;
}	
/* remember to define focus styles! */
:focus {
	outline: 0;
}
@font-face {
    font-family: 'momstypewriterregular';
    src: url('/fonts/moms_typewriter-webfont.eot');
    src: url('/fonts/moms_typewriter-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/moms_typewriter-webfont.woff') format('woff'),
         url('/fonts/moms_typewriter-webfont.ttf') format('truetype'),
         url('/fonts/moms_typewriter-webfont.svg#momstypewriterregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'hanoded_handregular';
    src: url('/fonts/hanoded_hand-webfont.eot');
    src: url('/fonts/hanoded_hand-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/hanoded_hand-webfont.woff') format('woff'),
         url('/fonts/hanoded_hand-webfont.ttf') format('truetype'),
         url('/fonts/hanoded_hand-webfont.svg#hanoded_handregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'my_underwoodregular';
    src: url('/fonts/myunderwood-webfont.eot');
    src: url('/fonts/myunderwood-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/myunderwood-webfont.woff') format('woff'),
         url('/fonts/myunderwood-webfont.ttf') format('truetype'),
         url('/fonts/myunderwood-webfont.svg#my_underwoodregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body {
	background: url('images/parchment.jpg');
}
a:link,
a:visited {
	text-decoration: none;
	color: #21864a;
}
a:hover,
a:active {
	text-decoration: underline;
	color: #333;
}
body,td,th,
h1, h2, h3 {
	font-family: momstypewriterregular;
	font-size: 22px;
	color: #333;
}
h1 {
	clear: both;
}
h1, h2, h3 {
	padding-bottom: 10px;
	text-decoration: underline;
}
p {
	line-height: 36px;
	padding-bottom: 15px;
}
.hidden {
	position:absolute;
	left:0px;
	top:-500px;
	width:1px;
	height:1px;
	overflow:hidden; 
}
#wrapper {
	width: 1080px;
	margin: 0 auto;
}
header#hmain {
	width: 770px;
	margin: 45px auto;
	height: 160px;
}
#h2head,
#hphone {
	font-family: 'raleway', helvetica, arial, sans-serif;
	font-weight: 500;
	color: #4661ca;
	font-size: 54px;
	width: auto;
	float: left;
}
#h2head,
#h2head a,
#hphone a {
	color: #4661ca;
	text-decoration: none;
}
#h2head {
	margin-top: 24px;
}

/* Navigation
------------------------------------------------*/

#logo {
	width: 330px;
	float: right;
}
nav {
	width: 100%;
	float: left;
	margin: 15px 0 5px; 
}
nav ul#nav {
	width: 100%;
	float: left;
	list-style: none;
}
nav ul#nav li {
	width: auto;
	float: left;
	margin-right: 16px;
}
nav ul#nav li:last-of-type {
	margin-right: 0;
}
nav ul#nav li#ho a,
nav ul#nav li#wh a,
nav ul#nav li#mu a,
nav ul#nav li#ca a,
nav ul#nav li#ne a,
nav ul#nav li#re a,
nav ul#nav li#co a {
	width: 140px;
	height: 80px;
	display: block;
	float: left;
}
nav ul#nav li#ho a:link,
nav ul#nav li#ho a:visited {
	background: url('images/butt-home.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#ho a:hover,
nav ul#nav li#ho a:active {
	background: url('images/butt-home2.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#wh a:link,
nav ul#nav li#wh a:visited {
	background: url('images/butt-where.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#wh a:hover,
nav ul#nav li#wh a:active {
	background: url('images/butt-where2.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#mu a:link,
nav ul#nav li#mu a:visited {
	background: url('images/butt-howmuch.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#mu a:hover,
nav ul#nav li#mu a:active {
	background: url('images/butt-howmuch2.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#ca a:link,
nav ul#nav li#ca a:visited {
	background: url('images/butt-thecar.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#ca a:hover,
nav ul#nav li#ca a:active {
	background: url('images/butt-thecar2.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#ne a:link,
nav ul#nav li#ne a:visited {
	background: url('images/butt-news.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#ne a:hover,
nav ul#nav li#ne a:active {
	background: url('images/butt-news2.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#re a:link,
nav ul#nav li#re a:visited {
	background: url('images/butt-rev.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#re a:hover,
nav ul#nav li#re a:active {
	background: url('images/butt-rev2.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#co a:link,
nav ul#nav li#co a:visited {
	background: url('images/butt-contact.png') center left no-repeat;
	background-size: 100%;
}
nav ul#nav li#co a:hover,
nav ul#nav li#co a:active {
	background: url('images/butt-contact2.png') center left no-repeat;
	background-size: 100%;
}
#share {
	width: auto;
	float: right;
}
iframe.twitter-share-button {
	padding: 8px 10px 0 10px;
	float: left;
}
#share img {
	padding-right: 10px;
}

/* Media queries
------------------------------------------------*/

@media screen and (min-width:620px) {
	p.reveal {
		display:none;
	}	
	.nav_hidden {
		display:block;
	}
}
/* Home
------------------------------------------------*/

img#lplate {
	float: right;
	margin-left: 100px;
}
.full {
	width: 100%;
	float: left;
	margin: 50px 0;
	clear: both;
}
#do {
	width: 700px;
	float: right;
}
#do ul {
	width: 680px;
	float: left;
	padding-left: 20px;
}
#do ul li {
	padding-bottom: 8px;
}
/* img#keys {
	margin: 50px 220px;
} */
#sign {
	margin-bottom: 50px;
}
ul#off {
	width: 100%;
	float: left;
	padding-left: 20px;
}
ul#off li {
	width: auto;
	float: left;
	padding-right: 60px;
	line-height: 50px;
	background: url('images/tick1.png') center right no-repeat; 
}
ul#qual  {
	width: 600px;
	float: left;
	padding-left: 20px;
}
ul#qual li {
	width: auto;
	float: left;
	clear:both;
	padding-right: 60px;
	line-height: 50px;
	background: url('images/tick1.png') center right no-repeat; 
}

/* Costs
------------------------------------------------*/

#prices {
	width: 880px;
	float: left;
	margin: 0 100px;
}
#pricelist {
	width: 800px;
	padding: 20px 40px 40px;
	float: left;
	background: url('images/driving-lesson-prices-2.png') top left repeat-y;
}
#pricelist p {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
}
img#traffic {
	float: right;
}
#pricelist img {
	margin-bottom: 20px;
}

/* Car
------------------------------------------------*/

img#car {
	margin: 30px 100px;
}
ul.homeslider {
	list-style: none;
}
.bx-wrapper .bx-viewport {
	background: transparent !important;
}

/* Where
------------------------------------------------*/

img#map {
	width: 90%;
	margin: 30px 5% 50px;
}

/* terms
------------------------------------------------*/

img#high {
	float: right;
	margin: 0 20px 20px 20px;
}
#content ul {
	padding: 0 0 7px 20px;
	font-size: 20px;
	line-height: 30px;
}
#content ul li {
	padding-bottom: 8px;
}

/* Contact
------------------------------------------------*/
.cen {
	text-align: center;
}
dl {
	width: 550px;
	float: left;
	margin: 30px 300px 0;
}
dt {
	width: 250px;
	float: left;
	margin-bottom: 15px;
}
dd {
	width: 200px;
	float: left;
	margin-bottom: 15px;
}
span.zero {
	font-family: my_underwoodregular;
	font-size: 27px;
}
form {
	width: 40%;
	margin: 0 30%;
	float: left;
	text-align: center;
}
fieldset {
	width: 100%;
	float: left;
}
form label {
	width: 100%;
	float: left;
	text-align: center;
}
form input,
form textarea {
	width: 100%;
	padding: 5px 8px;
	margin: 10px auto;
}
form input#fm_one,
form input#fm_two {
	width: 20px;
	float:left;
}
form label.radio {
	width: 50%;
	float: left;
	text-align:left;
}
img#cards {
	margin-left: 100px;
	margin-bottom: 30px;
}
.form-button {
	width: auto;
	float: right;
	padding: 6px 10px;
	background-color: #21864a;
	color: #FFF;
	font-size: 18px;
	border: 0;
}

/* News
------------------------------------------------*/

ul#news {
	width: 100%;
	float: left;
	list-style: none;
}
ul#news li {
	width: 40%;
	padding: 30px 4%;
	float: left;
	background: url('images/news.png') center center no-repeat;
	background-size: 100% 100%;
}
ul#news li:nth-of-type(odd) {
	margin-right: 2%;
	clear: both;
}
a:link.more,
a:visited.more {
	width: auto;
	float: right;
	font-size: 18px;
}
a:hover.more,
a:active.more {

}
iframe {
	width: 600px;
	height: 380px;
	float: left;
}
ul.page-numbers {
	list-style: none;
	float: right;
	margin: 20px 0px;
}
ul.page-numbers li {
	display: inline;
	padding: 6px 6px 3px 8px;
	margin-left: 3px;
}
ul.page-numbers li a:link,
ul.page-numbers li a:visited {
	text-decoration: none;
}
ul.page-numbers li a:hover,
ul.page-numbers li a:active,
ul.page-numbers li.static-number {
	color: #333;
}

/* News story
------------------------------------------------*/

p.date {
	text-align: right;
	font-size: 15px;
}
#articlegal {
	width: 25%;
	margin-right: 2%;
	float: left;
}
#articlegal img {
	width: 100%;
	margin: 0 0 20px 0;
}

/* Reviews
------------------------------------------------*/

p.client {
	text-align: right;
}

/* Footer
------------------------------------------------*/
footer {
	width: 100%;
	margin: 0 0 50px;
	float: left;
}
ul#foot {
	width: 860px;
	padding: 25px 20px 25px 200px;
	float: left;
	background: url('images/quicklinksbox.png') center left no-repeat;
	list-style: none;	
	font-family: hanoded_handregular;
	font-size: 16px;
}
ul#foot li {
	width: auto;
	float: left;
	padding: 0 22px;
	display: block;
}
p#terms {
	display: none;
}
p#copy {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	width: 200px;
	float: right;
	text-align: right;
}
img#lord {
	float: right;
}

/*------------------------------------- < 1080px ----------------------------------- */

@media screen and (max-width: 1080px) {
	body, h1, h2, h3 {
		font-size: 20px;
	}
	p {
		padding-bottom: 10px;
		line-height: 28px;
	}
	header#hmain {
		width: 90%;
		float: left;
		margin: 20px 5%;
	}
	#h2head, #hphone {
		font-size: 40px;
	}
	#h2head {
		margin-top: 36px;
	}
	#wrapper {
		width: 90%;
		margin: 0 5%;
	}
	nav ul#nav li {
		margin-right: 15px;
	}
	nav ul#nav li#ho a,
	nav ul#nav li#wh a,
	nav ul#nav li#mu a,
	nav ul#nav li#ca a,
	nav ul#nav li#co a {
		width: 120px;
		height: 80px;
	}
	img#lplate {
		margin-left: 0;
	}
	ul#qual {
		width: 380px;
	}
	img#code {
		width: 20%;
	}
	#do {
		width: 75%;
		margin-left: 5%;
	}
	#do ul {
		width: auto;
	}
	#prices {
		width: 100%;
		margin: 0;
	}
	#pricelist {
		width: 708px;
		padding: 15px 30px 30px;
		background-size: 100%;
	}
	img#traffic {
		width: 180px;
	}
	img#car {
		margin: 20px 0;
	}
	span.zero {
		font-size: 23px;
	}
	dl {
		margin: 20px 100px;
	}
	form {
		width: 60%;
		margin: 0 20%;
	}
	img#cards {
		margin-left: 200px;
		margin-top: 0;
		width: 400px;
	}
	img#map {
		margin: 0;
	}
	.submit {
		margin: 10px 350px;
	}
	ul#foot {
		width: 600px;
		padding: 20px 20px 20px 150px;
		background-size: 100%;
	}
	ul#foot li {
		padding: 0 10px;
		font-size: 14px;
	}
}

/*--------------------------------------- < 850px ------------------------------------- */

@media screen and (max-width: 850px) {
	body {
		font-size: 15px;
	}
	#wrapper {
		width: 310px;
		padding: 0 5px;
	}
	header#hmain {
    height: 220px;
  }
  #h2head {
		margin-top: 0;
	}
	nav ul#nav li {
		margin-right: 10px;
	}
	nav ul#nav li#ho a,
	nav ul#nav li#wh a,
	nav ul#nav li#mu a,
	nav ul#nav li#ca a,
	nav ul#nav li#ne a,
	nav ul#nav li#re a,
	nav ul#nav li#co a {
		width: 92px;
		height: 55px;
	}
	#share {
		width: 200px;
		margin: -56px 0 20px 0;
	}
	.full {
		margin: 20px 0;
	}
	img#lplate {
		width: 100px;
	}
	ul#off {
		width: 280px;
	}
	ul#qual {
		width: 150px;
	}
	ul#off li,
	ul#qual li {
		background-size: 25px;
		line-height: 24px;
		padding-bottom: 5px;
		padding-left: 30px;
	}
	#sign {
		width: 100px;
	}
	#code {
		display: none;
	}
	#do {
		width: 100%;
	}
	img#map {
	width: 100%;
	}
	#prices {
		width: 100%;
		margin: 0;
	}
	#pricelist {
		width: 290px;
		padding: 5px 10px 10px;
		background-size: 100%;
	}
	img#traffic,
	img#high {
		display: none;
	}
	img#car {
		margin: 10px 0;
	}
	span.zero {
		font-size: 18px;
	}
	ul#news li {
		width: 90%;
		padding: 30px 5%;
		margin-bottom: 10px;
	}
	ul#news li:nth-of-type(odd) {
		margin-right: 0;
	}
	iframe {
		width: 280px;
		height: 210px;
	}
	dl {
		margin: 10px 0;
		width: 300px;
	}
	dt {
		width: 80px;
		clear: both;
	}
	dd {
		width: 220px;
	}
	form {
		width: 100%;
		margin: 0;
	}
	form input,
	form textarea {
    width: 92%;
	}
	img#cards {
		margin-left: 0;
		margin-top: 0;
		width: 200px;
	}
	.submit {
		margin: 10px 120px;
	}
	ul#foot {
		display: none;
	}
	p#terms {
		display: inline;
	}
}
