/* ======== This resets everything so that all layout is controlled by individual css rules ====== */

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,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;

	background: transparent;
}

/*	vertical-align: baseline; - this was removed from the above to allow text to be vertically
centred in the table in the Why PJs page */

body {
	line-height: 1;
	background-color: #CADEFF;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing= 0' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ====================================================== END OF RESET ======================= */



/* =========== CONTAINERS ========= */
#main_container{
	width: 997px;
	height: auto;
	background-color: #FFFFFF;
	border-top: none;
	border-left: solid 3px #0000FF;
	border-right: solid 3px #0000FF;
	border-bottom: solid 3px #0000FF;
	margin-left: auto;
	margin-right: auto;
	padding: 0 0 0 0;
}

#banner {
	width:997px;
	height: 214px;
	border-top: none;
	border-left: none;
	border-right: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background-color: #000000;
}

#column_left {
	float: left;
	width: 200px;
	height: auto;
	border: none;
	margin: 20px 15px 0px 0px;
	background-color:#FFFFFF;
	padding: 0 0 0 10px;
}

#column_right {
	float: right;
	width: 608px;
	height: auto;
	border: none;
	margin: 20px 0 0 0;
	background-color:#FFFFFF;
	padding: 10px 50px 10px 50px;
}

#column_page_wide{
	width: 930px;
	height: auto;
	background-color: transparent;
	margin: 20px auto 20px auto;
	padding: 10px 10px 10px 10px;
	background-color: #ffffff;
	clear: both;
}

#column_contact_details{
	width: 930px;
	height: auto;
	background-color: transparent;
	margin: 20px auto 20px auto;
	padding: 10px 10px 10px 10px;
	clear: both;
}

#footer{
	width: 907px;
	height: 50px;
	border: 3px double #ACCCFF;
	background-color: #D4E4FF;
	margin: 20px auto 10px auto;
	padding: 10px 10px 10px 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.6em;
	line-height: 1.4em;
	text-align: center;
	color: #0000FF;
	clear: both;
}



/* ============ FONT FORMATTING ================= */


h1, h2, h3, p, h5 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
}

h1, h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #FF0000;
}

.strong {font-weight: bolder;}
.green_badge {color: #009900; font-weight: bolder;}
.pink_badge {color: #FF99CC; font-weight: bolder;}
.red_text {color: #FF0000;}

h1 {
	font-size: 1.4em;
	text-align: center;
	line-height: 1.4em;
}

h2 {
	font-size: 1.0em;
	text-align: center;
}
	
h3 {
	font-size: 1.0em;
	text-align: left;
}

p {
	font-size: 0.8em;
	text-align: justify;
	line-height: 1.3em;
}

h5 {
	font-size: 1.0em;
	text-align: left;
}

#column_contact_details h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #FF0000;
	font-size: 1.7em;
	text-align: center;
}

#column_contact_details h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
	font-size: 1.2em;
	text-align: center;
}

/* ===================== W3C logos ================= */

#w3c_logo_html {
	float: left;
	margin: 15px auto auto 100px;
	width: 88px;
	height: 31px;
	border: none;
	padding: 0 0 0 0;
}

#w3c_logo_css {
	float: right;
	margin: 15px 100px auto auto;
	width: 88px;
	height: 31px;
	border: none;
	padding: 0 0 0 0;
}


/* ===================== NAVIGATION ======================== */
/* Navigation */

/* style the link and set the colours  */

#navigation {
	float: left;
    margin-top: 0;
	margin-bottom: 20px;
	width: 190px;
	height: auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight:bold;
}

.youre_here_text {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.0em;
	font-weight: bold;
	color: #FF0000;
}


/* remove bullets and indentation */
ul#nav_list {
    list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
	width: 190px;
}

/* style the link */
ul#nav_list li a {
    display: block; /*display as a block element to make all block active rather than just the text*/
	width: 100%;
	padding: 0.2em 0 0.2em 0.6em;
	border-left: 2px solid #3300CC; 
	border-right: 2px solid #3300CC; 
	border-top: 1px solid #3300CC;
	border-bottom: 1px solid #3300CC;
	background-color: #FFFFFF; 
	color: #3300CC; 
	text-decoration: none;
}

/* change colours of background and text on hover */
ul#nav_list li a:hover {
    background-color: #3300CC; 
	color: #FFFFFF; 
	border-left: 2px solid #FF0000; 
	border-right: 2px solid #FF0000; 
	border-top: 1px solid #FF0000;
	border-bottom: 1px solid #FF0000;
}


/* ============================================ HOME PAGE ================================= */
#home_page_img_torn_plate {
	margin: 10px auto 10px auto;
	width: 108px;
	height: 93px;
	border: none;
	padding: 0 0 0 0;
}

#home_img_car {
	width: 475px;
	height: 342px;
	border: none;
	margin: 20px auto 40px auto;
	padding: 0 0 0 0;
}

#home_image_adi_badges {
	width: 150px;
	height: 101px;
	float: left;
	margin: 10px 20px 10px 10px;
	padding: 2px 2px 2px 2px;
	border: none;
}
	
	
/* Online Directory Links */
#home_online_directories_top {
	width: 950px;
	height: 185px;
	margin: 15px auto 8px auto;
	padding: 0 0 0 0;
	border: none;
}

#home_online_directories_bottom {
	width: 950px;
	height: 70px;
	margin: 8px auto 15px auto;
	padding: 0 0 0 0;
	border: none;
}

#home_uk_motoring_directory {
	float: left;
	width: 155px;
	height: 120px;
	border: none;
	padding: 0 0 0 0;
	margin: 10px auto 10px 270px;
}

#home_driving_schools_directory {
	float: left;
	width: 233px;
	height: 115px;
	border: none;
	padding: 0 0 0 0;
	margin: 13px auto 10px 50px;
}



#home_learnerstuff_directory {
	float: left;
	width: 240px;
	height: 49px;
	border: none;
	padding: 0 0 0 0;
	margin: 10px 15px 10px 2px;
}

#home_thomson_directory {
	float: left;
	width: 270px;
	height: 60px;
	border: none;
	padding: 0 0 0 0;
	margin: 10px 15px 10px 30px;
}

#home_find_a_driving_school_directory {
	float: left;
	width: 350px;
	height: 49px;
	border: none;
	padding: 0 0 0 0;
	margin: 10px 0px 10px 10px;
}

#home_safer_motoring_logo {
	width: 196px;
	height: 55px;
	margin: 30px auto 10px auto;
	border: 2px solid #0000ff;
	padding: 0 0 0 0;
}

#home_left_column_lessons_start_at {
	width: 196px;
	height: 70px;
	margin: 20px auto 10px auto;
	border: 2px solid #0000ff;
	background-color: #FF0000;
	padding: 18px 0 0 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.0em;
	font-weight: normal;
	text-align: center;
	color: #ffffff;
}	


/* =========================== OTHER COURSES PAGE ======================= */
#other_courses_list_and_logo {
	width: 620px;
	height: 220px;
	margin: 10px auto 10px auto;
}

#other_courses_pass_plus_list {
	width: 320px;
	height: auto;
	float: left;
	margin: 10px 40px 15px 30px;
	padding: 0 0 0 0;
	border: none;
}

#other_courses_pass_plus_list li{
	list-style: square;
	margin-left: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
	font-size: 1.0em;
	text-align: left;
	line-height: 2.2em;
}

#other_courses_pass_plus_logo {
	float: right;
	width: 124px;
	height: 107px;
	margin: 60px 100px 0 0;
	padding: 0 0 0 0;
	border: none;
}

#other_courses_changing_road_signs {
	width: 70px;
	height: 70px;
	margin: 10px auto 10px auto;
	padding: 0 0 0 0;
	border: none;
}


/* ============================= PRACTICAL TEST PAGE ======================= */
#column_right ul {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
	font-size: 0.8em;
	text-align: left;
	line-height: 2.2em;
	list-style: square;
	margin-left: 70px;
}

#img_highway_code_book {
	width: 93px;
	height: 154px;
	padding: 0 0 0 0;
	margin: 10px auto 10px 35px;
}


/* ================================ THE COURSE PAGE ============================ */
#course_img_car {
	width: 440px;
	height: 379px;
	border: none;
	margin: 20px auto 40px auto;
	padding: 0 0 0 0;
}

#course_list_left {
	float: left;
	width: 250px;
	height: auto;
	margin: 0 15px 30px 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
	font-size: 0.9em;
	text-align: left;
	line-height: 2.2em;
}

#course_list_right {
	float: left;
	width: 250px;
	height: auto;
	margin: 0 auto 30px 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300cc;
	font-size: 0.9em;
	text-align: left;
	line-height: 2.2em;
}

#course_book_practice {
	width: 72px;
	height: 103px;
	margin: 10px auto 10px auto;
	padding: 0 0 0 0;
	border: solid 1px #000000;
}


/* ==================== THEORY TEST PAGE ====================== */
#theory_test_list ul{
	width: 400px;
	height: auto;
	margin: 20px auto 20px auto;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
	font-size: 0.9em;
	text-align: left;
	line-height: 2.2em;
}

/* ========================== WHY PJs PAGE ======================= */
#why_pjs_table_of_reasons_to_use_pjs {
	width: 582px;
	height: auto;
	margin: 25px auto 35px auto;
	border: none;
	padding: 0 0 0 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #3300CC;
	font-size: 0.8em;
	text-align: left;
}

