:root {
    /* theme defaults: */
    --bg-dark: #1A1F22;
    --bg-light: #ECECEC;
    --buttons-dark: #353D40;
    --buttons-light: #ffffff;
    --text-dark: #99a6a8;
    --text-light: var(--brand-2);
    --player-bg: #272D2F;
}

/* pt-sans-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.svg#PTSans') format('svg');
    /* Legacy iOS */
}

/* pt-sans-700 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.svg#PTSans') format('svg');
    /* Legacy iOS */
}

html {
    height: 100dvh;
}

body {
    background-color: var(--background-col);
    background-image: var(--background-img);
    color: var(--text);
    padding: 0;
    margin: 0;
    overflow-x: hidden;

    font-family: 'PT Sans', sans-serif;

    height: 100dvh;
    /*min-height: -webkit-fill-available;*/
}

@media screen and (min-width: 1025px) {
    .mobile-only {
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    body {
        -webkit-overflow-scrolling: touch !important;
    }

    .desktop-only,
    .mobile-hidden {
        display: none !important;
    }

    .mobile-only {
        display: flex;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
}

.headline-1 {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.text-1 {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.text-2 {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.text-3 {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.text-4 {
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.39px;
    text-transform: uppercase;
}

.text-5 {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.text-chat {
    color: var(--brand-3);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.text-underline {
    text-decoration: underline;
}

.text-white {
    color: var(--text);
}

.text-dark {
    color: var(--dark);
}

.text-brand-1 {
    color: var(--brand-1);
}

.text-brand-2 {
    color: var(--brand-2);
}

.text-brand-3 {
    color: var(--brand-3);
}

.text-reg {
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-700 {
    font-weight: 700;
}

.button-2 {
    font-family: PT Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.overlay {
    display: none;
    position: absolute;
    background-color: #000;
    opacity: .4;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 11;
}

@media screen and (max-width:1024px) {
    .overlay {
        height: 100dvh;
    }
}

.overlay.show {
    display: flex;
}

.opacity-5 {
    opacity: .5;
}

.order--1 {
    order: -1;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

.order-3 {
    order: 3;
}

.order-4 {
    order: 4;
}

.order-5 {
    order: 5;
}

.flex-row {
    flex-direction: row !important;
}

.justify-end {
    justify-content: flex-end;
}

.justify-front {
    justify-content: flex-start;
}

.hidden {
    visibility: hidden;
}

.display-none {
    display: none !important;
}

.display-flex {
    display: flex !important;
}

/* icons */
.eye-item {
    background-image: var(--eye-item);
}

.eye-item.eye-hidden {
    background-image: var(--eye-item-hidden);
}

.info-item {
    background-image: var(--info-item);
}

.info-item:hover {
    background-image: var(--info-item-hover);
}

.chat-item {
    background-image: var(--chat-item);
}

.chat-item:hover {
    background-image: var(--chat-item-hover);
}

@media screen and (max-width:1024px) {
    .chat-item {
        background-image: var(--chat-item-m);
    }

    .chat-item:hover {
        background-image: var(--chat-item-m-hover);
    }
}
/* burger deprecated
.burger-icon {
    background-image: var(--burger-icon);
}

.burger-icon:hover {
    background-image: var(--burger-icon-hover);
}

.burger-icon.no-border,
.burger-icon.no-border:hover {
    background-image: var(--burger-icon-no-border);
}

.burger-icon.show,
.burger-icon.no-border.show,
.burger-icon.show:hover,
.burger-icon.no-border.show:hover {
    background-image: var(--burger-icon-show);
}

@media screen and (max-width:1024px) {
    .burger-icon {
        background-image: var(--burger-icon-m);
    }

    .burger-icon:hover {
        background-image: var(--burger-icon-m-hover);
    }

    .burger-icon.no-border {
        background-image: var(--burger-icon-m-no-border) !important;
    }

    .burger-icon.show,
    .burger-icon.show,
    .burger-icon.no-border.show,
    .burger-icon.show:hover,
    .burger-icon.no-border.show:hover {
        background-image: var(--burger-icon-m-show);
    }
}
*/
.my-cases {
    background-image: var(--my-cases);
}

.download-cases {
    background-image: var(--download-cases-m);
}

.recent-cases {
    background-image: var(--recent-cases);
}

.exit {
    background-image: var(--exit);
}

.info {
    background-image: var(--info);
}

.share {
    background-image: var(--share);
}

.download {
    background-image: var(--download);
}

.settings {
    background-image: var(--settings);
}

.settings::before {
    background-color: unset;
}

.settings.show {
    background-image: var(--settings-show);
}

.close {
    background-image: var(--close);
}

.close::before {
    background-color: transparent !important;
}

.close-chat-icon {
    background-image: var(--close-chat-icon);
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
}

.close-chat-icon:hover::before {
    background-color: transparent !important;
}

.theme-switch {
    background-image: var(--theme-switch);
}

.fio {
    background-image: var(--fio);
}

.phone {
    background-image: var(--phone);
}

.invite {
    background-image: var(--invite);
}

.email {
    background-image: var(--email);
}

.password {
    background-image: var(--password);
}

.attachment {
    background-image: var(--attachment);
}

.send {
    background-image: var(--send);
}

.play {
    background-image: var(--play) !important;
}

.viewer-playing::before {
    background-color: var(--bg-hover-icon-2) !important;
    border: 1px solid #0000 !important;
}

.arrow-left {
    background-image: var(--arrow-left);
}

.arrow-right {
    background-image: var(--arrow-right);
}

.lock-open {
    background-image: var(--lock-open);
}

.lock-closed::before {
    background-color: var(--bg-hover-icon-2) !important;
    border: 1px solid #0000 !important;
}

.lock-closed {
    background-image: var(--lock-closed);
}

.repeat-playback::before {
    background-color: var(--bg-hover-icon-2) !important;
    border: 1px solid #0000 !important;
}

.compare-a {
    background-image: var(--compare-a);
}

.compare-b {
    background-image: var(--compare-b);
}

.reverse {
    background-image: var(--reverse);
}

.jaw-top {
    background-image: var(--jaw-top);
}

.jaw-front {
    background-image: var(--jaw-front);
}

.jaw-bottom {
    background-image: var(--jaw-bottom);
}

.jaw-bones {
    background-image: var(--jaw-bones);
}

.jaw-sideview-right {
    background-image: var(--jaw-sideview-right);
}

.jaw-sideview-left {
    background-image: var(--jaw-sideview-left);
}

.jaw-opened {
    background-image: var(--jaw-opened);
}

.jaw-frontview {
    background-image: var(--jaw-frontview);
}

.jaw-backview {
    background-image: var(--jaw-backview);
}

.chevron-down {
    background-image: var(--chevron-down);
    background-size: unset !important;
}

.app {
    display: flex;
    width: 100%;
    height: 100dvh;
    max-width: unset;
    overflow: hidden;
    justify-content: center;
    margin: 0 auto;
    min-height: 100dvh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 100%;
    /*gap: 24px;*/
    padding: 22px 16px 0 16px;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

@media screen and (max-width:1024px) {
    .app {
        overflow: unset;
        height: 100%;
        min-height: 100dvh;
    }

    .container {
        justify-content: space-between;
        padding: 16px;
        width: 100%;
    }
}

.container-fluid {
    display: flex;
    flex-direction: row;
    margin: 0 12px;
    gap: 24px;
    flex-wrap: wrap;
    height: 100%;
}

.row {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    flex: 0 1 100%;
    justify-content: space-between;
    height: 100%;
    max-height: 600px;
}

@media screen and (max-width:1024px) {
    .container-fluid {
        align-items: flex-start;
    }

    .row {
        gap: 24px;
    }
}

.col-1 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 8.33%;
    max-width: 8.33%;
    box-sizing: border-box;
}

.col-2 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 16.66%;
    max-width: 16.66%;
    box-sizing: border-box;
}

.col-3 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 25%;
    max-width: 25%;
    box-sizing: border-box;
}

.col-4 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
}

.col-5 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 41.66%;
    max-width: 41.66%;
    box-sizing: border-box;
}

.col-6 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 50%;
    max-width: 50%;
    box-sizing: border-box;
}

.col-7 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 58.33%;
    max-width: 58.33%;
    box-sizing: border-box;
}

.col-8 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 66.66%;
    max-width: 66.66%;
    box-sizing: border-box;
}

.col-9 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 75%;
    max-width: 75%;
    box-sizing: border-box;
}

.col-10 {
    display: flex;
    flex-basis: 83.33%;
    max-width: 83.33%;
    box-sizing: border-box;
}

.col-11 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 91.66%;
    max-width: 91.66%;
    box-sizing: border-box;
}

.col-12 {
    display: flex;
    flex: 1 0 auto;
    flex-basis: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width:1024px) {
    .col-xs-12 {
        display: flex;
        flex: 1 0 auto;
        flex-basis: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

/* header */
header {
    width: 100%;
    height: 72px;
    display: flex;
    margin-bottom: 10px;
    flex: 0 1 10%;
}

.navbar {
    display: flex;
    flex-direction: row;
    flex: 0 1 100%;
    justify-content: space-between;
    height: 72px;
}

.navbar-menu {
    display: flex;
    flex-direction: row;
    flex: 0 1 100%;
    justify-content: flex-end;
    align-items: center;
    height: 72px;
    gap: 15px;
    position: relative;
}

.navbar-menu .buttons {
    display: flex;
    flex-direction: row;
    gap: 36px;
}

.navbar-menu .navbar-buttons-wrapper {
    z-index: 12;
    display: flex;
}

nav {
    display: flex;
    position: relative;
}

/* burger deprecated
#menu {
    display: none;
    transform: translateY(90px)translateX(-260px);
}

#menu a,
#menu a:hover {
    text-decoration: none;
    color: var(--brand-3);
}

#menu.show {
    display: flex;
}

#menu::before {
    content: "";
    width: 101%;
    height: 490px;
    left: -1px;
    transform: translateY(-90px);
    position: absolute;
    background-repeat: no-repeat;
    background-image: var(--burger-menu);
}

@media screen and (max-width:1024px) {
    #menu {
        transform: translateY(90px)translateX(-280px);
    }

    #menu::before {
        background-image: var(--burger-menu-m);
    }
}
*/



#settings.show {
    display: flex;
    margin: 0 3px;
}

#settings li.nav-item {
    width: unset !important;
}

.nav-overlay {
    flex-direction: column;
    min-width: 341px;
    height: fit-content;
    position: absolute;
    z-index: 11;
    border-top-right-radius: 0;
}

@media screen and (max-width:1024px) {
    .nav-overlay {
        min-width: 342px;
    }
}

.nav-overlay ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    position: relative;
    user-select: none;
    padding: 0;
    margin: 0;
}

.nav-overlay ul>.nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    height: 48px;
    padding-left: 12px;
    cursor: pointer;
}

.nav-item:hover {
    background-color: var(--menu-hover);
}

.nav-item:active {
    background-color: var(--menu-hover);
    color: var(--text);
}

.nav-item:active .nav-icon {
    filter: brightness(2) sepia(0) hue-rotate(0deg) saturate(0);
}

.checkbox.nav-item:active,
.checkbox.nav-item:active .nav-icon,
.checkbox.nav-item:hover {
    filter: unset !important;
    color: unset !important;
}

.nav-item.checkbox label {
    cursor: pointer !important;
}

.nav-item.extended {
    flex-wrap: wrap;
    min-height: 80px;
    gap: 10px !important;
    padding-top: 12px;
    padding-bottom: 16px;
}

.nav-item.extended .slider {
    display: flex;
    flex-direction: column;
    cursor: default;
    flex: 0 1 100%;
    padding-left: 36px;
    align-items: flex-start;
    position: relative;
    gap: 7px;
    opacity: 1;
}

.nav-item.extended .slider .ui-slider {
    display: flex;
    position: relative;
    max-width: 250px;
    height: 25px;
    justify-content: flex-start;
    align-items: center;
}

.nav-item.extended .slider .ui-slider .amount span {
    z-index: 4;
    text-align: center;
    cursor: pointer;
}

.nav-item.extended .slider .ui-slider .amount {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 20px;
    position: absolute;
    border-radius: 20px;
    border: 3px solid var(--bg-dark);
    z-index: 3;
    transform: translateX(-45px);
}

.nav-item.extended:hover .slider .ui-slider .amount {
    border: 3px solid var(--menu-hover);
    background: var(--menu-hover);
}

.nav-item.extended .slider .ui-slider .amount::before {
    content: "";
    position: absolute;
    cursor: pointer;
    width: 54px;
    height: 20px;
    border-radius: 20px;
    border: 3px solid var(--brand-3);
    background: var(--bg-dark);
    z-index: 3;
}

.nav-item.extended .slider .ui-slider .line {
    min-width: 250px;
    width: 100%;
    z-index: 1;
}

.nav-item.extended .slider.disabled {
    opacity: .25;
    cursor: not-allowed;
}

.nav-item.extended .slider.disabled .ui-slider .amount::before,
.nav-item.extended .slider.disabled .ui-slider * {
    cursor: not-allowed !important;
}

.nav-item.logout {
    flex-wrap: wrap;
    height: 72px;
    align-items: baseline;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px !important;
}

.nav-item .secondary {
    display: flex;
    flex: 0 auto;
    align-items: flex-start;
    margin-left: 32px;
    border-radius: 8px;
    background: var(--bg-hover-icon);
    padding: 2px 8px 2px 8px;
    opacity: var(--opacity-buttons);
}

.nav-overlay ul>.nav-item .text {
    max-width: 253px;
    width: 253px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 36px;
    gap: 10px;
    font-size: 18px;
}

.nav-overlay ul>.nav-item .nav-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar .logo img {
    height: var(--logo-size-desktop);
    position: absolute;
}

@media screen and (max-width:1024px) {
    .navbar .logo img {
        height: var(--logo-size-mobile);
        padding: 5px;
    }

    .navbar-menu {
        height: 55px;
        gap: 24px;
    }

    .navbar-menu .buttons {
        gap: 32px;

    }
}

/* ui */
.ui-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.ui-icon-24::before {
    content: "";
    display: flex;
    position: absolute;
    border-radius: 100px;
    background-color: transparent;
    z-index: -1;
    opacity: var(--opacity-buttons);
}

.ui-icon-24:hover::before {
    border: 1px solid transparent;
    background-color: var(--bg-hover-icon-2);
    opacity: 1;
}

.ui-icon-16 {
    min-width: 16px;
    width: 16px;
    height: 16px;
}

.ui-icon-24 {
    min-width: 24px;
    width: 24px;
    height: 24px;
}

.ui-icon-58 {
    min-width: 58px;
    width: 58px;
    height: 58px;
}

@media screen and (max-width:1024px) {
    .ui-icon-58 {
        min-width: 36px;
        width: 36px;
        height: 36px;
        background-size: 100%;
    }
}

.ui-icon-72 {
    min-width: 72px;
    width: 82px;
    height: 72px;
}

@media screen and (max-width:1024px) {
    .ui-icon-72 {
        min-width: 55px;
        width: 55px;
        height: 55px;
    }
}

/* buttons */
button.ui-button {
    color: var(--white);
    background-color: var(--brand-2);
    font-family: PT Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    outline: none;
    padding: 10px 12px;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    cursor: pointer;
}

button.ui-button:hover {
    background-color: var(--bg-hover-icon);
    border-color: var(--bg-hover-icon);
    color: var(--white);
}

button.ui-button:active {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

button.ui-button:disabled {
    background-color: var(--brand-2);
    border-color: var(--brand-3);
    color: var(--brand-2);
}

/* radio tabs */
.ui-tabs {
    display: flex;
    flex-direction: row;
    position: relative;
    padding-bottom: 7px;
    gap: 28px;
    user-select: none;
}

.ui-tab {
    display: flex;
    flex: 0 1 auto;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
}

.ui-tab label {
    position: relative;
    color: var(--brand-3);
    cursor: pointer;
}

.ui-tab:hover label {
    color: var(--text);
}

.ui-tab input[type=radio],
.popup-header input[type=radio] {
    appearance: none;
    position: relative;
    position: absolute;
    cursor: pointer;
}

.ui-tab.active label {
    color: var(--text);
}

.ui-tab.active label::after {
    content: "";
    display: flex;
    position: absolute;
    width: 100%;
    height: 2px;
    margin-bottom: -7px;
    background-color: transparent;
    bottom: 0;
    z-index: 12;
}

.ui-tab.active label::after {
    background-color: var(--text);
}

.ui-tabs::after {
    bottom: 0;
    content: "";
    display: flex;
    width: 100%;
    height: 1px;
    background-color: var(--text);
    position: absolute;
}

label.checkbox .text {
    color: var(--brand-3);
    /* font-size: 16px;  */
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.nav-icon .checkbox {
    position: relative;
    outline: none;
    margin: 0;
    appearance: none;
    cursor: pointer;
}

.nav-icon .checkbox::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
    background-image: var(--checkbox-inactive);
}

.nav-icon .checkbox:hover::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
    background-image: var(--checkbox-hover);
}

.nav-icon .checkbox:disabled::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
    background-image: var(--checkbox-disabled);
}

.nav-icon .checkbox:checked::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
    background-image: var(--checkbox-checked);
}

.form-control {
    display: flex;
    flex-direction: row;
    padding: 14px 16px;
    min-width: 300px;
    gap: 10px;
    border: 1px solid var(--grey);
    border-radius: 5px;
    position: relative;
}

.form-control.required::after {
    content: "";
    display: flex;
    width: 5px;
    height: 5px;
    right: -14px;
    position: absolute;
    top: 0;
    background-image: var(--icon-reqiured);
}

.form-control input[type=text],
.form-control input[type=email],
.form-control input[type=tel],
.form-control input[type=password] {
    background: unset;
    outline: unset;
    border: none;
    /* color: var(--brand-3); */
    color: var(--dark);
    display: flex;
    flex: 0 1 250px;
    opacity: 1;
}

.form-control input[type=text]::placeholder,
.form-control input[type=email]::placeholder,
.form-control input[type=password]::placeholder,
.form-control input[type=tel]::placeholder {
    color: var(--text);
    opacity: .5;
}

input[type=text]:focus,
.form-control input[type=email]:focus,
.form-control input[type=tel]:focus,
.form-control input[type=password]:focus,
input[type=text]:active,
.form-control input[type=email]:active,
.form-control input[type=tel]:active,
.form-control input[type=password]:active {
    color: var(--dark);
}

/* graphic ui */
.graphic {
    width: 100%;
    height: 326px;
    align-self: flex-end;
}

.graphic-container {
    width: 100%;
    height: 326px;
}

@media screen and (max-width:1024px) {
    .graphic {
        height: 35%;
        align-self: unset;
    }

    .graphic-container {
        height: 30vh;
    }
}

.graphic-model-loaded {
    display: flex;
    height: 100%;
    /* min-height: 300px; */
    min-height: calc(100vh - 500px);
    flex-direction: column;
}

.graphic-model-loaded .graphic-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.ui-dragging-hint-ring {
    background-image: url('../view-bottom.svg');
}

/* main */
main {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    /*min-height: 300px;*/
}

@media screen and (max-width:1024px) {
    main {
        flex-direction: column;
    }
}

/* footer */
footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    /*height: 72px;*/
    flex: 0 1 10%;
}

footer .footer-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex: 0 1 100%;
    align-self: center;
}

@media screen and (max-width:1024px) {
    footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: normal;
        padding-bottom: 16px;
    }

    footer .footer-container {
        flex-wrap: wrap;
    }

    footer .mobile-only {
        display: flex;
        flex: 0 1 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    footer .timeline {
        display: flex;
        flex: 0 1 100%;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
        position: relative;
    }
}

footer .footer-side-btn {
    display: flex;
    /* align-items: center; */
}

footer .footer-side-btn.hide {
    display: none;
}

@media screen and (max-width:1024px) {
    footer .footer-side-btn.hide {
        display: flex;
    }
}

footer .player {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    flex: 1 1 70%;
    padding: 0 52px;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    justify-content: space-around;
    height: 72px;
    background-image: var(--timeline-block);
    background-size: 100% 72px;
    background-repeat: no-repeat;
    max-width: 1190px;
    z-index: 1;
}

@media screen and (max-width:1024px) {
    footer .player {
        display: flex;
        flex-direction: row;
        flex: 0 1 50%;
        padding: 0;
        justify-content: center;
        align-items: center;
        gap: 12px;
        background: none;
    }
}

.player__desktop {
    gap: 25px;
    height: 72px;
}

footer .player .player__main,
.player__extra {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

@media screen and (max-width:1024px) {
    .player__main {
        gap: 34px !important;
    }

    .player__main .ui-icon-24 {
        background-size: 100%;
    }

    .player__main .ui-icon-24::before {
        background-color: var(--bg-hover-icon);
    }

    .player__main .arrow-left::before,
    .player__main .arrow-right::before {
        width: 36px;
        height: 36px;
        border-radius: 36px;
    }

    .player__main .arrow-left {
        order: 1;
    }

    .player__main .play {
        order: 2;
    }

    .player__main .arrow-right {
        order: 3;
    }
}

footer .player .player__timeline {
    display: flex;
    flex-direction: column;
    flex: 0 1 100%;
    position: relative;
    max-width: 823px;
    height: 12px;
    gap: 7px;
    user-select: none;
}

.loading {
    display: flex;
    flex: 0 1 100%;
    position: absolute;
    width: 100%;
}

@keyframes loading {
    0% {
        transform: translateX(0px);
    }

    25% {
        transform: translateX(5px) rotateZ(-1deg);
    }

    75% {
        transform: translateX(-5px) rotateZ(1deg);
    }

    100% {
        transform: translateX(0px);
    }
}

.loading .line {
    display: flex;
    flex: 0 1 100%;
    height: 25px;
    position: absolute;
    border-radius: 5px;
    padding: 0 6px;
    background-color: var(--loading-line);
    transform: translateY(-25%) translateX(-6px);
}

@media screen and (max-width:1024px) {
    .loading {
        position: absolute;
    }

    .loading .line {
        background-color: var(--loading-line-mob);
        transform: translateY(-7px)translateX(-6px);
        height: 15px;
    }
}

.loading .captions {
    transform: translateY(-20px);
}

.line {
    display: flex;
    flex: 0 1 100%;
    height: 3px;
    min-height: 3px;
    width: 100%;
    position: relative;
    background-color: var(--line);
}

.line .point {
    display: block;
    flex: 0 1 100%;
    width: 30%;
    font-size: 10px;
    top: -15px;
    position: absolute;
    cursor: pointer;
}

.line .point::before {
    content: "";
    display: block;
    width: 8.6px;
    height: 8.6px;
    transform: translateX(-4.3px) rotate(45deg);
    background-color: var(--bg-hover-icon);
    position: absolute;
    left: calc(100% * 1);
    top: 12px;
    z-index: 1;
}

.line .point::after {
    content: "";
    width: -webkit-fill-available;
    top: 15px;
    position: absolute;
    background-color: var(--brand-3);
    height: 3px;
}

@media screen and (max-width:1024px) {
    .line .point {
        display: flex;
    }

    .line .point::before {
        width: 11px;
        height: 11px;
        transform: translateX(-5.5px) rotate(45deg);
    }

    .line .point::after {
        height: 2px;
    }

    .line .point:first-of-type:before {
        top: 3px;
    }

    .line .point:last-of-type:before {
        top: 19px;
    }

    .line .point:first-of-type:after {
        top: 14.5px;
    }

    .line .point:last-of-type:after {
        top: 16.5px;
    }
}

.captions {
    width: 100%;
    position: absolute;
    display: flex;
    color: var(--brand-3);
    text-align: center;
    font-family: PT Sans;
    margin-top: -3px;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.player__timeline .line:nth-of-type(2) .captions {
    transform: translateY(-20px);
}

.player__timeline .line:last-of-type .captions {
    transform: translateY(10px);
}

.captions .caption {
    position: absolute;
    min-width: 12px;
    text-align: center;
}

.captions .caption span {
    left: -50%;
    position: relative;
}

@media screen and (max-width:1024px) {
    .captions {
        color: var(--text-dark);
        font-size: 20px;
        transform: translateY(-35px);
    }
    
    .light-theme .captions {
        color: var(--brand-2);
    }
}

.c-0 {
    left: 0%;
}

.c-10 {
    left: 10%;
}

.c-20 {
    left: 20%;
}

.c-30 {
    left: 30%;
}

.c-40 {
    left: 40%;
}

.c-50 {
    left: 50%;
}

.c-60 {
    left: 60%;
}

.c-75 {
    left: 75%;
}

.c-100 {
    left: 100%;
}

/* chat section */
section.chat {
    display: none;
    flex: 0 1 350px;
    width: 350px;
    padding-top: 0;
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    background-color: var(--dark);
}

section.chat.show {
    display: flex;
}

section.chat::before {
    content: "";
    width: 1px;
    height: 150vh;
    position: absolute;
    left: 0;
    transform: translateY(20%);
    background-color: var(--bg-hover-icon);
}

section.chat .chat-messages-block {
    display: flex;
    flex-direction: column;
    flex: 0 1 90%;
    height: fit-content;
    overflow-y: auto;
    gap: 24px;
    direction: rtl;
    width: 95%;
}

section.chat .chat-messages-block::webkit-scrollbar {
    width: 6px;
    height: 180px;
    border-radius: 10px;
    background: var(--scrollbar);
}

.chat-messages-block .chat-timestamp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 14px;
    flex: 0 1 auto;
    position: relative;
    text-align: center;
}

.chat-messages-block .chat-timestamp .text-2 {
    display: flex;
    padding: 0 7px;
    background-color: var(--dark);
    z-index: 2;
}

.chat-messages-block .chat-timestamp .timestamp-line {
    display: flex;
    height: 1px;
    width: 100%;
    position: absolute;
    background-color: var(--bg-hover-icon);
    z-index: 1;
}

.chat-messages-block .chat-msg {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    direction: ltr;
}

.chat-messages-block .chat-msg.chat-msg-out .msg {
    background-color: var(--bg-hover-icon);
    border-radius: 10px;
    border-bottom-left-radius: 0;
}

.chat-messages-block .chat-msg.chat-msg-in .msg {
    background-color: var(--chat-bg-in);
    border-radius: 10px;
    border-bottom-right-radius: 0;
}

.chat-messages-block .chat-msg .icon {
    display: flex;
    flex: 0 1 42px;
    border: 2px solid var(--bg-hover-icon);
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 40px;
}

.chat-messages-block .chat-msg .icon img {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 40px;
}

@media screen and (max-width:1024px) {
    .chat-messages-block .chat-msg .icon {
        min-width: 38px;
        width: 38px;
        height: 38px;
        border-radius: 38px;
    }

    .chat-messages-block .chat-msg .icon img {
        display: flex;
        width: 38px;
        height: 38px;
        border-radius: 38px;
    }
}

.chat-messages-block .chat-msg .msg {
    display: flex;
    flex: 0 1 100%;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 12px 12px 8px 12px;
}

.chat-messages-block .chat-msg .msg .name {
    margin-bottom: 6px;
    align-self: flex-start;
}

.chat-messages-block .chat-msg .msg .date {
    align-self: flex-end;
}

section.chat .chat-ui {
    display: flex;
    justify-content: center;
    position: absolute;
    align-items: center;
    transform: translate(-25px, -180px);
    cursor: pointer;
}

section.chat .chat-ui::after {
    content: "";
    width: 30px;
    height: 30px;
    display: flex;
    position: absolute;
    border-radius: 30px;
    border: 1px solid var(--bg-hover-icon);
    background-color: var(--dark);
    z-index: -1;
}

@media screen and (max-width:1024px) {
    section.chat .chat-ui::after {
        width: 36px;
        height: 36px;
        border-color: transparent;
    }
}

section.chat .chat-input-block {
    display: flex;
    flex: 0 1 10%;
    width: 100%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
}

section.chat .chat-input-block .form-control {
    display: flex;
    gap: 10px;
    width: 100%;
    width: 315px;
    padding: 24px 12px 24px 12px;
    background-color: var(--dark);
    border-radius: 10px;
    border: 1px solid var(--bg-hover-icon);
}

section.chat .chat-input-block .form-control button {
    outline: unset;
    border: none;
    appearance: none;
    padding: 0;
    background-color: transparent;
    margin: 0;
}

section.chat .chat-input-block .form-control textarea {
    background: unset;
    outline: unset;
    border: none;
    color: var(--text);
    display: flex;
    flex: 0 1 250px;
    resize: unset;
}

section.chat .chat-input-block .form-control textarea::placeholder {
    color: var(--text);
}

@media screen and (max-width:1024px) {
    section.chat {
        position: absolute;
        overflow: hidden;
        top: 0;
        left: 0;
        z-index: 13;
        width: 100%;
        gap: 24px;
        min-height: 100%;
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }

    section.chat::before {
        display: none;
    }

    section.chat .chat-messages-block {
        margin-top: -24px;
    }

    section.chat .chat-ui {
        transform: unset;
        flex: 0 1 100%;
        justify-content: flex-end;
        order: -1;
        left: 0;
        width: 100%;
        height: 70px;
        max-height: 70px;
        position: relative;
    }

    section.chat .chat-ui::before {
        content: "";
        width: 150%;
        height: 1px;
        position: absolute;
        transform: translateY(36px) translateX(20%);
        background-color: unset;
    }

    section.chat .chat-ui .ui-icon-24 {
        right: 27px;
    }

    section.chat .chat-input-block .form-control {
        width: 100%;
        justify-content: space-between;
    }

    section.chat .chat-input-block .form-control textarea {
        flex: 0 1 80%;
    }

    section.chat .chat-input-block .form-control textarea:focus {
        bottom: 0;
    }

    section.chat .chat-input-block .form-control button {
        right: 7px;
    }
}

/* movements table */
.movements-table {
    display: flex;
    width: 100%;
}

.movements-table .table-container {
    display: flex;
    width: 100%;
    background-color: var(--player-bg);
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.movements-table .table-container .table-column:first-of-type {
    flex: 1 1 12%;
    margin-left: 10px;
    border-left: none;
}
.movements-table .table-container .table-column:last-of-type {
    margin-right: 10px;
}
.movements-table .table-container .table-column {
    flex: 1 1 20px;
    border-left: 1px solid var(--grey);
}

.movements-table .table-container .table-column .table-cell {
    padding-left: 2px;
    padding-right: 2px;
}

.movements-table .table-container .table-column .table-cell:first-of-type {
    font-weight: bolder;
}

.movements-closed {
    height: 0 !important;
    margin-top: 28px;
}

.light-theme .movements-table .table-container .table-column .table-cell:nth-of-type(even) {
    background-color: var(--dark);
}

.dark-theme .movements-table .table-container .table-column .table-cell:nth-of-type(odd) {
    background-color: var(--dark);
}

/* popup */
.popup {
    display: none;
    flex-direction: column;
    flex: 0 1 100%;
    margin: 0 auto;
    min-width: 343px;
    max-width: 454px;
    max-height: 503px;
    top: 10%;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    height: -webkit-fill-available;
    margin: 60px 24px 45px;
    border-radius: 15px;
    z-index: 13;
}

.popup.show {
    display: flex;
}

@media screen and (max-width:1024px) {
    .popup {
        max-height: unset;
        top: 14px;
        height: unset;
    }
}

.popup-container {
    display: flex;
    width: -webkit-fill-available;
    flex-direction: column;
    padding: 0 24px 45px;
    gap: 30px;
    overflow: hidden;
}

.popup-header {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 8px;
}

.popup-header .close {
    align-self: flex-end;
}

.popup-body {
    display: flex;
    flex-direction: column;
}

.popup-tab {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.popup-tab.show {
    display: flex;
}

.text-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.text-block img {
    display: flex;
}

.text-block .text-body {
    display: block;
    flex: 0 1 auto;
}

.text-block img {
    flex: 0 1 20%;
    width: 61px;
    max-width: 61px;
    height: 61px;
    border-radius: 61px;
}

.text-block a {
    color: var(--text);
    text-decoration: none;
}

.text-body {
    flex: 0 1 100%;
    flex-wrap: wrap;
    padding-right: 47px;
    text-wrap-mode: wrap !important;
}

.text-heading {
    display: inline;
    flex: 0 0 100%;
    margin-bottom: 6px;
}

.ui-left::after {
    background-image: var(--icon-left);
}
.ui-right::after {
    background-image: var(--icon-right);
}


/* custom theme classes */

.custom-buttons .ui-icon-24::before {
    background-color: var(--colored-buttons) !important;
}

.custom-buttons .nav-item .secondary {
    background-color: var(--colored-buttons) !important;
}

.custom-buttons .jaw-element .ui-icon::before {
    background-color: var(--colored-buttons) !important;
}

.custom-buttons .viewer-playing::before {
    opacity: 1 !important;
}

.custom-buttons .lock-closed::before {
    opacity: 1 !important;
}

.custom-buttons .repeat-playback::before {
    opacity: 1 !important;
}

.custom-background body,
body.custom-background {
    background-color: var(--colored-background) !important;
}

.custom-text body,
body.custom-text {
    color: var(--colored-text) !important;
}

.custom-text .ui-tabs::after {
    background-color: var(--colored-text) !important;
}

.custom-text .nav-item .text {
    color: var(--colored-text) !important;
}

.custom-text .ui-tab.active label {
    color: var(--colored-text) !important;
}

.custom-text .ui-tab.active label::after {
    background-color: var(--colored-text) !important;
    color: var(--colored-text) !important;
}

.custom-text .text-white {
    color: var(--colored-text) !important;
}

.custom-text .text-block a {
    color: var(--colored-text) !important;
}


/* dark theme classes */
.dark-theme {
    --bg-hover-icon-2: #ffffff59;
}

.dark-theme .line .point::before {
    background-color: var(--buttons-dark);
}

.dark-theme .ui-icon-24::before {
    background-color: var(--buttons-dark);
}

.dark-theme .ui-left::before,
.dark-theme .ui-right:before {
    background-color: var(--buttons-dark);
}

.dark-theme .nav-item .secondary {
    background-color: var(--buttons-dark);
}

.dark-theme .jaw-element .ui-icon::before {
    background-color: var(--buttons-dark);
}

.dark-theme .popup {
    background-color: var(--bg-dark);
}

.dark-theme body,
body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.dark-theme .ui-tabs::after {
    background-color: var(--text-dark);
}

.dark-theme .nav-item .text {
    color: var(--text-dark);
}

.dark-theme .ui-tab.active label {
    color: var(--text-dark);
}

.dark-theme .ui-tab.active label::after {
    background-color: var(--text-dark);
    color: var(--text-dark);
}

.dark-theme .text-white {
    color: var(--text-dark);
}

.dark-theme .text-block a {
    color: var(--text-dark);
}



/* light theme classes */
.light-theme {
    --bg-hover-icon-dark-theme: #353D40;
    --dark: #ececec;
    --text-dark-theme: #636B6C;
    --loading-line: #E8EAEB;
    --loading-line-mob: #D9DADB;
    --scrollbar: var(--grey);
    --menu-hover: #353d400a;
    --bg-hover-icon-2: #cfcfcf9b;
    --border-color: #ececed;
    --player-bg: #fff;
}

.light-theme .line .point::before {
    background-color: var(--buttons-light);
}

.light-theme .ui-icon-24::before {
    background-color: var(--buttons-light);
}

.light-theme .ui-left::before,
.light-theme .ui-right:before {
    background-color: var(--buttons-light);
}

.light-theme .nav-item .secondary {
    background-color: var(--buttons-light);
}

.light-theme .popup {
    background-color: var(--bg-light);
}

.light-theme body,
body.light-theme {
    background-color: var(--bg-light);
    color: var(--text-light);
}

.light-theme .ui-tabs::after {
    background-color: var(--text-light);
}

.light-theme .nav-item .text {
    color: var(--text-light);
}

.light-theme .ui-tab.active label {
    color: var(--text-light);
}

.light-theme .ui-tab.active label::after {
    background-color: var(--text-light);
    color: var(--text-light);
}

.light-theme .text-white {
    color: var(--text-light);
}

.light-theme .text-block a {
    color: var(--text-light);
}

.light-theme button.ui-button {
    background-color: transparent;
    border-color: var(--brand-2);
    color: var(--brand-2);
}

.light-theme button.ui-button:hover {
    background-color: var(--bg-hover-icon-dark-theme);
    border-color: var(--bg-hover-icon-dark-theme);
    color: var(--white);
}

.light-theme button.ui-button:active {
    background-color: #1A1F22;
    /* dark */
    border-color: #1A1F22;
    color: var(--white);
}

.light-theme .ui-button:disabled {
    background-color: var(--background-col);
    border-color: var(--brand-1);
    color: var(--brand-1);
}

.light-theme .nav-item:active {
    background-color: var(--colored-background);
}

.light-theme .checkbox.nav-item:active {
    color: unset;
}

.light-theme .nav-item:active .nav-icon {
    filter: brightness(0) sepia(0) hue-rotate() saturate(0);
}

.light-theme .nav-item:active .text span {
    color: var(--bg-hover-icon-dark-theme);
}

.light-theme .nav-item:hover {
    background-color: var(--menu-hover);
}

.light-theme .nav-item .secondary {
    color: var(--text-dark-theme);
}

.light-theme .popup a {
    color: var(--text);
}

.light-theme .ui-icon-24:hover::before {
    background-color: var(--bg-hover-icon-2);
}

@media screen and (max-width:1024px) {
    .light-theme .player__desktop {
        background-image: unset;
    }
}

.light-theme .loading .line {
    background-color: var(--loading-line);
}

@media screen and (max-width:1024px) {
    .light-theme .loading .line {
        background-color: var(--loading-line-mob);
    }
}

@media screen and (max-width:1024px) {
    .light-theme section.chat .chat-ui .ui-icon-24::before {
        background-color: transparent;
        border-color: transparent;
    }
}

.light-theme section.chat .chat-input-block .form-control {
    border-color: var(--grey);
}

.light-theme .chat-msg.chat-msg-out .msg {
    background-color: var(--chat-bg-out);
}

.light-theme .chat-msg.chat-msg-in .msg,
.light-theme section.chat .chat-ui:after {
    background-color: transparent;
}

.light-theme .chat-msg.chat-msg-in .msg {
    background-color: var(--white);
}

.light-theme section.chat .chat-input-block .form-control textarea {
    color: var(--text-dark-theme);
}

.light-theme section.chat .chat-input-block .form-control textarea::placeholder {
    color: var(--text-dark-theme);
    opacity: .5;
}

.light-theme label.checkbox .text,
.light-theme .nav-overlay ul>.nav-item .text {
    color: var(--brand-2);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.light-theme .nav-item.extended .slider .ui-slider .amount {
    border-color: var(--bg-light);
}

.light-theme .nav-item.extended .slider .ui-slider .amount:before {
    border-color: var(--brand-2);
    background-color: var(--bg-light);
}

.light-theme .nav-item.extended:hover .slider .ui-slider .amount {
    border-color: #f7f7f7;
}

.light-theme .nav-icon .checkbox {
    position: relative;
    outline: none;
    margin: 0;
    appearance: none;
    cursor: pointer;
}

.light-theme .nav-icon .checkbox::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
}

.light-theme .nav-icon .checkbox:hover::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
}

.light-theme .nav-icon .checkbox:disabled::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
}

.light-theme .nav-icon .checkbox:checked::before {
    content: '';
    display: flex;
    width: 24px;
    height: 24px;
}

.light-theme .close::before {
    background-color: transparent !important;
}

.light-theme section.chat .chat-ui[for=chat-sidewindow]::after {
    background-color: var(--dark);
}

@media screen and (max-width:1024px) {
    .light-theme section.chat .chat-ui[for=chat-sidewindow]::after {
        background-color: transparent;
    }
}

/* login page */
.login {
    color: var(--brand-3);
    background: var(--white);
    --dark: #1A1F22;
}

.login-bg {
    display: flex;
    width: 100%;
    height: 110vh;
    position: fixed;
    transform: translateY(-5%)translateX(60%);
    background-color: var(--brand-2);
    background-image: url('../img/bg-login.svg');
    z-index: -1;
    transition: all 250ms ease-in-out;
}

.login-bg-reg {
    transition: all 250ms ease-in-out;
    transform: translateY(-5%)translateX(-60%);
}

.login .app {
    overflow: hidden;
}

.login h1 {
    margin: 0;
}

.login .container {
    justify-content: flex-start;
    overflow: hidden;
}

.login main {
    height: -webkit-fill-available;
    min-height: -webkit-fill-available;
    flex: 0 1 100%;
    margin-top: -72px;
    position: relative;
}

@media screen and (max-width: 1024px) {
    .login .container {
        gap: 0;
        min-height: 95vh;
    }

    .login-bg,
    .login-bg-reg {
        transform: translateY(67%)translateX(0%);
        opacity: 0;
    }

    .login main {
        margin: 0 auto;
        min-height: 85vh;
        justify-content: space-between;
    }

    .login .login-block.active {
        min-height: 50vh;
        align-items: flex-start;
        order: -1;
    }
}

.login-block {
    display: flex;
    flex: 0 1 40%;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-block.active {
    flex: 0 1 60%;
}

.sign-in {
    max-width: 334px;
}

.registration {
    max-width: 334px;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.login-form h1 {
    text-align: center;
    width: 400px;
}

@media screen and (max-width: 1024px) {
    .login-form h1 {
        width: unset;
        font-size: 1.8em;
    }
}

.login-form button[type=submit] {
    margin-top: 10px;
    width: 100%;
    min-width: 334px;
    max-width: 334px;
    padding: 10px;
    outline: none;
    border: none;
    border-radius: 5px;
    border: 1px solid transparent;
    cursor: pointer;
}

.login-bg-brand-2 {
    display: flex;
    position: relative;
}

.login-bg-brand-2 .login-form button[type=submit] {
    background-color: transparent;
    border-color: var(--white);
}

.login-bg-brand-2 .login-form button[type=submit]:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--brand-2);
}

.login-bg-brand-2 .login-form button[type=submit]:active {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.login-bg-brand-2 .login-form button[type=submit]:disabled {
    background-color: var(--background-col);
    border-color: var(--brand-1);
    color: var(--brand-1);
}

@media screen and (max-width: 1024px) {
    .login #reg.active {
        min-height: 80vh;
    }

    .login-bg-brand-2::before {
        background-color: var(--brand-2);
        z-index: -1;
        background-image: url('../img/bg-login.svg');
        width: 450%;
        bottom: -30%;
        height: 30vh;
        transition: all .25s ease-in-out;
        display: flex;
        content: "";
        position: absolute;
    }
}

.bg-pos-single {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: left top;
}

.bg-pos-repeat {
    background-size: auto;
    background-repeat: repeat;
    background-position: left top;
}

.bg-pos-fit {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-pos-crop {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-pos-stretch {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.visible {
    visibility: visible !important;
}
.invisible {
    visibility: hidden !important;
}