@charset "UTF-8";
/* CSS Document */
/* -----------------------------------------------
visual foundry ltd
client:   Chepstow School
updated:  14.11.09
-----------------------------------------------
Chepstow School - Color Chart
background:  #cccabd
 */
 
html {
	padding: 0; 
	margin: 0; 
	border: 0; 
	font-size: 80%;
}

body {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	background: #cccabd;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #3b3736;
}




/* DIV Layout */

@media screen {#week {
	position: absolute;
	top: 23px;
	right: 50%;
	margin-right: -435px;
	width: auto;
	background: #FFFFFF;
	border: solid #3b3736 1px;
	z-index: 10;
}}

@media print {#week, #search, #txtsizer, #shield, #menu, #footerBar {
	display: none;
}}

@media screen {#search {
	position: absolute;
	top: 124px;
	_top: 127px;
	right: 50%;
	margin-right: -449px;
	*margin-right: -450px;
	width: 200px;
	_width: 198px;
	border: solid #3b3736 1px;
	_border: none;
	height: 20px;
	text-align: left;
	z-index: 9;
}}

html>/**/body input.button
{
  overflow:auto;
}

@media screen {#txtsizer {
	position: absolute;
	top: 365px;
	right: 50%;
	margin-right: -485px;
	width: 200px;
	height: 30px;
	z-index: 9;
	vertical-align: top;
}}

.ss {
	margin-right: 5px;
}

#sw {
	border: none;
	margin: 0;
	padding-top: 3px;
	*padding-top: 0;
	text-align: left;
	vertical-align: top;
}

#sw img {
	float: right;
}

@media screen {#shield {
	position: absolute;
	top: 350px;
	right: 50%;
	margin-right: -275px;
	width: 50px;
	z-index: 9;
}}

#ucontainer {
	height: 337px;
	width: 900px;
	background: #FFFFFF;
	margin: 0 auto;
	border: 10px solid #FFFFFF;
	text-align: left;
	z-index: 3;
}

#titleBar, #footerBar {
	width: 920px;
	height: auto;
	background: #cccabd;
	text-align: left;
	z-index: 4;
}

#titleBar {
	margin-bottom: 40px;
}

#footerBar {
	padding-top: 10px;
}

#lcontainer {
	width: 920px;
	background: #FFFFFF;
	margin: 0 auto;
	text-align: left;
	z-index: 3;
}



/* week DIV Layout */

#week p {
	color: #758342;
	margin: 0;
	padding: 5px;
}



/* ucontainer DIV Layout */

#header {
	position: relative;
	top: 0;
	height: 110px;
	width: auto;
	background-color: #f7f6f0;
	background-image: url(../images/logohdr.jpg);
	background-position: right;
	background-repeat: no-repeat;
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}

@media screen {#menu {
	position: relative;
	top: 0;
	height: 24px;
	width: 680px;
	background-color: #ffffff;
	background-image: url(../images/menu.jpg);
	background-position: left;
	background-repeat: repeat-x;
	padding: 3px 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	z-index: 10;
}}

#flash {
	position: relative;
	top: 0;
	_top: 2px;
	height: 195px;
	width: auto;
	padding: 0;
}



/* lcontainer DIV Layout */

#mainContent {
	position: relative;
	top: 0;
	background: #FFFFFF;
}

#lcontainer p, #lcontainer h2 {
	text-align: left;
	padding: 0 20px 0 20px;
	margin-bottom: 0;
}



#lcontainer p a {
	color: #177cbb;
	text-decoration: none;
}

#lcontainer p a:hover {
	color: #758342;
	text-decoration: none;
}


#lcontainer h2 {
	font-size: 110%;
}

#rightDiv {
    position: relative;
	top: 5px;
	*padding-top: 10px;
	margin-right: 20px;
	*margin-right: -40px;
	_margin-right: 5px;
	width: 190px;
	_width: 170px;
	background: #746d6a;
    height: auto;
	margin-left: 60px;
	margin-bottom: 20px;
    float: right;
}

#rightDiv2 {
	width: 100%;
	*width: 210px;
	_width: 210px;
	background-color: #fff;
    height: auto;
	margin-top: 30px;
}


#rightDiv p {
    color: #FFFFFF;
}

hr {
	border: 0;
 	color: #cccabd;
 	background-color: #cccabd;
	height: 2px;
}

.RHS {
	text-align: center;
	padding: 30px 45px;
}



/* titleBar DIV Layout */

#titleBar p {
	color: #0b8ee0;
	font-size: 125%;
	*font-weight: bold;
	text-align: left;
	padding-left: 20px;
	margin-top: 9px;
	padding-bottom: 7px;
}



/* header DIV Layout */

#header img {
	padding: 20px 0;
}

/* footerBar DIV Layout */

#footerBar p {
	color: #746d6a;
	font-size: 80%;
	text-align: left;
	padding-left: 20px;
	margin-top: 9px;
	padding-bottom: 7px;
}

#footerBar p a {
	color: #0b8ee0;
	text-decoration: none;
}

#footerBar p a:hover {
	color: #0b8ee0;
	text-decoration: underline;
}



/* menu DIV */

ul#nav {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul#nav li ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
 
#nav li {
	float: left;
	position: relative;
}

ul#nav li {
	text-align: center;
	cursor: default;
}


.school, .sixth, .subjects, .info, .dates, .news, .exams, .contacts {
	width: auto;
	padding: 0 8px;
}

.school {
	_width: 5em;
}

.sixth {
	_width: 5.2em;
}

.subjects {
	_width: 4.1em;
}

.info {
	_width: 5.2em;
}

.dates {
	_width: 4.1em;
}

.news {
	_width: 2.5em;
}

.exams {
	_width: 6.5em;
}

.contacts {
	_width: 4em;
}

ul#nav li:hover, ul#nav li.over {
	color: #3b3736;
	background: #fff;
}

ul#nav li a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 100%;
	padding-top: 5px;
	height: 20px;
	_height: 29px;
	_heigh\t: 20px;
}

ul#nav li a:hover {
	color: #3b3736;
	text-decoration: none;
}

#nav li ul {
	display: none;
	position: absolute; 
	top: 23px;
	_top: 22px;
	_to\p: 23px;
	left: 0;
}

#nav li:hover ul,
#nav li.over ul {
	display: block;
}

ul#nav ul {
	border-top: 5px solid #fff;
}

ul#nav ul li {
	width: 225px;
	background: #fff;
	text-align: left;
	font-weight: normal;
}

ul#nav ul li a {
	display: block;
	height: 20px;
	padding: 3px 8px;
	border-bottom: 1px solid #807875;
	color: #3b3736;
	text-decoration: none;
}

ul#nav ul li a:hover {
	background: #0b8ee0;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #807875;
}