html{
    background-color:#f0f0f0;
    margin:0px;
    padding:0px;
}
html body{
    margin:0px;
    padding:0px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    color:#333333;
    text-align:center;
}
a{
    outline:none;
    text-decoration:none;
}

a:hover{
    color: black;
    text-decoration:underline;
}
html h1{
    font-family: Arial,Helvetica,sans-serif;
    font-size:200%;
}
html h2{
    font-family: Arial,Helvetica,sans-serif;
    font-size:140%;
    font-weight:bold;
}
html h3{
    font-family: Arial,Helvetica,sans-serif;
    font-size:120%;
    font-weight:bold;
}
/**центрирующая вкладка********************************************************/
#centerblock{
    position: relative;
    margin:5px auto;
    width:990px;
    padding:0px 0px 0px 0px;
}
/**Тени************************************************************************/
#cbt{
    background:url("../si/pshtb.png") top repeat-x;
    margin: 0px;
    padding: 5px 0px 0px;
}
#cbb{
    background:url("../si/pshtb.png") bottom repeat-x;
    margin: 0px;
    padding:0px 0px 5px;
}
#cbr{
    background:url("../si/pshlr.png") right repeat-y;
    margin:0px -5px 0px 0px;
    padding:0px 5px 0px 0px;
}
#cbl{
    background: url("../si/pshlr.png") left repeat-y;
    margin:0px 0px 0px -5px;
    padding:0px 0px 0px 5px;
}
/**сама страница****************************************************************/
#wblock{
    position:relative;
    background-color: white;
    padding: 10px;
    text-align:justify;
}
/**общие классы****************************************************************/
.fc{clear: both;}
.l {float:left;}
.r {float:right;}

/******************************************************************************/
#footer{
    position:relative;
    float:none;
    left:0px;
    margin:10px 0px 5px;
}
#footer p {
    border-top:2px solid silver;
    margin:0px;
    padding:10px;
    color:gray;
    padding-left:10px;
    text-align:center;
}
#footer a{
    color: gray;
    background:none;
}
#botnav a{
    margin-left:2px;
    padding-left:10px;
    text-decoration:none;
    background:url("../si/graybox.png") 0px 5px no-repeat;
}
#footer .l{
    float:left;
}
#footer .r{
    float:right;
}
/**авторизация*****************************************************************/
#auth{
    padding:0px;
    text-align:right;
    color: #666666;
}
#auth form{
    margin:0px;
    padding:0px;
}
#auth a{
    color: #666666;
    text-decoration:none;
}
#auth a:hover{
    color: black;
    text-decoration:underline;
}
#auth p{
    margin:2px 0px;
    padding:0px;
    border:1px dotted silver;
    text-align:center;
}
#auth p.but{
    border:none;
    text-align:inherit;
}
#auth input{
    text-align:center;
    margin: 0px;
    border: none;
    width:115px;
    color: #666666;
}

/**Новостной блок**************************************************************/
#news2000comua{
    text-align: left;
}
#news2000comua a{
    color:#333333;
}
#news2000comua a:visited{
    color:gray;
}
#news2000comua h3{
    text-align: center;
}
#news2000comua_anoncer{
    text-align: left;
}
#news2000comua_anoncer a{
    color:#333333;
}
#news2000comua_anoncer a:visited{
    color:gray;
}
#news2000comua_anoncer h3{
    text-align: center;
}
#newstitle{
    text-transform:uppercase;
    font-size:110%;
    font-weight: bold;
    padding-top: 8px;
}
#newstitle a{
    color:black;
}
/**menu***********************************************************************************/
#menu{
    position: relative;
    margin: 2px auto;
    padding:0px;
}
#menu ul {
    margin:0;
    padding:0;
    list-style:none;
    white-space:nowrap;
    padding:1px 1px 0 1px;
}
#menu li {
    margin:0;
    padding:0;
    list-style:none;
    background-color: #e6d29e;
}
#menu li a{
    color: black;
    padding: 5px;
    background-color: #e6d29e;
    border:1px solid white;
}
#menu li a:hover{
    color:blue;
}
#menu li {display:inline;}
#menu ul ul {
    position:absolute;
    width:165px;
    left:-9999px;
}

#menu a {
    display:block;
}
#menu ul li:hover ul {left:100%; margin-top:-23px; margin-left:-1px;}

#menu a:hover ul,
#menu a:hover a:hover ul,
#menu a:hover a:hover a:hover ul {left:100%;}
#menu a:hover ul ul,
#menu a:hover a:hover ul ul {left:-9999px;}

#errblock{
    position:relative;
    padding:20px 0px 10px;
    overflow:hidden;
    margin-right:205px;
}
#errblock p{
    font-size:120%;
}

@media print{
    #rblock,#head{
        display:none;
    }
}

.footnote{
    border-top:1px solid gray;
}
#cntnr{
    margin-top:5px;
}
#rblock{
    margin-left:730px;
}
.w20{width:20%;}
.w30{width:30%;}
.w40{width:40%;}
.w50{width:50%;}
.fl{float:left;}
.fr{float:right;}
.cl{clear:left;}
.cr{clear:right;}
#wblock{
    padding: 5px 0px 10px 10px;
    text-align: left;
}
#head{
    margin:0px;
    padding: 2px 0px;
    background:url("../si/whorline.png") bottom repeat-x;
}
#nav{
    list-style: none;
    border: 1px solid gray;
    padding:5px 10px;
    overflow: hidden;
}
#nav li{
    display: inline;
    padding-left: 5px;
    margin-left: 5px;
}
#a2{
    float:left;
    height: 87px;
    width:135px;
    padding-left: 30px;
    background:url("../si/2000v.png") top left no-repeat;
    text-align: center;
    overflow: hidden;
}
#logo{
    margin:2px 8px -3px;
    width:404px;
    height:87px;
    border:1px dotted gray;
}
#auth{
    float:right;
    margin-right: 10px;
    margin-bottom: 50px;
}
#mblock{
    border-left: 160px solid #e5e5e5;
    border-right: 140px solid #ffd0b7;
    padding: 0px 5px;
    margin-right: 255px;

}
#mblock h2,#mblock h3{
    margin:3px 0px;
}
#mblock p{
    margin:0px 0px;
}
#mblock h1 a,#mblock h2 a,#mblock h3 a{
    color:inherit;
}
#mblock h1 a:visited, #mblock h2 a:visited, #mblock h3 a:visited{
    color:gray;
}
#topdata{
    padding-bottom: 10px;
}
#topdata img{
    display: block;
    margin: 5px auto;
}
#seconddata img{
    display: block;
    float:right;
    width:110px;
    height:110px;
    margin:5px 0px 5px 5px;
    padding:0px 0px 5px 5px;
    overflow: hidden;
    font-size: 100%;
    border-left:1px solid silver;
    border-bottom:1px solid silver;
}
#seconddata{
    min-height: 140px;
    border-top: 1px solid silver;
}
#thirddata{
    border-top: 1px solid silver;
}
.left{
    float:left;
    margin: 0px 0px 0px -165px;
    padding:0px 6px 0px 6px;
    width:148px;
}
.right{
    float:right;
    margin: 0px -144px 0px 0px;
    padding: 0px 0px 0px 5px;
    width:135px;
    overflow: hidden;
}
.right h1{
    margin:3px 0px;
    font-size:100%;
    text-transform:uppercase;
}
.left img{
    display:block;
    margin:5px auto;
    width:140px;
    height:140px;
    border:1px solid gray;
    outline:1px solid silver;
    overflow: hidden;
}
.right img{
    display:block;
    margin:5px 5px 5px auto;
    width:80px;
    height:80px;
    border:1px solid gray;
    outline:1px solid silver;
    overflow: hidden;
}
.wcat{
    margin:20px 255px 10px 0px;
    padding:0px 5px;
    text-align:left;
    border-left:160px solid #e5e5e5;
    border-right:140px solid #ffd0b7;
    border-top:3px solid silver;
}
.lnk{
    margin:-1em 0px 0px -165px;
    width: 160px;
    font-size:100%;
    text-align:center;
    text-transform:uppercase;
    color:white;
    padding:2px 0px;
    background-color:silver;
}
.wcat h1 a, .wcat h2 a, .wcat h3 a{
    color:inherit;
}
.wcat h2 a:visited, .wcat h3 a:visited{
    color:gray;
}
.wcat h1 a:visited{
    color:white;
}

.tl{
    float:left;
    width:150px;
    overflow:hidden;
    margin:0px 0px 0px -165px;
    padding:0px 5px;
    background-color:#e5e5e5;
    border-top: 10px solid white;
}
.tl img{
    display:block;
    width:140px;
    height:140px;
    margin:0px auto 5px;
    border:1px solid gray;
    outline:1px solid silver;
    overflow: hidden;
}
.tr{
    float:right;
    overflow:hidden;
    padding:0px 5px 5px 5px;
    width:130px;
    margin:-6px -145px 0px 0px;
    background-color:#ffd0b7;
    border-top: 10px solid white;
}
.tr h1{
    margin:3px 0px;
    font-size:100%;
    text-transform:uppercase;
}
.tr h1 a:visited{
    color:inherit;
}
.tr h2{
    margin:3px 0px;
}
.tr p{
    margin:3px 0px;
}
.tr img{
    display:block;
    width:80px;
    height:80px;
    margin:0px 5px 5px auto;
    border:1px solid gray;
    outline:1px solid silver;
    overflow: hidden;
}
.ltr{
    float:right;
    padding:5px 12px 5px;
    margin:0px 0px 0px 5px;
    width:116px;
    border:1px solid silver;
    background-color: white;
    outline: 5px solid white;
}
.ltr img{
    display:block;
    margin:18px auto 10px;
    width:110px;
    height:110px;
    border:1px solid gray;
    outline:1px solid silver;
    overflow: hidden;
}
.ltr h1{
    position:relative;
    width:142px;
    margin:-1em 0px 0px -13px;
    font-size:100%;
    text-transform:uppercase;
    text-align:center;
    color:white;
    background-color:silver;
}
.ltr h2,.ltr h3{
    margin:3px 0px;
    padding:0px;
    font-size:100%;
}
.tl h2{
    font-size:130%;
    margin-bottom: 3px;
}
.tl p{
    margin-top: 3px;
}
.tdl{
    min-height: 100px;
}
.tdl h2,.tdl h3,.mdl h2,.mdl h3{
    margin-bottom: 3px;
}
.tdl p,.mdl p{
    margin-top: 0px;
}
.btm{
    border-top:1px solid #333333;
}
.mdl{
    border-top:1px solid #333333;
    min-height: 145px;
}
.md img, .mdl img,.tdl img {
    float:left;
    width:80px;
    height:80px;
    margin: 0px 10px 10px 0px;
    padding: 0px 5px 5px 0px;
    border-top: none;
    border-left: none;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
    background-color: white;
    overflow: hidden;
}
#chto-gde{
    border-top-color:#ec008c;
}
#chto-gde h1.lnk{
    background-color:#ec008c;
}
#chto-gde div.ltr{
    border-color:#ec008c;
}
#chto-gde div.ltr h1{
    background-color:#ec008c;
}
#gorod-sobytija{
    border-top-color:#b03200;
}
#gorod-sobytija div.ltr{
    border-color:#b03200;
}
#gorod-sobytija div.ltr h1{
    background-color:#b03200;
}
#gorod-sobytija h1.lnk{
    background-color:#b03200;
}
#dlja-vas{
    border-top-color:#0072bc;
}
#dlja-vas h1.lnk{
    background-color:#0072bc;
}
#dlja-vas div.ltr{
    border-color:#0072bc;
}
#dlja-vas div.ltr h1{
    background-color:#0072bc;
}
#rblock{
    position:absolute;
    top:100px;
    right:0px;
    margin:0px 0px 0px 0px;
    padding:0px 5px 0px 5px;
    width:245px;
}
#rblock a{
    color:#333333;
}
#rblock a:visited{
    color:gray;
}
