@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap');

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #777;
}

.login-page-section {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;

}
.login-page-section {
  background-image: url("../img/login/bg.png");
  height: 100%;
}

.caption {
  position: absolute;
  left: 0;
  top: 18%;
  width: 100%;
  text-align: center;
  color: #000;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}

.login-page-section .box-login {
  background-color: transparent;
  border: none;
  width: 108%;
  overflow: hidden;
}

.login-page-section .box-login-two {
  background: rgb(255, 255, 255);
  border-radius: 10px;
  width: 445px;
  padding-bottom: 31px;
}

.login-page-section .box-login img {
  width: 100%;
  margin-top: 100px;
}

.login-page-section .row .col-md-7 {
  z-index: 9;
}

.logo-login {
  padding: 15px 30px;
  margin-top: 13px;
  margin-bottom: 3px;
  width: 100%;
}

.form-control-login {
  border-radius: 5px;
  border: 1px solid rgb(216, 216, 216);
  width: 385px;
  padding: 10.5px 20px;
  color: #333;
  font-size: 15px;
  letter-spacing: 0px;
  outline: none;
  margin-bottom: 25px;
}

.form-control-login::-webkit-input-placeholder { /* Edge */
  color: #d8d8d8;
}

.form-control-login:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #d8d8d8;
}

.form-control-login::placeholder {
  color: #d8d8d8;
}

.box-login-two .row {
  margin-top: 14px;
  margin-bottom: 30px;
}

.box-login-two div .form-check-label {
  color: rgb(0, 0, 0);
  font-size: 15px;
  letter-spacing: 0px;
  font-weight: 400;
}

.box-login-two div .form-check-label span{
  padding-left: 0;
  cursor: pointer;
}

.box-login-two div .forgot-password{
  color: rgb(13, 57, 209);
  font-size: 15px;
  letter-spacing: 0px;
  text-align: right;
  font-weight: 400;
}

.box-login-two .button-login{
  background: rgb(239, 51, 64);
  border-radius: 5px;
  width: 385px;
  padding: 12px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0px;
  text-align: center;
  outline: none;
}

.box-login-two .button-login:hover {
  opacity: .7;
}

.box-login-two .custom-padding-login {
  padding: 0 6px;
}

input[type=checkbox] {
  position: relative;
  cursor: pointer;
}
input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  border: 1px solid rgb(216, 216, 216);
  height: 18px;
  width: 18px;
  top: -4px;
  left: -2px;
  border-radius: 100%;
  background-color: white;
}
input[type=checkbox]:checked:after {
  content: "";
  display: block;
  position: absolute;
  border: 1px solid #001970;
  height: 18px;
  width: 18px;
  top: -4px;
  left: -2px;
  border-radius: 100%;
  background-color: #001970;
}

.shadow-login {
  margin: 11px 0;
  width: 100%;
}

.custom-control-label::before {
  width: 18px;
  height: 18px;
}
.custom-radio .custom-control-input:checked~.custom-control-label::after {
  background-image: none;
  background: transparent;
  border: solid #fff 3px;
  border-radius: 50%/50%;
  top: 5px;
  margin-left: 1px;
}

.custom-control {
  padding-left: 8px;
}
.g-recaptcha {
  padding: 0 30px;
}

.alert {
    z-index: 999;
}

@media (max-width: 320px) {  
  .box-login-two div .forgot-password{
    margin-top: 20px;
  }
}

@media (max-width: 367px) {  
  .box-login-two div .forgot-password{
    /* margin-top: 20px; */
    display: inline-block;
  }
  .login-page-section .box-login img {
    margin-top: 100px!important;
    width: 80%!important;
  }
  .alert {
      font-size: 10px;
      padding: 5px;
  }
  .alert .close {
    font-size: 18px;
    margin-top: -2px;
  }
}

/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
  .login-page-section {
    background-size: cover;
    overflow: hidden;
    background-image: url("../img/login/bg-mobile.png");
  }
  .login-page-section .caption {
    top: 0;
  }
  .login-page-section .box-login img {
    margin-top: 50px;
    width: 90%;
  }
  .login-page-section .box-login {
    position: absolute;
    top: -220px;
  }
  .login-page-section .box-login-two {
    width: 90%;
    padding: 15px 15px 30px;
    border-radius: 10px 10px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .form-control-login {
    width: 100%;
    margin-bottom: 15px;
  }
  .button-login {
    width: 100%!important;
  }
  .box-login-two .custom-padding-login {
    padding: 0 6px;
    margin-left: 0!important;
    margin-right: 0!important;
  }
  .logo-login {
    padding: 0 17.9px 15px;
    /* width: 200px; */
    margin-bottom: 0;
  }
  .shadow-login {
    display: none;
  }
  .g-recaptcha {
    padding: 0;
  } 
  .box-login-two .row {
    margin-top: 5px;
    margin-bottom: 15px;
  }
}

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) { 

}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) { 
  .login-page-section .box-login-two {
    width: 100%;
    padding: 10px;
  }
  .form-control-login {
    width: 100%;
  }
  .box-login-two .button-login {
    width: 100%;
  }
  .logo-login {
    padding: 22.6px 8px 20px;
  }
  .login-page-section .box-login img {
    width: 100%;
  }
  .row.ml-4.mr-4.custom-padding-login {
    margin-left: 0!important;
    margin-right: 5px!important;
  }
  .box-login-two div .form-check-label span {
    font-size: 12px;
  }
  .box-login-two div .forgot-password {
    font-size: 13px;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
  .login-page-section .box-login-two {
    width: 100%;
    padding: 10px;
  }
  .form-control-login {
    width: 100%;
  }
  .box-login-two .button-login {
    width: 100%;
  }
  .logo-login {
    padding: 10px 0 20px;
    height: 90px!important;
  }
  .login-page-section .box-login img {
    width: 100%;
  }
}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

}