/*
   ----------------------------------------------------------------
   MAIN STYLE SHEET - Oporto British School
   ----------------------------------------------------------------
*/


/* =========================================
	Common Site Elements
=========================================== */


h1,h2,h3,h4,h5,h6 {
	margin:0.5em 0;
	line-height:1em;
	color:#304591;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}

.large, .large td { font-size: 14px !important; }

h1{ font-size:2em; }
h2{ font-size:1.8em; }
h3{ font-size:1.6em; }
h4{ font-size:1.4em; }
h5{ font-size:1.2em; }
h6{ font-size:1em; }
p { margin:1em 0; }

.nav_history {
	background-color: 0064b4 !important;
	color:#fff !important;
}


#logo_link { 
	position: absolute;
	margin: 0 0 0 280px;
	width: 320px; height: 110px;
	text-indent: -9999px;
	background: #fff;
	FILTER: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	-khtml-opacity: 0;
}

#contentdiv { padding: 55px 40px 20px 45px; }

/* =========================================
	Misc Site Elements
=========================================== */

.undernav img { position: absolute; margin-top: 24px; }
.top_nav { position: absolute; }

/* =========================================
	Page Search Elements
=========================================== */

.search_bar {
	display:inline;
}

#keywords {
        background: transparent;
	border: 0px solid #d7be93;
	width: 128px;
	height: 15px;
	color: #fff;
	padding: 0 0 0 9px;
	margin-top: 0px !important;
	vertical-align: top;
	display: inline;
}

#ss_div form {
	display:inline; vertical-align: top;
}

#ss_div {
	width: 355px;
	position: absolute;
	vertical-align: top;
	margin: 128px 0 0 651px;
}

/* =========================================
	Hierarchy + Page Tools
=========================================== */

.hier {
	display:inline;
}

.hiersect {
	position: absolute;
	margin-left: 245px;
	margin-top: 205px;
	height: 18px;
	width: 700px;
	color: #304591;
}

.tools {
	position: absolute;
	text-align: right !important;
	margin-left: 11px;
	width: 150px;
	margin-top: 125px;
	padding-right: 0;
	color: #fff;
}

/* =========================================
	Nav + Quicklink Dropdowns
=========================================== */

#nav_menus div {
	position:absolute; top:0px; left:0px;
	width:145px;
	margin: 4px 0 0 -1px;
	padding: 0px 3px 3px 3px;
        background: #7b081f url('../images/droptop.gif') top left repeat-x;
	FILTER: alpha(opacity=90);
	-moz-opacity: .90;
	opacity: .90;
	-khtml-opacity: .90;
}

#nav_menus ul {
	list-style-type:none;
	margin:0px;
	padding:0px;
	border-top: 0px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;	
}

#nav_menus a {
	display:block;
	text-decoration:none;
	padding: 6px 10px;
	color:#fff;
}

#nav_menus a:hover {
	color:#87a9d5;
}

#dhtmlmenu_2 { margin: 3px 0 0 55px !important; }
#dhtmlmenu_8 { width: 115px !important; margin: 3px 0 0 -4px !important; }

#ql_menu {
	position:absolute; top:0px; left:0px;
	width:145px;
	margin:0 0 0 -1px;
	padding: 4px 3px 3px 3px;
        background: #304591;
	FILTER: alpha(opacity=90);
	-moz-opacity: .90;
	opacity: .90;
	-khtml-opacity: .90;
}

#ql_menu ul {
	list-style-type:none;
	margin:0px;
	padding:0px;
	border-top: 0px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
}
#ql_menu br {
	display:none;
}

#ql_menu a {
	display:block;
	text-decoration:none;
	padding: 6px 10px;
	color:#fff;
}

#ql_menu a:hover {
	color:#87a9d5;
}

#topbanner img { vertical-align: top; }
#topbanner .tools img { vertical-align: middle; }
#leftbanner img { vertical-align: top; }
#rightbanner img { vertical-align: top; }
#bottombanner img { vertical-align: top; }
.heightfix img { display: block; }
