:root {
    --primary-font: 'Exo';
    --default-color: #0A1314;
    --default-text-color: #0A1314;
    --default-light-text-color: #eeeeee;
    --bg-dark-color: #0A1314;
    --bg-light-color: #F0F0F0;
    --default-stroke-color: #D9D9D9;
    --discrete-border: #d9d9d9;
    --color-text: #222222;
    --sp-overlay-color: #00000020;
    --box-shadow-light: 0px 20px 20px 0px rgba(0, 0, 0, 0.15);
    --default-border-radius: 20px;
    --default-border-color: #222222;
    --default-border-thickness: 1px;
    --default-button-border-radius: 50px;
    --h1-size: 28px;
    --h1-weight: 600;
    --h1-lineheight: 29px;
    --h1-tracking: -2%;
    --h2-size: 24px;
    --h2-weight: 600;
    --h2-lineheight: 26px;
    --h2-tracking: -2%;
    --h3-size: 20px;
    --h3-weight: 600;
    --h3-lineheight: 22px;
    --h4-size: 18px;
    --h4-weight: 600;
    --h4-lineheight: 20px;
    --h5-size: 16px;
    --h5-weight: 600;
    --h5-lineheight: 18px;
    --p-big-size: 16px;
    --p-big-weight: 400;
    --p-big-lineheight: 17px;
    --p-regular-size: 14px;
    --p-regular-weight: 400;
    --p-regular-lineheight: 15px;
    --p-bold-weight: 600;
    --p-boldest-weight: 800;
    --default-page-width: 1440px;
    --max-default-page-width: calc(100vw - 40px);
    --hero-height-big: 450px;
    --hero-height-small: 250px;
    --default-tf-padding: 15px;
    --box-shadow-light: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
}

@media screen and (min-width: 768px) {
    :root {
        --hero-height-big: 500px;
        --hero-height-small: 300px;
        --h1-size: 54px;
        --h1-weight: 600;
        --h1-lineheight: 54px;
        --h2-size: 42px;
        --h2-lineheight: 50px;
        --h3-size: 32px;
        --h3-lineheight: 38px;
        --h4-size: 24px;
        --h4-lineheight: 28px;
        --h5-size: 20px;
        --h5-lineheight: 28px;
        --p-big-size: 18px;
        --p-big-lineheight: 24px;
        --p-regular-size: 14px;
        --p-regular-lineheight: 20px;
        --default-tf-padding: 50px;
        --article-column-count: 1;
    }
}

/* DEFAULT WIDTH ITEMS */
body {
    overflow-x: hidden;
}
nav.woocommerce-breadcrumb,
.sp-infocard-items,
.sp-basictextblock,
.sp-textblock-before-multi,
.sp-hero-contenttext,
.sp-facticon-items, 
.sp-standardwidth, .filters {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
}
.sp-standard-grid-container,
.sp-text-foto,
.sp-repeater,
.sp-logocard-items {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    row-gap: 30px;
    column-gap: 30px;
}
nav.woocommerce-breadcrumb,
.sp-infocard-items,
.sp-basictextblock,
.sp-hero-contenttext,
.sp-repeater {
    max-width: 100%;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 25px;
    padding-right: 25px;
}
@media screen and (min-width: 768px) {
nav.woocommerce-breadcrumb,
.sp-infocard-items,
.sp-basictextblock,
.sp-textblock-before-multi,
.sp-hero-contenttext,
.sp-facticon-items, 
.sp-standardwidth {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
}
    .sp-standard-grid-container,
.sp-text-foto,
.sp-repeater,
.sp-logocard-items {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    row-gap: 30px;
    column-gap: 50px;
}
    .sp-repeater.sp-infocard-items.sp-product-items {
        column-gap: 16px;
        row-gap: 40px;
    }
}

.sp-fullwidth-centered-p {
    grid-column: span 4;
}

@media screen and (min-width: 768px) {
    .sp-fullwidth-centered-p {
        grid-column: span 12;
    }
}
.multi-block-wrapper:has(.sp-logocard-items) {
    margin-top: 50px;
    margin-bottom: 50px;
}

.sp-logocard-items .sp-repeater-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sp-standard-grid-container,
.sp-text-foto,
.sp-repeater {
    grid-template-columns: repeat(4, 1fr);
}
.sp-logocard-items {
    grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 768px) {

    .sp-standard-grid-container,
    .sp-text-foto,
    .sp-repeater,
    .sp-logocard-items {
        grid-template-columns: repeat(12, 1fr);
    }

    .sp-repeater.sp-col-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    
}

/* FONTS */
/* h1-style */
.sp-pure-text h1.sp-main-header,
.sp-hero .sp-main-header {
    font-family: var(--primary-font);
    font-size: var(--h1-size);
    line-height: var(--h1-lineheight);
    font-weight: var(--h1-weight);
}

/* h2-style */
h1.sp-model-right-header,
.sp-text-foto h2.sp-main-header, 
.sp-pure-text .sp-main-header,
.sp-textblock-before-multi .sp-main-header {
    font-family: var(--primary-font);
    font-size: var(--h2-size);
    line-height: var(--h2-lineheight);
    font-weight: var(--h2-weight);
    margin: 0;
    margin-bottom: 10px;
}

/* h3 style */
.sp-infocard-items h2.sp-main-header {
    font-family: var(--primary-font);
    font-size: var(--h3-size);
    line-height: var(--h3-lineheight);
    font-weight: var(--h3-weight);
    margin: 0;
}

/* h4 style */
h2.woocommerce-loop-product__title,
.sp-logocard-items h2.sp-main-header {
    font-family: var(--primary-font);
    font-size: var(--h5-size);
    line-height: var(--h5-lineheight);
    font-weight: var(--h5-weight);
}

/* big paragraph style */
.sp-slideshowitems .sp-intro {
    font-family: var(--primary-font);
    font-size: var(--p-big-size);
    line-height: var(--p-big-lineheight);
    font-weight: var(--p-big-weight);
}

/* normal paragraph style LIGHT (standard)*/
nav.woocommerce-breadcrumb a,
.sp-text-foto,
.sp-pure-text .sp-content-text {
    font-family: var(--primary-font);
    font-size: var(--p-regular-size);
    line-height: var(--p-regular-lineheight);
    font-weight: var(--p-regular-weight);
}

/* ============= DEFAULT COLOR COMBOS =============== */
.sp-default-color,
.sp-default-color h1,
.sp-default-color h2,
.sp-default-color h3,
.sp-default-color h4,
.sp-default-color h5,
.sp-default-color p {
    color: white;
    background-color: var(--default-color);
}
/* ============== BUTTONS AND OTHER STANDARD ELEMENTS ============== */
.sp-linkbox:has(a.sp-buttonlink-2) {
    margin-top: 20px;
}
.sp-linkbox {
    display: flex;
    gap: 8px;
}
.sp-center .sp-linkbox {
    justify-content:center;
}
.sp-right .sp-linkbox {
    justify-content:right;
}
a.sp-buttonlink-2, button, a.wc-block-cart__submit-button {
    color: white;
    text-decoration: none;
    background-color: var(--bg-dark-color);
    padding: 10px 15px;
    border-radius: var(--default-button-border-radius);
}
.sp-breaker {
    padding-top: 50px;
    padding-bottom: 50px;
}
.sp-breaker.sp-breaker-nopadding-bottom {
    padding-bottom: 1px;
}
.sp-breaker.sp-breaker-smallpadding {
    padding-top: 1px;
    padding-bottom: 1px;
}
.sp-center { text-align: center; }
.sp-right { text-align: right; }
.sp-left { text-align: left; }

/* ============= IMAGE ASPECTS ============= */
/* special edition for logos, to make sure the complete logo is visible. Wide, with max width and height 100% */
.sp-logocard-items .sp-image-content {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.sp-logocard-items .sp-image-content img {
    object-fit: contain;
    max-height: 100% !important;
    width: 100%;
}

/* SQUARE*/
.sp-square .sp-image-content,
.sp-square .sp-icon-content,
.sp-product-gallery-image,
.sp-product-gallery-thumb,
.sp-product-loop-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* WIDE 16:9 */
.sp-wide .sp-image-content,
.sp-wide .sp-icon-content {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.sp-wide .sp-image-content:has(iframe) {
    width: 100%;
}

/* TALL 9:16 */
.sp-tall .sp-image-content,
.sp-tall .sp-icon-content {
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

/* ORIGINAL - NEEDS TWEAK */
.sp-original .sp-image-content,
.sp-original .sp-icon-content {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* ROUND */
.sp-quote-circular .sp-image-content {
    border-radius: 50%;
    display: block;
    padding-top: 100%;
    width: 100%;
    height: 0;
    overflow: hidden;
}

/* AUTOHEIGHT - MAYBE USE AS ORIGINAL? */
.sp-autoheight .sp-image-content {
    height: 100%;
    overflow: hidden;
}

.sp-autoheight .sp-image-content img {
    height: 100%;
    object-fit: cover;
}

/* COMMON FOR ALL IMG's WITH ASPECT, EXCEPT AUTOHEIGHT and LOGOS */
.sp-square .sp-image-content img,
.sp-square .sp-image-content iframe,
.sp-original .sp-image-content iframe,
.sp-wide .sp-image-content img,
.sp-wide .sp-image-content iframe,
.sp-tall .sp-image-content img,
.sp-tall .sp-image-content iframe,
.sp-quote-circular .sp-image-content img,
.sp-opt-pop-item .sp-image-content img,
.sp-repeater-item .sp-icon-content img,
.sp-repeater-item .sp-image-content img,
.sp-product-gallery-image img,
.sp-product-gallery-thumb img,
.sp-product-loop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.sp-video-image {
    height: 100%;
}

/* IMG FITTING PROPERTY */
.sp-image-content img {
    object-fit: cover;
}

.sp-contain .sp-image-content img,
.sp-contain .sp-icon-content img {
    object-fit: contain;
}

/* ============= DEFAULT SP-BLOCKS =============== */

/* GENERAL */
.sp-pre-header {
    margin-top: 0px;
    margin-bottom: 0;
}
.sp-intro {
    margin-bottom: 15px;
    max-width: 100%;
}

.sp-content-text {
    overflow: hidden;
}
/* BREAKER */
.sp-breaker:has(.sp-facticon-items) {
    padding: 25px;
}

/* TEXT-FOTO MAINBLOCK */
.sp-text-foto {
    border-radius: var(--default-border-radius);
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.sp-text-foto.sp-text-over-image {
    position: relative;
    display: block;
}
.sp-text-foto.sp-text-over-image .sp-text-container {
    padding-left: 50px;
    padding-right: 50px;
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: var(--sp-overlay-color);
}
@media screen and (min-width: 768px) {
    .sp-text-foto.sp-text-over-image .sp-text-box {
        width: 95%;
      max-width: 660px;
        display: flex;
        flex-direction: column;
      margin-left: auto;
      margin-right: auto;
  }
}
.sp-text-foto.sp-text-over-image .sp-image-content {
    display: block;
    width: 100%;
}

.sp-text-foto.sp-border-1 {
    border: 1px solid;
}

.sp-text-foto.sp-tf-padding .sp-image-container {
    padding: var(--default-tf-padding);
}

@media screen and (min-width: 768px) {
    .sp-text-foto {
        margin-top: 60px;
        margin-bottom: 60px;
    }
}

.sp-text-foto .sp-text-container {
    grid-column: span 4;
    order: 2;
}

.sp-text-foto .sp-image-container {
    grid-column: span 4;
}

@media screen and (min-width: 768px) {
    .sp-text-foto .sp-text-container {
        grid-column: span 6;
        order: 1;
    }

    .sp-text-foto .sp-image-container {
        grid-column: span 6;
        order: 2;
    }
    .sp-text-foto.sp-contain .sp-image-container {
        margin-right: var(--default-tf-padding);
    }
    .sp-text-foto.sp-contain.sp-flipright .sp-image-container {
        margin-left: var(--default-tf-padding);
        margin-right: 0px;
    }
    .sp-text-foto.sp-contain .sp-image-content {
        display: flex;
        align-items: center;
        max-width:  100%;
        max-height:  100%;
    }
    .sp-text-foto.sp-contain .sp-image-container img {
        border-radius: var(--default-border-radius) !important;
        min-height: unset !important;
        min-width: unset !important;
        width: 100%;
        height: 100%;
    }

    .sp-text-foto.sp-flipright .sp-text-container {
        order: 2;
    }

    .sp-text-foto.sp-flipright .sp-image-container,
    .sp-text-foto.sp-flipright.sp-tf-padding .sp-image-container {
        order: 1;
    }
}

.sp-text-foto .sp-text-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sp-text-foto .sp-text-container {
    padding-right: var(--default-tf-padding);
    padding-left: var(--default-tf-padding);
}

@media screen and (min-width: 768px) {
    .sp-text-foto:not(.sp-flipright).sp-no-bgcolor:not(.sp-border-1) .sp-text-container {
        padding-right: 0px;
        padding-left: 0px;
    }

    .sp-text-foto.sp-flipright.sp-no-bgcolor:not(.sp-border-1) .sp-text-container {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.sp-text-foto:not(.sp-flipright) .sp-image-container {
    display: flex;
    justify-content: end;
}

.sp-text-foto.sp-flipright .sp-image-container {
    border-top-left-radius: var(--default-border-radius);
    border-bottom-left-radius: var(--default-border-radius);
    overflow: hidden;
    margin-left: -1px;
}

.sp-text-foto.sp-flipright .sp-image-container {
    border-top-left-radius: var(--default-border-radius);
    border-bottom-left-radius: var(--default-border-radius);
    overflow: hidden;
    margin-left: -1px;
}

.sp-text-foto h2.sp-main-header {
    margin-bottom: 15px;
}

.sp-text-foto .sp-image-content img.sp-image {
    overflow: hidden;
    border-radius: var(--default-border-radius);
    display: block;
    min-width: 100%;
    min-height: 100%;
}
.sp-text-foto:not(.sp-bgcolor) .sp-image-content img.sp-image {
    border-radius: var(--default-border-radius);
}
.sp-text-foto.sp-tf-padding .sp-image-content {
    border-radius: var(--default-border-radius);
}
.sp-text-foto.sp-no-tf-padding.sp-bgcolor img.sp-image {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
    border-radius: unset;
    display: block;
}



/* HERO */
.sp-hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 25px;
    position: relative;
    height: var(--hero-height-big);
}
.sp-hero.sp-hero-small {
    height: var(--hero-height-small);
}
.sp-hero.sp-hero-big {
    height: var(--hero-height-big);
}

.sp-hero .sp-pre-header {
    color: white;
    margin: 0px;
}

.sp-hero .sp-main-header {
    color: white;
    margin: 0px;
    margin-bottom: 25px;
}

.sp-hero .sp-intro {
    color: white;
}

.sp-hero .sp-text-container {
    z-index: 9;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-hero .sp-text-box {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
}

.sp-hero.sp-hero-big .sp-image-container {
    height: var(--hero-height-big);
    overflow: hidden;
    z-index: 1;
}
.sp-hero.sp-hero-small .sp-image-container {
    height: var(--hero-height-small);
    overflow: hidden;
    z-index: 1;
}

.sp-hero .sp-image-content {
    height: 100%;
    width: 100%;
    display: flex;
}

.sp-hero .sp-image-container img {
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    object-fit: cover;
}
.sp-hero.sp-contain .sp-image-container img {
    object-fit: contain;
}

.sp-hero-contenttext {
    margin-top: 30px;
}


/* FACT ICONS */

.sp-facticon-items {
    display: flex;
    flex-direction: column;
}
@media screen and (min-width: 768px) {
    .sp-facticon-items {
        margin-top: 5px;
        margin-bottom: 5px;
        flex-direction: row;
        gap: 50px;
        justify-content: center;
    }
}
.sp-facticon-items .sp-repeater-item {
    display: flex;
    gap: 15px;
}
.sp-facticon-items .sp-repeater-item .sp-image-container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
}
.sp-facticon-items .sp-repeater-item .sp-image-container img {
    width: 32px;
    margin-bottom: 0;
    display: block;
}
.sp-facticon-items .sp-main-header {
    font-size: var(--p-big-size);
    font-weight: var(--p-big-weight);
    line-height: unset;
}


/* SLIDESHOW */
.sp-multi-slideshow-wrapper {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--default-border-radius);
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.sp-slideshow {
    position: relative;
}
.sp-slideshow:has(.sp-hero-big) {
    height: var(--hero-height-big);
    width: 100%;
}
.sp-slideshow:has(.sp-quoteblock) {
    height: 300px;
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px;
    padding-right: 50px;
}
.sp-slideshow .sp-hero-big {
    height: var(--hero-height-big);
}
.sp-noslidenav .sp-slideshowdots,
.sp-noslidenav .sp-slideshowdarrowprev,
.sp-noslidenav .sp-slideshowdarrownext {
    display: none;
}
.sp-slideshowdots {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding-bottom: 10px;
    z-index: 10;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.sp-slideshowdot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid black;

}

.sp-slideshowdot:not(.active) {
    cursor: pointer;
}

.sp-slideshowdot.active {
    background-color: black;
}

.sp-slideshowdarrowprev,
.sp-slideshowdarrownext {
    z-index: 2;
    height: 100%;
    width: 15px;
    position: absolute;
    cursor: pointer;
}

.sp-slideshowdarrowprev {
    content: url(assets/icons/chewron-left.svg);
    left: 0;
    margin-left: 5px;
    height: 100%;
}

.sp-slideshowdarrownext {
    content: url(assets/icons/chewron-right.svg);
    right: 0;
    height: 100%;
    margin-right: 5px;
}

.sp-slideshow .sp-slideshowitems {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.sp-slideshow .sp-slideshowitem,
.sp-slideshow .sp-slideshowitem .sp-image-content,
.sp-slideshow .sp-slideshowitem .sp-image-container {
    height: 100%;
}

.sp-slideshow .sp-slideshowitem .sp-image-content {
    display: flex;
}


.sp-slideshow.sp-standeffect .sp-slideshowitems,
.sp-slideshow.sp-slide .sp-slideshowitems {
    display: flex;
}

.sp-slideshow.sp-standeffect .sp-slideshowitem.first,
.sp-slideshow.sp-slide .sp-slideshowitem.first {
    left: 0;
}

.sp-slideshow.sp-standeffect .sp-slideshowitem,
.sp-slideshow.sp-slide .sp-slideshowitem {
    position: absolute;
    left: 100%;
    width: 100%;
}

.sp-slideshow .sp-slideshowitem:not(.first),
.sp-slideshow .sp-slideshowdot {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.sp-slideshow.sp-standeffect .sp-slideshowitem.active,
.sp-slideshow.sp-slide .sp-slideshowitem.active {
    left: 0;
}

.sp-slideshow.sp-standeffect .sp-slideshowitem.prev,
.sp-slideshow.sp-standeffect .sp-slideshowitem.ontheleft,
.sp-slideshow.sp-slide .sp-slideshowitem.prev,
.sp-slideshow.sp-slide .sp-slideshowitem.ontheleft {
    left: -100%;
}

.sp-slideshow.sp-standeffect .sp-slideshowitem.next,
.sp-slideshow.sp-standeffect .sp-slideshowitem.ontheright,
.sp-slideshow.sp-slide .sp-slideshowitem.next,
.sp-slideshow.sp-slide .sp-slideshowitem.ontheright {
    position: relative;
    left: 100%;
}

.sp-slideshow.sp-fade .sp-slideshowitem {
    position: absolute;
    left: 0px;
    width: 100%;
}

.sp-slideshow.sp-fade .sp-slideshowitem:not(.active):not(.first) {
    opacity: 0;
}

.sp-slideshow.sp-fade .sp-slideshowitem.active,
.sp-slideshow.sp-fade .sp-slideshowitem.first {
    opacity: 1;
}

.sp-slideshow .sp-slideshowitem .sp-text-container {
    position: absolute;
    top: 125px;
    color: white;
    width: 100%;
}

.sp-slideshow .sp-hero .sp-text-box {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
}

.sp-slideshow .sp-slideshowitem .sp-image-container img {
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
}

/* slideshow logo infinityloop */

.sp-slideshow.sp-slide .sp-slideshowitems:has(.sp-logocard-infinity-item) {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;

    flex-wrap: nowrap;
    gap: 15px;
    height: 150px;
}
.sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item {
    width: 70%;
    flex-shrink: 0;
    height: 100%;
}
.sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item img {
    object-fit: contain;
}
.sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item.active,
.sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item.first  {
    position: relative;
    left: 0px;
}
.sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item.ontheright {
    position: relative;
    left: auto;
}
.sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item.ontheleft {
    position: relative;
    right: 100%;
    width: 0px;
}
.sp-slideshow .sp-slideshowitem.sp-logocard-infinity-item .sp-image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media screen and (min-width: 768px) {
   .sp-slideshow.sp-slide .sp-slideshowitem.sp-logocard-infinity-item {
    width: 15%;
}   
}

/* LOOP BLOCKS */
.sp-infocard-items .sp-repeater-item {
    grid-column: span 4;
    position: relative;
    
}

.sp-infocard-items .sp-text-container {
    margin-bottom: 25px;
}

.sp-repeater {
    display: grid;
}
.sp-repeater .sp-image-container {
    border-radius: var(--default-border-radius);
    overflow: hidden;
}

.sp-border-1 .sp-repeater-item {
    border: 1px solid var(--default-border-color);
    padding: 10px;
}
.sp-infocard-items .sp-repeater-item .sp-text-box {
    margin-top: 25px;
    
}
.sp-infocard-items .sp-repeater-item:has(.sp-text-box .sp-linkbox) {
    padding-bottom: 66px;
}
.sp-infocard-items .sp-repeater-item .sp-text-box .sp-linkbox {
    margin-top: 25px;
    margin-bottom: 0px;
    position: absolute;
    bottom: 0px;
}

.sp-col-1 .sp-repeater-item {
    grid-column: span 4;
}

.sp-col-2 .sp-repeater-item {
    grid-column: span 4;
}

.sp-col-3 .sp-repeater-item {
    grid-column: span 4;
}

.sp-col-4 .sp-repeater-item {
    grid-column: span 2;
}

.sp-col-5 .sp-repeater-item {
    grid-column: span 2;
}

.sp-col-6 .sp-repeater-item {
    grid-column: span 2;
}


@media screen and (min-width: 768px) {
    .sp-col-1 .sp-repeater-item {
        grid-column: span 12;
    }

    .sp-col-2 .sp-repeater-item {
        grid-column: span 6;
    }

    .sp-col-3 .sp-repeater-item {
        grid-column: span 4;
    }

    .sp-col-4 .sp-repeater-item {
        grid-column: span 3;
    }

    .sp-col-5 .sp-repeater-item {
        grid-column: span 1;
    }

    .sp-col-6 .sp-repeater-item {
        grid-column: span 2;
    }
}
.sp-logocard-items .sp-repeater-item {
    grid-column: span 1;
}
@media screen and (min-width: 768px) {
    .sp-logocard-items.sp-col-1 {
        grid-template-columns: 1fr;
    }
    .sp-logocard-items.sp-col-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sp-logocard-items.sp-col-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sp-logocard-items.sp-col-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sp-logocard-items.sp-col-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .sp-logocard-items.sp-col-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
/* INFINITY LOOP */
.sp-infinity-loop {
    position: relative;
    /* overflow: visible; */
}
.sp-infinity-loop .sp-repeater, .sp-repeater.sp-infinity-loop {
    display: flex;
    flex-wrap: nowrap;
    overflow-x:auto;
    scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
    margin-top: 50px;
    gap: 15px;
    
     /* 25 px «luft» over scrollbar */
     padding-bottom: 50px;

 }
 
 /* --------------- WebKit‑familien --------------- */
 
 /* Hele sporet */
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar:horisontal {
     height: 8px; /* hvor tynn du vil ha den */
 }
 
  /* --- Skjul ALLE pilknapper i Chrome/Edge/Safari --- */
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-button,
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-button:single-button,
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-button:start,
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-button:end,
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-button:increment,
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-button:decrement {
     display: none;
     width: 0;
     height: 0;
 }
 
 /* (valgfritt) Skjul spor‑bakgrunnen helt */
 .sp-infinity-loop .sp-repeater::-webkit-scrollbar-track {
     background: blue;
     color: cyan;
 }
.sp-infinity-loop .sp-repeater .sp-repeater-item, .sp-repeater.sp-infinity-loop .sp-repeater-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 90%;
}
.sp-scroll-right-infinity, .sp-scroll-left-infinity {
    display: none;
}
@media screen and (min-width: 768px) {
    .sp-infinity-loop .sp-repeater .sp-repeater-item {
        width: calc(33% + 10px);
        padding-left: 0px;
    }
    .sp-scroll-right-infinity {
		cursor: pointer;
		display: block;
		position: absolute;
		content: url(assets/icons/chewron-right.svg);
		right: 60px;
		top: calc(50% - 100px);
		width: 50px;
		height: 50px;
		border-radius: 50%;
		background-color: var(--bg-light-color);
		z-index: 999;
	}
	.sp-scroll-left-infinity {
		cursor: pointer;
		position: absolute;
		content: url(assets/icons/chewron-left.svg);
		left: 25px;
		top: calc(50% - 100px);
		width: 50px;
		height: 50px;
		border-radius: 50%;
		background-color: var(--bg-light-color);
		z-index: 999;
	}
}
@media screen and (min-width: 1440px) {
    .sp-scroll-right-infinity {
        right: calc((100vw - var(--default-page-width) - 12px) / 2 );
    }
    .sp-scroll-left-infinity {
        left: calc((100vw - var(--default-page-width)) / 2 - 10px);
    }
    
}

/* special HERO in repeater */
.sp-repeater.sp-imageasbackground {
    width: 100%;
    padding: 0;
    column-gap: 0;
    row-gap: 0;
}
.sp-repeater.sp-imageasbackground .sp-repeater-item {
    position: relative;
}
.sp-repeater.sp-imageasbackground .sp-text-box {
    z-index: 9;
    position: absolute;
    top: 0px;
    margin-top: 0px;
    padding: 25px;
    background-color: var(--sp-overlay-color);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sp-repeater.sp-imageasbackground .sp-image-container {
    border-radius: unset;
}

/* ARTICLE - PRELIMINARY, TAGS FROM SP NOT FINALIZED */
.sp-pure-text {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}
.sp-pure-text.sp-bgcolor .sp-text-box {
    padding: 25px;
}
.sp-pure-text:has(.sp-readmore):not(.sp-expanded) .sp-text-container {
    max-height: 400px;
    overflow: hidden;
    position: relative;
}
.sp-pure-text.sp-unfolded:has(.sp-readmore) .sp-text-container {
    max-height: unset;
    overflow: hidden;
    position: relative;
}
@media screen and (min-width: 768px) {
	.sp-pure-text.sp-article-wide .sp-text-container {
		margin-left: unset;
		margin-right: unset;
		max-width: 1200px;
		padding: unset;
	}
	.sp-pure-text.sp-article-wide .sp-text-box {
		margin-left: unset;
		margin-right: unset;
		max-width: 1200px;
		padding: unset;
	}
}
.sp-pure-text:has(.sp-readmore):not(.sp-expanded) .sp-text-container:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px; /* Adjust the height for the fade effect */
  background: linear-gradient(transparent, var(--breaker-bg, white)); /* Gradient fade effect */
}
.sp-readmore {
    cursor: pointer;
}

.sp-pure-text .sp-bg-light-color {
    background-color: var(--bg-light-color);
}

.sp-pure-text .sp-content-text,
.sp-pure-text .sp-intro {
    padding-top: 25px;
    column-count: var(--article-column-count);
}

.sp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  width: var(--default-page-width);
  max-width: var(--max-default-page-width);
  margin-left: auto;
  margin-right: auto;
}

.sp-dividerline {
  flex-grow: 1;
  height: 1px;
  background-color: #ccc;
}

.sp-divider .sp-image {
  margin: 0 10px; /* Adjust the margin to your needs */
  width: 40px; /* Adjust the size of the image */
  height: auto;
}

/* PRODUCT PLAN / PRICING PLAN STYLES */
.sp-productplans-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 30px;
    column-gap: 30px;
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .sp-plan {
    grid-column: span 4;
  }
  @media screen and (min-width: 768px) {
    .sp-productplans-main {
        grid-template-columns: repeat(12, 1fr);
    }        
    .sp-productplans-main.sp-col-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .sp-col-1 .sp-plan {
        grid-column: span 12;
    }
    .sp-col-2 .sp-plan {
        grid-column: span 6;
    }
    .sp-col-3 .sp-plan {
        grid-column: span 4;
    }
    .sp-col-4 .sp-plan {
        grid-column: span 3;
    }
    .sp-col-5 .sp-plan {
        grid-column: span 1;
    }
    .sp-col-6 .sp-plan {
        grid-column: span 2;
    }
  }
  .sp-plan-header {
    float: right;
    border-bottom: var(--default-stroke-color) 2px solid;
    font-weight: 800;
  }
  .sp-plan-element-group {
    border-radius: var(--default-border-radius);
    padding: 25px;
    margin-top: 25px;
  }
  .sp-plan-element-group.sp-priceinfo {
    box-shadow: var(--box-shadow-light);
    padding: 50px;
  }
  .sp-plan-element-group.sp-priceinfo .sp-plan-mainheader {
    font-size: var(--h5-size);
    font-weight: var(--h5-weight);
  }
  .sp-plan-element-group.sp-priceinfo .sp-plan-preheader {
    font-size: var(--h5-size);
    font-weight: var(--h5-weight);
  }
  .sp-plan-element-group.sp-priceinfo .sp-plan-group-textcontent {
    position: relative;
  }
  .sp-plan-element-group.sp-priceinfo .sp-plansplash {
       background-color: var(--bg-dark-color);
      font-family: var(--primary-font);
      font-size: var(--h5-size);
      font-weight: var(--h5-weight);
      line-height: var(--h5-lineheight);
      text-transform: uppercase;
      padding: 10px 15px 7px 15px;
      border-radius: var(--default-border-radius);
    position: absolute;
    right: 0;
    top: 0;
  }
  .sp-plan-element-group.sp-priceinfo .sp-plan-price-price {
    font-size: var(--h1-size);
  }
  
  .sp-plan-element-group.sp-plan-options {
    margin-top: 75px;
    position: relative;
  }
  .sp-plan-element-group.sp-plan-options .sp-plan-preheader {
    position: absolute;
    top: -40px;
    left: -25px;
    padding-left: 25px;
    font-size: var(--h3-size);
    font-weight: var(--h3-weight);
  }
  
  .sp-plan-element-group.sp-plan-options,
  .sp-plan-element-group.sp-plangroup {
    display: grid;
    grid-template-columns: 1fr 4fr 2fr; 
    column-gap: 15px;
    border: 1px solid var(--discrete-border);
  }
  .sp-plan-element-group.sp-plan-options img,
  .sp-plan-element-group.sp-plangroup img {
    display: block;
    height: 50px;
  }
  .sp-plan-element-group.sp-plan-options .sp-image-container,
  .sp-plan-element-group.sp-plan-options .sp-plan-group-textcontent,
  .sp-plan-element-group.sp-plan-options .sp-planlinkbox,
  .sp-plan-element-group.sp-plangroup .sp-image-container,
  .sp-plan-element-group.sp-plangroup .sp-plan-group-textcontent,
  .sp-plan-element-group.sp-plangroup .sp-planlinkbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sp-plan-element-group.sp-plan-options .sp-plan-mainheader,
  .sp-plan-element-group.sp-plangroup .sp-plan-mainheader {
    font-size: var(--p-big-size);
    font-weight: 600;
    text-transform: uppercase;
  }
  .sp-planhcild-element {
    position: relative;
  }
  .sp-planhcild-element:has(.sp-plan-mouseover) {
    cursor: pointer;
  }
  
  .sp-planhcild-element .sp-plan-mouseover {
    display: none;
    pointer-events: none;
  }
  .sp-planhcild-textline {
    display: flex;
    gap: 5px;
  }
  .sp-planhcild-textline {
    line-height: 20px;
    font-size: var(--p-regular-size);
    font-weight: 500;
    margin-top: 10px;
  }
  .sp-planhcild-element .sp-planhcild-textline:before {
    content: "x";
    display: inline-block;
  }
  
  .sp-planhcild-element:has(.sp-planhcild-textline:hover) .sp-plan-mouseover {
    display: block;
    position: absolute;
    background-color: white;
    border: 1px solid black;
    padding: 2px 7px;;
    border-radius: var(--default-border-radius);
    z-index: 2;
    left: 50%;
    top: 5px;
    box-shadow: var(--box-shadow-light);
    font-size: var(--p-regular-size);
  }
  .sp-plan-element-group.sp-priceinfo .sp-planlinkbox {
      margin-top: 20px;
  }
  .sp-plan-element-group.sp-priceinfo .sp-planlinkbox .sp-linkitem a {
      width: 100%;
  }

  /* styling sp-filters */
  .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown {
    display: none;
  }
  /* slide down .sp-filter-dropdown.open */
  .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown.open {
    display: block;
  }
.filter-options {
    display: flex;
    gap: 25px;
    
}
  .filter-option {
    display: flex;
    gap: 5px;
    padding: 10px;
      cursor: pointer;
      color: white;
    text-decoration: none;
    background-color: var(--bg-dark-color);
    padding: 10px 15px;
    border-radius: var(--default-button-border-radius);
  }
  .sp-filtergroup label {
    display: flex;
    gap: 5px;
    padding: 10px;
  }
.sp-filter-header-trigger {
    cursor: pointer;
}
.reset-filters {
    cursor: pointer;
    color: white;
    text-decoration: none;
    background-color: var(--bg-dark-color);
    padding: 10px 15px;
    border-radius: var(--default-button-border-radius);
}
.activefilter-item-deleter {
    cursor: pointer;
    padding: 4px;
    margin-bottom: 15px;
}
.filter-option.active {
    background-color: var(--bg-dark-color); /* BlÃ¥ bakgrunn pÃ¥ aktivt valg */
    color: white;
    font-weight: bold;
}
label:has(input.disabled) {
    display: none;
}

/* video display - HERO */
/* general */
.sp-hero .sp-image-content.sp-video-content {
    min-height: 100%;
}

/* YOUTUBE */
.sp-hero .sp-image-content iframe.sp-youtube-video {
    width: 100%;
    height: 100%;
}
/* VIMEO */
.sp-hero .sp-image-content iframe.sp-vimeo-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    max-height: unset;
    max-width: unset;
}
@media screen and (min-width: 768px) {
    .sp-hero .sp-image-content iframe.sp-vimeo-video {
        width: 100%;
    }
}
.sp-hero.sp-hero-big .sp-image-content iframe.sp-vimeo-video {
    min-height: var(--hero-height-big); 
}
.sp-hero.sp-hero-small .sp-image-content iframe.sp-vimeo-video {
    min-height: var(--hero-height-small); 
}
.sp-hero .sp-video-container:has(.sp-image-content iframe.sp-vimeo-video) {
    position: relative;
  overflow: hidden;
  min-width: 100%;
}
.sp-hero.sp-hero-big .sp-video-container:has(.sp-image-content iframe.sp-vimeo-video) {
    height: var(--hero-height-big); 
}
.sp-hero.sp-hero-small .sp-video-container:has(.sp-image-content iframe.sp-vimeo-video) {
    height: var(--hero-height-small); 
}
/* SKYPIM */
.sp-hero .sp-video-container video.sp-video-content {
    min-width: 100%;
    min-height: 100%;
    max-height: unset;
    max-width: unset;
    object-fit:cover;
}
/* video display - tekst-foto med text ovenpå billede */
.sp-text-foto.sp-text-over-image:has(.sp-video-container) {
    aspect-ratio: 16 / 9;
}
.sp-text-foto.sp-text-over-image .sp-image-container, 
.sp-text-foto.sp-text-over-image .sp-image-container iframe,
.sp-text-foto.sp-text-over-image .sp-image-container video {
    height: 100%;
    width: 100%;
}

/* youtube */
/* .sp-text-foto.sp-text-over-image .sp-image-content iframe.sp-youtube-video {
    width: 100%;
    height: 100%;
} */


/* video display - tekst-foto med text på siden */
/* skypim video */
.sp-text-foto:not(.sp-text-over-image) video.sp-video-content {
    width: 100%;
    /* height: 100%; */
    /* min-height: 100%; */
    min-width: 100%;
    max-height: unset;
    max-width: unset;
}
/* youtube video */
.sp-text-foto:not(.sp-text-over-image) .sp-image-content:has(.sp-youtube-video) {
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    max-height: unset;
    max-width: unset;
    aspect-ratio: 16 / 9;
}
.sp-text-foto:not(.sp-text-over-image) .sp-image-content iframe.sp-youtube-video {
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    max-height: unset;
    max-width: unset;
}

/*
.sp-video-container .sp-image-content video {
    object-fit: cover;
}
.sp-video-container .sp-image-content video {
    height: 100%;
    top: 0;
    position: absolute;
}*/

/* ============= VIDEO POPUP =============== */
/* Hide popup by default; use flex to center content when active */
.sp-video-popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  
  /* Show popup when active */
  .sp-video-popup-container.active {
    display: flex;
  }
  
  /* The inner popup element with relative positioning */
  .sp-video-popup {
    position: relative;
    background: #000; /* fallback background */
    max-width: 80%;
    box-sizing: border-box;
    width: 1024px;
    max-height: 80%;
    aspect-ratio: 16 / 9;
  }
.sp-video-popup video {
    max-width: 100%;
}
  
  /* Close button inside the popup (upper right corner) */
  .popup-close {
    position: absolute;
    bottom: 100%;
    right: 0px;
    background: var(--default-color);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor:  pointer;
  }