/* ==========================================================================
   _application.css - application form styles (extracted from styles.css)
   Phase 3 (see scripts/move-application-css.mjs). Loaded once in
   _document.tsx immediately after styles.css.
   ========================================================================== */

.application__content-block-container {
  width: 100%;
  max-width: 800px;
}

.application__titleContainer {
  width: 100%;
  padding-top: 20px;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

  .application__titleContainer {
    margin-bottom: 40px;
    padding-top: 40px;
  }

.application__topContainer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.application__title {
  font-family: "AvenirNext-DemiBold";
  font-size: clamp(1.25rem, 1.0558rem + 0.9709vw, 1.875rem);
  line-height: 25px;
  color: #282828;
  padding-bottom: 25px;
  font-family: "AvenirNext-Bold", "Montserrat", sans-serif;
  padding-bottom: 5px;
}

  .application__title {
    padding-bottom: 40px;
  }

  .application__title {
    padding-bottom: 10px;
  }

.application__collapse-image {
  position: absolute;
  right: 0;
  cursor: pointer;
}

  .application__collapse-image {
    width: 39px;
    height: 39px;
  }

.application__collapse-image:hover {
  -webkit-filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
  filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
}

.application__expand-image {
  position: absolute;
  right: 0;
  cursor: pointer;
}

  .application__expand-image {
    width: 39px;
    height: 39px;
  }

.application__expand-image:hover {
  -webkit-filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
  filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
}

.application__job-title {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.875rem, 0.7585rem + 0.5825vw, 1.25rem);
  line-height: 25px;
  color: #282828;
  max-width: 330px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 365px;
}

  .application__job-title {
    max-width: 670px;
  }

.application__contact-info-title {
  font-family: "AvenirNext-DemiBold";
  font-size: clamp(1.25rem, 1.0558rem + 0.9709vw, 1.875rem);
  line-height: 25px;
  color: #282828;
  padding-bottom: 25px;
}

  .application__contact-info-title {
    padding-bottom: 40px;
  }

.application__input-title {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.9375rem, 0.8404rem + 0.4854vw, 1.25rem);
  line-height: 27px;
  color: #282828;
  padding-bottom: 5px;
  padding-left: 20px;
}

  .application__input-title {
    padding-bottom: 11px;
  }

.application__input-box {
  height: 50px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  border: 1px solid #CCC;
  background-color: transparent;
  padding-left: 15px;
  margin-bottom: 25px;
  color: #282828;
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: 16px;
}

  .application__input-box {
    height: 55px;
    padding-left: 20px;
    font-size: 22px;
    padding-left: 20px;
    line-height: 30px;
  }

.application__input-box:focus, .application__input-box:hover {
  border: 2px solid #158561;
}

.application__input-wrapper--error .application__input-box {
  border: 1px solid #A63838;
  margin-bottom: 10px;
}

.application__input--department {
  visibility: hidden;
}

.application__documents-title {
  font-family: "AvenirNext-DemiBold";
  font-size: clamp(1.25rem, 1.0558rem + 0.9709vw, 1.875rem);
  line-height: 25px;
  color: #282828;
  padding-bottom: 25px;
  display: inline-table;
}

  .application__documents-title {
    padding-bottom: 40px;
  }

.application__upload-input {
  position: relative;
}

.application__file-upload {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  line-height: 20px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 75px;
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  background-color: transparent;
  outline: 1px solid #CCC;
  padding: 0 15px;
  position: relative;
  margin-bottom: 15px;
}

  .application__file-upload {
    padding: 0 25px;
  }

.application__file-upload:hover {
  outline: 2px solid #158561;
}

.application__upload-input:not(.success) .application__file-upload:hover .application__file-icon-container {
  -webkit-filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
  filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
}

.success .application__file-upload {
  outline: none;
  padding: 0 25px;
}

.success .application__file-upload:hover {
  outline: none;
}

.failed .application__file-upload {
  outline: 1px solid #A63838;
}

.application__file-upload .label_text {
  overflow: hidden;
  text-overflow: ellipsis;
  height: 20px;
  width: -webkit-calc(100% - 25px);
  width: calc(100% - 25px);
  white-space: nowrap;
}

.application__upload-button[type=file] {
  display: none;
}

.application__button {
  width: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 25px;
}

.application__policy-text {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.3125rem + 2.5vw, 1.5625rem);
  line-height: 1.36;
  color: #282828;
  padding-bottom: 20px;
  line-height: 1.4;
  display: block;
  text-align: center;
  font-size: clamp(0.75rem, 0.648rem + 0.5102vw, 1.0625rem);
  max-width: 330px;
  margin: 0 auto;
  margin-bottom: 30px;
  padding-bottom: 0;
}

  .application__policy-text {
    padding-bottom: 30px;
  }

  .application__policy-text {
    max-width: 475px;
    margin-bottom: 40px;
    line-height: 1.4;
    padding-bottom: 0;
  }

.application__policy-link {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.3125rem + 2.5vw, 1.5625rem);
  line-height: 1.36;
  color: #282828;
  padding-bottom: 20px;
  font-size: clamp(0.75rem, 0.648rem + 0.5102vw, 1.0625rem);
  padding-bottom: 0;
  outline: revert;
  color: #189970;
  text-decoration: none;
}

.application__policy-link:hover {
  text-decoration: underline;
}

  .application__policy-link {
    padding-bottom: 30px;
  }

.application__policy-link span {
  color: #158561;
  font-size: clamp(0.8125rem, 0.3125rem + 2.5vw, 1.5625rem);
}

.application__policy-link span:hover {
  text-decoration: underline;
}

.application__policy-link:hover {
  text-decoration: underline;
}

.application__section-container--short {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: none;
  position: fixed;
  bottom: 0;
  background-color: white;
  height: 105px;
  width: 100%;
  border-radius: 15px 15px 0 0;
  padding: 25px 15px 0 15px;
  -webkit-box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

  .application__section-container--short {
    height: 154px;
    padding-top: 50px;
  }

.application__content-block-container--short {
  width: 100%;
  margin-left: 15px;
  margin-right: 15px;
  max-width: 800px;
}

  .application__content-block-container--short {
    margin-left: 40px;
    margin-right: 40px;
  }

.application__section-container {
  width: 100%;
  max-width: 800px;
}

.application__cancel-button {
  border-width: 0px;
  font-size: clamp(1rem, 0.9184rem + 0.4082vw, 1.25rem);
  width: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: transparent;
  color: #282828;
  font-weight: bold;
}

  .application__cancel-button {
    height: 60px;
    line-height: 60px;
    padding: 0 30px;
    border-radius: 30px;
  }

.application__cancel-button:hover {
  background-color: #48DBAC;
  color: #282828;
}

.application__cancel-button:hover {
  background-color: transparent;
}

.application__cancel-button:hover .application__cancel-button-text {
  color: #158561;
  text-decoration: underline;
}

.application__cancel-button-text {
  font-family: "AvenirNext-DemiBold";
}

.application__contact-info-container {
  margin-bottom: 35px;
}

  .application__contact-info-container {
    margin-bottom: 45px;
  }

.application__upload-files-container {
  margin-bottom: 20px;
}

  .application__upload-files-container {
    margin-bottom: 45px;
  }

.application__delete-file {
  display: none;
  right: 10px;
  top: 10px;
  position: absolute;
}

.application__file-icon-container {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: right 10px top 10px;
}

.success .application__file-icon-container:hover {
  -webkit-filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
  filter: brightness(0) saturate(100%) invert(39%) sepia(75%) saturate(462%) hue-rotate(110deg) brightness(90%) contrast(89%);
}

  .application__file-icon-container {
    right: 15px;
  }

.failed:not(.empty) .application__file-upload .application__file-icon-container,
.success .application__file-upload .application__file-icon-container {
  background-image: none;
}

.application__error-message-container {
  display: none;
}

.application__error-message-text-container {
  margin-left: 10px;
}

.application__error-message-title {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.3125rem + 2.5vw, 1.5625rem);
  line-height: 1.36;
  color: #282828;
  padding-bottom: 20px;
  color: #A63838;
}

  .application__error-message-title {
    padding-bottom: 30px;
  }

.application__error-message-close-icon {
  margin-top: 5px;
}

.application__error-message-email-title {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.3125rem + 2.5vw, 1.5625rem);
  line-height: 1.36;
  color: #282828;
  padding-bottom: 20px;
  margin-bottom: 0px;
  padding-bottom: 0;
}

  .application__error-message-email-title {
    padding-bottom: 30px;
  }

  .application__error-message-email-title {
    padding-bottom: 0;
  }

.application__error-message-email-text {
  display: block;
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.3125rem + 2.5vw, 1.5625rem);
  line-height: 1.36;
  color: #282828;
  padding-bottom: 20px;
  color: #126E51;
  margin-bottom: 10px;
}

  .application__error-message-email-text {
    padding-bottom: 30px;
  }

.application__input-error {
  display: none;
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.7154rem + 0.4854vw, 1.25rem);
  line-height: 20px;
  color: #A63838;
  padding-left: 20px;
  margin-bottom: 25px;
}

.application__input-wrapper--error .application__input-error {
  display: block;
}

.application__status-text {
  font-family: "AvenirNext-Regular", "-apple-system", "BlinkMacSystemFont", "Roboto", "Segoe UI", "Helvetica Neue", "Open Sans", sans-serif;
  font-size: clamp(0.8125rem, 0.7154rem + 0.4854vw, 1.25rem);
  line-height: 20px;
  color: #A63838;
  padding-left: 15px;
  margin-bottom: 25px;
  display: none;
}

.application__upload-status--error .application__status-text {
  display: block;
}

.failed .application__delete-file,
.success .application__delete-file {
  display: block;
}

.empty .application__delete-file {
  display: none;
}

.application__checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  display: none;
  width: 22px;
  height: 22px;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.success .application__checkmark {
  display: inline-block;
}

.application__checkmark--stem {
  position: absolute;
  width: 3px;
  height: 13px;
  background-color: #158561;
  left: 11px;
  top: 3px;
}

.application__checkmark--kick {
  position: absolute;
  width: 9px;
  height: 3px;
  background-color: #158561;
  left: 5px;
  top: 15px;
}

/* ---- responsive ---- */
@media only screen and (min-width: 768px) {
    .application__titleContainer {
      margin-bottom: 40px;
      padding-top: 40px;
    }
}
@media only screen and (min-width: 768px) {
    .application__title {
      padding-bottom: 40px;
    }
}
@media only screen and (min-width: 768px) {
    .application__title {
      padding-bottom: 10px;
    }
}
@media only screen and (min-width: 768px) {
    .application__collapse-image {
      width: 39px;
      height: 39px;
    }
}
@media only screen and (min-width: 768px) {
    .application__expand-image {
      width: 39px;
      height: 39px;
    }
}
@media only screen and (min-width: 768px) {
    .application__job-title {
      max-width: 670px;
    }
}
@media only screen and (min-width: 768px) {
    .application__contact-info-title {
      padding-bottom: 40px;
    }
}
@media only screen and (min-width: 768px) {
    .application__input-title {
      padding-bottom: 11px;
    }
}
@media only screen and (min-width: 768px) {
    .application__input-box {
      height: 55px;
      padding-left: 20px;
      font-size: 22px;
      padding-left: 20px;
      line-height: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .application__documents-title {
      padding-bottom: 40px;
    }
}
@media only screen and (min-width: 768px) {
    .application__file-upload {
      padding: 0 25px;
    }
}
@media only screen and (min-width: 768px) {
    .application__policy-text {
      padding-bottom: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .application__policy-text {
      max-width: 475px;
      margin-bottom: 40px;
      line-height: 1.4;
      padding-bottom: 0;
    }
}
@media only screen and (min-width: 768px) {
    .application__policy-link {
      padding-bottom: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .application__section-container--short {
      height: 154px;
      padding-top: 50px;
    }
}
@media only screen and (min-width: 550px) {
    .application__content-block-container--short {
      margin-left: 40px;
      margin-right: 40px;
    }
}
@media only screen and (min-width: 1300px) {
    .application__cancel-button {
      height: 60px;
      line-height: 60px;
      padding: 0 30px;
      border-radius: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .application__contact-info-container {
      margin-bottom: 45px;
    }
}
@media only screen and (min-width: 768px) {
    .application__upload-files-container {
      margin-bottom: 45px;
    }
}
@media only screen and (min-width: 768px) {
    .application__file-icon-container {
      right: 15px;
    }
}
@media only screen and (min-width: 768px) {
    .application__error-message-title {
      padding-bottom: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .application__error-message-email-title {
      padding-bottom: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .application__error-message-email-title {
      padding-bottom: 0;
    }
}
@media only screen and (min-width: 768px) {
    .application__error-message-email-text {
      padding-bottom: 30px;
    }
}
