/* Job Board Listing Page */
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.cem24_job_filters_wrap {
    width: 100%;
    border: 1px solid black;
    padding: 30px;
}

.cem24_job_listing {
    width: 100%;
    padding: 40px;
    border: 1px solid #000000;
    min-height: 200px;
    border-radius: 25px;
    margin: 20px 0;
    box-shadow: 1px 3px rgba(0, 0, 0, 0.21);
}

.cem24_job_listing:hover {
    box-shadow: none;
    background-color: rgba(198, 198, 198, 0.49);
}

.cem24_job_listing_center_1,
.cem24_job_listing_center_2 {
    text-align: center;
}

.cem24_job_listing_left {
    text-align: right;
}

.cem24_job_section {
    float: left;
    padding: 0 20px;
    width: 25%;
}

.cem24_job_listing_title {
    font-size: 20px;
    padding-bottom: .2em;
    font-weight: bold;
}

.cem24_job_listing_req {
    font-size: 14px;
    color: rgb(102 102 102 / 61%);
}

.cem24_job_listing_location_title {
    font-size: 14px;
    color: rgb(102 102 102 / 61%);
    padding-bottom: .2em;
}

.cem24_job_listing_location {
    font-size: 18px;
    font-weight: bold;
}

.cem24_job_listing_cat_title {
    font-size: 14px;
    color: rgb(102 102 102 / 61%);
    padding-bottom: .2em;
}

.cem24_job_listing_cat {
    font-size: 18px;
    font-weight: bold;
}

.cem24_job_listing_button_apply {
    background-color: #7A9A01;
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 150px;
}

.cem24_job_listing_button_apply:hover {
    background-color: white;
    color: #7A9A01;
    border: 1px solid #7A9A01;
}

.cem24_job_listing_button_refer {
    background-color: #9b9b9b;
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 150px;
}

.cem24_job_listing_button_refer:hover {
    background-color: white;
    color: #9b9b9b;
    border: 1px solid #9b9b9b;
}

#cem24_job_overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

#cem24_job_overlay .cvspinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cem24_job_overlay .cvspinner span.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #7A9A01 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

form#job-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form#job-filter-form .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form#job-filter-form .row .heading {
    display: flex;
    align-items: center;
    border-right: 1px solid #000000;
    margin-right: 10px;
    padding-right: 10px;
    gap: 5px;
}

form#job-filter-form .first_row.row input, form#job-filter-form .first_row.row select {
    border-color: #000000;
    padding: 10px;
}

form#job-filter-form .row #locationField {
    display: flex;
}

form#job-filter-form .second_row.row select {
    padding: 10px;
    border: 0;
}

form#job-filter-form .first_row.row input::placeholder {
    color: #7A9A01;
    opacity: 1; /* Firefox */
}

form#job-filter-form .first_row.row input::-ms-input-placeholder { /* Edge 12 -18 */
    color: #7A9A01;
}

form#job-filter-form .first_row.row select#location_radius {
    color: #7A9A01;
}

#cem24_job_listings a:hover {
    text-decoration: underline;
}

#sidebar .cem24_floating_sidebar {
    position: fixed;
    top: 175px;
    width: 100%;
}

body.single-job-board .cem24_job_desc {
    padding-bottom: 100px;
}

body .cem24_map_image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Start the Featured Job Section  */
.featured_job_section h2 {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    text-transform: capitalize;
}

.featured_job_section ul {
    list-style-type: none !important;
    padding: 0px !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 50px;
}

.featured_job_section ul li {
    border-radius: 15px;
    background-color: #bfbfbf;
}

.featured_job_section ul li .job_image {
    height: 200px;
}

.featured_job_section ul li .job_image img {
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0px 0px;
}

.featured_job_section ul li .job_details {
    padding: 20px;
}

.featured_job_section ul li .job_details h3 {
    padding: 0px;
}

.featured_job_section ul li .job_details h3 a {
    display: block;
    background-color: #7A9A01;
    text-align: center;
    border-radius: 50px;
    padding: 10px;
    font-size: 18px;
    color: #ffffff;
}

/* Referral Modal Styles */
#cem24_referral_modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.cem24_modal_content {
    position: relative;
    background: #ffffff;
    max-width: 500px;
    margin: 10vh auto;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    top: 50%;
    transform: translateY(-50%);
}

.cem24_modal_close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #9b9b9b;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 0;
}

.cem24_modal_close:hover {
    color: #333;
}

.cem24_modal_question {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.cem24_modal_buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cem24_modal_button {
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.cem24_modal_button_employee {
    background-color: #333;
    color: white;
}

.cem24_modal_button_employee:hover {
    background-color: white;
    color: #333;
    border: 1px solid #333;
}

.cem24_modal_button_non_employee {
    background-color: #9b9b9b;
    color: white;
}

.cem24_modal_button_non_employee:hover {
    background-color: white;
    color: #9b9b9b;
    border: 1px solid #9b9b9b;
}

/* Mobile Responsive */
@media only screen and (max-width: 600px) {
    .cem24_modal_content {
        margin: 50px 20px;
        padding: 30px 20px;
        transform: none;
        top: auto;
    }

    .cem24_modal_question {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .cem24_modal_button {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Mobile CSS */

@media only screen and (max-width: 980px) {
    #sidebar .cem24_floating_sidebar {
        width: 80%;
        text-align: right;
    }
    body .et_pb_fullwidth_menu_0_tb_header.et_pb_fullwidth_menu {
        background-color: transparent;
    }
}

@media only screen and (max-width: 900px) {
    .cem24_job_listing .cem24_job_listing_right,
    .cem24_job_listing .cem24_job_listing_center_1,
    .cem24_job_listing .cem24_job_listing_center_2,
    .cem24_job_listing .cem24_job_listing_left {
        float: none;
        width: 100%;
        text-align: center;
        margin: 15px auto;
    }

    .cem24_job_filters_wrap {
        padding: 10px;
    }

    .cem24_job_filters_wrap .first_row.row,
    .cem24_job_filters_wrap .second_row.row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cem24_job_filters_wrap .first_row.row input,
    .cem24_job_filters_wrap .first_row.row select,
    .cem24_job_filters_wrap .second_row.row select {
        width: 100%;
        box-sizing: border-box;
    }

    .cem24_job_filters_wrap #locationField {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .cem24_job_filters_wrap .second_row .heading {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cem24_job_filters_wrap .second_row .heading img {
        width: 20px;
        height: auto;
    }

    .cem24_job_filters_wrap .second_row .heading span {
        font-size: 16px;
    }

    .cem24_job_filters_wrap select {
        font-size: 14px;
    }
}

@media only screen and (max-width: 767px) {
    .featured_job_section ul {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 615px) {
    #sidebar .cem24_floating_sidebar {
        position: inherit;
        width: 100%;
        text-align: center;
    }
}