﻿@font-face {
    font-family: IranSans;
    src: url("/res/IRANSansMobile.ttf")format("truetype");
    font-weight: normal;
    font-style: normal;
}

html, body, form, table, td {
    height: 100%;
    margin: 0;
    padding: 0;
}

body, * {
    font-family: IranSans, Vazir, Calibri, Times New Roman;
    font-size: 1rem;
    box-sizing: border-box;
}

h2 {
    font-style: italic;
}

.login-header {
    margin-bottom: 2rem;
    color: #666;
    font-size: 80%;
}

    .login-header logo-image {
    }

.login-form {
    margin-top: 1rem;
    border-radius: .5rem;
    border: 1px solid #dadce0;
    padding: 2rem 5rem;
}

    .login-form #errorMsg {
        color: #ff003d;
        height: 26px
    }

    .login-form input[type=text], .login-form input[type=password], .login-form input[type=number], .login-form input[type=number] {
        direction: ltr;
        font-size: 1rem;
        color: #555;
        padding: 0.5rem 1rem;
        width: 18em;
        margin: 5px;
        border-radius: 5px;
        border: 2px solid #2a64ce;
    }



    .login-form input:focus {
        outline: none;
        border-color: #95cfef
    }

    .login-form .helper-links {
        clear: both;
        text-align: right;
    }

        .login-form .helper-links a {
            font-size: .9rem;
        }

    .login-form .submit-container {
        float: left;
    }

    .login-form input[type=submit] {
        width: 7rem;
        padding: .5rem 1rem;
        font-size: 1rem;
        margin: 1rem 0;
        border: 1px solid transparent;
        border-radius: 5px;
        cursor: pointer;
        background: #1a73e8;
        color: #fff;
    }

        .login-form input[type=submit]:hover {
            box-shadow: 0 1px 1px 0 rgba(66,133,244,0.45), 0 1px 3px 1px rgba(66,133,244,0.3);
        }

        .login-form input[type=submit]:active {
            background: #1f4da0;
        }

    .login-form a, .login-form a:visited, .login-form a:active, .login-form a:focus, .login-form a:hover {
        text-decoration: none;
        color: #0a65a0;
        border-radius: 5px;
        padding: .5rem 1rem;
    }

        .login-form a:hover {
            background: #ecf1f5;
        }

        .login-form a:active {
            box-shadow: inset 0 1px 3px #21679e;
        }

    .login-form .halfWidth {
        width: 45% !important
    }

.login-container:after {
    content: "دفتر فناوری اطلاعات حوزه علمیه خراسان";
    color: silver;
    font-size: .8rem;
    margin-top: .5rem;
    display: block;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    background: none !important;
    box-shadow: none !important;
}

.login-input {
    text-align: center;
}

    .login-input input {
        background-position: 4% 50%;
        background-repeat: no-repeat;
        padding-left: 3rem !important;
        background-size: 24px;
    }

    .login-input #UserName,
    .login-input #UserName:-internal-autofill-selected,
    .login-input #UserName:-internal-autofill-selected:hover,
    .login-input #UserName:-internal-autofill-selected:focus,
    .login-input #UserName:-webkit-autofill,
    .login-input #UserName:-webkit-autofill:hover,
    .login-input #UserName:-webkit-autofill:focus {
        background-color: white !important;
        background-image: url('/images/user.png') !important;
    }

    .login-input #UserName {
        background-color: white !important;
        background-image: url('/images/user.png') !important;
    }

    .login-input #Password,
    .login-input #Password:-internal-autofill-selected,
    .login-input #Password:-internal-autofill-selected:hover,
    .login-input #Password:-internal-autofill-selected:focus,
    .login-input #Password:-webkit-autofill,
    .login-input #Password:-webkit-autofill:hover,
    .login-input #Password:-webkit-autofill:focus {
        background-color: white !important;
        background-image: url('/images/key.png') !important;
    }

    .login-input #Password {
        background-color: white !important;
        background-image: url('/images/key.png') !important;
    }

.login-page {
    display: grid;
    height: 100%;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
    grid-template-areas: "free free free" "free2 main free3" "free4 free4 free4";
}

    .login-page, .login-page * {
        transition: all .3s ease-in-out
    }

.free-area {
    grid-area: free;
    background: red;
}

.free-area2 {
    grid-area: free2;
    background: green;
}

.free-area3 {
    grid-area: free3;
    background: green;
}

.free-area4 {
    grid-area: free4;
    background: blue;
}

.login-container {
    grid-area: main;
    padding: 10px;
    margin: 0 auto;
    text-align: center
}

.login-table {
    width: 100%;
}

.clickable {
    cursor: pointer;
}

.captchaImg {
    padding: 0.1rem;
    margin: 5px;
    border-radius: 5px;
    border: 2px solid #2a64ce;
    border-width: 2px !important;
    width: 18em;
    height: 50px;
}

.notLogo #loginHeader img {
    content: url("/Images/allah.png");
}

.notLogo #headerText {
    visibility: hidden;
}

    .notLogo #headerText:after {
        content: 'سامانه مکاتبات نهادهای حوزوی خراسان';
        visibility: visible;
        display: block;
        margin-top: -34px;
    }


.input-wrapper {
    color: #536271;
    text-align: center;
    font-size: 1em;
    user-select: none;
    direction: rtl;
    font-family: IranSans;
    width: 100%;
}



.verification-code-input-area {
    user-select: none;
    font-family: IranSans;
    direction: ltr;
    padding-left: 0.65em;
    border: none;
    box-shadow: none;
    outline: none;
    letter-spacing: 1em;
    font-size: 1.5em;
    width: 7em;
    margin-bottom: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.border-verification-input-area {
    color: #536271;
    text-align: center;
    font-size: 1em;
    user-select: none;
    direction: rtl;
    font-family: IranSans;
    height: 2px;
    width: 9em;
    margin-top: 0;
    padding-top: 0;
    background-image: linear-gradient(20deg,#212121,#212121 70%,transparent 0,transparent);
    background-size: 2.4em 1px;
    border: none;
}

.verification {
    width: 100%;
    height: 100%;
    margin: auto;
    text-align: center;
    background-color: #fff;
    font-size: 1em;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow-y: hidden !important;
}

    .verification .header {
        width: 100%;
        background-color: #fff;
        margin-bottom: 1em;
        min-height: 100px;
        margin-top: 4.5em;
    }

        .verification .header .sms_verification_image {
            width: 34%;
            max-width: 130px;
            margin: 0px 0px 25px 0px;
        }

        .verification .header .phoneNumber {
            direction: ltr;
            font-size: 20px;
            font-weight: 700;
            font-style: normal;
            font-stretch: normal;
            line-height: normal;
            letter-spacing: normal;
            text-align: center;
            color: #151f33;
        }

        .verification .header .code-verification-description {
            font-size: .8em;
            color: #536271;
        }



.btn {
    position: relative;
    display: block;
    margin: 30px auto;
    padding: 8px;
    overflow: hidden;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    background-color: #2ecc71;
    color: #ecf0f1;
    transition: background-color .3s;
    font-size: small;
    min-width: 260px;
    max-width: 260px;
}

    .btn:hover, .btn:focus {
        background-color: #27ae60;
    }

    .btn > * {
        position: relative;
    }

    .btn span {
        display: block;
        padding: 12px 24px;
    }

    .btn:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 0;
        padding-top: 0;
        border-radius: 100%;
        background-color: rgba(236, 240, 241, .3);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .btn:active:before {
        width: 120%;
        padding-top: 120%;
        transition: width .2s ease-out, padding-top .2s ease-out;
    }

    .btn.orange {
        background-color: #e67e22;
    }

.WaringLabel {
    margin-top:30px;
}
.WarningLabelText{
    color:red;
}
/* Styles, not important */
*, *:before, *:after {
    box-sizing: border-box;
}

/*.notLogo .login-container:after {
    content: "سامانه مکاتبات نهادهای حوزوی خراسان";
}*/
