/* 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%);
}

.login-card {
    -webkit-box-shadow: 1px 1px 15px 1px #3B5290;
    box-shadow: 1px 1px 15px 1px #3B5290;
}

.img-login {
    height: 100%;
}

.p-login {
    margin: 0.3rem !important
}

.box-login-container {
    background: #dde1e7;
    height: 120px;
    transition: all 0.3s ease-in-out;
    box-shadow: inset -5px -5px 9px rgba(255,255,255,0.45), inset 5px 5px 9px rgba(94,104,121,0.3);
}

.box-login:hover .box-login-container {
    box-shadow: -5px -5px 9px rgba(255,255,255,0.45), 5px 5px 9px rgba(94,104,121,0.3);
}

@media (max-width: 1024px) {
    .box-login-container {
        height: 140px !important;
    }
}

@media (max-width: 768px) {

    .content .btn {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .box-login-container {
        height: 150px !important;
    }
}

@media only screen and (max-width: 500px) {
    .box-login-container {
        flex-direction: column;
        height: 400px !important;
        width: 80%;
        margin: 0 auto;
    }
}
