/*

Theme Name: SehatSanji

Theme URL: http://SehatSanji.ir

Version: 1.0

Author: Ratin

/* Reset html5 */




article,
aside,
details,
figcaption,
figure,
footer,
nav,
section,
summary {
	display: block;margin: 0; padding : 0
}
html, body, div, span, applet, object, iframe, 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, center,
dl, dt, dd, ol,
fieldset, form, 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;
}
label{display:block;margin-top:-5px;}


* {
  text-decoration:none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:border-box;outline: 0;
    box-sizing: border-box;
    -webkit-transition:all 0.0s ease;
    -moz-transition:all 0.0s ease;
    -khtml-transition:all 0.0s ease;
    -o-transition:all 0.0s ease;
    -ms-transition:all 0.0s ease;
    transition:all 0.0s ease;
  }
  
  :not(input):not(textarea) {
    -webkit-user-select:none;
    -webkit-touch-callout:none
  }
  ::-webkit-scrollbar {
    display:none
  }
  input:focus::-webkit-input-placeholder {
    color:transparent
  }

del{
    display:block;
    color:#666;
    font-size:15px;
position:relative;
height:11px;
top:1px;
right:-5px;
margin-bottom:7px;
  text-decoration: line-through;
}

audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden], .hide {
	display: none;
}
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
img {
	border: 0;
}
svg:not(:root) {
	overflow: hidden;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
::selection{
	background: #333333;
	color: #fff;
}
::-moz-selection{
	background: #333333;
	color: #fff;
}

a:hover{
  cursor: pointer;
}

@font-face {
  font-family: 'Dana';
  src:  url('fonts/IRANYekanXFaNum-Regular-47aa9bcc.woff') format('truetype'); 
}

html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body{
    font-family: 'Dana';
    direction:rtl;
    width:100%;
    height:100%;
    background: linear-gradient(323deg, rgba(16,12,117,1) 0%, rgba(77,193,182,1) 100%); 
    cursor: default;
    color:#4e535d;
    overflow-x: hidden;
    margin        : 0;
    padding       : 0;
    display       : grid;
    place-content : center;
    min-height    : 100vh;
}

.logo{
  margin:auto;
  width:100%;
  height:auto;
  padding:10px;
  text-align: center;
  border-radius: 10px;
  opacity: .9;
}

.logo img{
  vertical-align: middle;
  height:45px;
}

.loginform{
    padding:10px;
    width:auto;
    height:auto;
    border-radius: 10px;
    border-radius:8px;
    text-align: center;
    margin: auto;
}

.loginform h1{
font-size:18px;
margin:0px 0 10px 0;
color: #fff;
opacity: .7;
}

.loginform p{
  color:#fff;
  text-align: center;
  font-size:12px;
  margin: 20px auto;
}

form{
  border-radius: 10px;
  background-color: #FFf;
  width:40%;
  min-width:400px;
  margin:auto;
  padding:40px 20px 30px 20px;
}

form span{
  display: inline-block;
  margin:5px auto;
  height:87px;
}

.w-50{
  width:43%;
  height:70px;
  vertical-align: top;
  margin-bottom:15px;
}

.w-100{
  width:87%;
  height:87px;
  vertical-align: top;
}

form b{
  font-weight: normal;
  font-size:11px;
}

form span h2{
  font-weight: normal;
  font-size:15px;
  background: #fff;
  width:auto;
  padding: 2px 10px;
  text-align: center;
  height:auto;
  margin:-17px auto 0 auto;
float:right;
position:relative;
right:20px;
top:20px;
z-index: 100001;
}

form input[type=submit]{
  font-family: Dana;
  background: #316d98;
  border:0;
  font-size: 20px;
  color:#f1f1f1;
  cursor: pointer;
  width:87%;
  margin: 20px 0;
}


form input{
  font-family: Dana;
  width:100%;
  font-size:15px;
  height:50px;
  border:1.5px solid #ccc;
  border-radius: 5px;
  margin:10px auto;
  display: inline-block;
  text-align: center;
}


input:disabled{
  background: #fff;
  color:#000;
}


.errors{
  color:red;
  }
  

  .errors label{
    color:red;
    text-align:right;
      font-size: 11px;
      height: auto;
      font-weight:normal;
      margin-top:-5px;
  display:block;
  }
  
  .errors input, .errors.textarea{
    border:1.5px solid red;
  }
  
  .success{
    color:#26a357;
  }
  
  .success input, .success textarea{
    border:1.5px solid #26a357;
  }

  .forget{
    display: block;
    color:#585858;
  font-size:12px;
  }


  
@media screen and (max-width:855px) {
  form{
    width:100%;
    min-width:0px;
  }

  .loginform p{
    font-size:11px;
  }

  
 .loginform input[type=submit]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
 }
 
        .loginform{
               width:100%;
            border:0;
        }
        
        form{
          width:90%;
        }

        .w-50{width:87%;  height:87px;}

    }

    .loginform p a{
      color:#bbb !important;
    }
    
    .msg{
      display:contents;
      width:90%;
      padding:5px;
  color:red;
  font-size:13px;
}