﻿html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family: "shabnam", sans-serif;
    color: var(--nx-text-general-color, dimgray);
    text-align: right;
    min-width: 320px;
    font-weight: normal;
    font-size: .9rem;
    font-weight: 100;
    cursor: default;
}

@media screen and (min-width:768px) {
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(0,0,0,.1) rgba(0,0,0,.05);
    }

    ::-webkit-scrollbar {
        width: 0.5rem;
        height: 0.5rem;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        background: rgba(0,0,0,.05);
        border-radius: .3rem;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.1);
        border-radius: 8px;
        transition: 1s ease all;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(0,0,0,.15);
        }
}

a {
    color: var(--nx-link-general-color, dimgray);
    text-decoration: none !important;
    outline: none;
    transition: .3s ease all;
}

    a:hover {
        color: var(--nx-link-general-color-hover, navy);
    }

h1 {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -.04rem;
}

h2, h3, h4, h5, h6, .font-primary {
    letter-spacing: -.03rem;
}

p {
    font-weight: 300;
    letter-spacing: -.01rem;
    margin: 0;
}

iframe {
    -webkit-overflow-scrolling: touch;
}

.inline-sep, .text-sep {
    margin: 0 .75rem;
    width: 1px;
    display: inline-flex;
    background-color: var(--nx-text-general-color, dimgray);
    height: 1.3em;
    opacity: .4;
}

.is-mandatory {
    color: red !important;
    font-weight: bold !important;
}

.persian-digit {
    font-family: ShabnamDigit !important;
}

.nointernetconn {
    display: none;
    position: fixed;
    background-color: white;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
}

.nointernetconn-icon {
    font-size: 3rem;
    color: red;
}

.nointernetconn-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: navy;
    margin-bottom: .3rem;
}

.nointernetconn-desc {
    font-weight: normal;
    font-size: 1rem;
    color: gray;
}

.nointernetconn-btn {
    margin: 2rem 0;
    display: inline-block;
    background-color: #f0f0f0;
    padding: .5rem 3rem;
    border-radius: 1rem;
    color: navy;
    transition: .3s ease all;
}

    .nointernetconn-btn:hover {
        background-color: #e9e9e9;
        color: navy;
        font-weight: bold;
    }

.hover-center-under {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    position: relative;
    overflow: hidden;
}

    .hover-center-under:before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 51%;
        right: 51%;
        bottom: 0;
        background: red;
        height: 2px;
        -webkit-transition-property: left, right;
        transition-property: left, right;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.2s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }

    .hover-center-under:hover:before, .hover-center-under:active:before {
        left: 0;
        right: 0;
    }

#FloatBtnsContainer {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9901;
}

#FABStartContainer {
    max-width: 16rem;
    min-width: 10rem;
    width: calc(100% - 7rem);
}

#FABStart {
    background-color: #ecececeb;
    border: 1px #cacacad6 solid;
    color: #232480;
    padding: .66rem;
    border-radius: 1.5rem;
    text-align: center;
    display: block;
    font-size: 1rem;
    height: 3rem;
    font-weight: 500;
}

.fab-contact-btn {
    position: fixed;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    right: 1rem;
    bottom: 1rem;
    background-color: #ecececeb;
    border: 1px #cacacad6 solid;
    transition: .3s ease all;
    z-index: 9980;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .fab-contact-btn .bi {
        font-size: 1.66rem;
        color: #27b378;
        position: relative;
        top: .2rem;
    }
/*--------------------------------------------------------------
# loading page
--------------------------------------------------------------*/
#LoadingPage {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9992;
}

.loading-img {
    width: 4rem;
    height: 4rem;
    border: 8px solid #c4e1f4;
    border-left-color: rgb(196, 225, 244);
    border-left-color: whitesmoke;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    left: 1rem;
    bottom: 1rem;
    background-color: #ecececeb;
    border: 1px #cacacad6 solid;
    transition: .3s ease all;
    z-index: 9990;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .back-to-top i {
        font-size: 1.5rem;
        display: flex;
        color: #ad78fb;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 8px solid #c4e1f4;
        border-top-color: whitesmoke;
        border-radius: 50%;
        width: 4rem;
        height: 4rem;
        -webkit-animation: animate-preloader 1s linear infinite;
        animation: animate-preloader 1s linear infinite;
    }

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ani-delay-100 {
    animation-delay: 100ms !important;
}

.ani-delay-200 {
    animation-delay: 200ms !important;
}

.ani-delay-300 {
    animation-delay: 300ms !important;
}

.ani-delay-400 {
    animation-delay: 400ms !important;
}

.ani-delay-500 {
    animation-delay: 500ms !important;
}

.ani-delay-600 {
    animation-delay: 600ms !important;
}

.ani-delay-700 {
    animation-delay: 700ms !important;
}

.ani-delay-800 {
    animation-delay: 800ms !important;
}

.ani-delay-900 {
    animation-delay: 900ms !important;
}

.ani-delay-1000 {
    animation-delay: 1000ms !important;
}

.ani-delay-1100 {
    animation-delay: 1100ms !important;
}

.ani-delay-1200 {
    animation-delay: 1200ms !important;
}

.ani-delay-1300 {
    animation-delay: 1300ms !important;
}


.ani-delay-1400 {
    animation-delay: 1400ms !important;
}

.ani-delay-1500 {
    animation-delay: 1500ms !important;
}

.ani-delay-1600 {
    animation-delay: 1600ms !important;
}

.ani-delay-1700 {
    animation-delay: 1700ms !important;
}

.ani-delay-1800 {
    animation-delay: 1800ms !important;
}

.ani-delay-1900 {
    animation-delay: 1900ms !important;
}

.ani-delay-2000 {
    animation-delay: 2000ms !important;
}
