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

html {background: #710A0A url("../img/html-bg.jpg") repeat-x 0 0; height: 100%;}
body {
    font: 11px/14px Tahoma, Verdana, sans-serif;
    color: #4D4D4D;
    height: 100%;
    min-height: 100%;
}

#wrapper {
position:relative;
    width: 833px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 40px;
}
#header {
    height: 116px;
    position: relative;
    z-index: 999;
}
#header h1 {
    position: absolute;
    top: 131px;
    left: 25px;
}
#menu {
    position: absolute;
    right: 0;
    width: 514px;
    height: 70px;
    top: 70px;
}
#menu ul {
    padding: 1px;
}
#menu ul li {
    float: left;
    padding: 0 12px 0 60px;
    line-height: 63px;
    background-repeat: no-repeat;
    background-position: 0 50%;
}
#menu a {
    color: #FFF;
    font-weight: bold;
    position: relative;
}
#m1 {background-image: url("../img/m1.png");}
#m2 {background-image: url("../img/m2.png");}
#m3 {background-image: url("../img/m3.png");}
#m4 {background-image: url("../img/m4.png");}
* html #menu li {
    filter: expression(
        runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=img/'+ (currentStyle.backgroundImage).match(/[a-z0-9]+\.png/gi) +', sizingMethod=crop)',
        runtimeStyle.background = 'none !important'
    );
}


#login {
    height: 70px;
    overflow: hidden;
    background: url("../img/login-bg.gif") no-repeat 100% 0;
    position: relative;
    z-index: 100;
}
#login form {
    padding: 37px 0 0 362px;
    font-size: 10px;
}
#login form * {vertical-align: middle;}
#login .inp {
    width: 82px;
    border: none;
    background: url("../img/login-input-bg.gif");
    margin-right: 5px;
    height: 19px;
    padding: 0 7px;
    line-height: 19px;
    color: #404E55;
}
#login .s {margin: 0 10px;}
#login a {
    margin-left: 10px;
    color: #4D4D4D;
}


#main{background: url(../images/container-bg.gif) repeat-y center; position: relative;}
#main-in{background: url(../images/container-top-bg.jpg) no-repeat 0 0;}
#main-out{min-height: 240px; padding: 13px; margin: 0 2px; padding-top:17px; padding-left:38px; padding-right:38px; padding-bottom:0px;}

#shadow{
background: url(../images/shadow-bg.gif) no-repeat center top;
height: 27px;}

#footer {
    height: 38px;
    overflow: hidden;
    background: url("../img/footer-bg.gif");
    margin: 1px 0 0;
    line-height: 38px;
}
#footer .links {
    float: right;
    font-size: 10px;
    color: #AF7D75;
    padding-right: 35px;
}
#footer .links a {color: #FFF;}
#footer p.cop {
    float: left;
    padding-left: 35px;
    color: #FFF;
}