/*
 * Videnov design for WP JobSearch.
 *
 * Loaded after WP JobSearch's plugin.css, color.css and plugin-responsive.css
 * (see includes/custom-assets.php). Only the rules that differ from WP
 * JobSearch 3.4.3 live here; everything else comes from the plugin itself.
 * Declarations marked "reset" undo an upstream style the Videnov design removed.
 */

/* ---------------------------------------------------------------------------
 * Base / layout
 * ------------------------------------------------------------------------- */
.jobsearch-typo-wrap {
    font-family: inherit; /* reset: no Roboto */
    color: inherit; /* reset */
    line-height: inherit; /* reset */
}
.jobsearch-column-9 { width: 66.66666667%; }
.jobsearch-column-3 { width: 33.33333333%; }

.job-content-box {
    width: 859px !important;
    border-radius: 5px;
    padding: 24px !important;
    border: 1px solid #D9D9D9;
    line-height: 24px;
    font-size: 16px;
    color: #333333;
}
.job-sticky-box {
    width: 257px !important;
    padding: 0 !important;
    float: right !important;
}
.jobsearch-option-btn {
    /* reset: the option button is unstyled in the Videnov design */
    float: none;
    padding: 0;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
    text-transform: none;
    line-height: inherit;
}
.displayed-here { display: none; }

/* ---------------------------------------------------------------------------
 * Banner / top search box
 * ------------------------------------------------------------------------- */
.jobsearch-banner-transparent,
.careerfy-banner-transparent {
    background: linear-gradient(269.88deg, rgba(0, 0, 0, 0) -1.14%, rgba(0, 0, 0, 0.5) 100.42%) !important;
    opacity: 1; /* reset */
}
.jobsearch-banner-search { margin-bottom: 0; /* reset */ }
.jobsearch-banner-search ul { column-gap: 24px; }
.jobsearch-banner-search input[type="text"],
.jobsearch-banner-search ul li input[type="number"],
.jobsearch-subheader-form .jobsearch-banner-search input[type="text"] {
    height: 48px;
    font-size: 16px;
}
.jobsearch-banner-search button {
    height: 48px;
    border: none;
    color: #fff !important;
    background-color: #D20A11 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}
.jobsearch-banner-search button:hover { border-radius: 5px; }
.jobsearch-banner-search ul li.jobsearch-banner-submit:hover button { background-color: #000 !important; }
.jobsearch-subheader-form .jobsearch-banner-search {
    padding: 0; /* reset */
    box-shadow: none; /* reset */
}
.jobsearch-subheader-form .jobsearch-banner-search ul li input[type="text"] { border: none !important; }

.jobsearch-search-container ul { padding-left: 0; }
.jobsearch-search-container ul li:first-child input[type="text"] {
    border: 1px solid #D9D9D9 !important;
    border-radius: 3px;
}
.jobsearch-search-container .jobsearch-banner-search input[type="text"] { border: 1px solid #D9D9D9 !important; }
.jobsearch-search-container .jobsearch-banner-search ul li:last-child { max-width: 148px; }
.jobsearch-banner-search.search-cat-off > ul > li:last-child { width: 148px; }

.jobsearch-keywordsrch-inp-field {
    background-image: url(../images/search-icon.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 16px center;
    padding-left: 50px !important;
}
.jobsearch_searchloc_div input {
    background-image: url(../images/location-icon.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 16px center;
    padding-left: 50px !important;
}

.jobs-listing-page .jobsearch-top-searchbar {
    padding-top: 0;
    margin-top: -165px;
}
.jobs-listing-page .jobsearch-subheader-form .jobsearch-banner-search { background-color: transparent; }
.jobs-listing-page .wp-dp-job-content { margin-top: 48px; }

/* ---------------------------------------------------------------------------
 * Active filter tags + results title
 * ------------------------------------------------------------------------- */
.jobsearch-filterable {
    padding: 0; /* reset */
    background-color: transparent; /* reset */
}
.jobsearch-filterable .clear-tags {
    float: right;
    padding: 5px 0px 0px 0px;
}
.jobsearch-filterable ul li {
    margin-right: 8px;
    margin-bottom: 8px;
}
.jobsearch-filterable ul li a i { color: #fff !important; }
.jobsearch-filterable ul li a {
    background-color: #D20A11;
    border: none; /* reset */
    border-radius: 5px;
    color: #FFF !important;
    font-size: 16px;
    padding: 4px 16px;
}
.no-candidate-match-error { color: #333333; }
h2.jobsearch-fltcount-title,
.jobsearch-fltcount-title {
    font-size: 24px !important;
    margin-bottom: 24px;
}
.filter-title {
    font-size: 26px;
    margin-bottom: 18px !important;
}

/* ---------------------------------------------------------------------------
 * Sidebar filters
 * ------------------------------------------------------------------------- */
.jobsearch-search-filter-wrap {
    padding: 16px;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    box-shadow: none; /* reset */
    margin-bottom: 8px !important;
}
.jobsearch-search-filter-wrap .jobsearch-fltbox-title a {
    color: #333333;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 0 0 16px 0;
    line-height: inherit; /* reset */
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 16px;
}
.jobsearch-search-filter-wrap .jobsearch-fltbox-title a:before {
    top: 0px;
    color: #4D4D4F;
}
/* Show every filter option, no "more" collapse */
.filter-more-fields { display: block; }

.jobsearch-checkbox li { margin-bottom: 6px; }
.jobsearch-checkbox li.location-level-1 { padding-left: 25px; }
.jobsearch-checkbox li .filter-post-count {
    float: right;
    font-size: 14px;
    text-align: center;
    margin-top: 0px;
}
.jobsearch-checkbox li:hover .filter-post-count { background-color: #D20A11 !important; }
.jobsearch-checkbox input[type="checkbox"] + label,
.jobsearch-checkbox input[type="radio"] + label {
    color: #333333;
    font-size: 16px;
}
.jobsearch-checkbox input[type="checkbox"] + label span,
.jobsearch-checkbox input[type="radio"] + label span {
    width: 20px;
    height: 20px;
    margin: 0px 16px 0px 0px;
    border: 1px solid #CFCFCF;
    border-radius: 3px;
}
.jobsearch-checkbox input[type="checkbox"]:checked + label span,
.jobsearch-checkbox input[type="checkbox"] + label:hover span,
.jobsearch-checkbox input[type="radio"]:checked + label span,
.jobsearch-checkbox input[type="radio"] + label:hover span {
    background-color: #D20A11 !important;
    border-color: #D20A11 !important;
    background-image: url(../images/checked.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    box-shadow: none; /* reset */
}
.apply-fields-list .jobsearch-checkbox input[type="checkbox"] + label:hover span { background-color: #FFF !important; }
.apply-fields-list .jobsearch-checkbox input[type="checkbox"]:checked + label span { background-color: #D20A11 !important; }

/* ---------------------------------------------------------------------------
 * Job listing cards
 * ------------------------------------------------------------------------- */
.jobsearch-job-userlist .like-btn { display: none; }
.jobsearch-joblisting-classic-wrap {
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 16px 24px;
    flex-wrap: wrap;
}
.jobsearch-joblisting-classic-wrap:hover { background-color: #FAFAFA; }
.jobsearch-list-option .jobsearch-pst-title {
    font-size: 20px !important;
    line-height: 1.2em !important; /* reset: 3.4.3 forces line-height 1 */
}
h2.jobsearch-pst-title a {
    font-size: inherit !important; /* reset: 3.4.3 forces 16px */
    line-height: inherit !important;
}
.jobsearch-list-option .jobsearch-pst-title a { color: #D20A11; }
.jobsearch-joblisting-classic-wrap .jobsearch-list-option .jobsearch-pst-title { margin-bottom: 16px; }
.jobsearch-list-option ul li {
    font-size: 11px;
    color: #333333 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    border-left: none; /* reset */
    border-right: 1px solid #333333;
    padding: 0 11px 0 0;
    margin-right: 6px;
}
.jobsearch-list-option ul li:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
}
.jobsearch-list-option ul li a {
    color: #333333 !important;
    font-size: 11px;
}
.job-listing-btn {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #D20A11;
    border: 1px solid #D20A11;
    padding: 12px 16px;
    line-height: 1;
    border-radius: 3px;
    background-image: url(/wp-content/uploads/2025/09/red-right-arrow.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* ---------------------------------------------------------------------------
 * Job detail page
 * ------------------------------------------------------------------------- */
.jobsearch-job-subheader {
    height: 560px;
    min-height: 0; /* reset */
    margin-bottom: 0; /* reset */
    padding: 0; /* reset */
    background-image: url(../images/job-cover-image.jpg) !important;
    display: flex;
    align-items: flex-end;
}
.jobsearch-job-subheader .jobtitle-container {
    position: relative;
    z-index: 2;
    text-align: left;
    margin-bottom: 72px;
}
.jobsearch-job-subheader .jobtitle-container h2 {
    margin: 0;
    padding: 0;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: -2px;
    line-height: 1.2em;
    color: #FFF;
}
.jobsearch-job-subheader .jobtitle-container span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}
.jobsearch-jobdetail-list {
    padding: 0; /* reset */
    border: none; /* reset */
}
.jobsearch-jobdetail-content {
    padding: 0; /* reset */
    border: none; /* reset */
}
.job-info ul {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 20px;
    width: 100%;
    margin-bottom: 24px;
}
.job-info ul li {
    display: inline-flex;
    margin-right: 24px;
    list-style: none;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    align-items: center;
}
.job-info ul li img { margin-right: 10px; }

.jobsearch-description p {
    font-size: 16px;
    font-weight: inherit; /* reset */
}
.jobsearch-description ul { margin-bottom: 20px; }
.jobsearch-description ul li {
    font-size: 16px;
    margin-left: 16px;
    list-style: disc; /* reset: normal bullets instead of the icon */
    padding-left: 0; /* reset */
    color: inherit; /* reset */
    font-weight: inherit; /* reset */
}
.jobsearch-description ul li:before { content: none; /* reset */ }

.jobsearch_apply_job_wrap {
    padding: 0; /* reset */
    border: none; /* reset */
}
.jobsearch-applyjob-btn,
.careerfy-typo-wrap .jobsearch-applyjob-btn,
.job-sticky-button {
    float: left;
    width: 100%;
    background-color: #D20A11;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    line-height: 1;
    padding: 18px 35px;
    margin-bottom: 12px;
    border: 1px solid #D20A11;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.jobsearch-applyjob-btn:hover,
.job-sticky-button:hover {
    background-color: transparent;
    color: #D20A11;
}
.jobsearch-typo-wrap .jobsearch-applyjob-btn:hover { color: #D20A11; }
.instastcky-aplybtn-con .jobsearch-applyjob-btn:hover { background-color: #D20A11; }
.instastcky-aplybtn-con a {
    background-color: #D20A11;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 18px 10px 17px 10px;
    font-weight: 700;
    border: 1px solid #D20A11;
}

/* ---------------------------------------------------------------------------
 * Application form
 * ------------------------------------------------------------------------- */
.jobsearch-user-form ul {
    width: 100%;
    margin: 0;
    padding: 0;
}
.jobsearch-user-form label {
    font-size: 16px;
    color: #333333;
    margin-bottom: 8px;
}
.jobsearch-user-form label ins {
    text-decoration: none;
    color: #D20A11;
}
.jobsearch-user-form input[type="text"],
.jobsearch-user-form input[type="password"],
.jobsearch-user-form input[type="email"],
.jobsearch-user-form input[type="number"],
.jobsearch-user-form input[type="tel"],
.phon-num-fieldcon input.required,
.phon-num-fieldcon input[type="tel"] {
    font-size: 16px;
    height: 48px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
}
.phon-num-fieldcon span { color: rgba(153, 153, 153, 1); }
.jobsearch-user-form input[type="submit"] {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 17px 83.5px;
    background-color: #D20A11 !important;
    border: none;
    float: right;
    color: #ffffff !important;
}
.jobsearch-user-form input[type="submit"]:hover { background-color: #000 !important; }
.apply-form-btn-wrap { width: 100% !important; }

/* Selects in the form (Select2 in 3.4.3; was Selectize) */
.jobsearch-profile-select .select2-container .select2-selection--single {
    height: 48px;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
}
.jobsearch-profile-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    line-height: 1.5;
}
.jobsearch-profile-select .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}
.jobsearch-profile-select .select2-container--default .select2-selection--single .select2-selection__arrow:after {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 22px;
    color: #999999;
}
.jobsearch-profile-select .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
    content: "\f106";
}
.select2-container { z-index: 99999; }

/* CV upload drop zone */
.jobsearch-drpzon-con .dropzone {
    border: 1px dashed #D20A11;
    border-radius: 5px;
}
.jobsearch-drag-dropcustom .fileContainerFileName { margin-bottom: 0; /* reset */ }
.jobsearch-drag-dropcustom .fileContainerFileName strong {
    font-size: 16px;
    font-weight: normal;
    color: #333333;
    margin-top: 14px;
}
.jobsearch-drag-dropcustom .fileContainerFileName strong ins {
    font-weight: bold;
    color: #D20A11;
}
.jobsearch-drag-dropcustom .upload-inffo {
    font-size: 15px !important;
    color: #666666;
    margin-top: 10px;
}

/* ---------------------------------------------------------------------------
 * Responsive (from plugin-responsive.css)
 * ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .jobsearch-joblisting-classic-wrap,
    .jobsearch-joblisting-classic .jobsearch-job-userlist {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    .jobsearch-filterable .clear-tags { text-align: right; }
}

/* ---------------------------------------------------------------------------
 * Mobile filters drawer (slides in from the right)
 * ------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .listin-filters-sidebar {
        left: auto; /* reset */
        right: -100%;
        top: 100px;
        width: 90% !important;
        padding: 16px !important;
        padding-bottom: 100px !important;
    }
    .active-filters-con {
        left: auto; /* reset */
        right: 0;
    }
    a.close-listin-mobfiltrs {
        right: 10px;
        top: 14px;
        color: #D20A11;
        background-color: transparent; /* reset */
    }
    a.close-listin-mobfiltrs i { font-size: 22px !important; }
    .mobfiltrs-openrbtn-con {
        position: static; /* reset */
        left: auto; /* reset */
        top: auto; /* reset */
    }
    .mobfiltrs-openrbtn-con a {
        color: #D20A11;
        background-color: transparent; /* reset */
        border: 1px solid #D20A11;
        border-radius: 48px;
        padding: 15px 16px;
        padding-right: 40px;
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1;
        background-image: url(/wp-content/uploads/2025/09/filter-icon.svg);
        background-repeat: no-repeat;
        background-position: right 16px center;
    }
    .mobile-filters {
        margin-top: -10px;
        margin-bottom: 14px;
    }
}

/* ---------------------------------------------------------------------------
 * Phones
 * ------------------------------------------------------------------------- */
@media only screen and (max-width: 600px) {
    .jobsearch-job-subheader .jobtitle-container h2 {
        font-size: 24px;
        letter-spacing: 0;
    }
    .jobsearch-job-subheader {
        height: auto;
        min-height: 200px;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: center;
    }
    .jobsearch-job-subheader .jobsearch-column-8 { width: 100% !important; }
    .jobsearch-job-subheader .jobtitle-container { margin-bottom: 0; }
    .job-content-box {
        width: 100% !important;
        margin-top: 24px;
        padding: 0 !important;
        border: none;
    }
    .jobsearch-jobdetail-list { display: none !important; }
    .job-info ul li {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .jobsearch-list-option {
        text-align: left;
        justify-content: flex-start !important;
        gap: 0 !important;
    }
    .jobsearch-joblisting-classic-wrap .jobsearch-list-option .jobsearch-pst-title {
        font-size: 17px !important;
        line-height: 1.2em !important;
        margin-bottom: 5px;
    }
    .jobsearch-joblisting-classic-wrap {
        padding: 16px;
        background-position: right 20px center;
        padding-right: 50px;
    }
    .jobsearch-list-option ul {
        display: block;
        width: 100%;
    }
    .jobsearch-list-option ul li { width: auto !important; }
    h2.jobsearch-fltcount-title,
    .jobsearch-fltcount-title { font-size: 18px !important; }
    .jobs-listing-page .jobsearch-top-searchbar { margin-top: -300px; }
    .mobfiltrs-openrbtn-con { display: none !important; }
    .jobsearch-subheader-form .jobsearch-banner-search ul li { margin-bottom: 16px; }
    .jobs-listing-page .wp-dp-job-content { margin-top: 12px; }
    .job-listing-btn { margin-top: -25px; }
    .mobile-filters .mobfiltrs-openrbtn-con { display: block !important; }
    .jobsearch-filterable.jobsearch-filter-sortable.jobsearch-topfound-title { width: 100%; }
    .jobsearch-search-filter-wrap {
        border: 0;
        padding: 0;
    }
}
