.wrap.login {
    background: url(../images/bg.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: fixed;
}

.wrap.login .overlay {
    background: rgba(119, 174, 222, 0.5);
    position: fixed;
    width: 100%;
    height: 100%;
}

.card.login-form {
    max-width: 920px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.bg-green {
    background: #5AB6B2;
}

.bg-gray{
    background: #D1D1DB;
}

.bg-customgray {
    background: #d1d1db70;
}
.text-blue {
    color: #001A70; 
}

.info-block h6 {
    font-size: 1.0rem;
    font-weight: bold;
}

.info-block p {
    line-height: 1;
}

.info-block i {
    width: 23px;
}

.form-block .lead {
    font-size: 1.0rem;
    border-bottom: 2px solid #dee2e6;
}

.text-justify {
    text-align: justify !important;
}

.small, small {
    font-size: 100% !important;
}

.logo-slogan{
    font-size: 20px;
}

.info{
    color:forestgreen;
}
.warning {
    color: red;
}

.card.login-form {
    scale: 0.9;
    top: 46%;
}

@media only screen and (max-width: 767px) {
    .card.login-form {
        width: auto;
        margin: 0 40px;
    }

    .mr-5 {
        margin-right: 0px !important;
    }

    .logo-slogan{
        font-size: 18px !important;
    }

    .form-block .lead {
        font-size: 16px !important;
    }

}
@media only screen and (max-device-width: 667px) {
    .wrap.login {
        overflow: scroll !important
          
    }
    .card.login-form {
        scale: 0.7;
        top: 35%;
    }
}
@media only screen and (max-device-width: 896px) {
    .wrap.login {
        overflow: scroll !important
    }

    .card.login-form {
        scale: 0.7;
        top: 35%;
    }
}
@media only screen and (max-device-width: 932px) {
    .wrap.login {
        overflow: scroll !important
    }

    .card.login-form {
        scale: 0.7;
        top: 35%;
    }
}
@media only screen and (max-device-width: 375px) {
    .wrap.login {
        overflow: scroll !important
    }

    .card.login-form {
        scale: 0.9;
        top: 46%;
    }
}
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2){
	  
	  .wrap.login {
        overflow: scroll !important
    }

    .card.login-form {
        scale: 0.9;
        top: 30%;
    }
	  
  }

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: portrait){
	  .wrap.login {
        overflow: scroll !important
    }

    .card.login-form {
        scale: 0.9;
        top: 30%;
    }
	  
  }
  @media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: landscape){
	  .wrap.login {
        overflow: scroll !important
    }

    .card.login-form {
        scale: 0.9;
        top: 30%;
    }
	  
  }