/*
 * Name: WP Crelate Styles
 * Description: Base, generic styles for WP Crelate plugin.
 * Created: 6/15/2023
 * Last Updated: 10/17/2023
 * Version: 0.4.0
 */

.job-postings-search{
    position: relative;
    overflow: hidden;
}
#job-posting-search{
    margin-left: -5px;
    margin-right: -5px;
}
#job-posting-search .search-query,
#job-posting-search .search-location,
#job-posting-search .search-submit {
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}
#job-posting-search input[type="text"],
#job-posting-search select{
    width: 100%;
    max-width: 100%;
}
.job-postings-last-retrieved.meta{
    text-align: right;
    font-size: .75rem;
    opacity: .7;
}
.job-postings{
    margin-top: 30px;
}
.job-postings .job-posting{
    margin-bottom: 4rem;
}
.job-postings .excerpt{
    margin-top: 1rem;
    margin-bottom: .5rem;
}
.hidden-form{
    display: none;
}
.hidden-form.on{
    display: block;
}
.job-application{
    background-color: #dfe1dc;
    padding: 20px;
}
.job-posting h1{
    color: #fff;
    background: #19252e;
    padding: 15px 20px;
    margin-top: 1em;
    font-weight: 600;
}
.job-posting .description ul{
    padding-left: 30px;
}
.job-posting .description ul li{
    padding-left: 10px;
    margin-top: 10px;
}
body .gform_wrapper.gravity-theme .gfield-choice-input{
    width: auto!important;
    vertical-align: top;
    margin-top: 5px;
}
.single-job-posting .sidebar-inner .widget{
    margin-top: 2rem;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 3px solid #dd3522;
}
.job-postings h3 {
    margin-top: 0;
    margin-bottom: 2px;
    font-style: normal;
    text-transform: none;
}

.job-postings h3 a {
    text-decoration: none;
    box-shadow: none;
}

.job-postings .cta a {
    text-decoration: none;
    box-shadow: none;
    color: var(--wp--preset--color--vivid-red);
    font-weight: bold;
    text-transform: uppercase;
    font-size: .875rem;
    letter-spacing: .05em;
}

.job-postings .compensation {
    font-size: .875rem;
}

.single-job-posting .last-updated {
    font-size: .75rem;
    opacity: .7;
}
.single-job-posting .compensation{
    font-weight: 600;
}
.single-job-posting .city-state {
    font-weight: 600;
    margin-top: 1rem;
}

.job-posting ul {
    list-style: disc outside;
    padding-left: 30px;
}

.job-posting ol {
    padding-left: 30px;
}

.job-posting .back-to-listings {
    text-align: right;
    font-size: .875rem;
}
.job-posting .cta,
.cta+.back-to-listings {
    margin-top: 2rem;
}
.job-posting .button-dark{
    display: inline-block;
}
.job-posting .cta .back-to-listings {
    margin-top: 2rem;
}
.sidebar .job-application h3{
    text-transform: uppercase;
    font-style: normal;
    background-color: #dd3522;
    color: #fff;
    font-family: "Libre Franklin","Helvetica Neue",helvetica,arial,sans-serif;
    font-weight: 600;
    margin-bottom: 0;
    padding: 10px 20px;
    text-align: center;
}
.sidebar .job-application h4 {
    padding-top: 20px;
}
.sidebar .job-application .city-state{
    font-weight: 600;
}
.job-application .gform_wrapper {
    margin-top: 3rem;
}

.job-application .gform_required_legend {
    font-size: .75rem;
    margin-bottom: 1rem;
    text-align: right;
}

.job-application .gfield_checkbox .gchoice {
    overflow: hidden;
}

.job-application .gfield_checkbox input {
    float: left;
    max-width: 30px !important;
    margin-right: 5px !important;
}

.job-application .gfield_checkbox label {
    float: left;
    width: calc(100% - 35px);
}

.job-application .gform_fileupload_rules {
    font-size: .75rem !important;
}

.single-job-posting .job-posting {
    margin-bottom: 4rem;
}

@media(min-width: 568px){
    #job-posting-search input[type="text"],
    #job-posting-search select {
        height: 100%;
    }
    #job-posting-search{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    #job-posting-search .search-query,
    #job-posting-search .search-location {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    #job-posting-search .search-submit{
        text-align: right;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}