@font-face {
  font-family: iransans;
  font-style: normal;
  font-weight: 300;
  src: url('../font/IRANSansWeb.eot');
  src: url('../font/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
     url('../font/IRANSansWeb.woff2') format('woff2'),
     url('../font/IRANSansWeb.woff') format('woff'),
     url('../font/IRANSansWeb.ttf') format('truetype');
}

*{
  -moz-box-sizing: border-box;
   -webkit-box-sizing:border-box;
   -webkit-appearance: none;
   box-sizing: border-box;
   text-decoration: none;
   margin: 0;
   padding: 0;
   outline: none;
   text-rendering: optimizeLegibility !important;
   -webkit-font-smoothing: antialiased !important;
   font: normal 11pt iransans;

}


html, body {
  margin: 0;
  font-weight:lighter ;
  direction: rtl;
  background-color: #1a713e;
  font: normal 12pt iransans;
}



input[type=text] , input[type=password] {
  background-color: #f0f0f0;
  border: none;
  color: #0d0d0d;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  border: 1px solid #a3a3a3;

}

input[type=text]:focus,input[type=password]:focus {
  background-color: #fff;
  border: 1px solid #0f5c16;
}

input[type=text]:placeholder , input[type=password]:placeholder  {
  color: #676767;
}


.login{
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 50px;
}

.login .loginicon{
  padding: 10px;
  margin-top: 20px;
}

.login .logintitle{
  padding: 10px;
  font-size: 15px;
}

.login .logintitle h2{ 
  font-size: 15pt;
}


.login .loginbox{
  display: inline-block;
  width: 30%;
  min-width: 300px;
  background-color: #fff;
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);

  border-radius: 10px;

}

.logininput{
  padding: 10px 0;

}

.loginsubmit{
  margin-top: 20px;  
}


.loginsubmit input[type=submit]  {
  background-color: #146c49;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  -webkit-box-shadow: 0 10px 30px 0 rgba(8, 142, 97, 0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.loginsubmit input[type=submit]:hover  {
  background-color: #095839;
}

.loginsubmit input[type=submit]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}
.login .loginbox .loginfooter{
  display: block;
  border-top: 1px solid #cccccc;
  background-color: #f3f3f3;;
  border-radius: 0 0 5px 5px;
  min-height: 50px;
  padding: 10px;
}
 
.loginresult{
  display: inline-block;
  padding: 10px;
  width: 85%;

}

.alert{
  border-radius: 5px;
  display:block;
  line-height: 38px;
  font-size: 10pt;
  font-weight: bold;
  padding: 0 10px;
  display: block;
  text-align: right;
  margin: 5px 0;
}

.alert p{
  margin: 0;
  padding: 5px 5px 5px 0;
  line-height: 18px;
  font-weight: normal;
  font-size: 13px;
}
.alert label{
  font-size: 11pt;
  display: block;
}

.alert-red{
  color: #fff;
  background-color: #A50000;
  border: 2px solid #A50000;

}

.alert-green{
  color: #fff;
  background-color: #16A500;
  border: 2px solid #16A500;

}

.alert-yellow{
  color: #3C382E;
  background-color: #FFF4D9;
}


@media only screen and (max-width: 900px) {
  .login .loginbox{

    width: 40%;
    min-width: 300px;
  }

}


@media only screen and (max-width: 600px) {
  .login .loginbox{

    width: 90%;
    min-width: none;
  }

}