* {
  box-sizing: border-box;
}

#networkCanvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background: #181818;
}

.lgnBody {
  font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: black !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  margin: 0;
}

.lgnContainer {
  margin-right: auto;
  margin-left: auto;
  min-height: 570px;
  position: relative;
  z-index: 5;
}

.lgnLogoForm {
  width: 30vw;
  padding: 15px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.lgnHexBkg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.lgnForm {
  width: 20vw;
  padding: 3rem 0;
  margin: 0 auto;
  margin-bottom: 10px;
  background: #0f0f0fdb;
  margin-top: 4rem;
  box-shadow: 0 0 50px #0f0f0f94;
  border-radius: 10px;
  position: relative;
  z-index: 10;
}

.lgnHeading {
  font-size: 2rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: #999999;
  margin: 1rem 0;
}

.lgnMessage {
  font-size: 18px;
  margin: 1.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: #f6c100;
}

.lgnSr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lgnLabel {
  display: inline-block;
  max-width: 80%;
  margin-bottom: 5px;
  font-weight: 700;
}

.lgnLogoForm input[type='password'] {
  margin-top: 0.25rem;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  box-sizing: border-box;
  padding: 10px;
  font-size: 18px;
}

.lgnFormControl {
  display: inline-block;
  width: 80%;
  height: 50px;
  line-height: 2;
  border: 1px solid #0f0f0f;
  border-radius: 4px;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  box-sizing: border-box;
  padding: 10px;
  font-size: 18px;
  max-width: 500px;
  z-index: 10;
  position: relative;
}

.lgnFormControl:hover {
  background-color: #1a1a1a !important;
}


.lgnFormControl:focus,
.lgnButton:focus {
  outline: 0;
  box-shadow: 0 0 8px rgb(245, 200, 36);
}

.lgnFormIcon {
  background-color: black !important;
  padding-left: 35px;
  color: white;
}

.lgnLogoForm select {
  margin-top: 3px;
  margin-bottom: 3px;
}

.lgnCheckBox {
  margin: 4px 0 0;
  line-height: normal;
  box-sizing: border-box;
  padding: 0;
}

.lgnButton {
  display: inline-block;
  width: 80%;
  padding: 10px 16px;
  font-size: 21px;
  line-height: 1.3333333;
  border-radius: 6px;
  color: black;
  background-color: #239a2d;
  border-color: #2e6da4;
  margin-bottom: 0;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  margin-top: 1rem;
}

/* Smaller margin between 'Sign in' and 'Windows SSO' buttons so the login button would make a group together */
button#ssoButton {
  margin-top: 0.5rem;
}

/* Slightly darker when hovering sign in button */
.lgnButton:hover {
  background-color: #1e7a23;
  border-color: #1e7a23;
}

.lgnImg {
  display: inline-block;
  width: 100%;
  transform: translateX(7.5%);
}

.lgnImgDiv {
  text-align: center;
}

.lgnLink {
  text-decoration: none;
}

.afterFontFix {
  padding-top: 7px;
}

.bottomBarTextColor {
  color: #fdfdfd;
  font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 150%;
  margin: 0;
  letter-spacing: 2px;
}

.bottomLogo {
  height: 35px;
}

.elsLiteImg {
  position: absolute;
  height: 100%;
  right: 10vw;
}

.elsLiteContainer {
  position: absolute;
  height: 12vh;
  min-height: 150px;
  left: 0;
  right: 0;
  z-index: 5;
}

@media (max-width: 768px) {
  .elsLiteContainer {
    position: relative;
    height: 15vh;
    min-height: 125px;
  }
}

.bottomBar {
  max-height: 50px;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: #4b4b4b;
  z-index: 5;
}

.bottomButton {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  margin-bottom: 1vh;
  margin-top: 1vh;
  cursor: pointer;
}

.bottomButton:hover .bottomBarTextColor {
  text-shadow: 2px 2px 2px black;
}

.bottomButton:hover svg {
  filter: drop-shadow(2px 2px 2px black);
}

.leftButton {
  margin-left: 0.5vw;
}

.rightButton {
  margin-right: 0.5vw;
}

.bottomBarLogo {
  fill: #fdfdfd;
}

button:disabled {
  outline: none;
  background: #aaa;
}

.communityLogo {
  width: 30px;
  height: 35px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.bottomButton:hover .communityLogo {
  filter: brightness(0) invert(1) drop-shadow(2px 2px 2px black);
}

.bottomButton:focus-visible {
  outline: 2px groove rgb(245, 200, 36);
  outline-offset: 0.3rem;
}

/* Tablet styles */
@media (max-width: 1024px) {
  .lgnLogoForm {
    width: 50vw;
  }

  .lgnForm {
    width: 40vw;
  }

  .lgnHeading {
    font-size: 1.75rem;
  }

  .lgnFormControl {
    height: 45px;
    font-size: 16px;
  }

  .lgnButton {
    font-size: 18px;
    padding: 8px 14px;
  }

  .elsLiteImg {
    right: 5vw;
  }

  .bottomBarTextColor {
    font-size: 130%;
  }
}

/* Phone styles */
@media (max-width: 768px) {
  .lgnContainer {
    min-height: auto;
    padding-bottom: 80px;
  }

  .lgnLogoForm {
    width: 90vw;
    padding: 10px;
  }

  .lgnForm {
    width: 85vw;
    padding: 2rem 0;
    margin-top: 1rem;
  }

  .lgnHeading {
    font-size: 1.5rem;
  }

  .lgnMessage {
    font-size: 16px;
  }

  .lgnFormControl {
    width: 90%;
    height: 45px;
    font-size: 16px;
  }

  .lgnFormControl.lgnFormIcon {
    padding-left: 35px;
    background-size: 18px;
    background-position: 10px center;
  }

  .lgnButton {
    width: 90%;
    font-size: 16px;
    padding: 10px 12px;
  }

  .elsLiteImg {
    position: relative;
    right: 0;
    height: 80%;
    display: block;
    margin: 0 auto;
  }

  .elsLiteContainer {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .bottomBar {
    flex-direction: column;
    max-height: none;
    padding: 10px 0;
  }

  .bottomButton {
    margin: 5px auto;
    justify-content: center;
  }

  .leftButton {
    margin-left: auto;
  }

  .rightButton {
    margin-right: auto;
  }

  .bottomBarTextColor {
    font-size: 110%;
  }

  .bottomLogo {
    height: 28px;
  }

  .communityLogo {
    width: 25px;
    height: 28px;
  }
}

/* Small phone styles */
@media (max-width: 480px) {
  .lgnLogoForm {
    width: 95vw;
    padding: 5px;
  }

  .lgnForm {
    width: 90vw;
    padding: 1.5rem 0;
    box-shadow: 0 0 50px black;
  }

  .lgnHeading {
    font-size: 1.25rem;
  }

  .lgnMessage {
    font-size: 14px;
  }

  .lgnFormControl {
    width: 92%;
    height: 42px;
    font-size: 14px;
    padding: 8px;
  }

  .lgnFormControl.lgnFormIcon {
    padding-left: 32px;
    background-size: 16px;
    background-position: 8px center;
  }

  .lgnBody {
    background-size: auto 100%;
    background-position: center center;
  }

  .lgnButton {
    width: 92%;
    font-size: 14px;
    padding: 8px 10px;
  }

  .bottomBarTextColor {
    font-size: 100%;
    letter-spacing: 1px;
  }

  .bottomLogo {
    height: 24px;
  }

  .communityLogo {
    width: 22px;
    height: 24px;
  }
}


@media (max-height: 800px) {
  .lgnContainer {
    min-height: auto;
    padding-bottom: 60px;
  }

  .lgnForm {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
  }

  .lgnHeading {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .lgnMessage {
    font-size: 16px;
    margin: 1rem 1.5rem;
  }

  .lgnFormControl {
    height: 42px;
    font-size: 16px;
    padding: 8px 10px;
  }

  .lgnFormControl.lgnFormIcon {
    padding-left: 32px;
  }

  .lgnButton {
    font-size: 18px;
    padding: 8px 14px;
    margin-top: 0.75rem;
  }

  button#ssoButton {
    margin-top: 0.3rem;
  }

  .elsLiteContainer {
    height: 10vh;
    min-height: 100px;
  }

  .bottomBar {
    max-height: 45px;
  }
}

@media (max-height: 650px) {
  .lgnContainer {
    min-height: auto;
    padding-bottom: 55px;
  }

  .lgnForm {
    margin-top: 0.75rem;
    padding: 1rem 0;
    box-shadow: 0 0 30px #0f0f0f94;
  }

  .lgnLogoForm {
    padding: 10px;
    margin-bottom: 5px;
  }

  .lgnHeading {
    font-size: 1.25rem;
    margin: 0.25rem 0;
  }

  .lgnMessage {
    font-size: 14px;
    margin: 0.75rem 1rem;
  }

  .lgnFormControl {
    height: 38px;
    font-size: 14px;
    padding: 6px 8px;
  }

  .lgnButton {
    font-size: 16px;
    padding: 6px 12px;
    margin-top: 0.5rem;
  }

  button#ssoButton {
    margin-top: 0.25rem;
  }

  .elsLiteContainer {
    height: 8vh;
    min-height: 80px;
  }

  .bottomBar {
    max-height: 40px;
  }

  .bottomBarTextColor {
    font-size: 130%;
  }

  .bottomLogo {
    height: 28px;
  }
}

@media (max-width: 1400px) and (max-height: 800px) {
  .lgnLogoForm {
    width: 35vw;
  }

  .lgnForm {
    width: 25vw;
    min-width: 320px;
    margin-top: 1.5rem;
    padding: 1.5rem 0;
  }

  .lgnFormControl {
    height: 42px;
    font-size: 15px;
  }

  .lgnButton {
    font-size: 17px;
    padding: 8px 14px;
  }

  .elsLiteImg {
    right: 5vw;
  }
}