html {
    height: 100%;
}

body {
    font-family: IRANSans;
    height: 100%;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../../font/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('../../font/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../../font/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../../font/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../../font/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../../font/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('../../font/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../../font/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../../font/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../../font/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../../font/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('../../font/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../../font/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../../font/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../../font/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../../font/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('../../font/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../../font/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../../font/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../../font/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../../font/eot/IRANSansWeb(FaNum).eot');
    src: url('../../font/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../../font/woff2/IRANSansWeb(FaNum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../../font/woff/IRANSansWeb(FaNum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../../font/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}

.bg-3 {
    background: #eee;
}

.login {
    position: relative;
    padding: 20px;
    margin: 0 auto 0 auto;
    width: 400px;
    min-height: 460px;
    border-radius: 3px;
    background: white;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.26);
    overflow: hidden;
}

    .login .photo {
        position: relative;
        margin: 0 auto 20px auto;
        overflow: hidden !important;
    }

    .login > span {
        display: block;
        text-align: center;
        margin: -15px 0;
        font-size: 15px;
    }

.form-login {
    position: relative;
    padding: 50px 0 0 0;
    height: 100%;
}

.form-group {
    position: relative;
    margin-top: 40px;
    margin-bottom: 20px;
}

.login-btn {
    margin-top: 15px;
}

.form-group .btn {
    width: 220px;
}

.labelCell label {
    font-size: 12px;
}

.textBoxCell input {
    font-size: 12px;
    text-align: center;
    padding: 3px 32px;
}

.form-control {
    display: block;
    height: 36px;
    width: 100%;
    border: none;
    border-radius: 0 !important;
    font-size: 15px;
    font-family: inherit;
    font-weight: 300;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(117, 117, 117, 0.15);
}

    .form-control:focus {
        border-bottom: 2px solid rgb(3, 169, 245);
        outline: none;
        box-shadow: none;
    }

.form-highlight {
    position: absolute;
    height: 60%;
    width: 60px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.4;
}

.form-control:focus ~ .form-highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

.float-label {
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 16px;
    color: #999;
    font-weight: 300;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.form-control:focus ~ .float-label, .form-control:valid ~ .float-label {
    top: -15px;
    font-size: 12px;
}

.form-group erroru, .form-group errorp {
    position: absolute;
    width: 100%;
    left: 0;
    top: 38px;
    font-size: 11px;
    color: #d34336;
    font-weight: 300;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    -moz-transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    -webkit-transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) all;
    opacity: 0;
}

    .form-group erroru i, .form-group errorp i {
        position: absolute;
        left: 0;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        float: right;
    }

        .form-group erroru i svg, .form-group errorp i svg {
            fill: #d34336;
        }

.form-group[errr] .float-label {
    color: #d34336 !important;
}

.form-group[errr] .form-control {
    border-bottom: 1px solid #d34336 !important;
}

    .form-group[errr] .form-control:focus {
        border-bottom: 2px solid #d34336 !important;
    }


.form-group[errr] erroru, .form-group[errr] errorp {
    opacity: 1;
    text-align: right;
}

input[type=checkbox] {
    display: none;
    visibility: hidden;
}

input[type="checkbox"] + label {
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    float: right;
}

    input[type="checkbox"] + label:before {
        display: inline-block;
        content: "";
        margin: 3px 0px 0px 15px;
        width: 18px;
        height: 18px;
        background-color: #fff;
        border: 2px solid #5a5a5a;
        border-radius: 2px;
        vertical-align: middle;
        float: right;
    }

input[type=checkbox]:checked + label:before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjIwcHgiIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDIwIDE1Ij4NCjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iNy4xNDMsMTQuOTM4IDAsNy43OTYgMi4wMjEsNS43NzYgNy4xNDMsMTAuODk4IDE3Ljk3OSwwLjA2MiAyMCwyLjA4MiAiLz4NCjwvc3ZnPg0K');
    background-color: rgb(3, 169, 245);
    border-color: rgb(3, 169, 245);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-background-size: 11px auto;
    -moz-background-size: 11px auto;
    -o-background-size: 11px auto;
    background-size: 11px auto;
}

button[type="submit"] {
    position: relative;
    float: left;
    font-family: inherit;
    font-weight: 100;
    font-size: 15px;
    border: 0;
    margin: -3px 0px;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    background: rgb(3, 169, 245);
    color: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
}

    button[type="submit"]:focus {
        outline: none;
    }

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    margin-left: -10px;
    line-height: 29px;
    text-align: center;
    cursor: pointer;
    border-top: 1px solid rgba(117, 117, 117, 0.15);
}

    footer a {
        display: block;
        text-decoration: none;
        font-size: 12px;
        color: inherit;
    }

        footer a:hover {
            color: rgba(0,0,0,0.9);
            text-decoration: underline;
        }

        footer a:focus {
            outline: none;
        }

@media (max-width: 767px) {
    .login {
        width: 95%;
    }
}
