: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(0, 0, 0, 1);
    --light-primary-brand-color: rgba(0, 0, 0, .1);

    /* We recommend not changing these colors */
    --full-page-background-color: #FFF;
    --application-background-color: #FFF;
    --footer-color: #F3F3F3;
    --main-text-color: #000000;
    --sub-header-color: #666666;
    --link-color: #0F4196;
    --field-border-color: #B2B2B2;
}

body {
    background-color: var(--full-page-background-color);
    font-family: MessinaSans,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;
    line-height: 1.75em;
}

body #wrapper {
    background-color: white;
    min-height: 100vh;
    max-width: 800px;
    padding: 0 !important;
    margin-left: 0;
}

#embedded_job_board_wrapper {
    padding: 0 !important;
}

@media (max-width: 768px) {
    body #wrapper {
        padding: 0 0 !important;
    }
}

/* Select Boxes */
#main select {
    font-family: MessinaSans,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;
    border-color: var(--field-border-color);
    padding: 6px;
    border-radius: 3px;
}

#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 {
    color: var(--sub-header-color);
}

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

h1, h2 {
    font-family: MessinaModern,Georgia,Times,Times New Roman,serif;
}

h2, h3, h4 {
    margin: 2em 0 1em 0;
}


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

section {
    margin-top: 16px;
}

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

#logo {
    display: inline-block;
}

body #content {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em !important;
}

#main section h3 {
    font-weight: 700;
    margin-bottom: 0.5em;
}

#main section .location {
    display: block;
    margin-top: -24px;
}

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

section .opening a {
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    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: 48px;
    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;
    transition: 0.2s;
}

@media (max-width: 640px) {
    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: inline;
        height: auto;
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
        margin-left: 0;
        padding-left: 0;
        padding-top: 0;
        margin-top: 0;
        position: relative;
        z-index: 1;
        transition: 0.2s;
    }

    section .opening a:hover {
        background-color: none;
    }

    #main section .location {
        margin-top: 0.25em;
    }
}



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

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: 0.5em;
}

div#main #application_form h2.heading {
    font-weight: 400;
}

div#app_body .app-title {
    font-weight: 200;
    font-size: 32px;
    line-height: 1.15em;
}

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

.attach-or-paste .unstyled-button {
    font-family: MessinaSans,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;
    background-color: transparent;
}

@media (max-width: 640px) {
    div#app_body div#header #apply_button {
        display: none;
    }
}

div#submit_buttons input#submit_app {
    background-color: var(--primary-brand-color);
    padding-top: 16px;
    padding-bottom: 16px;
    text-shadow: none;
}

#submit_app, #apply_button {
    border-radius: 0px !important;
}

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

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

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#main_fields div.field label, div#application div#custom_fields div.field label {
    display: block;
    float: none;
    font-weight: 400;
    text-align: left;
}

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

div#application div.field label p {
    margin:0;
}

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

div#application div.field input[type=text] {
    border: solid 1px var(--field-border-color);
    padding-left: 6px;
    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);
}

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