/*Default pixel size to convert rem in px - 20px = 1rem*/

@font-face {
  font-family: KirvyLight;
  src: url(/assets/asset/fonts/kirvy/Kirvy-Light.otf);
}

@font-face {
  font-family: KirvyRegular;
  src: url(/assets/asset/fonts/kirvy/Kirvy-Regular.otf);
}

@font-face {
  font-family: KirvyBold;
  src: url(/assets/asset/fonts/kirvy/Kirvy-Bold.otf);
}

@font-face {
  font-family: KirvyThin;
  src: url(/assets/asset/fonts/kirvy/Kirvy-Thin.otf);
}

html {
  height: 100%;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Open Sans', sans-serif;
}

textarea, select, input, button { outline: none; }
.form-control:focus{
  border-color: transparent;
  border-bottom: solid 2px #4d7800;
  padding-left: 0 !important;
  box-shadow:none;
}

p,a,h4,input,label{
  font-family: 'Open Sans', sans-serif;
}
h2,h1{
  font-family: 'KirvyRegular', sans-serif;
}
p{
  line-height: 20px;
}
a{
  text-decoration: underline;
}

h1 {
  font-size: 1rem;
  padding-top: 32px;
  padding-bottom: 16px;
  margin-top: 0;
  margin-bottom: 0;
}

h2{
  margin-top:5px;
  margin-bottom: 0;
}

body {
  background-color: white;
  font-family: ProximaNova, Arial, sans-serif;
  color: #333;
  height: 100%;
  line-height: 1;
  margin: 0;
}

header{
  position: absolute;
  top: 0;
  text-align: center;
  width: 100%;
  margin-top:15px
}

header img{
  max-height: 85px;
}

.login-registration {
  min-height: 100vh;
  align-items: center !important;
  background: url(/assets/images/biodistrettoBackground.jpg) center;
  background-attachment:fixed;
  background-size: cover;
  background-color: #f3fce1;
  display: flex;
}

main{
  margin: 0 auto;
}

.main-container{
  justify-content: center !important;
  -webkit-box-pack: center !important;
  -webkit-justify-content: center !important;
  -ms-flex-pack: center !important;
  background-color: #fff;
  min-height: 120px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 0px 30px 54px;
}
.registration1 h4{
  margin:0;
}
.registration1 h2{
  margin-bottom:20px;
}
.login1 {
  border-left: solid 1px;
}
.login .form-group{
  width: 100%;
  padding-bottom: 10px;
}


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

.card-title h1{
  padding: 10px;
  font-size: 4rem;
  border-bottom: dotted 1px #000;
  margin-bottom: 20px;
  color: #4d7800;
}

.card-title h1 .logo-wiforagri{
  height:125px;
  margin: 22px 0px;
}

form label.error, form input.submit {
	margin-left: 253px;
}

.custom-primary{
    color: #FFF;
    background-color: #3699FF;
    border-color: #3699FF;
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}

.custom-light-primary{
    color: #3699FF;
    background-color: #E4E6EF;
    border-color: #E4E6EF;
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}

.custom-success{
    color: #FFF;
    background-color: #1BC5BD;
    border-color: #1BC5BD;
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}


.sane-login-button{
  border: solid 2px #4d7800;
  background-color: #4d7800;
  color:#fff;
  letter-spacing: 1px;
  padding-right: 18px;
  padding-left: 18px;
  margin-bottom: 0px;
  text-decoration: none;
}
.sane-login-button:hover{
  background-color: #fff;
  color: #4d7800;
}

.try-for-free {
  position: absolute;
  bottom: 0;
}

.sane-registration-button{
  width:50%;
  border: solid 2px #4d7800;
  margin-bottom:20px;
  background-color: #4d7800;
  color:#fff;
  letter-spacing: 1px;
  padding-right: 18px;
  padding-left: 18px;
  margin-top: 18px;
}
.sane-registration-button:hover{
  background-color: transparent;
  color: #4d7800;
}

.registration-button-section{
  text-align: center;
}

.sane-recovery-password a{
  color: #525252;
  float:right;
  padding-top: 11px;
}
a.sane-new-account{
  color: #525252;
}

.registration-message{
  margin-bottom:8px;
}
.registration .form-group{
  width: 100%;
  margin-bottom: 24px;
}
.must-have{
  color:#E95C2E;
  padding-left: 5px;
}
.checkbox{
  position:relative;
}
.checkbox label{
  margin-left: 13px;
}
.checkbox label a{
  color: #525252;
}
.checkbox .must-have{
  position:absolute;
}
.term-and-conditions .checkbox:last-child{
  border-bottom:solid 1px #b8b8b8;
}

.help-paragraph{
  padding-top: 40px;
  color:black;
  font-size: 15px;
}
.help-paragraph a{
  color:black;
}

.sane-content.row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
.registration1 .row:first-child > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.login1 .row:first-child > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.input-group{
   position:relative;
   padding: 5px 0 25px;
   width:100%;
}

.input-group .help-block-error{
   position:absolute;
   top:35px;
   left:2px;
}

.checkbox .help-block{
  margin-top:-9px;
}

.has-error .form-control{
   border-color:#4d7800;
   box-shadow:none;
}

.captcha_div{
   border-bottom:solid 1px #B8B8B8;
   padding-bottom:15px;
}

.alert{
   background-image:none;
   color:#FFFFFF;
   padding-top:24px;
   font-family:'Open Sans',sans-serif;
   border:solid 2px #E5D178;
}

.alert-success{
   background-color:#4d7800;
}



.login1 .input-group-addon,.recovery1 .input-group-addon{
  background-color: transparent;
  border-right: none;
  width: 30px !important;
  border-top: none;
  border-left: none;
  border-radius: 0;
  border-bottom: solid 2px #4d7800;
}
.login1 .input-group input, .recovery1 .input-group input,.registration-form input{
  border-left: none;
  border-top: none;
  border-right: 0;
  box-shadow: none;
  border-radius: 0;
  border-bottom: solid 2px #4d7800;
}
.registration-form input{
  border-bottom: solid 1px #4d7800;
  padding-left: 0 !important;
}
.login1 .input-group-addon .glyphicon{
  color: #4d7800;
}

@media screen and (max-width: 991px) {
  .sane-content.row {
    display: block;
    flex-wrap: nowrap;
  }
  .registration1 .row:first-child > [class*='col-'] {
    display: block;
    flex-direction: column;
  }
  .registration1 .row:first-child {
    margin-bottom: 13px;
  }
  .try-for-free {
    position: relative;
    margin-bottom:20px;
  }
  .login1 .row:first-child > [class*='col-'] {
    display: block;
    flex-direction: column;
  }
  .help-paragraph{
    text-align: center;
  }
  .registration{
    display: block;
  }
  .registration .sane-wrapper{
    margin-bottom: 60px;
  }
  .registration .help-paragraph{
    color:#525252;
  }
  .registration .help-paragraph a{
    color:#525252;
  }
  .login1 {
    border-left: none;
  }
  .registration1 .row:first-child{
    margin-bottom:26px;
  }
  .login1 .row:first-child{
    margin-top:20px;
  }
  .login1 .form-inline{
    border-top: solid 1px;
  }
}
@media (max-height: 1100px) {
  .registration{
    display: block;
  }
  .registration .help-paragraph{
    color:#525252;
  }
  .registration .help-paragraph a{
    color:#525252;
  }
}
@media (max-height: 700px) {
  .login{
    display: block;
  }
  .login .help-paragraph{
    color:#525252;
  }
  .login .help-paragraph a{
    color:#525252;
  }
}
