/* Landing and login page styles. This file is loaded only by index.php. */
.home-wrapper {
  padding-top: 10px;
}

.home-error-message {
  background: #ffd5cf;
  text-align: center;
}

.home-login-panel {
  padding: 6px;
}

.login-intro {
  padding-top: 50px;
  background: none;
}

.login-form-row {
  background: none;
}

.login-fields {
  width: 330px;
  height: 28px;
  margin: auto;
  padding: 0 10px;
  border: 1px solid lightgrey;
  border-radius: 8px;
  line-height: 28px;
}

.login-field--username {
  float: left;
  width: 50%;
}

.login-field--password {
  float: right;
  width: 50%;
}

.login-fields input {
  width: 100%;
  padding: 0;
  border: none;
  line-height: 28px;
}

.login-actions-row {
  margin-bottom: 26px;
}

.login-actions {
  width: 190px;
  margin: auto;
}

.login-remember {
  display: block;
  margin-bottom: 10px;
}

.login-action-button {
  padding: 2px;
  border-radius: 6px;
}

.login-submit {
  width: 85px;
}

.login-register {
  width: 95px;
  background-color: darkgreen;
}

.login-forgot-wrap {
  margin-top: 10px;
}

.login-field-label,
.login-show-password {
  display: none;
}

.login-hero,
.sq_item--image {
  height: 450px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font-size: 56px;
  font-weight: 900;
  line-height: 750px;
  text-align: center;
  text-shadow: -1px -1px 0 #666, 1px -1px 0 #666, -1px 1px 0 #666, 1px 1px 0 #666;
}

.login-hero {
  background-image: url("/images/background_005.png");
  border-radius: 6px;
}

.home-feature-copy {
  font-size: 1.4em;
  text-align: center;
}

.home-feature-copy--work {
  padding-top: 226px;
  padding-bottom: 116px;
}

.home-feature-copy--retailers {
  padding-top: 56px;
  padding-bottom: 56px;
}

.home-digital-mall {
  height: 450px;
  background: #f3f3f4;
  color: #7b8b6c;
  font-size: 49px;
  line-height: 450px;
  text-align: center;
}

.sq_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.sq_item {
  width: 433px;
  min-width: 300px;
  height: 450px;
  flex-grow: 2;
}

.sq_item_content {
  font-size: 1.4em;
  text-align: center;
}

.sq_item h1 {
  padding: 12px;
  padding-top: 126px;
  font-weight: 900;
}

.s-1 {
  background: #d7f7f5;
}

.s-2 {
  background-image: url("/images/bg_qt_012.png");
}

.s-3 {
  background-image: url("/images/bg_qt_009.png");
}

.s-4 {
  background: #f3f9fb;
}

.s-5 {
  background: #fceaea;
}

.s-6 {
  background-image: url("/images/bg_qt_008.png");
}

.home-shop-copy {
  padding: 26px;
}

@media (max-width: 980px) {
  .s-1 { order: 2; }
  .s-2 { order: 1; }
  .s-3 { order: 3; }
  .s-4 { order: 4; }
  .s-5 { order: 6; }
  .s-6 { order: 5; }
}

@media (max-width: 768px) {
  .login-fields {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 330px;
    height: auto !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .login-fields .login-field {
    float: none !important;
    width: 100% !important;
    margin-bottom: 14px;
  }

  .login-field-label {
    display: block;
    margin-bottom: 5px;
    color: #27354c;
    font-size: 16px;
    line-height: 1.4;
  }

  .login-fields input {
    box-sizing: border-box;
    width: 100% !important;
    height: 48px;
    padding: 10px 12px !important;
    border: 1px solid #cbd3df !important;
    border-radius: 8px !important;
    font-size: 16px;
    line-height: normal !important;
  }

  .login-fields input:focus {
    outline: 2px solid #395fce;
    outline-offset: 1px;
  }

  .login-intro {
    padding-top: 24px !important;
  }

  .login-password-wrap {
    position: relative;
  }

  .login-fields #login-password {
    padding-right: 76px !important;
  }

  .login-show-password {
    position: absolute;
    top: 4px;
    right: 4px;
    display: block;
    height: 40px;
    min-width: 64px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: #eef2f7;
    color: #27354c;
    font-size: 14px;
    cursor: pointer;
  }

  .login-actions {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 330px;
    padding: 0 12px;
  }

  .login-actions .login-remember {
    display: flex !important;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px !important;
    font-size: 16px;
    cursor: pointer;
  }

  .login-remember input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
  }

  .login-actions input[type="submit"] {
    display: block;
    width: 100% !important;
    min-height: 48px;
    margin-bottom: 10px;
    padding: 12px !important;
    font-size: 16px;
    font-weight: 600;
  }

  .login-actions .login-forgot {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .login-hero {
    height: 180px !important;
    line-height: normal !important;
  }
}
