/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#gh-application-container {
    background-color: #efefef;
    padding: 40px 0;
    font-family: "mallorybook" !important;
}
#gh-application-container label,
#gh-application-container .required-fields,
#gh-application-container .form-control,
#gh-application-container input,
.checkbox-item {
    font-family: "mallorybook" !important;
}
#gh-application-container h2.heading {
    color: #292929;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 2rem;
}
#gh-application-container .required-fields {
    color: #292929 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    margin-bottom: 20px;
    margin-top: 25px;
}
#gh-application-container .asterisk {
    background: #db2a3a;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    font-size: 0;
    display: inline-block;
    margin-left: 5px;
    line-height: 30px;
}
#gh-application-container label.error {
    font-size: 16px;
    color: #db2a3a;
    line-height: 30px;
    font-size: 14px;
    margin-top: 0.2rem;
}
#resume_field .form-group {
    position: relative;
}
#gh-application-container .form-check {
    margin-bottom: 2rem;
}
#gh-application-container label#resume-error {
    position: absolute;
    left: 0;
    bottom: -37px;
}
#gh-application-container label#agree-error {
    position: absolute;
    left: auto;
    bottom: -34px;
}
#gh-application-container label.error::before {
    background: url("../images/error-icon.svg");
    content: "";
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -1.5px;
    display: inline-block;
}
#gh-application-container .gh-custom-notice-frontend {
    margin: 5px 0 15px;
}
#gh-application-container .form-check label.error {
    position: absolute;
    bottom: -35px;
    left: -1px;
}
#gh-application-container input[type="text"].error,
#gh-application-container select.error {
    border: solid 1px #db2a3a !important;
}
.gh-form-error {
    color: #c00;
    margin-top: 20px;
    text-align: center;
}
.gh-form-error p {
    margin: 0;
}
#gh-application-container.application-received h2,
#gh-application-container.application-received p {
    margin-bottom: 0.5em;
}
#gh-application-container.application-received p:last-child {
    margin-bottom: 0;
}
.gh-overflow-hidden {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}
.gh-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 999;
    cursor: auto;
}
.gh-loader {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    z-index: 9999;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#gh-application-container .locate-me {
    font-size: 12px;
    font-weight: 600;
}
.apply-with-linkedin {
    float: right;
    text-align: center;
}
#sign-in-with-linkedin-btn {
    display: block;
    background-image: url("../images/Sign-In-Small---Default.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    height: 28px;
}
#sign-in-with-linkedin-btn:hover {
    cursor: pointer;
    background-image: url("../images/Sign-In-Small---Hover.png");
}
.autofill-text {
    font-size: 13px;
}
.gh-application-spinner {
    display: none;
    position: absolute;
    margin: 13px 0 0 6px;
}
@media screen and (max-width: 767px) {
    .agree-row .checkbox-item.text-center {
        text-align: left !important;
    }
    #gh-application-container label#agree-error {
        left: 0;
    }
    #gh-application-container .bottom-apply {
        width: auto;
        float: none;
        margin-bottom: 0 !important;
    }
    .apply-with-linkedin {
        float: left;
    }
    #gh-application-container label#resume-error {
        position: inherit;
    }
}
@media (max-width: 480px) {
    #gh-application-container {
        padding: 30px 0;
    }
}

.select2.select2-container.select2-container--default {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-family: "mallorybook" !important;
}
.select2.select2-container.select2-container--default span {
    font-family: "mallorybook" !important;
}
.select2.select2-container.select2-container--default
    .select2-selection--single {
    border: 0;
    height: auto !important;
}
.select2.select2-container.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: inherit;
    padding-left: 0;
}
.select2.select2-container.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 100%;
    right: 5px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #000 transparent transparent transparent;
}
.select2.select2-container.select2-container--below.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #000 transparent;
}
.select2-container--open .select2-dropdown {
    margin-top: 10px;
    width: 300px !important;
    box-shadow: rgb(0 0 0 / 20%) 0px 1px 3px 1px;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #ced4da;
}
.select2-search--dropdown {
    padding: 12px 12px;
}
.select2-results__option {
    display: flex;
    align-items: baseline;
    padding: 12px 16px;
}
.select2-results__option span {
    display: inline-block;
}
.select2-results__option .flag-icon {
    width: 16px;
    height: auto;
    margin-right: 10px;
}
.select2-results__option .flag-text {
    font-size: 14px;
}
.select2-results__option.select2-results__message {
    font-size: 14px;
}
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: rgb(244, 248, 254);
    color: #000;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    background-color: #ffffff;
}
.select2-container--default
    .select2-search--dropdown
    .select2-search__field::placeholder {
    color: #6c757d !important;
    font-size: 14px;
}
.select2-container--default .select2-results__option--selected {
    background-color: #e6e6e6;
}

.select2-container--default {
    font-family: "mallorybook" !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection__clear {
    height: calc(2.25rem + 2px) !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 100%;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 38px;
}

/* Education Section */
#gh-application-container #education_section .month {
    width: 58px;
}
#gh-application-container #education_section .year {
    width: 69px;
}
#gh-application-container #education_section label.error {
    position: absolute;
    bottom: -37px;
    left: -1px;
}

@media screen and (max-width: 767px) {
    /* Prevent iPhone from zooming in on `select` element */
    .select2-container--default
        .select2-search--dropdown
        .select2-search__field {
        font-size: 16px;
    }
}

#location_field, #longitude_field, #latitude_field {
    display: none;
}