@font-face {
    font-family: IRANSansWeb;
    src: url(Fonts/IRANSansWeb.ttf);
}
body {
    direction: rtl;
    font-family: IRANSansWeb;
}
.bgimg {
    /*background-image: url('/Media/Default/pic/blackfrd14002.jpg');*/
    background-color: #F2F4F7;
    background-size: cover;
}
.login-bg-style-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
}
    .login-bg-style-inner a {
        text-decoration: none !important;
    }
.main-box {
    background-color: #fff;
    width: 1005px;
    border-radius: 12px;
    min-height: 470px;
}
    .main-box .back-btn-top{
        position: absolute;
        right: 24px;
        top: 24px;
        z-index:9;
    }
        .main-box .back-btn-top a {
            display: block;
            border-radius: 8px;
            border: 1px solid #E4E7EC;
            background: #FFF;
            padding: 8px 32px 8px 8px;
            color: #667085;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
        }
            .main-box .back-btn-top a:hover {
                text-decoration: none;
                background: #f8f8f8;
            }
            .main-box .back-btn-top a:before {
                content: "";
                background-image: url(/Media/Default/pic/arrow-right.svg);
                width: 16px;
                height: 16px;
                background-repeat: no-repeat;
                position: absolute;
                right: 9px;
                top: 11px;
            }
    .main-box .back-btn-down {
        margin-top: 8px;
    }
        .main-box .back-btn-down a {
            display: block;
            border-radius: 12px;
            border: 1px solid #E4E7EC;
            height: 40px;
            padding: 10px;
            color: #667085;
            font-size: 14px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            text-decoration: none;
            text-align: center;
        }
.login-form-box {
    background-image: url(/Media/Default/pic/bg-logo.png);
    background-repeat: no-repeat;
    background-position: top center;
    display: flex;
    flex-wrap: wrap;
    padding: 73px 24px 16px 24px;
    height: 100%;
}
    .login-form-box label.form-control, .login-form-box label {
        color: #475467;
        text-align: right;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    .login-form-box input.form-control {
        border-radius: 12px;
        border: 1px solid #D0D5DD;
        background: #FFF;
        height: 48px;
        padding: 14px 16px;
        color: #475467;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
        .login-form-box input.form-control:hover {
            border: 1px solid #98A2B3;
        }
        .login-form-box input.form-control:focus {
            border: 1px solid #F26122;
            background:#fff;
        }
        .login-form-box input.form-control:-webkit-autofill,
        .login-form-box input.form-control:-webkit-autofill:hover,
        .login-form-box input.form-control:-webkit-autofill:focus,
        .login-form-box input.form-control:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px white inset !important;
        }
        .login-form-box input.form-control::placeholder {
            color: #98A2B3;
            text-align: right;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }
    .login-form-box input.error {
        border: 1px solid #F62C2C !important;
    }
    .login-form-box .show-password {
        position: absolute;
        left: 13px;
        top: 40px;
        cursor: pointer;
    }
    .login-form-box .forget-pass-box{
        width: 100%;
        text-align: center;
        padding-top:16px;
    }
        .login-form-box .forget-pass-box a {
            color: #3359D3;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
        }
    .login-form-box .login-form-footer {
        width: 100%;
        color: #98A2B3;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
.login-banner-box {
    background-color: #062C5E;
    background-image: url('/Media/Default/pic/bg-blue.svg');
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
    .login-banner-box .banner-title {
        color: #F9FAFB;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    .login-banner-box .banner-subtitle {
        color: #D0D5DD;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

.login-bg-style {
    padding: 10px 0px;
    direction: rtl;
    text-align: right;
    overflow-y: scroll;
}

.bg-bdy-login {
    background-color: white;
}

.loginheadertxt {
    color: #1D2939;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.logintxt
{
    color:white;
    font-size:20px;
}
.file, .input, .select, .textarea, input[type="datetime-local"], input[type="email"], input[type="file"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], select, textarea {
    border-top: none;
    border-right:none;
    border-left:none;
}
input[type=text]:focus, input[type=password]:focus {
    box-shadow: none;
}

.txtdetails {
    color: #98A2B3;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
}
.mdl-textfield
{
    width:100%;
}

.loginform .loginbtn {
    font-family: IRANSansWeb;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: #F26122;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border: unset;
    transition: 0.2s all;
}
    .loginform .loginbtn:hover {
        background: #F97D47;
    }
    .loginform .loginbtn:not(:disabled):not(.disabled).active, .loginform .loginbtn:not(:disabled):not(.disabled):active, .show > .loginform .loginbtn.dropdown-toggle {
        background-color: #F97D47;
        border-color: #fff;
    }
    .loginform .loginbtn:not(:disabled):not(.disabled).active:focus, .loginform .loginbtn:not(:disabled):not(.disabled):active:focus, .show > .loginform .loginbtn.dropdown-toggle:focus {
        box-shadow: 0 0 0 .2rem #fff;
    }
    .loginform .loginbtn.focus, .loginform .loginbtn:focus {
        background-color: #F97D47;
        border-color: #fff;
        box-shadow: 0 0 0 .2rem #fff;
    }
.btn-open-rules {
    color: #3359D3 !important;
    cursor: pointer;
    font-weight: 600;
}
.btn-close-rules {
    cursor:pointer;
}
.btn-resend-code {
    position: absolute;
    left: 10px;
    top: 42px;
    color: #3359D3;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
}
    .btn-resend-code:hover {
        text-decoration:unset;
    }
    .login-button-box{
        margin-top: 24px;
    }

.login-form-footer {
    color: #98A2B3;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}
#rules-box {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000ad;
    z-index: 999;
    display: none;
}
.active-rules-box {
    display: block!important;
}
.rules-main {
    max-width: 800px;
    height: 445px;
    border-radius: 12px;
    background: #FFF;
    padding: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    transform: translate(0%, 0%);
}
.rules-header {
    display: flex;
    justify-content: space-between;
    color: #1D2939;
    font-size: 16px;
    font-weight: 700;
    padding-bottom:20px;
}
.rules-content {
    max-height: 315px;
    overflow-y: scroll;
    background-color: #F9FAFB;
    padding:8px;
}
    .rules-content header.site-header,
    .rules-content .pg-closed-now.inactive,
    .rules-content footer.site-footer {
        display: none!important;
    }
    .rules-content h3.custom-title {
        color: #475467;
        text-align: right;
        font-size: 14px;
        font-weight: 500;
    }
    .rules-content h4 {
        color: #475467;
        text-align: right;
        font-size: 13px;
        font-weight: 500;
    }
    .rules-content p, .rules-content li {
        color: #667085;
        text-align: right;
        font-size: 12px;
        font-weight: 400;
    } 
.rules-footer{
    text-align:center;
    padding:10px;
}
.orange-btn {
    color: #FFF;
    font-size: 14px;
    background: #F26122;
    text-align: center;
    border: unset;
}
    .orange-btn:hover {
        background: #F97D47;
    }
.orange-btn-small{
    border-radius: 8px;
    padding: 6px 32px;

}
/*-- start custom checkbox --*/
input[type="checkbox"]:checked, input[type="checkbox"]:hover:checked, input[type="checkbox"]:focus:checked {
    border-color: #fff !important;
    background-color: #3359d3 !important;
    box-shadow: none !important;
}
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .checkbox-container {
        padding-top: 5px;
        font-size: 12px;
        font-weight: 500;
        margin-bottom: -16px !important;
    }

        .checkbox-container span {
            color: #98A2B3;
        }

        .checkbox-container input[type=checkbox] {
            --active: #3359D3;
            --active-inner: #fff;
            --focus: 1px rgba(39, 94, 254, .3);
            --border: #F2F4F7;
            --border-hover: #3359D3;
            --background: #fff;
            --disabled: #F6F8FF;
            --disabled-inner: #E1E6F9;
            -webkit-appearance: none;
            -moz-appearance: none;
            height: 20px;
            outline: none;
            display: inline-block;
            vertical-align: top;
            position: relative;
            margin: 0;
            cursor: pointer;
            border: 1px solid var(--bc, var(--border));
            background: var(--b, var(--background));
            transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
        }

            .checkbox-container input[type=checkbox]:after {
                content: "";
                display: block;
                left: 0;
                top: 0;
                position: absolute;
                transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
            }

            .checkbox-container input[type=checkbox]:checked {
                --b: var(--active);
                --bc: var(--active);
                --d-o: .3s;
                --d-t: .6s;
                --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
            }

            .checkbox-container input[type=checkbox]:disabled {
                --b: var(--disabled);
                cursor: not-allowed;
                opacity: 0.9;
            }

                .checkbox-container input[type=checkbox]:disabled:checked {
                    --b: var(--disabled-inner);
                    --bc: var(--border);
                }

                .checkbox-container input[type=checkbox]:disabled + label {
                    cursor: not-allowed;
                }

            .checkbox-container input[type=checkbox]:hover:not(:checked):not(:disabled) {
                --bc: var(--border-hover);
            }

            .checkbox-container input[type=checkbox]:focus {
                box-shadow: unset;
            }

            .checkbox-container input[type=checkbox]:not(.switch) {
                width: 20px;
            }

                .checkbox-container input[type=checkbox]:not(.switch):after {
                    opacity: var(--o, 0);
                }

                .checkbox-container input[type=checkbox]:not(.switch):checked {
                    --o: 1;
                }

            .checkbox-container input[type=checkbox] + label {
                display: inline-block;
                vertical-align: middle;
                cursor: pointer;
                margin-left: 4px;
            }

            .checkbox-container input[type=checkbox]:not(.switch) {
                border-radius: 4px;
            }

                .checkbox-container input[type=checkbox]:not(.switch):after {
                    width: 5px;
                    height: 9px;
                    border: 2px solid #FFF;
                    border-top: 0;
                    border-left: 0;
                    left: 6px;
                    top: 3px;
                    transform: rotate(var(--r, 20deg));
                }

                .checkbox-container input[type=checkbox]:not(.switch):checked {
                    --r: 43deg;
                }
}

.checkbox-container * {
    box-sizing: inherit;
}

    .checkbox-container *:before,
    .checkbox-container *:after {
        box-sizing: inherit;
    }
/*-- end custom checkbox --*/
.validation-error {
    display: none;
    color: red !important;
}
.has-error .validation-error {
    display: block;
}
.checkbox-container .validation-error {
    padding-right: 20px;
}
.form-footer, .password-form-footer {
    margin: 24px 0;
}
/*---------------------- Responsive -----------------------*/
@media only screen and (max-width: 1366px) { /*- laptop large -*/
    .login-bg-style-inner {
        gap: 50px;
    }
}
@media only screen and (max-width: 992px) {/*- laptop small -*/
    .rules-main {
        max-width: 750px;
        height: 445px;
    }
    .main-box {
        width: 70%;
    }
    .login-bg-style-inner {
        height: 90vh;
    }

}
@media only screen and (max-width: 767px) { /*- mobile landscape and tablet -*/
    .rules-main {
        max-width: 700px;
        height: 445px;
    }
    .main-box {
        width: 80%;
    }

}
@media only screen and (max-width: 576px) {/*- mobile -*/
    .login-bg-style{
        padding:0;
    }
    .login-bg-style-inner {
        height: 100%;
        display: flex;
        align-items: center;
    }
    .main-box {
        width: 100%;
        width: 100%;
        min-height: 100%;
        border-radius: 0px;
        margin-top: 0;
    }

    .loginform.bg-bdy-login {
        height: 100%;
    }
    .login-form-footer {
        min-height: 30px;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        font-size: 10px;
        align-items: center!important;
    }
    .login-form-box {
        height: 85%;
    }
    .login-form-box form{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
        .loginform .loginbtn, .login-form-box input.form-control {
            height: 40px;
        }
        .login-form-box .forget-pass-box {
            text-align: right;
            padding-top: 0px;
        }
    .btn-resend-code {
        position: absolute;
        left: 8px;
        top: 37px;
    }
    .loginheadertxt {
        font-size: 16px;
    }
    .txtdetails, .loginform .loginbtn, .main-box .back-btn-down a,
    .login-form-box label.form-control, .login-form-box label,
    .login-form-box input.form-control,
    .login-form-box input.form-control::placeholder{
        font-size: 12px;
    }
    .login-form-box .forget-pass-box a,
    .login-form-box .login-form-footer {
        font-size: 10px;
    }
    .login-form-box .show-password {
        top: 36px;
    }
    #username-box{
        height:100%;
    }
    .bg-header-login {
        height: 90px;
    }
    .password-form-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    .lost-password-form-box {
        height: 98%;
    }
    #confirm-box {
        height: 66%;
    }
    .rules-main {
        max-width: 328px;
        height: 445px;
    }
    .rules-header {
        font-size: 14px;
    }
    .rules-content h3.custom-title {
        font-size: 12px;
    }
    .rules-content h4 {
        font-size: 11px;
    }
    .rules-content p,.rules-content li {
        font-size: 10px;
    }
    .checkbox-container {
        font-size: 10px;
        padding-top: 8px;
    }
}