/* Start of CMSMS style sheet 'Layout' */
/**********************************
LAYOUT
***********************************/

* {
   margin:0;
   padding:0;
}

body {
   text-align: center;
   margin:1.2em;
}

div#pagewrapper {
   margin: 0 auto;
   text-align: left;
   width: 780px;
}

div#header {
   height: 80px;
   background: #8999A8 url(uploads/images/logo.jpg) no-repeat 0px 0px;        
}

div#content {
  padding-top: 20px;
}

div#left {
   float: left;
   width: 350px;
   padding-left: 20px;
}

div#right {
   float: right;
   width: 350px;
   padding-right: 20px;
}

div#footer {
   clear:both;
   padding-bottom:4px;
}

div#contact_form {
   padding: 20px;
   padding-top: 0px;
}



/*****************************************
STYLE
******************************************/

body {
   background-color: #8999A8;
   color: #000;
}

div#pagewrapper {
   background-color: #B9C093;
   color: #000;
}

div#footer {
   background-color: #594834;
}

div#footer p {
   font-family:verdana;
   letter-spacing:1px;
   font-size: 0.9em;
   padding: 0.7em;
   text-align: center;
   margin:0;
   font-weight: normal;
   color: #ffffff;
}

div#footer p a {
   color: #ffffff;
   font-weight: normal;
}

table {
   margin-bottom: 20px;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

.photo {
  border: 2px solid #594834;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none; font-weight: bold;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #0000AA; 
}

a:hover {
  text-decoration: underline
}

a:visited {
   text-decoration: none; font-weight: bold;
   background-color: inherit;
  color: #0000AA;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   
}

/* HEADINGS */
div#content h1 {
   font-size: 1.7em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
  color:#594834;
  margin-bottom:0.3em;
  font-family: arial;
}
div#content h2 {
   color: #594834; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #000000; 
   border-left: 0em solid #000000; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.9em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

a.tooltip {
   position: relative;
   text-decoration: none;
   border-bottom: 1px dotted #333;
   color: #993322;
}

a.tooltip span {
   display: none;
}

a.tooltip:hover span {
   display: block;
   position: absolute;
   top: 1em;
   left: 2em;
}

a.tooltip:hover span {
   display:block;
   position:absolute;
   top:1em;
   left:2em;
   padding: 0.2em 0.6em;
  border:1px solid #996633;
   background-color:#FFFF66;
   color:#000;
}

div.clear {
   clear:both;
  }

td {
  padding:2px;
  padding-bottom:4px;
}
/* End of 'Layout' */

