﻿/* Таблица стилей главного меню модуля */

#mmenu /* Оболочка главного меню */
{
    position: fixed;
    width: 240px;
    margin-right: 40px;
    position: fixed;
    z-index: 99;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #efeeed white;
}

.mm_block    /* Блок меню */
{
    width: 210px;
    background-color: #efeeed;
    border: 1px solid #e2e0df;
    margin-bottom: 4px;
    padding: 10px;
}

.mmb_cell /* Элемент блока меню */
{
    padding: 5px 0;
    color: #654790;
}
.mmb_cell.active  /* Элемент активного блока меню db */
{
}

.dbb.wrap .mmb_cell    /* Элемент меню db в свернутом состоянии */
{
    display: none;
}
.dbb.wrap .mmb_cell.active   /* Элемент активного меню db в свернутом состоянии */
{
    display: block;
}
.dbb:not(.wrap) .mmb_cell.active /* Элемент активного меню db в свернутом состоянии */
{
    font-weight:bold;
}

.dbb div:hover /* Все элементы меню db под мышкой*/
{
    cursor: pointer;
    text-decoration: underline;
}

.mmb_head /* Заголовок блока меню db */
{
    color: #db6f00;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

.dbb.wrap .mmb_head::after
{
    content: '▼';
    position: absolute;
    right: 10px;
    top: 5px;
}

.dbb .mmb_head::after
{
    content: '▲';
    position: absolute;
    right: 10px;
    top: 5px;
}

body #cnt
{
    margin-left: 248px;
}

.mmb_ctrl
{
    text-align: center;
    margin-right: 20px;
}

.mmb_ctrl button:disabled
{
    color: gray;
    cursor: not-allowed;
}

.mmb_ctrl button
{
    height: 23px;
    border: 0;
    background-color: transparent;
    border-radius: 8px;
    outline: none;
    margin: 2px 8px;
}
.mmb_ctrl button:hover:enabled
{
    cursor: pointer;
    background-color: #cadffd;
}

.mmb_cab_name
{
    display: block;
    padding: 10px 2px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 5px;
}

.mmb_cab_name
{
    color: #792016;
    font-weight: normal;
    text-align:left;
}

.cab_name span
{
    color: #792016;
    font-weight: normal;
    font-size: 13px;
    line-height: 19px;
}

