html, body {padding: 0px; margin: 0px;}
html, body, table, input, select, button, textarea {font: 10pt arial,sans-serif;color: #000000;}

form {margin: 0px;}
button {color: #ffffff; font-weight: bold; background: url(/images/forms/submit-button.png) no-repeat top left; border: none; padding: 3px;}
textarea {padding: 2px;}
legend {margin-bottom: 6px; font: 10pt tahoma,sans-serif; color: #085578; font-weight: bold; padding: 10px; padding-top: 4px; padding-bottom: 4px;}
fieldset {color: #666666;border: #cccccc 1px solid; padding: 10px; margin: 0px; margin-top: 5px; margin-bottom: 5px;}
hr {color: #CCCCCC;}

image {border: 0px; border: none;}
a image {border: 0px; border: none;}
p {margin-top: 10px; margin-bottom: 10px;}
h1, h2, h3, h4, h5 {margin-top: 10px; margin-bottom: 10px;}
hr {color: #cccccc; border: none; background-color: #cccccc; height: 1px; margin: 0px; padding: 0px;}

/* Заголовки */
h1 {font: 16pt tahoma,sans-serif; color: #195e80;}
h2 {font: 13pt tahoma,sans-serif; color: #195e80;}
h3 {font: 10pt tahoma,sans-serif; color: #085578; font-weight: bold;}
#name_big {font: 14pt tahoma,sans-serif;}
#name {font: 13pt tahoma,sans-serif; color: #085578;}
.nomargins {margin: 0px;}
.nomargin-top {margin-top: 0px; margin-bottom: 10px;}

/* Ссылки */
a {color: #000000; text-decoration: underline;}
a:hover {color: #000000; text-decoration: none;}
a.none {text-decoration: none;}
a.none:hover {text-decoration: none;}
a.menu {color: #ffffff; text-decoration: none; font: 9pt tahoma,sans-serif; font-weight: bold;}
a.menu:hover {color: #ffffff; text-decoration: none;}

/* Навигация */
.arr {font-weight: bold; border: #cccccc 1px solid; padding: 2px; background:#eeeeee;font: 8pt tahoma,sans-serif;}
a.arr {text-decoration: none;}
a.arr:hover {text-decoration: none;}
.npage {border: #FFFFFF 1px solid; padding: 2px;font: 8pt tahoma,sans-serif;}
a.npage {text-decoration: none;}
a.npage:hover {text-decoration: none;}
.npage_sel {font-weight: bold; border: #CCCCCC 1px solid; padding: 2px;font: 8pt tahoma,sans-serif;}
.pages {padding-top: 16px; padding-bottom: 16px;}

/* Горизонтальное меню */
a.hmenu {color: #ffffff; text-decoration: none; font-weight: bold;}
a.hmenu:hover {color: #ffffff; text-decoration: none;}
.hmenu {color: #ffffff; text-decoration: none;}
.hmenu_box {padding: 10px;}
.h_menu {padding: 6px; padding-top: 3px; padding-bottom: 3px; background: url(/images/data-bg.png) repeat-x top left;}
.h_menu_sel {padding: 6px; padding-top: 3px; padding-bottom: 3px; border-bottom: #cccccc 1px solid; background: url(/images/data-bg.png) repeat-x bottom left;}
.h_menu_sep {padding: 1px; border-bottom: #CCCCCC 1px solid;}
.tabs {padding-top: 0px; padding-bottom: 8px;}

/* Разметка */
#document {background: #ffffff; width: 100%;}
#main_document {padding-left: 40px; padding-right: 40px;}
#main_document_r {padding-left: 40px; padding-right: 40px; background: url(/images/bg-side_r.jpg) no-repeat top left;}

#header {background: #37728e url(/images/bg_main.jpg) center top no-repeat; height: 216px; min-width:1032px;
/*width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 1024? "1024px": "auto"); */

}
 /* #hack {width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 1024? "770px": "auto");

*/
#header_night {background: #37728e url(/images/bg_main_night.jpg) center top no-repeat; height: 216px;}
#header_evening {background: #37728e url(/images/bg_main_evening.jpg) center top no-repeat; height: 216px;}
#logo {padding-top: 20px; padding-left: 40px;}
#logo_r {padding-top: 10px; padding-right: 20px; padding-bottom: 10px;}
#menu_line {width: 100%; background: #37728e url(/images/nav-wrap-bg.jpg) top left repeat-x; border-top: #c4d8e3 1px solid;}
#menu_td_text {padding-right: 10px; background: url(/images/nav-sep.png) no-repeat center right; white-space: nowrap;}
#menu_td_image {padding-left: 10px;}
#left_block {padding: 20px; padding-left: 40px; width: 230px;}
#search_block {padding: 20px; padding-right: 40px; padding-left: 0px; padding-bottom: 20px; width: 100%;}
#main_block {padding: 20px; padding-left: 0px; padding-top: 0px; width: 70%;}
#main_page_block {padding: 20px; padding-left: 0px; padding-right: 40px; background: url(/images/bg-side2.jpg) no-repeat center right;}
#main_page_one_block {padding-top: 20px; padding-bottom: 20px; padding-right: 40px; padding-left: 40px;}
#news_block {padding: 20px; padding-right: 40px; padding-top: 0px; background: url(/images/bg-side2.jpg) no-repeat center right; width: 30%; border-left: #ccc 1px dashed;}
#content {padding: 20px; background: url(/images/bg-side2.jpg) no-repeat center right;}
.offers_td {border-bottom: #9bcde4 1px dotted; background: url(/admin/images/bg_top.gif) #fff repeat-x 100% bottom;}
.offers_caption_td {color: #ffffff;}
.bordered {border: #cccccc 2px solid;}
.switch {width: 120px; font: 7pt tahoma,sans-serif; float: left; padding: 1px 6px 3px 6px; background: url(/images/nav-wrap-lbg.jpg) no-repeat top left; text-align: center;}
.switch_empty {width: 120px; float: left; padding: 0px 6px 0px 6px; text-align: center; font: 1pt sans-serif;}
.switch a{color: #ccc; text-decoration: none; font-weight: bold;}
.switch a.selected{color: #fff; text-decoration: none;}
.switch a:hover{color: #fff; text-decoration: none;}
.switch_sep {float: left; width: 5px; font: 1pt sans-serif;}
.special {color: #fff; font-weight: bold; margin-top: 4px; margin-bottom: 4px; font: 8pt tahoma,sans-serif;}
.special span {background: #c00; letter-spacing: 1px; padding: 2px;}
.m_sell {color: #fff; font-weight: bold; margin-top: 4px; margin-bottom: 4px; font: 8pt tahoma,sans-serif;}
.m_sell span {background: #360; letter-spacing: 1px; padding: 2px;}
.m_rent {color: #fff; font-weight: bold; margin-top: 4px; margin-bottom: 4px; font: 8pt tahoma,sans-serif;}
.m_rent span {background: #66f; letter-spacing: 1px; padding: 2px;}

/*PNG*/
.special_top {background: url(/images/special_top.png) no-repeat top left;}
.special_bottom {background: url(/images/special_bottom.png) no-repeat top left;}
.special_bg {background: url(/images/special_bg.png) no-repeat top left;}

/* Шрифты */
.blue {color: #004f73;}
.silver {color: #cccccc;}
.white {color: #ffffff;}
.help {font: 8pt tahoma,sans-serif; color: #555555;}
.transparent {font: 7pt tahoma,sans-serif;color: #CCCCCC;}
.sup {color: #aaaaaa;}
.small {font: 8pt tahoma,sans-serif;color: #555555;}
.small_white {font: 8pt tahoma,sans-serif;color: #ffffff;}
.red {color: #ff0000;}
.green {color: #009900;}
