/* ========================================
   SMIS LOGIN PAGE NO FRONTPAGE STYLES
   ======================================== */

/* ========================================
   BASE LOGIN STYLES
   ======================================== */
#license-area {
  width: 460px !important;
}

#smis-login > .modal-body > .modal-body-title {
  float: left;
  max-width: 200px;
}

#smis-login > .modal-body > .modal-body-form {
  float: left;
  max-width: 300px;
}

#smis-login .smis_form > div > label {
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

#smis_logo img {
  margin: 0 auto;
  max-height: auto;
  max-width: 200px;
}

.smis {
  bottom: 0;
  left: 0;
  margin: auto;
  max-height: 316px;
  max-width: 563px;
  position: absolute;
  right: 0;
  top: 0;
}

#smis-modal {
  left: 0;
  top: 0;
}

#smis_logo {
  text-align: center;
}

#smis-login {
  left: 3px !important;
  top: 3px !important;
  z-index: 190;
}

#smis-login .modal-header h3 {
  font-size: 24.5 !important;
  font-weight: bold !important;
}

/* ========================================
   MAIL LOGIN CONTROLS
   ======================================== */
#mail-login {
  display: none;
}

#mail-back-btn {
  display: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 531px) {
  #smis-login {
    background: rgba(255, 255, 255, 0.74);
    bottom: 0 !important;
    left: 0 !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 0;
  }

  #smis-login .modal-footer {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
  }

  #smis-login .modal-header {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
  }

  #smis-login .modal-body {
    border: none;
    height: max-content;
    max-height: 100%;
    overflow-y: auto;
    padding: 15px;
    position: relative;
  }

  #smis-login .modal-body-title {
    float: none !important;
    margin: 0 auto !important;
  }

  #smis-login .modal-body-form {
    float: none !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  #smis-login .modal-body-form label,
  #smis-login .modal-body-form input {
    text-align: left !important;
    width: 100% !important;
  }

  #smis-login .smis_form > div {
    margin-left: 10% !important;
    padding: 0 !important;
    width: 80% !important;
  }
}
