/*************************************************************************
	Highgate School
	Developed by Matthew Hill (c) 2008 -- http://www.friskdesign.com/
	for 48 Fitzroy - http://www.48fitzroy.co.uk/
	MODULE: 	global.css
	PURPOSE:	all rules for site
*************************************************************************/

/* Reset browser 
*************************************************************************/
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, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
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-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/*Auto float clearing for compliant browsers
*************************************************************************/
#skip:after,
#main:after,
#content:after,
#sidenav:after,
#sidebar:after,
#banner:after,
#breadcrumb:after,
#footer:after {
	content: ".";
	height:0;
	display:block;
	clear:both;
	visibility:hidden;
}

/* General Rules and classes
*************************************************************************/
body {
	color:#000;
	background:#808080;
	font: normal 1em/1.2em Verdana,Arial,"Helvetica Neue","Helvetica",sans-serif;
}
#skipto {
	position:absolute;
	left:-1000em;
}
.floatright {
	float:right;
	text-align:right;
}
.floatleft {
	float:left;
	text-align:left;
}
.alignright {
	text-align:right;
}
.alignleft {
	text-align:left;
}

/* Layout (sizes / floats / positions of main elements)
*************************************************************************/
#outerwrapper {
	background-position:50% top;
	background-repeat:no-repeat;
}
#innerwrapper {
	width:941px;
	margin:0 auto;
}
#main {
    clear:both;
    float:left;
    width:720px;
    margin:26px 30px 0 0;
    background:#E1E1E1;
}
    #content {
        width:480px;
        padding:13px 0 60px 0;  
        margin:0 0 0 220px;
        float:left;
    }
    #sidenav {
        float:left;
        width:200px;
        padding:13px 10px;
        margin:0 0 0 -700px;
    }
#sidebar {
    float:left;
    width:191px;
    margin:26px 0 0 0;
}

/* Content formatting
*************************************************************************/
#content {
	font-size:0.75em;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	font: normal 1em/normal "Times New Roman","Garamond","Adobe Garamond",serif;
	margin:0 0 1em 0;
}
#content p {
	margin:0 0 1em;
}
#content ul,
#content ol,
#content dl {
	margin:0 0 1em 30px;
}
#content li {
	margin:0 0 0.6em;
}
#content h1 {
	font-size:2em;
	font-style:italic;
	margin:0 0 0.2em 0;
}
#content h2 {
	font-size:1.6em;
	font-style:italic;
	margin:1em 0 0.2em 0;	
}
#content h3 {
	font-size:1.4em;
	line-height:1.28em;
	margin:0 0 0.2em 0;	
}
#content img {
	display:block;
	margin:0 0 10px 0;
}
#content big {
	font: normal 1.4em/1.28em "Times New Roman","Garamond","Adobe Garamond",serif;		
}
a,a:link {
	color:#000;
	font-weight:bold;
	text-decoration:underline;
}
a:visited {
	color:#666;
}
a:hover {
	color:#999;
}
.pre {
	color:#006132;
}
.jun {
	color:#AA0F54;
}
.sen {
	color:#003344;
}

/* Banner
*************************************************************************/
#banner {
	font: normal 1em/normal "Times New Roman","Garamond","Adobe Garamond",serif;
	padding:20px 0 10px 0;
	border-bottom:2px solid #CCC;
	cursor:default;
}
/* Skip links */
#skip {
	padding:6px 0;
}
#skip span {
	display:block;
	position:absolute;
	left:-1000em;
}
#skip a,#skip a:link,#skip a:visited {
	color:#808080;
	text-decoration:none;
}
#skip a:hover,#skip a:focus {
	color:#FFF;
	text-decoration:underline;	
}

/* Top Navigation */
#topnav {
	float:left;
	margin:50px 0 0 0;
}
#topnav li {
	list-style:none;
	float:left;
	margin:0 13px 0 0;
}
#topnav a,
#topnav a:visited {
	font-size:1.1em;
	font-weight:normal;
	letter-spacing:-0.01em;
	text-decoration:none;
	color:#FFF;
}
#topnav a:hover,#topnav a:focus {
	text-decoration:underline;
}
#topnav li.selected a {
	text-decoration:underline;
}

/* Secondary Top Navigation */
#tools {
	float:right;
	margin:-28px 0 0 0;
}
#tools li {
	list-style:none;
	line-height:1.1;
	text-align:right;
}
#tools a,
#tools a:visited {
	font-size:0.9em;
	font-weight:normal;
	color:#FFF;
	text-decoration:none;
}
#tools a:hover,#tools a:focus {
	text-decoration:underline;
}
#tools li.selected a {
	text-decoration:underline;
}

/* Breadcrumbs
*************************************************************************/
#breadcrumb {
	padding:0 10px;
	border-bottom:8px solid #808080;
	background:#434545;	
	color:#FFF;
	font: normal 0.9em/normal "Times New Roman","Garamond","Adobe Garamond",serif;	
}
#breadcrumb li {
	float:left;
	list-style:none;
	line-height:1.95em;
	margin:0 4px 0 0;
}
#breadcrumb a,
#breadcrumb a:visited {
	font-weight:normal;
	text-decoration:none;
	padding:0 4px 0 0;
	color:#FFF;
}
#breadcrumb a:hover {
	text-decoration:underline;
}

/* Sidenav
*************************************************************************/
#sidenav ul {
	list-style:none;
}
#sidenav li {
	list-style:none;
}
#sidenav li li {
	margin:0 0 0 10px;
}
#sidenav a,
#sidenav a:visited {
	font: italic normal 1.1em/1.2em "Times New Roman","Garamond","Adobe Garamond",serif;		
	text-decoration:none;
	padding:0 4px 0 0;
	color:#000;
}
#sidenav a:hover,
#sidenav li.selected a:hover,
#sidenav a:visited:hover,
#sidenav li.selected a:visited:hover {
	text-decoration:underline;
}
#sidenav li.selected a,
#sidenav li.selected a:visited {
	text-decoration: underline;
}
#sidenav li.selected li a,
#sidenav li.selected li a:visited {
	text-decoration: none;
}
#sidenav li.selected li.selected a,
#sidenav li.selected li.selected a:visited {
	text-decoration: underline;
}
#sidenav li.selected li.selected li a,
#sidenav li.selected li.selected li a:visited {
	text-decoration: none;
}
#sidenav li.selected li.selected li.selected a,
#sidenav li.selected li.selected li.selected a:visited {
	text-decoration: underline;
}

/* Sitemap
*************************************************************************/
#sitemap ul {
	list-style:none;
}
#sitemap li {
	list-style:none;
}
#sitemap li li {
	margin:0 0 0 10px;
}
#sitemap a,
#sitemap a:visited {
    font:  normal 1.47em "Times New Roman","Garamond","Adobe Garamond",serif;	
	text-decoration:none;
	padding:0 4px 0 0;
	color:#000;
}
#sitemap li li a,
#sitemap li li a:visited {
    font:  inherit;
}
#sitemap a:hover,
#sitemap li.selected a:hover,
#sitemap a:visited:hover,
#sitemap li.selected a:visited:hover {
	text-decoration:underline;
}
#sitemap li.selected a,
#sitemap li.selected a:visited {
	text-decoration: underline;
}
#sitemap li.selected li a,
#sitemap li.selected li a:visited {
	text-decoration: none;
}
#sitemap li.selected li.selected a,
#sitemap li.selected li.selected a:visited {
	text-decoration: underline;
}
#sitemap li.selected li.selected li a,
#sitemap li.selected li.selected li a:visited {
	text-decoration: none;
}
#sitemap li.selected li.selected li.selected a,
#sitemap li.selected li.selected li.selected a:visited {
	text-decoration: underline;
}

/* Sidebar
*************************************************************************/
#sidebar h3 {
	margin:0 0 8px 0;
	padding:0 10px;
}
#sidebar h3 a,
#sidebar h3 a:visited {
	font: normal normal 1.1em/1.6em "Times New Roman","Garamond","Adobe Garamond",serif;		
	text-decoration:none;
	color:#FFF;
}
#sidebar h3.preprep {
	background:#006132;
}
#sidebar h3.junior {
	background:#AA0F54;
}
#sidebar h3.senior {
	background:#003344;
}
#sidebar img {
	display:block;
	margin:0 0 11px 0;
}


/* Footer
*************************************************************************/
#footer {
	clear:both;
	margin:0 0 30px;
	padding:30px 0 10px;
	border-bottom:2px solid #CCC;
	font: normal normal 0.9em/normal "Times New Roman","Garamond","Adobe Garamond",serif;
	color:#FFF;
	cursor:default;
	position:relative;
}
#footer img {
	float:left;
	display:block;
}
#footer address {
	float:left;
	position:absolute;
	bottom:13px;
	left:83px;
	width:50%;
	font-style:normal;
	background:#808080;
}
#footer p {
	position:absolute;
	bottom:13px;
	right:0;
	width:50%;	
	text-align:right;
	background:#808080;	
}
#footer a,
#footer a:visited {
	color:#FFF;
	font-weight:normal;
}

/* Video
*************************************************************************/
#content .video {
	margin:0 0 1em 0;
}
#content .video img {
	margin:0;
}

/* General table rules
*************************************************************************/
table {
	border-collapse:collapse;
	empty-cells: hide;
	width:100%;
	margin:0 0 30px 0;
}
table caption {
	margin:0 0 8px 0;
	font: normal normal 1.5em/1.6em "Times New Roman","Garamond","Adobe Garamond",serif;
	text-align:left;
}
table th {
	text-align:left;
	font: italic normal 1.2em/1.6em "Times New Roman","Garamond","Adobe Garamond",serif;	
}
tabel td {
	
}

/* Forms
*************************************************************************/
legend {
	display:none;
}
label {

}
input {
	width:240px;
	background:#FFF;
}
button {
/*	line-height:1;*/
}

#cholmeleianRegister label,
#remembrance label,
#prospectusRequest label,
#openDay label {
	width:140px;
	margin:0 10px 0 0;
	padding:4px 0 0 0;
	line-height:1;
	float:left;
	display:block;
}
#cholmeleianRegister label.multiLineLabel,
#remembrance label.multiLineLabel {
  line-height: 1.2
}

#cholmeleianRegister input,
#cholmeleianRegister select,
#cholmeleianRegister textarea,
#remembrance input,
#remembrance select,
#remembrance textarea,
#prospectusRequest input,
#prospectusRequest textarea,
#openDay input,
#openDay select,
#openDay textarea {
	float:left;
	width:320px;
	padding:4px 5px;
	background:#FFF;
	border:none;
	margin:0 0 8px 0;
	font: normal 1em/1.4em Verdana,Arial,"Helvetica Neue","Helvetica",sans-serif;	
}
#prospectusRequest #detailsChildsGender label,
#prospectusRequest #detailsInterest label,
#openDay #detailsChildsGender label,
#openDay #detailsRegistered label {
	width:auto;
	margin:0;
	padding:4px 0 0 0;
	line-height:1;
	float:none;
	display:inline;
	font-size:0.90em;
}
#cholmeleianRegister #detailsContactMe input,
#remembrance #detailsFurtherInformation input,
#prospectusRequest #detailsChildsGender input,
#prospectusRequest #detailsInterest input,
#openDay #detailsChildsGender input,
#openDay #detailsRegistered input {
	background:none;
	width:auto;
	margin:0 5px 0 10px;
	padding:0;
	line-height:1;
	float:none;
	display:inline;
}
#cholmeleianRegister #detailsContactMe input,
#remembrance #detailsFurtherInformation input { 
  margin-left: 5px;
}

#remembrance p,
#remembrance br,
#cholmeleianRegister p,
#cholmeleianRegister br {  
  clear: left;
}
#cholmeleianRegister button,
#remembrance button,
#prospectusRequest button,
#openDay button {
	margin-left:150px;
}
div.form_error { 
  margin-left: 150px;
}
a:visited.form_error { 
  color: #000000;
}
p.form_error { 
  font-weight: bold;
}