:root {
    --atomHeight: 8px;
    --aHeight-2: 16px;
    --aHeight-3: 24px;
    --aHeight-4: 32px;
    --aHeight-5: 64px;
    --menuWidth: 256px;
}

@font-face {
    font-family: 'SanFran';
    src: url('../fonts/SFRegular.ttf');
    src: url('../fonts/SFRegular.ttf') format('truetype'),
        url('../fonts/SFRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SanFranBold';
    src: url('../fonts/SFBold.ttf');
    src: url('../fonts/SFBold.ttf') format('truetype'),
        url('../fonts/SFBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SanFranMedium';
    src: url('../fonts/SFMedium.ttf');
    src: url('../fonts/SFMedium.ttf') format('truetype'),
        url('../fonts/SFMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    background: #f0f2f5 !important;
    color: #323232;
    font-family: 'SanFran', 'Helvetica CY', Arial, sans-serif;
    font-style: normal;
    letter-spacing: -0.8px;
    /* height: 100vh; */
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
    text-decoration: none;
    outline: 0;
}

a[disabled] {
    cursor: not-allowed;
    pointer-events: none;
}

/*------------ Базовые размеры  ------------- */
/* Тут вообще неплохо бы использовать CSS переменные (код ниже), но в Firefox это почему-то перестало работать
после последнего обновления репозитория, возможно я что-то упустил.
.atomHeight {  height: var(--atomHeight); }
.aHeight-2 {  height: var(--aHeight-2); }
.aHeight-3 {  height: var(--aHeight-3); }
.aHeight-4 {  height: var(--aHeight-4); }
.aHeight-5 {  height: var(--aHeight-5); }
.standartEmptyStrokeHeight {  height: var(--aHeight-3); }
*/

.atomHeight {
    height: 8px;
}

.aHeight-2 {
    height: 16px;
}

.aHeight-3 {
    height: 24px;
}

.aHeight-4 {
    height: 32px;
}

.aHeight-5 {
    height: 64px;
}

.standartEmptyStrokeHeight {
    height: 24px;
}

.basicForm {
    max-width: 1136px;
    margin: 0 auto;
    position: relative;
}

/*------------ Основная вёрстка шаблона  ------------- */

#mainFrame {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.App {
    display: table;
    width: 100%;
    height: 100vh;
    position: fixed;
}

.App>div {
    display: table-cell;
    vertical-align: top;
}

.headerRowContainer,
#mainContent,
#footer .innerContainer {
    max-width: 1136px;
}

#mainSheet {
    margin-top: 64px;
    word-wrap: break-word;
    overflow-y: auto;
    height: calc(100vh - 64px);
}

/*------------ Элементы оформления  ------------- */

.clearfix {
    float: none;
    clear: both;
    zoom: 1;
}

.clearfix::before,
.clearfix::after {
    content: '';
}

.clearfix::after {
    clear: both;
}

.fullWidth {
    width: 100%;
}

.centerText {
    text-align: center;
}

/*------------ Хедер  ------------- */

#header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    display: table;
    z-index: 100;
    transition: all 0.3s ease-in-out;
}

/* #header.menuActive {
    left: 128px;
} */

#header .Burger {
    cursor: pointer;
    min-width: 48px;
}

#headLogoContainer #mainLogo {
    height: 40px;
    display: block;
}

#headLogoContainer a {
    display: table-cell;
    vertical-align: middle;
    height: 64px;
    text-decoration: none;
    font-size: 120%;
}

.logoCell {
    display: table-cell;
    vertical-align: middle;
    min-width: 72px;
    height: 64px;
    font-size: 24px;
}

#headNotifContainer {
    text-align: center;
}

.notify {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.notify .notifyIcon {
    display: inline-block;
    margin-right: 9px;
}

.notify .notifyTxt {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.7px;
    color: #9b9b9b;
}

.notify .notifyIcon svg {
    width: 18px;
    height: 24px;
    fill: #9b9b9b;
}

.navbarUserblock {
    list-style-type: none;
    margin: 0px;
    height: 64px;
}

.navbarUserblock li {
    width: 100%;
}

#headUserContainer .oneStrokeHeight {
    line-height: 64px;
    display: inline-block;
    font-size: 130%;
}

.navbarUserblock .avatarContainer {
    vertical-align: middle;
    display: table;
    height: 64px;
    width: 100%;
}

.headerCell .avatarImgContainer,
.avatarTextContainer {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

.headerCell .avatarImgContainer {
    height: 48px;
    text-align: right;
    padding-right: 10px;
}

.headerCell .avatarImgContainer img {
    max-width: 48px;
    border-radius: 24px;
}

.headerCell .avatarTextContainer {
    width: 180px;
}

#headerRow {
    height: 64px;
}

#captionRow {
    background: #fff;
}

#headerNavBar {
    width: 100%;
}

#headerNavBar ul {
    margin: 0;
    height: 64px;
    list-style-type: none;
    padding: 0;
    display: table-cell;
    font-size: 120%;
    float: left;
}

#headerNavBar li {
    display: inline-block;
    height: 64px;
    line-height: 64px;
    margin-left: 30px;
    border: 5px solid transparent;
    border-top: 0px;
    box-sizing: border-box;
}

#headerNavBar li:first-child {
    margin-left: 0px;
}

.pageCaption {
    display: table;
    width: 100%;
}

.pageCaption .captionHeading {
    font-size: 24px;
    letter-spacing: -1.2px;
    color: #323232;
}

.topBreadcrumbs {
    display: table-cell;
}

.headerRowContainer {
    margin: 0 auto;
    display: table;
    width: 100%;
}

.headerCell {
    display: table-cell;
    height: 64px;
    width: 33.3%;
    float: left;
}

.headerCell .user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: inherit;
}

.headerCell .userInfo {
    width: 100%;
    text-align: right;
    margin-right: 12px;
}

.headerCell .userImage {
    width: 40px;
}

.headerCell .notifications {
    height: inherit;
}

.headerCell .userImage img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.headerCell .userFio,
.headerCell .userRole {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.7px;
}

.questionPopup {
    cursor: pointer;
}

.headerCell .userFio {
    color: #323232;
}

.headerCell .userRole {
    color: #9b9b9b;
}

.headerCell .nameLegal {
    color: #9b9b9b;
}

.top-btn-area {
    width: 200px;
    z-index: 100;
    display: table-cell;
    text-align: right;
}

.filtersArea .ant-select {
    width: 100%;
}

/*------------ Фиксированный подвал на некоторых экранах  ------------- */

#footer {
    position: fixed;
    width: 100%;
    height: 64px;
    bottom: 0px;
    left: 0px;
    background: #fff;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.2);
}

/* #footer.menuActive {
    left: 128px;
} */

#footer .innerContainer {
    margin: 0 auto;
}

/*------------ МенюБургер  ------------- */

/* Без этого правила, меню будет отображаться при широком экране в любом случае */
.mainMenuContainer:not(.showMenu),
.mainMenuContainer:not(.showMenu) .mainMenu {
    display: none;
}

/* .mainMenuContainer {
	height: 100vh;
} */

.mainMenu {
    z-index: 200;
    height: 100%;
    top: 0;
}

/*
глобальная зависимость, кто занимается меню просьба удалить если она не нужна
если нужна то избавиться от глобальной зависимости

.ant-menu-root {
	height: 100vh;
	overflow-y: auto;
}

*/

.mainMenu .caption {
    width: 100%;
    height: 64px;
    background-color: #00a8ff;
    font-family: 'SanFranMedium';
    font-size: 24px;
    letter-spacing: -1.2px;
    color: #ffffff;
}

.wrapperMenu {
    width: 100%;
    height: 100%;
    top: 0;
    left: 256px;
    position: fixed;
    z-index: 50;
    background: none;
}

#orderCreateShape {
    margin-left: 10px;
}

@media (min-width: 1700px) {
    .mainMenuContainer:not(.noLogin) {
        display: table-cell;
    }

    .mainMenuContainer:not(.noLogin) .mainMenu {
        display: block;
    }

    /*.Burger {*/
    /*    display: none;*/
    /*}*/

    .mainMenuContainer {
        width: 256px;
    }

    .mainMenu {
        transform: translateX(0px);
    }

    .mainMenu .caption {
        padding: 17px 18px;
    }

    .wrapperMenu {
        display: none;
    }

    /* #header:not(.noLogin) {
        padding-left: 256px;
    } */

    /* #footer:not(.noLogin) {
        padding-left: 256px;
    } */
}

@media (max-width: 1700px) {
    .mainMenuContainer.showMenu {
        width: 256px;
    }

    .mainMenuContainer.showMenu .mainMenu {
        width: 256px;
        transform: translateX(0);
    }

    .mainMenuContainer.showMenu .caption {
        padding: 17px 18px;
    }

    .mainMenuContainer:not(.showMenu) {
        width: 0px;
        transform: translateX(-256px);
    }

    .mainMenuContainer:not(.showMenu) .mainMenu {
        width: 0px;
        transform: translateX(-256px);
    }

    .mainMenuContainer:not(.showMenu) .caption {
        padding: 0px;
    }

    .mainMenuContainer:not(.showMenu) .wrapperMenu {
        display: none;
    }
}

.grecaptcha-badge { 
    visibility: hidden;
}
