html {font-size: 101%}

body {font-size: 0.625em;}

h1, h2, h3, h4, p, pre, label, ul, ol, dl, fieldset, address {margin: 0em 0 1em 0; padding: 0;}
li, dd {margin-left: 30px; margin-bottom: 0.2em; padding: 0;}

fieldset {padding: .5em;}
textarea {overflow: auto;}

blockquote {margin-top: 1em; margin-bottom: .5em;}

/* links */
:link {text-decoration: underline;}
:visited {text-decoration: underline;}

:link:hover {text-decoration: none;}
:visited:hover {text-decoration: none;}

:link:focus {outline: 0;} /*inherit dotted thin*/
:visited:focus {outline: 0;}

:link:active {outline: 0;}
:visited:active {outline: 0;}
/* /links */

table {font-size: inherit;}

object, embed {outline: 0;}

textarea {overflow: auto;}

a img, img {border: 0; text-decoration: none;}

h1 {font-size: 1.7em; margin: .5em 0 .5em 0; color: #000; line-height: normal;}
h2 {font-size: 1.5em; margin: 1em 0 .5em 0; color: #007BC6; line-height: normal;}
h3 {font-size: 1em; margin: 0; color: #000; line-height: normal;}

#container {
	font: 1.2em Arial, Helvetica, Verdana;
	line-height: 1;
}

/*********
* COLORS *
**********/
/*
#007BC6 - Light Blue
#00436A - Dark blue
*/

body {color: #000;}
a {color: #007BC6;}

/**************
* BASE LAYOUT *
***************/
html, body {
	margin:0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	background-color: #FFF;
	height:100%;
}
#container {
	position: relative;
	min-height: 100%;
	_height: 100%;
	overflow: hidden;
	_overflow: visible;
	position: relative;
}
#header_content,
#content,
#footer_content {
	width: 980px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

/****************
* HEADER LAYOUT *
*****************/
#header {
	border-top: 10px solid #007BC6;
	overflow: hidden;
	height: 423px;
	background: url(../_img/graphics/bg_header.gif) repeat-x 0 68px;
}
#header_content {
	height: 423px;
}
#header_content .banner {
	position: absolute;
	/*top: 68px;*/
}
#header_content .logo {
	display: block;
	width: 241px;
	height: 91px;
	position: absolute;
	top: 10px;
	left: 36px;
}

/* --- main nav --- */
ul.main_nav {
	list-style-type: none;
	margin: 381px 0 0 0;
	height: 38px;
	width: 980px;
	border-bottom: 5px solid #00436A;
}
ul.main_nav li {
	margin: 0;
	padding: 0px 1px 0 0;
	float: left;
}
ul.main_nav li.first {padding-left: 0;}
ul.main_nav li.last {padding-right: 0;}
ul.main_nav a {
	display: block;
	color: #FFF;
	text-decoration: none;
	background: #007BC6 url(../_img/graphics/btn_end_main_nav.gif) no-repeat right top;
	height: 38px;
	width: 139px;
	line-height: 38px;
	overflow: hidden;
	text-align: center;
}
ul.main_nav li.first a {width: 140px;}
ul.main_nav li.selected a,
ul.main_nav a:hover {background: #00436A url(../_img/graphics/btn_end_main_nav.gif) no-repeat right -38px;}
/* --- /main nav --- */

/*****************
* CONTENT LAYOUT *
******************/
#content {
	margin-top:5px;
	line-height: 1.3;
	padding-bottom: 146px;
}

/* template - style 1 */
.style1 {
	background: #FFF url(../_img/graphics/bg_style1.gif) repeat-y right top;
}
.style1 #rpanel {
	width: 207px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px 9px 10px 10px;
	background-color: #007BC6;
	overflow: hidden;
}
.style1 #main_content {
	margin: 0 245px 0 0;
	padding: 10px 10px 20px 0px;
	overflow: hidden;
	min-height: 420px;
	_height: 420px;
}

/* template - style 2 */
.style2 {
	/*background: #FFF url(../_img/graphics/bg_style2.gif) repeat-y right top;*/
}
.style2 #rpanel {
	width: 186px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px 7px;
	/*background-color: #00436A;*/
	overflow: hidden;
}
.style2 #rpanel h2 {
	color: #000;
	margin-left: 10px;
}
.style2 #main_content {
	margin: 0 210px 0 0;
	padding: 10px 10px 20px 0px;
	overflow: hidden;
	min-height: 300px;
	_height: 300px;
}

.style3 #main_content {
	padding: 10px 10px 20px 0px;
}

/****************
* FOOTER LAYOUT *
*****************/
#footer {
	background-color: #007BC6;
	color: #000;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 141px;
	overflow: hidden;
	border-top: 5px solid #FFF;
}
#footer a {
	color: #000;
}

#footer .footer_logos {
	float: right;
	background-image: url(../_img/graphics/footer_box.jpg);
	width: 378px;
	height: 75px;
	padding: 10px 10px 10px 15px;
	margin-top: 24px;
	margin-bottom: 22px;
	overflow: hidden;
}
#footer .footer_logos .drivercpc_logo {
	width: 188px;
	height: 64px;
	display: block;
	overflow: hidden;
	float: left;
}
#footer .footer_logos .dsa_logo {
	width: 153px;
	height: 64px;
	display: block;
	overflow: hidden;
	margin: 10px 35px 0 0;
	float: left;
}

#footer .contact_details {
	font-size: 1.2em;
	line-height: 1.5;
	margin-top: 24px;
}
#footer .contact_details span {
	color: #FFF;
}
#footer .copyright {
	font-size: .9em;
}

/****************
* CUSTOM STYLES *
*****************/
.photo_fr {
	float: right;
	margin: 0 0 10px 10px;
}

ul.driving_test_menu {
	list-style-type: none;
}
ul.driving_test_menu li {
	margin: 0 3px 0 0;
}
ul.driving_test_menu a {
	display: block;
	width: 170px;
	height: 38px;
	line-height: 38px;
	padding-left: 16px;
	background: #037CC4 url(../_img/graphics/btn_test.gif) no-repeat 0 0;
	text-decoration: none;
	color: #FFF;
	overflow: hidden;
}
ul.driving_test_menu a:hover {
	text-decoration: underline;
}

.errors {
	color: #FF0000;
	margin-bottom: 20px;
}
ol.tnc {
	line-height: 1.5;
}
ol.tnc ol,
ol.tnc ul {
	margin-top: .3em;
}
ol.tnc li,
ol.tnc li h2 {
	color: #000;
	font-size: 1.2em;
	font-weight: bold;
}
ol.tnc ol li {
	font-size: 12px;
	font-weight: normal;
}

/********
* FORMS *
*********/
label {font-weight: bold;}
input.text,
textarea.textarea  {
	padding: 2px 1px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}

textarea.textarea {
	overflow: auto;
}

input.btn {
	padding: 5px 10px;
}

/*****************
* GENERIC STYLES *
******************/
.fr {float: right;}
.fl {float: left;}
.clr {clear: both;}
.clr-left {clear: left;}
.clr-right {clear: right;}
.box img {margin: 5px 0 10px 0;}
.first {margin-left: 0;}
.last {margin-right: 0;}