/* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;box-sizing: border-box;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}


img{max-width:100%;}
/*end reset*/
body {
    direction: rtl;
    background: #e5eeed;
    text-align: center;
    font-family: IRANSans,'Roboto', sans-serif;
    margin: 0 auto;
    position: relative;
}
.container{
    display: flex;
    justify-content: center;
    flex-flow: column;
    flex-direction: column;
}
.header{
    align-items: flex-start;
    /*min-height: 300px;*/
    /*background: url("/libraries/images/icons/header-bg.png") no-repeat;*/
    /*-webkit-background-size: cover;*/
    /*background-size: contain;*/
    /*background-position-x: right;*/
    /*-ms-background-position-y: top;*/
    /*background-position-y: top;*/
    display: flex;
    justify-content: space-between;
    /*padding: 2% 0 0 2%;*/
}

.header .figure .figure-img {
    width: 100%;
    height: auto;
}
.header .logo{
    max-width:18rem;
    padding:  2% 0 0 2%;
}
.header .bg{
    max-width: 30rem;
}
.main{
    padding: 2rem;
    display: flex;
    justify-content: center;

}
.login-contianer{
    align-items: center;
    background: #d0e3e6;
    flex: 1 0 30%;
    position: absolute;
    right: auto;
    top: 35%;
    padding: 1rem;
    max-width: 30%;
    min-width: 280px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: -2px 2px 2px 1px #bbc8ca;
    -moz-box-shadow: -2px 2px 2px 1px #bbc8ca;
    box-shadow: -2px 2px 2px 1px #bbc8ca;
}
.login-contianer:after{
    /*position: absolute;*/
    /*content: '';*/
    /*top:0;*/
    /*right: 0;*/
    /*background: #000;*/

}
.login-contianer .form-title{
    border-bottom: 1px solid #0091a5;
    font-size: 20px;
    text-align: right;
    padding-bottom: 5px;
    color: #0091A5;

}
.login-form{
    margin-top: 1rem;
}
.login-form .form-group{
    display: flex;
    flex-flow: column;
    margin-bottom: 0.75rem;
    color: #0091A5;
}
.login-form .form-group.option{
    flex-flow: row;
    justify-content: space-between;
    margin: .75rem 0 0 0;
}
.login-form .form-group.option a{
    color: #0091A5;;
    text-decoration: none;
}
.login-form .form-group .form-label{
    text-align: right;
    margin-bottom: 0.5rem;
}
.login-form .form-group .input{
    max-width: 100%;
    border:0;
    outline: 0;
    padding: 5px 10px;
    height: 25px;
    border-radius: 2rem;
    font-family: IRANSans,'Roboto', sans-serif;
    text-align: left;
    background-color: #9bcdd4;
    transition:background-color 800ms;
    color: #fff;
    font-weight: bolder;
}
.login-form .form-group .input:focus{
    background-color: #fff;
    color: #333;
}
.login-form .btn-group{
    text-align:left;
}
.login-form .btn-group .btn{
    font-family: IRANSans,'Roboto', sans-serif;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    /*-webkit-user-select: none;*/
    /*-moz-user-select: none;*/
    /*-ms-user-select: none;*/
    /*user-select: none;*/
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 2rem;
    cursor: pointer;
    transition:box-shadow 800s ease-in-out;
    box-shadow: 0 0 6px 0px #329ead;
    background: #0091a5b0;
    color: #fff;
    /*box-shadow: inset -30px 0px 0px 0px red ;*/
}
.errors .error{
    color: #e5eeed;
    background: #f68b35;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 2rem;
}
.login-form .btn-group .btn:hover,.login-form .btn-group .btn:focus{
    background: rgba(0, 145, 165, 0.85);
    box-shadow: 0 0 6px 0px #35a6b6;
    z-index: 5;
}
.footer{
    /*align-items: flex-end;*/
    /*height:40vh;*/
    /*background: url("/libraries/images/icons/footer-login.svg") no-repeat 100% 0%;*/
    /*!*-webkit-background-size: cover;*!*/
    /*background-size: 101%;*/
}
/*--header--*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .header .bg{
    max-width: 20rem;
    }
}
@media screen and (min-width:0) and ( max-width: 767px) {
    .header{
        flex-flow: column;
    }
    .header .logo{
        max-width: 10rem;
        padding: 0;
        margin-right: 30%;
    }
    .header .bg{
        max-width: 20rem;
    }
    .login-contianer{
        top: 90%;
    }
}