html, body { width: 100%; height: 100%; }
body { background: #FFEFB1 url(../i/bg2.gif); color: #3A2814; min-width: 1000px; }

h1 { margin-bottom: 0.5em; }

.nav .cur { color: #623C0C; }
.nav .cur a:link { color: #623C0C; }
.nav .cur a:visited { color: #623C0C; }
.nav .cur a:hover { color: #F60; }
.nav .cur a:active { color: #F60; }

.line { margin: 0.45em 0 0 0; }
.line .top { border-top: 1px solid #936D34; }
.line .corner { width: 9px; height: 10px; top: -5px; position: relative; background: url(../i/arrows.gif) no-repeat; }
.line .left { float: left; }
.line .right { background-position: 100% 0; float: right; }

.pseudo-link, .pseudo-link-hover { cursor: pointer; cursor: hand; display: inline; }
.pseudo-link { color: #3B771D; border-bottom: 1px dashed #3B771D; }
.pseudo-link-hover { color: #F60; border-bottom: 1px dashed #F60; }

.out { padding-right: 18px; background: url(../i/out.gif) no-repeat 100% 0.35em; }
.popup { padding-right: 23px; background: url(../i/popup.gif) no-repeat 100% 0.3em; }

#informer-weather { margin-top: 40px; }

/* Текст на главной странице */
#preface { margin-top: 40px; }

/* Подсказка */
.hint { color: #208AA7; background: #FFFEDA; width: 100%; margin-top: 1em; }
.hint .rounded-content { padding: 0.5em 1.5em 0.5em 1.5em; background: url(../i/hint_bg.gif) repeat-y; }
.hint .corner { width: 14px; height: 14px; background-image: url(../i/hint_corners.gif); }
.hint .left { left: 0; }
.hint .right { right: 0; }
.hint .top .corner { top: 0; }
.hint .bottom .corner { top: -14px; }
.hint .top .left { background-position: 0 0; }
.hint .top .right { background-position: -14px 0; }
.hint .bottom .left { background-position: 0 -14px; }
.hint .bottom .right { background-position: -14px -14px; }

/* Изображения в рамках */
.image .corner { width: 13px; height: 13px; background-image: url(../i/frame_corners.png); }
.image .left { left: -1px; }
.image .right { right: -1px; }
.image .top .left { background-position: 0 0; }
.image .top .right { background-image: url(../i/frame_corners_tr.png); width: 51px; height: 50px; }
.image .bottom .left { background-position: 0 -13px; }
.image .bottom .right { background-position: -13px -13px; }
.image .top .corner { top: -1px; }
.image .bottom .corner { top: -12px; }

/* Документы для скачивания */
#text #files li { position: relative; clear: left; padding: 0 0 0 45px; min-height: 24px; }
#files a { padding: 0 0 0 45px; z-index: 2; margin-left: -45px; }
#files a ins { position: absolute; top: -10px; left: -3px; z-index: 1; width: 35px; height: 39px; background: url(../i/files.png) no-repeat; cursor: pointer; cursor: hand; }
#files .zip { background-position: 0 0; }
#files .rar { background-position: -35px 0; }
#files .mp3 { background-position: -70px 0; }
#files .avi { background-position: -105px 0; }
#files .ppt { background-position: -140px 0; }
#files .doc { background-position: -175px 0; }
#files .pdf { background-position: -210px 0; }
#files .xls { background-position: -245px 0; }

/* Подсказки */
.message { color: #2493B2; font-size: 0.875em; font-style: italic; position: relative; float: left; margin-top: 23px; }
.message .ico { width: 104px; height: 84px; position: absolute; top: -6px; left: -21px; z-index: 1; background: url(../i/info.png); }
.message:after { content: ''; display: block; clear: both; height: 1px; }
.message .container { position: relative; top: 12px; left: 27px; margin: 0 0 2px 0; }
.message .container div { background: #FFFEDA; margin-right: 27px; padding: 8px 20px 5px 55px; }
.message .container div * { position: relative; z-index: 2; }
.message .t { background: url(../i/frame-t.png) no-repeat 0 0; left: -27px; }
.message .r { background: url(../i/frame-r.png) no-repeat 100% 0; top: -27px; }
.message .b { background: url(../i/frame-b.png) no-repeat 100% 100%; right: -27px; }
.message .l { background: url(../i/frame-l.png) no-repeat 0 100%; padding-top: 0; }
.message .t, .message .r, .message .b, .message .l { position: relative; width: auto; height: auto; //float: left; }

/* Специальное предложение */
#special { margin: 0 0 31px 0; width: 211px; padding-right: 10px; background: url(../i/special_bg_right.png) repeat-y right; position: relative; float: left; }
#special-position { background: #FAF4BA url(../i/bg4.png); position: relative; }
#special-position .container { padding: 20px 33px 0 33px; text-align: center; }
#special-position .left { left: 0; }
#special-position .right { right: -10px; }
#special-position .top .corner { top: 0; }
#special-position .top .left { background-image: url(../i/special_corner_tl.png); width: 12px; height: 12px; }
#special-position .top .right { background-image: url(../i/special_corner_tr.png); width: 60px; height: 101px; }
#special-position .bottom { height: 10px; background: url(../i/special_bg_bottom.png) repeat-x; }
#special-position .bottom .left { background-image: url(../i/special_corner_bl.png); width: 30px; height: 22px; }
#special-position .bottom .right { background-image: url(../i/special_corner_br.png); width: 21px; height: 22px; }
#special-position .bottom .corner { top: -12px; }

#special-position h2 { color: #4C3B24; font-size: 1em; line-height: 1.2; margin: 0; padding: 0.6em 0 0.5em 0; }
#special-position h2, #special-image { position: relative; z-index: 1; width: 145px; }
#special-image { text-align: left; }
#special-position #special-image .corner { width: 5px; height: 5px; background-image: url(../i/special_image_corners.png); }
#special-position #special-image .left { left: 0; }
#special-position #special-image .right { right: 0; }
#special-position #special-image .top .corner { top: 0; }
#special-position #special-image .top .left { background-position: 0 0; }
#special-position #special-image .top .right { background-position: -5px 0; }
#special-position #special-image .bottom { height: 0; background: none; }
#special-position #special-image .bottom .left { background-position: 0 -5px; }
#special-position #special-image .bottom .right { background-position: -5px -5px; }
#special-position #special-image .bottom .corner { top: -5px; }

#special-position p { font-style: italic; font-size: 0.75em; margin: 0.2em 0 20px 0; }

/* Обратная связь */
#feedback { margin: 0 0 34px 0; font-size: 1.25em; font-style: italic; }
#feedback li { margin: 0 0 0.3em 0; }
#feedback .popup { padding-right: 23px; background: url(../i/popup.gif) no-repeat 100% 0.3em; }

/* Тэги */
#tagz { margin-bottom: 40px; line-height: 1.7; }
#tagz a { margin-right: 10px; }
#tagz .l1 { font-size: 0.8em; }
#tagz .l2 { font-size: 1em; }
#tagz .l3 { font-size: 1.44em; }

/* Контакты в правой колонке */
#contacts DT { font-size: 1.4em; }
#contacts img { vertical-align: middle; margin-right: 5px; }

/* Социальные сети */
#social { padding-bottom: 30px; }
#social H2 { font-size: 1em; font-style: italic; margin-top: 0.7em; }
#social DIV, #social A { width: 31px; height: 31px; }
#social DIV { background: url(../i/ico_social.png) no-repeat; float: left; margin: 3px 5px 0 0; position: relative; }
#social A { display: block; position: relative; z-index: 2; }
#social #vk { background-position: -150px 0; }
#social #lj { background-position: -120px 0; }

#social-share { padding: 0 0 20px 0; }
#social-share TABLE { margin: 0 !important; }
#social-share TD { padding: 0 !important; }
#social-share .button { float: left; margin: 10px 30px 0 0; }
#fb-like { padding: 20px 0 30px 9px; }

/* Поиск попутчиков */
#ikut-announce {  }
#ikut-announce h2 { font-size: 1.25em; font-style: italic; color: #3A2814; margin: 37px 0 1.1em 0; }
#ikut-announce .image IMG { width: 85px; height: 64px; margin: 0; }
#ikut-announce .image { border: none; }
#ikut-announce .image .corner { width: 5px; height: 5px; background-image: url(../i/special_image_corners.png); }
#ikut-announce .image .left { left: 0; }
#ikut-announce .image .right { right: 0; }
#ikut-announce .image .top .corner { top: 0; }
#ikut-announce .image .top .left { background-position: -10px 0; }
#ikut-announce .image .top .right { background-position: -15px 0; }
#ikut-announce .image .bottom { height: 0; background: none; }
#ikut-announce .image .bottom .left { background-position: -10px -5px; }
#ikut-announce .image .bottom .right { background-position: -15px -5px; }
#ikut-announce .image .bottom .corner { top: -5px; }
#ikut-announce .ikut .text { min-height: 64px; }
#ikut-announce .ikut .text h3 { font-style: normal; padding: 0.75em 0 0.4em 0; margin: 0; font-size: 0.88em; }
#ikut-announce .ikut .reducer { padding: 0 0 0 102px !important; }

/* Навигация по основным разделам */
#nav-common { margin: 25px 0 46px 0; width: 100%; }
#nav-common LI { margin: 0.8em 0; }
#nav-common a, #nav-common span { font-size: 1.2em; font-style: italic; }

/* Навигация по разделам каталога */
.index #nav-catalog { width: 100%; }
.index #nav-catalog td { width: 33.33%; }
.typical #nav-catalog td { padding-right: 80px; }
#nav-catalog { margin: 0 0 0.5em 0; font-size: 1.25em;  }
#nav-catalog td { padding: 0 0 0.7em 0; vertical-align: top; }
#nav-catalog p { font-size: 0.7em; margin: 0.3em 30px 0 0; }
#nav-catalog p a { margin-right: 7px; }

/* Общие уголки */
#text th .corner,
#paging .corner,
#text .popup-link .corner,
#path .corner { width: 8px; height: 7px; background-image: url(../i/corners.png); }
#text th .corner-container .left,
#paging .left,
#text .popup-link .left,
#path .left { left: 0; }
#text th .corner-container .right,
#paging .right,
#text .popup-link .right,
#path .right { right: 0; }
#text th .top .corner,
#paging .top .corner,
#text .popup-link .top .corner,
#path .top .corner { top: 0; }
#text th .bottom .corner,
#paging .bottom .corner,
#text .popup-link .bottom .corner,
#path .bottom .corner { top: -7px; }
#text th .top .left,
#paging .top .left,
#text .popup-link .top .left,
#path .top .left { background-position: 0 0; }
#text th .top .right,
#paging .top .right,
#text .popup-link .top .right,
#path .top .right { background-position: -8px 0; }
#text th .bottom .left,
#paging .bottom .left,
#text .popup-link .bottom .left,
#path .bottom .left { background-position: 0 -7px; }
#text th .bottom .right,
#paging .bottom .right,
#text .popup-link .bottom .right,
#path .bottom .right { background-position: -8px -7px; }

/* Путь */
#path { font-size: 0.75em; position: relative; margin-bottom: 2em; width: 100%; }
#path li { float: left; background: #FFFEDA; position: relative; margin: 10px 8px 0 0; }
#path p { padding: 0.25em 0.7em 0.35em 0.7em; }
#path a { background-image: url(../i/path_bullet.gif); }
#path a, #path span { padding-left: 9px; background-repeat: no-repeat; background-position: 0 0.4em; }

#path .to-index { position: absolute; top: 0; left: -40px; }
#path .to-index, #path .to-index a  { background: none; }
#path .to-index img { width: 23px; height: 23px; }

#path .container { position: relative; }
#path .cur { background: #67A347; }
#path .cur span, #path .cur a { background-image: url(../i/path_bullet_cur.gif); }
#path .cur span { color: #FFFEDA; }
#path .main p { padding-left: 40px; }
#path .main a, #path .main span { padding: 0; background: none; position: relative; z-index: 1; }
#path .top .branch { width: 55px; height: 32px; background-image: url(../i/path_branch.png); position: absolute; top: -16px; left: 5px; font-size: 0; }
#path .cur a:link { color: #FFFEDA; }
#path .cur a:visited { color: #FFFEDA; }
#path .cur a:hover { color: #FEF289; }
#path .cur a:active { color: #FEF289; }

/* Ссылка на внешнюю форму в тексте */
#text .popup-link { position: relative; float: left; margin: 0.95em 0 1.6em 0; }
#text .popup-link .rounded-content { margin: 0; padding: 0.05em 0.5em 0.25em 0.4em; background: #FFFEDA; font-style: italic; }
#text .popup-link .popup { padding-left: 23px; background: url(../i/popup.gif) no-repeat 0 0.3em; }

/* Блок "Мы также можем предложить" */
.additional { position: relative; float: left; margin: 50px 0 0 0; }
.additional .rounded-content { padding: 0.15em 0.4em 0.15em 0.8em; background: #F2B82F url(../i/additional_bg.png) repeat-x top; }
.additional h2 { color: #3A2814; font-size: 1.125em; margin: 0; font-style: italic; }
.additional .corner { width: 12px; height: 12px; background-image: url(../i/additional_corners.png); }
.additional .left { left: 0; }
.additional .right { right: 0; }
.additional .top .corner { top: 0; }
.additional .bottom .corner { top: -12px; }
.additional .top .left { background-position: 0 0; }
.additional .top .right { background-position: -12px 0; }
.additional .bottom .left { background-position: 0 -12px; }
.additional .bottom .right { background-position: -12px -12px; }

/* Навигация по подразделам */
#subnav { width: 100%; position: relative; margin-bottom: 2.3em; }
#subnav ul { float: left; font-style: italic; }
#text #subnav li { margin: 0.5em 0 0 0; padding-left: 27px; background: none; }
#subnav a { padding-left: 18px; background: url(../i/subnav_bullet.gif) no-repeat 0 0.3em; }

/* Форма поиска */
#content .right-col form { margin: 40px 0 34px 0; white-space: nowrap; }

/* Разбивка на страницы */
#paging { font-size: 1.44em; line-height: 29px; padding-top: 2.2em; width: 100%; position: relative; clear: left; }
#paging img { width: 19px; height: 9px; }
#paging a, #paging .rounded-content { padding: 0 0.3em 0.2em 0.3em; }
#paging a, #paging .cur { float: left; }
#paging a { margin: 0 0.05em; }
#paging .rounded-content { text-align: center; }
#paging .cur { background: #79A924; position: relative; color: #F1FFB4; min-width: 35px; }
#paging .arrow { padding: 13px 2px; line-height: 0; }

/* Контент */
#text { clear: left; max-width: 750px; }
ol { list-style-type: none; behavior: expression((this.counter) ? "" : (this.start) ?  this.counter = this.start - 1 : this.counter = 0); margin-left: 2em; counter-reset: item; }
ol li { behavior: expression( ( !this.before && parentNode && parentNode.tagName == 'OL' ) ? ( this.before = true ) & ( parentNode.counter++ ) & ( parentNode.style.listStyleType = 'none' ) & ( eNOBR = document.createElement( '<div class="marker" />' ) ) & ( eNOBR.innerHTML = parentNode.counter + "." ) & ( this.insertBefore( eNOBR, this.firstChild ) ) : ''); position: relative; padding: 0; //width: 100%; display: block; }
.marker { position: absolute; left: -109px; top: -0.3em; width: 100px; text-align: right; }
ol li:before, .marker { font-size: 1.44em; color: #70470E; }
ol>li:before { display: block; margin: 0 100% -1em -109px; width: 100px; text-align: right; content: counter(item) ". "; counter-increment: item; position: relative; top: -0.1em; }
#text ul li { background: url(../i/bullet.gif) no-repeat 0 0.3em; padding-left: 16px; margin-left: 0.5em; }
#text ul ol li { background: none; padding-left: 0; margin-left: 0; }
#back { margin-top: 0.3em; font-size: 1.25em; font-style: italic; text-align: right; }
#back a { padding-left: 25px; background: url(../i/prev.gif) no-repeat 0 0.4em; }

/* Вопросы */
#text .answer { padding-left: 25px; background: url(../i/answer.gif) no-repeat 0 0.3em; }

/* Контакты */
#text .worktime dt {  }
#text .location { padding-left: 23px; background: url(../i/popup.gif) no-repeat 0 0.3em; }

/* Каталог */
.new .top .right { width: 63px; height: 63px; background-image: url(../i/new.png); top: -16px; right: -17px; }
.catalog-info { margin-bottom: 1em; }
.catalog-info h2 { margin-bottom: 0; }
.catalog-info ul { color: #70470E; margin: 5px 0 1em 0; }
#text .catalog-info li { margin: 0.25em 0; padding: 0; background: none; }

.preview .corner { width: 5px; height: 5px; background-image: url(../i/special_image_corners.png); }
.preview .left { left: 0; }
.preview .right { right: 0; }
.preview .top .left { background-position: -10px 0; }
.preview .top .right { background-position: -15px 0; }
.preview .bottom .left { background-position: -10px -5px; }
.preview .bottom .right { background-position: -15px -5px; }
.preview .top .corner { top: 0; }
.preview .bottom .corner { top: -5px; }

/* Горизонтальная навигация */
#nav-horizontal { position: relative; width: 100%; }
#nav-horizontal div { float: left; width: 50%; padding: 30px 0 10px 0; }
#nav-horizontal a { display: block; position: relative; font-style: italic; font-size: 1.25em; }
#nav-horizontal .prev { //margin-right: -100%; }
#nav-horizontal .prev a { padding: 0 20px 0 26px; background: url(../i/prev.gif) no-repeat 0 0.3em;  }
#nav-horizontal .next { //position: relative; //left: 50%; }
#nav-horizontal .next a { padding: 0 26px 0 20px; background: url(../i/next.gif) no-repeat 100% 0.3em; float: right; }

/* Кол-во позиций на странице  */
#cpp { position: relative; margin-top: -31px; text-align: right; font-size: 0.8em; }
#cpp label { margin-right: 9px; }
#cpp label, #cpp select { vertical-align: middle; }

/* Таблицы в тексте */
#text table { position: relative; border-collapse: collapse; left: 9px; }
#text caption { color: #70470E; }
#text td { font-style: italic; }
#text th { color: #FFF; }
#text td { position: relative; }
#text tr + tr + tr > td { border-top: 1px solid #68A449; }

#text th p { line-height: 1.6em; padding: 0 0.5em; background: #5F9534; text-align: center; }
#text th .container { position: relative; float: left; margin-right: 40px; }
#text th .head { position: absolute; height: 9px; top: 0; left: 50%; }
#text th .corner-container .head ins { position: absolute; top: -9px; left: -28px; width: 57px; height: 9px; font-size: 0; background: url(../i/th.gif) no-repeat; }
#text th .spacer { width: 80px; height: 0; }
#text th .arrows { position: relative; top: 0.8em; }

#text th .arrows .left { left: -9px; }
#text th .arrows .right { right: -9px; }
#text th .arrows div, #text td .arrow div { font-size: 0; width: 9px; height: 10px; position: absolute; }
#text th .arrows div div { top: -4px; }
#text th .arrows .left div,
#text th .arrows .right div,
#text td .arrow .left,
#text td .arrow .right { background: url(../i/arrows.gif) no-repeat; }
#text th .arrows .right div,
#text td .arrow .right { background-position: 100% 0; }
#text td .arrow { position: relative; }
#text td .arrow div { top: -12px }
#text td .arrow .left { left: -25px; }
#text td .arrow .right { right: -25px; }
#text tr + tr .arrow { display: none; }
#text tr + tr + tr .arrow { display: block; }

/* Разметка */
#corners-top .corner, #corners-bottom .corner { width: 46px; height: 44px; background-image: url(../i/page_corners.gif); }
#corners-top { height: 16px; background: url(../i/bg_t.gif); }
#corners-top .corner { top: 0; }
#corners-top .left { left: 0; background-position: 0 0; }
#corners-top .right { right: 0; background-position: -46px 0; }
#corners-bottom { height: 16px; background: url(../i/bg_b.gif); }
#corners-bottom .corner { top: -28px; }
#corners-bottom .left { left: 0; background-position: 0 -44px; }
#corners-bottom .right { right: 0; background-position: -46px -44px; }

#logo { clear: left; margin-bottom: 30px; }
#logo img { margin-top: 15px; }
#logo.baliexport img { width: 266px; height: 60px; }
#logo.realbali img { width: 191px; height: 44px; }

#subnav:after,
#path:after,
#special:after { content: ''; display: block; clear: both; height: 1px; }

#content .right-col input { vertical-align: middle; }

#illustration { background: url(../i/illustration.png) no-repeat center; height: 482px; }

#container { width: 100%; height: 100%; min-height: 100%; margin-bottom: -66px; position: relative; z-index: 2; overflow-x: hidden; }
#content { width: 100%; max-width: 1350px; }
#border-left, #border-right { width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 0; }
#border-left { background: url(../i/bg_l.gif) repeat-y; }
#border-right { background: url(../i/bg_r.gif) repeat-y right; }
html>body #container { height: auto; }
#clear { clear: both; height: 100px; }

.left-col, .right-col { float: left; }
.left-col { width: 70%; //margin-right: -100%; }
.right-col { width: 30%; //position: relative; //left: 70%; }
.left-col .reducer { padding-left: 9%; padding-right: 5%; min-width: 570px; zoom: 1; position: relative; }
.right-col .reducer { padding-right: 50px; position: relative; }
.left-col-fixIE { zoom: 1; position: relative; width: 100%; }
#footer { height: 66px; position: relative; z-index: 1; }
#footer .left-col { float: none; }
#footer .reducer { height: 50px; }
#footer p { font-size: 0.875em; line-height: 50px; }

/* Сервисный режим */
.service-mode { height: auto; }
.service-mode p { font-size: 1.125em; font-style: italic; }
.service-mode #container { text-align: center; width: 100%; height: auto; min-height: 0; margin-bottom: 0; background: none; }
.service-mode #content { margin: 0 auto; margin-top: 60px; min-width: 500px; max-width: 800px; }
.service-mode #content .reducer { padding: 0 50px; }
.service-mode #logo { text-align: left; width: auto; }
.service-mode #logo img { margin-top: 0; }
.service-mode h1 { margin: 133px 0 0.67em 0; }
.service-mode form { margin: 2em 0; }

/* 404 ошибка */
.e404 { height: auto; }
.e404 input { vertical-align: middle; }
.e404 p { font-size: 1.125em; font-style: italic; }
.e404 #container { text-align: center; width: 100%; height: auto; min-height: 0; margin-bottom: 0; background: none; }
.e404 #content { margin: 0 auto; margin-top: 60px; min-width: 500px; max-width: 800px; }
.e404 #content .reducer { padding: 0 50px; }
.e404 #logo { text-align: left; width: auto; }
.e404 #logo img { margin-top: 0; }
.e404 #nav-links { font-family: Arial, Helvetica, sans-serif; position: absolute; top: 2px; left: 0; width: 100%; }
.e404 #nav-links a { padding-left: 24px; background: url(../i/ico_home_alt.gif) no-repeat left; }
.e404 #content { text-align: left; }
.e404 #content h1 { white-space: nowrap; margin-top: 54px; }
.e404 #content td { vertical-align: top; padding: 0; text-align: right; }
.e404 #content .container { position: relative; text-align: left; margin-left: 65px; }
.e404 #content .container .line { position: absolute; top: 110px; left: -50px; width: 40px; border-top: 1px solid #202020; }
.e404 #content form { white-space: nowrap; margin: 1.4em 0; }
.e404 #content p { padding-top: 107px; }

/* Страница без навигации */
.alt {  }
.alt #container, .alt #corners-top, .alt #corners-bottom { background: none; }
.alt #corners-top, .alt #corners-bottom { height: 0; width: auto; }
.alt #logo { position: relative; }
.alt #ico-home { position: absolute; top: 15px; left: 240px; width: 50px; height: 50px; background: url(../i/ico_home_alt.gif) no-repeat 18px 20px; }

/* Ссылка на форму */
.link-to-form { zoom: 1; margin-bottom: 33px; }
.link-to-form .container { background: #67A347; font-size: 1em; padding: 2px 10px 5px 10px; }
.link-to-form .corner { width: 8px; height: 8px; background-image: url(../i/form_set.png); }
.link-to-form .left { left: 0; }
.link-to-form .right { right: 0; }
.link-to-form .top .corner { top: 0; }
.link-to-form .bottom .corner { top: -8px; }
.link-to-form .top .left { background-position: -30px 0; }
.link-to-form .top .right { background-position: -38px 0; }
.link-to-form .bottom .left { background-position: -30px -8px; }
.link-to-form .bottom .right { background-position: -38px -8px; }

.link-to-form .pseudo-link { color: #FFF; border-bottom: 1px dashed #FFF; }
.link-to-form .pseudo-link-hover { color: #FEEB81; border-bottom: 1px dashed #FEEB81; }

/* Форма обратной связи */
.form { border: 8px solid #EDDD9F; zoom: 1; line-height: 1; margin-bottom: 30px; }
.form .container { border: 1px solid #B5AC7C; padding: 14px 23px 0 20px; }
.form .required { font-size: 1em; margin-left: 4px; }
.form .message-required { font-size: 0.8em !important; margin-top: 2px; }

.form LABEL { font-size: 1em; color: #333; }
.form .input-text, .form .input-short, .form .input-file, .form SELECT { padding: 3px 0; }
.form .input-text, .form TEXTAREA { width: 100%; }
.form TEXTAREA { resize: none; }
.form INPUT, .form SELECT, .form TEXTAREA { color: #333; }

.form form DD { margin: 5px 0 12px 0; }
.form .buttons { padding: 5px 0 20px 0; text-align: center; }
.form .buttons INPUT { padding: 5px 7px; }

.form .corner { width: 15px; height: 15px; top: -8px; background-image: url(../i/form_set.png); }
.form .left { left: -8px; }
.form .right { right: -8px; }
.form .top .left { background-position: 0 0; }
.form .top .right { background-position: -15px 0; }
.form .top .arrow { position: absolute; top: 0; left: 50%; }
.form .top .arrow .corner { width: 110px; height: 39px; background-position: -46px 0; top: -38px; left: -55px; }
.form .bottom .left { background-position: 0 -15px; }
.form .bottom .right { background-position: -15px -15px; }

/* Форма добавления объявления */
#form-ikut {  }
#form-ikut .input-text { width: 323px; }
#form-ikut .input-short { width: 90px; }
#form-ikut .input-file { width: 323px; margin: 0 16px 10px 0; float: left; }
#form-ikut LABEL { font-style: normal; margin-right: 6px; }
#form-ikut TABLE { left: 0 !important; }
#form-ikut TD { border: none !important; padding: 12px 0 !important; }
#form-ikut #f-datefrom, #form-ikut #f-dateto { float: left; margin-right: 4px; }
.calendar-ico { width: 28px; height: 31px; background: url(../i/calendar_ico.gif); font-size: 0; float: left; margin: -5px 14px 0 0; cursor: pointer; cursor: hand; }
#form-ikut #label-period { float: right; }
#form-ikut #f-periodother { width: 248px; }
#periodother { display: none; }
#form-ikut .hint-size { font-size: 0.8em; padding-top: 6px; }
#form-ikut .one-more-foto { font-size: 0.8em; font-style: italic; position: relative; margin: 0 0 0 18px; }
#form-ikut .plus { width: 12px; height: 12px; position: absolute; top: 0.3em; left: -18px; }
#form-ikut .plus INS { position: absolute; background: #4A8927; font-size: 0; }
#form-ikut .pseudo-link-hover .plus INS { background: #F60; }
#form-ikut .plus .vertical { width: 2px; height: 12px; top: 0; left: 5px; }
#form-ikut .plus .horizontal { width: 12px; height: 2px; top: 5px; left: 0; }
#form-ikut .foto { padding-bottom: 10px; }
#form-ikut #foto1, #form-ikut  #foto2 { display: none; }

/* Отзывы */
#comments {  }
#comments .pic { width: 29px; height: 29px; position: absolute; }
.positive .pic { background-position: -52px 0; }
.negative .pic { background-position: -81px 0; }
.neutral .pic { background-position: -110px 0; }
.agree .pic { background-position: -139px 0; }
.disagree .pic { background-position: -168px 0; }
.agree-disabled .pic { background-position: -197px 0; }
.disagree-disabled .pic { background-position: -226px 0; }


#comments .rounded { float: left; background: #EDD79A; margin: 5px 14px 14px 0; }
#comments .rounded .container { font-size: 0.8em; padding: 0 10px 0 40px; position: relative; z-index: 2; height: 33px; }
#comments .rounded .container .title { position: relative; top: 50%; }
#comments .rounded .container .title INS { position: relative; top: -0.7em; }
#comments .rounded .corner, #comments .pic { background-image: url(../i/comments_set.png); }
#comments .rounded .corner { width: 14px; height: 14px; }
#comments .rounded .left { left: 0; }
#comments .rounded .right { right: 0; }
#comments .rounded .top .corner { top: 0; }
#comments .rounded .bottom .corner { top: -14px; }
#comments .rounded .top .left { background-position: 0 0; }
#comments .rounded .top .right { background-position: -14px 0; }
#comments .rounded .bottom .left { background-position: 0 -14px; }
#comments .rounded .bottom .right { background-position: -14px -14px; }
#comments .rounded .pic { top: 2px; left: 2px; }

#comments .count { margin-bottom: 15px; }
.comment { position: relative; margin: 9px 0 9px 39px; }
.comment .pic { top: 0; left: -37px; }
.comment .name { font-size: 1.2em; float: left; margin: 1px 15px 0 0; }
.comment .short, .comment .agree, .comment .disagree { display: none; }
.comment .agree, .comment .disagree { position: relative; }
.comment .agree { z-index: 1; }
.comment .disagree { z-index: 2; }

.comment .short, .comment .full { font-size: 0.88em; margin: 0.5em 0 3px 0; }
.comment .full {  }
#comments .comment .agree .container { padding-right: 70px; }
#comments .comment .disagree { left: -50px; }
#comments .comment .disagree .left { display: none; }
.comment .date { color: #333; font-size: 0.8em; float: left; margin-top: 6px; }
.comment .chart { background: #EDDC9C; float: left; margin-right: 15px; position: relative; }
.comment .chart .corner { width: 6px; height: 6px; background-image: url(../i/comments_set.png); }
.comment .chart .left { left: 0; }
.comment .chart .right { right: 0; }
.comment .chart .top .corner { top: 0; }
.comment .chart .bottom .corner { top: -6px; }
.comment .chart .top .left { background-position: -28px 0; }
.comment .chart .top .right { background-position: -34px 0; }
.comment .chart .bottom .left { background-position: -28px -6px; }
.comment .chart .bottom .right { background-position: -34px -6px; }
.comment .chart .container { padding: 0 7px 9px 7px; width: 70px; position: relative; z-index: 1; }
.comment .chart .container DIV { width: 70px; height: 2px; margin-top: 8px; font-size: 0; }
.comment .chart .positive { background: #4A8927; }
.comment .chart .negative { background: #C50C0B; }
.comment .chart .comment-votes { position: absolute; top: -25px; left: -50px; z-index: 10; background: #333 url(../i/comments_set.png) repeat-x 0 -29px; display: none; }
.comment .chart .comment-votes .corner { width: 6px; height: 24px; top: 0; }
.comment .chart .comment-votes .left { background-position: -40px 0; left: -6px; }
.comment .chart .comment-votes .right { background-position: -46px 0; right: -6px; }
.comment .chart .comment-votes .container { color: #FFF; padding: 0 0 0 0; width: auto; height: 24px; }
.comment .chart .comment-votes .container DIV { position: relative; top: 50%; font-size: 0.75em; width: auto; height: auto; margin: 0; white-space: nowrap; }
.comment .chart .comment-votes .container SPAN { position: relative; top: -0.7em; padding: 0 7px; }
.comment .chart .comment-votes .arrow { position: absolute; top: 0; left: 50%; }
.comment .chart .comment-votes .arrow INS { width: 9px; height: 4px; background-position: -40px -24px; top: 0; left: -5px; }

#hide-full-comments { zoom: 1; }


/* Результаты поиска */
.search-results #border-right { background: none; }
#results #total { padding-left: 16px; background: url(../i/total.gif) no-repeat 0 0.5em; color: #202020; }
#results .path a { background: url(../i/next.gif) no-repeat -8px 0.4em; padding-left: 17px; }
#results .path .first { background: none; padding: 0; }
#search-form { margin-top: 2em; }
#search-form div { position: relative; width: 100%; }
#search-form #search-text { width: 100%; }
#search-form .input-submit { position: absolute; left: 100%; top: 0; }
#results .type { background: #09C; color: #FFF; }
#results .type .rounded-content { padding: 0.1em 0.35em 0.15em 0.35em; }
#results .type .corner { width: 3px; height: 3px; background-image: url(../i/type_corners.gif); }
#results .type .left { left: 0; }
#results .type .right { right: 0; }
#results .type .top .corner { top: 0; }
#results .type .bottom .corner { top: -3px; }
#results .type .top .left { background-position: 0 0; }
#results .type .top .right { background-position: -3px 0; }
#results .type .bottom .left { background-position: 0 -3px; }
#results .type .bottom .right { background-position: -3px -3px; }

/* ThickBox */

#TB_secondLine { }
#TB_overlay { background-color: #000; opacity: .5; filter: alpha(opacity=50); width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 100; }

#TB_window { position: fixed; z-index: 102; display: none; text-align: left; top: 50%; left: 50%; }
#TB_Image { border: 2px solid #F6BA30; margin-top: 43px; }
#TB_caption { height: 25px; padding: 7px 30px 10px 25px; float: left; }
#TB_closeWindow { position: absolute; top: 14px; right: 16px; }
#TB_closeWindowButton { font-size: 0.7em; padding: 0.2em 23px 0.2em 0; background: url(../i/foto_view_close.gif) no-repeat right; }
#TB_closeAjaxWindow { padding: 7px 10px 5px 0; margin-bottom: 1px; text-align: right; float: right; }
#TB_ajaxWindowTitle { float: left; padding: 7px 0 5px 10px; margin-bottom: 1px; }
#TB_title { background-color: #e8e8e8; height: 27px; }
#TB_ajaxContent { clear: both; padding: 2px 15px 15px 15px; overflow: auto; text-align: left; line-height: 1.4em; }
#TB_ajaxContent.TB_modal { padding: 15px; }
#TB_ajaxContent p { padding: 5px 0; }
#TB_load { position: fixed; display: none; height: 13px; width: 208px; z-index: 103; top: 50%; left: 50%; margin: -6px 0 0 -104px; }
#TB_HideSelect { z-index: 99; position: fixed; top: 0; left: 0; background-color: #fff; border: none; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0; height: 100%; width: 100%; }
#TB_iframeContent { clear: both; border: none; margin-bottom: -1px; margin-top: 1px; _margin-bottom: 1px; }

#TB_links { position: absolute; top: 50%; left: 0; width: 100%; }
#TB_prev, #TB_next { position: absolute; top: -16px; }
#TB_prev { left: 0; }
#TB_next { right: 0; }
#TB_prev a, #TB_next a { display: block; width: 37px; height: 60px; background-image: url(../i/foto_view_arrows.gif); background-repeat: no-repeat; }
#TB_prev a { background-position: 11px 14px; }
#TB_prev a:hover { background-position: -41px 14px; }
#TB_next a { background-position: -15px 14px; }
#TB_next a:hover { background-position: -67px 14px; }

#TB_window .container { border: 3px solid #F6BA30; background: #FFEFB1 url(../i/bg2.gif); position: relative; text-align: center; padding-bottom: 43px; }


/* DatePicker */
.jCalendar { background: #EBECEE; border-collapse: collapse; border-bottom: 1px solid #30661A; width: 100%; }
.jCalendar th { color: #665; font-weight: normal; padding: 3px 5px; }
.jCalendar td { background: #6FB04C; color: #000; text-align: center; border-top: 1px solid #30661A; border-left: 1px solid #30661A; }
.jCalendar td.last { border-right: 1px solid #30661A; }
.jCalendar td .l1 { border-top: 1px solid #8BCB6D; border-right: 1px solid #6FB04C; border-left: 1px solid #8BCB6D; }
.jCalendar td .l2 { padding: 3px 5px; border-top: 1px solid #6FB04C; }

.jCalendar td.other-month { background: #93CA66; color: #EBECEE; }
.jCalendar td.other-month .l1 { border-top: 1px solid #BBE19C; border-right: 1px solid #93CA66; border-left: 1px solid #BBE19C; }
.jCalendar td.other-month .l2 { border-top: 1px solid #93CA66; }

.jCalendar td.today { background: #41742B url(../i/calendar_set.png) repeat-x bottom; color: #FFF; }

.jCalendar td.selected, .jCalendar td.selected.dp-hover, .jCalendar td.dp-hover, .jCalendar tr.activeWeekHover td { background: #498030; color: #FFF; }
.jCalendar td.selected .l1, .jCalendar td.selected.dp-hover .l1, .jCalendar td.dp-hover .l1, .jCalendar tr.activeWeekHover td .l1 { border-top: 1px solid #214B12; border-right: 1px solid #346420; border-left: 1px solid #346420; }
.jCalendar td.selected .l2, .jCalendar td.selected.dp-hover .l2, .jCalendar td.dp-hover .l2, .jCalendar tr.activeWeekHover td .l2 { border-top: 1px solid #346420; }

.jCalendar td .l2 { padding: 3px 5px; /*border-top: 1px solid #8BCB6D; border-right: 1px solid #6FB04C; border-left: 1px solid #8BCB6D;*/ }
.jCalendar td.today .l1, .jCalendar td.today .l2 { border: none; }
.jCalendar td.today.dp-hover .l1 { border-top: 1px solid #214B12; border-right: 1px solid #346420; border-left: 1px solid #346420; }
.jCalendar td.today.dp-hover .l2 { border-top: 1px solid #346420; }

.jCalendar tr.selectedWeek td { background: #f66; color: #fff; }
.jCalendar td.disabled, .jCalendar td.disabled.dp-hover { background: #67A347; color: #1D4B0E; }
.jCalendar td.disabled .l1, .jCalendar td.disabled.dp-hover .l1 { border-top: 1px solid #67A347; border-left: 1px solid #67A347; border-right: 1px solid #67A347; }
.jCalendar td.disabled .l2, .jCalendar td.disabled.dp-hover .l2 { border-top: 1px solid #67A347; }


.jCalendar td.unselectable, .jCalendar td.unselectable:hover, .jCalendar td.unselectable.dp-hover { background: #bbb; color: #888; }
.dp-calendar-container { padding: 3px; background: #67A347; -moz-border-radius: 6px; -webkit-border-radius: 6px; }
.dp-calendar { background: #EBECEE; padding: 2px 2px 2px 3px; }
.dp-header { text-align: center; }
.dp-header TABLE { margin: 0 auto; background: #67A347 url(../i/calendar_set.png) repeat-x 0 -32px; text-align: left; }
.dp-header-container { height: 23px; //height: 22px; }
.dp-header-container .container { position: relative; top: 50%; padding: 0 7px; }
.dp-header-container H2 { position: relative; top: -0.7em; }

.dp-header .corner { width: 3px; height: 23px; background-image: url(../i/calendar_set.png); }
.dp-header .left { left: -3px; background-position: -36px 0; }
.dp-header .right { right: -3px; background-position: -39px 0; }

/* For the popup */
/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */
.dp-popup { position: relative; font-size: 13px; line-height: 1; }
#dp-popup { width: 300px; }
#dp-popup { position: absolute; z-index: 199; }
.dp-popup h2 { font-size: 15px; font-family: Tahoma; color: #000; text-align: center; padding: 0; margin: 0; }
#dp-close { font-size: 11px; padding: 4px 0; text-align: center; display: block; }
#dp-close:hover { text-decoration: underline; }
.dp-nav { position: relative; }
.dp-nav a { display: block; width: 18px; height: 16px; cursor: pointer; background-image: url(../i/calendar_set.png); }
.dp-nav .disabled { cursor: default !important; }
.dp-nav .dp-nav-prev, .dp-nav .dp-nav-next { position: absolute; top: 3px; }
.dp-nav .dp-nav-prev { left: -21px; }
.dp-nav .dp-nav-next { right: -21px; }
.dp-popup a { color: #000; text-decoration: none; }
.dp-nav-prev a { background-position: 0 0; }
.dp-nav-next a { background-position: -18px 0; }
.dp-nav-prev .disabled { background-position: 0 -16px; }
.dp-nav-next .disabled { background-position: -18px -16px; }

/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
.dp-popup td { cursor: pointer; }
.dp-popup td.disabled { cursor: default; }
.dp-choose-date.dp-disabled { background-position: 0 -20px; cursor: default; }

