﻿/* ---------- Font ---------- */

@font-face {
    font-family: 'iran';
    src: url('fonts/iran.eot');
    src: url('fonts/iran.eot?#iefix') format('embedded-opentype'), url('fonts/iran.off') format('off'), url('fonts/iran.woff') format('woff'), url('fonts/iran.ttf') format('truetype');
}

html,
body {
    height: 100%;
    /*background-color: #297ead;*/
    background: radial-gradient(rgba(41, 126, 173, 0.5),rgb(41, 126, 173));
}

body {
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
    font-family: iran;
}

form {
    margin-bottom: 0;
}

#form1 {
    min-height: 100%;
    height: 100%;
}


/* ---------- Site-Wrapper ---------- */

.site-wrapper {
    display: table;
    width: 100%;
    height: 100%;
    min-height: 100%;
    -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
    box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}

.site-wrapper-inner {
    vertical-align: middle;
    display: table-cell;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
}


/* ---------- Header ---------- */

.masthead-nav > li {
    display: inline-block;
}

    .masthead-nav > li + li {
        margin-left: 20px;
    }

    .masthead-nav > li > a {
        padding-right: 0;
        padding-left: 0;
        font-size: 16px;
        font-weight: bold;
        color: #fff; /* IE8 proofing */
        color: rgba(255,255,255,.75);
        border-bottom: 2px solid transparent;
    }

        .masthead-nav > li > a:hover,
        .masthead-nav > li > a:focus {
            background-color: transparent;
            border-bottom-color: #a9a9a9;
            border-bottom-color: rgba(255,255,255,.25);
        }

.masthead img {
    max-height: 50px;
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    color: #fff;
    border-bottom-color: #fff;
}


/* ---------- Inner Cover ---------- */

.inner {
    padding: 20px;
    direction: rtl;
}

.cover {
    padding: 0 20px;
}

    .cover .btn-lg {
        padding: 10px 20px;
        font-weight: bold;
    }

.btn-default, .btn-default:hover, .btn-default:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
    background-color: #fff;
    border: 1px solid #fff;
}


/* Admin Note */

#LoginNoteContainer {
    margin: -6% auto 3%;
    width: 500px;
    padding: 30px 20px 20px;
    /*background-color: #f5f5f5;*/
    position: relative;
    border-radius: 3px;
    /*box-shadow: 0 3px 8px 0 rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.08);*/
    direction:rtl;
    background-image: url("../Images/Notice.png");
    background-repeat:no-repeat;
     background-size: 100% 100%;
}

    #LoginNoteContainer img {
        width: 40px;
        position: absolute;
        top: -20px;
        right: 40%;
    }

    #LoginNoteContainer p {
        line-height: 28px;
        margin-bottom: 0;
        z-index: 10;
        color: #000;
        text-shadow: none;
    }


/* ---------- Sign in Form ---------- */

.form-signin {
    max-width: 330px;
    padding: 15px 15px 50px;
    margin: 0 auto;
    direction: rtl;
    text-align: center;
}

    .form-signin .fa {
        font-size: 60px;
    }

    .form-signin .form-signin-heading {
        text-align: center;
        font-weight: bold;
    }

    .form-signin .form-signin-space {
        margin: 10px 0;
    }

    .form-signin .form-group .form-control {
        box-shadow: 1px 1px 7px -2px rgba(0,0,0,0.4);
    }

    .form-signin .form-control-feedback.glyphicon {
        color: #1c416b;
    }

    .form-signin .alert .glyphicon {
        padding-left: 10px;
    }

    .form-signin i#btnRefresh {
        font-size: 18px;
        color: greenyellow;
        cursor: pointer;
    }

    .form-signin .btn-change-password {
        width: 49%;
    }

#KaraValidDate {
    color: #ffe200;
    font-size: 17px;
}


/* ---------- Footer ---------- */

.mastfoot a, .mastfoot a:focus, .mastfoot a:hover {
    color: #fff;
}

.mastfoot {
    color: #999; /* IE8 proofing */
    color: rgba(255,255,255,.5);
    background-color: #05273e;
}

    .mastfoot .inner {
        padding: 9px;
    }

    .mastfoot p {
        padding: 11px;
        margin: 0;
    }

    .mastfoot .mastfoot-version {
        padding-right: 20px;
        border-right: 1px solid;
    }

    .mastfoot .mastfoot-version-clone {
        visibility: hidden;
        float: right;
    }


/* ---------- Media ---------- */

@media (max-width: 767px) {
    .masthead .masthead-kara {
        display: none;
    }

    .mastfoot .mastfoot-version {
        display: none;
    }

    .mastfoot .mastfoot-version-clone {
        display: none;
    }
}

@media (min-width: 768px) {
    .masthead-brand {
        float: left;
    }

    /*.masthead-nav {
        float: right;
    }*/

    .masthead-kara {
        float: right;
    }

    /* Pull out the header and footer */
    .masthead {
        position: fixed;
        top: 0;
        left: 0;
    }

    .mastfoot {
        position: fixed;
        bottom: 0;
        left: 0;
    }

        .mastfoot .mastfoot-text {
            display: inline-block;
        }

        .mastfoot .mastfoot-version {
            float: left;
        }

    /* Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }
    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
}
