﻿@font-face {
    font-family: "iransans";
    src: url("../fonts/IranSans/IRANSans-Medium-web.ttf") format("opentype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "iransans_default";
    src: url("../fonts/IranSans/IRANSans-web.ttf") format("opentype");
    font-style: normal;
    font-weight: normal;
}
body {
    font-family: "iransans_default";
    color: #444444;
    direction: rtl;
    overflow-x: hidden;
    overflow-y: hidden;
}
.login-page {
    height: 100vh;
    width: 100vw;
    display: flex;
    direction: rtl;
}
.cont-form {
    width: 500px;
    height: 100vh;
    background-color: #fff;
    padding: 0 40px;
    position: relative;
    overflow: auto;
}
.cont-bg {
    height: 100vh;
    width: calc(100% - 500px);
    background-image: url(../landing/images/login_2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.cont-bg .img-pendar {
    position: absolute !important;
    bottom: 30px !important;
    left: 60px !important;
    right: auto !important;
    display: flex !important;
}
.cont-bg .img-pendar img {
    width: 70px;
    margin-left: 10px;
}
.cont-bg .img-pendar .align-self-end {
    color: #7e84fe;
}
.cont-bg .img-pendar .align-self-end span {
    font-size: 14px;
    color: #d446df;
}
.cont-bg .img-pendar .align-self-end h2 {
    font-weight: 700;
}
.login-page .img-pendar {
    position: absolute;
    bottom: 5px;
    right: 20px;
    display: none;
}
.login-page .img-pendar img {
    width: 50px;
    margin-left: 10px;
}
.login-page .img-pendar .align-self-end {
    color: #7e84fe;
}
.login-page .img-pendar .align-self-end span {
    font-size: 12px;
    color: #d446df;
}
.login-page .img-pendar .align-self-end h2 {
    font-weight: 700;
}
.cont-form h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #0e0a5f;
}
.cont-form h6 {
    color: rgb(14 10 95 / 58%);
    font-size: 15px;
}
.form-login {
    margin-top: 40px;
}
.form-label {
    font-size: 14px;
    color: rgb(14 10 95 / 80%);
}
.form-control {
    padding: 12px 12px;
    text-align: right;
}
.form-control::placeholder {
    font-size: 12px;
}
.form-control:focus {
    box-shadow: none;
}
.btn-login {
    background-color: #6D67E4;
    width: 100%;
    padding: 12px 12px;
    margin-top: 15px;
    color: #fff;
    transition: .3s;
}
.btn-login:focus {
    box-shadow: none;
}
.btn-login:hover {
    color: #fff;
    background-color: #5750d9;
}
.field-icon {
    z-index: 2;
    position: absolute;
    top: 47px;
    left: 19px;
    font-size: 18px;
}
.login-logo {
    max-width: 230px;
    /*position: absolute;
    top: 50px;
    right: 40px;*/
    margin-bottom: 80px;
}
@media (max-width: 1150px) {
    .cont-bg {
        display: none;
    }
    .cont-form {
        width: 100%;
    }
    .cont-form .container-fluid {
        max-width: 450px;
    }
}
@media (max-width: 500px) {
    .cont-bg {
        display: none;
    }
    .cont-form {
        width: 100%;
    }
    .login-page .img-pendar {
        display: flex;
    }
    .cont-form {
        padding: 0 20px;
    }
    .login-logo {
        right: 20px;
    }
}
@media (max-width: 750px) {
    .cont-bg .img-pendar {
        display: none !important;
    }
}
@media (max-height: 550px) {
    .login-page .img-pendar {
        display: none !important;
    }
    .cont-bg .img-pendar {
        display: flex !important;
    }
}
@media (max-height: 630px) {
    .message-success {
        margin-top: 200px;
    }
}
@media (max-height: 420px) {
    .message-success {
        margin-top: 350px;
    }
}
#Username-error, #Password-error {
    color: #FF0032;
    font-size: 11px;
    position: absolute;
    bottom: -17px;
}
.message-success {
    background-color: #ffedf0;
    border: 2px solid #ffd5dd;
    border-radius: 15px;
    padding: 16px 65px;
    padding-right: 65px;
    
}
.message-success strong {
    color: #FF0032;
}
.message-success .close {
    position: absolute;
    right: auto;
    left: 11px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 17px;
    padding: 8px 13px;
    border-radius: 12px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 0px;
    height: 34px;
    width: 34px;
    transition: .3s;
}
.message-success .close span {
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    bottom: 0;
    margin: auto;
}
.message-success .close:hover {
    background-color: #fff;
}
.message-success .message-icon {
    position: absolute;
    right: 12px;
    color: #FF0032;
    font-size: 40px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50rem;
    animation: message-success 2s infinite;
}
.message-success p {
    margin-bottom: 0;
    margin-top: 5px;
    color: #242424;
    font-size: 13px;
}
@-webkit-keyframes message-success {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 50, 1);
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(255, 0, 50, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 0, 50, 0);
    }
}
@keyframes message-success {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(255, 0, 50, 1);
        box-shadow: 0 0 0 0 rgba(255, 0, 50, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(255, 0, 50, 0);
        box-shadow: 0 0 0 10px rgba(255, 0, 50, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(255, 0, 50, 0);
        box-shadow: 0 0 0 0 rgba(255, 0, 50, 0);
    }
}
.tooltip {
    font-family: "iransans_default";
}
.sec-btn-login {
    position: relative;
}
.login-loading {
    display: inline-block;
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    left: -96px;
    bottom: 0;
    margin: auto;
}
.login-loading div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}
.login-loading div:nth-child(1) {
    animation-delay: -0.45s;
}
.login-loading div:nth-child(2) {
    animation-delay: -0.3s;
}
.login-loading div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.login-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999999;
}
.password-recovery {
    text-decoration: none;
    margin-top: 10px;
    font-size: 12px;
    margin-bottom: -4px;
}