﻿@import url("layout.css");
@import url("menu.css");

body {
	font-family: arial, Verdana, Helvetica, sans-serif;
	font-size: .8em;
	background-color: #000046;
}
#container {
	width: 760px;
	margin: 0 auto;
	margin-top: 3px;
	border: 2px solid #000046;
	background-color:#FFFF99;
	position:relative;
}
/* St Richard's header - yellow on blue */
#masthead {
	font-family: Georgia, Cambria, "Bell MT", serif;
	background-color: #000046;
	color: #FDCA00;
	text-align: center;
	width: 488px;
	height: 143px;
	position: relative;
	float: left;
}
#masthead h1 {
	font-size:78px; /* use px here to ensure fixed size text regardless of what individual user text-size is set to */
	padding-top: 10px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	font-weight: 600;
}
#masthead h3 {
	color: #fdca00;
	font-variant:normal;
	font-style:italic;
	font-size:13px; /* use px here to ensure fixed size text regardless of what individual user text-size is set to */
	margin-top:0px;
	margin-bottom:0px;
	padding-top:0px;
	padding-bottom:10px;
	text-transform:none;
}
/* Logo on either side */
#logobox1 {
	position:relative;
	float:left;
	width:136px;
	height:143px;
}
#logobox2 {
	position:relative;
	float:left;
	width:136px; 
	height:143px; 
}
#logobox1 img, #logobox2 img {
	width: 136px; 
}
/* Address details and email */
#address {
	border-top: 2px #000046 solid;
	border-bottom: 2px #000046 solid;
	padding-top: 5px;
	padding-bottom: 5px;
	color:#000046;
	font-weight: bold;
	font-size: medium;
	width: 760px;
	text-align: center;
	clear: both;
}
#address a {
	text-decoration: none;
	font-weight: bold;
	color:#000046;
}
#address a:hover {
	text-decoration:underline;
}
.email {
	font-variant: normal;
}
/* Text box */
/* Width calculated : (container @ 760px) 760 - (2 borders @ 2px) 4 - (2 margins @ 5px) 10 - (2 padding @ 20) - 40 = 706px  */
#text {
	float: left;
	width: 706px;
	height: 100%;
	border-width: 2px;
	border-color: #000046;
	margin-top: 5px;
	margin-left: 5px;
	margin-bottom: 10px;
	padding: 8px 20px 0 20px;
	background-color: #FFFF99;
	clear: none;
}
#text h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	color: #000046;
	/* font-variant: small-caps; */
	text-transform:uppercase;
}
/* Photographs along the top - this avoids thin cream line between photo and horizontal menu */
#photosontop {
	margin: 0;
	padding: 0;
	border: 0;
	clear:both;
	background-color: #ffff99;
	width: 760px;
	float: left; 
}	
/* Photographs along the bottom need to be full width but height may vary - see page specific CSS */
#photographs {
	width: 760px;
	margin-bottom: 3px;
	background-color:#ffff99;
	clear: both;
}	
#photographs a img {
	border-width: 5px;
	border-style: solid;
	border-color: #ffff99;
	float:left;
}
#photographs a:hover img {
	border-color: maroon;
}
/* urgent message on home page */
#urgent {
	clear:left;
	margin: 2px auto;
	width: 700px;
	border: 2px maroon dashed;
	text-align: center;
	font-size: large;
	background-color: #FFFFBF;
	color: maroon;
	padding: 10px 0;
}
/* Home (Index) page - set overrides for Text div because of forthcoming div */
div#text.home {
	float: left;
	width: 489px; /* arrived at by trial and error ! was 529 CHANGE IF FORTHCOMING WIDTH CHANGES */ 
	padding: 8px 8px 0 8px;
	clear: none;
	border:none;
}
/* forthcoming events on the home page - with rounded corners */
#forthcoming {
	width: 230px; /* Was 190px; If this width changes then change it in .bluecircle below and width of div#text.home above */ /* 190px works for IE6 width */

	float: left;
	clear:left;
	color: #FFFFFF;
	background-color: #000046;
	font-size: 0.9em;
	font-style:italic;
	text-align: left;
	margin: 10px 0 10px 10px;
}
#forthcoming h5 {
	font-size: 0.95em;
	font-style:normal;
	font-weight: bold;
	color: #FFFFFF;
}
#forthcoming h4 {
	font-size: 1.1em;
	font-style:normal;
	font-weight: bold;
	color: #FFFFFF;
}
#forthcoming a {
	text-decoration: none;
	color: #FFFFFF;
}
.bluecircle_bl {background: url(../images/bluecircle_bl.jpg) no-repeat 0 100%; background-color:#000046; width: 230px;} /* 190px works for IE6 width */
.bluecircle_br {background: url(../images/bluecircle_br.jpg) 100% 100% no-repeat} 
.bluecircle_tl {background: url(../images/bluecircle_tl.jpg) 0 0 no-repeat} 
.bluecircle_tr {background: url(../images/bluecircle_tr.jpg) 100% 0 no-repeat; 	padding: 5px;}

#hockey {
	float:right; 
	height:150px; 
	margin-left:10px;
} 
/* Richard Bear on the Parent Page page */
#bear {
	clear:right;
	float: right;
	margin-right:5px;
}
#bear img{
	padding: 10px;
	border: none;
}
/*news button on Parents Page */
#news_button {
	margin: 0 0 15px 0;
}
#news_button a img {
	margin: 20px 0 0 0;
	border-color: #ffff99;
}
/* School appointments on the Parent Page */
#appointments {
	clear: right;
	float: right;
	color: #CC3300;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	border: 2px #800000 dashed;
	padding: 10px;
	margin: 20px 0 20px 10px;
	width: 200px;
}
#appointments h3 {
	color: #800000;
	font-weight: bold;
	font-variant: small-caps;
}
#appointments h4 {
	color: #800000;
	font-weight: bold;
	font-variant: small-caps;
}

/* CAFOD */
#cafod {
	padding: 10px 10px 10px 10px;
	border: 2px white solid;
	background-color: #A2B940;
	color: white;
	font-weight: bold;
	clear: both;
	margin: 20px 0 0 0;
	float: left;
}

/* Scholarship table */
table.scholars {
	border-collapse: collapse;
	margin: 20px auto 20px auto;
	width: 90%;
}
table.scholars th {
	text-align:left;
	font-size:1.1em;
	padding:20px 2px 2px 2px; 
}
table.scholars td { 
	padding:2px 2px 2px 10px; 
	vertical-align:text-top;
}
/* copyright at the foot of each page */
#copyright {
	width: 750px;
	background-color: #000046;
	color: #ffff99;
	font-size: x-small;
	padding: 5px 5px 5px 5px;
	clear:both;
}
/* Main school and pre-prep fees */
.fees {
	width: 650px; 
	margin-left:auto;
	margin-right:auto;
	height: 100%;
	padding: 20px 20px 20px 20px;
	background-color: #FFFF99;
	clear: both;
}
#prepdiv.fees table {
	margin-left:50px;
}
#prepdiv .td1 {
	padding: 0 0 0 5px; 
	height: 20px; 
	width:250px;
}
#prepdiv .td2 {
	padding: 0 0 0 5px; 
	height: 20px; 
	width:45px;
}
#prepdiv .list {
	list-style-type: lower-alpha;
}
#prepdiv li {
	margin-bottom: 12px;
}
#preprepdiv .td1 {
	padding: 0 0 0 5px; 
	height: 20px; 
	text-align:center;
	vertical-align:text-top;
}

/* Richard Coghlan's painting of house in History */
#painting {
	float:right;
	border-style: none;
	border-color: inherit;
	border-width: 0;
	clear:both;
	padding:0 0 10px 10px;
	width:250px;
}
/*  Contact Us table */
.contacttable {
	margin:0 auto 0 auto;
	width:90%;
}
.contacttable tr {
	vertical-align:text-top;
}
.contacttable th { 
	text-align:left;
}
.contacttable td { 
	padding-left:10px;
}
.contacttable a:hover {
	color:maroon;
}
/*  Form Rep table */
#formreptable {
	margin:20px;
}
#formreptable .col1 {
	width: 120px;
}
#formreptable .col2 {
	width: 160px;
}
#formreptable .col3 {
	width:300px;
}
#formreptable a:visited {
	color:blue;
}
#formreptable a:hover {
	text-decoration:underline;
	font-weight:bolder;
	color:maroon;
}

/*  Weekly Menu table */
#menutable {
    border-collapse: collapse;
}
#menutable, #menutable td, #menutable th {
	border:1px #000046 solid;
}
#menutable td, #menutable th {
	padding: 3px 5px 3px 5px;
}
#menutable tr {
	height:50px;
	text-align:left;
}
#menutable th {
	font-weight: bold;
	font-size: large;
}
/* menuprintid in Weekly Menus is specific to the 'print' only; do not display on 'screen' */
#menuprintid {
	display:none;
}
/* Ofsted and IAPS symbol */
.ofsted {
	float: right;
	padding-left: 10px;
	width: 110px;
}
/* To handle Adobe text and image */
#adobe { /* portrait div for adobe */
	width:120px; 
	float: right; 
	text-align:center;
	border:medium #000046 solid;
	margin-left:10px;
}
#adobetable { /* long thin landscape table for adobe - used in Fees */
	border-collapse:collapse;
	width:100%; 
	float: left; 
	text-align:center;
	border:medium #000046 solid;
	margin:10px 0;
}
#adobetable td {
	padding:0 10px;
}
#adobe img {
	 float:right; 
	 padding-right:4px;
	 width:112px;
	 height:33px;
}
/* Used in Scholarships
/* fixed 'Return to top' of screen which stays fixed even while scrolling */
#returntotop { 
	display:none; /* this will be changed to 'block' if scripting enabled */
	position:fixed; /* fixed is relative to browser window */
	bottom: 50px;
	right: 0px; /* this is set on Load/Resize when the window size is known */
}
#returntotop img, #returntotopNoscript img {
	border:none;
}
#returntotopNoscript { /* Return to Top for those who have disabled scripting */
	position:absolute; /* absolute is relative to parent div */
	bottom: 70px;
	right: 20px;
}

/* Forward dates table */
#fwdtable {
	margin-left:10px;
}
#fwdtable th {
	text-align: left;
}
#fwdtable .col1 {
	width:180px;
}
#fwdtable .col2 {
	width:220px;
}
#fwdtable .col3 {
	width:40px;
}
#fwdtable .col4 {
	width:185px;
}

/* format for links in School Life and Sports */
.schoollife a {
	text-decoration:none;
	color:black;
	font-weight:bold;
}
.schoollife a:hover {
	text-decoration:underline;
	color:maroon;
}
.schoollife {
	padding-bottom:5px; /* to give room for text-underline on links on bottom line */
}


