/**
 *
 * screen_main.css
 * version: 1.0
 * site: Edinburgh Tutors
 * author: david@reefnet
 * date: 20/11/2006
 *
 */

* {
    margin: 0;
    padding: 0;
}

body {
	font: 76% / 1.8em "Tahoma", "Verdana", arial, sans-serif;
    color: #282828;
}

div#header {
	height: 260px;
	text-align: center;
/*	background: #0D75AF url(../_struct/header_bg.png) repeat-x top left; */
	background: #4D92BB url(../_struct/new_bg_g.png) repeat-x top left;
	margin-bottom: -30px;
}
div#header #headwrap {
	position: relative;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 790px;
	height: 230px;
}
div#header h1.logo {
	margin-left: auto;
	margin-right: auto;
	width: 769px;
   text-indent: -9999px;
/* background: transparent url(../_struct/header_logo.png) no-repeat top center; */
   background: transparent url(../_struct/header_logo_g.png) no-repeat top center;
	height: 230px;
}
div#header #headwrap #fbook {
	position: absolute;
	top: 166px;
	left: 70px;
	display: block;
	text-indent: -5000em;
	background: transparent url(../_struct/facebook_logo.gif) no-repeat top left;
	width: 138px;
	height: 50px;	
}

div#page_wrap {
	margin: 0 auto;
	width: 790px;
}

/*=navigation */

div#page_wrap ul#main_navigation {
	margin: 0;
	padding: 0;
	height: 30px;
	list-style: none;
	display: inline;
	overflow: hidden;
}

div#page_wrap ul#main_navigation li {
	padding: 0;
	list-style: none;
	display: inline;
}

div#page_wrap ul#main_navigation li a {
	margin-right: 2px;
	float: left;
	padding: 30px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/:30px; /* for IE5/Win only */
}

div#page_wrap ul#main_navigation li a:hover {
	background-position: 0 -30px;
}

div#page_wrap ul#main_navigation li a.selected, ul#main_navigation li a.selected:hover {
	background-position: 0 -60px;
}

li#home a {
	width: 120px;
/*	background: url(../_struct/nav_home.png) top left no-repeat; */
	background: url(../_struct/nav_home_g.png) top left no-repeat;
}


li#about a {
	width: 120px;
/*	background: url(../_struct/nav_about.png) top left no-repeat;*/
	background: url(../_struct/nav_about_g.png) top left no-repeat;
}

li#system a {
	width: 120px;
/*	background: url(../_struct/nav_system.png) top left no-repeat; */
	background: url(../_struct/nav_system_g.png) top left no-repeat;
}

li#tuition a {
	width: 120px;
/*	background: url(../_struct/nav_system.png) top left no-repeat; */
	background: url(../_struct/nav_tuition_g.png) top left no-repeat;
}


li#subjects a {
	width: 120px;
/*	background: url(../_struct/nav_subjects.png) top left no-repeat; */
	background: url(../_struct/nav_subjects_g.png) top left no-repeat;
}

li#tutors a {
	width: 120px;
/*	background: url(../_struct/nav_tutors.png) top left no-repeat; */
	background: url(../_struct/nav_tutors_g.png) top left no-repeat;
}

li#resources a {
	width: 120px;
/*	background: url(../_struct/nav_learning.png) top left no-repeat; */
	background: url(../_struct/nav_learning_g.png) top left no-repeat;
}

li#contact a {
	width: 120px;
/*	background: url(../_struct/nav_contact.png) top left no-repeat; */
	background: url(../_struct/nav_contact_g.png) top left no-repeat;
}

ul#subnav {
	clear: both;
	display: block;
	margin: 0 auto;
	background-color: #fff;
	border-bottom: 1px solid #4D92BB;
	padding-top: 2px;
}

ul#subnav li {
	display: inline;
	margin: 0 2em 0 0;
}

ul#subnav li a {
	color: #2B2B2B;
	text-decoration: none;
	font-size: 110%;
	letter-spacing: 0.1em;
	padding: 4px;
}

ul#subnav li a:hover,  ul#subnav li a.here {
	border-bottom: 2px solid #4D92BB;
}

/* =content
******************************************************************************/

div#main_content {
	padding-top: 2em;
	width: 510px;
	float: left;
}

div#main_content a {
	color: #0D75AF;
	text-decoration: none;
}

div#main_content a:hover {
	text-decoration: underline;
}

div#main_content p {
	font-family: Tahoma, Verdana, arial, sans-serif;
	font-size: 1.2em;
	line-height: 1.8em;
	color: #2c2c2c;
	margin-bottom: 1em;
}

div#main_content p strong.highlight {
	color: #D01C27;
}

div#main_content p.intro {
	font-size: 1.2em;
	line-height: 1.8em;
}

div#main_content p.strapline {
	font-size: 150%;
	font-family: "Times New Roman", times, serif;
	font-weight: bold;
	color: #063E5F;
	text-align: center;
	margin: 0;
}

div#main_content ul, div#main_content ol {
	margin: 10px 55px;
	font-size: 1.2em;
	line-height: 1.8em;
	font-family: "Tahoma", "Verdana", arial, sans-serif;
	clear: left;
}

div#main_content li {
	color: #0D75AF;
	list-style-type: square;
}
div#main_content li span {
	color: #2c2c2c;
}

div#main_content img.lthumb {
	float: left;
	margin: 5px 8px;
	padding: 2px;
	border: 1px solid #027EC3;
/*	border: 1px solid #7A2C28; */
}

div#main_content img.thumb {
	margin: 5px 8px;
	padding: 2px;
	border: 1px solid #027EC3;
/*	border: 1px solid #7A2C28; */
}

div#main_content img.rthumb {
	float: right;
	margin: 5px 8px;
	padding: 2px;
	border: 1px solid #027EC3;
/*	border: 1px solid #7A2C28; */
}

div#main_content h1 {
	margin-bottom: 0.5em;
	font-size: 260%;
	font-family: "Times New Roman", times, serif;
	font-weight: bold;
	color: #063E5F;
	text-align: center;
}

div#main_content h2 {
	margin-bottom: 0.5em;
	font-size: 180%;
	font-family: "Times New Roman", times, serif;
	font-weight: bold;
	color: #063E5F;
	text-align: center;
}

div#main_content h3 {
	font-weight: bold;
	font-size: 130%;
	color: #083149;
	margin: 1em 0 0 0;
	padding-left: 10px;
	clear: left;
}

div#main_content fieldset {
	border: none;
}

div#main_content table#contact td span.reqMark {
	color: red;
}

div#main_content table#contact td {
	vertical-align: top;
}


div#main_content table#contact td label {
	font-weight: bold;
}


/* =subcontent
******************************************************************************/

div#sub_content {
	margin-top: 2em;
	padding-left: 0;
	padding-right: 3px;
	padding-bottom: 5px;
	width: 240px;
	float: right;
	background: #fff url(../_struct/box_bot.png) no-repeat bottom left;
}

div#sub_content h2.boxtop {
	margin-left: 0px;
	margin-bottom: 0;
	background: #fff url(../_struct/box_top.png) no-repeat top left;
	padding: 10px 4px 3px 4px;
	font-family: "Times New Roman", times, serif;
	font-weight: bold;
	text-transform: lowercase;
	font-size: 165%;
	text-align: center;
	color: #083149;
}

div#sub_content h2.test {
	margin-bottom: 0;
	font-family: "Times New Roman", times, serif;
	font-weight: bold;
	text-transform: lowercase;
	font-size: 200%;
	text-align: center;
	color: #083149;
}

div#sub_content h3 {
	font-family: "Times New Roman", times, serif;
	font-weight: bold;
	text-transform: lowercase;
	font-size: 140%;
	text-align: left;
	color: #083149;
	margin: 0.5em 0;
	padding-left: 3px;
}

div#sub_content ul {
	list-style: none;
	margin: 1em 0;
}

div#sub_content li a {
	text-align: center;
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 120%;
	padding: 5px;
}

div#sub_content li a.here, div#sub_content li a.here:hover {
	display: block;
	background-color: #84C0E3;
	color: #fff;
	text-decoration: none;
	font-size: 120%;
}

div#sub_content li a:hover {
	padding: 4px;
	background-color: #84C0E3;
	border-top: 1px solid #063E94;
	border-bottom: 1px solid #063E94;
}

div#sub_content blockquote {
	margin: 1em 1.2em 0.5em .8em;
	color: #fff;
	padding-bottom: 15px;
/*	background: url(../_struct/rquo.png) no-repeat bottom right; */
	background: url(../_struct/rquo_g.png) no-repeat bottom right;
}

div#sub_content blockquote p {
	padding-top: 20px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 5px;
/*	background: url(../_struct/lquo.png) no-repeat; */
	background: url(../_struct/lquo_g.png) no-repeat;
	background-position: top left;
	line-height: 1.8em;
}

div#sub_content p.box_foot {
	font-size: 80%;
	text-align: center;
	padding-bottom: 1em;
}

div#sub_content p.box_foot a {
	text-decoration: none;
	color: #fff;
}

div#sub_content p.box_foot a:hover {
	text-decoration: underline;
}


/* =footer
******************************************************************************/

div#footer {
	margin: 0 auto 1em auto;
	padding-top: 20px;
	clear: both;
	width: 790px;
	height: 65px;
/*	background: #fff url(../_struct/foot_bg.png) no-repeat bottom center; */
	background: #fff url(../_struct/foot_bg_g.png) no-repeat bottom center;
}

div#footer p {
	width: 370px;
	padding-top: 0.5em;
	text-align: center;
	font-size: 90%;
}

div#footer p a, div#footer p {
	font-family: arial, sans-serif;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
}

div#footer p a:hover {
	text-decoration: underline;
}

.name {
	color: #d3d3d3;
	font-style: italic;
}
/* =fixes
******************************************************************************/

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */