@font-face {
	font-family: "primary-font";
	src: url("../../fonts/vazir-400.eot");
	src: url("../../fonts/vazir-400.eot?#iefix") format("embedded-opentype"),
		 url("../../fonts/vazir-400.woff2") format("woff2"),
		 url("../../fonts/vazir-400.woff") format("woff"),
		 url("../../fonts/vazir-400.ttf") format("truetype");
	font-weight: 400;
}

@font-face {
	font-family: "primary-font";
	src: url("../../fonts/vazir-700.eot");
	src: url("../../fonts/vazir-700.eot?#iefix") format("embedded-opentype"),
		 url("../../fonts/vazir-700.woff2") format("woff2"),
		 url("../../fonts/vazir-700.woff") format("woff"),
		 url("../../fonts/vazir-700.ttf") format("truetype");
	font-weight: 700;
}
@keyframes shadowAnimation {
  from{
    box-shadow: 0 0 10px rgb(145,179,219);
  }
  to{
    box-shadow: 0 0 70px rgb(145,179,219);
  }
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #f9f9f9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;      
  font-family: "primary-font", sans-serif !important;
  overflow-x: hidden;
}

.mt-0,.my-0{
  margin-top: 0px;
}
.mb-0,.my-0{
  margin-bottom: 0px;
}
.ml-0,.mx-0{
  margin-left: 0px;
}
.mr-0,.mx-0{
  margin-right: 0px;
}

.pt-0,.py-0{
  padding-top: 0px;
}
.pb-0,.py-0{
  padding-bottop: 0px;
}
.pl-0,.px-0{
  padding-left: 0px;
}
.pr-0,.px-0{
  padding-right: 0px;
}

.error-box {
  position: absolute;
  right: 3%;
  bottom: 10%;
  z-index: 100;
  background-color: rgb(236, 8, 8);
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  padding: .3rem 2rem;
  transition: all .4s;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.error-box button {
  width: 100%;
  font-size: 12px;
  padding: .2rem 0rem;
  min-width: 80px;
}

.message-box {
  position: absolute;
  right: 3%;
  bottom: 10%;
  z-index: 100;
  background-color: #40e0d0;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  padding: .3rem 2rem;
  transition: all .4s;
  font-size: 12px;
}

.final_info {
  text-align: right;
  margin-top: 1rem;
  line-height: 2;
}

.final_info span {
  color: #003477;
  border-bottom: 1px solid #094da7;
}

#final_message a {
  text-decoration: none;
  background-color: rgb(228, 228, 228);
  color: #000;
  width: 30%;
  margin: 1rem auto;
  padding: .3rem 0rem;
  position: absolute;
  bottom: 3%;
  left: 35%;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.show {
  opacity: 1 !important;
  height: 100% !important;
  display: block !important;
}

.hide {
  opacity: 0 !important;
  height: 100% !important;
  display: none !important;
}

.text-center {
  text-align: center;
}

.login-page {
  width: 100%;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  direction: rtl;
  min-height: 100vh;
  background: url('./../images/background2.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.login-content {
  flex: 2;
  padding: 8% 5% 0;
  box-sizing: border-box;
  font-size: 11px;
  min-height: 100vh;
  border-right: 1px solid rgba(21, 21, 94, 0.13);
  background:transparent;

}

.login-inner-content {
  padding: 2rem 0 0;
}

.login-inner-content p {
  font-size: 14px;
  padding: 2rem;
}

.login-content .images {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.login-content .images img { 
  width: 200px; 
  height: auto;	
}

.login-image { 
  width: 200px; 
  height: auto;	
}

.form {
  flex: 1;
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 80px;
  text-align: center;
  border-radius: 2px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background:rgba(255, 255, 255, 0.329);
  min-height: 100vh;
}

.form h5 {
  font-size: 1.5rem;
  margin: 1rem 0 .5rem;
}

.form input {
  font-family: "primary-font", sans-serif;
  outline: 0;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 30px;
  width: 85%;
  margin: 10px 0;
  padding: 9px 15px;
  box-sizing: border-box;
  font-size: 11px;
  direction: rtl;
  text-align: right;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  margin: 0 auto;
}

.form button {
  font-family: "primary-font", sans-serif;
  background: #40e0d0;
  width: 50%;
  border: 0;
  padding: 6px 15px;
  color: #FFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
  border-radius: 30px;
  margin: 1rem 0 0;
  transition: all .4s;
  margin-inline: auto;
}

.form .forget {
  text-align: right;
  line-height: 1;
  margin: 15px 0 10px;
  margin-right: 2rem;
}

.forget a {
  text-decoration: none;
  font-size: 12px;
  text-align: right;
}

.form button:hover,.form button:active,.form button:focus {
  background: #35c8b9;
}
.form .message {
  margin: 15px 0 0;
  color: #807e7e;
  font-size: 12px;
  margin-right: 2rem;
  text-align: right;
}
.form .message a {
  color: #2175a5;
  text-decoration: none;
  border-bottom: 1px solid #2175a5;
}
.form .register-form {
  display: none;
}
.form .register-form input{
  transform: translateX(50%);
  opacity: 0;
}
.form .register-form h5{
  transform: translateY(50%);
  opacity: 0;
}
.form .register-form  #ProvinceAndCity{
  transform: translateX(50%);
  opacity: 0;
}
.form #form-register .buttons, #form-register p{
  opacity: 0;
}
.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}
.container:before, .container:after {
  content: "";
  display: block;
  clear: both;
}
.container .info {
  margin: 50px auto;
  text-align: center;
}
.container .info h1 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
}
.container .info span {
  color: #4d4d4d;
  font-size: 12px;
}
.container .info span a {
  color: #000000;
  text-decoration: none;
}
.container .info span .fa {
  color: #EF3B3A;
}

.forget-password {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 80%;
  z-index: 1;
  background: #FFFFFF;
  width: 70%;
  margin: 0 auto 100px;
  padding: 45px;
  padding-top: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transform: translate(-50% , -50%) scale(0 , 0);
  animation: shadowAnimation 2s ease-in-out infinite alternate ;
}
.forget-password > div:nth-child(1){
  text-align: right;
  cursor: pointer;
}
.info {
  font-size: 12px;
  direction: rtl;
  margin: 0;
  margin-bottom: 10px;
  color: #777;
}
.forget-password > div , .forget-password > h5, .forget-password > p{
  visibility: hidden;
  opacity: 0;
}
.forget-password input {
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50%);
}
.forget-password input:last-child {
color: white;
text-align: center;
cursor: pointer;
}

.switch-group {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 11px;
  margin: 10px 0 0;
  width: 85%;
  margin: auto;
  margin-top: .5rem;
}

.switch input { 
  display:none;
}

.switch {
  display:inline-block;
  width:35px;
  height: 15px;
  margin: 0 8px;
  transform:translateY(0%);
  position:relative;
}

.switch-group {
  color: #888;
  font-size: 10px;
}

.slider {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  border-radius:30px;
  box-shadow:0 0 0 2px #777, 0 0 4px #777;
  cursor:pointer;
  border:4px solid transparent;
  overflow:hidden;
  transition:.4s;
}
.slider:before {
  position:absolute;
  content:"";
  width:100%;
  height:100%;
  background:#777;
  border-radius: 30px;
  transform:translateX(25px);
  transition:.4s;
}

input:checked + .slider:before {
  transform:translateX(0px);
  background:#2a67ad;
}
input:checked + .slider {
  box-shadow:0 0 0 2px #2a67ad;
}

@media (max-width: 900px) {
  .login-page {
    width: 100%;
    /*padding: 8% 0 0;*/
    display: flex;
    flex-direction: column-reverse;
  }

  .login-content {
    flex: 1;
    padding: 3% 1% 0;
    box-sizing: border-box;
    font-size: 11px;
    min-height: 30vh;
    border-right: none;
    border-bottom: 1px solid rgba(21, 21, 94, 0.13);
    background-position-x: right;
    width: 100%
  }
  
  .login-inner-content {
    padding: .5rem 0 0;
  }
  
  .login-inner-content p {
    font-size: 14px;
    padding: 1rem .5rem;
    display: none;
  }
  
  .login-content .images {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .login-content .images img {
    width: 165px;
    height: auto;
  }

  .login-image {
    width: 200px;
    height: auto;
  }

  .form {
    width: 100%;
    /*margin: 5px auto 0;*/
    padding: 25px;
    padding-top: 20px;
    text-align: center;
    min-height: 70vh;
  }
  
  .form input {
    width: 90%;
  }
  
  .buttons {
    width: 90%;
  }
  
  .form button {
    width: 50%;
    padding: 6px 5px;
    margin: 1rem 0 0;
    font-size: .7rem;

    margin-inline: auto;
  }
  
  .form .forget {
    text-align: right;
    line-height: 1;
    margin: 15px 0 10px;
    margin-right: 1rem;
  }
  
  .forget a {
    font-size: 11px;
  }

  .form .message {
    font-size: 10px;
  }

  .forget-password {
    top: 1%;
    left: 5%;
    height: 95%;
    width: 90%;
    padding: 20px 45px;
    padding-top: 20px;
  }

  .forget-password h5 {
    font-size: 1.2rem;
  }
  
  .forget-password input {
    width: 100%;
  
  }
  
  .forget-password button {
    width: 90%;
  }

  #final_message {
    width: 90%;
    right: 5%;
    top: 10%;
    padding: .3rem 2rem;
    min-height: 300px;
  }
  
  #final_message legend {
    font-size: .9rem;
  }
  
  .final_info {
    margin-top: .4rem;
    font-size: .85rem;
  }
  
  #final_message a {
    width: 50%;
    padding: .3rem 0rem;
    bottom: 3%;
    left: 25%;
  }
}



.province-select-box {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.province-select-box select {
  width: 48%;
  font-family: "primary-font", sans-serif;
  outline: 0;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 30px;
  margin: 10px 0;
  padding: 3px 10px;
  box-sizing: border-box;
  font-size: 11px;
  direction: rtl;
  text-align: right;
}

.province-select-box label{
  font-size: 12px;
}
.form #confirm-login{
  display: none;
  visibility: 0;
  opacity: 0;
}
.form .final-form{
  display: none;
  visibility: 0;
  opacity: 0;
}