@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap");

:root {
  --primary-brand-color: rgba(102, 25, 208, 1);
  --light-primary-brand-color: rgba(0, 191, 203, 1);

  --full-page-background-color: transparent;
  --application-background-color: transparent;
  --footer-color: #f3f3f3;
  --main-text-color: #fbfafb;
  --sub-header-color: #fbfafb;
  --location-color: #fbfafb;
  --link-color: rgb(200, 168, 245);
  --field-border-color: #6619d0;
  --purple-500: #6619d0;
  --purple-500-hover: rgb(177, 131, 240);
  --base-100: #1a1225;
  --base-200: #261e30;
}

body {
  background-color: var(--base-100);
  font-family: "Open Sans", "sans-serif";
}

body #wrapper {
  background-color: var(--base-200);
  min-height: 100vh;
  max-width: 800px;
  padding: 0 5vw;
}

@media only screen and (min-width: 800px) {
  body #wrapper {
    padding: 0 70px !important;
  }
}

#main .level-0,
#main .level-0 h3 {
  margin-top: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#main {
  padding: 0px !important;
}

#main h3 {
  color: #fbfafb;
  font-weight: bold;
}

/* Select Boxes */
#main .select2-choice {
  height: 35px;
}

#main .select2-chosen {
  line-height: 35px;
}

#main .select2-arrow {
  padding-top: 4px;
  padding-right: 4px;
}

#main .filter-label {
  color: var(--sub-header-color);
  font-size: 12px;
  font-weight: 600;
}

#main .location {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--sub-header-color);
}

/* Job Board Page */
#main > h1:not(.app-title) {
  /* Hide the company name in favor of a Logo that includes it */
  display: none;
}

#main h1 {
  display: none;
}

/* hides the blank content on the main job board page, but allows on job description */
div#embedded_job_board_wrapper > #content {
  display: none;
}

#main > #app_body > #content {
  color: #eaeaea;
}

#main > #app_body > #content strong {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  color: #00becb;
}

#board_title {
  display: none;
}

section {
  margin-top: 16px;
}

section > h3 {
  margin-top: 32px;
}

#logo {
  display: none;
}

body #content {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

#main section h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 0;
}

#main section .location {
  display: block;
  margin-top: -24px;
  position: relative;
  pointer-events: none;
  z-index: 5;
  color: var(--footer-color);
  margin-block: -26px;
  padding-bottom: 37px;
}

#main section .opening {
  padding-top: 10px;
  margin-bottom: 10px;
}

section .opening a {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--main-text-color);
}

section .opening a {
  /* We want to increase the click area and background area of links to jobs,
    so we combine padding and negative margin */
  display: block;
  height: 44px;
  width: 100%;
  margin-bottom: -20px;
  padding-bottom: 0;
  margin-left: -20px;
  padding-left: 20px;
  padding-top: 12px;
  margin-top: -12px;
  position: relative;
  z-index: 1;
  background: #6619d0;
  border-radius: 10px;
  color: #fbfafb;
}

section .opening a:hover {
  background: rgb(177 131 240 / 55%);
  text-decoration: none;
}

body #footer {
  border: none;
  background-color: var(--footer-color);
  height: 60px;
  margin-top: -80px;
  padding-top: 10px;
  padding-bottom: 10px;
}

body #footer .privacy-policy {
  line-height: 19px;
}

body #footer img {
  width: 90px;
}

h3#filter-count {
  margin-top: 30px;
  margin-bottom: 0;
}

/* Job Post Page */
div#main div#app_body {
  padding-left: 0 !important;
  padding-right: 0;
  padding-block: 0rem;
}

div#app_body #header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 0px;
}

div#eeoc_fields {
  color: white;
}

div#app_body #header #apply_button {
  order: 3;
  margin-top: 37px;
}

#main .select2-container .select2-choice {
  height: 32px;
}

div#app_body #header .company-name {
  display: none;
}

div#app_body #header > a {
  order: 1;
}

div#app_body #header .app-title {
  order: 2;
}

div#app_body #header .location {
  order: 4;
  margin-top: 2px;
}

div#main #application_form h2.heading {
  color: var(--main-text-color);
  font-weight: 400;
}

div#app_body .app-title {
  font-weight: 700;
  letter-spacing: 0.05rem;
  font-size: min(1vw + 18px, 2.2rem);
  color: #ffffff;
  display: block;
}

#app_body .logo-container {
  display: none !important;
}

#main #app_body #header > .location {
  font-size: 1.2rem;
  letter-spacing: normal;
  color: #e8e8e8;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  #main #app_body #main_fields div.field label,
  #eeoc_fields div.field label {
    width: auto !important;
  }
}

@media only screen and (min-width: 600px) {
  div#app_body .app-title::before {
    content: "> ";
    color: #00bfcb;
  }

  div#app_body .app-title::after {
    content: " <";
    color: #00bfcb;
  }

  #main #app_body #header > .location::before {
    content: "::...";
    color: #00bdc9;
    padding-left: 0px;
  }

  #main #app_body #header > .location::after {
    content: "...::";
    color: #00bdc9;
    padding-left: 0px;
  }
}

div#app_body div#header #apply_button {
  top: auto;
  background-color: var(--primary-brand-color);
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: 600;
}

div#submit_buttons {
  text-align: center;
  padding-block: 2rem;
}
div#submit_buttons input#submit_app {
  background-color: var(--primary-brand-color);
  font-family: "Open Sans", "sans-serif";
  font-weight: 600;
  margin: 0 auto;
}

div#app_body {
  max-width: none;
  padding-right: 20px;
}

div#content {
  padding-bottom: 16px;
}

div#application hr:nth-last-of-type(1) {
  display: none;
}

div#application {
  background-color: transparent;
  border-top: 1px solid #544667;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

div#main_fields,
div#custom_fields {
  font-weight: 400;
  line-height: 26px;
}

div#application div.field label {
  color: var(--sub-header-color);
  display: block;
  float: none;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}

div#application div.field label span.asterisk {
  font-size: 12px;
}

div#application #main_fields div.field textarea {
  margin-left: 0;
}

div#application div.field input[type="text"] {
  border: solid 1px var(--field-border-color);
  height: auto;
  padding-left: 12px;
  max-width: 455px;
  width: 100%;
}

@media (max-width: 640px) {
  div#application div.field input[type="text"] {
    width: 100%;
  }
}

div#application div.field input[placeholder="MM"] {
  padding-left: 10px;
}

div#application div.field input[placeholder="YYYY"] {
  padding-left: 7px;
}

div#application legend {
  float: none;
}

#app_body .c-link {
  color: #c399ff;
}

div.link-container a {
  color: var(--link-color);
  font-size: 14px;
}

#main .attach-or-paste .unstyled-button.link-button {
  color: #0942b0;
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--field-border-color);
  color: var(--location-color);
}

div#application a#add_education {
  margin-left: 0;
}

div#field {
  margin-bottom: 10px;
}

#main_fields div.field div.field-error-msg {
  padding-left: 0;
}

div.field div.msg-container {
  padding-top: 5px;
}

#application .field .select2-container {
  margin-top: 0;
}

div#application div.field a.locate-me {
  display: block;
}

#main #application div.required-fields {
  float: right;
  font-size: 12px;
  color: #f13636;
}

div#application div.field textarea {
  border-color: var(--field-border-color);
  width: 455px;
}

@media (max-width: 640px) {
  div#application div.field textarea {
    width: 100%;
  }
}

div#application div.field div.select2-container {
  width: 455px !important;
}

@media (max-width: 640px) {
  div#application div.field div.select2-container {
    width: 100% !important;
  }
}

div.s3-upload-form {
  display: none;
}

/* Confirmation Page */
#main #view-more {
  text-align: left;
  padding-top: 0;
}

#main strong > a {
  color: var(--link-color);
  font-weight: 400;
}
