/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
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: 100%;
   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: transparent;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   color: #333;
   margin:2em 0 0 0;    /* gives some air for the pagewrapper */
    background: #333333 url(uploads/images/backdrop.gif) repeat-x;
 
}

#middle {
   background: #5283C6;
   position: relative;
   top: 150px;

}

/* center wrapper, min max width */
div#pagewrapper {
   border: none;
   margin: 0 auto;       /* this centers wrapper */
   width: 778px;   /* IE wont understand these, so we will use javascript magick */
   background: transparent url(uploads/images/shadow-middle.png) repeat-y;
   color: black;
   margin-top: -150px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 180px;    /* adjust according your image size */
   background: #ffffff;    
   padding-left: 2px;
   width: 760px;
  margin-left:8px;
  margin-top:-8px;  
}

div#header h1 a {
/* you can set your own image here */
   background: #ffffff url(uploads/images/logo1.jpg) no-repeat; 
   display: block;
   height: 180px;             /* adjust according your image size */
   width: 380px; 
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   float: left;
}

div#header-image {
   height: 160px;           
   width: 380px;      
   float: left;
   

}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

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 {
   margin: 0.5em auto 0em 0;   /* some air above and under menu and content */
}

div#shadow-top {

 background:transparent url(uploads/images/shadow-top.png) no-repeat; 
 height:8px;
 width: 778px;  
 margin: 0 auto;

}
div#shadow-bottom {

 background:transparent url(uploads/images/shadow-bottom.png) no-repeat; 
 height:8px;
 width: 778px;  
 margin: 0 auto;

}
div#main {
   margin-left: 29%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 5%; /* and some air on the right */
   margin-bottom: 20px;
   min-height: 380px;
}


div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;

}

div#footer {
   clear: both;       /* keep footer below content and menu */
   height: 85px;
    background: #333333 url(uploads/images/footer.gif) repeat-x;     
   margin-top: 2em; 

}

div#footer-content {
   clear: both;       /* keep footer below content and menu */
   height: 65px;   
   width: 760px;
   margin: 0 auto;
   padding-top: 10px;
}

div#footer-content p{
   font-size: 0.7em;
   color: #B9B9B9;

}

div#footer-content p span{
   color: #fff;
   font-weight: bold;
}

div#footer-content a{
   color: #B9B9B9;
   text-decoration: none;

}

div#footer-content a:hover{
   background-color:transparent;
}

.footerimagemarginright {
   margin-right: 30px;
   padding-bottom: 35px;
   margin-top: 5px;

}

.footerrightalign {
   text-align: right;
   float: right;
   position: relative;
   bottom: 54px;
   margin-bottom: -54px;

}



div#footer-image {
   height: 81px;           
   width: 570px;      
   float: left;

}








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

/* relational links under content */
div.left49 {
  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;
}

div#bottom-image {
   height: 160px;
   width: 190px;
   background-color: white;
   position: relative;
   margin-bottom: -80px;
   margin-left:8px;
   margin-top: -100px;


}

div#main-footer {
   height: 80px;
   background-color: #FF6600;
   width: 762px;
   margin: 0 auto;

}

div#main-footer img{
   position: relative;
   left: 250px;
   top:15px;
}

div#footer_quote{
   margin-left:190px;
   width: 570px;
   height: 80px;
}

div#footer_quote p{
   font-weight: bold;
   padding-top: 20px;
   text-align: center;
   color: #fff;
   font-size: 16px;
   margin-left: auto;
   margin-right: auto;
   font-family:  'Helvetica', Tahoma, sans-serif;
  padding-right: 3px;

   
}

div#footer_quote p span{
padding-top: 5px;
padding-left: 35px;
background: url(uploads/images/quote1.jpg) no-repeat ;
}

div#footer_quote p span.close{
margin-left: 3px;
padding-bottom: 10px;
padding-left:30px;
background: url(uploads/images/quote2.jpg);
}



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

}

/* HEADINGS */
div#content h1 {
  font-family: 'Tahoma', Helvetica, sans-serif;
	font-size: 1.5em;
        font-weight:normal;
	color: #0B2D83;
	margin: 0px 0px 15px 0px;
}
div#content h2 {
       font-family: 'Tahoma', Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: normal;
	color: #0B2D83;
	margin: 0px 0px 9px 0px;
}
div#content h3 {
   font-family: 'Tahoma', Helvetica, sans-serif;
   color: #ff6633; 
   font-weight: normal;
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   font-family: 'Tahoma', Helvetica, sans-serif;
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-family: 'Tahoma', Helvetica, sans-serif;
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
  font-family: 'Tahoma', Helvetica, sans-serif;
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
        font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	color: #000000;
	margin: 0px 0px 9px 0px;
	line-height: 1.3em;
}

hr{
       color:#fff;
       margin:30px;
}

blockquote{
   background: url('../uploads/images/leftquote.png') no-repeat;
   background-position:45% 50%;
   font-size:16px;
   color:white;
   font-family: Arial;
   font-weight:bold;
}

blockquote p{
   background: url('../uploads/images/rightquote.png') no-repeat;
   background-position:75% 50%;
   text-align:center;
   margin-left: 190px;
   padding-top:30px;
   font-size:16px;
   color:white;
   font-family: Arial;
   font-weight:bold;
}
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%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: .8em;
   line-height: 1.4em;
   margin: 0 1em 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;
}


/* END LISTS */
/* form elements */

.formbuilderform { 
empty-cells: show ; 
 border-collapse: collapse;


} 

.formbuilderform {
   margin-left: 0px;

}
.formbuilderform td {

	font-family: Verdana, Arial, Helvetica, sans-serif;
        text-align: left;
        width: 150px;
	color: #000000;
        line-height: 1.3em; 
	padding: 5px 20px 5px 0px;
	border-bottom: 1px solid #E5E5E5;
   font-size: 0.7em; 
        
}

.formbuilderform tr {

	border-bottom: 1px solid #E5E5E5;

}


.formbuilderform tr td table {
border-bottom: 0px;

}
.formbuilderform tr td table tr td{
border-bottom: 0px;
font-size: 1em;

}

input#m3fbrp__57_0 {
   width:10px;

}

input#m3fbrp__57_1 {
   width:10px;

}

input#m3fbrp__60_0 {
   width:10px;

}

input#m3fbrp__60_1 {
   width:10px;
   
}

input#m3fbrp__84_0 {
   width:10px;
   
}

input#m3fbrp__84_1 {
   width:10px;
   
}

input#m3fbrp__71_0 {
   width:10px;
   
}

input#m3fbrp__71_1 {
   width:10px;
   
}

input#m3fbrp__74_0 {
   width:10px;
   
}

input#m3fbrp__74_1 {
   width:10px;
   
}

input#m3fbrp__85_0 {
   width:10px;
   
}

input#m3fbrp__85_1 {
   width:10px;
   
}

input#m3fbrp__86_0 {
   width:10px;
   
}

input#m3fbrp__86_1 {
   width:10px;
   
}


.formbuilderform td p{

   color: black; 
   font-size: 1em; 
   line-height: 1.2em;
   margin: 0 0 0.5em 0; 
   font-weight: bold;

}

td p{

   font-size: 1em;
   margin: 0 0 1.5em 0;  
   line-height:1.4em;
   padding: 0;
   color: #333;

}

td img{
   padding:5px;
   border: 1px solid #cccccc;

}

table {

   padding: 5px;

}


input {

	font-family: Verdana, Arial, Helvetica, sans-serif;


	color: #000000;

	width: 200px;

	margin: 0px;

}

textarea {

	font-family: Verdana, Arial, Helvetica, sans-serif;



	color: #000000;

	width: 300px;
   height: 60px;

	margin: 0px;

}

select {

	font-family: Verdana, Arial, Helvetica, sans-serif;



	color: #000000;

	width: 300px;

	margin: 0px;

}

.auto {

	width: 150px;

}

.radio {

	width: auto;

	margin: 0px 20px 0px 0px;

}


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

