/* Start of CMSMS style sheet 'Main Page Layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
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: 12px;
}

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

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
   background-color: inherit; 
   color: #f00; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #f00;                
}


a:hover {
   text-decoration: underline;
   background-color: inherit;
   color: #ff0000;
}

.picture { 
background-color: #918151;
border: 1px solid #08457E; 
padding: 5px;
font: 11px/1.4em Arial, sans-serif;
 }
.picture img { 
border: 1px solid #08457E;
vertical-align:middle; margin-bottom: 3px; 
}
.right { margin: 0.5em 0pt 0.5em 0.8em; float:right; }
.left { margin: 0.5em 0.8em 0.5em 0; float:left; } 


/*****************
basic layout 
*****************/
body {
   background: #918151 url(uploads/images/site/back01.jpg) repeat-x 0 0; ;
   color: #333;
   margin:1em; 
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 950px; 
   min-width: 950px;
   background-color: #fff;
   color: black;
}

div#pagewrapper_home {
   border: 1px solid black;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 950px; 
   min-width: 950px;
   background: #fff url(uploads/images/site/home03.jpg) no-repeat 0 0; 
   color: black;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 195px; 
   background: #013220;   
   margin-bottom: -10px;     
}

div#header h1 a {
/* you can set your own image here */
   background: url(uploads/images/site/head03.jpg) no-repeat 0 0; 
   display: block; 
   height: 195px;            
   text-indent: -999em;  
   text-decoration:none; 
   margin: 0 0; 
}

div#search {
   float: right;
   width: 27em;    
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; 
   font-size: 90%;             
   margin: 0 1em;              

}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }


div#content {
   margin: 1.5em auto 2em 0; 
}

div#content_home {
   margin: 375px auto 2em 0; 
}

div#main {
   margin-left: 29%; 
   margin-right: 2%;
   margin-bottom: 20px; 
   padding: 10px;
   border: 1px solid black;
   background: #E0E5E6 url(uploads/images/site/text_back01.jpg) no-repeat right bottom; 
}

div#main_home {
   margin-left: 50%;
   margin-right: 2%; 
   padding: 10px;
   border: 1px solid black;

}

div#main_wide {
   margin-left: 2%; 
   margin-right: 2%;
   margin-bottom: 20px; 
   padding: 10px;
   border: 1px solid black;
   background: #E0E5E6 url(uploads/images/site/text_back01.jpg) no-repeat right bottom; 
}

div#sidebar {
   float: left;  
   width: 26%;    
   display: inline;  
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  
}
div#sidebar_home {
   float: left; 
   width: 47%;    
   display: inline; 
   margin-left: 20px;
   margin-top: 350px;

}
div#sidebar_home.hascontent {
   padding: 0 1%;
   width: 45%; 
}
div#footer {
   clear:both;      
   color: #fff;
   background-color: #013220; 
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      
   text-align: center; 
   margin:0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1, div#content_home h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2, div#content_home h2 {
   color: #294B5F; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #e7ab0b; 
   border-left: 1.1em solid #e7ab0b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}

div#content h3, div#content_home h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4, div#content_home h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5, div#content_home 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;
}


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_wide ul,
div#main_wide ol,
div#main_wide 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#main_wide ul li,
div#main_wide 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;
}
html #main {height:1%;}
/* END LISTS */
/* End of 'Main Page Layout' */

