﻿
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .03);
}

*::-webkit-scrollbar-thumb {
    background-color: #7db2c940;
    border: 1px solid rgba(0, 0, 0, 0);
}


* {
    scrollbar-width: thin;
    scrollbar-color: #7db2c940 rgba(0, 0, 0, 0);
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    font-size: .9rem;
    font-family: var(--nsop-theme-font-family, Shabnam) !important;
    color: var(--nsop-theme-text-color, gray);
    font-weight: var(--nsop-theme-text-font-weight);    
}

a {
    text-decoration: none !important;
    outline: none;
}

h1 {
    font-size: 1.75rem;
    font-weight: 800;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
    font-weight: 300;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

h5 {
    font-size: 1.05rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}



strong, b{
    font-weight:600;
}

table thead,
table tfoot {
    position: sticky;
}

table thead {
    inset-block-start: 0; /* "top" */
    top: 0;
}

table tfoot {
    inset-block-end: 0; /* "bottom" */
    bottom: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

hr {
    background-color: var(--nsop-theme-pallete-border-color, #dee2e6);
    opacity: 1;
    border: 0;
    height: 1px;
}

.is-mandatory {
    color: red !important;
    font-weight: bold !important;
}

.persian-digit {
    font-family: var(--nsop-theme-digit-font-family, ShabnamDigit) !important;
}

.flip-horz, .flip-horz::after, .flip-horz::before {
    transform: scaleX(-1) !important;
}

.flip-vert, .flip-vert::after, .flip-vert::before {
    transform: scaleY(-1) !important;
}

.disabled-pointer {
    pointer-events: none;
}

.labelgroup {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    margin-bottom: .5rem;
}

.labelgroup-title {
    font-weight: 300;
    margin-left: .5rem;
    min-width: 6rem;
}

.page-loading-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,1);
    z-index: 99999;
}

.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: var(--nsop-theme-palette-primary-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: var(--nsop-theme-palette-primary-color, navy);
    transition: .3s ease all;
}

    .nointernetconn-btn:hover {
        background-color: #e9e9e9;
        color: var(--nsop-theme-palette-primary-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;
    }

.inline-sep {
    margin: 0 .5rem;
    border-left: 1px #c0c0c090 solid;
    height: 1.5rem;
}

.noClick {
    pointer-events: none !important;
}

.load-spinner {
    margin: 0 .5rem;
    display: none;
}

.back-to-top {
    position: fixed;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    left: 1.5rem;
    bottom: 1.5rem;
    background: #48699d6b;
    color: #fff;
    transition: .3s ease all;
    z-index: 1038;
    backdrop-filter: blur(4px);
    border: 1px solid #ffffff2e;
    display: none;
}

    .back-to-top i {
        font-size: 1.5rem;
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        margin: 0 auto;
        display: inline-block;
        left: 50%;
        position: absolute;
        display: flex;
    }

    .back-to-top:hover {
        color: white;
        background: #48699da9;
    }

@media screen and (max-width:767px) {
    .back-to-top {
        bottom: 4.5rem;
        left: 50%;
        transform: translateX(-50%);
        height: 1.5rem;
        border-radius: 1rem;
    }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #ffffffcf;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

    #preloader:before {
        content: "";
    }

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-cta {
    display: flex;
    justify-content: center;
}

    .btn-cta a {
        font-weight: 200;
        font-size: 1.1rem;
        display: inline-block;
        padding: .5rem 2.2rem;
        border-radius: 3rem;
        transition: 0.5s;
        margin: 1rem 0 2rem;
        border: 0;
        background-color: var(--nsop-theme-palette-secondary-color);
        color: var(--nsop-theme-palette-secondary-opposite-color);
        min-width: 18rem;
        text-align: center;
        letter-spacing: -.03rem;
    }

        .btn-cta a:hover {
            background-color: var(--nsop-theme-palette-secondary-dark-color);
            letter-spacing: .02rem;
        }


.btn-text-truncate-toggle {
    background-color: var(--nsop-theme-palette-backcolor, whitesmoke);
    padding: .1rem .75rem;
    border-radius: 1rem;
    font-size: .8rem;
    color: var(--nsop-theme-palette-primary-light-color,royalblue);
    font-weight: 200;
    transition: .3s ease all;
    white-space: nowrap;
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    text-indent: 0;
    opacity: .5;
}

    .btn-text-truncate-toggle.collapsed {
        opacity: 1;
    }

    .btn-text-truncate-toggle .icon {
        display: flex;
        margin: 0 .25rem;
        font-size: 1rem;
    }

    .btn-text-truncate-toggle:hover {
        background-color: var(--nsop-theme-palette-secondary-light-color,#d5def1);
        color: var(--nsop-theme-palette-primary-color, navy);
        opacity: 1;
    }



    .btn-text-truncate-toggle::after {
        content: 'نمایش کوتاه';
    }

    .btn-text-truncate-toggle::before {
        content: '';
    }

    .btn-text-truncate-toggle.collapsed::before {
        content: 'نمایش کامل';
    }

    .btn-text-truncate-toggle.collapsed::after {
        content: '';
    }

.no-trans-collapsing {
    transition: unset !important;
}

.slick-slide {
    position: relative;
}

.slick-next {
    right: 1rem;
    background-color: inherit;
    z-index: 999;
}

.slick-prev {
    left: 1.75rem;
    background-color: inherit;
    z-index: 999;
}

    .slick-prev::before, .slick-next::before {
        color: var(--nsop-theme-dark-backcolor);
        border-radius: 50%;
        font-size: 1.25rem;
        background-color: rgba(0,0,0,.05);
        display: flex;
        width: 3rem;
        height: 3rem;
        justify-content: center;
        align-items: center;
        transition: .3s ease all;
    }

.main-page {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

    .main-page a {
        font-size: 1rem;
        color: white;
        background-color: #7411d7;
        border: 1px solid;
        padding: 1rem;
        margin: .5rem 0;
        border-radius: 1rem;
        align-self: center;
        min-width: 20rem;
        text-align: center;
    }

.slick-prev, .slick-next {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

    .slick-next::before {
        content: '\F285';
    }

    .slick-prev::before {
        content: '\F284';
    }

    .slick-prev::before, .slick-next::before {
        font-family: bootstrap-icons;
        font-size: 26px;
        color: whitesmoke;
        font-weight: bold;
    }
