*{
	outline: 0;
	font-family: IRANSans;
}

body,html{
	margin: 0;
	width: 100vw;
	height: 100vh;
}

body{
    overflow: hidden;
	display: flex;
	background-position: center;
	background-size: cover;
    background: linear-gradient(224deg, #eee, #f8f8f8);
}

.form h2{
    margin-top: 0;
    text-align: center;
    font-size: 1.5rem;
}

.form h2:nth-child(2){
    margin: auto 0 5px 0;
}

button{
    cursor: pointer;
}


.user-img{
    margin-top: auto;
	background-image: url(../img/user.png);
    background-position: center;
    background-size: contain;
    min-height: 110px;
    background-repeat: no-repeat;
}

.form{
    position: relative;
    display: flex;
    flex-flow: column;
    min-width: 250px;
    background: #ffffff50;
    padding: 0 40px;
    position: relative;
}


.form p{
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #333;
}


.wave{
    display: none;
}


.fields-container{
	margin: 10px 0 30px 0;
	display: flex;
	flex-flow: column;
}


.banner{
    background: linear-gradient(270deg, #1b395d, #1e5599);
    border-bottom-left-radius: inherit;
    border-top-left-radius: inherit;
    border-bottom-right-radius: 100px;
    border-top-right-radius: 100px;
    width: 500px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.banner h2,
.banner label,
.banner h1,
.banner p{
    text-align: center;
    color: #fff;
}

.banner p{
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 40px;
    padding: 0 40px;
}

.banner h2,
.banner label{
    display: none;
}

.banner button{
    background: transparent;
    border: 1px solid #fff;
    padding: 8px;
    margin: 10px auto;
    width: 150px;
    color: #fff;
    font-weight: bold;
    border-radius: 7px;
}

.banner button:hover{
    background: #ffffff20;
}


.container .fields-form .field input{
	background: #eee;
    border: 0;
    padding: 7px;
    border-radius: 6px;
    width: 280px;
    border: 1px solid #eee;
}

.container .fields-form .field input:focus{
	border: 1px solid #ddd;
	background: #f5f5f5;
}

.container .fields-form .field .field-header{
    display: none;
}

.container .fields-form .field .field-header .caption{
    font-size: 0.9rem;
    margin-right: 5px;
}


.actions-container{
    margin: 15px 0 auto 0;
    display: flex;
    flex-flow: column;
}


.actions-container button{
    border: 0;
    color: #fff;
    padding: 9px;
    border-radius: 13px;
    width: 80%;
    margin: 5px auto;
    padding-bottom: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
}


.submit{
    background: #1e5599;
}

.submit:hover{
	background: #2f69b1;
}

.submit:active{
	background: #1e5599;
}

.submit.loading{
	display: flex;
}

.submit svg{
  height: 23px;
    width: 100%;
}

.change-login-type{
    background: #556080;
}


::-ms-input-placeholder {
  color: red;
}

::placeholder {
  direction: rtl;
  text-align: right;
  font-weight: bold;
}

.hide{
    display:none;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button{ 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}


.code-verify input[name=verify_code]{
    display:block !important;
}

.code-verify input[name=phone_number]{
    display:none;
}

.mobile-register-div{
    margin: 20px 10px 0 10px;
    display: none;
    flex-flow: column;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #ccc;
}

.mobile-register-div button{
    color: #1e5599;
    padding: 9px;
    border-radius: 13px;
    margin: 5px 0;
    padding-bottom: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid #1e5599;
    background-color: transparent;
}

.mobile-register-div p{
    font-weight: bold;
    margin-bottom: 10px;
    color: #444;
}


main{
    border-bottom-right-radius: inherit;
    border-top-right-radius: inherit;
}

.container{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin: auto;
    border-radius: 20px;
    display: flex;
    z-index: 100;
    height: 60vh;
    background: #fff;
    min-height: 500px;
}



.alert {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 2px
}

.alert-heading {
    color: inherit
}

.alert-dismissible {
    padding-right: 3.8125rem
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit
}

.alert-primary {
    color: #3c327c;
    background-color: #e3dffc;
    border-color: #d8d2fa
}

.alert-primary hr {
    border-top-color: #c4bbf7
}

.alert-primary .alert-link {
    color: #2a2358
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db
}

.alert-secondary hr {
    border-top-color: #c8cbcf
}

.alert-secondary .alert-link {
    color: #202326
}

.alert-success {
    color: #2f6424;
    background-color: #def3da;
    border-color: #d1eecb
}

.alert-success hr {
    border-top-color: #c0e8b8
}

.alert-success .alert-link {
    color: #1d3f17
}

.alert-info {
    color: #0a4285;
    background-color: #d0e5ff;
    border-color: #bddbff
}

.alert-info hr {
    border-top-color: #a4cdff
}

.alert-info .alert-link {
    color: #062a56
}

.alert-warning {
    color: #85621b;
    background-color: #fff2d6;
    border-color: #ffecc6
}

.alert-warning hr {
    border-top-color: #ffe4ad
}

.alert-warning .alert-link {
    color: #5b4312
}

.alert-danger {
    color: #822e1d;
    background-color: #feded7;
    border-color: #fed0c7
}

.alert-danger hr {
    border-top-color: #febbae
}

.alert-danger .alert-link {
    color: #581f14
}

.alert-light {
    color: #808181;
    background-color: #fdfefe;
    border-color: #fcfdfd
}

.alert-light hr {
    border-top-color: #edf3f3
}

.alert-light .alert-link {
    color: #676767
}

.alert-dark {
    color: #1b1e21;
    background-color: #d6d8d9;
    border-color: #c6c8ca
}

.alert-dark hr {
    border-top-color: #b9bbbe
}

.alert-dark .alert-link {
    color: #040505
}

.alert-cyan {
    color: #296580;
    background-color: #dcf3fd;
    border-color: #ceeefd
}

.alert-cyan hr {
    border-top-color: #b6e6fc
}

.alert-cyan .alert-link {
    color: #1d4759
}

.alert-orange {
    color: #834900;
    background-color: #fee8cc;
    border-color: #fedfb8
}

.alert-orange hr {
    border-top-color: #fed49f
}

.alert-orange .alert-link {
    color: #502d00
}

.alert-purple {
    color: #483173;
    background-color: #e8dff8;
    border-color: #dfd2f5
}

.alert-purple hr {
    border-top-color: #d0bdf0
}

.alert-purple .alert-link {
    color: #32224f
}

.alerts-container{
    position: fixed;
    bottom: 0;
    right: 0;
    width: 30%;
    z-index: 10000000000;
    pointer-events: none;
    min-width: 300px;
    display: flex;
    flex-flow: column;
    padding: 10px;
}


@media only screen and (max-width: 1100px) {
    .form > h2,
    .form > p{
        display: none;
    }

    .banner button,
    .banner p{
        display: none;
    }

    .banner h1{
        border-bottom: 1px;
        margin: 0 30px 20px 30px;
        padding-bottom: 15px;
        font-size: 1.8rem;
        border-bottom-style: dashed;
    }

    .container .fields-form .field .field-header{
        display: flex;
        margin-bottom: 0.2rem;
    }

    .field {
        margin: 5px;
    }

    .actions-container{
        margin: 15px 0 auto 0;
        display: flex;
        flex-flow: column;
    }

    .banner h2{
        margin: 0 auto;
        font-size: 1.2rem;
    }

    .banner h2{
        display: initial;
        margin-bottom: 35px;
    }

    .pass-login,
    .sms-login{
        padding: 15px 20px !important;
    }

    .pass-login .actions-container,
    .sms-login .actions-container{
        margin: 20px 0 auto 0;
    }

    .pass-login .actions-container .mobile-register-div,
    .sms-login .actions-container .mobile-register-div {
        margin: 25px 10px 0 10px;
        padding: 25px 20px 0 20px;
    }

    .wave{
        position: absolute;
        top: -39px;
        width: calc(100% + 2px);
        background-size: 100% 40px;
        left: -1px;
        min-height: 40px;
        display: block;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='380' height='40' preserveAspectRatio='none' viewBox='0 0 380 40'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1077%26quot%3b)' fill='none'%3e%3cpath d='M 0%2c14 C 25.4%2c16.2 76.2%2c27.4 127%2c25 C 177.8%2c22.6 203.4%2c2.8 254%2c2 C 304.6%2c1.2 354.8%2c17.2 380%2c21L380 40L0 40z' fill='rgba(255%2c 255%2c 255%2c 1)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1077'%3e%3crect width='380' height='40' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");
    }

    .user-img{
        display: none;
    }

    .container{
        flex-flow: column-reverse;
        height: unset;
        padding-bottom: 20px;
        width: 370px;
        max-width: 90vw;
        margin: 30px auto auto auto;
        min-height: unset !important;
    }

    input{
        width: unset !important;
    }

    .banner{
        background: linear-gradient(179deg, #1b395d, #1e5599);
        display: flex;
        flex-flow: column;
        justify-content: center;
        border-bottom-left-radius: 0;
        border-top-left-radius: inherit;
        border-bottom-right-radius: 0;
        border-top-right-radius: inherit;
        width: unset;
        min-height: 50px;
        padding: 20px 0;
    }

    .container .fields-form .field input{
        border: 1px solid #ccc;
    }

    .form{
        padding: 0 20px;
        margin: 0;
    }

    .mobile-register-div{
        display: flex;
    }

    .actions-container{
        margin: 10px 0 auto 0;
    }

    ::-webkit-input-placeholder {
         color: transparent;
    }
     :-moz-placeholder {
         color: transparent;
    }
     ::-moz-placeholder {
         color: transparent;
    }
     :-ms-input-placeholder {
         color: transparent;
    }
     input::placeholder {
         color: transparent;
    }
     textarea::-webkit-input-placeholder {
         color: transparent;
    }
     textarea:-moz-placeholder {
         color: transparent;
    }
     textarea::-moz-placeholder {
         color: transparent;
    }
     textarea:-ms-input-placeholder {
         color: transparent;
    }
     textarea::placeholder {
         color: transparent;
    }
}


@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    overflow: hidden;
}
.background li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #ddd;
    animation: animate 18s linear infinite;
}




.background li:nth-child(0) {
    left: 20%;
    width: 181px;
    height: 181px;
    bottom: -181px;
    animation-delay: 1s;
}
.background li:nth-child(1) {
    left: 54%;
    width: 134px;
    height: 134px;
    bottom: -134px;
    animation-delay: 2s;
}
.background li:nth-child(2) {
    left: 27%;
    width: 100px;
    height: 100px;
    bottom: -100px;
    animation-delay: 1s;
}
.background li:nth-child(3) {
    left: 84%;
    width: 147px;
    height: 147px;
    bottom: -147px;
    animation-delay: 11s;
}
.background li:nth-child(4) {
    left: 45%;
    width: 122px;
    height: 122px;
    bottom: -122px;
    animation-delay: 9s;
}
.background li:nth-child(5) {
    left: 69%;
    width: 108px;
    height: 108px;
    bottom: -108px;
    animation-delay: 15s;
}
.background li:nth-child(6) {
    left: 2%;
    width: 174px;
    height: 174px;
    bottom: -174px;
    animation-delay: 13s;
}
.background li:nth-child(7) {
    left: 21%;
    width: 153px;
    height: 153px;
    bottom: -153px;
    animation-delay: 11s;
}
.background li:nth-child(8) {
    left: 6%;
    width: 161px;
    height: 161px;
    bottom: -161px;
    animation-delay: 31s;
}
.background li:nth-child(9) {
    left: 41%;
    width: 118px;
    height: 118px;
    bottom: -118px;
    animation-delay: 8s;
}
.background li:nth-child(10) {
    left: 69%;
    width: 163px;
    height: 163px;
    bottom: -163px;
    animation-delay: 9s;
}
.background li:nth-child(11) {
    left: 2%;
    width: 119px;
    height: 119px;
    bottom: -119px;
    animation-delay: 47s;
}
.background li:nth-child(12) {
    left: 74%;
    width: 181px;
    height: 181px;
    bottom: -181px;
    animation-delay: 14s;
}
.background li:nth-child(13) {
    left: 75%;
    width: 101px;
    height: 101px;
    bottom: -101px;
    animation-delay: 16s;
}
.background li:nth-child(14) {
    left: 83%;
    width: 179px;
    height: 179px;
    bottom: -179px;
    animation-delay: 18s;
}
.background li:nth-child(15) {
    left: 41%;
    width: 187px;
    height: 187px;
    bottom: -187px;
    animation-delay: 55s;
}
.background li:nth-child(16) {
    left: 31%;
    width: 146px;
    height: 146px;
    bottom: -146px;
    animation-delay: 30s;
}