:root {
    --referentie-tekst-color: #f2f2f2;
    --thumb-bg: #f8f8f8;
    --slider-button-color: #222222;
    --referentie-background-radius: linear-gradient(180deg, #504942, #837565);
    --referentie-image-shadow: #554d46;
}

.ref-btn {
    font-family: 'Cera Pro';
    background-attachment: scroll;
    background-clip: border-box;
    background-color: var(--referentie-tekst-color);
    color: var(--slider-button-color);
    border: 2px solid var(--referentie-tekst-color);
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    outline-color: #000;
    padding: 0.3em 1.5em;
    position: relative;
    text-decoration: none;
    transition: all .5s ease-in-out;
    vertical-align: baseline;
}
.referentie-slider-outer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    /* opacity: 0;
    animation: fadeIn 0.5s ease 0.5s forwards; */
}
.referentie-slider-outer .lSAction {
    display: none !important;
}
.lightslider-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}
.lightslider-prev {
    left: 1.5em;
}
.lightslider-prev img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.lightslider-next {
    right: 1.5em;
}
.lightslider-arrow img {
    width: 40px;
}
/* #lightslider {
    margin-top: 5em;
} */
#lightslider li {
    padding: 4em 0;
    background: var(--referentie-background-radius);
    color: var(--referentie-tekst-color);
    position: relative;
    z-index: 1;
    height:unset;
    max-width: 100vw;
    overflow: hidden;
}
#lightslider li .inner-referentie-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 5%; */
    margin: 0 auto;
}
#lightslider li .description {
    width: 30%;
}
#lightslider li .description h4 {
    font-family: "Cera Pro";
    /* font-size: 1.6rem; */
    font-size: clamp(14px, calc(0.875rem + ((1vw - 2px) * 0.1667)), 16px);
    min-height: 0vw;
    text-transform: uppercase;
    opacity: 0.6;
    display: block;
    font-weight: 400;
    padding: 0;
    letter-spacing: 1px;
}
#lightslider li .description h3 {
    font-family: "Cera Pro";
    font-size: 6rem;
    white-space: nowrap;
    line-height:1em;
    font-weight: 700;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    color: var(--referentie-tekst-color);
}
#lightslider li .description p {
    /* font-size: 1.6rem; */
    font-size: clamp(14px, calc(0.875rem + ((1vw - 2px) * 0.1667)), 16px);
  min-height: 0vw;
    line-height: 29px;
    margin-bottom: 2.5em;
}


#lightslider li .image {  
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 60%;
    /* height: 500px;
    max-width: 690px; */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#lightslider li .image::before {
    content: "";
    display: block;
    background-color: var(--referentie-image-shadow);
    width: 50.5em;
    height: 72em;
    position: absolute;
    z-index: -1;
    transform: rotate(130deg);
    left: 53em;
    top: -2.3em;
    -webkit-clip-path: polygon(26% 0, 80% 0%, 100% 0, 100% 100%, 74% 100%, 25% 100%, 0 83%, 0 0);
    clip-path: polygon(26% 0, 80% 0%, 100% 0, 100% 100%, 74% 100%, 25% 100%, 0 83%, 0 0);
}
#lightslider li .image img {
    max-height: 91%;
    height: auto;
    max-width: 92%;
    width: auto;
    border-radius: 5px;
}

.lSGallery {
    display: flex;
    margin: -10px auto 0 auto !important;
    padding-top: 10px;
    border-bottom: 1px solid #d6d6d6;
}
.lSGallery li {
    position: relative;
    box-sizing: content-box;
    border-right: 1px solid #d6d6d6;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    padding: 0 2em;
    cursor: pointer;   
    border-radius: 0px !important;
    margin: 0 !important;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}
.lSGallery li:first-child {
    border-left: 1px solid #d6d6d6;
}
.lSGallery li.active {
    filter: grayscale(0);
}
.lSGallery li img {
    min-width: 120px !important;
}
.lSSlideOuter .lSPager.lSGallery li {
    background-color: var(--thumb-bg);
}


/* responsive */
@media screen and (max-width: 1350px) {
    #lightslider li .description h3 {
        font-size: 5rem;
        margin-bottom: 0.7em;
    }
    .lightslider-prev {
        left: 1em;
    }
    .lightslider-next {
        right: 1em;
    }
    #lightslider li .description {
        width: 40%;
    }
    #lightslider li .inner-referentie-slide {
        gap: unset;
        width: 84%;
    }
    /* #lightslider li .image {
        height: 400px;
        max-width: 550px;
    } */
    #lightslider li .image {
        justify-content: flex-end;
    }
    #lightslider li .image::before {
        width: 28.5em;
        height: 37em;
        left: 70%;
        top: -1.3em;
    }
    
    #lightslider li .image img {
        width: 78%;
        max-width: unset;
    }
}
@media screen and (max-width: 975px) {
    #lightslider li .inner-referentie-slide {
        width:100%;
    }
    #lightslider li .description h3 {
        font-size: 4rem;
    }
    #lightslider li .description p{
        width: 90%;
    }
    .lightslider-arrow {
        top: unset;
        bottom: 6.5em;
    }
    .lightslider-prev {
        left: 1.5em;
    }
    .lightslider-next {
        right: 57%;
    }
    #lightslider li {
        padding-bottom:2em;
        padding-top:2em
    }
    #lightslider li .description,
    #lightslider li .image {
        flex: 100%;
        width: unset;
    }
    /* #lightslider li .image {
        height: 300px;
        max-width: 100%;
    } */
    #lightslider li .image::before {
        width: 21.5em;
        height: 29em;
        left: 73%;
        top: -0.3em;
    }
    
    #lightslider li .image img {
        width: 90%;
        max-width: unset;
    }
    .ref-btn {
        left: 41%;
        transform: translate(-50%, 0);
        font-size: 1.4rem;
    }
}
@media screen and (max-width:750px) {
    /* .lightslider-prev {
        left: 0em;
    }
    .lightslider-next {
        right: 61%;
    }
    #lightslider li .description {
        flex: unset;
        width: 47%;
    }
    #lightslider li .image {
        width:50%;
    } */
    #lightslider li .image img {
        width: 100%;
    }
    #lightslider li .description h3 {
        font-size: clamp(30px, calc(2.1875rem + ((1vw - 2px) * 3.2258)), 60px);
        min-height: 0vw;
      }
      #lightslider li .description p {
        font-size: clamp(12px, calc(0.875rem + ((1vw - 2px) * 0.1667)), 16px);
      }
    #lightslider li .image::before {
        width: 47.5%;
        height: 128%;
        left: 71%;
        top: 2.7em;
    }
    
}
@media screen and (max-width: 600px) {
    #lightslider li .description p {
        font-size: 1.4rem!important;
    }
    #lightslider li .image {
        max-width: unset;
        width: 113%;
        justify-content: center;
    }
    #lightslider li .image img {
        width: 87%;
    }
    #lightslider li {
        padding-bottom: 2em;
    }
    .lightslider-arrow {
        width: 40px;
        height: 40px;
    } 
    .lightslider-prev {
        left: 1em;
    }
    .lightslider-next {
        right: 1em;
    }
    #lightslider li .description {
        width: 86%;
        text-align: center;
    }
    #lightslider li .image::before {
        width: 88.5%;
        height: 136%;
        left: 63%;
        top: -6.3%;
    }
    #lightslider li .description p {
        width: 100%;
    }
    #lightslider li .inner-referentie-slide {
        flex-direction: column-reverse;
        gap: 1.5em;
    }
    .ref-btn {
        left: unset;
        transform: unset;
    }
    .lightslider-arrow {
        top: unset;
        bottom: 7em;
    }
}
@media screen and (max-width: 400px) {
    #lightslider li .image img {
        width: 90%;
    }
    #lightslider li .image::before {
        width: 88.5%;
        height: 136%;
        left: 14em;
        top: -3.3em;
    }
}