*{
	margin:0;
	padding:0;
}
.clear{ clear:both; }
img { 	border:none; }

body{
	background-color:#ebebeb;
	background-image:url(/images/template/background.jpg);
	background-repeat:repeat-x;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:0.8em;
	color:#4a4a4a;
}
#wrapper{
	width:740px;
	margin:10px auto 0 auto;
	background-color:#FFFFFF;
	border:1px solid #c5c5c5;
	padding:10px 10px 20px 10px;
}
ul, ol {
	padding:0.6em 0 0.6em 40px;
}
p {
	line-height:1.4em;
	margin:0.6em 0 0.6em 0;
}
#header{
	background-color:#275a77;
	height:70px;
	margin-bottom:10px;
	padding-top:30px;
	background-image:url(/images/header.gif);
}
#header p{
	text-align:center;	
}
#header a{
	text-align:center;
	color:#FFFFFF;
	font-size:2.3em;
	text-decoration:none;
	
}
h1, h2{
	font-weight:bold;
	color:#275a77;
}

h1 { font-size:2em;
margin-bottom:0.2em;}
h2 { font-size:1.6em;
margin:1em 0 0 0; }
h2 a{
color:#275a77;
text-decoration:none;
}
h2 a:hover{
text-decoration:underline;
}

#main{
	margin:10px 0px 0px 45px;
	float:left;
	width:465px;
}
#mainMenu ul{
	padding:0;
		list-style:none;
}
#mainMenu{

	float:left;
	width:200px;
	display:inline;

	background-color:#cfe5f2;
	background-image:url(/images/menu_top.gif);
	background-position:top;
	background-repeat:no-repeat;
}
#menuFoot {
	width:200px;
	height:10px;
	background-color:#cfe5f2;
	background-image:url(/images/menu_bottom.gif);
	background-position:top;
	background-repeat:no-repeat;
	overflow:hidden;
}
#mainMenu li{
	margin:40px 10px 40px 50px;
	position:relative;
	font-weight:bold;
}

#mainMenu #here:hover{
	background-color:#4a4a4a;
}
#mainMenu a{
	padding:8px 5px 8px 25px; 
	display:block;
	text-decoration:none;
	line-height:1em;
	height:100%;
	color:#275a77;
	background-color:#FFFFFF;
	background-position:right;
	background-image:url(/images/li_bg.gif);
}
#mainMenu a:hover, #mainMenu #here{
	background-color:#275a77;
	color:#FFFFFF;
	background-position:right;
	background-image:url(/images/li_bg_hover.gif);
}

#footer{
	margin:60px auto 0 auto;
	font-size:0.7em;
	color:#FFFFFF;
	height:14px;
	padding:5px 20px;
	background-color:#275a77;
	background-image:url(/images/footer.gif);
	overflow:hidden;	
}
#footer ul{
	padding:0;
}	
#footer li{
	list-style:none;
	float:left;
	border-right:1px solid #FFFFFF;
	padding:0 1em;
	
}
#footer a{
	text-decoration:none;
	color:#FFFFFF;
}
#footer a:hover{
	text-decoration:underline;
}
#copyright {
	float:right;
	margin:0 1em 0 0;
}

.subject{
	margin:20px 0 0 0;
}
.subject h2{ margin:0;}
.subject img{
	float:left;
	padding:1px;
	background-color:#FFFFFF;
	border:1px solid #cfe5f2;
}
.subject .subjectTxt {
	float:right;
	width:330px;
}

#physicspic, #homepic, #mathspic, #contactpic, #physicspic2, #homepic2, #mathspic2, #contactpic2{
position:absolute;
left:-40px;
top:-17px;
display:block;
width: 61px;
height:61px;
text-decoration: none;
padding:0;
}

#physicspic, #physicspic2 { background: url("/images/physics.png") left no-repeat; }

#homepic, #homepic2 { background: url("/images/home.png") left no-repeat; }

#mathspic, #mathspic2 { background: url("/images/maths.png") left no-repeat; }

#contactpic, #contactpic2{ background: url("/images/contact.png") left no-repeat; }
a:hover #physicspic, a:hover #homepic, a:hover #mathspic, a:hover #contactpic, #physicspic2, #homepic2, #mathspic2, #contactpic2{
	background-position:right;
}

/* -------------------------------------Forms----------------------------------------------- */
label {
margin-left:5px;
float:left;
width:12em;
color:#333333;
font-weight:bold;
}
input{
	width:240px;
}
legend {
	position:absolute; top: -.5em; left: .5em;
	font-weight:bold;
	font-size:140%;
	font-family:Myriad, Arial, Helvetica, sans-serif;
	color:#275a77;
	padding:0 5px 0 5px;
}
fieldset {
	position: relative;
	margin:1em 0;
	padding:1em;
	background-color:#f6fafd;
	border:1px solid #275a77;
}
fieldset p{
	margin:0.8em 0 0.8em 0;
}	
/* ---------------------------IE fielset background fix ------------------------------------
html fieldset{ position: relative; margin-top:1em; padding-top:2em; padding-bottom:1em;margin-bottom:2em; }
html legend{ position:absolute; top: -.5em; left: .5em; }
*/


input.radio, input.checkbox, input.submit {
	width:auto;
}

input.radio {
	float:left;
	margin-right:1em;
}


select{
width:130px;
}

textarea {
	width:240px;
	height:100px;
}

#message {
	width:350px;
}

input.text:focus, textarea:focus {
	background:#ffc;
}

.required {
	font-size:0.75em;
	  color: #d30303;
}
#warning {
  border: 1px solid red;
  background-color : #FFCCCC;
  width: auto;
  padding: 5px;
  margin-bottom:10px;
}

.errortext {
  padding-left: 160px;
  font: bold smaller sans-serif;
}



#warning ul{
	padding-left:40px;
}

input:focus, textarea:focus {
	background:#ffc;
}
#submit {
	text-align:center;
	margin-top:10px;
}	
#button{
	text-align:center;
}
#enquire {
	width:auto;
}
#enquire:focus {
	background-color:transparent;
}	

#error img {
	margin-left:5px;
	margin-right:5px;
}

/*------------------------------------------------------------------*/
.bold{
	font-weight:bold;
}
