﻿@media screen and (max-width: 600px) {
  .page-login {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    padding: 128px 32px 32px 32px;
  }
  .page-login form {
    height: 100vh;
    width: 100vw;
    margin: 128px 0 0 0;
    max-width: 600px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-self: stretch;
    box-shadow: none;
  }
  .page-login form img {
    display: none;
  }
}
.page-login {
  background-color: #808080;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page-login .forgot-password {
  margin-bottom: 1rem !important;
}
.page-login .forgot-password a {
  text-decoration: none;
  color: black;
  font-size: 0.7rem;
}
.page-login form {
  margin: 0;
  width: 448px;
  max-height: 520px;
  background: white;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  padding: 24px;
  border-radius: 4px;
  animation: fadeIn 500ms;
}
.page-login form .checkbox {
  height: 24px;
  display: flex;
  flex-direction: row;
}
.page-login form #RememberLogin {
  height: 24px !important;
}
.page-login form input {
  height: 48px;
  padding: 8px 16px 8px 16px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background-color: #e8e8e8 !important;
}
@keyframes fadeIn {
  0% {
    opacity: 0.5;
    width: 224px;
  }
  100% {
    opacity: 1;
    width: 448px;
  }
}
.page-login form label {
  font-size: 0.7em;
}
.page-login form .login-logo {
  width: 100%;
  text-align: center;
}
.page-login form .login-logo img {
  margin-top: 32px;
  margin-bottom: 32px;
  height: 120px;
}
.page-login form .permission-item {
  color: black !important;
}
.page-login form .form-control {
  box-shadow: none;
}
.page-login form .seq-title {
  width: 100%;
  text-align: center;
  user-select: none;
  font-size: 4em;
  margin-top: 16px;
  margin-bottom: 16px;
  font-family: "Raleway", sans-serif;
}
.page-login form .logo-img {
  padding: 24px;
}
.page-login form .btn-login {
  background-color: var(--color-header-background);
  color: var(--color-header-text);
  width: 60%;
  height: 36px;
  margin: 0;
  font-size: 14px !important;
}
.page-login form .btn-login:hover {
  background-color: var(--color-primary-tint);
  color: var(--color-light);
}
.page-login form .form-group {
  margin-top: 0;
  padding: 0;
}
.page-login form .remember-label {
  font-size: 0.8em;
  height: 24px;
  margin-bottom: 0;
}

.login-mobile {
  padding: 16px !important;
  width: 100vw !important;
  display: flex !important;
  align-items: stretch !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

.page-consent h4 {
  margin-top: 24px;
}

.consent-remember strong {
  padding-left: 16px;
}

.permission-line-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  flex-wrap: nowrap;
}
.permission-line-item label {
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  color: black !important;
}
.permission-line-item label .display-name {
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1em;
}
.permission-line-item label .display-required {
  font-size: 0.7em;
}
.permission-line-item label .display-description {
  font-size: 0.75em;
}

.consent-form {
  padding: 24px;
  width: 70%;
  margin: auto;
}

.consent-buttons {
  margin-top: 48px;
}

.consent-accept {
  width: 40%;
  margin-right: 9%;
}

.consent-decline {
  width: 20%;
}

.page-logout {
  text-align: center;
}
.page-logout h2 {
  margin-top: 50px;
  width: 100%;
}
.page-logout span {
  width: 100%;
}

.seq-nav {
  height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--color-header-text) !important;
  text-align: right;
  background-color: var(--color-header-background);
}
.seq-nav .logo-image {
  height: 40px;
  width: 100%;
  max-width: 200px;
  overflow: hidden;
  vertical-align: middle;
  line-height: 40px;
  background-position-x: left;
  background-position-y: center;
}
.seq-nav .logo-image > svg {
  fill: transparent;
}
.seq-nav .dropdown button {
  color: var(--color-light);
}
.seq-nav .dropdown button:hover {
  color: var(--color-light-tint);
}
.seq-nav .user-options {
  position: absolute;
  right: 1%;
}

#content-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);
}
#content-container .page {
  width: 100vw;
  height: 100vh;
}

.logout-page {
  text-align: center;
  padding: 128px;
}
.logout-page p {
  font-size: 1em;
}
.logout-page p sup {
  font-size: 0.5em;
}
.logout-page form {
  width: 100%;
  height: 100%;
}
.logout-page .post-logout-urls {
  margin-top: 64px;
}
.logout-page .post-logout-urls div {
  border: 1px solid #d9d9d9;
  padding: 16px;
  background-color: #fafafa;
  width: 100%;
  margin-bottom: 16px;
  text-align: center;
}
.logout-page .post-logout-urls div a {
  color: #000000;
  text-decoration: none;
  font-size: 1em;
  vertical-align: middle;
}
.login-error-message {
    color: darkred !important;
    font-size: 0.75rem !important;
    margin-bottom: 1rem !important;
}
.btn-login {
    width: 100% !important;
}
