/* www.schoolsatsomerhill.com
   Author:     Linus Norton
   ----------------------------------------------------*/

/* =GLOBAL
   ----------------------------------------------------*/
    /* global tag styles */
    body {
        margin: 0;
        padding: 0;
        font-size: 100.1%;
        line-height: 1.4em;
        font-size: 0.7em;
        font-family: verdana, sans-serif;
        color: #333;
        background-color: #013006;
    }

    form, fieldset, h1, h2, h3, img {
        padding: 0;
        margin: 0;
        border: 0;
    }


    a { 
        color: #414141;
        font-weight: bold;
    }

    p {
        padding: 0;
        margin: 0 0 10px 0;
    }

    h1, h2, h3 {
        font-family: Perpetua Titling MT, georgia, serif;
        font-size: 1.8em;
        line-height: 1em;
        color: #013006;
        padding-top: 9px;
        font-weight: normal;
        text-transform: uppercase;
        margin: 5px 0;
    }

    h1 {
        margin: 10px 0 2px 0;
    }

    h2 {
        font-size: 1.5em;
    }

    h2.block {
        color: #fff;
        padding: 14px 0 6px 20px;
        background: #013006 url("../image/crest-bg.jpg") top right no-repeat;
    }

    h3 {
        font-size: 1.3em;
    }

    h3.block {
        margin: 22px 0 4px 0;
        padding: 10px 0 9px 5px;
        background: #F1F3F0 url("../image/h3block.jpg") top right no-repeat;
    }

    /* global classes */
    .clear {
        clear: both;
    }

    .right {
        float: right;
    }

    .left {
        float: left;
    }

    a img {
        border: 0;
    }

    .hidden {
        display: none;
    }

    .normal {
        font-weight: normal;
    }

    .leftImage {
        float: left;
        margin: 0 10px 10px 0;
    }

    .rightImage {
        float: right;
        margin: 0 0 10px 15px;
    }

    .border {
        border: 1px solid #2C7B64;
        padding: 1px;
    }

    #trans {
        z-index: 1000;
        position: relative;
    }

/* =FRAME
   ----------------------------------------------------*/
    #frame {
        width: 970px;
        margin: 0 auto;
        background-color: #fff;
        border-left: 10px solid #000;
        border-right: 10px solid #000;
    }

    #centerColumn {
        float: left;
        min-height: 500px;
        width: 459px;
        margin-left: 15px;
    }

    #rightColumn {
        float: left;
        margin-left: 15px;
        width: 241px;
    }

    #header, #headerGallery {
        width: 100%;
    }

    #header img, #headerGallery img {
        display: block;
        float: left;
    }

    #somerhillTab, #derwentTab, #yardleyTab, #preprepTab {
        height: 59px; 
        display: block;
        overflow: hidden;
        width: 182px;
        float: left;
        background: url("../image/somerhill-header.jpg");
        text-indent: -999px;
    }

    #derwentTab {
        background: url("../image/derwent-header.jpg");
    }

    #yardleyTab {
        background: url("../image/yardley-header.jpg");
    }

    #preprepTab {
        background: url("../image/prep-header.jpg");
    }

    #somerhillTab:hover, #derwentTab:hover, #yardleyTab:hover, #preprepTab:hover {
        background-position: 0 -118px;
    }

    a.selected {
        background-position: 0 -59px !important;
    }

    #newsBar {
        border-top: 4px solid #B4AF9B;
        border-bottom: 1px solid #000;
        padding: 2px 0;
        margin-bottom: 10px;
    }

    #newsBar div {
        float: left;
    }

    #newsBar .greenBox {
        width: 200px;
        background-color: #668969;
        padding: 10px 20px ;
    }

    #newsBar .greenBox a {
        color: #fff;
        font-weight: bold;
        font-size: 1.2em;   
        text-decoration: none;
    }

    #headline { 
        width: 670px;
        /*overflow: hidden;*/
        height: 17px;
        padding: 10px 0px 10px 15px;
		position: relative;
    }

    #headlineFuller {
        background-color: #FFFFFF;
		position: absolute;
		top: 0px;
		left: 0px;
        width: 670px;
        padding: 10px 0px 10px 15px;
		display: none;
    }

    #footer {
        background: url("../image/footer-bg.jpg") bottom repeat-x;
        margin-top: 20px;
    }

    .extraFooter {
        margin: 0 25px;
        padding-bottom: 20px;
        color: #666;
        
    }

    #innerFooter {
        border: 1px solid #D4D4D2; 
        background-color: #F0F0E8;
        padding: 5px 10px 0 10px;
        margin: 0 20px;
        line-height: 1.5em;
    }
    
    .centerBox .top, .centerBox .bottom {
        width: 459px;
        height: 20px;
    }

    .centerBox .top {
        background: url("../image/main-top.jpg") no-repeat;
    }

    .centerBox {
        background: url("../image/main-middle.jpg");
        width: 459px;
    }

    .centerBox .bottom {
        background: url("../image/main-bottom.jpg") no-repeat;
        clear: both;
    }

    .centerBox .middle {
        margin: 10px 25px;
    }

    .centerBoxWide .top, .centerBoxWide .bottom {
        width: 710px;
        height: 20px;
    }

    .centerBoxWide .top {
        background: url("../image/wide-top.jpg") no-repeat;
    }

    .centerBoxWide {
        background: url("../image/wide-middle.jpg");
        width: 710px;
    }

    .centerBoxWide .bottom {
        background: url("../image/wide-bottom.jpg") no-repeat;
        clear: both;
    }

    .centerBox .middle {
        margin: 10px 25px;
    }

    .centerBoxWide .standardLeft, .standardFullWidth {
        margin: 10px 10px 10px 30px;
        width: 440px;
        float: left;
    }

    .standardFullWidth {
        width: 640px;
    }

    .centerBoxWide .standardRight {
        margin: 10px;
        float: left;
        width: 190px;
    }

    #imageContainer {
        height: 259px;
        width: 728px;
        margin-left: 241px;
    }

    #imageContainer img {
        position: absolute;
    }

/* =NAV
   ----------------------------------------------------*/
    .navTop, .navBottom {
        width: 240px;
        height: 20px;
    }

    .navTop {
        background: url("../image/nav-top.jpg") no-repeat;
    }

    .navBox {
        background: url("../image/nav-middle.jpg");
        font-size: 1.2em;
        padding-right: 15px;
        width: 225px;
        float: left;
   }

    .navBottom {
        background: url("../image/nav-bottom.jpg") no-repeat;
    }

    .navBox ul {
        padding: 0;
        margin-top: -3px;
        list-style: none;
        border-right:1px solid #B7C0B8;
        background-color: #CCD6CD;
    }
    
    .navBox li {
        border-top: 1px solid #B7C0B8;
        font-size: 1.0em;
        line-height: 1.4em;
        font-weight: bold;
    }

    .navBox ul a {
        display: block;
        text-decoration: none;
        padding-bottom: 7px;
        margin: 8px 6px 0 20px;
    }

    .navBox li:hover, .selected {
        background: url("../image/arrow.gif") 4px 12px no-repeat;    
    }

    .navBox ul ul {
         border: 0;
         background-color: #fff;
         margin: 0;
         padding: 0;
    }

    .navBox li li a{
         margin-left: 35px;
         font-weight: normal;
         font-size: 0.8em;
    }

    .navBox li li li a{
         margin-left: 45px;
    }
    
    .navBox h2 {
        font-size: 1.2em;
    }   

    .navBox p {
        font-size: 0.8em;
        margin: 5px 15px 5px 20px;
    }

/* =CONTENT
   ----------------------------------------------------*/
    /* homepage */
    .date, .event {
        float: left;
        height: 36px;
        width: 33px;
        margin-bottom: 5px;
        border: 1px solid #E1E8E1;
        padding: 5px 4px 0 4px;
        overflow: hidden;
    }

    .date {
        text-align: right;
        font-size: 1.5em;
        font-family: georgia, sans-serif;
        margin-right: 3px;
        border: 1px solid #002F05;
        line-height: 2em;
    }

    .date img {
        margin: -5px 0 0 -4px;
    }

    .event {
        width: 185px;
        background-color: #E2E7E1;
    }

    .event.even {
        background-color: #F7F6F2;
    }

    .content p {
        margin: 0 10px 10px 10px;
    }

    .content h2 {
        margin-left: 10px;
    }

    /*overview page*/
    .overview {
        width: 310px;
        float: left;
        padding: 5px;
    }

    .standardRight img {
        padding: 2px;
        border: 1px solid #E2E7E1; /*this needs overriding */
    }

    #playerContainer {
        position: absolute;
        top: 50px;
        left: 0px;
        width: 100%;
        z-index: 1001;
        text-align: center;
    }
    /*
    #player {
    	margin: 0px auto;
    	display: block;
    }
    */
    #blackOut {
        width: 100%;
        position: absolute;
        top:0;
        left:0;
        background-color: #000;
        opacity: 0.8;
        filter: alpha(opacity=80);
        z-index: 1000;
    }

    .general {
        background-color: #B3C3B4;
    }

    .preprep {
        background-color: #D6E3CE;
    }

    .yardley {
        background-color: #DEC6CD;
    }

    .derwent {
        background-color: #C7D9E5;
    }

    .derwentyardley {
        background-image: url("../image/dl-yc.jpg");
    }

    .derwentpreprep {
        background-image: url("../image/dl-spp.jpg");
    }

    .yardleypreprep {
        background-image: url("../image/yc-spp.jpg");
    }


    /* =CALENDAR
   ----------------------------------------------------*/

    ul.eventDay {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .eventDay li {
        padding-left: 20px;
        background: url("../image/general.gif") 0px 4px no-repeat;    
        line-height: 2.1em;
        border-bottom: 1px solid #ddd;
        margin: 4px 0;
    }
 
    li.last {
        border: 0;
    }

    table#calendar {
        border:1px solid #000000;
        color:#3D3D3D;
        text-align: center;
        width: 225px;
        margin: 10px 0 20px 0;
    }

    #calendar thead, #calendar thead a {
        color: #fff;
        font-weight: bold;
        background-color: #013006;   
        font-size: 1.2em;
        line-height: 1.5em;
    }

    #calendar td {
        border:1px solid #D9E9D9;
    }

    .calendarKeyNumber1 {
        background-color:#306A16;
    }

    .calendarKeyNumber1 a{
        color:#FFF;
    }

    .calendarKeyNumber2 {
        background-color:#D4E0C8;
    }

    .calendarKeyNumber3 {
        background-color: #fff;
    }

    .calendarKeyNumber4 {
        background-color: #ccc;
    }

    #calendarControl input, #calendarControl select {
        width: 220px;    
        margin: 7px 0px;
        border: 1px solid #013006;
        padding: 1px;
        font-size: 1.2em;
    }   

    #calendarControl select {
        width: 223px;
    }

    #calendarControl button {
        border: 0;
        margin-right: 10px;
        padding: 0;
        background: #fff;
        float: right;
    }

    #calendar a { 
        text-decoration: none;
    }

/* =FORMS
   ----------------------------------------------------*/
    label {
        display: block;
        float: left;
        width: 200px;
        margin: 5px;
        text-align: right;

    }

    .centerBox label {
        width: 150px;
    }

    input[type="submit"] {
        margin: 10px 0 0 260px;
    }

    .centerBox input[type="submit"] {
        margin: 10px 0 0 160px;
    }


    ul.parents {
        list-style: none;
        padding: 0;
        line-height: 1.5em;
    }

/* New site search */

	#siteSearch button {
		float: right;
		margin-right: 10px;
		border-width: 0;
		padding: 0;
		background-color: #FFFFFF;
		cursor: pointer;
	}

	#siteSearch input {
		width: 200px;
		margin: 7px 0px 7px 10px;
		border: 1px solid #013006;
		padding: 1px;
		font-size: 1.2em;
	}
	
	#searchFooter input {
		width: 200px;
		margin: 10px 40px;
		border: 1px solid #013006;
		padding: 1px;
		font-size: 1.2em;
	}
	
	#searchFooter button {
		border-width: 0;
		padding: 0;
		background-color: #FFFFFF;
		cursor: pointer;
	}
	
	
	#siteSearchR {
		background: #FFFFFF url('../image/search-back.gif') bottom left no-repeat;
		padding-bottom: 10px;
		margin-bottom: 22px;
	}
	
	#siteSearchR fieldset {
		margin: 10px 17px 0px 0px;
		text-align: right;
	}

	#siteSearchR button {
		border-width: 0;
		padding: 0;
		background-color: #FFFFFF;
		cursor: pointer;
	}

	#siteSearchR input {
		width: 200px;
		margin: 7px 0px 7px 10px;
		border: 1px solid #013006;
		padding: 1px;
		font-size: 1.2em;
	}
	