*{margin: 0; padding: 0;}
h1,h2,h3,h4,h5,h6,pre,code,input,select,textarea{font-size: 100%;}
ul,ol{list-style: none;}
label, input.button{cursor: pointer; cursor: hand;}
img,fieldset{border: none;}
table{border-collapse: collapse; border: none; font-size: 11px;}
hr,.hide{display: none;}
.clearfix:after{content: "."; display: block; height: 0; clear: both; visibility: hidden;}

body {
  background: #8A0506;
  color: #000;
  font: 11px/14px Tahoma, Verdana, sans-serif;
  padding: 0 0 70px;
}

#wrapper {
  width: 809px;
  margin: 0 auto;
  background: #FFF;
  border: 20px solid #FFF;
  border-width: 8px 34px 0;
  overflow: hidden;
}
#header {
  height: 78px;
  background: #FDFDFD;
  border: 1px solid #E0E0E0;
  margin-bottom: 1px;
}
#header h1 {
  float: left;
  padding: 30px 0 0 22px;
}
#login {
  float: right;
  width: 342px;
  display: inline;
  margin: 0px 3px 0 0;
  background: url("../img/login-bg.gif") no-repeat 0 70%;
}
#login form * {vertical-align: middle;}
#login form {
  padding: 10px 0 0 50px;
  color: #496982;
}
#login form a {color: #858585;}
#login form td, #login form th {
  padding: 0 5px 2px 0;
  text-align: left;
  font-weight: normal;
  font-size: 10px;
  color: #858585;
}
#login form th {
  color: #408FD1;
  font-size: 11px !important;
}
#login form input {
  width: 110px;
  font-family: Tahoma, Verdana, sans-serif;
  color: #000;
  font-size: 11px;
  background: #FFF;
  padding: 1px 0;
}
#remember, #login form input.button2 {
  width: auto !important;
  height: auto !important;
  border: none !important;
  padding: 0 !important;
  color: #FFF !important;
  background: none !important;
}

#login form input.button2 {
  width: 29px !important;
  height: 19px !important;
  
  }

#menu {
  height: 39px;
  overflow: hidden;
  background: #408FD1;
}
#menu ul {
  float: left;
  font-size: 12px;
  line-height: 39px;
}
#menu ul li {
  float: left;
  display: inline;
  padding: 0 14px 0 16px;
  text-transform: uppercase;
  background: url(../img/m-sep.gif) no-repeat;
}
#menu ul li a {
  color: #FFF;
  text-decoration: none;
}
#menu .f {
background: none;
}
#menu p {
  float: right;
  padding: 8px 17px 0;
}
#menu p * {vertical-align: top;}
#menu p a {
  text-decoration: none;
  color: #A09B9C;
  margin-left: 7px;
}
#menu p img {margin-left: 15px;}

#main{position: relative;
}
#main-out{min-height: 240px; margin: 0px; padding:10px 20px 20px 27px;}


#footer {
    width: 877px;
    margin: 0 auto;
  line-height: 35px;
  overflow: hidden;
  zoom: 1;
  background: url("../img/footer-bg.gif");
}
#footer p.links {
  float: right;
  padding-right: 34px;
  color: #FFF;
}
#footer p.links a {
  color: #FFF;
  text-decoration: none;
}
#footer p.cop {
  float: left;
  padding-left: 34px;
  color: #FFF;
}
