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

:root {
  /*
    We recommend you change these values to match your brand.
    The light color has an opacity of .1, do not modify that
    */
  --primary-brand-color: rgba(27, 152, 238, 1);
  --light-primary-brand-color: rgba(214, 238, 255, 0.1);
  --bubble-brand-color: rgba(214, 238, 255, 0.4);

  /* We recommend not changing these colors */
  --full-page-background-color: #f7f7f7;
  --application-background-color: #fff;
  --footer-color: #2d353f;
  --main-text-color: #364453;
  --sub-header-color: #909ead;
  --link-color: rgba(27, 152, 238, 1);
  --neutral-holder-color: #f3f8fc;
  --field-border-color: #f7f7f7;
}

body {
  color: var(--main-text-color);
  background-color: var(--full-page-background-color);
  font-family: "Inter", sans-serif;
  border-top: 4px solid var(--primary-brand-color);
}

body #wrapper {
  background-color: white;
  min-height: 100vh;
  max-width: 800px;
  padding: 0 5%;
}

/* 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: 14px;
  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;
}

#logo {
  padding: 24px 0 0;
}

#logo img {
  width: 120px;
  height: auto;
}

#board_title {
  margin: 0 0 16px 0;
  font-size: 22px;
  line-height: 36px;
  font-weight: 600;
}

section {
  margin-top: 24px;
}

section > h3 {
  margin-top: 0;
  padding-bottom: 16px;
  margin-bottom: 16px !important;
  border-bottom: 1px solid var(--field-border-color);
}

#logo {
  display: inline-block;
}

body #content {
  padding: 16px 24px;
  background-color: var(--neutral-holder-color);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  margin-bottom: 24px;
}

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

.level-0 {
  background-color: #fff;
  border-radius: 8px;
  padding: 0;
}

#main section .location {
  display: block;
  margin-top: -18%;
}

#main section .opening {
  padding-top: 10px;
  margin-bottom: 10px;
  padding: 16px 16px 8px;
  border-radius: 8px;
  border: 1px solid var(--field-border-color);
}

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

section .opening .location {
  color: var(--primary-brand-color) !important;
  padding: 2px 8px;
  border-radius: 16px;
  display: inline-block !important;
  width: auto;
  background-color: var(--bubble-brand-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-left: -20px;
  padding-left: 20px;
  padding-top: 12px;
  margin-top: -12px;
  position: relative;
  height: auto;
  z-index: 1;
}

section .opening a:hover {
  background-color: var(--light-primary-brand-color);
  border-radius: 3px;
  color: var(--main-text-color);
}

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

h4 {
  font-weight: 400 !important;
  font-size: 24px !important;
}

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

body #footer .privacy-policy a {
  color: #fff;
}

body #footer img {
  width: 90px;
}

.child {
  margin-left: 16px;
}

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

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

div#app_body #header {
  display: flex;
  flex-direction: column;
}

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

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: 400;
  font-size: 28px;
}

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 input#submit_app {
  background-color: var(--primary-brand-color);
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 16px;
  text-shadow: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

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

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

#content h2 {
  line-height: 2;
}

#content h3 {
  line-height: 2;
}

#content h4 {
  line-height: 2;
}

p {
  line-height: 2;
}

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

div#application {
  background-color: var(--application-background-color);
  border-top: 1px solid var(--field-border-color);
  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: #364453;
  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 #cccccc;
  height: 25px;
  padding-left: 12px;
  width: 455px;
}

@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;
}

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

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;
}

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 only screen and (max-width: 640px) {
  div#application div.field div.select2-container {
    width: 100% !important;
  }
  #apply_button {
    margin: 16px 0 !important;
    align-self: start;
    background-color: var(--primary-brand-color);
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 600;
    position: relative !important;
    width: auto;
  }
}

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;
}
