/* Start of CMSMS style sheet '1 : main' */
/*****************
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: "Myriad Pro", Helvetica, Arial,  sans-serif;
   font-size: 1em;
   line-height: 1.4em;


}

/*
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: none;
/* 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: #095ca1; 
}

a:visited {
   text-decoration: none;

  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   color: #00357f;
   margin:0em; /* gives some air for the pagewrapper */
   background: #313c73 url(uploads/1/bg.gif) no-repeat center 0; 
}

/* center wrapper, min max width */
div#pagewrapper {
   background: #eff2fc; 
   margin: 0px auto;     /* this centers wrapper */
   width: 900px; /* IE wont understand these, so we will use javascript magick */
   border: 0px dotted #ffffff;
   color: #00357f;



}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   background: #eff2fc url(uploads/1/head.gif) no-repeat 0 0px; 
margin-bottom: 0px;
   height: 104px; /* adjust according your image size */

}




div#search {

}


 div#content {
   background: #eff2fc url(uploads/1/content.gif) no-repeat 0 0px; 
   padding: 0px 0px 0em 0px; /* some air above and under menu and content */
}

div#homebanner {
   background: #eff2fc url(uploads/1/content.gif) no-repeat 0 0px; 
height: 416px;
}

div#banner {
   background: #eff2fc url(uploads/1/small.jpg) no-repeat 0 0px; 
height: 228px;
}

div#main {
 /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
width: 460px;  
   text-align: left; 
padding: 20px;
padding-left: 0px;
padding-right: 0px;
   margin-left: 340px;
   color: #00357f;

}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 280px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
margin-top: 50px;
margin-left: 30px;
   text-align: left; 
   color: #00357f;


}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {

   width: 270px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#sidebar h6 {
   color: #00357f; 
   font-size: 12px;
   font-weight: normal;
   font-style: italic;
 text-transform: none;
   text-align: left; 
width: 280px;
   line-height: 1.4em;
   text-align: justify; 


}
div#sidebar h4 {
   color: #1471b6; 
   font-size: 13px;
   font-weight: normal;
 text-transform: none;
   text-align: left; 
width: 280px;
   line-height: 1.4em;
   text-align: justify; 


}
div#sidebar p {
   color: #095ca1; 
   text-align: left; 
   font-size: 12px;


}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #333;
   margin-top: 2px;
}

div#footer p {
   font-size: 11px;
   color: #333;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
}

div#footer p a {
   color: #00357f; /* 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;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {
   font-size: 80%;
   color: #00357f;
}

/* HEADINGS */
div#content h1 {
color: #667cde; 
   font-size: 1.8em; 
   font-weight: bold;
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */
padding: 0px 10px 5px 0px;
}
div#content h2 {
color: #667cde; 
   font-size: 1.4em; 
   font-weight: bold;
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */

padding: 0px 0px 5px 15px;
}

div#content h3 {
color: #667cde; 
   font-size: 1.2em; 
   font-weight: bold;
   text-align: left; 
     padding: .6em 2em 0.6em 0em;
}

div#main h3 a {
  color: #00357f; 
   font-size: 11px; 
   font-weight: bold;
	letter-spacing: 0.2em;
 text-transform: uppercase;
   text-align: left; 
   line-height: 1.5em;
border: 1px solid #ccd7e5;
text-align: justify; 
width: 90%;
     padding: .6em 2em 0.6em 0.1em;

}
div#main h4 {
   font-size: 1em; 
   font-weight: bold;
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */
}
div#content h5 {
  color: #00357f; 
   font-size: 1em; 
   font-weight: bold;
	letter-spacing: 0.2em;
   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 */
}
div#content h7 {
   color: #666666; 
   font-size: 1em; 
   font-weight: bold;
	letter-spacing: 0.2em;
 text-transform: uppercase;
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */
}
/* END HEADINGS */

/* TEXT */
p {
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.5em;
   padding: 0;
   color: #00357f;


}
.offer {
   background: #ffffff url(uploads/images/offer1.gif) repeat-y 0 0px; 
	width: 250px;
	height: 80px;
	margin-bottom: 5px;
   border: 1px solid #ffffff;
}
.offer p {
	color: #095ca1; 
	line-height: 14px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
	text-align: left;
	font-weight: normal;
}
.offer h5 {
	font-size: 12px;
	line-height: 14px;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 20px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border: none;
	text-transform: none;
	font-weight: bold;
	text-align: left;
	letter-spacing: 0.05em;
	color: #333333;
   border-bottom: 1px solid #ffffff;

}
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 */
 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%;   /* 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 0em 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 0em;
}
/* END LISTS */
/* End of '1 : main' */

