
html,body { margin: 0; padding: 0; width: 100%; height: 100%; }
body { color: #000; background: #531616; font: 62.5% "Trebuchet MS", Arial, Helvetica, sans-serif; text-align: center; 
    min-width: 1000px; }    

a img { border: none }     
input,select,textarea { color: #666; font: 12px "Trebuchet MS", Arial, Helvetica, sans-serif; }
a { color: #003366; }    
a:hover { color: #B13B3A !important; }
form { margin: 0; }
.clear { clear: both; font-size: 0px; }
p { margin: 0 0 15px; }
div.wrapper { width: 100%; float: left; }

#carrier { font-size: 1.2em; min-height: 100%; background: url(../img/bg_y.gif) repeat-y center 0; }
* html #carrier { height: 100%; }

#header { background: url(../img/bg_top.gif) no-repeat center 0; }
#header div.carrier { width: 1000px; margin: auto; text-align: left; position: relative; height: 241px; }

#logo { position: absolute; left: 5px; top: 82px; color: #FFF; }
#logo_text, #header h1 { color: #333; font-size: 22px; font-style: italic; position: absolute; left: 155px; top: 120px; 
    font-weight: normal; margin: 0; background: #FFF; }
#logo_text a, #header h1 a { color: #333; text-decoration: none; }

ul.menu { margin: 0; padding: 0; list-style: none; position: absolute; top: 177px; left: 150px; }
ul.menu li { float: left; font-size: 16px; color: #FFF; white-space: nowrap; background: #FFF; }
ul.menu li div { float: left; }
ul.menu li div div { padding: 0 12px; height: 32px; line-height: 30px; }
ul.menu a { color: #333; }
ul.menu li.on { background: #9D9D9D url(../img/bg_menu_x.gif) repeat-x 0 0; }
ul.menu li.on div { background: url(../img/bg_menu_left.gif) no-repeat 0 0; }
ul.menu li.on div div { background: url(../img/bg_menu_right.gif) no-repeat right 0; }
ul.menu li.on a { color: #FFF; text-decoration: none; }
ul.menu li.on a:hover { color: #FFF !important; }
ul.menu_admin { top: 82px; left: auto; right: 0; }
ul.menu_admin li { float: none; }

div.search { position: absolute; right: 0; top: 181px; width: 188px; }
div.search div.bg { position: absolute; left: 0; top: 0; width: 188px; height: 25px; background: url(../img/bg_search.png); }
div.search div.input { position: absolute; left: 10px; top: 3px; }
div.search div.input input { background: #FFF; border: 1px solid #FFF; padding: 0; width: 150px; float: left; color: #666;
    height: 18px; }
div.search div.button { position: absolute; right: 4px; top: 3px; }
div.search div.button input { width: 19px; height: 19px; float: left; }

div.second_search { position: relative; width: 188px; margin-bottom: 60px;}
div.second_search div.bg { position: absolute; left: 0; top: 0; width: 188px; height: 25px; background: url(../img/bg_search.png); }
div.second_search div.input { position: absolute; left: 10px; top: 3px; }
div.second_search div.input input { background: #FFF; border: 1px solid #FFF; padding: 0; width: 150px; float: left; color: #666;
    height: 18px; }
div.second_search div.button { position: absolute; right: 4px; top: 3px; }
div.second_search div.button input { width: 19px; height: 19px; float: left; }


#carrier_white { width: 990px; margin: auto; text-align: left; background: #FFF; padding: 0 5px 156px; }

#slider { width: 990px; height: 237px; position: relative; margin-bottom: 10px; }
#slider div.corner { width: 20px; height: 20px; position: absolute; top: 0; font-size: 0; }
#slider div.corner1 { background: url(../img/corner_header1.png); left: 0; }
#slider div.corner2 { background: url(../img/corner_header2.png); right: 0; }
#slider div.corner3 { background: url(../img/corner_header3.png); left: 0; top: 200px; width: 970px; height: 37px; }
#slider div.corner4 { background: url(../img/corner_header4.png); right: 0; top: 166px; height: 71px; }
#slider div.corner5 { position: absolute; right: 20px; top: 166px; font-size: 14px; color: #FFF; }
#slider div.corner5 div { height: 54px; background: url(../img/corner_header5.png) no-repeat 0 0; padding: 0 21px 0 42px;
    line-height: 54px; float: left; }

#slider div.img, #slider div.img div { position: absolute; left: 0; top: 0; width: 990px; height: 237px;
    background-position: center 0; background-repeat: no-repeat; }
#slider div.img div { display: none; }
#slider div.cache, #slider div.cache div { position: absolute; left: 0; top: 0; 
    background-position: -10000px -100000px; background-repeat: no-repeat; }
    
#slider div.text, #slider div.text div { position: absolute; left: 0; top: 0; text-indent: -10000px; }

table#main { border-collapse: collapse; width: 990px; }
td.main_col, td.main_center, td.main_empty { padding: 0; vertical-align: top; }
td.main_col { width: 226px; }
td.main_center { width: 498px; }
td.main_empty, td.main_empty div { width: 19px; font-size: 0; }

table#main div.h1_title { color: #333; font-weight: normal; font-size: 22px; margin: 0 0 22px; }
.h1_title a { color: #333; }

td.main_col div.bans p { margin-bottom: 30px; }

table.news_list { border-collapse: collapse; margin-bottom: 25px; }
table.news_list td { padding: 0 0 15px; vertical-align: top; }
table.news_list td.left { width: 145px; }
table.news_list div.name { margin-bottom: 10px; }
table.news_list p { margin: 0; }
table.news_list tr.main td { padding-bottom: 25px; }
.date { color: #999; }

div.calendar { width: 225px; background: url(../img/bg_calendar.gif) no-repeat 0 0; position: relative; 
    overflow: hidden; margin-bottom: 2px; }
div.calendar div.name { color: #333; font-size: 18px; text-align: center; height: 60px; line-height: 60px; }
div.calendar img.arrow_left { position: absolute; top: 20px; left: 15px; background: #999; }
div.calendar img.arrow_right { position: absolute; top: 20px; right: 15px; background: #999; }
div.calendar table { border-collapse: collapse; width: 231px; table-layout: fixed; position: relative; left: -3px; }
div.calendar td { font-size: 14px; color: #999; text-align: center; border: 3px solid #FFF; padding: 5px 0; }
div.calendar td.on { background: #B13B3A; color: #FFF; }
div.calendar td.on a { color: #FFF; text-decoration: none; }
div.calendar td.on a:hover { color: #FFF !important; }

div.calendar_bot { width: 225px; height: 58px; background: #999 url(../img/bg_calendar_bot.gif); position: relative; z-index: 10;
    margin-bottom: 28px; }
div.calendar_bot div.bg { width: 194px; height: 24px; background: url(../img/bg_select.png); position: absolute; 
    left: 15px; top: 17px; }
div.calendar_bot div.button_select { position: absolute; left: 30px; top: 19px; }
div.calendar_bot div.button_select img { float: left; background: url(../img/button_select.gif) no-repeat right 0; }
div.calendar_bot div.select { color: #666; position: absolute; left: 35px; top: 20px; width: 140px; }
div.calendar_bot ul { margin: 0; padding: 0; list-style: none; background: #FFF; border: 1px solid #CCC; 
    color: #666; position: absolute; left: 29px; top: 40px; width: 150px; display: none; }
div.calendar_bot ul a { color: #666; text-decoration: none; display: block; width: 140px; padding: 2px 5px; }
div.calendar_bot ul a:hover { background: #F0F0F0; }
div.calendar_bot li.on a { background: #E6E6E6; color: #B13B3A; }

#media { width: 226px; height: 150px; background: url(../img/bg_media.gif); position: relative; margin-bottom: 32px; }
#media div.h1_title { position: absolute; left: 14px; top: 17px; }
#media div.bg { position: absolute; left: 14px; top: 59px; width: 164px; overflow: hidden; height: 74px; }
#media div.lenta { position: absolute; left: 0; top: 0; width: 100000000000px; }
#media div.one { float: left; width: 90px; position: relative; }
#media img.img { width: 74px; height: 74px; background-repeat: no-repeat; background-position: center center; }
#media img.ico_video { position: absolute; left: 17px; top: 17px; background: url(../img/ico_video.png); width: 40px; height: 40px; }
#media div.arrow { position: absolute; top: 59px; right: 14px; }
#media div.arrow img { float: left; background: #999 url(../img/arrow_media.gif) no-repeat 0 0; }
#media div.arrow img.left { background-position: 0 -74px; }

#weather { width: 226px; height: 150px; background: url(../img/bg_weather.gif) no-repeat 0 0; position: relative; color: #333;
    margin-bottom: 30px; }
#weather div.bg { position: absolute; left: 15px; top: 13px; width: 200px; }
table#main #weather div.h1_title { margin-bottom: 10px; }
#weather table { border-collapse: collapse; }
#weather td { font-size: 22px; padding: 0 15px 8px 0; }
#weather p { margin: 0 0 8px; }

div.subscribe { width: 226px; height: 80px; background: #999 url(../img/bg_subscribe.gif); position: relative; margin-bottom: 30px; }
div.subscribe div.bg { position: absolute; left: 15px; top: 27px; width: 194px; height: 24px; 
    background: url(../img/bg_subscribe_input.png); }
div.subscribe div.input { position: absolute; left: 25px; top: 29px; }
div.subscribe div.input input { background: #FFF; padding: 0; width: 100px; float: left; color: #666; border: 1px solid #FFF; 
    height: 18px; }
div.subscribe div.button { position: absolute; right: 19px; top: 29px; }
div.subscribe div.button input { width: 75px; height: 20px; float: left; border: none; cursor: pointer; padding-bottom: 1px;
    background: url(../img/button_subscribe.gif); font-size: 10px; text-transform: uppercase; color: #FFF; }

#footer { width: 990px; height: 110px; background: #999 url(../img/bg_footer.jpg) no-repeat 0 0; color: #FFF; position: relative; }
#footer p { margin: 0; }
#footer a, #footer a:hover { color: #FFF !important; }
#footer table.table { width: 990px; position: absolute; left: 0; top: 11px; }
#footer td.td { padding: 0 35px; }
#footer td.sep { width: 3px; font-size: 0; padding: 0; }
#footer td.sep div { width: 3px; height: 90px; background: url(../img/sep.png); }
#footer td.right { text-align: right; }


#bg_bottom { height: 78px; background: url(../img/bg_bot.gif) no-repeat center 0; margin-top: -156px; padding-top: 78px; }
#bg_bottom div.carrier { width: 990px; text-align: left; margin: auto; height: 78px; padding: 0 5px; }
#count a { margin-right: 20px; }

/*Для того, чтобы ссылки внутри заголовка не подсвечивались*/
div.h1_title a {color: black;}
div.h1_title a:hover {color: black !important;}
div.h1_title a:link {color: black !important;}


.media_left { width: 226px; background: url(../img/bg_media_y.gif); position: relative; margin-bottom: 32px; }
.media_left div.top { background: url(../img/bg_media_top.gif) no-repeat 0 0; }
.media_left div.bot { background: url(../img/bg_media_bot.gif) no-repeat 0 bottom; padding: 0 0 85px; }
.media_left div.h1_title { position: absolute; left: 14px; top: 17px; }
.media_left div.bg { position: relative; left: 14px; top: 59px; width: 196px; overflow: hidden; height: 0; }
.media_left div.lenta { position: relative; left: 0; top: 0; line-height: 1.3; }
.media_left div.arrow { text-align: center; position: relative; top: 75px; }
.media_left div.arrow img { background: #999 url(../img/arrow_media2.gif) no-repeat 0 0; }
.media_left div.arrow img.left { background-position: -74px 0; }
