/* Persian Font */
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url(../fonts/iransans/eot/IRANSansWeb_Black.eot);
    src: url(../fonts/iransans/eot/IRANSansWeb_Black.eot?#iefix) format("embedded-opentype"), url(../fonts/iransans/woff2/IRANSansWeb_Black.woff2) format("woff2"), url(../fonts/iransans/woff/IRANSansWeb_Black.woff) format("woff"), url(../fonts/iransans/ttf/IRANSansWeb_Black.ttf) format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/iransans/eot/IRANSansWeb_Bold.eot);
    src: url(../fonts/iransans/eot/IRANSansWeb_Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/iransans/woff2/IRANSansWeb_Bold.woff2) format("woff2"), url(../fonts/iransans/woff/IRANSansWeb_Bold.woff) format("woff"), url(../fonts/iransans/ttf/IRANSansWeb_Bold.ttf) format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/iransans/eot/IRANSansWeb_Medium.eot);
    src: url(../fonts/iransans/eot/IRANSansWeb_Medium.eot?#iefix) format("embedded-opentype"), url(../fonts/iransans/woff2/IRANSansWeb_Medium.woff2) format("woff2"), url(../fonts/iransans/woff/IRANSansWeb_Medium.woff) format("woff"), url(../fonts/iransans/ttf/IRANSansWeb_Medium.ttf) format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/iransans/eot/IRANSansWeb_Light.eot);
    src: url(../fonts/iransans/eot/IRANSansWeb_Light.eot?#iefix) format("embedded-opentype"), url(../fonts/iransans/woff2/IRANSansWeb_Light.woff2) format("woff2"), url(../fonts/iransans/woff/IRANSansWeb_Light.woff) format("woff"), url(../fonts/iransans/ttf/IRANSansWeb_Light.ttf) format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url(../fonts/iransans/eot/IRANSansWeb_UltraLight.eot);
    src: url(../fonts/iransans/eot/IRANSansWeb_UltraLight.eot?#iefix) format("embedded-opentype"), url(../fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2) format("woff2"), url(../fonts/iransans/woff/IRANSansWeb_UltraLight.woff) format("woff"), url(../fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf) format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/iransans/eot/IRANSansWeb.eot);
    src: url(../fonts/iransans/eot/IRANSansWeb.eot?#iefix) format("embedded-opentype"), url(../fonts/iransans/woff2/IRANSansWeb.woff2) format("woff2"), url(../fonts/iransans/woff/IRANSansWeb.woff) format("woff"), url(../fonts/iransans/ttf/IRANSansWeb.ttf) format("truetype");
}

body {
    font-family: 'IRANSans', sans-serif;
    background-color: #f8fafb;
    direction: rtl
}

p {
    color: #b3b3b3;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'IRANSans', sans-serif;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

    a:hover {
        text-decoration: none !important;
    }

.content {
    padding: 5rem 0;
}

h2 {
    font-size: 20px;
}

.site-label {
    color: #8880ff !important
}

.logo {
    display: block;
    margin: auto;
    max-width: 250px;
    max-height: 150px;
    margin-bottom: 45px;
}

.info {
    color: #2546df !important;
}

.modal-body p {
    color: initial
}

.cursor-pointer {
    cursor: pointer
}

.form-group:has(> .input-validation-error) {
    border: 1px solid red !important;
    box-shadow: 0 0 5pt 2pt #e8000033;
    outline-width: 0px;
}

@media (max-width: 991.98px) {
    .content .bg {
        height: 500px;
    }
}

.content .contents, .content .bg {
    width: 50%;
}

@media (max-width: 1199.98px) {
    .content {
        padding: 4rem 0;
    }

        .content .contents, .content .bg {
            width: 100%;
        }
}

.content .contents .form-group, .content .bg .form-group {
    overflow: hidden;
    margin-bottom: 0;
    padding: 18px 15px 15px 15px;
    border-bottom: none;
    position: relative;
    background: #edf2f5;
    border-bottom: 1px solid #e6edf1;
}

    .content .contents .form-group label, .content .bg .form-group label {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
    }

    .content .contents .form-group input, .content .bg .form-group input {
        background: transparent;
    }

    .content .contents .form-group.first, .content .bg .form-group.first {
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
    }

    .content .contents .form-group.last, .content .bg .form-group.last {
        border-bottom-left-radius: 7px;
        border-bottom-right-radius: 7px;
    }

    .content .contents .form-group label, .content .bg .form-group label {
        font-size: 12px;
        display: block;
        margin-bottom: 0;
        color: #8e8e8e;
    }

    .content .contents .form-group.focus, .content .bg .form-group.focus {
        background: #fff;
    }

    .content .contents .form-group.field--not-empty label, .content .bg .form-group.field--not-empty label {
        margin-top: -20px;
    }

.content .contents .form-control, .content .bg .form-control {
    border: none;
    padding: 0;
    font-size: 20px;
    border-radius: 0;
}

    .content .contents .form-control:active, .content .contents .form-control:focus, .content .bg .form-control:active, .content .bg .form-control:focus {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.content .bg {
    background-size: cover;
    background-position: center;
}

.content a {
    color: #888;
    text-decoration: underline;
}

.content .btn {
    height: 54px;
    padding-left: 30px;
    padding-right: 30px;
}

.content .forgot-pass {
    position: relative;
    top: 2px;
    font-size: 14px;
}

.social-login a {
    text-decoration: none;
    position: relative;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
}

    .social-login a span {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .social-login a:hover {
        color: #fff;
    }

    .social-login a.facebook {
        background: #3b5998;
    }

        .social-login a.facebook:hover {
            background: #344e86;
        }

    .social-login a.twitter {
        background: #1da1f2;
    }

        .social-login a.twitter:hover {
            background: #0d95e8;
        }

    .social-login a.google {
        background: #ea4335;
    }

        .social-login a.google:hover {
            background: #e82e1e;
        }

.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
}

    .control .caption {
        position: relative;
        top: .2rem;
        color: #888;
    }

    .control input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 4px;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc;
}

.control input:checked ~ .control__indicator {
    background: #6c63ff;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #847dff;
}

.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.9;
    pointer-events: none;
}

.control__indicator:after {
    font-family: 'icomoon';
    content: '\e5ca';
    position: absolute;
    display: none;
    font-size: 16px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #fff;
}

.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    margin-top: -1px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}

.control--checkbox input:disabled:checked ~ .control__indicator {
    background-color: #7e0cf5;
    opacity: .2;
}

.login-bg {
    position: relative;
    height: 100%;
}

.bg-cover {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: linear-gradient(311deg, rgba(20,11,65,0.8) 0%, rgba(18,22,48,0.8) 65%);
}

@media (max-width: 768px) {

    .content .btn {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* captcha */

.dntcaptcha {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
}

    .dntcaptcha img {
        border-radius: 0.25rem;
        border: 1px solid lightgray;
        width: 100%;
        grid-column: span 2;
        height: 64px;
        min-height: 64px;
        max-height: 64px;
    }

    .dntcaptcha a.fa-solid {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        grid-column: span 1;
        text-decoration: none;
        cursor: pointer;
    }

    .dntcaptcha div.form-group {
        padding: 0.25rem 0.5rem !important;
        grid-column: span 5 !important;
        height: 64px !important;
    }

        .dntcaptcha div.form-group input {
            height: inherit;
            direction: rtl;
        }

div.dntcaptcha span.text-danger {
    grid-column: span 5;
}

/* login card */

div.login-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    div.login-cards-container {
        grid-template-columns: 1fr 1fr;
    }

    a.login-card img {
        max-width: 50% !important;
    }
}

a.login-card {
    text-decoration: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 8px 4px lightgray;
    display: flex;
    flex-direction: column;
    background: #f3f4f6; /* tw4 slate-200 */
}

    a.login-card:hover {
        box-shadow: 0 0 8px 4px gray;
    }

    a.login-card div {
        padding: 1rem;
        width: 100%;
    }

    a.login-card h5 {
        font-weight: bold;
        color: var(--bs-primary);
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    a.login-card p {
        color: gray;
    }

    a.login-card img {
        object-fit: cover;
        width: 100%;
    }

div#login-layout-map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

ul#footer-social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style-type: none;
}

    ul#footer-social-media li {
        max-width: 36px;
    }

/*
    utility classes
*/
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
