body {
  font-family: Poppins;
}

html, body {
  height: auto;
  width: auto;
  overflow-y: auto;
  overflow-x: auto;  /* Enables horizontal scrolling */
}

.companyHeader {
  margin-left: 10%;
}

#companyName {
  color: #e64918;
  float: left;
  font-size: xx-large;
  font-weight: bolder;
}

.formContainer {
  margin-top: 20%;
  margin-left: 10% !important;
}

#detailsInfo {
  position: relative;
  color: #758794;
}

.primaryAction {
  background-color: #e64918;
  border-radius: 25px;
  border: none;
  width: 50%;
}

#id_auth-username, #id_auth-password, #company_domain {
  background-color: #f1f5f8;
  border-radius: 25px;
  color: #a6b1ba;
  opacity: 1; /* Firefox */
}

#div_id_auth-username, #div_id_auth-password {
  display: flex;
  justify-content: center;
  margin-bottom: 1em !important;
}

#div_id_auth-remember_me {
  display: flex;
  justify-content: center;
  margin-top: 5%;
  color: #8797a2 !important;
}

.secondaryAction {
  color: #32444f !important;
}

.input-wrapper {
  display: inline-block;
  position: relative;
  padding-right: 2%;
}

.user:after {
  font-family: 'FontAwesome';
  content: '\f007';
  position: absolute;
  right: 9%;
  top: 20%;
  color: #d7dee4;
}

.password:after {
  font-family: 'FontAwesome';
  content: '\f069';
  position: absolute;
  right: 9%;
  top: 25%;
  color: #d7dee4;
}

.root-container {
  position: relative; /* Change from fixed */
  margin: auto;
  min-height: 100vh;  /* Use min-height instead of fixed height */
  max-width: 3200px !important;	  min-width: 100vw;
}

.imageContainer {
  background-image: url("/static/images/loginPageImage.jpg?d300f27cb4c3");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

.column {
  float: left;
  width: 50%;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 760px) {
  .column {
    width: 100%;
    height: 50%;
  }

  .companyHeader {
    padding: 0.2rem !important;
  }

  .formContainer {
    margin-top: 0%;
    left: 30% !important;
  }

  #div_id_auth-remember_me, .submitButton, #forgot_password {
    margin-left: 10% !important;
  }

  .imageContainer {
    margin-left: 5%;
    min-width: 100vw; /* Prevents shrinking */
    min-height: 100vh;
  }
}

.submitButton {
  display: flex;
  justify-content: center;
}

.pageContainer {
  min-height: 100vh;
  min-width: 100vw;
}

.center {
  margin-top: 20%;
}

h1 {
  color: #091f2d;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #a6b1ba !important;
  opacity: 1 !important; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #a6b1ba !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #a6b1ba !important;
}

@media only screen and (max-width: 1700px) {
  .formContainer h1 {
    font-size: 1.5rem;
  }

  #signInText {
    margin-left: 10%;
  }

  #detailsInfo {
    margin-left: 15%;
    font-size: small;
  }

  .user:after {
    top: 10%;
  }

  .password:after {
    top: 11%;
  }

  #div_id_auth-remember_me, .submitButton, #forgot_password {
    justify-content: center !important;
    margin-top: 2%;
  }

  .primaryAction {
    display: block;
    font-size: 14px;
  }

  #id_auth-username, #id_auth-password {
    height: 30px;
  }
}

@media only screen and (max-width: 480px) {
  .formContainer {
    left: 15% !important;
  }
}

@media only screen and (min-width: 481px) and (max-width: 580px) {
  .formContainer {
    left: 25% !important;
  }
}

@media only screen and (min-width: 1701px) {
  #signInText {
    position: relative;
    margin-left: 20%;
    margin-right: 20%;
  }

  #detailsInfo {
    margin-left: 28%;
    margin-bottom: 2%;
    margin-right: 25%;
  }

  .align-items-center {
    margin-left: 10% !important;
    margin-right: 10% !important;
  }

  #id_auth-username, #id_auth-username {
    height: 40px;
  }
}

#ssoDetails {
  color: #758794;
}

#companyLogo, #forgot_password {
  display: none;
}
