﻿/* Example for down triangles
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #f00;
*/

@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/WebFonts/eot/iranyekanwebregular.eot");
    src: url("../fonts/WebFonts/eot/iranyekanwebregular.eot?#iefix") format("embedded-opentype"), url("../fonts/WebFonts/woff2/iranyekanwebregular.woff2") format("woff2"), url("../fonts/WebFonts/woff/iranyekanwebregular.woff") format("woff"), url("../fonts/WebFonts/ttf/iranyekanwebregular.ttf") format("truetype");
}

@font-face {
    font-family: IRANYekanBold;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/WebFonts/eot/iranyekanwebbold.eot");
    src: url("../fonts/WebFonts/eot/iranyekanwebregular.eot?#iefix") format("embedded-opentype"), url("../fonts/WebFonts/woff2/iranyekanwebbold.woff2") format("woff2"), url("../fonts/WebFonts/woff/iranyekanwebbold.woff") format("woff"), url("../fonts/WebFonts/ttf/iranyekanwebbold.ttf") format("truetype");
}

@font-face {
    font-family: IRANYekanNum;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/WebFonts(Num)/eot/iranyekanwebregular(fanum).eot");
    src: url("../fonts/WebFonts(Num)/eot/iranyekanwebregular(fanum).eot") format("embedded-opentype"), url("../fonts/WebFonts(Num)/woff2/iranyekanwebregular(fanum).woff2") format("woff2"), url("../fonts/WebFonts(Num)/woff/iranyekanwebregular(fanum).woff") format("woff"), url("../fonts/WebFonts(Num)/ttf/iranyekanwebregular(fanum).ttf") format("truetype");
}

body {
    font-family: IRANYekan;
    direction: rtl;
    background: #f7f7f7;
    background-image:url('../images/login-bg.png');
    background-position:0px 0px;
    background-size:cover;
    background-repeat:no-repeat;
    height:100vh;
    overflow:hidden;
    font-size:14px;
    margin:0px;
    padding:0px;
}

.u-form-wrapper
{
    padding:100px 15% 20px 20px;
}
.form-logo {
    display: block;
    margin: 0px auto;
    width: 30px;
    padding-top: 15px;
}

.form-title {
    align-items: center;
    text-align: center;
}

.form-title > h3 {
    font-size: 14px;
    line-height: 28px;
    color: #000000;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25), 0px 2px 2px rgba(0, 0, 0, 0.25);
}


.input-container
{
    margin:10px 0px;
}

/* Example for down triangles
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #f00;
*/
@font-face {
    font-family: IRANYekan;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/WebFonts/eot/iranyekanwebregular.eot");
    src: url("../fonts/WebFonts/eot/iranyekanwebregular.eot?#iefix") format("embedded-opentype"), url("../fonts/WebFonts/woff2/iranyekanwebregular.woff2") format("woff2"), url("../fonts/WebFonts/woff/iranyekanwebregular.woff") format("woff"), url("../fonts/WebFonts/ttf/iranyekanwebregular.ttf") format("truetype");
}

@font-face {
    font-family: IRANYekanBold;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/WebFonts/eot/iranyekanwebbold.eot");
    src: url("../fonts/WebFonts/eot/iranyekanwebregular.eot?#iefix") format("embedded-opentype"), url("../fonts/WebFonts/woff2/iranyekanwebbold.woff2") format("woff2"), url("../fonts/WebFonts/woff/iranyekanwebbold.woff") format("woff"), url("../fonts/WebFonts/ttf/iranyekanwebbold.ttf") format("truetype");
}

@font-face {
    font-family: IRANYekanNum;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/WebFonts(Num)/eot/iranyekanwebregular(fanum).eot");
    src: url("../fonts/WebFonts(Num)/eot/iranyekanwebregular(fanum).eot") format("embedded-opentype"), url("../fonts/WebFonts(Num)/woff2/iranyekanwebregular(fanum).woff2") format("woff2"), url("../fonts/WebFonts(Num)/woff/iranyekanwebregular(fanum).woff") format("woff"), url("../fonts/WebFonts(Num)/ttf/iranyekanwebregular(fanum).ttf") format("truetype");
}

body {
    font-family: IRANYekan;
    direction: rtl;
    background: #f7f7f7;
    background-image: url('../images/login-bg.png');
    background-position: 0px 0px;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
}

.u-form-wrapper {
    padding: 60px 15% 20px 20px;
}

.u-form-container {
    width: 400px;
    min-height: 400px;
    background: #FCFCFC;
    border-radius: 5px;
    position: relative;
    padding-bottom: 20px;
}

.form-logo-container > a
{
    width:30px;
    margin:0px auto;
    display:block;
}

.form-logo {
    display: inline-block;
    margin: 0px auto;
    width: 30px;
    padding-top: 15px;
}

.form-title {
    align-items: center;
    text-align: center;
    margin-bottom: 45px;
}

    .form-title > h3 {
        font-size: 14px;
        line-height: 28px;
        color: #000000;
        text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25), 0px 2px 2px rgba(0, 0, 0, 0.25);
    }


.input-container {
    margin: 0px 0px 25px 0px;
}


.form-input-group {
    position: relative;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #EAF7F9;
    width: 90%;
    margin: 0px auto;
    margin-top: 10px;
}

.form-field {
    font-family: inherit;
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 16px;
    color: #212121;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
    z-index: 1;
    position: relative;
}

    .form-field::placeholder {
        color: transparent;
    }

    .form-field:placeholder-shown ~ .form-label {
        font-size: 14px;
        cursor: text;
        top: 12px;
        background-color: #fff;
        display: block;
        padding: 0px 5px;
        background-color: #EAF7F9;
    }

    .form-label,
    .form-field:focus ~ .form-label {
        position: absolute;
        top: -10px;
        display: block;
        -webkit-transition: 0.2s;
        -o-transition: 0.2s;
        transition: 0.2s;
        font-size: 12px;
        color: #9b9b9b;
        background-color: #EAF7F9;
        display: block;
        padding: 0px 5px;
    }

    .form-field:focus ~ .form-label {
        color: #009788;
    }

    .form-field:focus {
        padding-bottom: 6px;
    }

.form-input-group:focus-within {
    border: 1px solid #009788 !important;
}


.u-form-link-container
{
    width:90%;
    margin:0px auto;
    margin-bottom:25px;
}

    .u-form-link-container > a {
        color: #00b8ff;
        text-decoration: none;
        font-size:13px;
    }


    .u-form-link-container > :hover {
        text-decoration: underline;
    }

.u-button {
    min-width: 150px;
    height: 50px;
    background: #509CAF;
    border: 1px solid #509CAF;
    color: #fff;
    border-radius: 10px;
    font-family: IRANYekan;
    cursor: pointer;
    outline: none;
}

    .u-button:hover {
        background-color:#5ab1c7;
    }

.u-button:active
{
    outline:none;
}


.u-form-row-container {
    width: 90%;
    margin: 0px auto;
    margin-bottom: 25px;
}

.u-form-row-container > span
{
    font-size:13px;
}

.u-btn-secondary {
    background: #FFFFFF;
    border: 1px solid #0099FF;
    box-sizing: border-box;
    width: 130px;
    padding: 7px;
    border-radius: 5px;
    text-decoration: none;
    color: #0099FF;
    margin-right:15px;
    display:inline-block;
    text-align:center;
}

.u-btn-secondary:hover{
    background-color:#0099ff;
    color:#fff;
}

.timer {
    direction: ltr;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    height:25px;
}

.resend-code {
    display: block;
    text-align: center;
    height: 25px;
}


.link
{
    color:#0099ff;
    cursor:pointer;
}

.button-box {
    width: 90%;
    margin: 0px auto;
    margin-bottom: 10px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.field-validation-error {
    color: #ff0000;
    font-size: 12px;
}

@media (max-width:600px) {
    .u-form-wrapper {
        padding: 25px 15px;
    }

    .u-form-container {
        width: 100%;
        max-width: 400px;
        margin: 0px auto;
    }
}




