html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #0F4146;
}

.wider-logo > img {
  margin: 36px 0;
  width: 250px;
}

#mobile-logo-container {
  display: none;
}

.wider-logo-user-select > img {
  margin: 30px;
}

#auth-locale-select {
  /* hide FF and WebKit default select arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  border: 1px solid #a0a7a7;
  border-radius: 10px;
  background-color: transparent;
  padding: 12px;
  color: #a0a7a7;
}

#auth-locale-select:focus {
  border-color: #757a7a;
  outline: none;
}

#auth-locale-select option {
  color: #000;
}

#auth-locale-container {
  width: 96%;
  margin: 15px;
}
/* hide IE default select arrow */
#auth-locale-select::-ms-expand {
  display: none;
}
html:not([dir]) #auth-locale-select {
  padding-right: 32px;
  width: 100%;
}
html[dir="rtl"] #auth-locale-select {
  padding-left: 32px;
  width: 100%;
}
#auth-locale-select-label:after {
  font-family: "fontello";
  content: '\e800';
  display: inline-block;
  width: 30px;
  color: #000;
  pointer-events: none; /* let the click pass trough */
}
html:not([dir]) #auth-locale-select-label:after {
  margin-left: -32px;   /* remove the :after space */
}
html[dir="rtl"] #auth-locale-select-label:after {
  margin-right: -32px;   /* remove the :after space */
}

#auth-localeSelect option {
  background-color: #EEF7F1;
}

.auth-panel {
  display: flex;
  justify-content: center;
  height: 100vh;
}

.auth-panel-card {
  border-radius: 10px;
  background: #fff;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px;
}

.auth-header {
  width: 100%;
  text-align: left;
  color: #000;
  font-family: "national2condensedbold", sans-serif;
  margin: 15px 0;
}

.auth-header h2 {
  margin-left: 15px;
}

.auth-link-box {
  display: flex;
  align-items: center;
  margin: 10px;
  text-decoration: none;
  border: 1px solid #e5efef;
  background: #e7f4eb;
  border-radius: 10px;
}
.auth-link-box:hover {
  border-color: #757a7a;
  cursor: pointer;
}

.auth-link-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
}

.auth-link-icon-container svg path {
  fill: #0f4146;
}

.auth-link-label-container {
  flex: 1;
  background: #fff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 1rem;
}

.auth-link-label {
  margin: 0 0 15px 0;
  color: #000;
  font-family: "national2condensedbold", sans-serif;
}

.auth-link-description {
  color: #0F4146;
  font-size: small;
  font-family: "fkgroteskneue", sans-serif;
}

/*-------------dtx button------------------*/
.dtx-button {
  display: inline-block;
  padding: 7px 20px 9px;
  color: #fff;
  font-size: 15px;
  text-align: center;
  border: none;
  outline: none;
  border-radius: 4px;
}

.dtx-button {
  font-size: 16px;
  line-height: 150%;
  padding: 12px 24px;
  border-radius: 15px;
  font-family: "national2condensedbold", sans-serif;
}

.dtx-button.button-primary {
  background-color: #1f4cb3;
  color: #fff;
}

.dtx-button.button-primary:hover, .dtx-button.button-primary:focus {
  background-color: #1e5edb;
}

.dtx-button:hover {
  cursor: pointer;
}

.button-bright {
  color: #0F4146;
  background: #fff;
}

.button-bright:hover {
  background: #fff;
  color: #0F4146;
  box-shadow: 0 1px 24px 0 #91F8FF;
}

.dtx-button.button-primary:disabled {
  background-color: rgba(29, 76, 105, 0.8);
}

.dtx-button.button-secondary {
  border: 1px solid #1f4cb3;
  color: #1f4cb3;
  background: #fff;
}

/*-------------Reject Button--------------*/
.dtx-button.button-reject {
  background-color: #c70808;
}

.dtx-button.button-reject:hover {
  background-color: #770303;
}

.dtx-button.button-reject:focus {
  border: solid 2px #690202;
}

.dtx-button.button-reject:disabled {
  background-color: #612929cc;
}

#message {
  margin: 0 auto;
  color: black;
  width: 90%;
}

#user-selection {
  width: 300px;
  margin-top: 70px;
  padding: 35px;
  background-color: #0F4146;
  color: #fff;
  font-size: 16px;
  text-align: center;
  -webkit-box-shadow: 0px 10px 50px 2px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 10px 50px 2px rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0px 10px 50px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 50px 2px rgba(0, 0, 0, 0.15);
  -moz-border-radius: 4px 4px 0px 0px;
  -webkit-border-radius: 4px 4px 0px 0px;
  -o-border-radius: 4px 4px 0px 0px;
  font-family: "national2condensedbold", sans-serif;
}

#user-selection .form-section {
  color: #585b5b;
  overflow: auto;
  padding: 12px;
  margin: 30px 0;
  width: 100%;
  background: url(/auth/images/select-arrow.png) no-repeat right #fff;
  -webkit-appearance: none;
  border: 1px solid #a0a7a7;
  border-radius: 10px;
}

#user-selection .form-section:focus {
  border-color: #757a7a;
  outline: none;
}

#user-selection .dtx-button {
  width: 100%;
  padding: 15px;
}

#user-selection .form-section h3 {
  font-size: 18px;
}

#user-selection.form-section h4 {
  font-size: 14px;
}

#delegation-message {
  margin: 20px auto;
  padding: 12px;
  background-color: #FFF;
  color: #0F4146;
  font-size: 12px;
  text-align: left;
  font-family: "fkgroteskneue", sans-serif;
}

#user-selection-login-attempt-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

#user-selection {
  width: 370px;
  border-radius: 15px;
  padding: 12px 24px;
}

#user-dropdown {
  border-radius: 15px;
}

#loggedin-table {
  border-collapse: collapse;
  border-radius: 10px;
  border-style: hidden;
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
  margin: 30px auto 60px;
  font-family: "fkgroteskneue", sans-serif;
}

#loggedin-table td {
  border: 2px solid #fff;
  padding: 12px 24px;
}

.auth-flexbox {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.modal-agreement {
  border-radius: 15px;
  padding: 0 !important;
  background-color: #EEF7F1;
  font-family: "national2condensedbold", sans-serif;
  color: #0F4146;
  box-shadow: 0 10px 50px 2px rgba(0, 0, 0, 0.15);
}

.modal-agreement-content {
  text-align: center;
}

.modal-agreement-content h2 {
  border-bottom: 1px solid #b5b5b5;
  padding: 12px 24px;
  text-align: left;
}

.modal-agreement-message {
  padding: 12px 24px;
}

.modal-agreement-buttons {
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 15px;
  border-top: 1px solid #b5b5b5;
  padding: 12px 24px;
}

#form-section-title {
  text-align: left;
  margin-left: 15px;
}

@media (max-width: 1024px) {
  .auth-panel-card {
    min-width: 60%;
    max-width: 65%;
  }

  .wider-logo > img {
    width: 200px;
  }
}

@media (max-width: 800px) {
  .auth-flexbox {
    flex-direction: column;
    align-items: center;
  }

  .auth-link-box {
    margin: 30px;
  }

  .wider-logo > img {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  body {
    background: #FFF;
  }

  #logo-container {
    display: none;
  }

  #mobile-logo-container {
    display: flex;
    justify-content: center;
    align-content: center;
    background: #0F4146;
  }

  .auth-header {
    text-align: center;
    margin: 10px 0;
  }

  .auth-panel {
    height: 80vh;
  }

  .auth-panel-card {
    padding: 20px 12px;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 0;
    height: 80vh;
    justify-content: start;
  }

  .auth-link-icon-container {
    width: 30%;
  }

  .auth-link-label-container {
    padding: 0.75rem;
  }

  .auth-link-description {
    font-size: 12px;
  }

  #user-selection {
    width: 90%;
    margin-top: 40px;
  }

  #loggedin-table {
    font-size: 14px;
  }

  #loggedin-table td {
    padding: 8px 12px;
  }

  .dtx-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  .modal-agreement-buttons {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .wider-logo > img {
    width: 200px;
  }

  .auth-header h2 {
    font-size: 18px;
  }

  .auth-link-box {
    flex-direction: column;
    margin: 15px;
  }

  .auth-link-icon-container {
    width: 100%;
    padding: 15px;
  }

  .auth-link-label-container {
    border-radius: 10px;
  }
}
