/* Job item styling */
/* .job-item {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.job-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.job-item h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.job-item p {
    margin: 5px 0;
    font-size: 14px;
} */


/* Listing Page css start */
#vacatures-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

#job-list {
    width: calc(100% - 28.4% - 50px);
}

#vacatures-container {
    box-shadow: 0px 0px 20px #00000040;
    border-radius: 50px;
    padding: 50px;
    background: #fff;
    margin-bottom: 80px;
}

.vacature-layout .filter-sidebar {
    background: #F1F1F1;
    border: transparent;
    border-radius: 30px;
    padding: 50px 40px 50px 40px;
    width: 28.4%;
}

#vacatures-container label {
    display: flex;
    color: #141414;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    /* flex-wrap: wrap; */
    flex-direction: row-reverse;
    justify-content: space-between;
    /* align-items: center; */
    gap: 10px;
}

.container.main-content,
.Listing-detail-wrapper .container {
    max-width: 1544px;
    width: 100%;
    padding: 0 20px;
}

#sidebar h3 {
    color: #000000;
    font-size: 18px;
}

.filter-sidebar h3 {
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    font-weight: 600;
    margin-bottom: 0;
}

#vacatures-container label:last-child {
    padding-bottom: 0;
}

#vacatures-container label input[type="checkbox" i] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid #141414;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    background: #F1F1F1;
    margin: 0;
}

.parent-category-data label {
    padding-bottom: 25px;
}

#vacatures-container label input[type="checkbox" i]:checked {
    background-color: #141414;
    border-color: #141414;
}

#vacatures-container label input[type="checkbox" i]:checked::after {
    content: "✔";
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.parent-category-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 25px 0;
}

.custom-toggle svg {
    transition: transform 0.3s ease;
    width: 18px;
    height: 10px;
}

.parent-category-toggle.active .custom-toggle svg {
    transform: rotate(180deg);
}

.parent-category-toggle h4.parent-category {
    margin: 0;
    color: #141414;
    font-size: 16px;
    line-height: 26px;
}

.Addresses-outer {
    padding-top: 25px;
}

.Addresses-outer label {
    padding-top: 25px;
}

.parent-category-data {
    padding-left: 10px;
}

.listing-btn-outer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-bottom: 18px;
}

.listing-btn-outer .listing-btn {
    margin: 0;
    border: 1px solid #0B241A;
    border-radius: 20px;
    font-size: 14px;
    line-height: 15px;
    font-weight: 400;
    padding: 11px 20px;
    display: inline-block;
}

.location-btn-cus {
    position: relative;
}

.location-btn-cus::after {
    content: "";
    background-image: url('/wp-content/uploads/2025/10/location-btn.svg');
    width: 17px;
    height: 17px;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    position: absolute;
    top: 10px;
    left: 21px;
    filter: brightness(0) invert(1);
}

.listing-btn-outer .location-btn-cus {
    padding: 11px 20px 11px 46px !important;
    background: rgba(11, 36, 26, 100);
    color: #fff;
}

#vacatures-container .job-item {
    box-shadow: 0px 0px 6px #00000029;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.job-item-content {
    padding-bottom: 24px;
}

.job-item h2 {
    color: #0B241A;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 22px;
}

.department p {
    color: #000000;
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    padding-bottom: 20px;
}

.job-item-content p {
    color: #141414;
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 24px;
}

.vacature-detail-page a {
    position: relative;
    color: #000000;
    font-size: 15px;
    line-height: 17px;
}

.vacature-detail-page a::after {
    content: "";
    background: url("/wp-content/uploads/2025/10/listing-arrow.svg");
    width: 11px;
    height: 11px;
    position: absolute;
    top: 2px;
    right: -24px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

#vacatures-container .job-item:hover a::after {
    transform: rotate(45deg);
}


.cus-title {
    padding-bottom: 35px;
}

.cus-title strong,
.cus-title span {
    color: #0B241A;
    font-size: 22px;
    line-height: 24px;
    font-weight: 600;
}

.filter-toggle-btn {
    display: none;
}

.custom-crose-icon {
    display: none;
}

#filter-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

#filter-loader::before {
    content: "";
    width: 24px;
    height: 24px;
    border: 4px solid #ccc;
    border-top-color: #285343;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.listing-detail-inner {
    box-shadow: 0px 0px 20px #00000040;
    border-radius: 50px;
    padding: 60px;
    z-index: 1;
    position: relative;
    background: #fff;
}

.department {
    margin-bottom: 22px;
}

.listing-detail-inner article#post-228 {
    max-width: 1244px;
    width: 100%;
    margin: 0 auto;
}

.Listing-detail-wrapper {
    padding: 50px 0;
}

.Listing-detail-wrapper .entry-title,
.Listing-detail-wrapper em {
    color: #141414;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
}

.Listing-detail-wrapper em {
    font-style: normal;
}

.vacature-description p {
    color: #141414;
    font-size: 16px;
    line-height: 26px;
}

.Listing-detail-wrapper ul {
    margin: 0;
    color: #141414;
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 35px;
}

.Listing-detail-wrapper ul li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin: 0 !important;
}

.Listing-detail-wrapper ul li::before {
    content: "";
    background: #000;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 7px;
    left: 0;
    border-radius: 100%;
}

.vacature-description h3 {
    font-size: 22px;
    line-height: 24px;
    color: #0B241A;
    margin-bottom: 24px;
    border: none;
}

.vacature-description u {
    font-size: 22px;
    line-height: 24px;
    color: #0B241A;
    margin-bottom: 24px;
    border: none;
    text-decoration: none;
}

/* .page-id-133 .container-wrap, */
.Listing-detail-wrapper {
    background: #fff !important;
}

section.Listing-detail-wrapper {
    background: #fff;
}

/* .listing-detail-outer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
} */

.listing-detail-outer {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: flex-start;
}

.listing-left-side {
    width: 60%;
}

.vacature-owner {
    width: 50%;
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    margin-top: 30px;
    /* gap: 30px; */
}

.vacature-left-side {
    width: 100%;
}

.vacature-inner-owner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    background: #F1F1F1;
    border-radius: 30px;
    height: 100%;
    padding: 30px;
}

.vacature-left-side img {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
    height: 300px;
    object-fit: cover;
}

.vacature-right-side p,
.vacature-right-side a {
    color: #141414 !important;
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 15px;
}

#open-job-popup.button {
    background-color: #1a3d2e;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 19px 16px 20px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#open-job-popup.button::after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("https://www.dtect.be/wp-content/uploads/2025/10/Vacatures-arrow.svg");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

#open-job-popup.button:hover {
    background-color: #2a4d3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 61, 46, 0.3);
}

#open-job-popup.button:hover::after {
    transform: translate(2px, -2px);
}

#open-job-popup.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 61, 46, 0.2);
}

.listing-page-hero-wrapper {
    position: relative;
}

.listing-page-hero-wrapper::after {
    content: "";
    background: url("https://www.dtect.be/wp-content/uploads/2025/10/listing-bg.png");
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.listing-page-hero-wrapper>.container {
    z-index: 1;
    position: relative;
}

.listing-page-hero-wrapper {
    padding: 166px 20px 294px 20px;
}

.listing-page-hero-inner h1 {
    color: #55CCA0;
    font-size: 70px;
    line-height: 65px;
    font-weight: 300;
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.Listing-detail-wrapper {
    margin-top: -151px;
}



/* Job Application Popup Styles */

#job-popup {
    /* position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 91%;
  max-width: 600px;
  max-height: 90vh;
  background: white;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  z-index: 1000;
  z-index: 111111;
  overflow-x: hidden;
  padding: 0 !important; */
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000 !important;
    /* higher than 9998 */
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    width: auto;
    max-width: 600px;
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 !important;
}

body.popup-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: relative;
}

body.popup-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998 !important;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    pointer-events: auto;
}

body::before {
    opacity: 0;
    pointer-events: none;
}

#job-popup h2 {
    background: rgb(18, 50, 38);
    color: white !important;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    padding: 10px 55px 10px 25px
}

.cate-outers {
    background: rgb(18, 50, 38);
    color: #fff !important;
    margin: 0;
    padding: 10px 24px;
    font-size: 14px;
    display: flex;
    gap: 10px;
}

#job-popup .wpcf7-acceptance span.wpcf7-list-item {
    margin-left: 0;
}

.cate-outers p {
    color: #fff !important;
    padding-bottom: 5px;
}

#job-popup>p {
    background: rgb(18, 50, 38);
    color: #fff !important;
    margin: 0;
    padding: 10px 25px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#job-popup>p:last-of-type {
    border-bottom: none;
}

#job-popup .wpcf7 {
    padding: 25px;
}

#job-popup .wpcf7 form p {
    margin: 0 0 10px 0;
    padding: 0 !important;
}

#job-popup .wpcf7-form-control-wrap {
    display: block;
}

#job-popup .wpcf7 input[type="text"],
#job-popup .wpcf7 input[type="email"],
#job-popup .wpcf7 input[type="tel"],
#job-popup .wpcf7 input[type="file"] {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: white;
    transition: border-color 0.2s;
}

#job-popup .wpcf7 input[type="text"]:focus,
#job-popup .wpcf7 input[type="email"]:focus,
#job-popup .wpcf7 input[type="tel"]:focus,
#job-popup .wpcf7 input[type="file"]:focus {
    outline: none;
    border-color: rgb(11, 36, 26);
}

#job-popup .wpcf7 input[type="text"]::placeholder,
#job-popup .wpcf7 input[type="email"]::placeholder,
#job-popup .wpcf7 input[type="tel"]::placeholder {
    color: #666;
}

#job-popup .wpcf7 input[type="file"] {
    padding: 30px 16px;
    background: #fafafa;
    border: 2px dashed #ddd;
    text-align: center;
    cursor: pointer;
    position: relative;
}

#job-popup .wpcf7 input[type="file"]::file-selector-button {
    display: none;
}

/* #job-popup .wpcf7 input[type="file"]::before {
    content: 'Bestand uploaden';
    display: block;
    color: #999;
    font-size: 14px;
    text-align: center;
    position: absolute;
    right: 30px;
} */
.form-row.file-type-cus.popup-field input[type="file"]:not([data-file])::before {
    content: 'Bestand uploaden';
    text-align: left;
}

#job-popup .wpcf7 input[type="file"]:hover {
    border-color: rgb(11, 36, 26);
    background: #f5f5f5;
}

#job-popup .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

#job-popup .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

#job-popup .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

#job-popup .wpcf7-not-valid-tip {
    box-shadow: none !important;
    color: red !important;
}

#job-popup .wpcf7 input[type="submit"] {
    width: fit-content;
    padding: 14px 24px;
    background: #36775F;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

#job-popup .wpcf7 input[type="submit"]:hover:not(:disabled) {
    background: #36775F;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(54, 119, 95, 0.3);
}

#job-popup .wpcf7 input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#close-job-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #55CCA0;
    border: none;
    color: white;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    margin: 0 !important;
    border-radius: 100%;
    padding-bottom: 2px;
}

#close-job-popup:hover {
    transform: scale(1.1);
}

#close-job-popup::before {
    content: '×';
    line-height: 1;

}

#job-popup .hidden-fields-container {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
}

#job-popup .screen-reader-response {
    position: absolute;
    left: -9999px;
}

#job-popup .wpcf7-spinner {
    display: none;
}

#job-popup .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
}

#job-popup .wpcf7-response-output[aria-hidden="true"] {
    /*display: none;*/
}

#vacatures-container .job-item:hover {
    background: rgba(11, 36, 26, 100);
}

#vacatures-container .job-item:hover h2 a,
#vacatures-container .job-item:hover .vacature-detail-page a,
#vacatures-container .job-item:hover .department p,
#vacatures-container .job-item:hover .job-item-content p {
    color: #fff;
}

#vacatures-container .job-item:hover .vacature-detail-page a::after {
    filter: brightness(0) invert(1);
}

#vacatures-container .job-item:hover .listing-btn-outer .location-btn-cus {
    background: #fff;
    color: rgba(11, 36, 26, 100);
}

#vacatures-container .job-item:hover .location-btn-cus::after {
    filter: none;
}

#vacatures-container .job-item:hover .listing-btn-outer .listing-btn {
    background: #fff;
}


/* Listing page css end */
@media(max-width:1440px) {
    #vacatures-container {
        padding: 35px;
    }

    .vacature-layout .filter-sidebar {
        padding: 30px;
    }
}

@media(max-width:1340px) {
    #vacatures-container label {
        font-size: 15px;
        line-height: 20px;
    }

    .vacature-layout .filter-sidebar {
        padding: 20px;
    }

    #vacatures-container {
        padding: 22px;
    }

    .parent-category-data {
        padding-left: 5px;
    }

    #vacatures-container label input[type="checkbox" i] {
        width: 18px;
        height: 18px;
    }

    .parent-category-data label {
        padding-bottom: 18px;
    }

    .parent-category-toggle {
        padding: 18px 0;
    }

    .cus-title {
        padding-bottom: 15px;
    }

    #vacatures-container {
        gap: 20px;
    }

    .vacature-layout .filter-sidebar {
        width: 35%;
    }

    #job-list {
        width: calc(100% - 35% - 20px);
    }

    .listing-detail-inner {
        padding: 60px
    }

    .vacature-inner-owner {
        gap: 29px;
    }


    #open-job-popup.button {
        padding: 13px 10px 13px 13px;
    }
}

@media(max-width:1024px) {

    /* .vacature-layout .filter-sidebar {
        width: 100%;
    }
    #job-list {
    width: 100%;
} */
    .listing-detail-inner {
        padding: 55px;
    }

    .listing-page-hero-wrapper {
        padding: 166px 20px 164px 20px;
    }

    .listing-page-hero-inner h1 {
        font-size: 35px;
        line-height: 45px;
        max-width: 750px;
        width: 100%;
    }

    .department p {
        padding-bottom: 0;
    }

    .vacature-description p {
        padding-bottom: 10px;
    }

}

@media(max-width:1000px) {
    .job-item h2 {
        font-size: 18px !important;
        line-height: 20px !important;
    }
}

@media(max-width:991px) {
    .listing-detail-outer {
        flex-direction: column;
    }

    .listing-left-side {
        width: 100%;
    }

    .vacature-owner {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    /*
    .vacature-inner-owner {
        grid-template-columns: 1fr 2fr;
    } */
    .vacature-inner-owner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filter-toggle-btn {
        display: block;
    }

    .filter-sidebar {
        display: none;
    }

    #vacatures-container {
        flex-direction: column;
    }

    .filter-flex-wrapper {
        display: flex;
        flex-wrap: wrap;
        border: transparent;
        align-items: center;
        gap: 15px;
    }

    #vacatures-container {
        padding: 35px;
    }

    #filter-toggle {
        background: transparent;
        width: fit-content;
        border: 1px solid #0B241A;
        padding: 11px 20px;
        display: inline-block;
        cursor: pointer;
        border-radius: 16px;
    }

    .filter-flex-wrapper p {
        padding: 0;
    }

    #filter-toggle p {
        font-size: 17px;
        line-height: 20px;
        font-weight: 400;
        display: inline-block;
    }

    .filter-flex-wrapper .fa-filter {
        font-size: 18px;
    }

    .footer-contact-form .two-columns {
        grid-template-columns: 1fr;
    }

    .vacature-layout .filter-sidebar {
        width: 100%;
    }

    .custom-crose-icon {
        display: block;
    }

    .listing-detail-inner {
        padding: 55px 30px;
    }

    /* .vacature-layout .filter-sidebar {
      position: fixed;
      top: 107px;
      left: 20px;
      height: 100%;
      z-index: 1;
      width: 70%;
    } */
    #job-list {
        width: 100%;
    }

    /* .job-item h2 {
    font-size: 22px !important;
    line-height: 32px !important;
} */
    .custom-crose-icon {
        text-align: right;
        background: #000;
        width: 30px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-bottom: 30px;
        border-radius: 30px;
        cursor: pointer;
    }

    .custom-crose-icon i.fa.fa-times {
        font-size: 19px;
        color: #fff;
        font-weight: 400;
        margin-top: 3px;
    }

    .vacature-owner {
        grid-template-columns: 1fr;
    }

    .vacature-left-side img {
        max-width: 300px;
        width: 100%;
    }
}

@media(max-width:600px) {
    #vacatures-container {
        padding: 25px;
    }

    #vacatures-container {
        gap: 30px;
    }

    #vacatures-container .job-item {
        padding: 20px;
    }

    .vacature-inner-owner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}