@font-face {
    font-family: 'BYekan';
    src: url('BYekan.eot?#iefix') format('embedded-opentype'), url('BYekan.woff') format('woff'), url('BYekan.ttf') format('truetype'), url('BYekan.svg#BYekan') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sans';
    src: url('IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('IRANSansWeb.woff') format('woff'), url('IRANSansWeb.ttf') format('truetype'), url('IRANSansWeb.svg#IRANSansWeb') format('svg');
    font-weight: normal;
    font-style: normal;
}

input:focus {
    border: 1px solid #cdcdcd;
    outline: none !important;
}

:-webkit-input-placeholder {
    color: #888;
    font-style: italic;
}

:-moz-placeholder {
    color: #888;
    font-style: italic;
}

html {
    height: 100%;
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background-image: url("../../images/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

body {
    width: 100%;
    direction: rtl;
    min-height: 100%;
    border: none;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    -o-text-overflow: ellipsis;
    background-color: rgba(0, 0, 0, 0.33);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: center;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.5em;
    margin: 0;
}

body, input {
    font-family: 'sans', 'BYekan', helvetica, arial, sans-serif;
    color: #000;
}

input[type=reset], input[type=submit], input[type=button] {
    display: inline-block;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
    -o-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: rgba(0, 0, 0, 0);
}

input[name="otp"] {
    text-align: center;
}

#loginBox {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.85);
    width: 100%;
    max-width: 420px;
    position: relative;
    padding: 15px 30px 30px;
    margin: 0 auto;
    border-radius: 5px;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.loading {
    position: absolute;
    z-index: 2222;
    right: 0;
    left: 0;
    backdrop-filter: saturate(100%) blur(5px);
    bottom: 0;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .4);
    justify-content: center;
    align-items: center;
    top: 0;
    display: none;
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #22a6b3;
    border-color: #22a6b3 transparent #22a6b3 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.form-control h3 {
    margin-top: 0;
    width: 100%;
    text-align: center;
    color: #6c757d !important;
    font-size: 12px;
    font-weight: 400;
}

.form-control h3 a {
    color: #6c757d !important;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


#loginBox > p {
    color: #6c757d !important;
    font-size: 12px;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h1 {
    margin: 0;
}

#logo a {
    display: block;
    text-decoration: none;
    height: 100px;
}

img.logo {
    max-width: 270px;
    width: 100%;
    height: auto;
    vertical-align: middle;
    outline: none;
    border: none;

}

.valign-helper {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

h3 {
    margin: 1em 0;
    text-align: center;
    font-size: 0.8em;
    font-weight: normal;
    color: #d00;
}

form {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.form-control {
    display: flex;
    flex-direction: column;
}

div input {
    border-radius: 4px;
    height: 43px;
    padding: 0 15px 0 0;
    display: block;
    margin: 0 0 1rem;
    text-align: right;
    font-size: 13px;
    font-weight: 400;
    background-image: none !important;
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

hr {
    margin: 20px;
    border: none;
    height: 0;
    border-bottom: 1px solid #eee;
}

div.banner {
    color: #666;
    line-height: 1.2em;
}

div.banner:not(:empty) {
    margin-bottom: 1em;
}

input.submit {
    border-radius: 4px;
    display: inline-block;
    margin: 0;
    height: 44px;
    text-align: center;
    line-height: 24px;
    font-size: 17px;
    background-color: #22a6b3;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 0 30px;
    color: #fff;
}

input.submit:hover, input.submit:active {
    background-position: bottom left;
}

#copyRights {
    font-size: 0.7em;
    color: #FFF;
    padding: 1em;
    text-align: center;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.81);
}

#copyRights a {
    color: #888;
}

.external-auth {
    display: inline-block;
}

.external-auth + .external-auth {
    margin-top: 4px;
}

a.external-sign-in {
    text-decoration: none;
}

.external-auth-box {
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #777;
}

.external-auth-icon {
    display: inline-block;
    color: #333;
    width: 30px;
    padding: 5px 10px;
    border-right: 1px solid #ddd;
}

.external-auth-name {
    color: #333;
    width: 100px;
    padding: 5px 10px;
    line-height: 30px;
    font-size: 11pt;
}

img.sign-in-image {
    border: none;
    max-height: 40px;
    max-width: 200px;
    width: auto;
    height: auto;
}

.login-captcha {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
    justify-content: center;
    align-items: center;
}

.login-captcha > input {
    width: 100%;
    margin: 0 0 0 10px;
    overflow: auto;
}

.login-captcha > span {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: center;
}

span.resend {
    justify-content: center;
    display: flex;
    margin-top: 15px;
    font-size: 12px;
    color: #8e8e8e;
}

span.resend i {
    font-style: normal;
}

button.resend {
    justify-content: center;
    border: none;
    background: none;
    width: 100%;
    margin-top: 15px;
    font-size: 12px;
    color: #2b828c;
    cursor: pointer;
    font-family: 'sans', 'BYekan', helvetica, arial, sans-serif;
    display: none;
}

button.resend:focus {
    outline: none !important;
}

.otpBox {
    padding: 15px 30px 15px !important;
}