/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column (Mayfield)' */
/*****************
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: 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;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* 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: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/

html {
   background-color: #17325c;
}

body {  

}

#iewrap {
   display: block;
   max-width: 945px;   
   min-width: 750px;
   width: expression(document.body.clientWidth < 755? "750px" : document.body.clientWidth > 950? "960px" : "auto");
   margin: 0 auto;     
   position: relative;
   background-color: #fff;
   color: #003;
  min-height: 900px;
  height:auto !important;
  height: 900px;
}

div#header {
   height: 281px;  
}

div#header h1 a {
   background: #fff url(/uploads/images/mm-back.jpg) no-repeat 0 0; 
   display: block;
   height: 281px; 
   text-indent: -999em; 
   text-decoration: none; 
}

div#header div.wrapit {
   display: block;
   position: absolute;
   margin: 0 2.5%;
   padding: 5px 0 7px 0;
   border-bottom: 2px solid white;
   top: 2px;
   width: 95%;
   line-height: 1.2em;
}

div#header div.wrapit ul {
   display: block;
   list-style: none;
   float: left;
   margin: 0 auto;
   position: relative;
   padding: 0;
}

div#header div.wrapit ul li {
   list-style: none;
   float: left;
   position: relative;
   display: block;
   margin: 0 1.8em;
   padding: 0;
}

div#header div.wrapit ul li a {
   display: block;
   position: relative;
   font-family: Arial Black, Helvetica Bold, sans-serif;
   color: #fff; 
   text-decoration: none;
   text-transform: lowercase;
   font-size: 110%;
   line-height: 1.2em;
}

/* position for the search box */
div.Search {
   /* width: 100%;     enough width for the search input box */
   padding: 0.9em 5px 0.5em 5px;
   margin: 0;
border-bottom: 3px solid #18507C; 
}

.Search label {
  font-weight: bold;
}

.Search input {
  margin-top: 6px;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
width: 95%; 
margin: 0 2.5% 2em 2.5%; 
clear: both;
position: relative;
}

div#main {
   margin: 0 0 0 22.5%;
}

div#sidebar-holder {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 20%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#sidebar {
   position: absolute;
   top: 290px;
   width: 20%;     /* sidebar width, if you change this please also change #main margins */
   margin-left: 20px;
}

div#footer {
border-top: 2px solid #17325c;   
clear: both;       /* keep footer below content and menu */
   color: #17325c;
padding-bottom: 30px;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em 0;       /* some air for footer */
   margin: 0;
}

div#footer p a {
   color: #17325c; /* needed because footer link would be same color as background otherwise */
}

div#content address {
   display:block;
   position: absolute;
   bottom: 20px;
   font-size: 0.8em;
   text-align: center;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em 0;
}

/* relational links under content */
div.left49 {
  width: 79%; /* 50% for both left and right might lead to rounding error on some browser */

  font-size: 0.8em;
}

div.right49 {
  float: right;
  width: 19%;
  text-align: right;
  font-size: 0.8em;
}

div.right49 a {
margin-left: 10px;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {

   font-family: Arial Black, Helvetica Bold, sans-serif;
font-weight: normal;
	color: #17325c; 
	font-size: 2.1em; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
      font-family: Arial Black, Helvetica Bold, sans-serif;
font-weight: normal;
	color: #333; 
	font-size: 1.65em; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
        line-height: 1.5em;
/* and some air under the border */
        margin: 1em 0 0.5em 0;
}

div#content h3.homer {

	color: #17325c; 
	font-size: 1.85em; 
}

div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1.1em;
   margin: 0 0 1em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

p.small {
   font-size: 75%;
}

blockquote {

   margin-left: 20px;
}
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 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 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%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* FORMS */
	/* Sample FormBuilder CSS base */
	form {margin-top:0}
	form, td, th, li { font-size: 100%}
	form div {margin-bottom:0}
	fieldset div {
		margin-bottom:0.5em;
		margin-left:1em;
padding-bottom: 0.5em;
border-bottom: 1px dotted #aaa;
	}
	fieldset div div {
		margin-top:0.5em;
		margin-left:1em
	}
	fieldset {
		margin-bottom:1em;
		border:1px solid #18507C;
		padding:0.75em
	}
	fieldset label {
		clear: both; width: 50%; padding-right; 3%; display: block; float: left;

	}
	legend {
		color:#ffffff;
   background-color: #002d5c; 
   background-image: url(/uploads/images/nav/menu-but.gif);
   background-repeat: repeat-x;
		font-family: Arial Black, Helvetica Bold, sans-serif;
		font-size:1.4em;
		margin-bottom:0.5em;
		padding: 0.5em;
		width: auto;
		border: 0;
	}
	textarea {
		margin: 0.5em 0;
		width:98%;
		height: 6em
	}
	fieldset div  input {
width: 45%;
}
	/* Apply this class to text/select input fields with shorter labels
		to help alignment */
	.short-label label {float:left; width:10em}
	.short-label fieldset div input,
	.short-label fieldset div select {width:16em}

	/* Pretty up your Captcha image output */
	.captcha {
		margin:0.5em 0;
		width:200px;
		text-align:center
	}
	.captcha img {border:1px solid #F60; margin-bottom:0.5em}
	.captcha input {width:196px; margin-top:0.5em}

	/* Just a bit more room for the Submit button */
	.submit {margin-top:0.5em; width: auto;}

/* END FORMS */


/* LISTS */
/* lists in content need some margins to look nice */
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;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

#calls2action ul {
 display: block;
 position: absolute;
 list-style: none;
 top: 40px;
 right: 20px;
 margin: 0;
 padding: 0;
 width: 250px;
}

#footbanner ul {
 clear: both;
 position: relative;
display: block;
 list-style: none;
 margin: 0;
 padding: 0;
}

#calls2action ul li, #footbanner ul li {
list-style: none;
position: relative;
display: block;
margin: 0;
padding: 0;
background-repeat: repeat-x;
background-position: top;
}

#calls2action ul li {
background-color: #002e5c;
background-image: url(/uploads/images/nav/trbut-bk-blu.gif);
}

#calls2action ul li.appt, #footbanner ul li {
background-color: #930c13;
background-image: url(/uploads/images/nav/trbut-bk-red.gif);
}

div#main #footbanner ul li {
clear: both;
margin-left: 0;
}

#calls2action li a, #footbanner li a {
display: block;
height: 100%;
color: white;
background: none;
text-decoration: none;
line-height: 1em;
font-family: Arial Black, Helvetica Bold, sans-serif;
font-size: 150%;
background-repeat: no-repeat;
background-position: left top;
position: relative;
}

#calls2action li a {
width: 70%;
text-align: right; 
padding: 1em 0 1.05em 3em;
margin: 5px 7.5% 0 0;
}

#footbanner li a {
  margin: 0;
  background-image: url(/uploads/images/nav/bulb.gif);
  padding: 0.7em 20px 0.75em 80px;
  text-align: left;
  font-size: 175%;
}

#footbanner li em {
  display: block;
  font-family: arial, helvetica, sans-serif;
  font-size: 80%;
}

#calls2action li a:hover, #footbanner li a:hover {
color: black;
}

#calls2action li.call a {
background-image: url(/uploads/images/nav/tr-icon-call.gif);
background-repeat: no-repeat;
background-position: left top;
}

#calls2action li.qtns a {
background-image: url(/uploads/images/nav/tr-icon-qtns.gif);
background-repeat: no-repeat;
background-position: left top;
}

#calls2action li.appt a {
background-image: url(/uploads/images/nav/tr-icon-appt.gif);
background-repeat: no-repeat;
background-position: left top;
}

#editorimage img {
float: right;
padding-left: 15px;
padding-bottom: 5px;
}

/* END LISTS */

table.blogs-showblogsentries {
width: 100%; padding: 0; margin: 0; border: 0;
}

.blogs-showblogsentries tr { border-bottom: 1px solid #ddd; padding: 4px 0 }
.blogs-showblogsentries td { padding: 3px 2px; }
.blogs-showblogsentries th { padding: 3px 2px; background: #666; color: white; }

/* End of 'Layout: Left sidebar + 1 column (Mayfield)' */

