html, body
{
    font-family: 'Open Sans', Verdana, Tahoma, Arial, Serif;
    font-size: 14px;
    text-align: center;
    background: #F4F7F8;
    height: 100%;
    overflow: auto;
}

table {
    font-size: 14px;
}

form {
    margin: 0;
}

a:link,
a:active,
a:visited {
    text-decoration: none;
    color: #222222;
}

a:hover {
    color: #A63015;
}

fieldset {
    border: 1px solid #ADB6CE;
    padding: 0px;
}

legend {
    margin-left: 10px;
    font-size: 12px;
}

div.fieldset {
    padding-top: 6px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}
#v_upload, #y_upload {display: none;}

/*-----------------------------------------------------------------------------/
// Стили виджетов
/-----------------------------------------------------------------------------*/

.textinput {
    background-color: #FFF;
    color: #000;
    font-size: 12px;
    border: 1px solid #A9B7CD;
    width: 95%;
    vertical-align: middle;
    padding: 5px;
    font-family: Verdana, Tahoma, Arial, Serif;
}

.multitext {
    background-color: #FFF;
    color: #000;
    padding: 5px;
    border: 1px solid #A9B7CD;
    width: 95%;
    font-size: 12px;
    font-family: Verdana, Tahoma, Arial, Serif;
}

#green {
    background-color: #caf2d9;
}

#red {
    background-color: #f5cdcd;
}

.dropdown, .multiselect {
    background-color: #FFF;
    color: #000;
    border: 1px solid #A9B7CD;
    font-size: 12px;
    vertical-align: middle;
    padding: 5px;
    font-family: Verdana, Tahoma, Arial, Serif;
}


/*-----------------------------------------------------------------------------/
// Шапка окна.
/-----------------------------------------------------------------------------*/
div.login_header {
    background: #5D87C7;
    border: 1px solid #345487;
    color: #FFFFFF;
    padding: 10px;
    background: url(images/acp_logo_r.gif) repeat-x 0 0 #74A1DD;
    overflow: hidden;
}

div.page_header {
    background: transparent;
    height: 50px;
    background-repeat: no-repeat;
    background-image: url(images/axioma_logo.gif);
    background-position: right 5px;
    padding: 3px 10px;
}

span.page_header_name{
    color: #BC6C1C;
    text-align: left;
    font-size: 20px;
}

div.page_header a:link,
div.page_header a:visited,
div.page_header a:active {
    color: #315869;
    text-decoration: underline;
    font-size: 12px;
}

.manual_wrapper{
    font-size: 12px;
    padding-left: 10px;
    margin: -15px 0 10px;
}

.manual_link{
    color: #315869;
    text-decoration: underline;
}

.tabs_container{
    position: relative;
    height: 40px;
}

/*
#menu_divider {
        padding-top: 10px;
        padding-bottom: 10px;
        width: 10px;
        text-align: center;
}
*/

/*
#menu_divider div {
        height: 100%;
        width: 10px;
        background-repeat: repeat-y;
        background-image: url(images/divider.png);
}
*/

/*-----------------------------------------------------------------------------/
// Основная таблица
/-----------------------------------------------------------------------------*/

#tabwrap {
    border-top: 1px solid #ccc;
    margin-top: 5px;
}

/*-----------------------------------------------------------------------------/
// Таблица главного меню.
/-----------------------------------------------------------------------------*/

#mainmenu {
    width: 250px;
    text-align: left;
    border: 1px solid #ccc;
    border-top: none 0;
    border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    background-image: linear-gradient(bottom, rgb(238,238,238) 37%, rgb(227,227,227) 68%);
    background-image: -o-linear-gradient(bottom, rgb(238,238,238) 37%, rgb(227,227,227) 68%);
    background-image: -moz-linear-gradient(bottom, rgb(238,238,238) 37%, rgb(227,227,227) 68%);
    background-image: -webkit-linear-gradient(bottom, rgb(238,238,238) 37%, rgb(227,227,227) 68%);
    background-image: -ms-linear-gradient(bottom, rgb(238,238,238) 37%, rgb(227,227,227) 68%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.37, rgb(238,238,238)),
        color-stop(0.68, rgb(227,227,227))
        );
    border-color: #999999 #BEBEBE #CCCCCC;
    box-shadow: 0 1px 2px #FFFFFF inset;
    color:#555;
}

/*-----------------------------------------------------------------------------/
// Заголовки раздела меню.
/-----------------------------------------------------------------------------*/

div.title {
    background: #5D87C7;
    border: 1px solid #345487;
    color: #FFFFFF;
    font-weight: bold;
    padding: 2px 2px 2px 2px;
    background-image: url(images/tile_cat_small.gif);
}

/*-----------------------------------------------------------------------------/
// Пункт раздела меню. : NEW!
/-----------------------------------------------------------------------------*/

.menulinkwrap {
    font-size: 12px;
    background-color: #EEF2F7;
    padding: 6px;
    border-bottom: 1px solid #E3E3E3;
}

.menulinkwrap > a{
    padding-left: 5px;
}

.tableborder {
    border: 1px solid #99bbe8;
    border-top: none;
    background-color: #FFF;
}

/*-----------------------------------------------------------------------------/
// Таблица отдельного меню.
/-----------------------------------------------------------------------------*/

table.box {
    background: #EEF2F7;
    border: 1px solid #345487;
    width: 90%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*-----------------------------------------------------------------------------/
// Заголовки СИСТЕМНОГО меню.
/-----------------------------------------------------------------------------*/

div.sys_title {
    background: #5D87C7;
    border: 1px solid #702005;
    color: #FFFFFF;
    font-weight: bold;
    padding: 2px 2px 2px 2px;
    background-image: url(images/sys_tile_cat_small.gif);
}

/*-----------------------------------------------------------------------------/
// Таблица СИСТЕМНОГО меню.
/-----------------------------------------------------------------------------*/

table.sys_box {
    background: #FFBE97;
    border: 1px solid #702005;
    width: 90%;
    margin-top: 10px;
    margin-bottom: 10px;
}


/*-----------------------------------------------------------------------------/
// Основное окно ( контент )
/-----------------------------------------------------------------------------*/

#premainwnd
{
    height: 100%;
    vertical-align: top;
}

#mainwnd {
    width: 100%;
    height: 100%;
    vertical-align: top;
    padding: 10px;
}


#only_mainwnd {
    border-top: 3px solid #186781;
    padding: 10px 10px 20px;
}

/*-----------------------------------------------------------------------------/
// Строка внизу с копирайтом
/-----------------------------------------------------------------------------*/

#copyright {
    margin: 10px;
    text-align: right;
    font-size: 10px;
}

/*-----------------------------------------------------------------------------/
// Ссылка чтобы создать новый элемент раздела
/-----------------------------------------------------------------------------*/

.create_new
{
    width: 100%;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
    background: #F5F9FD;
    border: 1px solid #345487;
    margin-bottom: 10px;
    color: #3A4F6C;
}


/*-----------------------------------------------------------------------------/
// Кнопка "ПРИНЯТЬ" ( submit4form )
/*----------------------------------------------------------------------------*/

.submit_update
{
    border: 1px solid #4C77B6;
    background-color: #EEF2F7;
    color: #000000;
    font-family: Verdana, Arial;
    font-size: 10px;
    font-weight: bold;
    padding: 2px;
}

/*-----------------------------------------------------------------------------/
// "Фальшивый сабмит" - ставится перед вторым саюмитом чтобы избежать в IE
// автофокуса и появления некрасивой ч0рной рамки вокруг кнопки
/*----------------------------------------------------------------------------*/

.fake_submit { width: 0; height: 0; border: 0; }

/*-----------------------------------------------------------------------------/
// Сообщение об ошибках при заполнении формы
/*----------------------------------------------------------------------------*/

.form_error {
    background: #F5F9FD;
    color: #AB1212;
    padding: 4px;
    margin-bottom: 6px;
}

/*============================================================================//
//
// 			Элементы навигации для перемещения между страницами
//
//============================================================================*/

.pagelink,
.pagelinklast,
.pagecurrent {
    border: 1px solid #345487;
    padding: 1px 3px 1px 3px;
    font-size: 11px;
}

.pagelinklast,
.pagelink {
    background: #EEF2F7;
}

.pagecurrent {
    background: #5982C2;
    color: #ffffff;
}

.pagelinklast a:active,
.pagelinklast a:visited,
.pagelinklast a:link,
.pagelink a:active,
.pagelink a:visited,
.pagelink a:link {
    text-decoration: none;
    color: #000000;
}

/*============================================================================//
//
// 								POP-UP MENUS
//
//============================================================================*/

.popupmenu {
    background: #EEF2F7;
    border: 1px solid #345487;
    text-align: left;
    font-size: 10px;
    white-space: nowrap;
}

.popupmenu-item {
    padding: 2px;
    white-space: nowrap;
    background: #EEF2F7;
    border-right: 1px solid #D1DCEB;
    border-bottom: 1px solid #D1DCEB;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
}

.popupmenu-item-last {
    background: #EEF2F7;
    border-right: 1px solid #D1DCEB;
    border-bottom: 1px solid #D1DCEB;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    padding: 2px;
    white-space: nowrap;
}

.popupmenu-item a:link,
.popupmenu-item a:visited,
.popupmenu-item-last a:link,
.popupmenu-item-last a:visited {
    color: #000000;
    font-weight: normal;
}

.popupmenu-item a:hover,
.popupmenu-item-last a:hover {
    color: #315584;
}


.popupmenu-category {
    color: #000000;
    font-size: 10px;
    letter-spacing: 0px;
    margin: 0;
    padding: 2px;
    border-bottom: 1px solid #345487;
}

.popup-button {
    border: 1px solid #345487;
    background: #EEF2F7;
    color: #000000;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 11px;
}

.popup-input {
    border: 1px solid #345487;
    height: 18px;
}

/*============================================================================//
//
// 			          Унифицированое описание стилей таблиц
//
//============================================================================*/

/*-----------------------------------------------------------------------------/
// Стандартная таблица
/-----------------------------------------------------------------------------*/

.tab {
    /*
border: 1px solid #345487;
    border-top: 0 none;
width: 100%;
    */
    border: 1px solid #99bbe8;
    width: 100%;

}

/*-----------------------------------------------------------------------------/
// Заголовок - синий градиент.
/-----------------------------------------------------------------------------*/

.row0 {
    overflow: hidden;
    color: #15428b;
    font-weight: bold;
    padding: 5px 3px 4px 5px;
    border-bottom: 1px solid #99bbe8;
    line-height: 15px;
    background: transparent url(images/iface/row0.gif) repeat-x 0 -1px;
}
.row0 a {margin-left:5px;}

/*-----------------------------------------------------------------------------/
// Строка с сообщением об ошибке
/-----------------------------------------------------------------------------*/

.row0_err
{
    background: #345487;
    color: #ffffff;
    font-weight: bold;
    height: 34px;
    padding-left: 10px;
    background-image: url(images/tile_err.gif);
}


/*-----------------------------------------------------------------------------/
// Заголовок - синий градиент. Маленький
/-----------------------------------------------------------------------------*/

.row0_sub
{
    background-color: #D1DCEB;
    color: #3A4F6C;
    font-weight: bold;
    padding: 6px;
    margin-top: 1px;
    font-size: 10px;
}

/*-----------------------------------------------------------------------------/
// Столбец стандартный, обесцвеченый
/-----------------------------------------------------------------------------*/

.row12 {
    padding: 4px;
    border-right: 1px solid #D1DCEB;
    border-bottom: 1px solid #D1DCEB;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    color: #304F6B;
}

/*-----------------------------------------------------------------------------/
// Столбец идуший, как правило, первым - темный
/-----------------------------------------------------------------------------*/

.row1 {
    padding: 4px;
    background: #EEF2F7;
    border-right: 1px solid #D1DCEB;
    border-bottom: 1px solid #D1DCEB;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    color: #304F6B;
    text-align: right
}

.row1 a {margin-right:5px;}




/*-----------------------------------------------------------------------------/
// Столбец, как правило, второй - светлый
/-----------------------------------------------------------------------------*/

.row2 {
    padding: 6px 4px;
    background: #F5F9FD;
    border-left: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #D1DCEB;
    border-bottom: 1px solid #D1DCEB;
    position: relative;
}

.upr
{
    text-align:center;
    background-color: #FBE1A5;
    color: #000;
    /*border-color: #618EBC;*/
}

.admin_imgs_table th
{
    padding: 2px 0 2px 10px;
    color: #000;
    background-color: #CBDFF5;
    border-color: #618EBC;
    text-align: left;
}

.admin_imgs_table td {padding: 2px 5px;}
.admin_imgs_table td input[type='text'] {width: 179px;}

/*-----------------------------------------------------------------------------/
// Верхняя строка - подзаголовок
/-----------------------------------------------------------------------------*/

.row_top {
    background-color: #D1DCEB;
    color: #3A4F6C;
    font-weight: bold;
    padding: 6px;
    margin-top: 1px;
    border-right: 1px solid #fff;
}

/*-----------------------------------------------------------------------------/
// Нижняя строка - статус бар или нечто вроде
/-----------------------------------------------------------------------------*/

.row_sub,
.row_sub_accept,
.row_sub_decline {
    background-color: #EEF2F7;
    color: #3A4F6C;
    font-weight: bold;
    padding: 5px;
    margin-top: 1px;
    font-size: 10px;
    text-align: center;
    border-top: 1px solid #ffffff;
}

.row_sub input,
.row_sub_accept input,
.row_sub_decline input {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    padding: 5px 10px;
    border: 1px solid #ADADAD;
    color: #333;
    border-radius: 4px;
    background: rgb(255,255,255);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNmU2ZTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(230,230,230,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(230,230,230,1)));
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(230,230,230,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6',GradientType=0 );

}

.row_sub input:hover,
.row_sub_accept input:hover,
.row_sub_decline input:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #ffffff inset;
    border-color: #999999;
}

.row_sub_accept {
    text-align: left;
}

.row_sub_accept input {
    color: green;
}

.row_sub_decline {
    text-align: right;
}

.row_sub_decline input {
    color: red;
}

/*-----------------------------------------------------------------------------/
// Нижняя строка - статус бар или нечто вроде
/-----------------------------------------------------------------------------*/

.row_pagelinks {
    background-color: #EEF2F7;
    color: #3A4F6C;
    padding: 5px;
    margin-top: 1px;
    font-size: 10px;
    text-align: right;
    border-top: 1px solid #ffffff;
}

/*-----------------------------------------------------------------------------/
// Поле для ввода
/-----------------------------------------------------------------------------*/

#magic_gallery td img {
    width: 120px;
    height: 120px
}

#magic_gallery td div img {
    width: 20px;
    height: 20px
}

/*-----------------------------------------------------------------------------/
// Всплывающие окошки с CRON-командами в меню планировщика задач
/-----------------------------------------------------------------------------*/

.cron_popup {
    position: absolute;
    width: auto;
    text-align: center;
    background: #EEE;
    border: 2px outset #555;
    padding: 4px;
    white-space: nowrap;
}

/*-----------------------------------------------------------------------------/
// Стили диалоговых окон wysiwyg-редактора
/-----------------------------------------------------------------------------*/

#siteTreeLoadMessage {
    position:absolute;
    z-index:1001;
    display:block;
    width:100%;
    height:100%;
    left: 0;
    top: 0;
}

#siteTreeMessage {
    background-color: #EFF3F7;
    border:1px solid #ADB6CE;
    padding: 6px;
    width: 180px;
    color: #345487;
    font-family: verdana,arial,helvetica,sans-serif;
    font-size:10px;
    font-weight: normal;
}

#dialogLoadMessage {
    position:absolute;
    z-index:1000;
    display:block;
    width:100%;
    height:100%;
    left: 0;
    top: 0;
}

#loadMessage {
    background-color:#666666;
    border:1px solid #333333;
    padding: 10px;
    width: 100px;
    color:#FFFFFF;
    font-family:verdana,arial,helvetica,sans-serif;
    font-size:12px;
    font-weight:bold
}

#uploadMessage {
    position:absolute;
    z-index:1001;
    display:none;
    width:100%;
    height:100%;
    left: 0px;
    top: 0px
}

#uploadMessageText {
    background-color:threedface;
    border:1px solid threedshadow;
    padding: 10px;
    width: 300px;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#707070,direction=135,strength=3);
}

.scroll_list {
    scrollbar-face-color: #EFF3F7;
    scrollbar-base-color: #EFF3F7;

    scrollbar-highlight-color: #ffffff;
    scrollbar-shadow-color: #D1DCEB;

    scrollbar-arrow-color: #D1DCEB;
    scrollbar-track-color: #F7FBFF;
    scrollbar-darkshadow-color: #F7FBFF;
}

/*-----------------------------------------------------------------------------/
// Вкладки разделов панели управления
/-----------------------------------------------------------------------------*/
.tabnone
{
    float: left;
    width: 170px;
    margin-right: 30px;
}

.tabon, .taboff
{
    display: block;
    border: 1px solid #ccc;
    padding:6px 7px 4px 7px;
    font-size:14px;
    float:left;
    width:auto;
    margin:7px 3px;
    color: #666;
    font-family: aria, sans-serif;
    height: 16px;
    position: relative;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow: 0 0 1px #FFFFFF inset;
    text-shadow: 0 1px 0 #FFFFFF;
    background-image: linear-gradient(bottom, rgb(224,224,224) 0%, rgb(255,255,255) 52%);
    background-image: -o-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(255,255,255) 52%);
    background-image: -moz-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(255,255,255) 52%);
    background-image: -webkit-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(255,255,255) 52%);
    background-image: -ms-linear-gradient(bottom, rgb(224,224,224) 0%, rgb(255,255,255) 52%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(224,224,224)),
        color-stop(0.52, rgb(255,255,255))
        );
}

.tabon
{
    background-image: linear-gradient(bottom, rgb(220,220,220) 0%, rgb(230,230,230) 60%);
    background-image: -o-linear-gradient(bottom, rgb(220,220,220) 0%, rgb(230,230,230) 60%);
    background-image: -moz-linear-gradient(bottom, rgb(220,220,220) 0%, rgb(230,230,230) 60%);
    background-image: -webkit-linear-gradient(bottom, rgb(220,220,220) 0%, rgb(230,230,230) 60%);
    background-image: -ms-linear-gradient(bottom, rgb(220,220,220) 0%, rgb(230,230,230) 60%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(220,220,220)),
        color-stop(0.6, rgb(230,230,230))
        );
    border-color: #999999 #AAAAAA #CCCCCC;
    box-shadow: 0 1px 2px #AAAAAA inset;
    color:#555;
}

.taboff:hover
{
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF inset;
    border-color: #999;
}

.m_tab_log .img{
    background:url(images/tab_log.png) no-repeat 0 0;
    display: inline-block;
    width: 16px;
    height: 16px;
    padding-right: 9px;
    *display:inline;
    *zoom:1;
}

.m_tab_manage .img, .m_tab_tree .img, .m_tab_system .img, .m_tab_content .img
{
    display: inline-block;
    background:url(images/tab_manage.png) no-repeat 0 0;
    width: 16px;
    height: 16px;
    padding-right: 9px;
    *display:inline;
    *zoom:1;
}
.m_tab_manage .text, .m_tab_tree .text, .m_tab_system .text, .m_tab_content .text, .m_tab_log .text
{
    display: inline-block;
    position: relative;
    top:-5px;
    *display:inline;
    *zoom:1;
}

.m_tab_tree .img
{
    background:url(images/tab_tree.png) no-repeat 0 -2px;
}

.m_tab_system .img
{
    background:url(images/tab_system.png) no-repeat 0 0;
}

.m_tab_content .img
{
    background:url(images/tab_content.png) no-repeat 0 0;
}


.main_menu_button
{
    background-color: #315869;
    color: #333;
    font-size:10px;
    float: left;
    width: auto;
    margin-top:7px;
    margin-right: 2px;
}

/*-----------------------------------------------------------------------------/
//
/-----------------------------------------------------------------------------*/
#ext_main_menu
{
    position: absolute;
    left: 11px;
    top: 6px;
    width: 160px;
    text-align: left;
    display: block;
    border: 1px solid #ccc;
    font-size:11px;
    color: #666;
    font-family: aria, sans-serif;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow: 0 0 1px #FFFFFF inset;
    text-shadow: 0 1px 0 #FFFFFF;
    background-image: linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -o-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -moz-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -webkit-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -ms-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.37, rgb(248,214,134)),
        color-stop(0.68, rgb(255,240,207))
        );
}
#ext_main_menu:hover
{
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF inset;
    border-color: #999;
}

#mm_dd {
    padding: 5px;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
}

#mm_dd .link a:hover span {
    text-decoration:underline;
}

.menuDisabledNode a span {
    color: #bbb !important;
}

.menuEnabledNode a span {
    color: #222 !important;
    text-decoration: underline !important;
}

.sys-form-invalid {
    background: #ffeeee url('images/invalid_line.gif') repeat-x bottom;
    border: 1px solid #dd7870;
}

/*==============================================================================
 *
 *============================================================================*/

.sys-kernel-msg-error {
    color: #572210;
    padding: 10px;
    padding-left: 40px;
    border: 1px solid #984123;
    background-image: url('images/exclamation.gif');
    background-color: #f4d1c5;
    background-repeat: no-repeat;
    background-position: 10px;
    margin-bottom: 20px;
    clear: both;
}

.sys-kernel-msg-info {
    color: #66b62b;
    padding: 10px;
    border: 1px solid #c2fc97;
    background-color: #e7fcd8;
    background-repeat: no-repeat;
    background-position: 10px;
    margin-bottom: 20px;
    clear: both;
}

/**
 *
 */
.placeHeader {
    background: url(images/iface/place_header.png) no-repeat left bottom;
    height: 30px;
    font-size: 12px;
    text-align: left;
    padding-left: 70px;
    border-bottom: 2px solid #7b9dbc;
    line-height: 35px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
}

.row1, .row2{
    padding: 10px;
}

/****************************|
|**  ДОПОЛНИТЕЛЬНЫЕ СТИЛИ  **|
|****************************/

#a_back, .a_back{
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #99BBE8;
    border-radius: 4px 4px 4px 4px;
    padding: 3px 7px;
    display: inline-block;
    font-weight: normal;
}

#a_back:hover, .a_back:hover{
    box-shadow: inset 3px 3px 3px -1px rgba(0,0,0,0.2);
}

.row-active_0{
    background: #F5CDCD;
}

.row-active_1{
    background: #CAF2D9;
}

#props-product{
    width: 70%;
    margin: 0 auto;
    font-size: 10px;
}

#table-props{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#table-props *{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#table-props thead th:first-child {
    width: 70%;
}

#table-props thead th:last-child{
    width: 100px;
}

#table-props tbody td:last-child{
    text-align: center;
}

#table-props td, #table-props th{
    border: 1px solid #ABC6DD;
    padding: 5px;
}

#table-props th{
    background: #D2E2F4;
    font-weight: bold;
    white-space: nowrap;
}

#table-props .textinput{
    width: 100%;
}


#btn-add-props{
    display: inline-block;
    background: url(images/buttons/add.png) no-repeat 7px 10px #fff;
    padding: 10px 10px 10px 30px;
    border: 1px solid #ccc;
}

#catalog-category-menu {
    width:350px;
}
#catalog-tree {
    width:350px;
    height:700px;
    margin-right:30px;
}

#catalog-products {
    width:600px;
    height:500px;
    margin-left:380px;
}

#catalog-product-menu {
    width:600px;
    margin-left:380px;
}
.form-tree {
    width:400px;
    height:300px;
}
#siteTreeWindow {
    position:relative;
}

#product-chars td {
    vertical-align:top;
}

#product-chars td input[type=text],#product-chars td textarea {
    width:250px;
}
#product-chars td textarea {
    height:80px;
}

#product-chars table.chars {
    border:0;
    margin:0;
    border-collapse:collapse;
}
#product-chars table.chars td {
    padding:3px 10px;
    cursor:move;
}
#product-chars table.chars td a {
    display:inline-block;
    position:relatuve;
    padding:2px;
}
#product-chars table.chars td a:hover {
    opacity:0.5;
    filter:Alpha(opacity=50);
}

button.add {
    background-image: url(images/buttons/add.png) !important;
}
button.edit {
    background-image: url(images/buttons/edit.png) !important;
}
button.delete {
    background-image: url(images/buttons/delete.png) !important;
}


#product-info {
    background:#fff;
    border:1px solid #99bbe8;
    border-top:none;
    width:598px;
    height:199px;
    margin-left:380px;
}
#product-info .inner {
    padding:15px;
}
#product-info strong {
    font-weight:bold;
}
#product-info a {
    color:#00e;
    text-decoration:underline;
}
#product-info a:hover {
    text-decoration:none;
}


.stats-block {
    max-width:1000px;
    padding:25px;
    font-family:'Open Sans',sans-serif;
}

.stats-block p {
    color:#5b5b5b;
    font-size:16px;
    font-weight:bold;
    line-height:25px;
    padding-right:300px;
    position:relative;
}

.stats-block p a {
    font-size:16px;
    font-weight:bold;
    line-height:25px;
    color:#2e5eae;
    text-decoration:none;
}

.stats-block p a.btn {
    text-transform:uppercase;
    font-size:16px;
    font-weight:bold;
    color:#454545;
    border-radius:5px;
    background:#ffefcb;
    padding:8px 30px;
    position:absolute;
    right:5px;
    top:50%;
    margin-top:-20px;
    border:1px solid #bfbfbf;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    box-shadow: 0 0 1px #FFFFFF inset;
    text-shadow: 0 1px 0 #FFFFFF;
    background-image: linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -o-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -moz-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -webkit-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);
    background-image: -ms-linear-gradient(bottom, rgb(248,214,134) 37%, rgb(255,240,207) 68%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.37, rgb(248,214,134)),
        color-stop(0.68, rgb(255,240,207))
        );
}

.stats-block p a.btn:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 3px #FFFFFF inset;
    border-color: #999;
}

.stats-block hr {
    background:none;
    border:none;
    border-top:1px solid #d7d7d7;
    margin:15px 0 20px;
}

.stats-block .phone-block {
    padding-right:100px;
    padding-left:81px;
    color:#000;
    background:url(/admin/skin/images/icon-phone.png) no-repeat left center;
}

.photogallery img {
    max-width:200px;
}

table.chars td,table.chars th {
    padding:5px;
}
table.chars th {
    font-size:16px;
    font-weight:bold;
}

/* form uploaded images */
#a_back_gallery{
    background: url(images/back.png) no-repeat center center;
    padding: 10px 25px;
    display: inline-block;
    font-weight: 600;
}
.clear{
    clear:both;
}
.new_category_button{
    display: inline-block;
    padding: 10px 10px 10px 5px;
    margin-bottom: 15px;
    border: 1px solid #99BBE8;
    border-radius: 4px 4px 4px 4px;
    min-width: 170px;
    font-weight: bold;
}
.new_category_button > *{
    display: inline-block;
    margin-right: 7px;
}
.ui-state-highlight{
    border: 2px dashed #ccc !important;
    background: transparent !important;
    vertical-align: top;
}
.nomargin{
    margin: 0;
}
#sortable{
    display:block;
    max-width:100%;
    background-color:#F5F9FD;
    border-radius:10px;
    padding:10px ;
    border: 1px solid #D1DCEB;
    position:relative;
}
#sortable li{
    display:inline-block;
    padding: 10px;
    margin:3px 5px;
    border: 2px solid #99BBE8;
    border-radius: 4px 4px 4px 4px;
    text-align:center;
    width:170px;
    height: 170px;
    background: #E4EFFA;
    vertical-align: top;
}
#sortable li img{
    margin-top:0px;
    max-width:100%;
    max-height:95px;
}
#sortable li img.item_img{
    display:block;
    margin:0 auto;
}
#sortable li:hover {
    background:#fff;
    cursor: move;
}
#sortable li p{
    height: 35px;
    overflow: hidden;
    line-height: 18px;
    margin:5px 0;
}
#sortable li ul{
    display:none;
    position:absolute;
    background:#fff;
    border: 1px solid #99BBE8;
    border-radius: 4px 4px 4px 4px;
}
#sortable li ul li{
    display:block;
}
#sortable li:hover ul{
    display:block;
}

.title_items_block{
    margin-bottom:30px;
}
.gallery_info_block{
    float:left;
    width:300px;
    margin-right:50px;
}
.gallery_info_block img{
    max-width:100%;
}
.new_items_form {
    width:700px;
    margin: 0 auto;
}
.album_header{
    text-align: left;
    overflow: hidden;
}
.count_photos{
    float: right;
    font-style: italic;
}

/* reservations */
.reservation_table td.row2:nth-child(4) {
    width: 300px;
}

.adm-textinput{
    font-size: 12px;
    padding: 5px 7px;
    border: 2px solid #D1DCEB;
    border-radius: 2px;
    width: 100%;
}

.adm-btn, .adm-textinput{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.adm-textinput:focus{
    border-color: #99BBE8;
}

.adm-label-field{
    font-size: 14px;
    margin: 10px 0;
    display: inline-block
}

.adm-btn{
    -moz-user-select: none;
    border: 2px solid #ccc;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 0;
    padding: 5px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    color: #333333;
    background-color: #FFF0CF;
}

.adm-btn:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.adm-btn:hover,
.adm-btn:focus {
    color: #333333;
    background-color: #FBE1A5;
    border-color: #adadad;
    text-decoration: none;
}
.adm-btn:active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.info-pane{
    background: #FCF8E3;
    border: 1px solid #FAEBCC;
    padding: 15px;
    margin-bottom: 20px;
    color: #8a6d3b;
    /*text-align: right;*/
}

.info-pane a{
    color: #66512c;
    text-decoration: underline;
    font-weight: bold;
}

.info-pane hr{
    border: 0;
    height: 1px;
    background: #FAEBCC;
    margin: 10px 0;
}

.org-header {
    color: #940000;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 15px;
}

.x-tree-node{
    font-size: 14px !important;
}
.x-tree-node-el{
    line-height: 22px !important;
}

