html,body{margin:0;padding:0;width:100%;min-height:100%;font:81.25% Arial,Verdana,Tahoma;color:#333;line-height:1;font-size:14px;background:#fff;}
a{color:#ff0000;text-decoration:none;}
a:active{color:#000;}
a:hover{text-decoration:underline;}
h1{margin:0 0 5px;font-size:28px;font-weight:normal;line-height:normal;}
h2{margin:15px 0 10px;font-size:24px;color:#3C3941;font-weight:normal;line-height:normal;}
h3{margin:20px 0 5px;font-size:18px;color:#626262;font-weight:normal;line-height:normal;}
p{margin:0 0 10px;font-size:14px;line-height:1.5em;}
iframe{border:none;}
table{border-collapse:collapse;}
td{padding:4px 4px;border:1px solid #112D55;font-size:12px;}
.wrapper{width:1080px;height:100%;clear:both;margin:0 auto;background:url("//berrka.ru/images/fon.png") repeat-y scroll center top #FFFFFF;}
.top{width:960px;margin:0 auto;padding:30px 0;clear:both;text-align:center;}
.menu{width:960px;height:79px;margin:0 auto;line-height:79px;text-align:center;background:url("//berrka.ru/images/fon-menu.png") no-repeat scroll center top #FFFFFF;}
.menu a{padding:0 20px;color:#000;font-size:16px;}
.menu a:hover{color:#ff0000;text-decoration:none;}
.page {width:960px;height:auto;margin:0 auto;clear:both;}
.content {float:right;width:75%;margin:20px 0;}
.breadcrumb{font-size:12px;padding:0 0 2em 0;line-height:18px;}
.content img{max-width:100%;height:auto;}
.alignleft{float:left;margin:0 20px 10px 0;}
.alignright{float:right;margin:0 0 10px 20px;}
hr{width:100%;clear:both;}
.sidebar {float:left;width:22%;margin:20px 3% 20px 0;}
.submenu{display:block;line-height:20px;margin:10px 0 10px;padding:0 15px;font-size:16px;color:#ff0000;}
.submenu:hover{text-decoration:none;color:#000;}
.submenu:active{color:#FFB200;}
.footer{width:960px;height:67px;margin:0 auto;clear:both;line-height:67px;background:url("//berrka.ru/images/fon-footer.png") no-repeat scroll center top #EAEAEA;}
.clear{width:100%;clear:both;}
@media screen and (max-width:1100px) {
.wrapper{width:100%;background:#FFFFFF;}
.top{width:94%;background:#FFFFFF;}
.menu{width:94%;height:auto;line-height:40px;background:#dfdfdf;}
.page {width:94%;background:#FFFFFF;}
.footer{width:94%;height:auto;line-height:40px;background:#FFFFFF;border-top:1px solid #dfdfdf;}
}
@media screen and (max-width:800px) {
.top{padding:20px 0;}
.top img{max-width:100%;height:auto;}
.content {float:left;width:100%;margin:20px 0;}
.sidebar {float:left;width:100%;margin:0 0 20px;}
}
@media screen and (max-width:460px) {
.menu{line-height:30px;}
.menu a{padding:0 15px;font-size:14px;white-space:pre;}
.submenu{line-height:30px;font-size:14px;}
.footer{padding-top:20px;line-height:30px;}
.footer a{white-space:pre;}
}
