﻿/*#region Declare*/
:root {
    --white: #fff;
    --txtDefault: #212529;
    --mainBlueGrad: rgba(0,131,244,1);
    --mainBlue-rgb: 0, 131, 234;
    --mainBlue: #0083f4;
    --mainBlueBackg: #ecf6ff;
    --txtBlue: #005299;
    --newBlue: #99CDFA;
    --sysBackgBlue: #C5E2FC;
    --tabActiveBlue: #DFF0FE;
    --backg: #F8F9FA;
    --backgGrey: #E2E4E6;
    --darkGrey: #707070;
    --gradBackg: #0071D2;
    --borderClr: #E1E8F4;
    --pagingBackg: #E2E9F4;
    --successGreen-rgb: 0, 244, 113;
    --successGreen: #00F471;
    --successGreenDark: #00AA4F;
    --successGreenBackg: #d9ffeb;
    --successGreenBackgM: #edfff6;
    --statusGreenBackg: #B9FDD8;
    --infoBlueBackg: #F2F9FF;
    --warningOrange-rgb: 244, 113, 0;
    --warningOrange: #F47100;
    --warningOrangeM: #ffd9b8;
    --warningOrangeBackg: #fef2e8;
    --dangerRed-rgb: 232, 70, 113;
    --dangerRed: #E84671;
    --dangerRedBackg: #FCE8ED;
    --ff-Manr-Light: Manrope-Light, sans-serif;
    --ff-Manr-Reg: Manrope-Regular, sans-serif;
    --ff-Manr-Med: Manrope-Medium, sans-serif;
    --ff-Manr-SemiBold: Manrope-SemiBold, sans-serif;
    --ff-Manr-Bold: Manrope-Bold, sans-serif;
    --ff-Manr-ExtraBold: Manrope-ExtraBold, sans-serif;
    --ff-Monts-Light: Montserrat-Light, sans-serif;
    --ff-Monts-Reg: Montserrat-Regular, sans-serif;
    --ff-Monts-Med: Montserrat-Medium, sans-serif;
    --ff-Rubik-Reg: Rubik-Regular, sans-serif;
    --ff-Rubik-Med: Rubik-Medium, sans-serif;
    --ff-Rubik-SemiBold: Rubik-Semi-Bold, sans-serif;
    --font12: .75rem;
    --font13: .8rem;
    --font14: .875rem;
    --font16: 1rem;
    --app-height: 100%;
    --grey-grad: linear-gradient(to right, #f3f3f3 0%, #dadada 100%);
    --blue-grad: linear-gradient(to right, #00ace6 0%, #0083f4 100%);
    --pink-grad: linear-gradient(to right, #c471ed 0%, #f64f59 100%);
    --gold-grad: linear-gradient(to right,#ffd194, #d1913c);
    --box-shadow-blue: 0px 3px 76px 0px rgba(var(--mainBlue-rgb),0.3);
    --box-shadow-blue-light: 0px 3px 9px 0px rgba(var(--mainBlue-rgb),0.2);
    --box-shadow-border-blue-light: 0px 0px 0px 3px var(--newBlue);
    --box-shadow-border-blue-light-blured: 0px 0px 9px 3px var(--newBlue);
    --font-px: 0px;
}

/*#region Fonts*/
@font-face {
    font-family: "Manrope-Light";
    src: url("../../fonts/Manrope/Manrope-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Manrope-Regular";
    src: url("../../fonts/Manrope/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Manrope-Medium";
    src: url("../../fonts/Manrope/Manrope-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Manrope-SemiBold";
    src: url("../../fonts/Manrope/Manrope-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Manrope-Bold";
    src: url("../../fonts/Manrope/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Manrope-ExtraBold";
    src: url("../../fonts/Manrope/Manrope-ExtraBold.ttf") format("truetype");
    font-weight: 800;
}


@font-face {
    font-family: "Montserrat-Light";
    src: url("../../fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("../../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url("../../fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Rubik-Regular";
    src: url("../../fonts/Rubik/Rubik-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Rubik-Medium";
    src: url("../../fonts/Rubik/Rubik-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Rubik-Semi-Bold";
    src: url("../../fonts/Rubik/Rubik-SemiBold.ttf") format("truetype");
    font-weight: 500;
}

.font-12 {
    font-size: .75rem;
}

.font-14 {
    font-size: calc(0.875rem - var(--font-px));
}

.font-16 {
    font-size: calc(1rem - var(--font-px));
}

.font-18 {
    font-size: calc(18px - var(--font-px));
}

.font-20 {
    font-size: calc(20px - var(--font-px));
}

.font-24 {
    font-size: calc(24px - var(--font-px));
}

.font-300 {
    font-family: var(--ff-Manr-Light);
}

.font-400 {
    font-family: var(--ff-Manr-Reg);
}

.font-500 {
    font-family: var(--ff-Manr-Med);
}

.font-600 {
    font-family: var(--ff-Manr-SemiBold);
}

.font-700 {
    font-family: var(--ff-Manr-Bold);
}

.font-800 {
    font-family: var(--ff-Manr-ExtraBold);
}
/*#endregion Fonts*/

/*#endregion Declare*/

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-size: var(--font14);
}

::-moz-placeholder { /* Firefox 19+ */
    font-size: var(--font14);
}

:-ms-input-placeholder { /* IE 10+ */
    font-size: var(--font14);
}

:-moz-placeholder { /* Firefox 18- */
    font-size: var(--font14);
}

textarea:focus, select:focus, input:focus {
    color: #212529;
    background-color: var(--white);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
    transition: all 0.2s ease-out
}

html {
    background: var(--white);
    height: --app-height;
}

    html[data-theme="dark"], body[data-theme="dark"] {
        background: var(--txtDefault);
    }

body * {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: visible;
    font-family: var(--ff-Manr-Med);
    font-size: var(--font14);
    height: 100vh;
    height: calc(var(--app-height) - 1px);
}

    body .modal {
        overflow: hidden;
    }

.lock {
    overflow: hidden;
}

.bg-backg {
    background-color: var(--backg) !important;
}

/*#region    ---------INDEX-HEADER-NAVIGATION-BAR---------*/

#IndexHeader .nav-item .nav-link {
    color: Var(--txtDefault) !important;
    border-radius: 0.5rem;
    position: relative;
    padding: .4rem 1rem;
    transition: all 0.3s ease-in-out;
    opacity: 75%;
}

    #IndexHeader .nav-item .active,
    #IndexHeader .nav-item .nav-link:hover {
        background-color: var(--tabActiveBlue);
        opacity: 1;
    }

[data-theme="dark"] #IndexHeader .nav-item .active,
[data-theme="dark"] #IndexHeader .nav-item .nav-link:hover,
[data-theme="dark"] .dropdown-content a:hover {
    background-color: #32383d;
}

#IndexHeader .nav-item .active {
    font-family: var(--ff-Manr-SemiBold);
}

    #IndexHeader .nav-item .active::before {
        content: '';
        position: absolute;
        height: 60%;
        left: 0;
        width: 0.1rem;
        border-radius: 10px;
        background: var(--mainBlue);
        animation: scale 0.3s ease-in-out;
    }

/*#endregion ---------INDEX-HEADER-NAVIGATION-BAR---------*/

/*#region  ---------PRICEPAGE CARD---------*/
.box-shadow-blue {
    -webkit-box-shadow: var(--box-shadow-blue);
    box-shadow: var(--box-shadow-blue);
}
.box-shadow-blue-light {
    -webkit-box-shadow: var(--box-shadow-blue-light);
    box-shadow: var(--box-shadow-blue-light);
}

#PricePage .card {
    width: 275px;
    /*height: 480px;*/
}

    #PricePage .card .card-header, #PricePage .card .card-footer, #PricePage .card .card-body {
        border: none;
    }

#PricePage .card-body {
    flex: unset;
    padding-bottom: 0;
}

    #PricePage .card-body .description {
        height: 100px;
        display: grid;
        place-content: center;
    }

#PricePage .card .call-badge {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    margin: auto;
}

#PricePage .card .correct {
    position: relative;
    top: -3px;
}

#PricePage .card .incorrect {
    width: 18.233px;
}

/*#PricePage .card-primary {
    transform: scale(1.075);
}
*/
/*#endregion  ---------PRICEPAGE CARD---------*/

/*#region    ---------INDEX-PRICE-CARD---------*/

.card-bg-grey {
    background: var(--grey-grad);
}

.card-bg-blue {
    background: var(--blue-grad);
}

.card-bg-pink {
    background: var(--pink-grad);
}

.card-bg-gold {
    background: var(--gold-grad);
}

.card-bg-txtdefault {
    background-color: var(--txtDefault);
}

/*#endregion ---------INDEX-PRICE-CARD---------*/

#logo {
    width: 180px;
    height: 60px;
    display: grid;
    place-items: center;
    float: left;
    background-color: var(--mainBlue);
}

    #logo img {
        -webkit-filter: drop-shadow(0px 1px 10px rgba(0 0 0 / 20%));
        filter: drop-shadow(0px 1px 10px rgba(0 0 0 / 20%));
    }

#mobileQR {
    max-width: 100%;
    max-height: 70vh;
    margin: auto;
}

.burger {
    position: fixed;
    left: 0;
    top: 0;
    margin: 1rem;
    display: none;
    cursor: pointer;
    z-index: 999;
}

    .burger .line {
        width: 25px;
        height: 2px;
        background-color: var(--white);
        margin-block: 6px;
        border-radius: 4px;
        transition: transform 0.3s, opacity 0.15s;
    }

    .burger.toggle .line:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        -moz-transform: translateY(8px) rotate(45deg);
        -ms-transform: translateY(8px) rotate(45deg);
        -o-animation: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .burger.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .burger.toggle .line:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        -moz-transform: translateY(-8px) rotate(-45deg);
        -ms-transform: translateY(-8px) rotate(-45deg);
        -o-animation: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }

/*#region SideBar show only < 768px*/
.modal-backdrop {
    opacity: 0.4;
    border: none;
}

.side-bar {
    display: none;
    visibility: hidden;
    position: fixed;
    z-index: 99;
    width: 50%;
    height: 100%;
    top: 0;
    transition: all 200ms ease-out;
    left: -50%;
}

.side-bar__open {
    left: 0 !important;
    visibility: visible !important;
}

.side-bar > section {
    position: relative;
    width: 100%;
    z-index: 1055;
    height: 100%;
    background-color: var(--white);
}

.side-bar__header {
    width: 100%;
    height: 60px;
    background: var(--mainBlueGrad);
    color: var(--white);
    flex-direction: column;
    text-align: center;
    font-size: 0.75rem;
}

    .side-bar__header a {
        color: var(--white);
        max-width: 70%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
    }

.side-bar__body {
    height: calc(100% - 60px);
    overflow-y: scroll;
    display: grid;
    grid-template-rows: auto auto 1fr;
}

    .side-bar__body section {
        padding: 2rem .5rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

        .side-bar__body section > div > img {
            border-radius: 1rem;
        }

.accordion-item {
    border: 0.01em solid var(--borderClr);
}

.side-bar .accordion-body {
    padding: 0;
}

.side-bar .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
    width: 100% !important;
}

.side-bar .nav-item {
    height: auto !important;
    width: 100%;
}

.side-bar .nav-link {
    padding: 1rem !important;
}

.side-bar .accordion-button:not(.collapsed) {
    color: var(--txtBlue);
    background-color: var(--white);
    box-shadow: inset 0 0px 10px 0px rgb(0 0 0 / 13%);
}
/*#endregion SideBar show only < 768px*/

.signer-donwload {
    min-width: 63px;
    margin-right: 0.5rem;
    text-align: center;
    line-height: 12px;
}

    .signer-donwload a {
        text-decoration: none;
        font-family: var(--ff-Manr-Med);
        font-size: 0.75rem;
    }

    .signer-donwload svg {
        margin: 0 5px;
    }

.cursor-pointer {
    cursor: pointer !important;
}

.nav {
    font-size: var(--font16);
    background: var(--mainBlueGrad);
    height: 60px;
    align-items: flex-end;
    flex-wrap: nowrap;
}

.main-tab {
    width: calc(100% - 180px);
}

    .main-tab li .nav-link {
        text-align: center;
        color: var(--white);
        transition: none;
        min-width: 130px;
        cursor: pointer;
        position: relative;
    }

        .main-tab li .nav-link:hover, .main-tab li .active {
            border-color: rgba(255, 255, 255, 0.1) !important;
            background: var(--white);
            color: var(--txtBlue) !important;
        }

.main-tab__navbar .nav-item:has(a[disabled]):hover {
    background-color: white !important;
    transform: translateY(0) !important;
}

.main-tab__navbar .nav-item > a[disabled]:hover {
    color: var(--txtDefault) !important;
}

.nav-item > a[disabled]:hover {
    background-color: transparent !important;
    color: var(--white) !important;
    border-color: transparent !important;
}

    .nav-item > a[disabled]:hover::before, .nav-item > a[disabled]::after {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .nav-item > a[disabled]:hover::before {
        content: 'Тун удахгүй';
        z-index: 10;
        top: 20%;
        text-shadow: 1px 2px 10px rgba(0,0,0,0.5);
    }

.main-tab__navbar .nav-item > a[disabled]:hover::before {
    top: 50%;
    padding-left: 50% !important;
    content: 'Засвартай';
    right: 0 !important;
    width: fit-content;
}

.main-tab__navbar .nav-item > a[disabled]::before {
    right: 0 !important;
}

.main-tab__navbar .nav-item > a[disabled]::after {
    right: 0 !important;
    backdrop-filter: blur(1px);
}

.nav-item > a[disabled]::after {
    content: '';
    backdrop-filter: blur(2px);
    position: absolute;
}

/*.nav-item > a[disabled]::after {
    ;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}*/



.navbar {
    height: 100%;
    padding: 0;
    flex-wrap: nowrap;
}

    .navbar ul {
        height: 100%;
    }

.navbar-nav {
    flex-direction: row;
    align-items: center;
}

.main-tab__navbar .nav-item {
    transition: 0.2s all;
    height: 35px;
    border-radius: 5px;
    margin-right: 0.5rem;
    position: relative;
}

    .main-tab__navbar .nav-item .nav-link {
        height: 100%;
        padding: 0 0.5rem;
        display: flex;
        align-items: center;
        color: #000;
        border-radius: 5px;
        z-index: 1050;
    }

    .main-tab__navbar .nav-item a span {
        font-family: var(--ff-Manr-SemiBold);
        padding: 0 0.35rem;
        margin-left: 0.35rem;
        border-radius: 3px;
        color: var(--txtBlue);
        background-color: var(--tabActiveBlue);
    }

    .main-tab__navbar .nav-item:hover {
        background-color: var(--tabActiveBlue);
        transform: translateY(-0.1rem);
    }

    .main-tab__navbar .nav-item .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
        color: #000;
    }

    .main-tab__navbar .nav-item .active img {
        filter: invert(12%) sepia(86%) saturate(7496%) hue-rotate(199deg) brightness(92%) contrast(101%);
    }

    .main-tab__navbar .nav-item .active span {
        background-color: var(--white);
    }

    .main-tab__navbar .nav-item .active {
        color: var(--txtBlue) !important;
        background: var(--tabActiveBlue);
        transition: 0.2s all;
    }

        .main-tab__navbar .nav-item .active:before {
            content: '';
            position: absolute;
            height: 60%;
            left: 0;
            width: 0.1rem;
            border-radius: 10px;
            background: var(--mainBlue);
            animation: scale 0.3s ease-in-out;
        }

@keyframes scale {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.main-tab__navbar .nav-item img {
    margin-right: 10px;
    width: 20px;
}

.main-tab .company-profile {
    min-width: 200px;
    max-width: 500px;
    height: 100%;
    font-size: min(max(8px, 1vw), 12px);
    color: var(--white);
    font-family: var(--ff-Manr-SemiBold);
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .main-tab .company-profile p {
        margin: 0;
        display: flex;
        flex-direction: column;
        padding: 0.2rem 0.4rem;
        border-radius: .25rem 0 0 .25rem;
        margin-left: 1rem;
    }

.nav-contact {
    background: rgba(255, 255, 255, 0.08);
}

.tab-pane {
    background: var(--white);
    height: 50px;
}

.def-btn {
    max-height: 35px;
    padding: 3px 5px;
    font-size: .75rem;
    border-radius: 2px;
    border: none;
    transition: 0.1s ease-in-out;
    background-color: transparent;
}

.def-btn-primary {
    height: 30px;
    padding: 0 1rem;
    font-size: var(--font14);
}

.def-btn:hover {
    background-color: var(--backgGrey);
}

/*#region    ---------INDEX-CARD-BUTTON---------*/
#PricePage .btn {
    border: none;
    height: 30px;
    padding: 0.2rem .75rem;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    border-radius: 0.375rem !important;
}

#PricePage .btn-xl {
    padding: 0.375rem 2rem !important;
    height: 40px !important;
    font-size: 16px !important;
    border-radius: 0.5rem !important;
}

#PricePage .btn-secondary {
    background-color: var(--white) !important;
    color: var(--txtDefault) !important;
    border: 0.1em solid var(--txtDefault);
}

    #PricePage .btn-secondary:hover,
    #PricePage .btn-secondary:active {
        background-color: var(--txtDefault) !important;
        color: var(--white) !important;
    }

#PricePage .card-primary button {
    background-color: var(--txtDefault) !important;
    color: var(--white) !important;
}

    #PricePage .card-primary button:hover,
    #PricePage .card-primary button:active {
        transform: scale(1.05);
    }

/*#endregion ---------INDEX-CARD-BUTTON---------*/

input:disabled {
    color: #000;
    opacity: 1 !important;
}

input[readonly]:focus {
    all: unset;
}

input[readonly] {
    cursor: pointer;
}

button[type=submit]:active, button[type=button]:active {
    transform: scale(.96);
}

button[type=submit]:disabled, button[type=button]:disabled {
    color: var(--white);
    opacity: 0.5;
    box-shadow: inset 0px 0px 2px 0.5px rgba(0,0,0,0.2);
}

button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}

button:hover:disabled {
    filter: brightness(1) !important;
    background-color: var(--mainBlue) !important;
    cursor: not-allowed;
    pointer-events: all !important;
}


button[type=submit]:disabled:active, button[type=button]:disabled:active {
    transform: scale(1);
}

button .invisible {
    width: 0 !important;
}

button .visible {
    width: auto;
}

.btn-new {
    margin: 0 35px;
    min-width: 110px;
    color: var(--white);
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
    animation: shadow-loop 1s ease infinite;
}

.btn-new-red {
    margin: 0 35px;
    min-width: 110px;
    color: var(--white);
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
    animation: shadow-red-loop 1s ease infinite;
}

.btn-new-orange {
    margin: 0 35px;
    min-width: 110px;
    color: var(--white);
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
    animation: shadow-orange-loop 1s ease infinite;
}

.btn-new span {
    font-size: var(--font14);
    margin-right: 5px;
}

.btn-new .btn-badge {
    font-size: 12px;
    font-family: var(--ff-Manr-SemiBold);
    margin-left: .35rem;
    padding: 0 .25rem;
    height: 17px;
    min-width: 17px;
    margin-right: 0;
    background-color: var(--white);
    color: var(--txtBlue);
    border-radius: 3px;
}

.btn-new .btn-badge-danger {
    background-color: var(--dangerRed) !important;
    color: var(--white) !important;
}

@keyframes shadow-loop {
    0% {
        box-shadow: 0px 0px 0px 1px rgba(var(--mainBlue-rgb), 0.6);
    }

    50% {
        box-shadow: 0px 0px 10px 3px rgba(var(--mainBlue-rgb), 0.2);
    }

    100% {
        box-shadow: 0px 0px 30px 5px rgba(var(--mainBlue-rgb), 0.1);
    }
}

@keyframes shadow-red-loop {
    0% {
        box-shadow: 0px 0px 0px 1px rgba(var(--dangerRed-rgb), 0.6);
    }

    50% {
        box-shadow: 0px 0px 10px 3px rgba(var(--dangerRed-rgb), 0.2);
    }

    100% {
        box-shadow: 0px 0px 30px 5px rgba(var(--dangerRed-rgb), 0.1);
    }
}

@keyframes shadow-orange-loop {
    0% {
        box-shadow: 0px 0px 0px 1px rgba(var(--warningOrange-rgb), 0.6);
    }

    50% {
        box-shadow: 0px 0px 10px 3px rgba(var(--warningOrange-rgb), 0.2);
    }

    100% {
        box-shadow: 0px 0px 30px 5px rgba(var(--warningOrange-rgb), 0.1);
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: var(--txtBlue);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: var(--font14);
    }

        .dropdown-content a:hover {
            background-color: var(--tabActiveBlue);
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: var(--white);
    color: var(--txtBlue);
}

#manage ul {
    margin-left: 180px;
}

#contract ul {
    align-items: center;
}

#contract .nav-item {
    height: 35px;
    box-shadow: 0px 1px 10px 0px rgba(0,0,0,0.2);
    margin-left: 15px;
    border-radius: 10px !important;
    transition: 0.1s ease-out;
}

    #contract .nav-item span {
        background-color: transparent !important;
        margin: 0;
        padding: 0;
    }

    #contract .nav-item .active {
        background-color: var(--mainBlue);
        color: var(--white) !important;
        border-radius: 10px !important;
    }

#contract .nav-link {
    border-radius: 10px !important;
}

    #contract .nav-link a {
        padding: 0;
    }

.iframe-loading, .iframe-loading_ {
    background: url('https://smartoffice.mn/loader.gif') center center no-repeat;
}

@media screen and (max-width: 906px) {
    #manage ul {
        margin-left: auto;
    }
}

@media screen and (max-width: 950px) {
    #doc .signer-donwload, #contract .signer-donwload {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .side-bar {
        display: block;
    }

        .side-bar .btn-new {
            width: fit-content;
        }

    .main-tab {
        display: none !important;
    }

        .main-tab .company-profile {
            display: none;
        }

        .main-tab .nav-contact {
            background: none;
        }

        .main-tab .nav-item {
            width: 100%;
        }

            .main-tab .nav-item .nav-link {
                width: 100%;
                border-radius: 2px;
            }

    .burger {
        display: block;
    }

    #logo {
        width: 100%;
    }

    .tab-pane {
        display: none !important;
    }

    .btn-new {
        margin: 20px;
    }

    .signer-donwload {
        width: 100%;
        margin: 1rem 0;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    #contract ul {
        align-items: stretch;
        margin-top: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 600px) {
    .side-bar {
        width: 90%;
        left: -90%;
    }
}

@media screen and (max-width: 576px) {
    .news-modal .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%) !important;
    }
}
/*#region NOT FOUND */
.error-template {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

    .error-template > section {
        height: max-content;
    }

    .error-template h1 {
        font-size: 10vw;
    }

    .error-template h1, .error-template h4 {
        font-family: var(--ff-Manr-Bold);
        background: -webkit-linear-gradient(45deg, #21baef, #0083f4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .error-template > section {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .error-template img {
        width: 50vw;
    }

    .error-template .error-actions button {
        height: 40px;
        font-family: var(--ff-Manr-SemiBold);
        font-size: var(--font14);
        margin-top: 0.75rem;
        padding: 0 1rem;
        border-radius: 1rem;
    }

        .error-template .error-actions button a {
            all: unset;
        }

@media screen and (max-width: 768px) {
    .error-template {
        align-items: flex-start;
    }

        .error-template > section {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

    .error-actions {
        text-align: center;
    }

    .error-template img {
        width: 100%;
    }
}
/*#endregion NOT FOUND*/
