/***
Login page
***/
/* logo page */
.login {
    background-color: #666 !important;
}

.login .logo {
    margin: 0 auto;
    margin-top: 60px;
    padding: 15px;
    text-align: center;
}

.login .content {
    background: url(../img/bg-white-lock.png) repeat;
    max-width: 360px;
    margin: 0 auto;
    margin-bottom: 0px;
    padding: 30px;
    padding-top: 20px;
    padding-bottom: 15px;
}

.login .content h3 {
    color: #eee;
}

.login .content h4 {
    color: #eee;
}

.login .content p,
.login .content label {
    color: #fff;
}

.login .content .login-form,
.login .content .forget-form {
    padding: 0px;
    margin: 0px;
}

.login .content .form-control {
    background-color: #fff;
}

.login .content .forget-form p {
    font-size: 13px;
}

.login .content .forget-form {
    display: none;
}

.login .content .register-form {
    display: none;
}

.login .content .form-title {
    font-weight: 300;
    margin-bottom: 25px;
}

.login .content .form-actions {
    background-color: transparent;
    clear: both;
    border: 0px;
    padding: 0px 30px 25px 30px;
    margin-right: -30px;
    margin-left: -30px;
}

.login .content .form-actions .checkbox {
    margin-right: 0;
    padding-right: 0;
}

.login .content .forget-form .form-actions {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 20px;
}

.login .content .register-form .form-actions {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0px;
}

.login .content .form-actions .checkbox {
    margin-top: 8px;
    display: inline-block;
}

.login .content .form-actions .btn {
    margin-top: 1px;
}

.login .content .forget-password {
    margin-top: 25px;
}

.login .content .create-account {
    border-top: 1px dotted #eee;
    padding-top: 10px;
    margin-top: 15px;
}

.login .content .create-account a {
    display: inline-block;
    margin-top: 5px;
}

/* select2 dropdowns */
.login .content .select2-container i {
    display: inline-block;
    position: relative;
    color: #ccc;
    z-index: 1;
    top: 1px;
    margin: 4px -1px 0px 4px;
    width: 16px;
    height: 16px;
    font-size: 16px;
    text-align: center;
}

.login .content .has-error .select2-container i {
    color: #b94a48;
}

.login .content .select2-container a span {
    font-size: 13px;
}

.login .content .select2-container a span img {
    margin-right: 4px;
}

/* footer copyright */
.login .copyright {
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    color: #eee;
    font-size: 13px;
}

@media (max-width: 480px) {
    /***
    Login page
    ***/
    .login .logo {
        margin-top: 10px;
    }

    .login .content {
        padding: 30px;
        max-width: 222px;
    }

    .login .content h3 {
        font-size: 22px;
    }

    .login .checkbox {
        font-size: 13px;
    }
}

img.background-fixed-image {
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px) {
    /* Specific to this particular image */
    img.background-fixed-image {
        left: 50%;
        margin-left: -512px; /* 50% */
    }
}

/********** NEW STYLE LOGIN *************/
.no-padding {
    padding: 0 !important;
}

.container-login {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    width: 800px !important;
    height: 340px;
    top: 25px;
    right: auto;
}

.backbox {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #3E2042;
}

.frontbox {
    position: absolute;
    top: -22px;
    right: 0;
    width: 410px;
    height: 380px;
    margin-right: 4%;
    margin-left: 3%;
    z-index: 99999;
    transition: right .8s ease-in-out;
}

.frontbox .content.login {
    border-radius: 4px !important;
    box-shadow: 0 5px 22px 0 rgba(0, 0, 0, 0.12), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
}

.moving {
    right: 45%;
}

.boxmsg {
    float: left;
    width: 50%;
    height: 100%;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #472150;
}

.boxmsg .title {
    font-weight: 300;
    font-size: 23px;
    /*font-family: WYekan !important;*/
}

.boxmsg p {
    font-weight: 100;
}

.textcontent {
    height: 100%;
    padding: 0 60px 0 20px;
    text-align: center;
    color: white;
}

.textcontent-right {
    height: 100%;
    padding: 0 20px 0 60px;
    text-align: center;
    color: white;
}

.frontbox .content.login .input-group {
    width: 100%;
}

.frontbox .content.login .help-block {
    background-color: #faf8fb;
    font-size: 11px;
}

.whc-login-btn button#forget-password {
    color: #b276b4;
    text-decoration: blink;
    font-size: 11px;
    padding-left: 0;
}

button.btn-login, button#request_reset_password {
    border-radius: 3px !important;
}

.btn-group.forgot-pass-action button#back-btn {
    text-decoration: blink;
}

button#request_reset_password i, .btn-group.forgot-pass-action button#back-btn i {
    display: none;
}

.boxmsg button {
    background-color: #404040;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    font-size: 12px;
    box-sizing: content-box;
    font-weight: 300;
    padding: 10px;
    margin-top: 20px;
}

/* front box content*/
.login, .signup {
    height: 100%;
    padding: 20px;
    text-align: center;
    background: #faf8fb !important;
}

.login .content .form-control {
    background-color: #faf8fb !important;
}

.login h2,
.signup h2 {
    color: #35B729;
    font-size: 22px;
}

.inputbox {
    margin-top: 30px;
}

.login input,
.signup input {
    display: block;
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    margin-bottom: 20px;
    font-size: 12px;
    border-bottom: 1px solid #e6d5e7;
}

.forget-form .input-group,
.login-form .input-group,
.register-form .input-group {
    border-bottom: 1px solid #e6d5e7;
}

.login-form input,
.login-form input:focus,
.register-form input,
.register-form input:focus,
.forget-form input,
.forget-form input:focus {
    border: none;
}

.input-group-focus {
    border-bottom: 1px solid #a660a8 !important;
}

.forget-form input:focus .input-group .input-group-addon {
    border-bottom: 1px solid #a660a8 !important;
    background: #483fff !important;
}

/* Fade In & Out*/
.login p {
    cursor: pointer;
    color: #404040;
    font-size: 15px;
}

.boxmsg {
    opacity: 1;
    transition: opacity .8s ease-in-out;
}

.visibility {
    opacity: 0;
}

.hide {
    display: none;
}

.whc-login-btn {
    margin-top: 5px;
}

.field-icon {
    float: left;
    margin-left: 5px;
    margin-top: -45px !important;
    position: relative;
    z-index: 2;
    color: #757575;
    cursor: pointer;
}

.whc-login-download-btn {
    margin-top: 20px !important;
}

.whc-login-download-btn a {
    width: 48%;
    float: right;
    border-radius: 4px !important;
}

.whc-login-download-btn a:first-child {
    margin-left: 2%;
}

.whc-login-download-btn a:last-child {
    margin-right: 2%;
}

.container-login .create-account {
    border-top: none !important;
}

ul.ulstyle {
    list-style-type: disc;
    text-align: right;
    padding: 10px 20px;
}

a.whc-login-btn-help {
    border: 1px solid #95659c;
    color: #E7ABE9;
    border-radius: 4px !important;
    font-size: 12px;
}

a.whc-login-btn-help:hover {
    border: 1px solid #97669d;
    color: #97669d;
    text-decoration: blink;
}

a.whc-login-btn-help:active, a.whc-login-btn-help:focus {
    border: 1px solid #97669d !important;
    color: #97669d !important;
}

.whc-login-logo-top {
    position: relative;
    top: 10px;
    height: 150px;
    margin: 20px auto 0px auto;
}

.whc-login-logo-top img.whc-login-logo-img {
    margin: 0 auto;
}

.whc-footer-logo-block img.whc-footer-logo {
    margin: 0 auto;
}

.whc-login-section {
    position: relative;
    width: 100%;
    height: 100%;
}

.whc-login-footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    font-family: IRANSans;
    font-style: normal;
    clear: both;
}

.footer-cols {
    height: inherit;
    line-height: 60px;
}

.footer-cols .footer-middle ul li a,
.footer-cols .footer-middle ul li i,
.footer-cols .footer-last p,
.footer-cols .footer-first div.version span,
.footer-cols .footer-first div.version a,
.footer-cols .footer-last .copyright a {
    color: #545454;
    text-decoration: none;
}

.footer-cols .copyright a {
    color: #545454 !important;
}

.footer-middle ul.whc-login-icon li a {
    display: inline-block;
}

.whc-login-message-head {
    text-align: right;
}

.textcontent h3.title span {
    color: #BD63C0;
}

.whc-login-download-btn a {
    text-align: right;
}

.whc-login-download-btn a span.text {
    font-size: 11px;
}

.dl-bazar span.text {
    padding-right: 10px;
}

.whc-login-download-btn .dl-kowsarnet {
    background-color: #763B78;
    text-align: right;
    border-radius: 3px !important;
}

.whc-login-download-btn .dl-bazar {
    background-color: #8CC63F;
    padding: 0 10px;
    height: 41px;
    border-radius: 3px !important;
}

.whc-login-download-btn a i, .whc-login-download-btn a span {
    color: #ffffff;
}

.whc-login-download-btn a.dl-bazar img.app-logo {
    width: auto;
    height: 41px;
    text-align: right;
    display: inline-block;
    border-left: 1px solid #9fd24d;
    box-shadow: -1px 0px 0px #7eba4b;
    padding: 9px;
}

.whc-login-download-btn a.dl-kowsarnet img.app-logo {
    width: auto;
    height: 20px;
    text-align: right;
    display: inline-block;
    border-left: 1px solid #752e77;
    padding-left: 15px;
}

.frontbox .content {
    font-family: IRANSans;
    font-style: normal;
    max-width: inherit;
    padding: 0;
}

.forgot-pass-tab ul.nav.nav-tabs li a {
    border: none !important;
    color: #873a8a;
    font-size: 18px;
    font-weight: 400;
}

.forgot-pass-tab ul.nav-tabs li {
    background: #f3e5f4;
}

.forgot-pass-tab ul.nav-tabs > li > a {
    padding: 20px 15px;
}

.forgot-pass-tab .tab-content, .forgot-pass-action, .whc-login-form-box {
    padding: 10px 40px 3px 40px;
}

.frontbox .content p {
    text-align: right;
    color: #773b79;
}

.btn-forgot-pass, .btn-login {
    background: #A560A8 !important;
}

.whc-login-message-body {
    font-family: IRANSans;
    font-style: normal;
    text-align: right;
}

.forgot-pass-action button#request_reset_password,
button.btn-login,
button#back-btn {
    font-size: 12px;
}

.whc-login-message-body h3.title {
    color: #E3DBFF;
}

.whc-login-message-body ul {
    font-family: 'WYekan';
    font-weight: 300;
    font-size: 11px;
    color: #E3DBFF;
}

.create-account a, .create-account p {
    text-align: center !important;
}

.frontbox .forget-form .input-group .input-group-addon,
.frontbox .register-form .input-group .input-group-addon,
.frontbox .login-form .input-group .input-group-addon {
    background: transparent;
    border: none;
}

.whc-login-header {
    margin: 45px 0 10px 0;
}

.whc-login-header p.user-text {
    color: #88398A;
    font-size: 13px;
    margin: 0;
}

.whc-login-header p.info-text {
    color: #b276b4;
}

.whc-login-header p.info-text {
    font-size: 13px !important;
    line-height: 23px;
}

input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #faf8fb inset;
    -webkit-text-fill-color: #88398A !important;
}

span.toggle-password {
    position: absolute;
    display: inline-block;
    left: 35px;
    margin-top: -60px;
    z-index: 100;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    color: #999999;
    cursor: pointer;
}

.frontbox .content input {
    text-align: right;
}

.frontbox .content .register-form {
    padding: 0 20px;
}

.footer-last .copyright div {
    padding: 0 !important;
}

@media (max-width: 767px) {
    .container-login {
        width: 80% !important;
        height: 850px;
    }

    .frontbox {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        right: 0;
        left: 0;
        top: 25px;
    }

    .boxmsg {
        height: auto;
        width: 100%;
        margin-top: 415px;
    }

    .login .content {
        width: 100% !important;
    }

    .textcontent {
        padding: 0 20px;
    }

    .backbox {
        display: inline-block;
        width: 90%;
        height: 800px;
    }

    .whc-login-footer {
        position: relative;
    }

    .whc-login-logo-top {
        position: relative;
        top: 10px;
        height: 110px;
    }

    .frontbox .content {
        padding: 0 !important;
    }

    .whc-login-form-box {
        padding: 0;
    }

    .whc-login-download-btn {
        position: relative;
        display: block;
        margin: 30px auto !important;
        width: 73%;
        padding: 0 15px;
    }

    .login-form {
        padding: 20px 15px !important;
    }

    .forgot-pass-tab ul.nav.nav-tabs li {
        width: 50%;
        float: right;
    }

    .forgot-pass-tab .nav-tabs.nav-justified > li > a {
        margin-bottom: 0 !important;
        text-align: center;
    }

    footer.whc-login-footer {
        background: transparent !important;
    }

    /*footer.whc-login-footer .footer-middle .list-inline > li {
        display: block !important;
        text-align: right;
        padding: 5px;
    }*/
    ul.whc-login-icon li i {
        font-size: 20px;
        color: #545454 !important;
        text-shadow: none;
    }

    .footer-cols {
        line-height: normal;
        /*padding: 0 !important;*/
    }

    .footer-first, .footer-middle, .footer-last {
        margin-top: 15px;
    }

    .footer-last {
        margin-bottom: 15px;
    }

    .footer-middle {
        padding: 0 !important;
    }

    ul.list-inline.whc-login-icon span.contact {
        display: block;
    }

    ul.whc-login-icon li {
        margin: 0;
    }

    .whc-footer-logo-block {
        margin: 30px auto 30px auto !important;
    }

}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .container-login {
        width: 80% !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .container-login {
        width: 90% !important;
    }
}

@media only screen and (min-width: 1281px) {
    ul.whc-login-icon > li {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media only screen and (min-width: 1660px){
    .whc-login-footer {
        position: fixed;
    }
}

.whc-footer-logo-block {
    display: inline-block;
    margin: 150px auto 20px auto;
}

ul.whc-login-icon {
    margin-bottom: 0;
}

.frontbox .content form.register-form {
    max-height: 450px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.container-login.forget-open .boxmsg {
    opacity: 0;
}

.container-login .boxmsg {
    opacity: 1;
}

.hide-help {
    display: none;
    transition: all 0.3s linear;
/ / ease-in-out
}

.show-help {
    display: block !important;
    transition: all 0.3s linear;
/ / ease-in-out
}

.backbox .boxhide-help {
    float: right;
    width: 50%;
    height: 100%;
    /*font-size: 15px;
    box-sizing: border-box;
    max-height: 450px;
    overflow-y: scroll;
    overflow-x: hidden;
    color: #ffffff;*/
}

.inputbox.whc-login-form .form-group {
    margin-bottom: 25px;
}

whc-login-header .info-text {
    color: #ae5fb2;
}

.moving {
    right: 40.5%;
}

div.toggle-help {
    display: inline-block;
    vertical-align: middle;
}

div.toggle-help a.toggle-help-button {
    display: inline-block;
    position: absolute;
    box-sizing: border-box;
    line-height: 23px;
    background: #dfdfdf;
    width: 50px;
    height: 50px;
    left: -20px;
    bottom: 70px;
    border-radius: 50% !important;
}

div.toggle-help a.toggle-help-button i:hover {
    color: #a660a8 !important;
    transition: visible 0.6s linear;
    -moz-animation: bounce 3s infinite;
    -webkit-animation: bounce 3s infinite;
    animation: bounce 3s infinite;
}

div.toggle-help a.toggle-help-button i {
    vertical-align: middle;
    line-height: 50px;
    font-size: 25px;
}

.frontbox div.toggle-help {
    visibility: hidden;
    transition: visibility 0.4s linear 0.4s, opacity 200ms;
}

.frontbox.moving div.toggle-help {
    visibility: visible;
    transition: visibility 0.7s linear 0.7s, opacity 300ms;
}

.inputbox.whc-login-form .alert.alert-danger.display-hide {
    display: none !important;
}

.whc-login-download-btn .text {
    font-family: IRANSans;
    font-weight: 300;
    font-size: 13px;
}

a.btn.dl-kowsarnet {
    height: 41px;
    text-align: center;
    padding: 11px 0;
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateX(-5%);
        transform: translateX(-5%);
    }
    40% {
        -moz-transform: translateX(-30%);
        transform: translateX(-30%);
    }
    60% {
        -moz-transform: translateX(-20%);
        transform: translateX(-20%);
    }
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
    }
    40% {
        -webkit-transform: translateX(-30%);
        transform: translateX(-30%);
    }
    60% {
        -webkit-transform: translateX(-20%);
        transform: translateX(-20%);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateX(-5%);
        -ms-transform: translateX(-5%);
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    40% {
        -moz-transform: translateX(-30%);
        -ms-transform: translateX(-30%);
        -webkit-transform: translateX(-30%);
        transform: translateX(-30%);
    }
    60% {
        -moz-transform: translateX(-20%);
        -ms-transform: translateX(-20%);
        -webkit-transform: translateX(-20%);
        transform: translateX(-20%);
    }
}
