/* 

STYLE SHEET FOR [x] WEB SITE
Created by Author Name
www.domainoftheauthor.com

ToC

  1. defaults
  2. structure
  3. links and navigation
  4. fonts
  5. images
  6. tables
  7. forms
  
Notes

*/



/* --------- 1. defaults  --------- */

* {                                                                /* Remove any browser default settings for margin and padding */
  margin: 0;
  padding: 0;
}

body {                                                             /* Anything that applies to the whole page */
}
    
/*  --------- 2. structure  --------- */

#wrapper {                                                         /* Settings for fixed width centred design */
  background-image: url(../images/background.png);
  background-repeat: repeat-y;
  margin: 0 auto;                                                  /* Centres the wrapper */                     
  width: 880px;                                                    /* Set width for main wrapper */
}
    
#masthead {                                                        /* This is the main vertical header at the top of the page */
  background-color: #FFF;
  padding-left: 20px;
  padding-top: 2px;
}
#masthead div p {
  color: #949494;
  clear: right;
  float: right;
  font-size: 1.6em;
  padding-top: 20px;
}
#masthead form {
  color: #949494;
  float: right;
  clear: right;
  padding-right: 10px;
}
#masthead form input {
  border: #949494 solid 1px;
  background-color: #FFF;
  float: left;
  clear: none;
  margin: 0.3em;
}
#masthead form label {
  float: left;
  clear: none;
}
#wave {
  background-image: url(../images/wave.png);
  background-repeat: no-repeat;
  background-position: bottom;
  position: relative;
  height: 103px;
  z-index: 1;
}
    
#logo {                                                            /* You know what this is */
}
    
#navContainer {                                                    /* Container for main navigation - usually horizontal */
  float: left;
  display: inline;
  width: 203px;
  overflow: hidden;
}

#content {                                                         /* Main page content */
  float: left;
  display: inline;
  margin-top: -42px;
  width: 474px;
  z-index: 1;
}

#footer {                                                          /* Appears at the bottom of every page */
  clear: both;
}

.separator {
  clear: both;
}

.separatorInvisible {
  clear: both;
  height: 1px;
}

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

#features {
  float: left;
  display: inline;
  width: 200px;
}

#features #gallery {
  background-color: #E1E0FF;
  background-image: url(../images/gallery-foot.png);
  background-repeat: no-repeat;
  background-position: bottom;
  width: 191px;         
  margin: 10px 0 0 6px;
  padding-bottom: 5px;
}
#features #gallery h4 {
  background-image: url(../images/gallery-head.png);
  background-repeat: no-repeat;
  font-size: 1.4em;
  font-weight: normal;
  height: 25px;
  padding-top: 15px;
  margin-bottom: 0;
  padding-bottom: 0;
  text-indent: -4000px;
  width: 100%;
}

#features #gallery .photo {
  background-image: url(../images/photo-shadow.png);
  background-repeat: repeat-y;
  margin: 20px 0 0 5px;
  width: 182px;
}

#features #gallery .photo a {
  background-image: url(../images/photo-head.png);
  background-repeat: no-repeat;
  background-position: top centre;
  display: block;
  padding: 5px 0 0 9px;
  width: 172px;
}

#features #gallery .photo p a {
  background-image: none;
  padding-left: 0;
  margin-top: -2px;
  margin-bottom: 5px;
  padding-bottom: 10px;
  line-height: 1.5em;
  color: #222222;
}

#features #gallery .photo p {
  background-image: url(../images/photo-foot.png);
  background-repeat: no-repeat;
  background-position: bottom;
  min-height:8px;
  height:auto !important;
  height:8px;
  padding: 0 8px 0 8px;
  margin: 0 0 0 0;
}

/* ---------- 3. links and navigation ---------- */

a {
  color: #4E4EF0;
  text-decoration: none;
}
    
a:hover {
  text-decoration: underline;
}

#navContainer ul {
  list-style: none;
  margin-left: 1em;
}

#navContainer li {
  margin-top: 0.8em;
}

#navContainer h3 {
  font-size: 1.2em;
}

#navContainer a {
  color: #000;
  text-decoration: none;
}
    
#navContainer a:hover {
  text-decoration: underline;
}

/* ---------- 4. fonts ---------- */

html {
  font-size: 100%;
  line-height: 1.2em;
}

body {
  background-image: url(../images/shadow.png);
  background-repeat: repeat-y;
  background-position: center;
  font-size: 75%;
  font-family: verdana, tahoma, arial, lucinda, sans-serif;        /*  Remove unwanted font family */
}

object {
margin-bottom: 5px;
}

#masthead h1 {
  height: 1px;
  margin: 0;
  text-indent: -3000px;
}

#navContainer {
  color: #000;
}
#navContainer h3, p {
  margin-left: 10px;  
}

#content h1, #content h2, #content h3, #content h4 {
  margin-left: 10px;
}

h1 {
  font-size: 1.6em;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.2em;
}
    
h4 {
  font-size: 1.1em;
}

/*** Content Headers ***/
h1, h2, h3, h4, p {
  margin-bottom: 1em;
  margin-right: 10px;
}

#content p {
  color: #464646;
  text-align: justify;
}

#content p.postit, #content p.postitr {
  clear: none;
  font-family: cursive;
  font-size: 1.2em;
  float: left;
  height: 170px;
  padding: 20px;
  text-align: left;
  width: 170px;
}
#content p.postit {
  background-image:url(../images/postit.png);
}
#content p.postitr {
  background-image:url(../images/postit-right.png);
}

#content p.postitlarge{
  clear: none;
  font-family: cursive;
  font-size: 1.2em;
  float: left;
  height: 260px;
  padding: 20px;
  text-align: left;
  width: 170px;
  background-image:url(../images/postit-large.png);
}

#theycan {
  margin-bottom: 0.6em;
}

ul {
  color: #333;
  list-style: none;
  margin-bottom: 1em;
  margin-left: 30px;
}

blockquote {
}

#features {
  color: #000;
}
#features p {
  font-size: 0.8em;
}

#footer {
  background-color: #FFF;
  background-image:url(../images/foot-wave.png);
  background-repeat: no-repeat;
  height: 2em;
  padding-top: 50px;
}
#footer .copy {
  float: left;
}
#footer .mbl {
  float: right;
}

.boys, .girls, .infants, .juniors {
  float: left;
  width: 49%;
}

/* ---------- 5. images ---------- */

a img {
  border: 0;
}

img.wrap {
  float: left;
  padding: 0 1em;
}

.termdates {

padding: 10px 10px 10px 10px;
margin: 10px 10px 10px 10px;
width: 95%;

}

.termdates td {

padding: 2px 2px 2px 2px;

}

.resultstable {
border: 1px solid #F5F5F5;
font-size: 0.9em;
margin-left: 10px;
margin-right: 10px;

}

/* ---------- 7. forms ---------- */  

form fieldset {
  margin: 1em;
  padding: 1em;
}
form legend {
  margin-left: -0.5em;
  padding: 0 0.5em;
}
form label {
  display: block;
  margin-bottom: 0.5em;
}
form input, form textarea {
  display: block;
  margin-bottom: 0.6em;
}

.contact_input {
width: 25em;
}
