/* 
    Document   : style
    Created on : Apr 23, 2011, 11:14:38 AM
    Author     : sergeystepanov
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root { 
  display: block;
}

html{
  background-color: #DBD6C6;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px; 
}

#wrapper{
width: 988px;
margin: 0px auto 0px auto;
padding: 5px 38px 5px 38px;
background-image: url(../images/bg.png);
background-repeat: repeat-y
}

#wrapper-top{
width: 1064px;
margin: 5px auto 0px auto;
padding: 0px;
height: 27px;
background-image: url(../images/bg_top.png);
background-repeat: no-repeat;
}

#wrapper-bottom{
width: 1064px;
margin: 0px auto 5px auto;
padding: 0px;
height: 23px;
background-image: url(../images/bg_bottom.png);
background-repeat: no-repeat;
}

#menu {
width: 100%;
padding: 0px;
height: 29px;
white-space: nowrap;
}

#menu ul{
  padding: 0px;
  margin: 0px;
}

#menu ul li{
  display: block;
  float:left;
  width: 161px;
  text-align: center;
  height: 29px;
  background-image: url(../images/bg_menu_item.png);
  background-position: left top;
  margin: 0px 4px 0px 0px;
  z-index: 2000;
}

#menu ul.last li.last{
  margin: 0px 0px 0px 0px;
}

#menu.gap ul li{
    background-image: url(../images/bg_menu_item_gap.png);
}

#menu.etch ul li{
    background-image: url(../images/bg_menu_item_etch.png);
}

#menu.ewt ul li{
    background-image: url(../images/bg_menu_item_ewt.png);
}

#menu ul li a{
  line-height: 29px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

#menu ul li a:hoeer{
  line-height: 29px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

#menu ul li.active{
  background-image: url(../images/bg_menu_item_home.png);
}

#menu ul.sub_menu{
  
  background-color: white;
  border-left: 1px solid #77674C;
  border-right: 1px solid #77674C;
  position: relative;
  margin: 10px 0px;
}

#menu ul.sub_menu .lt{
    width: 10px;
  height: 20px;
  display: block;
  position: absolute;
  left: -1px;
  top:-20px;
  background-position: left top;
  background-image: url(../images/bg_lt.png);
}

#menu ul.sub_menu .rt{
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  right: -1px;
  top:-10px;
  background-position: right top;
  background-image: url(../images/bg_rt.png);
}

#menu ul.sub_menu .ct{
  height: 10px;
  display: block;
  background-color: white;
  border-top: 1px solid #77674C;
  position: relative;
  margin: 0px 8px -10px 8px;
  top:-10px;
}

#menu ul.sub_menu .lb{
    width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  left: -1px;
  bottom:-10px;
  background-position: left bottom;
  background-image: url(../images/bg_lb.png);
  background-repeat: no-repeat;
}

#menu ul.sub_menu .cb{
  height: 10px;
  display: block;
  position: relative;
  bottom: -10px;
  background-color: white;
  border-bottom: 1px solid #77674C;
  margin: 0px 6px 0px 6px;
  padding: 0px;
}

#menu ul.sub_menu .rb{
  width: 10px;
  height: 10px;
  display: block;
   position: absolute;
  right: -1px;
  bottom:-10px;
  background-position: right bottom;
  background-image: url(../images/bg_rb.png);
  background-repeat: no-repeat;
}


#menu ul.sub_menu li{
  float: none;
  background: none;
  width: auto;
  height: auto;
  text-align: left;
  border-bottom: 1px dotted #77674C;
  color: #D0CBBC;
}

#menu ul.sub_menu li span{
  padding: 5px 10px;
  display: block;
}

#menu ul.sub_menu li.last{
  border-bottom: none;
  margin-bottom: -10px;
}

#menu ul.sub_menu li:last{
  border-bottom: none;
}

#menu ul.sub_menu li a{
  color: #77674C;
  line-height: 15px;
}

#menu ul.sub_menu li a:hover{
  color: #77674C;
}

#menu ul.sub_menu li a.small{
  color: #77674C;
  font-size: 12px;
  font-weight: normal;
}

#menu ul.sub_menu li a:hover{
  color: #002551;
}

#menu ul ul,
#menu ul li:hover ul ul,
#menu ul ul li:hover ul ul
{display: none;}

#menu ul li:hover ul,
#menu ul ul li:hover ul,
#menu ul ul ul li:hover ul
{display: block;}

#menu ul ul,
#menu ul li.over ul ul,
#menu ul ul li.over ul ul
{display: none;}

#menu ul li.over ul,
#menu ul ul li.over ul,
#menu ul ul ul li.over ul
{display: block;}

#top{
  position: relative;
}

#top_separator{
  background-color: white;
  border: 1px solid #77674C;
  height: 5px;
  margin: 13px 0px;
}

#left{
  margin: 16px 0px;
  width: 138px;
  float:left;
  clear:both;
}

#right{
  width: 175px;
  margin: 16px 0px;
  padding: 0px 16px;
  float:right;
}

#left_menu{
  background-image: url(../images/bg_left_menu.jpg);
  background-repeat: no-repeat;
  background-position: left top;
  height: 104px;
  width: 120px;
  display: block;
  padding: 9px;
  margin: 0px 0px 10px 0px;
  list-style: none;
}

#left_menu li{
  background-image: url(../images/bg_left_menu_item.png);
  background-repeat: no-repeat;
  background-position: left top;  
  width:120px;
  height: 30px;
  margin: 0px 0px 8px 0px;
  text-align: center;
}

#left_menu li a{
  line-height: 29px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

#content{
  border-right: 1px solid #77674C;
  margin: 16px 213px 16px 137px;
  padding: 0px 20px;
  color: #404041;
}

#content.autoguard h1,#content.wheelz h1,#content.wheelz2 h1{
  color: #002551;
}

#content.gap h1{
  color: #007161;
}

#content.ewt h1{
  color: #005DAB;
}

#content.etch h1{
  color: #701471;
}




#content.right{
  border: none;
  margin: 16px 16px 16px 137px;
  padding: 0px 20px;
  
}

#content a{
  color: #002551;
  font-size: 11px;
}

#content .more_link {color:#002551; cursor:pointer; display:none; font-weight:normal;}
#content .more_link:hover {text-decoration:underline;}

#content h1{
  font-family: Arial,Helvetica,sans-serif;
  font-size: 22px; 
  font-style: italic;
  font-weight: normal;
  
  margin:0px;
  color: #EE2E24
}

#content h1.blue{
  color: #002551;
}

#content h2{
  font-family: Arial,Helvetica,sans-serif;
  font-size: 16px; 
  font-weight: bold;
  color: #EE2E24
}

#content h3{
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px; 
  font-weight: bold;
  color: #002551
}
#footer{
  color: #77674C;
  line-height: 30px;
}

#footer #footer_menu{
  clear:both;
  background-image: url(../images/bg_footer.jpg);
  background-repeat: no-repeat;
  background-position: left top;
  height: 35px;
  line-height: 35px;
  color: #77674C;
  padding-left: 15px;
}

#footer a{
  color: #77674C;
  text-decoration: none;
}
