body {
  /*
    You can replace the PNG file below with any PNG file in the patterns
    folder, or you can remove this line completely if you wish to have
    a solid color background
  */
  background-image: url('/oneLogin/loginRC/rc/images/patterns/diamonds-dark.png');
  
  /* 
    The background-color specified below will be replaced
    by the pageBackground slot if it exists
  */
  background-color: #0b2643;
  
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.station-name {
  color: #55634e;
  font-size: 28px;
}

.content-container {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.main-content {
  margin-top: 7vh;
  height: 80vh;
  width: 80%;
  max-width: 1100px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  background: #F9FAFF;
  border-radius: 10px;
  box-shadow: 0px 5px 60px 0px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #55634e;
  overflow: hidden;
}

.logo-container {
  position: relative;
  overflow: hidden;
  width: 395px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.background {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-size: cover;
  background-position: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.logo-content {
  width: 100%;
  z-index: 2;
}

.logo-content h2 {
  font-weight: 500;
  text-align: center;
  font-family: 'Baloo Paaji 2', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.logo-content > .logo {
  margin: 2rem 2.5rem;
  height: 100px;
  background-size: contain;
  background-position: center;
  background-image: url("/login/logo");
  background-repeat: no-repeat;
}

.card {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.card-content {
  padding: 15px 35px;
  background-color: #ffffff;
  max-width: 400px;
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
  --animate-delay: 0.2s;
}

.welcome-message {
  font-weight: 400;
  color: rgba(81, 90, 110, 0.7);
  font-size: 14px;
  font-family: 'Baloo Paaji 2', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.login-title {
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 22px;
  font-family: 'Baloo Paaji 2', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 15px;
}

.form .field-label {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(81, 90, 110, 0.7);
  margin-bottom: 8px;
  font-family: 'Baloo Paaji 2', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.input-container {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.form .field-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  animation: fadeIn;
  animation-duration: .3s;
  animation-fill-mode: forwards;
}

.form .field-wrap.hide {
  animation: fadeOut;
  animation-duration: .3s;
  animation-fill-mode: forwards;
}

.form .field-wrap.hidden {
  display: none;
}

.form input[type=text],
.form input[type=password] {
  font-size: 14px;
  border: 1px solid #e9eaec;
  transition: border 0.6s ease;
  padding: 14px 18px;
  min-height: 36px;
  outline: none;
  border-radius: 4px;
  margin-bottom: 10px;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.form input[type=text]::placeholder,
.form input[type=password]::placeholder {
  font-size: 13px;
  color: rgba(81, 90, 110, 0.4);
}

.form input[type=text]:hover,
.form input[type=text]:focus,
.form input[type=password]:hover,
.form input[type=password]:focus {
  border: 1px solid #2D8CF0;
  outline: none;
}

.form .submit {
  text-align: left;
}

.form button[type=submit] {
  -webkit-appearance: none;
  margin-top: 15px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Baloo Paaji 2', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  padding: 4px 18px;
  border-radius: 4px;
  color: #ffffff;
  outline: none;
  background-color: transparent;
  transition: opacity 0.5s ease;
  font-weight: bold;
  cursor: pointer;
}

.form button[type=submit]:hover,
.form button[type=submit]:focus {
  /* background-color: #57a3f3; */
  opacity: 0.8;
  outline: none;
}

.failure {
  display: none;
  color: #ed4014;
  margin-bottom: 0.8rem;
  font-family: 'Baloo Paaji 2', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  text-align: center;
  font-weight: 500;
}

.failure li {
  text-align: left;
}

.failure.visible {
  display: block;
}

#password-container.success {
  color: #19be6b;
}

.match-error {
  color: #ed4014;
  display: none;
  margin-bottom: 10px;
}

.match-error.visible {
  display: block;
}

.match-error.success {
  color: #19be6b;
}

.failure li {
  color: #ed4014;
}

.failure li.success {
  color: #19be6b;
}

.eula {
  position: relative;
  font-size: 12px;
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: left;
  color: rgba(78, 84, 99, 0.5);
}

.eula-content {
  position: relative;
  z-index: 3;
}

.eula a {
  color: rgba(78, 84, 99, 0.7);
  text-decoration: none;
  transition: color 0.5s ease;
}
.eula a:hover {
  text-decoration: underline;
}

.icp-footer {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.icp-footer a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.icp-footer a:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

@media (max-width: 575px) {
  .content-container {
    height: auto;
  }
  .main-content {
    width: 100vw;
    margin-top: 5vh;
    height: auto;
    min-height: 95vh;
    flex-direction: column;
    border-radius: 0px;
    overflow: visible;
  }
  .logo-container {
    width: 100%;
    overflow: visible;
  }
  .logo-content > .logo {
    margin: 1rem 1.5rem;
    height: 75px;
  }
  .card {
    width: 100%;
    overflow: visible;
    flex-grow: 0;
  }
  .card-content {
    background-color: transparent;
    box-shadow: none;
    padding: 15px 20px;
  }
  .form > .logo {
    margin: 1rem 2.2rem;
    height: 75px;
  }
  .login-title {
    margin-bottom: 0px;
  }
  .form input[type=submit] {
    width: 100%;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}