﻿@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/yekan/IRANYekanX-Bold.woff') format('woff'), url('../fonts/yekan/IRANYekanX-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/yekan/IRANYekanX-Regular.woff') format('woff'), url('../fonts/yekan/IRANYekanX-Regular.woff2') format('woff2');
}

body {
    padding: 0;
    margin: 0;
    /*overflow-x: hidden !important;*/
    font-family: "IRANYekanX", arial !important;
    background: #f1f1f1;
}
.login-type {
    display: flex;
    padding: 10px 0px 10px 0px;
}
.login-type a.active{background:#888;color:#fff}
.login-type a {
    padding: 12px 20px;
    border: none;
    flex-grow: 1;
    text-align: center;
    border-radius: 9px;
    margin: 5px;
    background: #f7f7f7;
    color: #a1a1a1;
    font-weight: bold;
}
section#loginForm {
    position: relative;
    max-width: 370px;
    margin: 15px auto;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
    margin-top: 10%;
}
.login-form-content {
    overflow: hidden;
}
    section#loginForm > div.wrapper {
        background: #ffffff;
        box-shadow: 0 0 20px rgb(83 83 83 / 6%);
        border-radius: 7px;
        position: relative;
    }

.pageTitle {
    margin: 0px;
    color: #999;
    margin: 0px 0 0px 0;
    padding: 25px 0 0px 0;
}
.forgot h1 {
    color: #FF9800;
}
.login h1 {
    color: #4755a5;
}

.register h1 {
    color: #5ca547;
}
.forgot .tab-pane {
    padding: 20px 0;
}
.forgot ul.nav.nav-tabs {
    margin: 20px 0 0 0;
}
.send-code > .form-group {
    margin-bottom: 30px;
}
section#loginForm .pageTitle h1 {
    font-size: 20px;
    margin: 0;
    padding: 0 15px;
    font-weight: bold;
    text-align: center;
}

section#loginForm .form-horizontal {
    padding: 15px 15px;
}

.btn {
    padding: 10px;
}
.forgot .btn-grad,.forgot .btn-grad:active, .forgot .btn-grad:Hover, .forgot .btn-grad:active:Hover, .forgot .btn-grad:focus {
    color: #fff;
    background: #FF9800;
    border: 1px solid #FF9800;
}
.login .btn-grad:disabled, .login .btn-grad:disabled:hover, .login .btn-grad:focus {
    background: #4755a5;
    border: 1px solid #4755a5;
}

.login .btn-grad, .login .btn-grad:active, .login .btn-grad:Hover, .login .btn-grad:active:Hover, .login .btn-grad:focus {
    color: #fff;
    background: #4755a5;
    border: 1px solid #253384;
}

.register .btn-grad:disabled, .register .btn-grad:disabled:hover,.register .btn-grad:focus {
    background: #5ca547;
    border: 1px solid #5ca547;
}

.register .btn-grad,.register .btn-grad:active,.register .btn-grad:Hover,.register .btn-grad:active:Hover,.register .btn-grad:focus {
    color: #fff;
    background: #5ca547;
    border: 1px solid #3a7c27;
}

section#loginForm.login>.wrapper:before {
    background: #4755a5;
}

section#loginForm.register>.wrapper:before {
    background: #5ca547;
}
section#loginForm.forgot>.wrapper:before {
    background: #FF9800;
}
section#loginForm>.wrapper:before {
    content: '';
    float: right;
    height: 3px;
    border-radius: 50px;
    position: absolute;
    top: 0px;
    left: 30%;
    right: 30%;
    background: #888;
}

section#loginForm label {
    font-weight: normal;
    font-size: 12px;
    padding: 10px 15px;
}

.field-validation-error {
    position: absolute;
    background: #e96363;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

section#loginForm input[type=text], section#loginForm input[type=password] , section#loginForm input[type=tel]{
    font-size: 16px;
    padding: 20px 20px 20px 35px;
    border-radius: 5px;
    border-color: #c5c5c5;
    box-shadow: none;
    border-bottom: 2px solid #c5c5c5;
}

    section#loginForm input[type=text]:focus, section#loginForm input[type=password]:focus {
        box-shadow: none;
    }

section#loginForm.login input[type=text]:focus, section#loginForm.login input[type=password]:focus {
    border-bottom-color: #4755a5;
}

section#loginForm.register input[type=text]:focus, section#loginForm.register input[type=password]:focus {
    border-bottom-color: #5ca547;
}

.form-group.action-button {
    margin-top: 40px;
}

.form-button button {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    border: none;
    border-radius: 6px;
    padding: 0 13px;
    background: transparent;
    color: #000000ad;
}

.form-button {
    position: relative;
}

.outer-form {
    padding: 15px 0;
}

.form-button button span {
    font-size: 18px;
}

.outer-form {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    align-items: center;
}

a {
    color: #222;
    border-bottom: 1px dashed
}

    a:hover {
        color: #222;
        text-decoration: none;
    }

main {
/*    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;*/
}

.root-logos img {
    margin: 0 0 10px 0;
    height: 50px;
    display: block;
    filter: grayscale(1);
    opacity: 0.6;
}

.root-logos a {
    display: flex;
    text-align: center;
    flex-direction: column;
    font-size: 10px;
    border: none;
}

.root-logos {
    margin-top: 60px;
}

@media only screen and (max-width: 480px) {


    section#loginForm {
        max-width: initial;
        width: 90%;
        margin-top: 50%;
    }
}