/* Import a custom font from Google Fonts */
@import url();

/* Define custom CSS variables for colors */
:root {
    /* Primary brand colors - can be customized for your brand */
    --primary-brand-color: #d97757;
    --light-primary-brand-color: #f0efea;

    /* Default colors - not recommended to change */
    --full-page-background-color: #fafaf8;
    --application-background-color: #fafaf8;
    --footer-color: #f0efea;
    --main-text-color: #d97757;
    --sub-header-color: #141413;
    --link-color: #d97757;
    --field-border-color: #a3a299;
}

/* Set the background color and font for the entire page */
body {
    background-color: var(--full-page-background-color);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #141413;
}

/* Set the background color, width, and padding for the main content container */
body #wrapper {
    min-height: 100vh;
    max-width: 880px;
    padding: 0 48px;
}

/* Style the select boxes */
#main .select2-choice {
    height: 35px;
}

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

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

/* Style the filter labels */
#main .filter-label {
    color: var(--sub-header-color);
    font-size: 1em;
    font-weight: 600;
}

/* Style the job locations */
#main .location {
    font-size: 1em;
    color: var(--sub-header-color);
}

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

/* Style the board title */
#board_title {
    margin: 0 0 0.6em 0;
    font-size: 1.6em;
    line-height: 1em;
    font-weight: 400;
}

/* Add margin for sections */
section {
    margin-top: 16px;
}

/* Add margin for section headings */
section > h3 {
    margin-top: 32px;
}

h3.pt4 {
    font-size: 1em;
    font-weight: 400;
    margin: 0;
}

.accessible #custom_fields div.field {
    line-height: 1.5em;
}

/* Style the logo container */
#logo {
    display: inline-block;
}

/* Style the main content container */
body #content {
    font-size: 1em;
    font-weight: 400;
    line-height: 1em;
}

.accessible #content {
    line-height: 1.5em;
    margin-bottom: 1em;
}
.accessible .filter-container {
    margin-bottom: 1.25em;
}

#content h2 {
    margin: 1em 0 0.5em 0;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1em;
}

/* Style the main section headings */
#main section h3 {
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1em;
    border-top: 1px solid var(--field-border-color);
    margin-bottom: 0;
    padding-top: 0.65em;
    margin-top: 0.5em;
}

/* Style the main section job locations */
#main section .location {
    display: block;
    margin-top: -24px;
}

/* Style the job openings container */
#main section .opening {
    margin: 1.4em 0 1em 0;
}

/* Style the clickable area and background area of the job opening links */
section .opening a {
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1em;
    color: var(--main-text-color);
    display: block;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0.6em;
    padding-top: 12px;
    position: relative;
    z-index: 1;
}

/* Style the job opening links when hovered */
section .opening a:hover {
    background-color: none;
    border-radius: none;
    color: var(--main-text-color);
    text-decoration: none;
}

/* Style the footer of the page */
body #footer {
    border: none;
    background-color: var(--footer-color);
    height: 60px;
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Style the privacy policy text in the footer */
body #footer .privacy-policy {
    line-height: 19px;
}

/* Style the image in the footer */
body #footer img {
    width: 90px;
}

/* Style the filter count element */
h3#filter-count {
    margin-top: 30px;
    margin-bottom: 0;
}

/* Job Post Page */

/* Style the main app body container */
div#main div#app_body {
    padding-left: 0 !important;
    padding-right: 0;
}

/* Style the header section within the main app body */
div#app_body #header {
    display: flex;
    flex-direction: column;
}

/* Style the apply button within the header */
div#app_body #header #apply_button {
    order: 3;
    margin-top: 45px;
}

/* Hide the company name within the header */
div#app_body #header .company-name {
    display: none;
}

/* Style the header elements, defining their display order */
div#app_body #header > a {
    order: 1;
}

/* Set the order of the app-title element within the header */
div#app_body #header .app-title {
    order: 2;
    padding-right: 100px;
}

/* Set the order of the location element within the header and add a top margin */
div#app_body #header .location {
    order: 4;
    margin-top: 2px;
}

/* Style the heading element in the application form */
div#main #application_form h2.heading {
    color: var(--main-text-color);
    font-weight: 400;
}

/* Style the app title within the main app body */
div#app_body .app-title {
    font-weight: 600;
    font-size: 1.8em;
    line-height: 1.2em;
    margin-bottom: 2px;
}

/* Style the apply button within the header */
div#app_body div#header #apply_button {
    top: auto;
}

/* Style the submit application button */
div#app_body div#header #apply_button,
div#submit_buttons input#submit_app {
    background-color: var(--primary-brand-color);
    font-weight: 600;
    text-shadow: none;
    padding: 1em 1.2em;
    border-radius: 8px;
    color: white;
}

/* Style the main app body container */
div#app_body {
    max-width: none;
    padding-right: 20px;
}

/* Add padding to the bottom of the content container */
div#content {
    padding-bottom: 16px;
}

/* Hide the last horizontal rule in the application container */
div#application hr:nth-last-of-type(1) {
    display: none;
}

/* Style the application container */
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;
}

/* Style the main and custom fields in the application form */
div#main_fields,
div#custom_fields {
    font-weight: 400;
    line-height: 26px;
}

/* Style the field labels in the application form */
div#application div.field label {
    color: var(--sub-header-color);
    display: block;
    float: none;
    font-size: 1em;
    font-weight: 400;
    text-align: left;
}

/* Style the asterisk symbol in the field labels */
div#application div.field label span.asterisk {
    font-size: 12px;
}

/* Remove left margin from textarea elements in main fields */
div#application #main_fields div.field textarea {
    margin-left: 0;
}

/* Style text input fields in the application form */
div#application div.field input[type="text"] {
    border: solid 1px var(--field-border-color);
    height: 25px;
    padding-left: 12px;
    width: 455px;
}

/* Adjust the width of text input fields on smaller screens */
@media (max-width: 640px) {
    div#application div.field input[type="text"] {
        width: 100%;
    }
}

/* Style the input fields with "MM" and "YYYY" placeholders */
div#application div.field input[placeholder="MM"] {
    padding-left: 10px;
}

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

/* Remove the float property from legend elements */
div#application legend {
    float: none;
}

/* Style the links within the link-container */
div.link-container a {
    color: var(--link-color);
    font-size: 1em;
}

/* Remove left margin from the "add education" link in the application */
div#application a#add_education {
    margin-left: 0;
}

/* Add bottom margin to the field container */
div#field {
    margin-bottom: 10px;
}

/* Remove left padding from the field error message */
#main_fields div.field div.field-error-msg {
    padding-left: 0;
}

/* Add top padding to the message container */
div.field div.msg-container {
    padding-top: 5px;
}

/* Remove top margin from the select2-container within the application form */
#application .field .select2-container {
    margin-top: 0;
}

/* Display the "locate me" link as a block element */
div#application div.field a.locate-me {
    display: block;
}

/* Style the textarea fields in the application form */
div#application div.field textarea {
    border-color: var(--field-border-color);
    width: 455px;
}

/* Adjust the width of textarea fields on smaller screens */
@media (max-width: 640px) {
    div#application div.field textarea {
        width: 100%;
    }
}

/* Set the width of the select2-container in the application form */
div#application div.field div.select2-container {
    width: 455px !important;
}

/* Adjust the width of the select2-container on smaller screens */
@media (max-width: 640px) {
    div#application div.field div.select2-container {
        width: 100% !important;
    }
}

/* Hide the S3 upload form */
div.s3-upload-form {
    display: none;
}

/* Style the "view more" element on the confirmation page */
#main #view-more {
    text-align: left;
    padding-top: 0;
}

/* Style the links within strong elements on the main container */
#main strong > a {
    color: var(--link-color);
    font-weight: 400;
}

strong,
h1,
h2,
h3,
h4,
h5 {
    font-weight: 600;
}
