﻿/* ------------------------------------------------------------------------------*/
/* Контейнер поисковой формы */
/* ------------------------------------------------------------------------------*/

/* Заголовок группы страниц (раздела) */
div.search_form div.group_header { width: 100%; text-align: center; color: Black; margin: 0px 0px 0px 0px; }

/* Ссылка на другую группу страниц (на другой раздел) */
div.group_header a { color: #456a76; text-decoration: underline; display: block;}

/* Активная ссылка на другую группу страниц */
div.group_header a:hover { text-decoration: none; }

/* Заголовок активной группы страниц */
div.search_form div.group_header.active { font-weight: bold; margin: 0px 0px 11px 0px; }

/* ------------------------------------------------------------------------------------------------ */
/* Страница поисковой формы */
div.sf_page { width: 540px; clear: both; }

/* Заголовок поисковая формы */
div.sf_header { background: #abcefb no-repeat url('/images/search/sf_h.gif') bottom; margin-top: 10px; }

/* Верхняя граница заголовка поисковой формы */
div.sf_header_t { background: repeat-x url('/images/search/sf_t.gif') top; }

/* Левый угол заголовка поисковой формы */
div.sf_header_l { background: no-repeat url('/images/search/sf_lt.gif') top left; }

/* Правый угол заголовка поисковой формы */
div.sf_header_r { background: no-repeat url('/images/search/sf_rt.gif') top right; text-align: left; padding: 0px 4px 0px 4px; }

/* Контент страницы формы */
div.sf_content { background: repeat-y url('/images/search/sf_back.gif'); width: 100%; }

/* ------------------------------------------------------------------------------------------------ */
/* Таблица форматирования формы */
table.sf { border: 0px; padding: 0px; width: 530px; border-collapse: collapse; margin: 0px 0px 6px 0px; }
table.sf td { margin: 0px; padding: 0px 2px 0px 2px; border: 0px; vertical-align: top; }

/* ------------------------------------------------------------------------------------------------ */
/* Вложенная таблица форматирования формы */
table.sfi { border: 0px; margin: 0px; padding: 0px; border-collapse: collapse; width: 100%; }
table.sfi td { margin: 0px; border: 0px; vertical-align: top; }

/* Разделитель */
div.sf_div { background: url('/images/search/sf_div.gif') left center; height: 1px; padding: 0px; font: 0/0 serif; overflow: hidden; }

/* ------------------------------------------------------------------------------------------------ */
/* Таблица-фрейм */
table.sff { width: 100%; border: 0px; border-collapse: collapse; font-size: 11px; font-family: Verdana; }

/* Заголовочные ячейки фрейма */
table.sff th { padding: 0px; color: #ff7800; font-weight: bold; background-image: url('/images/search/sff_hdr.gif'); }
table.sff th.L { width: 4px; height: 15px;  }
table.sff th.C { background-position: left -30px; text-align: left; }
table.sff th.R { background-position: left -15px; width: 4px; }

/* Форматирование заголовка */
table.sff th span { background-color: #f8fcfd; margin-left: 4px; padding: 0px 1px; height: 15px; line-height: 15px; }

/* Ячейки фрейма */
table.sff td { padding: 0px; }
table.sff td.LC { background: url('/images/search/sff_ctr.gif') left top; }
table.sff td.CC { background: white repeat-x url('/images/search/sff_back.gif') left top; text-align: left; padding: 3px 6px 5px 6px; }
table.sff td.RC { background: url('/images/search/sff_ctr.gif') -4px top; }
table.sff td.LB { background: url('/images/search/sff_ftr.gif'); height: 4px; }
table.sff td.CB { background: url('/images/search/sff_ftr.gif') left -4px; }
table.sff td.RB { background: url('/images/search/sff_ftr.gif') left -8px; }

/* ------------------------------------------------------------------------------------------------ */
/* панель управления */
div.sf_control
{
    width: 540px; height: 30px; 
    background: url('/images/search/sf_b.gif'); 
    text-align: center;
    position: relative;
}

/* Ссылка управления режимом отображения */
div.sf_control a.vm_link
{
    position: absolute; top: 7px;
    background-image: url('/images/search/sf_arws.gif'); 
    background-repeat: no-repeat;
    line-height: 14px;
    font-family: Verdana;
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    color: #1e5c73;
}

/* Активная ссылка управления режимом отображения */
div.sf_control a.vm_link:hover { }

/* Правая и левая ссылки управления режимом отображения */
div.sf_control a.vm_link.left { left: 9px; padding-left: 17px; }
div.sf_control a.vm_link.right { right: 9px; padding-right: 17px; }

/* Спрайты для ссылок */
div.sf_control a.vm_link.LLarger { background-position: left 6px; }
div.sf_control a.vm_link.LSmaller { background-position: left -24px }
div.sf_control a.vm_link.RLarger { background-position: right 6px  }
div.sf_control a.vm_link.RSmaller { background-position: right -24px }

div.sf_control a.vm_link.LLarger:hover { background-position: left -54px; }
div.sf_control a.vm_link.LSmaller:hover { background-position: left -84px }
div.sf_control a.vm_link.RLarger:hover { background-position: right -54px  }
div.sf_control a.vm_link.RSmaller:hover { background-position: right -84px }

/* Кнопка поиска */
div.sf_control input.btn_search { border: 0px; margin-top: 5px; }

/* Кнопка очистки */
div.sf_control a.btn_clear { border: 0px; }
a.btn_clear img { border: 0px; }

/* ------------------------------------------------------------------------------------------------ */
/* Стиль блока текста */
div.text { margin: 0px; padding: 0px; color: #1e5c73; font-size: 11px; font-family: Verdana; float: left; }

/* Стили отступов */
.m { margin: 0px 3px !important; }
.ml { margin-left: 3px !important; }
.mr { margin-right: 3px !important; }


/* ------------------------------------------------------------------------------*/
/* Контейнер мультиселекта */
/* ------------------------------------------------------------------------------*/
div.multiselect
{
    font-family: Verdana; font-size: 11px; line-height: 14px; 
    position: relative; overflow: visible;
    width: 100%;
    background-color: #E8F7FF;
}

/* Ссылка-кнопка на панели управления */
div.multiselect a.button
{
    display: block;
    float: left;
    width: 60px;
    line-height: 13px;
    height: 14px;
    padding: 0px 2px;
    text-align: center;
    margin: 0px 3px 0px 0px;
    border: solid 1px #bec9d0;
    border-style: solid solid none solid;
    background-color: #e7f1f8;
    color: #456a76;
    text-decoration: none;
}

/* Активная ссылка-кнопка на панели управления */
div.multiselect a.button:hover { font-weight: bold; text-decoration: none; }

/* Список выбранных элементов */
div.multiselect div.list {background-color: white; border: solid 1px #bec9d0; padding-left: 3px; overflow-y: auto; text-align: left; }

/* Ссылка в списке */
div.multiselect div.list a
{
    color: #456a76;
    display: block;
    height: 16px;
    overflow: hidden;
    text-decoration: none;
    background: no-repeat url('/images/search/ms_cross.gif') 0px 4px;
    padding-left: 13px;
    outline: none;
    line-height: 16px;
    vertical-align: middle;
}

/* Активная ссылка в списке */
div.multiselect div.list a:hover
{
    color: #e70000;
    background: no-repeat url('/images/search/ms_cross.gif') 0px -11px;
    padding-left: 13px;
}

/* Контейнер попапа */
#ms_popup_container { position: absolute; display: none; }

/* Тень от всплывающего окна */
#ms_popup_shadow
{
    position: absolute; z-index: 14; left: 1px; top: 1px;
    width: 360px; height: 209px; background: #666; 
}

/* Контейнер контента всплывающего окна */
#ms_popup_content_container
{
    position: absolute; left: 0px; top: 0px; z-index: 15;
    border: solid 1px #ff6a05;
    background: #eff8f8 repeat-x url('/images/search/rt_head.gif');
}

/* Контент всплывающего окна */
#ms_popup_content { margin: 4px; background-color: #eff8f8; width: 350px; height: 199px; }

/* Фрейм для фикса бага в IE 6 */
#ms_popup_frame { position: absolute; z-index: 4; left: 0px; top: 0px; width: 360px; height: 209px; }

/* Контейнер заголовка */
#ms_popup_content div.header { height: 18px; color: #ff6a05; font-weight: bold; line-height: 14px; float: left; }

/* Линия - разделитель */
#ms_popup_content div.line 
{ 
    background-color: #adc4c9;
    background-image: url('/images/search/ms_line.gif');
    width: 100%; height: 1px; line-height: 1px; overflow: hidden;
}

/* Список значений */
#ms_popup_content div.list { padding-left: 4px; overflow-y: auto; height: 158px; background-color: #fbffff; }

/* Футер */
#ms_popup_content div.footer { padding-top: 3px; }

/* Кнопка-ссылка на всплывающем окне */
#ms_popup_content a.button
{
    display: block;
    float: left;
    width: 90px;
    line-height: 13px;
    height: 14px;
    padding: 0px 2px;
    text-align: center;
    margin: 4px 3px 0px 0px;
    border: solid 1px #bec9d0;
    background-color: #e7f1f8;
    color: #456a76;
    text-decoration: none;
}

/* Кнопка-ссылка "Закрыть" на всплывающем окне */
#ms_popup_content a.button.close
{
    float: right;
    width: 14px;
    margin: 0px;
}

/* Кнопка-ссылка "Ok" на всплывающем окне */
#ms_popup_content a.button.ok
{
    float: right;
    width: 40px;
    margin: 4px 0px 0px 0px;
    border: solid 1px #ff6a05;
    background-color: #ff6a05;
    color: White;
}

/* Кнопка-ссылка на всплывающем окне активная */
#ms_popup_content a.button:hover { font-weight: bold; }


/* ------------------------------------------------------------------------------*/
/* Контекстная галерея */
/* ------------------------------------------------------------------------------*/

/* Таблица для галереи */
table.gallery { width: 540px; padding: 0px; margin: 10px 0px 0px 0px; border: none; }

/* Ячейка */
table.gallery td { width: 270px; height: 113px; }

/* Дивка в ячейке */
table.gallery a { display: block; width: 266px; height: 113px;  background: no-repeat url('/images/search/gal_back.gif') top left; text-align: left; position: relative; }
table.gallery a:hover { text-decoration: none; background: no-repeat url('/images/search/gal_back.gif') bottom left; }

/* Картинка */
table.gallery img { border: solid 1px #b8b8b8; margin: 3px 0px 3px 3px; }

/* Контейнер текста */
table.gallery div { position: absolute; overflow: hidden; left: 150px; top: 3px; width: 113px; height: 107px; line-height: 12px; cursor: pointer; }

/* класс надписей */
table.gallery span { display: block; margin-bottom: 6px; color: #618199; cursor: pointer; }
table.gallery span.hdr { display: block; color: #ff7800; font-weight: bold; }
table.gallery span.dfrom { display: block; position: absolute; left: 0px; bottom: 0px; margin: 0px; }

/* ------------------------------------------------------------------------------*/
/* Контейнер таблицы результатов */
/* ------------------------------------------------------------------------------*/
div.result_table { overflow: hidden; }

/* Класс пейджера */
div.pager { width: 100%; height: 18px; position: relative; }

/* Класс панели пейджера */
div.pager_panel { height: 18px; position: absolute; overflow: hidden; }

/* Левая и правая панели */
div.pager_panel.left { left: 0px;}
div.pager_panel.right { right: 0px; }

/* Центральная часть панели пейджера */
div.pager_panel div.middle
{
    height: 18px;
    overflow: hidden;
    line-height: 17px;
    text-align: center;
    vertical-align: middle;
    background: #eff8f8 repeat-x url('/images/search/rt_pgrs.gif');
    padding: 0px;
    float: left;
    color: #1e5c73;
}

/* Левая часть панели пейджера */
div.pager_panel div.left
{
    width: 19px; height: 18px; float: left;
    background-image: url('/images/search/rt_pgrs.gif');
}

/* Правая часть панели пейджера */
div.pager_panel div.right
{
    width: 19px; height: 18px; float: left;
    background-image: url('/images/search/rt_pgrs.gif');
}

/* Выбраная страница на панели пейджера */
div.pager_panel div.active
{
    width: 21px; height: 18px;
    font-weight: bold; color: White;
    background: #ff6a05 url('/images/search/rt_pgrs.gif');
    float: left;
}

/* Ссылка на панели пейджера */
div.pager_panel a
{
    display: block; width: 21px; height: 18px;
    text-decoration: none; color: #1e5c73;
    float: left; 
}

/* Накрытая ссылка на панели пейджера */
div.pager_panel a:hover
{
    background-color: #c6e5f4;
    background-image: url('/images/search/rt_pgrs.gif');
    font-weight: bold; color: #1e5c73;
}

/* Посещенная ссылка на панели пейджера */
div.pager_panel a:visited { color: #1e5c73; }

/* Картинки для верхенго пейджера */
div.pager.top * div.left { background-position: 0px 0px; }
div.pager.top * div.middle { background-position: 0px -18px; }
div.pager.top * div.right { background-position: 0px -36px;}
div.pager.top * a:hover { background-position: 0px -54px; }
div.pager.top * div.active { background-position: 0px -72px; }

/* картинки для нижнего пейджера */
div.pager.bot * div.left { background-position: 0px -90px; }
div.pager.bot * div.middle { background-position: 0px -108px; }
div.pager.bot * div.right { background-position: 0px -126px;}
div.pager.bot * a:hover { background-position: 0px -144px; }
div.pager.bot * div.active { background-position: 0px -162px; }

/* Класс таблицы результатов */
table.results
{
    border-style: none solid solid none;
    border-color: #ff6a05 #adc4c9 #adc4c9 #adc4c9;
    border-width: 1px;
    background-color: #eff8f8;
    width: 100%;
    color: #618199;
}

/* Дорожка таблицы результатов */
table.results tr { background-color: #eff8f8; }

/* Альтернативная дорожка таблицы результатов */
table.results tr.alt { background-color: #eff8f8; }

/* Выделенная дорожка таблицы результатов */
table.results tr.cur { background-color: #fff3cb; color: #cf5300; cursor: pointer; }

/* Частники - дорожка таблицы результатов */
table.results tr.private { background-color: #fff; }
table.results tr.alt.private { background-color: #fff; }
table.results tr.cur.private { background-color: #fff3cb; color: #cf5300; cursor: pointer; }

/* Ячейка таблицы результатов */
table.results td
{
    padding: 2px;
    border: solid 1px #d1e2e6;
    margin: 0px;
    text-align: center;
    border-right: none; 
    border-bottom: none;
    text-transform: uppercase;
    font-size: 11px;
}

/* Заглавная ячейка таблицы результатов */
table.results th
{
    background-repeat: repeat-x;
    padding: 7px 2px 7px 2px;
    border: solid 1px #d1e2e6;
    border-color: #ff6a05 #d1e2e6 #d1e2e6 #d1e2e6;
    border-right: none; 
    border-bottom: none;
    background-image: url('/images/search/rt_head.gif');
    font-size: 11px;
}

/* Заглавная ячейка таблицы результатов + сортировка */
table.results th.sort.asc { background-color: #fff3cb;  background-image: url('/images/search/rt_ahead.png'); }
table.results th.sort.desc { background-color: #fff3cb;  background-image: url('/images/search/rt_dhead.png'); }

/* Ссылка в заголовке таблицы результатов */
table.results a { color: #ff6700; text-decoration: none; }
table.results a:hover { color: #ff6700; text-decoration: underline; }
table.results a:visited { color: #ff6700; }

/* Ссылка в ячейке таблицы результатов */
table.results td a { color: #618199; }
table.results td a:hover { color: #618199; }

/* Ссылка в активной дороджке таблицы результатов */
table.results tr.cur * a { color: #cf5300; }
table.results tr.cur * a:hover { color: #cf5300; }

/* Хак бордюров для огнелиса */
@-moz-document url-prefix() 
{ 
    table.results, x:-moz-any-link { border-left: solid 2px #adc4c9; margin-top: 1px; }
}


/* ------------------------------------------------------------------------------------------------ */
/* Стиль контейнера для DropDownList'a  */
/* ------------------------------------------------------------------------------------------------ */
div.dropdownlist { height: 21px; float: left; }

/* Стиль DropDownList'a  */
div.dropdownlist select
{
    height: 19px;
    border: solid 1px #7f9db9;
    margin: 0px;
    margin-top: 1px;
    padding: 0px;
    font-size: 11px; 
    font-family: Verdana;
    line-height: 14px;
    color: #1e5c73;
}

/* FireFox */
@-moz-document url-prefix() { div.dropdownlist select { padding-top: 1px; } }


/* ------------------------------------------------------------------------------------------------ */
/* Стиль контейнера CheckBoxList'a */
/* ------------------------------------------------------------------------------------------------ */
table.checkbox 
{
    border: 0px;
    line-height: 13px; 
    font-family: Verdana;
    padding: 0px;
    margin: 0px;
}

/* Ячейка CheckBoxList'a */
table.checkbox td
{
    background-image: url('images/search/test.gif'); 
    border: 0px;
    line-height: 21px;
    height: 21px;
    font-family: Verdana;
    padding: 0px 3px 0px 0px;
    margin: 0px;
    vertical-align: middle;
}

/* Стиль CheckBox'a */
table.checkbox * input { float: left; width: 13px; height: 13px; padding: 0px; margin: 4px 0px 0px 0px; }

/* Стиль надписи */
table.checkbox * label { height: 21px; margin-left: 3px; font-size: 11px; color: #1e5c73; }
/* <= IE 6 */
* html table.checkbox * label { margin-left: 0px; }


/* ------------------------------------------------------------------------------------------------ */
/* Стиль контейнера CheckBox'a */
/* ------------------------------------------------------------------------------------------------ */
div.checkbox { line-height: 21px; overflow: hidden; font-size: 11px; font-family: Verdana; float: left; }

/* Стиль CheckBox'a */
div.checkbox input { float: left; width: 13px; height: 13px; padding: 0px; margin: 4px 0px 0px 0px; }

/* Стиль надписи */
div.checkbox label { height: 21px; margin-left: 3px; white-space: nowrap; color: #1e5c73; }
/* <= IE 6 */
* html div.checkbox label { margin-left: 0px; }


/* ------------------------------------------------------------------------------------------------ */
/* Стиль контейнера для TextBox'a  */
/* ------------------------------------------------------------------------------------------------ */
div.textbox { height: 21px; float: left; }

/* Стиль TextBox'a */
div.textbox input
{
    width: 50; w\idth: 48px;
    height: 19px; he\ight: 17px;
    margin: 0px; padding: 0px; border: solid 1px #7f9db9;
    font-family: Verdana; font-size: 11px; line-height: 14px;
    text-align: center; vertical-align: text-bottom;
    margin-top: 1px;
    //margin-top: 0px;
}

/* FireFox */
@-moz-document url-prefix() { div.textbox input { padding-top: 1px; height: 16px; } }   
/* Opera */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input { padding-left: 1px; width: 47px; } }

/* w20 */
div.textbox input.w20 { width: 20px; w\idth: 18px; }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input.w20 { width: 17px; } }

/* w30 */
div.textbox input.w30 { width: 30px; w\idth: 28px; }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input.w30 { width: 27px; } }

/* w40 */
div.textbox input.w40 { width: 40px; w\idth: 38px; }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input.w40 { width: 37px; } }

/* w50 */
div.textbox input.w50 { width: 50px; w\idth: 48px; }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input.w50  { width: 47px; } }

/* w60 */
div.textbox input.w60 { width: 60px; w\idth: 58px; }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input.w60  { width: 57px; } }

/* w70 */
div.textbox input.w70 { width: 70px; w\idth: 68px; }
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) 
{ div.textbox input.w70  { width: 67px; } }

