/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/*****************
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: 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 {
   background-color: #ffffff;
   color: #333;
   margin:1em; /* gives some air for the pagewrapper */
   margin-top:50px;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid #000033;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 980px; /* IE wont understand these, so we will use javascript magick */
   background-color: #fff;
   color: #333;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 135px; /* adjust according your image size */
   background: #ffffff;  
   width: 400px;         
}


div#topdetails {
   height:0px;
   width:300px;
   position:relative;
   left:530px;
   top:55px;

}


div#righticon {
   background: #ffffff url(images/fadedcompass.jpg) no-repeat; 
   height:135px;
   width:132px;
   margin-bottom:-135px;
   float:right;

}


div#header h1 a {
/* you can set your own image here */
   background: transparent url(images/logo.jpg) no-repeat; 
   margin-left:20px;
   position: relative;
   top:20px;
   display: block; 
   height: 102px;             /* adjust according your image size */
   width: 400px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

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: 1.5em auto 2em 0; /* some air above and under menu and content */
}

div#main table p {
   font-size: 1.2em;
   padding: 0px;
   margin:0px;
}

div#main table {
	border-width: 1px 1px 1px 1px;
	border-spacing: 2px;
	border-style: none;
	border-color: black black black black;
	border-collapse: separate;

}

div#main td {
	border-style: solid;

}

div#main {
   margin-left: 210px; 
   margin-right: 210px;
}

div#main-service {
   margin-left: 210px; 
   margin-right: 10px;

}

div#main-service table p {
   font-size: 1.2em;
   padding: 0px;
   margin:0px;
}

div#main-service table {
	border-width: 1px 1px 1px 1px;
	border-spacing: 2px;
	border-style: none;
	border-color:  white white white white;
	border-collapse: separate;

}

div#main-service td {
	border-style: solid;
        border-color: #666666;

}

.imageleftpadding {
   margin-left:10px;

}

div#sidebar img{
   margin-left:2px;

}

div#sidebar-right img{
   margin-left:2px;

}


div#sidebar {
   float: left;  
   width: 192px;    
   display: inline;  
   margin-left:10px;

   

}


div#sidebar-top {
   height:15px;
   background-image: url(images/side-top.jpg);
   background-repeat: no-repeat;

}   

div#sidebar-mid{
   background-image: url(images/side-mid.jpg);
   background-repeat: repeat-y;   

}   

div#sidebar-bottom {
   margin-top:-20px;
   height:15px;
   background-image: url(images/side-btm.jpg);
   background-repeat: no-repeat;

} 


div#sidebar-right{
   float: right;  
   display: inline;  
   margin-right:10px;
   width: 192px;  

}

div#sidebar-right-top {
   height:15px;
   background-image: url(images/side-top.jpg);
   background-repeat: no-repeat;

} 

div#sidebar-right-mid{
   background-image: url(images/side-mid.jpg);
   background-repeat: repeat-y;
}

div#sidebar-right-bottom {
   margin-top:-20px;
   height:15px;
   background-image: url(images/side-btm.jpg);
   background-repeat: no-repeat;

} 


div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #404A54; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   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;
}

/* 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 {

}

/* HEADINGS */
div#content h1 {
   font-size: 1.4em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
   text-decoration:underline;
}
div#content h2 {
   font-size: 1.2em; 
   text-align: left; 
   padding-top: 4px;
   padding-bottom: 1px;
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   padding-left:10px;
   color: #ffffff; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 1em 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;
}



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 */



/***Form styles***/							


/* form elements */


div.formbuilderform p{
   color:#244D79;
   margin-top:15px;
   margin-bottom:-5px;
   font-weight:bold;

}

.contactform {
   background-color:#ffffff;

}

div.contactform fieldset {
   border:none;

}

form {
   margin: 15px 10px 0px 15px; 
   padding: 5px 10px 0px 10px;

}

legend {
   color:#696969;
   font-weight:bold;

}

label {

   display: block;
   font-weight: bold;
   margin: 8px 0px 5px 0px;
   color:#333;
   font-family:Helvetica,Arial, sans-serif;

}

/*input, select {

   padding: 3px;
   font: normal 1em Verdana, sans-serif;
   color: #666666;
   background: #fff;  	

}*/

textarea {

   width: 400px;
   padding: 4px;
   font-family:Helvetica,Arial, sans-serif;
   height: 100px;
   display: block;
   color: #666666;

}

/*input, textarea, select {

   background: #fff;
   border-width: 1px;
   border-style: solid;
   border-color: #D4D4D4 #ebebeb #ebebeb #d4d4d4; 

}*/

input.button { 

   font: bold 12px Arial, Sans-serif; 
   height: 30px;
   margin: 0;
   padding: 2px 3px; 
   color: #555;
   background: #E6E6E6;
   border-width: 1px;
   border-style: solid;
   border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;

}

.form_indent {
   margin-left:40px;

}

.form_margintop {
   margin-top:35px;

}


.submit {



}


/***end***/
/* End of 'Layout: Top menu + 2 columns' */

