﻿@import url('fonts.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.x-btn {
    text-decoration: none !important;
}

.x-window-body, .x-btn-inner, .x-mask-msg-text, .x-title-text {
    font-family: IRANYekanDigits,sans-serif !important;
}

.x-autocontainer-innerCt {
    vertical-align: middle !important;
}

body, html {
    height: 100%;
    font-family: IRANYekanDigits,sans-serif !important;
    overflow: hidden !important;
    background: #fff !important;
}

.limiter {
    width: 100%;
    margin: 0 auto
}

.container-login {
    background: #fff url('../images/login/bkg.jpg') no-repeat right top / 100% !important;
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

    .container-login:after, .container-bkg {
        /*content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        background: url(../images/login/orange-bkg.svg) no-repeat top left;
        background-size: cover;
        width: 777px;
        height: 527px;*/
        /*background: url(../images/login/orange-bkg.svg) no-repeat bottom left;
        background-size: contain;
        width: 899px;
        height: 619px;*/
        /*z-index: 0;*/
        /*content: "";*/
        position: absolute;
        left: 0;
        bottom: -34px;
        background: url(../images/login/orange-bkg.svg) no-repeat top left;
        background-size: contain;
        z-index: 0;
    }

.wrap-login {
    position: relative;
    width: 76%;
    background-color: #fbfbfb;
    border-radius: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: calc(100vh - 200px);
    align-items: center;
    box-shadow: 0 0 100px 0 rgba(0,0,0,.03) inset,0 30px 70px 0 rgba(0,0,0,.1);
    z-index: 1;
}

    .wrap-login:after, .wrap-bkg {
        /*content: "";*/
        position: absolute;
        left: 0;
        bottom: -1px;
        background: url('../images/login/pic01.svg') no-repeat bottom left;
        background-size: contain;
        /*background: url(../images/login/pic01.svg) no-repeat bottom left;
        background-size: contain;
        width: 760px;
        height: 545px;*/
        z-index: 0;
        border-bottom-left-radius: 20px;
    }

.container-bkg {
    width: 828px;
    height: 604px;
}

.wrap-bkg {
    width: 700px;
    height: 496px;
}

.login-version {
    position: absolute;
    left: calc(100% + 10px);
    bottom: 20px;
    z-index: 3;
    display: flex;
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    font-size: 12px;
    font-family: IRANYekan;
    direction: ltr;
    font-weight: 500;
}

.login-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100%;
    right: 0;
    width: 430px;
    padding: 20px 30px;
}

    .login-copyright a {
        width: 100px;
        margin-right: 10px;
    }

.login-version__date {
    margin-top: 10px;
    display: inline-block;
}

.login-header {
    position: absolute;
    left: 0;
    top: 0;
    padding: 30px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    z-index: 5;
}

.login-header__support {
    border: 1px solid #c63339;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #000 !important;
    text-decoration: none !important;
}

    .login-header__support:hover {
        background-color: #c63339;
        color: #fff !important;
    }

.login-form {
    position: relative;
    z-index: 2;
    width: 430px;
    padding: 10px 30px;
}

    .login-form .form-control {
        background-color: #fbfbfb;
        padding-right: 30px;
        padding-left: 30px;
        border-radius: 30px;
        font-size: .85rem;
    }


        .login-form .form-control::placeholder {
            text-align: right !important;
            font-size: 11px;
        }

        .login-form .form-control:focus {
            box-shadow: none;
            outline: none;
        }

.login-form-btn {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: #000;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    border: 0;
    font-family: IRANYekanDigits,sans-serif !important;
}

    .login-form-btn:hover, .x-btn-focus {
        background: #333 !important;
        box-shadow: none;
    }

@media (max-width: 1130px) {
    .login-form {
        padding: 10px 40px !important;
    }
}

.form-group {
    position: relative;
    padding: 5px 6px;
    border: 1px solid #c63339;
    margin: 10px 0 25px;
    border-radius: 30px;
}

    .form-group > label {
        position: absolute;
        top: -10px;
        right: 25px;
        background-color: #fbfbfb;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .form-group > input {
        border: none;
    }

.login-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.login-logo__image {
    margin-bottom: 15px;
    max-height: 100px;
    max-width: 100%;
}

.login-logo__name {
    font-weight: 500;
    font-size: 18px;
}


.login-header select.form-control {
    background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23c63339' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right center;
    background-size: 8px 10px;
    height: unset;
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 0;
    font-size: .75rem;
    color: #000;
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-left: 5px;
    padding-right: 15px;
}

    .login-header select.form-control option {
        color: #000;
    }

    .login-header select.form-control:focus {
        color: #000;
        border: 0;
        outline: 0;
        box-shadow: none;
    }


.login-social {
    position: absolute;
    left: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column-reverse;
    z-index: 4;
}

    .login-social:after {
        content: "";
        width: 1px;
        height: 80px;
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    }

.login-social__item {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 10px;
}

    .login-social__item.whatsapp {
        background-image: url('../images/login/whatsapp.svg');
        background-size: contain;
    }

    .login-social__item.instagram {
        background-image: url('../images/login/instagram.svg');
        background-size: contain;
    }

    .login-social__item.linkedin {
        background-image: url('../images/login/linkedin.svg');
        background-size: 15px;
    }

@media(max-width:1980px) {
    .container-bkg {
        width: 1007px;
        height: 741px;
        left: -8px;
        bottom: -62px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1960px) {
    .container-bkg {
        width: 1007px;
        height: 741px;
        left: -8px;
        bottom: -62px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1940px) {
    .container-bkg {
        width: 1004px;
        height: 741px;
        left: -8px;
        bottom: -60px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1920px) {
    .container-bkg {
        width: 1002px;
        height: 741px;
        left: -8px;
        bottom: -60px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1900px) {
    .container-bkg {
        width: 1000px;
        height: 741px;
        left: -8px;
        bottom: -58px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1880px) {
    .container-bkg {
        width: 998px;
        height: 741px;
        left: -8px;
        bottom: -58px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1860px) {
    .container-bkg {
        width: 1000px;
        height: 741px;
        left: -8px;
        bottom: -49px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1840px) {
    .container-bkg {
        width: 996px;
        height: 741px;
        left: -8px;
        bottom: -49px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1820px) {


    .container-bkg {
        width: 994px;
        height: 741px;
        left: -8px;
        bottom: -49px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1800px) {

    .container-bkg {
        width: 992px;
        height: 741px;
        left: -8px;
        bottom: -42px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1780px) {

    .container-bkg {
        width: 992px;
        height: 741px;
        left: -8px;
        bottom: -42px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1760px) {

    .container-bkg {
        width: 989px;
        height: 741px;
        left: -8px;
        bottom: -42px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1740px) {

    .container-bkg {
        width: 988px;
        height: 741px;
        left: -8px;
        bottom: -36px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1720px) {

    .container-bkg {
        width: 986px;
        height: 741px;
        left: -8px;
        bottom: -36px;
        background-position: bottom left !important;
    }

    .wrap-bkg {
        width: 830px;
        height: 588px;
    }
}

@media(max-width:1700px) {

    .container-bkg {
        width: 899px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1680px) {

    .container-bkg {
        width: 897px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1660px) {

    .container-bkg {
        width: 895px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1640px) {

    .container-bkg {
        width: 893px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1620px) {

    .container-bkg {
        width: 891px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1610px) {

    .container-bkg {
        width: 889px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1600px) {

    .container-bkg {
        width: 889px;
        height: 630px;
        left: 0;
        bottom: -34px;
        background-position: top left !important;
    }

    .wrap-bkg {
        width: 750px;
        height: 531px;
    }
}

@media(max-width:1580px) {
    .container-bkg {
        width: 840px;
        height: 598px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1560px) {
    .container-bkg {
        width: 838px;
        height: 598px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1540px) {
    .container-bkg {
        width: 836px;
        height: 598px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1520px) {
    .container-bkg {
        width: 834px;
        height: 598px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1500px) {
    .container-bkg {
        width: 832px;
        height: 598px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1480px) {
    .container-bkg {
        width: 832px;
        height: 604px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1470px) {
    .container-bkg {
        width: 831px;
        height: 604px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1460px) {
    .container-bkg {
        width: 830px;
        height: 604px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1450px) {
    .container-bkg {
        width: 829px;
        height: 604px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1440px) {
    .container-bkg {
        width: 828px;
        height: 604px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1420px) {
    .wrap-login {
        width: 77%;
    }

    .container-bkg {
        width: 822px;
        height: 607px;
    }
}

@media(max-width:1400px) {
    .wrap-login {
        width: 78%;
    }

    .container-bkg {
        width: 827px;
        height: 621px;
        left: -17px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1380px) {
    .wrap-login {
        width: 79%;
    }

    .container-bkg {
        width: 821px;
        height: 624px;
        left: -17px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1360px) {
    .wrap-login {
        width: 80%;
    }

    .container-bkg {
        width: 827px;
        height: 620px;
        left: -35px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 700px;
        height: 496px;
    }
}

@media(max-width:1340px) {
    .container-bkg {
        width: 756px;
        height: 578px;
        left: -23px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 640px;
        height: 482px;
    }
}

@media(max-width:1360px) and (max-height:690px) {
    .container-bkg {
        width: 756px;
        height: 578px;
        left: -23px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 640px;
        height: 482px;
    }
}

@media(max-width:1320px) {
    .container-bkg {
        width: 755px;
        height: 578px;
        left: -23px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 640px;
        height: 482px;
    }
}


@media(max-width:1280px) {
    .container-bkg {
        width: 734px;
        height: 565px;
        left: -25px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 620px;
        height: 482px;
    }
}

@media(max-width:1260px) {
    .container-bkg {
        width: 713px;
        height: 549px;
        left: -26px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 600px;
        height: 482px;
    }
}

@media(max-width:1380px) and (max-height:630px) {
    .container-bkg {
        width: 713px;
        height: 549px;
        left: -26px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 600px;
        height: 482px;
    }
}

@media(max-width:1230px) {
    .container-bkg {
        width: 690px;
        height: 533px;
        left: -26px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 580px;
        height: 482px;
    }
}

@media(max-width:1230px) {
    .wrap-login {
        width: 81%;
    }

    .container-bkg {
        width: 690px;
        height: 533px;
        left: -32px;
        bottom: -52px;
    }

    .wrap-bkg {
        width: 580px;
        height: 482px;
    }
}

@media(max-width:1190px) {
    .wrap-login {
        width: 82%;
    }

    .container-bkg {
        left: -42px;
    }
}

@media(max-width:1170px) {
    .wrap-login {
        width: 83%;
    }

    .container-bkg {
        left: -49px;
    }
}

@media(max-width:1150px) {
    .wrap-login {
        width: 85%;
    }

    .container-bkg {
        left: -62px;
    }
}

@media(max-width:1130px) {
    .wrap-login {
        width: 85%;
    }

    .container-bkg {
        display: none;
    }

    .wrap-bkg {
        display: none;
    }

    .container-login {
        background: #f7931e !important;
    }

    .login-form {
        width: 100% !important;
        /*padding: 10px 100px !important*/
    }

    .login-header {
        position: relative !important;
        width: 100% !important;
        padding-bottom: 10px !important;
    }

    .login-copyright {
        width: 100% !important;
    }

    .login-social {
        position: relative !important;
        flex-direction: row !important;
        left: unset !important;
        bottom: unset !important;
    }

    .container-login {
        flex-direction: column;
    }

    .login-copyright {
        position: relative !important;
        padding-top: 5px !important;
    }

    .login-social__item {
        margin: 20px 10px 10px !important;
    }

    .login-social:after {
        display: none !important;
    }
}

@media(max-width:1440px) and (max-height:600px) {
    .wrap-login {
        width: 81%;
    }

    .container-bkg {
        width: 610px;
        height: 508px;
        left: -37px;
        bottom: -85px;
    }

    .wrap-bkg {
        width: 500px;
        height: 482px;
    }
}

@media(max-width:1130px) and (max-height:560px) {
    body {
        overflow-y: auto !important;
    }
}


@media (max-height:768px) and (min-width:1130px) {
    .wrap-login {
        margin-top: -50px;
        min-height: calc(100vh - 150px);
    }
}

@media (max-height:580px) and (min-width:1130px) {
    body {
        overflow-y: auto !important;
    }

    .wrap-login {
        margin-top: unset;
        min-height: 560px;
    }

    .container-login {
        align-items: flex-start !important;
    }
}

@media(max-width:678px) {
    .login-copyright {
        margin-top: 10px !important;
        flex-direction: column !important;
    }
}

@media(max-width:410px) {
    .login-copyright a {
        margin-top: 10px !important;
    }

    .login-form {
        padding: 10px 15px !important;
    }

    .login-header {
        justify-content: space-between !important;
        padding-top: 15px !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .login-copyright a {
        width: 70px;
    }

    .login-logo {
        margin-bottom: 25px !important;
    }

    .container-login {
        padding-top: 25px !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}




/*
@media(min-width:1441px) {
    .login-copyright, .login-form {
        width: 500px !important;
    }
}*/
/*
@media(min-width:1601px) {
    .login-copyright, .login-form {
        width: 550px !important;
    }

    .wrap-login {
        min-height: calc(100vh - 300px );
    }

    .login-social {
        bottom: 150px !important;
    }

    .login-social__item {
        width: 48px !important;
        height: 48px !important;
    }

        .login-social__item.whatsapp {
            background-size: 25px !important;
        }

        .login-social__item.instagram {
            background-size: 25px !important;
        }

        .login-social__item.linkedin {
            background-size: 20px !important;
        }

    .login-header__support {
        padding: 18px 20px !important;
        font-size: 20px;
    }

    .login-header select.form-control {
        font-size: 20px !important;
        background-size: 12px 14px !important;
        padding-right: 23px !important;
    }

    .form-group {
        padding: 12px 6px !important;
        border-radius: 47px !important;
    }

        .form-group > label {
            font-size: 18px !important;
        }

    .login-copyright {
        font-size: 18px !important;
    }

        .login-copyright a {
            width: 130px !important;
        }

    .login-form .form-control {
        font-size: 1.5rem !important;
    }

        .login-form .form-control::placeholder {
            font-size: 14px !important;
        }

    .login-logo__name {
        font-size: 24px !important;
    }

    .login-form-btn {
        height: 60px !important;
        border-radius: 40px !important;
        font-size: 18px !important;
    }

        .login-form-btn .x-btn-inner {
            font-size: 18px !important;
            line-height: 2 !important;
        }
}

@media(min-width:1801px) {
    .login-copyright, .login-form {
        width: 650px !important;
    }

    .wrap-login {
        min-height: calc(100vh - 300px );
    }

    .login-social {
        bottom: 150px !important;
    }

    .login-social__item {
        width: 48px !important;
        height: 48px !important;
    }

        .login-social__item.whatsapp {
            background-size: 25px !important;
        }

        .login-social__item.instagram {
            background-size: 25px !important;
        }

        .login-social__item.linkedin {
            background-size: 20px !important;
        }
}*/





@media(max-width:1440px) and (max-height:600px) {
    .wrap-login {
        width: 81%;
    }

    .container-bkg {
        width: 610px;
        height: 508px;
        left: -37px;
        bottom: -85px;
    }

    .wrap-bkg {
        width: 500px;
        height: 482px;
    }
}

@media(max-width:1130px) and (max-height:630px) {
    body {
        overflow-y: auto !important;
    }
}


@media (max-height:768px) and (min-width:1130px) {
    .wrap-login {
        margin-top: -50px;
        min-height: calc(100vh - 150px);
    }
}

@media (max-height:630px) and (min-width:1130px) {
    body {
        overflow-y: auto !important;
    }

    .wrap-login {
        margin-top: unset;
        min-height: 560px;
    }

    .container-login {
        align-items: flex-start !important;
    }
}
