/****************** FONTS ******************/

@font-face {
    font-family: 'nx';
    src: url('../fonts/nx.eot?27685183');
    src: url('../fonts/nx.eot?27685183#iefix') format('embedded-opentype'),
    url('../fonts/nx.woff?27685183') format('woff'),
    url('../fonts/nx.ttf?27685183') format('truetype'),
    url('../fonts/nx.svg?27685183#nx') format('svg');
    font-weight: normal;
    font-style: normal;
}

/****************** VARS ******************/

:root {
    --nx-icon: nx, Tahoma, Geneva, sans-serif;
}

.loader {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 100002;
    opacity: 0.5;
}

.loader .nx-load {
    position: relative;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 50px;
    line-height: 50px;
    z-index: 100001;
}

.nx-modal {
    background: #000;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 10001;
    opacity: 0.8;
}

.nx-icon {
    font-family: var(--nx-icon);
    font-size: 20px;
}

.nx-load {
    display: inline-block;
    color: #666;
    font-size: 30px;
    font-family: var(--nx-icon);
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

@-moz-keyframes spin {
    0% {-moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);}
    100% {-moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg);}
}

@-webkit-keyframes spin {
    0% {-moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);}
    100% {-moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg);}
}

@-o-keyframes spin {
    0% {-moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);}
    100% {-moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg);}
}

@-ms-keyframes spin {
    0% {-moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);}
    100% {-moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg);}
}

@keyframes spin {
    0% {-moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);}
    100% {-moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg);}
}

/************* MODAL **********/

#NXModalContent {
    width: 100%;
    max-height: 90vh;
    height: auto;
    position: fixed;
    z-index: 10002;
    top: 5%;
    left: 50%;
    font-size: clamp(14px, 1.7vw, 16px);
    overflow: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #000;
}

#NXModalContent.modal-info {
    max-width: 500px;
    margin-left: -250px;
}

#NXModalContent.modal-info {
    font-size: clamp(17px, 1.7vw, 20px);
}

#NXModalContent.white-form {
    background: #fff;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;

}

#NXModalContent .close-modal {
    position: absolute;
    z-index: 10;
    right: 25px;
    top: 20px;
    opacity: 1;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

#NXModalContent .close-modal:hover {
    opacity: 1;
}

#NXModalContent .close-modal:before,
#NXModalContent .close-modal:after {
    content: ' ';
    position: absolute;
    left: 15px;
    width: 4px;
    height: 32px;
    background-color: #ff0000;
}

#NXModalContent .close-modal:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#NXModalContent .close-modal:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#NXModalContent .ajax-form__wrapper {
    width: 100%;
    padding: 20px;
}

#NXModalContent.alert-info-modal .ajax-form__wrapper {
    min-height: 200px;
}

#NXModalContent .title {
    width: 100%;
    margin: 0 0 20px;
    padding-right: 45px;
    text-transform: uppercase;
    line-height: normal;
    font-size: clamp(20px, 2.15vw, 25px);
}

#NXModalContent .modal-message__wrapper {
    width: 100%;
}

#NXModalContent .modal-message__wrapper span {
    width: 100%;
    display: block;
}

.inpt-tirohia,
input[name="tirohia"],
input[data-sid="tirohia"] {
    opacity: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 0 !important;
    width: 0;
    z-index: -1;
}

@media(max-width: 1024px) {
    #NXModalContent {
        width: 95%;
        left: 0;
        right: 0;
        top: 20px;
        max-height: 80vh;
        margin: 0 auto;
        height: auto;
        overflow-y: auto;
    }
    #NXModalContent.modal-info {
        margin: 0 auto;
    }
    #NXModalContent .title {
        width: 100%;
        margin: 0 0 20px;
        padding-right: 25px;
    }
    #NXModalContent .ajax-form__wrapper {
        padding: 15px;
    }
    #NXModalContent .close-modal:before,
    #NXModalContent .close-modal:after {
        left: 11px;
        height: 25px;
    }
    #NXModalContent .close-modal {
        width: 25px;
        height: 25px;
        right: 15px;
        top: 15px;
    }
}

.phone-error__label {
    display: block;
    font-size: 11px;
    text-align: left;
}

/****************** FLEXBOX PRESET ******************/

.nx-flex-row,
.nx-flex-col,
.nx-flex-col-st,
.nx-flex-row-btw,
.nx-flex-col-btw,
.nx-flex-row-btw-st,
.nx-flex-col-btw-st,
.nx-flex-row-btw-c,
.nx-flex-row-c-c,
.nx-flex-col-c-c,
.nx-flex-row-b-c,
.nx-flex-row-t-c,
.nx-flex-col-t-c,
.nx-flex-row-t-r,
.nx-flex-col-t-r,
.nx-flex-row-l-c,
.nx-flex-col-l-c,
.nx-flex-row-r-c,
.nx-flex-col-r-c,
.nx-flex-col-btw-r,
.nx-flex-col-b-l,
.nx-flex-col-b-r,
.nx-flex-row-b-l,
.nx-flex-row-b-r,
.nx-flex-row-btw-b-r {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.nx-flex-row-btw,
.nx-flex-col-btw,
.nx-flex-row-btw-st,
.nx-flex-col-btw-st,
.nx-flex-row-btw-c,
.nx-flex-col-btw-r,
.nx-flex-row-btw-b-r{
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.nx-flex-col-st,
.nx-flex-row-btw-st,
.nx-flex-col-btw-st {
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.nx-flex-row-t-r,
.nx-flex-row-r-c,
.nx-flex-col-r-c,
.nx-flex-col-b-l,
.nx-flex-col-b-r,
.nx-flex-row-b-r{
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.nx-flex-row-c-c,
.nx-flex-col-c-c,
.nx-flex-row-b-c,
.nx-flex-col-l-c,
.nx-flex-row-t-c,
.nx-flex-col-r-c {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.nx-flex-row-btw-c,
.nx-flex-row-c-c,
.nx-flex-col-c-c,
.nx-flex-col-t-c,
.nx-flex-row-l-c,
.nx-flex-row-r-c,
.nx-flex-row-ar-c,
.nx-flex-col-ar-c {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}
.nx-flex-col-t-r,
.nx-flex-row-b-c,
.nx-flex-col-r-c,
.nx-flex-col-btw-r,
.nx-flex-col-b-r,
.nx-flex-row-b-l,
.nx-flex-row-b-r,
.nx-flex-row-btw-b-r,
.nx-flex-row-ar-b,
.nx-flex-col-ar-r {
    -webkit-align-content: flex-end;
    -ms-flex-line-pack: end;
    align-content: flex-end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.nx-flex-col,
.nx-flex-col-st,
.nx-flex-col-btw,
.nx-flex-col-btw-c,
.nx-flex-col-btw-st,
.nx-flex-col-t-c,
.nx-flex-col-t-r,
.nx-flex-col-c-c,
.nx-flex-col-l-c,
.nx-flex-col-r-c,
.nx-flex-col-btw-r,
.nx-flex-col-b-l,
.nx-flex-col-b-c,
.nx-flex-col-b-r,
.nx-flex-col-st-b,
.nx-flex-col-ar,
.nx-flex-col-ar-c,
.nx-flex-col-ar-r {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}