@font-face {
    font-family: 'Yekan';
    src: url("fonts/IRYEKAN_P30DOWNLOAD.COM.TTF") format('truetype');
}

@font-face {
    font-family: 'B Yekan';
    src: url("fonts/IRYEKAN_P30DOWNLOAD.COM.TTF") format('truetype');
}

.container {
    width: 100%;
    height:100%;
    direction: rtl;
    padding: 0;
}

.login-container {
    width: 100%;
    height:100%;
    text-align: center;    
    overflow: hidden;
}
.login-container-larg {
    display: flex;
}
.inline {
    /* display: inline-block; */
    vertical-align: top;
    text-align: center;
    font-size: 0.75rem;
}

.login-cont > div {
}
    .login-cont > div img {
    }

.form {
    height: 75%;
    padding-bottom: 2%;
    /* padding-top: 4%; */
    background-color: silver;
    width: 100%;
    /* margin: auto; */
    /* bottom: 0; */
    background-color: #ced3d6;
    margin-left: auto;
    margin-right: auto;
}

.small-form {
    /* position: relative !important; */
    /* width: 300px !important; */
    /* margin-top: 20px !important; */
    padding-bottom: 2%;
    padding-top: 4%;
    background-color: silver;
    width: 100%;
    /* margin: auto; */
    background-color: #ced3d6;
}

.form > div:nth-child(1) {
    width: 140px;
    margin: auto;
}

.form form {
}
    .form form > div:nth-child(3) {
        font-size: 0.7em;
        margin: auto;
        margin-bottom: 10px;
        width: 90%;
    }

    .form form .field-cnt {
        width: 90%;
        margin: auto;
        padding-bottom: 15px;
    }

    .form form input[type='text'], .form form input[type='password'] {
        font-family: 'Yekan';
        width: 95%;
        border: none;
        padding: 2%;
        text-align: center;
        font-family: Arial;
    }

    .form form button, .form form input[type='submit'] {
        color: #de404e;
        display: block;
        width: 80%;
        background-color: white;
        margin: auto;
        height: 35px;
        line-height: 25px;
        border-radius: 5px;
        border: 3px solid silver;
        font-family: 'Yekan';
        cursor: pointer;
    }

#photo-section {
    width: 100%;
    height: 100%;
    background-image: url('../Content/GrayThem/AmarsinSplash.jpg');
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#login-section {
     width: 20%; 
    min-width: 286px;
    padding: 5px;
    height: 100%;
}

#avatar {
    align-content:end;
    margin-bottom:-31px;
    z-index: -1;
}

#remember-me {
    width: 100%;
    /* margin: auto; */
    margin-top: 7%;
    padding-top: 5%;
    border-top: 1px solid gray;
    font-size: 0.7em;
    text-align: center;
}

input[type='checkbox'] {
    width: 20px;
    height: 20px;
}


#slogan {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 5px;
    font-size: 1em;
    width: 60%;
    padding: 0.5%;
    background: white;
    background: -webkit-linear-gradient(90deg,rgba(255,255,255,0.1), rgba(255,255,255,0.3), white, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    background: -o-linear-gradient(90deg,rgba(255,255,255,0.1), rgba(255,255,255,0.3), white, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    background: -moz-linear-gradient(90deg,rgba(255,255,255,0.1), rgba(255,255,255,0.3), white, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    background: linear-gradient(90deg,rgba(255,255,255,0.1), rgba(255,255,255,0.3), white, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

#amarsin-logo {
    position: absolute;
    right: 0;
    top: 10px;
}

#services {
    position: absolute;
    left: 100px;
    top: 100px;
    font-size: 1.1em;
}

    #services > div {
        text-shadow: 0px 0px 5px white;
    }


.error {
    color: red;
    width: 95%;
    font-family: Tahoma;
    font-size: 0.7em;
}
