:root {
    --ef-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    --ef-shadow-sm: 0 2px 10px rgba(0, 0, 0, .06);
}

.modal {
    scrollbar-gutter: stable;
}

.ref-panel {
    background: transparent;
    border: 0;
    padding: 0;
}

.yearbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.arrow-btn {
    width: 38px;
    height: 38px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #ffffff;
    box-shadow: var(--ef-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.year-tabs-wrap {
    overflow: hidden;
    flex: 1 1 auto;
}

.year-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 2px;
}

.year-tabs::-webkit-scrollbar {
    display: none;
}

.year-tabs .nav-link {
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #1f2a37;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
}

.year-tabs .nav-link.active {
    background: #1871a4;
    border-color: #1871a4;
    color: #fff;
}

.tab-content-box {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 18px 0 18px 0;
}

.client-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: visible;
    background: #fff;

    height: 100%;
}

.logo-area {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 12px;
    border-radius: 10px 10px 0 0;
}

.logo-area img {
    max-width: 170px;
    max-height: 90px;
    object-fit: contain;
}

.name-bar {
    border-top: 1px solid #dee2e6;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
}

.plus-btn {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    padding: 0;
    line-height: 1;
    transition: all .2s ease;
}

.plus-btn:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.plus-btn:hover {
    background-color: #1871a4;
    color: #ffffff;
    border-color: #1871a4;
}

.plus-btn[aria-expanded="true"] {
    background-color: #1871a4;
    color: #ffffff;
    border-color: #1871a4;
}

.projects-box {
    border: 1px solid #dee2e6;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0 0 14px 14px;
    background: #fff;
    padding: 12px 14px;
    box-shadow: none;
}

.projects-box ul {
    margin: 0;
    padding-left: 18px;
}

.projects-box li {
    margin: 8px 0;
}

.projects-box a {
    color: #1871a4;
    font-weight: 700;
}

.projects-box a:hover {
    text-decoration: underline;
}

.projects-place {
    color: #6b7280;
    font-size: .9rem;
}

.client-col {
    margin-bottom: 14px;
    position: relative;
}

.modal-ref600 {
    max-width: 600px;
}

.modal-ref-content {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.modal-ref-header {
    background: #1871a4;
    color: #fff;
    border-bottom: 0;
}

.modal-ref-body {
    padding: 0;
    background: #fff;
}

.modal-ref-imgwrap {
    width: 100%;
    background: #fff;
}

.modal-ref-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.modal-ref-text {
    padding: 16px 18px 18px 18px;
    background: #fff;
}

.modal-ref-header .btn-close {
    opacity: 0.9;
}

.modal-ref-header .btn-close:hover {
    opacity: 1;
}

.modal-dialog {
    max-width: 600px;
}

.modal-content {
    border-radius: 8px;
    background: #ffffff;
}

.modal-header {
    background: #1871a4;
    color: #ffffff;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 1;
}

.carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
}


.ref-carousel-frame {
    width: 100%;
    height: 360px;
    background: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ref-carousel-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.modal_margin_top {
    margin-top: -100px;
}

@media (max-width: 576px) {
    .ref-carousel-frame {
        height: 260px;
    }


    .arrow-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 20px;
        /* pijltje iets groter */
        margin: 0 18px 0 8px;
    }

    .yearbar {
        gap: 14px;
        /* iets meer ruimte tussen elementen */
    }

    .modal_margin_top {
        margin-top: 0;
    }

}