/*************************************************************************************************************************************************
 * MODULE:		stylesheets\login.css
 *
 * DESCRIPTION: Styles for the portal login page.
 *
 * AUTHOR:		Hyphen Solutions
 *
 * COPYRIGHT:	Copyright (c) 2002 MH2 Technologies. All Rights Reserved.
 * &  IDS_SOURCE_CODE_TAG  -- Do NOT Delete this line
 *
 * HISTORY:
 *  07/18/2023  Herbert Duncan      20665 - Fix footer overlap with content
'*  06/28/2023  Herbert Duncan      20665 - Change styles for footer
'*  06/06/2023  Herbert Duncan      20665 - Added various classes
'*  06/23/2021  Josh Torres         17672 - Login page UI revamp
 *	04/09/2021  Josh Torres	        16365 - Add comment header
 **************************************************************************************************************************************************/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body, .loginContainer {
    /* height: 100%; */
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
  flex-direction: column;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffb77a, #ff7500);
  color: #666;
  font-size: 0.875rem;
  font-family: Roboto, sans-serif;
  height: 100vh;
}

.tag-line {
    position: relative;
    z-index: 99;
    color: white;
    font-size: 2.8rem;
    font-family: sans-serif;
    font-weight: 900;
    width: 420px;
    height: 520px;
    text-align: right;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 40%);
    line-height: 1;
}

.sub-tag-line {
    position: relative;
    z-index: 99;
    color: white;
    font-size: 1.1rem;
    font-family: sans-serif;
    font-weight: 100;
    text-align: right;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 17%);
    line-height: 1;
    padding-top: 10px;
}

.hero1, .hero2 {
    width: 100%;
    height: 100%;
    background-image: url("/bg_house1.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    position: absolute;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    opacity: .4;
}

.hero2 {
    background-image: url("/bg_house2.png");
}

@media (max-width: 1000px) {
    .hero {
        display: none;
    }
    .tag-line {
        display:none;
    }
}

.loginContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    min-height: 100vh;

}


footer {
    position: absolute; 
    bottom: 0;
    left: 0;
    width: 100%;
}

@media screen and (max-height: 600px) {
    footer {
        position: unset;
    }
}

.container {
  /* display: none; */
  width: 100%;
  max-width: 350px;
  min-height: 30vh;
  padding: 0.75rem 0.75rem;
  background-color: #fff;
  border-radius: 0.3rem;
  position: relative;
  margin: 2%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s ease-in-out;
}

h2,
p {
  text-align: center;
}
h2 {
  font-size: 2.5rem;
}

a {
  color: #ff7500;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

#systemLogonLabel {
  color: #828282;
  font-size: 20px;
  font-family: Arial;
  font-weight: 500;
}

.login-form {
  padding-bottom: 5px;
}

.form-control {
  width: 100%;
  margin: 1rem 0;
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 60%;
  right: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.toggle-password > i {
  display: none;
}

.form-control > label {
  display: block;
}

.form-control > input {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem 0.3rem;
  background-color: #efefef;
  border: 2px solid transparent;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}

.forgotPasswordItems > input {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.5rem 0.3rem;
    background-color: #efefef;
    border: 2px solid transparent;
    outline: none;
    font-family: inherit;
    font-size: inherit;
}

.form-control > input:focus {
  border-color: #999;
}

.form-control > input[type='submit'] {
  border: 2px solid transparent;
  background-color: #ff7500;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1rem;
  cursor: pointer;
}

.form-control > input[type='submit']:hover,
.form-control > input[type='submit']:focus {
  background-color: #ffb77a;
}

.form-control > input[type='submit']:focus {
  border-color: #999;
}

.multiGridContainer {
  align-items: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.pwdResetContainer {
  align-items: center;
  width: 100%;
  /* display: flex; */
  flex-wrap: wrap;
  box-sizing: border-box;
}

.pwdResetContainer > span {
  color: #828282;
  font-size: 12px;
  font-family: Arial;
  font-weight: 400;
  padding-right: 5px;
}

.pwdResetContainer > a {
  color: #ff7700;
  /* font-size: 12px; */
  /* font-family: Arial; */
  /* font-weight: 400; */
}

.criteria.met {
    color: #00cd00; /* Green color for criteria that are met */
}

.submitButton {
  border: 2px solid transparent;
  background-color: #ff7500;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1rem;
  cursor: pointer;
  width: 100px;
  height: 45px;
}

.sendButton {
    border: 2px solid transparent;
    background-color: #ff7500;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
    width: 100px;
    height: 45px;
}

.cancelButton {
    border: 0px solid #aaaaaa;
    background-color: initial;
    color: #aaaaaa;
    text-transform: uppercase;
    /* font-weight: bold; */
    letter-spacing: 0.1rem;
    cursor: pointer;
    width: 100px;
    height: 45px;
}

.doneButton {
    border: 0px solid #aaaaaa;
    background-color: #1f49e1;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
    width: 100px;
    height: 45px;
}

.backToLoginButton {
    border: 0px solid #aaaaaa;
    background-color: #ff7500;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
    width: 100px;
    height: 45px;
}

.submitButton:hover,
.submitButton:focus {
  background-color: #ffb77a;
}

#logoBRIX {
  max-width: 100%;
  max-height: 100%;
  padding: 2rem;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

#hyphenLogo {
  padding-top: 20px;
  padding-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.seperator {
  margin-bottom: 6px;
}

.linksContainer {
  padding-top: 5px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.linksContainer > a,
span {
  color: #aaaaaa;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.supportContainer {
  justify-content: center;
  align-items: center;
  display: flex;
}

.supportContainer > a,
span {
  color: #aaaaaa;
  /* font-size: 16px; */
  /* font-family: Arial; */
  /* font-weight: 500; */
}

#cover-spin {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.63);
  z-index: 9999;
  display: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#cover-spin::after {
  content: '';
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 80px;
  height: 80px;
  border-style: solid;
  border-color: rgba(255, 136, 0, 0.829);
  border-top-color: transparent;
  border-width: 6px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

.alert {
  margin-top: 10px;
  padding: 10px;
  background-color: #f44336;
  color: white;
}

.alert.success {
  background-color: #4caf50;
}

.alert.info {
  background-color: #2196f3;
}

.alert.warning {
  background-color: #ff9800;
}

.closebtn {
  margin-left: 10px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 25px;
  line-height: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}
