/* Start of CMSMS style sheet 'Homepage CSS' */
/********************
MENU HORIZONTAL
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}



div#menu_horiz {
   display: block;
   position: absolute;
   background: transparent;
   width: 930px;
   top: 86px;
   left: 282px;
   height: 30px;
   line-height: 25px;
   font-size: 14px;
   font-family: Arial;
   z-index: 10;

}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0;
   padding: 0;
 /*  border-bottom: 1px solid #C0C0C0;*/
   height:30px;
   background: transparent;
}


/* menu list items */
div#menu_horiz li {
   display: block;
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0 ;
   border-right: 1px solid #C0C0C0;
   height: 30px;
   background: url(/images/button-mid.jpg) repeat-x;
}

div#menu_horiz li:hover{
background: url(/images/button-mid-a.jpg) repeat-x;
color: white;
_height: 30px;
_z-index: 30;
}

/* the links, that is each list item */
div#menu_horiz a {
   padding-right: 10px; /* padding inside the list item box */
   padding-left: 10px;
/*    margin-left: 5px; margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #18507C;
   
   display: block; /* IE has problems with this, fixed above */
   height: 30px;
   _text-align: center;
   _line-height: 30px;
   _width: 180px;
}

div#menu_horiz li a:hover {
background: transparent;
_background: url(/images/button-mid-a.jpg) repeat-x; 
_height: 30px;
color: white;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
     color: #fff;
}

div#menu_horiz h3 {
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   vertical-align: middle;
   color: #fff;
   display: block; 
   font-size: inherit;
   height: inherit;
   background: inherit;
}

div#menu_horiz h3 {
   color: #18507C;
}

 div#menu_horiz li.currentpage {
background: url(/images/button-mid-a.jpg) repeat-x;
   padding-right: 10px; /* padding inside the list item box */
   padding-left: 10px;
   width: auto;
}


/* ########### menu css ends ########## */

/* 
home page css
*/

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

/*
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: 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: transparent; 
    color: #622c27;
}

a:visited {
   text-decoration: underline;
   background: transparent;
  color: #505050;                /* 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 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin-top:15px; /* gives some air for the pagewrapper */
}


div#loader{
display: block;
position: relative;
margin: 300px auto;
background: url(/images/loader.gif) no-repeat;
height: 20px;
width: 220px;
}

/* center wrapper, min max width */
div#pagewrapper {
   display:  block;
   position: relative;
   border: 1px solid black;
   margin: 0 auto;     /* this centers wrapper */
   width: 1260px; /* IE wont understand these, so we will use javascript magick */
   background-color: #fff;
   color: black;
   height: 935px;
}


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

div#header {
   height: 262px; /* adjust according your image size */
   width: 1000px;
   background: #fff2cd;     
   margin: 0px;
}

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


div#client_entrance {
display: block;
position: relative;
width: 152px;
height: 32px;
left: 850px;
top: -30px;
line-height: 20px;
font-size: 12px;
background: transparent;
padding-left:20px;
}

div#logo-main{
display: block;
position: absolute;
height: 60px;
width: 486px;
left: 50px;
top: 20px;
z-index: 2;
}

div#logo-main a{
display: block;
postion: relative;
background: url(/images/logo-main1280.jpg) no-repeat;
height: 60px;
width: 486px;
padding-left:170px;
padding-top: 10px;
text-decoration: none;
color: #949391;
}

div#logo-main a:hover{
background: url(/images/logo-main-active1280.jpg) no-repeat;
text-decoration: none;
color:#017CC0;
}

div#phone{
background: url(/images/phone1280.jpg) no-repeat;
padding-left:40px;
display: block;
position: absolute;
top: 20px;
left: 930px;
margin-right: 60px;
padding-top: 4px;
*padding-top: -10px;
color: #370200;
font-size: 20px;
font-weight: bold;
width: 200px;
height:50px;
line-height: 22px;
z-index: 5;

}

div#letter{
display: block;
position: relative;
margin-top: 10px;
margin-left: -35px;
background: url(/images/letter-small.jpg) no-repeat;
height: 20px;
z-index: 5;
cursor: pointer;
}

div#content {
  display: block;
  position: absolute;
  background: #FFFFFF url(/images/main1280.jpg) no-repeat;
  width:1260px;
  height:935px;
  top: 0px;
  left: 0px;
  z-index: 1;
}

div#main {
display: block;
position: relative;
width: 600px;
min-height: 460px;
margin-bottom: 0px;
padding-left: 15px;
left: 230px;
background: transparent;

font-size: 12px;
line-height: 14px;
}

div#main p {
font-size: 12px;
line-height: 16px;

}

div#sidebar{
display: block;
position: relative;
width: 190px;
height: 460px;
background: url(/images/sidebar.jpg);

margin-top: 168px;
margin-left:  38px;
border: 1px solid white;

}


div#footer {
   clear:both;       /* keep footer below content and menu */
    color: #622c27;
   background: #fff2cd url(/images/footer.jpg) no-repeat; /* same bg color as in header */
   height: 72px;
   margin-top: -27px;
   padding-left: 110px;

}

div#footer p {
   font-size: 12px;
   margin:0;
   padding-left: 40px;
   line-height: 14px;
}

div#footer a:link {
   text-decoration: underline;
    color: #622c27;
}

div#footer a {
   text-decoration: underline;
    color: #622c27;
    background: transparent;
}
div#footer a:hover {
   text-decoration: underline;
    color: #622c27;
    background: transparent;
}

div#homepagefooter {

display: block;
position: relative;
background: transparent;
width: 600px;
padding: 20px;
margin-right: 40px;
font-size: 10px;
font-family: Verdana;
color: #E2E2E2;
float: right;
top: -245px;

}

div#homepagefooter p{
color: #E2E2E2;
}

div#homepagefooter a{
color: #fff;
text-decoration: none;
}

div#homepagefooter a:hover{
color: #fff;
text-decoration: underline;
background: transparent;
}

div#homepagefooter a:visited{
color: #E2E2E2;

background: transparent;
}


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


div#menu_two
{
width: 167px;
height: 35px;
display: inline-table;
position: relative;
top: -40px;
left: 846px;
}


/********************
CONTENT STYLING
*********************/

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content 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 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 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 4px 0;  /* some air around p elements */
   line-height:14px;
   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;
}

/* 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 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 */
/* End of 'Homepage CSS' */

