/*
 Theme Name:   Solidus HR
 Theme URI:    https://wpx.nl
 Description:  Solidus HR theme
 Author:       Frank Schrijvers
 Author URI:   https://wpx.nl
 Template:     generatepress
 Version:      0.1
*/
:root {
    --border-radius: 20px;
}

/* Header
--------------------------------------------- */
/* Navigation
--------------------------------------------- */
/* Jobs Grid
--------------------------------------------- */
.job-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.job-profile-card {
    /* aspect-ratio: 4 / 2; */
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 30px;
    position: relative;
    transition: all .3s ease;
}

.job-profile-card__link {
    padding-top: 20px;
    margin-top: auto;
}

.job-profile-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.job-profile-card:hover {
    box-shadow: 2.5px 2.5px 25px 0 rgba(0, 0, 0, .1);
}

.job-profile-card__title {
    font-size: 18px;
    font-size: clamp(22px, 2.5cqw, 34px);
    font-weight: 600;
}

.job-profile-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.badge--location {
    background-color: var(--pill-one);
    color: #1a1a1a;
}

.badge--department {
    background-color: var(--accent);
    color: #1a1a1a;
}

.badge--hours {
    background-color: var(--border);
    color: #1a1a1a;
}

.job-profile-card__link {
    color: var(--contrast);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* FacetWP
--------------------------------------------- */
.facetwp-counter,
.facet-mobile-only {
    display: none;
}

.select-title {
    margin-left: 40px;
}

.facetwp-facet-locations,
.facetwp-facet-departments {
    border-radius: var(--border-radius);
    padding: 4px;
    min-height: 46.5px;
}

.facetwp-facet-locations {
    background-color: var(--pill-one);
}

.facetwp-facet-departments {
    background-color: var(--accent);
}

.facetwp-facet-locations .facetwp-radio,
.facetwp-facet-departments .facetwp-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    border-radius: 999px;
    background-image: none !important;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    margin: 0;
}

.facetwp-facet-locations .facetwp-radio:first-of-type,
.facetwp-facet-departments .facetwp-radio:first-of-type {
    padding-left: 30px;
}

.facetwp-facet-locations .facetwp-radio:last-of-type,
.facetwp-facet-departments .facetwp-radio:last-of-type {
    padding-right: 30px;
}

.facetwp-facet-locations .facetwp-radio {
    background-color: #7ea6f5;
}

.facetwp-facet-departments .facetwp-radio {
    background-color: var(--accent);
}

.facetwp-facet-locations,
.facetwp-facet-departments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.facetwp-facet-locations .facetwp-radio[data-value=""],
.facetwp-facet-departments .facetwp-radio[data-value=""] {
    background-color: transparent;
    border: 2px solid #7ea6f5;
    color: #1a1a1a;
}

.facetwp-facet-departments .facetwp-radio[data-value=""] {
    border: 2px solid var(--accent);
}

.facetwp-facet-locations .facetwp-counter,
.facetwp-facet-departments .facetwp-counter {
    font-weight: 400;
    opacity: 0.7;
    font-size: 13px;
}

.facet-search {
    background-color: var(--accent);
    border-radius: var(--border-radius);
    padding: 30px;
    display: inline-block;
    width: 60%;
    margin: 0 40px 40px 40px;
}

.facet-search .facetwp-facet {
    margin: 0;
}

.facetwp-icon.f-loading:before {
    animation: none !important;
}

.facetwp-input-wrap {
    width: 100%;
}

.facet-search .facetwp-search {
    background-color: #fff !important;
    border-radius: 10px;
    font-size: 16px;
    min-width: 100% !important;
    width: 100%;
}

.facetwp-input-wrap {
    position: relative;
    display: block;
}

.facetwp-icon:before {
    width: 40px;
    background: url(/wp-content/themes/solidus-hr/assets/svg/search.svg) no-repeat !important;
    background-position: -3px 50% !important;
    background-size: 20px 20px;
}

.facetwp-type-search i.clear {
    position: absolute;
    right: 30px;
    height: 100%;
    line-height: 1;
    cursor: pointer;
    display: inline-block;
    opacity: 0.3;
    width: 24px;
    height: 100%;
    background: transparent url('/wp-content/plugins/facetwp/assets/images/icon-close.png') 50% 50% no-repeat;
    background-size: 14px 14px;
}

.facetwp-type-search i.clear:hover {
    opacity: 0.8;
}

.facetwp-type-search .f-loading + input + i.clear,
.facetwp-type-search .loading + i.clear {
    display: none !important;
}

.facetwp-facet input.facetwp-search {
    padding-right: 56px !important;
    display: inline-block !important;
}

.facetwp-load-more {
    display: block;
    background-color: var(--accent);
    border-radius: 50px;
    color: var(--contrast);
    font-weight: 600;
    margin: 40px auto;
    transition: all 0.15s ease;
}

.facetwp-load-more:hover {
    background-color: var(--accent);
    box-shadow: 2.5px 2.5px 5px 0 rgba(0, 0, 0, .1);
    color: var(--contrast);
}

.facetwp-facet-locations,
.facetwp-facet-departments {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    border-radius: 18px;
    padding: 20px 18px;
    line-height: 2.8;
}

.facetwp-facet-locations {
    background-color: var(--pill-one);
}

.facetwp-facet-departments {
    background-color: var(--accent);
}

.facetwp-facet-locations .facetwp-radio,
.facetwp-facet-departments .facetwp-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background-image: none !important;
    border-radius: 0 !important;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin: 0 0 40px 0;
    padding: 5px 0;
}

.facetwp-display-value {
    border-radius: 99px;
    padding: 0px 20px !important;
    margin: 0 5px;
}

.facetwp-display-value:hover {
    background-color: var(--base);
}

.facetwp-radio.checked .facetwp-display-value {
    background-color: var(--base);
}

/* Single Job profile 
--------------------------------------------- */
.single-job-profiles .sub-header {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 40px;
}

.single-job-profiles .sub-header .job-profile-card + .btn-pdf,
.single-job-profiles .sub-header .job-profile-card + .btn-share {
    margin-left: auto;
}

.single-job-profiles .sub-header .btn-pdf {
    margin-left: auto;
}

.single-job-profiles .sub-header .btn-pdf,
.single-job-profiles .sub-header .btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease-in-out 0s;
    text-decoration: none;
}

.single-job-profiles .sub-header .btn-pdf:hover,
.single-job-profiles .sub-header .btn-share:hover {
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.single-job-profiles .sub-header .btn-pdf {
    background-color: var(--accent);
    color: #1a1a1a;
    border: none;
}

.single-job-profiles .sub-header .btn-share {
    background-color: #fff;
    color: #1a1a1a;
}

.single-job-profiles .job-profile-card {
    width: 20%;
}

.single-job-profiles .site-content {
    display: block;
}

.job-profile-intro {
    background-color: var(--accent);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 0 40px 40px 40px;
}

.job-profile-intro h1 {
    font-size: 22px;
    font-weight: 500;
}

.job-profile-intro h1,
.job-profile-intro p {
    max-width: 66.666666%;
}

.job-profile-intro .job-profile-intro-content p:last-of-type {
    margin-bottom: 0;
}

.job-profile-container {
    background-color: #fff;
    border-radius: var(--border-radius);
    font-size: .8em;
    border: 1px solid var(--border);
    padding: 40px;
    margin: 0 40px 40px 40px;
}

.job-profile-single-box {
    background: linear-gradient(to left, #ECECEF 45%, #f5f5f7 45%);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    margin-bottom: 40px;
    padding: 30px;
}

.job-profile-single-box:last-child {
    margin-bottom: 0;
}

.job-profile-single-content {
    column-gap: 40px;
    display: flex;
    flex-direction: row;
}

.job-profile-single-left {
    width: 55%;
}

.job-profile-single-right {
    width: 45%;
}

.job-profile-container .bullet_list,
.job-profile-container .competenties_list {
    display: flex;
}

.job-profile-container .bullet_list .label,
.job-profile-container .bullet_list .list {
    width: 50%;
}

.job-profile-container .competenties_list .competence {
    width: 40%;
    line-height: 2;
    padding-left: 20px;
    position: relative;
}

.job-profile-container .bullet_list .label {
    font-size: 18px;
    padding: 5px 0;
}

.job-profile-container .bullet_list .bullet {
    position: relative;
    padding-left: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.job-profile-container .bullet_list .bullet,
.job-profile-container ul li {
    position: relative;
    padding-left: 20px;
    list-style: none;
}

.job-profile-container .bullet_list .bullet:before,
.job-profile-container ul li:before,
.job-profile-container .competenties_list .competence:before {
    content: "";
    background-color: var(--accent);
    border-radius: 50%;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.job-profile-container ul {
    margin: 0;
}

.job-profile-container ul li {
    line-height: 2;
}

/* Custom login
--------------------------------------------- */
.user-status {
    margin-right: 20px;
    font-size: 16px;
    font-weight: 500;
}

.user-status span {
    font-weight: 800;
}

.user-logout {
    margin: 0 40px 0 20px;
}

/* Media queries
--------------------------------------------- */
@media (max-width: 1440px) {
    .job-profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .job-profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .job-profile-intro,
    .job-profile-container {
        margin: 0 0 40px 0;
    }

    .job-profile-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .job-profile-intro h1,
    .job-profile-intro p {
        max-width: 100%;
    }

    .job-profile-card {
        padding: 20px;
    }

    .facet-search {
        width: 100%;
        margin: 0 0 40px;
        padding: 20px;
    }

    .facet-desktop-only {
        display: none;
    }

    .facet-mobile-only {
        display: block;
    }

    .select-title {
        margin-left: 0;
    }

    .fs-wrap {
        display: block;
        width: 100% !important;
        line-height: normal;
    }

    .fs-label-wrap {
        border: 2px solid var(--pill-one);
        border-radius: 999px;
        background-color: #fff;
        padding: 4px 0;
    }

    .facetwp-facet-locations_mobile .fs-label-wrap {
        background-color: var(--pill-one) !important;
    }

    .facetwp-facet-departments_mobile .fs-label-wrap {
        background-color: var(--accent) !important;
    }

    .fs-label-wrap .fs-label {
        padding: 14px 26px 14px 26px !important;
        font-weight: 700;
        font-size: 15px;
        color: #1a1a1a;
    }

    .fs-option, .fs-search, .fs-optgroup-label {
        padding: 12px 20px !important;
    }

    .fs-arrow {
        right: 20px !important;
        border-top-color: var(--pill-one);
    }

    .fs-dropdown {
        border: 2px solid var(--pill-one);
        border-radius: 20px;
        overflow: hidden;
        margin-top: 6px;
    }

    .fs-dropdown .fs-search {
        display: none;
    }

    .fs-option {
        padding: 12px 20px;
        font-weight: 600;
        font-size: 16px;
        white-space: normal;
        word-break: break-word;
        line-height: 1.3;
    }

    .fs-option.selected {
        background-color: var(--pill-one);
        color: #1a1a1a;
    }

    .fs-option:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .single-job-profiles .sub-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-job-profiles .job-profile-card {
        width: 100%;
    }

    .single-job-profiles .sub-header .job-profile-card + .btn-pdf, .single-job-profiles .sub-header .job-profile-card + .btn-share {
        margin-left: 0;
    }
}