﻿/* Стили связнные с Header */
/*.site-layout-sub-header-background {
    background: #fff;
    box-shadow: 0px 2px 8px 0px #00000026 !important;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.remove-indents {
    margin-bottom: 0;
    margin-top: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.left-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    Width: 160px;
    Height: 30px;
    background-color: #F5F5F5;
    border: 1px solid #D9D9D9;
    border-radius: 2px 0px 0px 0px;
    color: #00000040;
}

.caret-right {
    color: #FFFFFF;
    background-color: #1890FF;
}

.square {
    color: #FFFFFF;
    background-color: #1890FF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square-icon {
    background-color: #FFFFFF;
    border: 1px solid #1890FF;
    width: 14px;
    height: 14px;
}

.phone {
    color: #1890FF;
    background-color: #FFFFFF;
    border: 1px solid #1890FF;
}

.bell {
    background-color: #1890FF;
    margin-left: 20px;
}*/

/* Стили связнные с Sider */
/*.site-layout-background {*/
/*    background: #002329 !important;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;*/
/*height: 100vh;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-color: #1890FF black;
    scrollbar-width: thin;
}

.logo {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.logo-img {
    max-width: 80%;
    display: block;
    margin: 0 auto;
}

.menu-container {
    display: flex;
    flex-direction: column;
    height: 90%;
}

.additional-menu {
    margin-top: auto;
}*/

/* Стили связнные с Content */
/*.content-style {
    margin: 24px 16px;
    padding: 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}*/

/* Стили связнные с Alert */
/*.alert-box-style {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 1;
}

.alert-style {
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 200%);
}

.content-disabled {
    opacity: 0.5;
    pointer-events: none;
}*/


/* Стили связнные с footer */
/*.footer__contacts {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
}

.page-title {
    font-family: Roboto;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-align: left;
    margin-top: 14px;
    margin-bottom: 0 !important;
}

.content__header {
    padding: 16px 24px;
    gap: 14px;
    background-color: #FFFFFF;
    margin-left: -12px;
    margin-right: -12px;
    margin-top: -12px;
    position: relative;
    margin-bottom: 12px;
    flex: 0 0 auto;
}*/

.site-layout {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 800px){
    .site-layout {
        min-width: 1400px;
    }
}

.footer__contacts {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
}

.page-title {
    font-family: Roboto;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-align: left;
    margin-top: 14px;
    margin-bottom: 0 !important;
}

.content__header {
    gap: 14px;
    background-color: #FFFFFF;
    position: relative;
    flex: 0 0 auto;
    padding-bottom: 6px;
}

    .content__header > .ant-page-header-heading {
        margin: 0px;
    }


/* Стили связнные с Header */
.ant-layout-header {
    height: 48px;
}

.site-layout-sub-header-background {
    background: #fff;
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.15);
    clip-path: inset(0 0 -12px 0);
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.left-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    Width: 160px;
    Height: 30px;
    background-color: #F5F5F5;
    border: 1px solid #D9D9D9;
    border-radius: 2px 0px 0px 0px;
    color: #00000040;
}

.toolbar {
    display: flex;
    gap: 10px;
}

.toolbar .phone {
    background-color: #019AA9;
    color: white;
}

.toolbar .notif-wrapper {
    cursor: pointer;
}

.toolbar .bell {
    background-color: #E6F7FF;
    color: #019AA9;
    border: 1px solid #019AA9;
}

.caret-right {
    color: #FFFFFF;
    background-color: #1890FF;
}

.square {
    color: #FFFFFF;
    background-color: #1890FF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square-icon {
    background-color: #FFFFFF;
    border: 1px solid #1890FF;
    width: 14px;
    height: 14px;
}


/* Стили связнные с Sider */
.logo {
    background-color: white;
    padding: 6.5px 36px;
    height: 48px;
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.15);
}

.navbar-item, .ant-menu-submenu-title {
    width: calc(100% - 12px) !important;
    height: auto !important;
    line-height: 22px !important;
    margin: 0 0 5px 12px !important;
    padding: 5px 0 5px 12px !important;
    border-radius: 8px 0 0 8px;
    user-select: none;
}

.ant-menu-submenu-title {
    margin-bottom: 0 !important;
}

.navbar-submenu {
    margin-bottom: 5px;
}

.ant-menu-submenu-open > .ant-menu-sub {
    backdrop-filter: brightness(1.12);
    border-radius: 8px 0 0 8px;
    width: calc(100% - 12px) !important;
    padding-top: 4px !important;
    margin-left: 12px !important;
}

.ant-menu-title-content > span {
    display: -webkit-inline-box;
}

.ant-menu-sub > .navbar-item {
    padding-left: 36px !important;
    margin-left: 0 !important;
    margin-bottom: 4px !important;
    width: 100% !important;
}

.navbar-item:last-of-type {
    margin-bottom: 0 !important;
}

.navbar-item > .anticon, .navbar-item > span > a, .ant-menu-title-content {
    color: white !important;
    white-space: normal;
    word-wrap: break-word;
}

.ant-menu-submenu-title:has(+ .ant-menu-sub .ant-menu-item-selected) {
    border-bottom-left-radius: 0px;
    backdrop-filter: brightness(1.08);
}

.ant-menu-submenu-title:has(+ .ant-menu-hidden .ant-menu-item-selected) {
    border-bottom-left-radius: 8px;
}

.ant-menu-sub:has(.ant-menu-item-selected) {
    border-top-left-radius: 0px !important;
}

.ant-menu-title-content > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 16px;
}

.ant-menu-item-selected {
    background-color: #E6F7FF !important;
    border-right: solid 3px #F76EBF !important;
}

    .ant-menu-item-selected a {
        padding-right: 13px;
    }

    .ant-menu-item-selected > .anticon, .ant-menu-item-selected > span > a {
        color: #F76EBF !important;
    }

.site-layout-background {
    background: rgb(1,154,169) !important;
    background: linear-gradient(130deg, rgba(1,154,169,1) 0%, rgba(2,115,126,1) 35%, rgba(10,93,101,1) 100%) !important;
}

.menu-container {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    padding: 20px 0;
    height: calc(100% - 48px);
}

.additional-menu {
    margin-top: auto;
}


/* Стили связнные с Content */
.content-style {
    /* margin: 24px 16px; */
    min-height: 280px;
    background-color: #F0F2F5;
    height: calc(100vh - 204px);
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
}

.remove-indents {
    margin-bottom: 0;
    margin-top: 0;
}

.site-layout-background {
    height: 100vh;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-color: #0195a3 black;
    scrollbar-width: thin;
}


/* Стили связнные с Alert */
.alert-box-style {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 1;
}

.alert-style {
    position: absolute;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 200%);
}

.content-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.ant-menu {
    background: transparent !important;
}

th.ant-table-cell.action-column {
    width: 190px !important;
    text-align: center;
}

th.ant-table-cell.ant-table-selection-column {
    width: 48px !important;
}

/* tinymce */
button[data-mce-name="styles"] { width: 200px !important; }
button[data-mce-name="fontfamily"] { width: 200px !important; }

button[data-mce-name="fontfamily"] > span,
button[data-mce-name="styles"] > span { width: 100% !important; }

button[data-mce-name="fontsize"] { width: 60px !important; }
