/*
Theme Name: Ringsted Dun customized Theme
Theme URI: https://brightsolutions.dk
Description: Customer specific child theme for the Ringsted Master theme, designed for Ringsted Dun
Author: Tommy Martinsen
Author URI: https://brightsolutions.dk
Template: ringsted-master
Version: 2.0.54
Text Domain: brightsky-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ============== FONTS AND COLORS =============== */
@font-face {
    font-family: 'Caveat';
    src: url(assets/fonts/Caveat-Regular.ttf) format('truetype');
    font-weight: 600;
}
.custom-font {
    font-family: Caveat, gill-sans-nova, sans-serif;
	font-size: 42px;
	margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
	.custom-font {
		font-size: 48px;
	}
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
:root {
    
    --default-color: #a6192e;
    --ringsted-rod: #a6192e;
    /* tidligere primary-color */
    --ringsted-text: #1B1B1D;
    /* tidligere text / color-secondyry-1) */
    --ringsted-bg-dark: #4F4E4D;
    --ringsted-bg-light: #F5F5F5;
    --ringsted-bg-extra-light: #F5F5F580;
    --ringsted-bg-menu: #BEBDBC;
    --ringsted-stroke: #D9D9D9;
    --primary-font: gill-sans-nova !important;
    --sp-overlay-color: #00000030;
    --graytext: #414c54;
    --p-regular-size: 16px !important;
    --p-big-size: 18px !important;
    --p-regular-lineheight: 20px !important;
    --p-big-lineheight: 24px !important;
    --p-regular-weight: 300 !important;
    --p-big-weight: 300 !important;
    --h1-size: 42px;
    --h1-lineheight: 50px;
    --h2-size: 32px;
    --h2-lineheight: 38px;
    --h3-size: 28px;
    --h3-lineheight: 28px;
    --h4-size: 24px;
    --h4-lineheight: 28px;
    --h5-size: 18px;
    --h5-lineheight: 22px;
    --hero-height-big: 420px;
    --default-border-radius: 25px;
    --smaller-border-radius: 15px;
    --prodloop-border-radius: 20px;
	--default-button-border-radius: 100px;
    --pagecontainer-width: 1440px;
	--default-page-width: 1343px;
	--mobile-margins: 25px;

	--fwitem-position: relative;
	--fwitem-width: var(--pagecontainer-width);
	--fwitem-maxwidth: 100vw;
	--fwitem-right: var(--mobile-margins);
}

@media screen and (min-width: 768px) {
    :root {
--prodloop-border-radius: 20px;
--p-regular-size: 16px !important;

--p-big-size: 18px !important;

--p-regular-lineheight: 22px !important;

--p-big-lineheight: 24px !important;

--hero-height-big: 600px;

--h1-size: 54px;

--h1-lineheight: 64px;

--h2-size: 42px;

--h2-lineheight: 50px;

--h3-size: 32px;

--h3-lineheight: 38px;

--h5-size: 18px;

--h5-lineheight: 22px;

		--hero-height-small: 280px;
		--fwitem-right: 15px;

}
}
@media (min-width: 1445px) {
    :root {
        --fwitem-right: calc((var(--pagecontainer-width) - var(--default-page-width)) / 2);
    }
}
.page {
	margin-bottom: 0;
}
/* ============== IMAGE FORMATS =============== */

/* text-foto med text over image and page-with preview video */
.sp-text-foto.sp-text-over-image .sp-image-container {
    
    display: block;
}
.sp-text-foto.sp-text-over-image .sp-image-content {
        aspect-ratio: 0.7;
    }
.sp-text-foto.sp-text-over-image {
	aspect-ratio: unset;
	
}
@media screen and (min-width: 768px) {
    .sp-text-foto.sp-text-over-image {
        aspect-ratio: 2.26;
    }
    .sp-text-foto.sp-text-over-image:has(.sp-video-container) {
        aspect-ratio: 2.26;
    }
    .sp-text-foto.sp-text-over-image .sp-image-container .sp-image-content {
        aspect-ratio: 2.26;
    }
}

.sp-text-foto.sp-text-over-image img {
    min-width: 100%;
}
@media screen and (min-width: 768px) {
    .sp-text-foto.sp-text-over-image img,
    .sp-text-foto.sp-text-over-image .sp-image-content
     {
        border-radius: var(--default-border-radius) !important;
    }
}
.sp-text-foto.sp-text-over-image .sp-video-container:has(.sp-image-content iframe.sp-vimeo-video) {
    position: relative;
  overflow: hidden;
  min-width: 100%;
}
.sp-text-foto.sp-text-over-image .sp-image-content:has(iframe.sp-vimeo-video) {
    position: relative;
}
.sp-text-foto.sp-text-over-image .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;
    height: 510px;
    width: 1920px;
}
@media screen and (min-width: 768px) {
    .sp-text-foto.sp-text-over-image .sp-image-content iframe.sp-vimeo-video {
        height: 10800px;
        min-height: 100%;
        width: 1920px;
        min-width: 100%;
    }
}
.sp-text-foto.sp-text-over-image .sp-image-content video {
    min-height: 100%;
    height: 510px;
    width: unset;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
    .sp-text-foto.sp-text-over-image .sp-image-content video {
        width: 100%;
        height: unset;
    }
}

/* text foto med luft og vanlig text-foto (bgcolor uden luft har andet aspect) */
.sp-text-foto:not(.sp-text-over-image) .sp-image-content {
    aspect-ratio: 1.11;
    overflow: hidden;
    width: 100%;
}
.sp-text-foto:not(.sp-text-over-image).sp-text-foto-dynevalg .sp-image-content {
	aspect-ratio: 392 / 400;
}
@media screen and (min-width: 768px) {
.sp-text-foto:not(.sp-text-over-image).sp-text-foto-dynevalg .sp-image-content {
	aspect-ratio: 701 / 766;
}
}
.sp-text-foto:not(.sp-text-over-image).sp-text-foto-dynevalg .sp-image-content img {
	border-radius: unset;
}
.sp-text-foto:not(.sp-text-over-image) .sp-video-container .sp-image-content {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width: 100%;
    /* height:  120%; */
}
.sp-text-foto.sp-tf-padding:not(.sp-text-over-image) .sp-video-container .sp-image-content {
	display: flex;
	align-items: center;
}
.sp-text-foto.sp-tf-padding:not(.sp-text-over-image) .sp-video-container .sp-image-content .sp-video-content {
	border-radius: var(--default-border-radius);
}
.sp-text-foto.sp-bgcolor.sp-no-tf-padding .sp-image-content {
    aspect-ratio: 1.28;
    overflow: hidden;
}
@media screen and (min-width: 768px) {
    .sp-text-foto.sp-bgcolor.sp-no-tf-padding .sp-image-content {
        aspect-ratio: 1.22;
        overflow: hidden;
    }
	.sp-text-foto.sp-tf-padding:not(:has(.sp-main-header)) {
		padding: 42px;
	}
	.sp-text-foto:not(:has(.sp-main-header)) {
		grid-auto-rows: auto;
		align-items: stretch;
	}
	.sp-text-foto:not(:has(.sp-main-header)) .sp-text-box {
		padding: 24px 0px;
	}
	.sp-text-foto:not(:has(.sp-main-header)) .sp-image-container {
		display: flex;
		position: relative;
	}
	.sp-text-foto:not(:has(.sp-main-header)) .sp-image-content {
		aspect-ratio: unset;
	}
	.sp-text-foto:not(:has(.sp-main-header)) .sp-image-content img {
		height: 100%;
		display: block;
		object-fit: cover;
		position: absolute;
	}
	.sp-text-foto .sp-image-container.sp-foto2 .sp-image-content {
		display: flex;
		aspect-ratio: 538 / 400;
		justify-content: center;
	}
	.sp-text-foto .sp-image-container.sp-foto2 img {
		max-width: 450px;
		max-height: 350px;
	}
}
.sp-text-foto.sp-tf-padding {
	padding: 24px;
	gap: 24px;
}
@media screen and (min-width: 768px) {
	.sp-text-foto.sp-tf-padding {
		padding: 75px;
		gap: 75px;
	}
}
.sp-text-foto.sp-tf-padding .sp-text-container {
	padding: 0px;
	margin: 0;
}
.sp-text-foto.sp-tf-padding .sp-image-container {
	order: 2;
	padding: 0px;
}
.sp-text-foto.sp-text-foto-dynevalg .sp-main-header {
	font-size: 42px;
	line-height: 50px;
	margin-top: 12px;
}

.sp-repeater-items .sp-repeater-item .sp-image-content, 
.sp-repeater .sp-repeater-item .sp-image-content {
    aspect-ratio: 1.29;
    overflow: hidden;
}
@media screen and (min-width: 768px) {
    .sp-repeater.sp-col-2:not(.sp-dykonlook) .sp-image-content {
        aspect-ratio: 1.95;
    }
}
/* dykonlook image aspect - different on desktop and mobile */

.sp-dykonlook .sp-image-content {
    aspect-ratio: 0.81 !important;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .sp-dykonlook .sp-image-content {
        aspect-ratio: 1.56 !important;
        overflow: hidden;
    }
}
/* dykonlook square loop */
.sp-repeater.sp-dykonlook-square .sp-repeater-item .sp-image-content {
    aspect-ratio: 1.01;
}
/* product images */
.sp-product-loop-image {
    aspect-ratio: 1.02;
    overflow: hidden;
}
.sp-product-gallery-image, .sp-product-gallery-thumb {
    aspect-ratio: 1.32;
    overflow: hidden;
}


/* -----------------
    GENERAL STYLES
------------------- */
#page, body {
	background-color: #eee;
}
main {
    font-family: var(--primary-font);
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
}

.sp-topbar {
    height: 50px;
    background-color: #a6192e;
}

p.sp-fullwidth-centered-p {
    padding-top: 14px;
}
header#masthead {
	color: var(--ringsted-text);
	max-width: var(--pagecontainer-width);
	margin-left: auto;
	margin-right: auto;
}
header#masthead {
	top: 0px;
}
@media screen and (min-width: 768px) {
header#masthead:has(.sp-topbar) {
	top: -50px;
}
}
.sp-header-secondrow {
    background-color: white;
    top: 80px;
    z-index: 999;
}
@media screen and (min-width: 768px) {
	.sp-header-secondrow {
     position: sticky;
}
}
.sp-header-secondrow a { 
    color: var(--ringsted-text);
}

.sp-infosection {
    display: none;
}
.sp-readmore {
	text-align: center;
	font-size: var(--p-big-size);
	font-weight: 600;
}
@media screen and (min-width: 768px) {
	.sp-pure-text .sp-readmore {
		text-align: unset;
		max-width: 884px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 25px;
	}
	.sp-pure-text.sp-center .sp-readmore {
		padding-left: unset;
	}
}
.sp-readmore:after {
	content: url(assets/icons/chewron-down.svg);
}
.sp-pure-text:has(.sp-readmore) .sp-text-container {
	margin-bottom: unset;
}
.sp-intro {
    font-size: var(--p-big-size);
    font-weight: 300;
    font-family: var(--primary-font);
    line-height: var(--p-big-lineheight);
}

/* langage selector */
.sp-langselector-outer a {
    color: var(--ringsted-text);
    position: relative;
    display: flex;
    gap: 10px;
}

.sp-langselector-outer .sp-currentlang .sp-langname:after {
    content: url(assets/icons/chewron-down.svg);
    margin-left: 5px;
}

.sp-currentlang {
    cursor: pointer;
	color: var(--ringsted-text);
}

.sp-langselector-listbox {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    width: max-content;
}
.sp-infosection img.sp-langflag {
    width: 24px;
}

.sp-infosection .sp-langselector-item {
    display: flex;
    gap: 10px;
}

.sp-langselector-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: max-content;
}


.main-navigation a {
    color: var(--ringsted-text);
    font-size: 20px;
    font-weight: 400;
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: unset;
}

@media screen and (min-width: 768px) {
    .main-navigation ul {
        flex-direction: row;
    }

    .main-navigation ul ul {
        position: absolute;
        top: 57px;
        padding-left: 25px;
        left: -25px;
    }

    .main-navigation ul ul.sub-menu:before {
        content: "";
        width: 100%;
        height: 32px;
        position: absolute;
        bottom: 100%;
        left: 0;
    }
}

.main-navigation li {
    height: unset;
}

img.mobilemenu-subselector {
    float: right;
    margin-right: 15px;
    margin-top: 6px;
}
@media screen and (max-width: 768px) {
	ul#primary-menu {
		padding-left: var(--mobile-margins);
		padding-right: var(--mobile-margins);
		display: block;
	}
	.menu-item-has-children {
		align-items:center;
	}
	img.mobilemenu-subselector {
		margin-top: unset;
		margin-right: 0px;
		padding-right: 16px;
		padding-top: 10px;
		padding-bottom: 10px;
		height: 100%;
	}

    .sp-menu-section {
        padding: unset;
    }
	.sp-mobile-menu-header {
		padding: 15px;
		padding-bottom: unset;
	}
	.sub-menu .menu-item {
		padding-left: 15px;
	}
	.sp-langselector-outer {
		padding: 5px var(--mobile-margins);
	}
}

img.mobilemenu-backselector {
    margin-top: 5px;
}

.main-navigation ul li:hover:after {
    display: none;
}

.sp-mi-main-dyner,
.sp-mi-main-puder {
    background-color: var(--ringsted-bg-menu);
    padding-bottom: 10px;
}

.sp-mi-mobile-dynetest a {
	color: white;
}
.sp-mi-mobile-dynetest:before {
	content: url(assets/icons/bedfront-white.svg);
        display: inline-block;
        margin-right: 5px;
        margin-top: 5px;
}


@media screen and (min-width: 768px) {
	.sp-mi-mobile-dynetest {
		display: none;
	}

    .sp-mi-main-dyner,
    .sp-mi-main-puder,
    .sp-mi-main-mega {
        background-color: unset;
        padding-bottom: 0px;
        display: unset;
    }
}

.sp-mi-main-dyner a,
.sp-mi-main-puder a{
    font-size: 24px;
}

.sp-mi-main-dyner ul li a,
.sp-mi-main-puder ul li a {
    font-size: 20px;
    margin-left: 0px;
}

.sp-mi-main-dyner ul li,
.sp-mi-main-puder ul li {
    margin-bottom: 25px;
}

.sp-mi-main-dyner,
.sp-mi-main-puder{
    flex-direction: column;
    overflow: hidden;
}


@media screen and (min-width: 768px) {
	#primary-menu li.current-page-ancestor:first-child > a,
	#primary-menu li.current-menu-item > a,
	#primary-menu li.current-menu-ancestor > a {
		color: var(--ringsted-rod)  !important;
		
	}
    .sp-mi-main-puder,
    .sp-mi-main-mega {
        position: unset !important;
    }
    .sp-mi-main-puder ul,
    .sp-mi-main-mega ul {
        top: 85px !important;
    }
    .sp-mi-main-dyner ul,
    .sp-mi-main-puder ul,
    .sp-mi-main-mega ul {
        left: -25px !important;
        padding-left: 25px;
    }
    .sp-mi-main-dyner a,
    .sp-mi-main-puder a,
    .sp-mi-main-mega a {
        font-size: 24px;
        margin-left: 0px;
    }

    .sp-mi-main-dyner ul li a,
    .sp-mi-main-puder ul li a,
    .sp-mi-main-mega ul li a {
        font-size: 18px;
        margin-left: 0px;
        font-weight: 600;
    }

    .sp-mi-main-dyner ul li ul li a,
    .sp-mi-main-puder ul li ul li a,
    .sp-mi-main-mega ul li ul li a {
        font-weight: 400;
        margin-bottom: 15px;
    }

    .sp-mi-main-dyner ul li,
    .sp-mi-main-puder ul li,
    .sp-mi-main-mega ul li {
        margin-bottom: 4px;
    }

    .sp-mi-main-dyner,
    .sp-mi-main-puder,
    .sp-mi-main-mega {
        flex-direction: column;
        overflow: unset;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .sp-mi-main-puder::before,
    .sp-mi-main-dyner::before,
    .sp-mi-main-mega::before {
        
        display: none;
        
    }

    .sp-mi-main-dyner ul.sub-menu,
    .sp-mi-main-puder ul.sub-menu,
    .sp-mi-main-mega ul.sub-menu {
        width: calc(var(--default-page-width) + 50px);
    }
	
	.sp-mi-main-dyner:not(:has(.megamenu-reklameblok)) > ul.sub-menu,
    .sp-mi-main-puder:not(:has(.megamenu-reklameblok)) > ul.sub-menu,
    .sp-mi-main-mega:not(:has(.megamenu-reklameblok)) > ul.sub-menu {
		width:max-content;
		padding-right: 25px;
	}
	

    .sp-mi-main-dyner ul.sub-menu:hover,
    .sp-mi-main-dyner:hover ul.sub-menu,
    .sp-mi-main-puder ul.sub-menu:hover,
    .sp-mi-main-puder:hover ul.sub-menu,
    .sp-mi-main-mega ul.sub-menu:hover,
    .sp-mi-main-mega:hover ul.sub-menu {
        display: flex;
        align-items: flex-start;
        gap: 45px;
    }
	.sp-mi-main-dyner ul.sub-menu:hover:has(.megamenu-reklameblok),
    .sp-mi-main-dyner:hover ul.sub-menu:has(.megamenu-reklameblok),
    .sp-mi-main-puder ul.sub-menu:hover:has(.megamenu-reklameblok),
    .sp-mi-main-puder:hover ul.sub-menu:has(.megamenu-reklameblok),
    .sp-mi-main-mega ul.sub-menu:hover:has(.megamenu-reklameblok),
    .sp-mi-main-mega:hover ul.sub-menu:has(.megamenu-reklameblok) {
		min-height: calc(283px + 50px);
    }
    
    .sp-mi-main-dyner > ul.sub-menu:first-of-type,
    .sp-mi-main-puder > ul.sub-menu:first-of-type,
    .sp-mi-main-mega > ul.sub-menu:first-of-type {
       padding-top: 25px;
       padding-bottom: 15px;
    }

    .sp-mi-main-dyner ul.sub-menu li,
    .sp-mi-main-dyner li,
    .sp-mi-main-puder ul.sub-menu li,
    .sp-mi-main-puder li,
    .sp-mi-main-mega ul.sub-menu li,
    .sp-mi-main-mega li {
        display: block;
    }
	.sp-mi-main-dyner ul.sub-menu > li > ul > li,
    .sp-mi-main-puder ul.sub-menu > li > ul > li,
    .sp-mi-main-mega ul.sub-menu > li > ul > li {
        height: 30px;
    }

    .sp-mi-main-dyner ul.sub-menu ul.sub-menu,
    .sp-mi-main-puder ul.sub-menu ul.sub-menu,
    .sp-mi-main-mega ul.sub-menu ul.sub-menu {
        display: block;
        left: 0;
        position: unset;
        width: unset;
        height: unset;
        box-shadow: unset;
        padding-left: unset;
        padding-bottom: 0px;
    }

    .sp-mi-main-dyner ul.sub-menu li a:after,
    .sp-mi-main-puder ul.sub-menu li a:after,
    .sp-mi-main-mega ul.sub-menu li a:after {
        display: none;
    }

}
@media screen and (max-width: 768px) {
	.menu > li:not(last-child) {
        margin-bottom: 16px;
    }
	li.menu-item {
		display: flex;
		 justify-content: space-between;
    padding: 2px 0px;
    align-items: center;
    z-index: 2;
    width: 100%;
	}
	li.sp-mi-main-dyner,
	li.sp-mi-main-puder {
		 width: 100vw;
    position: relative;
    right: var(--mobile-margins);
		 padding-left: var(--mobile-margins);
    flex-direction: column;
    padding-right: var(--mobile-margins);
    font-weight: 600;
		background-color: var(--ringsted-bg-light);
	}
	li.sp-mi-main-dyner:has(.sub-menu.active),
	li.sp-mi-main-puder:has(.sub-menu.active) {
		position: static;
		width: 100%;
	}
	li.sp-mi-main-dyner {
		padding-top: 24px;
    padding-bottom: 16px;
    margin-bottom: unset !important;
	}
	li.sp-mi-main-puder {
		padding-bottom: 24px;
		margin-top:  0;
		margin-bottom: 20px !important;
	}
	li.sp-mi-main-dyner a, li.sp-mi-main-puder a {
        width: 100%;
    }
    li.sp-mi-main-dyner img.menu-image, li.sp-mi-main-puder img.menu-image {
        height: 100px;
        width: 100%;
        display: block;
    }
	li.sp-mi-main-dyner > .mobilemenu-subselector,
	li.sp-mi-main-puder > .mobilemenu-subselector {
		position: absolute;
		bottom: 10px;
		right: 18px;
		width: 55px;
		height: 69px;
		padding-right: 23px;
	}
	li.sp-mi-main-puder > .mobilemenu-subselector {
		height: 85px;
	}
	li.sp-mi-main-dyner .menu-text,
	li.sp-mi-main-puder .menu-text {
		padding-left: 15px;
		background-color: var(--ringsted-bg-menu);
		height: 57px;
		display:  flex;
		align-items: center;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
	}
	.sp-mi-mobile-dynetest {
	list-style: none;
	border: 1px solid var(--ringsted-stroke);
	display: flex;
	align-items: center !important;
	border-radius: 50px;
	height: 81px !important;
	justify-content: center !important;
		gap: 8px;
	background-color: var(--ringsted-rod);
}
}
.sp-mi-enkeltdynerx a {
    display: flex;
    justify-items: center;
}

.sp-mi-enkeltdynerx a:before {
    content: url(assets/icons/enkeltdyner.webp);
    margin-right: 10px;
}

.sp-mi-dobbeltdyner a:before {
    content: url(assets/icons/dobbeltdyner.svg);
    margin-right: 10px;
}

.sp-mi-queenking a:before {
    content: url(assets/icons/queenking.svg);
    margin-right: 10px;
}

.sp-mi-babyjunior a:before {
    content: url(assets/icons/babyjunior.svg);
    margin-right: 10px;
	height: 35px;
}

.sp-submenu-header {
    font-size: 24px;
}

.sub-menu li {
    margin-bottom: 15px;
}

.sp-mi-bigred > a {
    color: var(--ringsted-rod);
}

@media screen and (min-width: 768px) {
    .sp-infosection {
        display: block;
    }

    .sp-mobile-menu-header {
        display: none !important;
    }

    .sp-header-secondrow {
        height: 85px;
        font-weight: 600;
        border-bottom: 1px solid #f0f0f0;
        align-content: center;
    }
	.sp-mobile-menu-footer {
		display: none;
	}

    .sp-header-secondrow li a {
        font-family: var(--primary-font);
        font-size: var(--p-big-size);
        font-weight: 400;
        padding-right: 0px;
        color: var(--default-text-color);
        /* height:  27px; */
        display: block;
    }
	.menu-image{
		display: none;	
	} 

    sp-header-secondrow-content {
        height: 100%;
    }

    .main-navigation ul.menu {
        margin-left: 0px;
        margin-bottom: 0;
        padding-left: 0px;
        background-color: unset;
        gap: 35px;
        height: 100%;
    }

    .sp-menu-section {
        grid-column: span 5;
        height: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .sp-actual-menu {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .menu-item-has-children a {
        padding-bottom: 0px;
		position: relative;
    }

    .menu-item-has-children>a::after {
        padding-bottom: 0;
        padding-top: 5px;
        margin-left: unset;
        padding-left: 10px;
        height: 27px;
        left: 100%;
        top: 0;
    }
	#primary-menu li.current-page-ancestor.menu-item-has-children > a::after,
	#primary-menu li.current-menu-ancestor.menu-item-has-children > a::after {
		content: url(assets/icons/chewron-down-red.svg);
	}
	

    .site-branding {
        grid-column: span 2;
        align-content: center;
    }

    img.custom-logo {
        max-width: 100%;
        height: 54px;
        object-fit: contain;
    }

    .sp-infosection {
        grid-column: span 5;
        display: flex;
        align-items: center;
        justify-content: end;
        gap: 30px;
    }

    .menu-find-forhandler-header-container ul {
        list-style: none;
        margin: 0;
        padding-left: 0;
    }

    ul#dynetest-menu {
        margin: 0;
        padding-left: 0;
    }

    ul#dynetest-menu li {
        list-style: none;
        border: 1px solid var(--ringsted-stroke);
        display: flex;
        /* Use flexbox to align image and text */
        align-items: center;
        /* Center vertically */
        padding: 30px 30px;
        border-radius: 50px;
    }

    ul#dynetest-menu li:before {
        content: url(assets/icons/bedfront.svg);
        display: inline-block;
        margin-right: 5px;
        margin-top: 5px;
    }
    .sp-mi-main-mobileonly {
        display: none;
    }
    .main-navigation .menu > li:has([aria-current="page"]) > a {
		color: var(--ringsted-rod);
	}
	.main-navigation .menu > li:has([aria-current="page"]) > a::after {
		content: url(assets/icons/chewron-down-red.svg);
	}
}


.sp-header-secondrow-content {
    flex-direction: row-reverse;
    height: 83px;
}

@media screen and (min-width: 768px) {
    .sp-header-secondrow-content {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        /* position: sticky; */
        top:  0px;
    }
}

.menu-toggle img {
    width: 30px;
    max-width: 49px;
    height: 17px;
    object-fit: contain;
}

button.menu-toggle {
    background: none;
    padding: 13px 13px;
    border: none;
    height: 40px;
    width: 40px;
}

nav#site-navigation {
    border: none;
    height: 100%;
    width: 40px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    nav#site-navigation {
        height: 100%;
        width: unset;
        padding-top: unset;
        flex-direction: column;
        justify-content: center;
    }
}

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: unset;
    margin-left: unset;
}
.site-branding img.custom-logo {
    height: 53px;
}

/* ============== FOOTER =================== */
footer {
	max-width: var(--pagecontainer-width);
	margin-left: auto;
	margin-right: auto;
}
.site-footer {
    background-color: unset;
    color: var(--default-text-color);
}

.sp-footer-standardcolumns-outer {
    background-color: var(--ringsted-bg-dark);
    color: white;
    padding-bottom: 75px;
}

.sp-footer-standardcolumns {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
}
.sp-footer-menu-header-container {
    display:  flex;
    justify-content: space-between;
}
@media screen and (min-width: 768px) {
    .sp-footer-menu-header-container {
        margin-bottom: 15px;
       }
img.sp-footer-menu-header-icon {
    display: none;
}
}
h2.footer-header {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: var(--h5-weight);
}
.sp-footercol-heading {
    font-size: 20px;
    font-weight: var(--h5-weight);
    margin-top: 0;
    margin-bottom: 0px;
}
.sp-company-info p {
    margin: 0;
}
.footer-social-media {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.sp-footer-standardcolumns-outer a {
    color: white;
    text-decoration: none;
}
.sp-footer-standardcolumns-outer a, .sp-footer-standardcolumns-outer li, .sp-footer-standardcolumns-outer {
    font-size: var(--p-regular-size);
}
.sp-footer-standardcolumns-outer li {
    list-style: none;
}
.sp-footer-standardcolumns-outer ul {
    margin: 0;
    padding: 0;
}
.sp-footer-standardcolumns-left-upper {
    display:  flex;
    flex-direction: column;
    gap:  25px;
}
.sp-footer-menu {
    display: none;
}
@media screen and (min-width: 768px) {
    .sp-footer-menu {
    display: block;
}
}
@media screen and (min-width: 768px) {
    .sp-footer-standardcolumns {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        padding-top: 75px;
        min-height: 300px;
    }

    .sp-footer-standardcolumns-left {
        grid-column: span 6;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .sp-footer-standardcolumns-left-upper {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

}

.footer-content {
    flex-direction: column;
}
.sp-footer-standardcolumns-left-lower {
    font-weight: 300;
    display: flex;
    flex-direction: column-reverse;
    position: absolute;
    top: 100%;
}
@media screen and (min-width: 768px) {
    .sp-footer-standardcolumns-left-lower {
        position: unset;
        flex-direction: row;
        gap: 25px;
    }
}
.sp-footer-standardcolumns-left-lower a {
    text-decoration: underline;
}

.sp-footer-newsletter-text {
    font-weight:  300;
}

.sp-footer-standardcolumns-right {
    margin-top: 25px;
}
@media screen and (min-width: 768px) {
.sp-footer-standardcolumns-right {
        grid-column: span 6;
        margin-left: 150px;
        margin-top: 0;
}
}
h2.sp-footercol-newsletter-heading {
    margin-bottom: 10px;
    font-weight: 400;
}
@media screen and (min-width: 768px) {
    h2.sp-footercol-newsletter-heading {
    margin-top: 0px;
    font-size: 20px;
    font-weight: var(--h5-weight);
    }
}

.sp-footer-newsletter-form {
    margin-top: 15px;
}

input.sp-mc-namefield, input.sp-mc-mailfield {
    height: 50px;
    width: 100%;
    margin-bottom: 15px;
    padding-left: 15px;
	border-radius: 4px;
}
@media screen and (min-width: 768px) {
    input.sp-mc-namefield  { 
        width: 30%;
    }
    input.sp-mc-mailfield {
        width: 45%;
    }
    
}
input.sp-mc-namefield::placeholder, input.sp-mc-mailfield::placeholder {
    font-size: var(--p-big-size);
}

input.sp-mc-submit {
    width: 100%;
    background-color: var(--ringsted-rod);
    border: none;
    height: 50px;
    color: white;
    font-size: var(--p-big-size);
    border-radius: var(--default-button-border-radius);
}
@media screen and (min-width: 768px) {
    input.sp-mc-submit {
        width: 25%;
		cursor: pointer;
    }
}

.sp-mc-formline {
    margin-bottom:  15px;
}
@media screen and (min-width: 768px) {
    .sp-mc-formline {
        display: flex;
        gap: 15px;
    }
}

.sp-mc-gdpr-line {
	display:  flex;
    gap: 5px;
    justify-content: flex-start;
}
.sp-mc-gdpr-line, .sp-mc-gdpr-line a {
	font-size: 14px;
    font-weight: 300;
    line-height: 16px;
	font-style: italic;
}

 input.sp-mc-gdpr-input {
  /* kill the native look */
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  /* box size and basic look */
  width: 18px;
  height:18px;
  border:2px solid var(--ringsted-stroke);   /* grey border */
  border-radius:2px;
  background:#fff;
  cursor:pointer;

  /* layout helpers */
  vertical-align:middle;
  margin:0 6px 0 0;
  position:relative;
  flex-grow: 0;
  flex-shrink: 0;
}
    input.sp-mc-gdpr-input:checked{
  background:var(--ringsted-rod);         /* red background */
  border-color:var(--ringsted-rod);       /* red border */
}
    input.sp-mc-gdpr-input:checked::after{
  content:'';
  position:absolute;
  left:3px;
  top:1px;          /* fineÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“tune if needed */
  width: 7px;
  height:10px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);    /* the classic ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ */
}
.mc-message {
    margin-top: 6px;
}
.cf-turnstile {
    margin-top:  12px;
}
.sp-footer-standardcolumns-right-lower {
    margin-top: 25px;
    display: flex;
    gap: 25px;
}

.sp-footer-right-bottom-subsection {
    display: flex;   
}
.sp-footer-mid-section {
    flex-grow: 1;
    align-items: center;
    gap: 15px;
}


/* =========== DEFAULT ITEMS =============== */
a.sp-buttonlink-1,
a.sp-buttonlink-2,
a.sp-buttonlink-3,
a.sp-buttonlink-4 {
    background-color: var(--ringsted-rod);
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: var(--default-button-border-radius);
    font-weight: 400;
    letter-spacing: 0px;
    height: 60px;
    font-size: var(--p-big-size);
    line-height: var(--p-big-lineheight);
}
a.sp-buttonlink-1 {
	background-color: white;
	color: var(--ringsted-rod);
	font-weight: 600;
}
.sp-buttonlink-2.sp-followlink-button {
	height: 68px;
	width: 100%;
	font-size: 20px;
	font-weight: 600;
	padding: 0 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sp-text-foto-dynevalg a.sp-buttonlink-2 {
	width: 100%;
	text-align: center;
	height: 68px;
	padding: 0;
	display: flex;
	justify-content:center;
	align-items:center;
	font-size: 20px;
	margin-bottom: 24px;
}
.sp-text-foto-dynevalg .sp-linkitem {
	width: 100%;
}
@media screen and (min-width: 768px) {
.sp-text-foto-dynevalg a.sp-buttonlink-2 {
	width: max-content;
	padding-left: 24px;
	padding-right: 24px;
}
}

.sp-linkbox:has(a.sp-buttonlink-1),
.sp-linkbox:has(a.sp-buttonlink-3),
.sp-linkbox:has(a.sp-buttonlink-4) {
    margin-top: 16px;
}


a.sp-buttonlink-3:before {
    content: url(assets/icons/bedfront-white.svg);
    margin-right: 5px;
    display: inline-block;
    position: relative;
    top: 3px;
}

a.sp-buttonlink-4:before {
    content: url(assets/icons/link-button-play-symbol.svg);
    margin-right: 10px;
    display: inline-block;
    position: relative;
    top: 3px;
}
.sp-divider {
    /* margin-top: -25px; */
    margin-bottom: 25px;
}
.sp-divider .sp-image {
    width: 65px;
}

/* ============== BLOCKS =================== */



/* HERO */
.sp-hero .sp-text-box {
    text-align: center;
}

.sp-hero .sp-text-container {
    background-color: var(--sp-overlay-color);
}

/* text over image  */



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

.sp-text-foto.sp-text-over-image h2.sp-main-header {
    font-size: var(--h1-size);
    line-height: var(--h1-size);
}

}
.sp-text-foto.sp-text-over-image .sp-text-container {
    padding: 25px;
}

.sp-text-foto.sp-text-over-image .sp-content-text {
    font-size: var(--p-big-size);
    line-height: var(--p-big-lineheight);
}

/* HERO med video */
.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;
}
.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;
}


/* NORMAL TEXT FOTO */
.sp-text-foto {
    margin-top: 50px;
    margin-bottom: 50px;
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
}

.sp-text-foto.sp-text-over-image {
	width: 100%;
	max-width: unset;
	border-radius: unset;
}
/* video display - tekst-foto med text ovenpÃƒÆ’Ã‚Â¥ billede */
.sp-text-foto.sp-text-over-image:has(.sp-video-container) {
    aspect-ratio: 0.7;
}
@media screen and (min-width: 768px) {
.sp-text-foto.sp-text-over-image:has(.sp-video-container) {
    aspect-ratio: 2.26;
}
}
.sp-text-foto.sp-text-over-image .sp-image-content img {
	border-radius: unset !important;
}
@media screen and (min-width: 768px) {
	.sp-text-foto.sp-text-over-image {
	width: var(--default-page-width);
    max-width: var(--max-default-page-width);
	border-radius: var(--default-border-radius);
}
	.sp-text-foto.sp-text-over-image .sp-image-content img {
	border-radius: var(--default-border-radius);
}
    .sp-text-foto:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}
.sp-text-foto.sp-text-foto-dynevalg:not(.sp-border-1):not(.sp-bgcolor):not(.sp-text-over-image) {
	margin-top: unset;
	margin-bottom: unset;
	width: 100%;
	max-width: unset;
	border-radius: unset;
}
#page.site:has(.sp-text-foto-dynevalg) footer#colophon.site-footer {
	display: none;
}
.sp-text-foto .sp-intro {
    font-size: var(--h4-size);
    font-weight: var(--h4-weight);
    font-family: var(--primary-font);
    line-height: var(--h4-lineheight);
}

.sp-text-foto .sp-text-container {
    font-size: var(--p-big-size);
	line-height: var(--p-big-lineheight);
	font-weight: 300;
    margin-bottom: 50px;
}
@media screen and (min-width: 768px) {
	.sp-text-foto .sp-text-container {
		margin-bottom: unset;
	}
	.sp-text-foto-dynevalg .sp-text-container {
		order: 2;
		max-width: 563px;
		margin-left: 12px;
		margin-right: 25px;
	}
}
.sp-text-foto .sp-linkitem {
	height: max-content;
}

.sp-text-foto .sp-text-container h3 {
    font-size: 28px;
    line-height: 28px;
    font-weight: 600;
    margin: unset;
    margin-bottom: 15px;
}
.sp-text-foto .sp-content-text p:not(:last-of-type) {
    margin-bottom: 15px;
}
@media screen and (min-width: 768px) {
    .sp-text-foto:not(.sp-flipright):not(.sp-text-over-image).sp-no-bgcolor:not(.sp-border-1) .sp-image-container {
        padding-right: 10px;
        padding-left: 23px;
    }
	.sp-text-foto.sp-text-foto-dynevalg:not(.sp-flipright):not(.sp-text-over-image).sp-no-bgcolor:not(.sp-border-1) .sp-image-container {
        padding-right: 0px;
        padding-left: 0px;
		order: 1;
    }

    .sp-text-foto.sp-flipright.sp-no-bgcolor:not(.sp-border-1):not(.sp-text-over-image) .sp-image-container {
        padding-left: 0px;
        padding-right: 34px;
    }
	.sp-text-foto.sp-flipright.sp-no-bgcolor:not(.sp-border-1):not(.sp-text-over-image) .sp-video-container {
		display: flex;
	}
    
}

/* ARTICLE  */
.sp-breaker:has(.sp-pure-text) {
    
}
.sp-breaker .sp-pure-text {
    margin-top: 0;
    margin-bottom: 15px;
    padding-top: 0px;
}
.sp-breaker .sp-pure-text .sp-text-container {
    margin-bottom: 0px;
}

.sp-pure-text .sp-text-box {
    font-family: var(--primary-font);
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100%;
    max-width: 880px;
    padding: 0px !important;
}
@media screen and (min-width: 768px) {
    .sp-pure-text .sp-text-box {
        margin-left: auto;
        margin-right: auto;
    }
    .sp-pure-text.sp-bgcolor .sp-content-text em {
        font-size: 24px;
        font-weight: 300;
        font-style: italic;
        line-height: 30px;
    }
}

.sp-pure-text .sp-text-container em {
    font-size: 20px;
    font-weight: 300;
}

.sp-pure-text .sp-text-container {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 50px;
    max-width: 884px;
    margin-left: auto;
    margin-right: auto;
}
.sp-breaker .sp-pure-text.sp-article-narrow .sp-text-container {
	max-width: 774px;
}
.sp-pure-text.sp-bgcolor .sp-text-container {
    border-radius: var(--default-border-radius);
    padding-top: 50px;
    padding-bottom: 50px;
    padding-right: 25px;
    padding-left: 25px;
    max-width: unset;
}
@media screen and (min-width: 768px) {
	.sp-pure-text.sp-bgcolor .sp-text-container {
    
    padding-top: 100px;
    padding-bottom: 100px;
    
}
}

.sp-pure-text .sp-main-header {
    /* max-width: 70%; */
    margin-left: auto;
    margin-right: auto;
	font-size: var(--h2-size);
}
.sp-breaker .sp-pure-text.sp-center .sp-main-header {
	font-size: var(--h1-size);
}
.sp-pure-text.sp-left .sp-main-header {
	font-size: var(--h3-size);
}
.sp-pure-text:not(:has(.sp-content-text)) .sp-main-header {
    font-size: var(--h1-size);
}
.sp-pure-text.sp-bgcolor .sp-main-header {
    max-width: unset;
}

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

.sp-pure-text .sp-content-text {
    padding-top: 15px;
    font-size: var(--h5-size);
    line-height: var(--p-big-lineheight);
    font-weight: var(--p-big-weight);
}

/* LOOPS GENERAL */
.sp-textblock-before-multi:not(.sp-multi-slideshow-wrapper .sp-textblock-before-multi) {
    margin-bottom: 25px;
    margin-top: 100px;
	font-size: var(--p-big-size);
	font-weight: var(--p-big-weight);
	line-height: var(--p-big-lineheight);
}
.sp-breaker .sp-textblock-before-multi:not(.sp-multi-slideshow-wrapper .sp-textblock-before-multi) {
	margin-top: unset;
}
.sp-textblock-before-multi.sp-tb-before-multi-infinity {
	margin-top: 25px;
}
.sp-breakerpadding-guideblocks .sp-textblock-before-multi .sp-main-header {
	font-size: var(--h1-size);
}
.sp-infocard-items h2.sp-main-header {
    font-size: var(--h4-size);
    margin-bottom: 10px;
}
.sp-breakerpadding-guideblocks .sp-infocard-items.sp-col-2 .sp-repeater-item .sp-main-header {
	font-size: var(--h3-size);
}
.sp-infocard-items .sp-content-text {
    font-size: var(--p-big-size);
    line-height: 22px;
    font-weight: 300;
    margin-bottom: 10px;
}
.sp-repeater-items, .sp-repeater {
    padding: 0;
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
	text-align: left;
}
.sp-breaker.sp-breakerpadding-guideblocks .sp-repeater {
	margin-bottom: 0px;
}
.sp-repeater.sp-infocard-items.sp-narrowloop {
	width: 1120px;
	max-width: calc(100% - var(--mobile-margins));
}
.sp-product-repeater {
	margin-bottom: 0px;
}
.sp-infinity-loop .sp-repeater, .sp-repeater.sp-infinity-loop {
	gap: 15px;
	padding-bottom: 0px;
	margin-top: unset;
	margin-bottom: 50px;
}
.sp-infinity-loop .sp-repeater.sp-product-repeater {
	padding-bottom: 25px;
	margin-left: unset;
	margin-right: unset;
	width: unset;
	max-width: unset;
	padding-right:  50px;
}
@media screen and (min-width: 768px) {
	.sp-infinity-loop .sp-repeater.sp-product-repeater {
	padding-bottom: 60px;
}
	.sp-infinity-loop .sp-repeater, .sp-repeater.sp-infinity-loop {
		gap: 15px;
	}
	.sp-infinity-loop .sp-repeater.sp-dykonlook-square {
		padding-bottom: 60px;
		margin-top: 0px;
		position: relative;
		margin-left:  unset;
		margin-right:  unset;
		width:  unset;
		max-width: unset;
		padding-right: 50px;
	}
}
.sp-infocard-items .sp-repeater-item {
    margin-bottom: 25px;
	text-align: left;
}
.sp-breakerpadding-guideblocks .sp-infocard-items .sp-repeater-item {
	margin-bottom: 0px;
}
.sp-infocard-items .sp-repeater-item .sp-text-box {
    margin-top: 15px;
}
.sp-infocard-items .sp-repeater-item .sp-content-text {
	font-size: var(--p-small-size);
	font-weight: 300;
}
/* infinity loops */
.sp-infinity-loop .sp-infocard-items .sp-repeater-item:has(.sp-text-box .sp-linkbox) {
    padding-bottom: 0;
}
.sp-infinity-loop .sp-repeater .sp-repeater-item, .sp-repeater.sp-infinity-loop .sp-repeater-item {
	width: 85%;
}
@media screen and (min-width: 768px) {
    .sp-infinity-loop .sp-repeater .sp-repeater-item {
        width: calc(33% - 7px);
    }
}
@media screen and (min-width: 1440px) {
	.sp-infinity-loop .sp-repeater .sp-repeater-item {
        /* width: 434px; */
		width: calc( (var(--default-page-width) / 3) - 11px );
        flex-shrink: 0;
		margin-bottom: 0px;
    }
	.sp-scroll-right-infinity {
	     right: calc(10px + (var(--pagecontainer-width) - var(--default-page-width)) / 2);
    }
    .sp-scroll-left-infinity {
	     left: calc(10px + (var(--pagecontainer-width) - var(--default-page-width)) / 2);
    }
}
.sp-infinity-loop h2.woocommerce-loop-product__title {
    font-family: var(--primary-font);
    font-size: var(--h5-size);
    line-height: var(--h5-lineheight);
    font-weight: var(--h5-weight);
    padding-left: 5px;
}
@media screen and (min-width: 768px) {
.sp-infinity-loop h2.woocommerce-loop-product__title {
    font-family: var(--primary-font);
    font-size: var(--h5-size);
    line-height: var(--h5-lineheight);
    font-weight: var(--h5-weight);
    padding-left: 5px;
}
    .sp-scroll-right-infinity {
        content: url(assets/icons/slideshow-right-chewron.svg);
        display: block;
    }
    .sp-scroll-left-infinity {
        content: url(assets/icons/slideshow-left-chewron.svg);
    }
        .sp-scroll-right-infinity, .sp-scroll-left-infinity {
        top: 12vw;
        width: 5vw;
        height: 5vw;
        padding: 1.5vw;
        border-radius: 50%;
        background-color: var(--default-color);
        z-index: 9;
        }
	.related .sp-scroll-right-infinity, .related .sp-scroll-left-infinity {
        top: 22vw;
        width: 5vw;
        height: 5vw;
        padding: 1.5vw;
	}
	.sp-infinity-loop:has(.sp-repeater.sp-infocard-items.sp-infocard-infinityitems.sp-no-bgcolor.sp-dykonlook-square) .sp-scroll-right-infinity {
		right: calc(15px + (var(--pagecontainer-width) - var(--default-page-width)) / 2);
	}
	.related .sp-scroll-left-infinity {
		left: 10px;
	}
	.related .sp-scroll-right-infinity {
		right: 104px;
	}
}
@media screen and (min-width: 1350px) {
	.sp-scroll-right-infinity, .sp-scroll-left-infinity {
        top: 165px;
        width: 75px;
        height: 75px;
        padding: 25px;
	}
	.related .sp-scroll-right-infinity, .related .sp-scroll-left-infinity {
		top: 300px;
		width: 75px;
        height: 75px;
        padding: 25px;
	}
}
/* adapting image on categories in product loop showing categories. */
.sp-dykonlook-square.sp-repeater .sp-image-container {
    border-radius: unset;
}
.sp-dykonlook-square.sp-repeater .sp-image-content {
    border-radius: var(--prodloop-border-radius);
}

/*special dykonlook loop */
.sp-dykonlook-square .sp-repeater-item {
    position: relative;
}
.sp-dykonlook .sp-repeater-item {
	height: max-content;
	padding-bottom: unset !important;
}
.sp-dykonlook-square .sp-repeater-item .sp-text-box {
    position: absolute;   
	bottom: 0px;
}
@media screen and (max-width: 768px) { 
	.sp-dykonlook-square .sp-repeater-item .sp-text-box {
		bottom: -15px;
	}
}
.sp-dykonlook .sp-repeater-item .sp-text-box {
	position: absolute;
	margin-top: unset;
	top: calc(100% - 55px);
	pointer-events: none;
}
@media screen and (min-width: 768px) {
	.sp-dykonlook .sp-repeater-item .sp-text-box {
	position: absolute;
	margin-top: unset;
	top: calc(100% - 72px);
}
}

.sp-dykonlook .sp-repeater-item .sp-text-box .sp-main-header{
    font-size: var(--h3-size);
    font-weight: var(--h2-weight);
    background-color: white;
    padding: 15px 30px 15px 5px;
    border-top-right-radius: var(--default-border-radius);
}
.sp-dykonlook-square .sp-repeater-item .sp-text-box .sp-main-header {
    font-size: var(--h5-size);
    font-weight: var(--h5-weight);
    background-color: white;
    color: var(--ringsted-text);
    padding: 15px 15px 15px 10px;
    border-top-right-radius: var(--prodloop-border-radius);
}
@media screen and (min-width: 768px) {
    .sp-dykonlook-square .sp-repeater-item .sp-text-box .sp-main-header {
    font-size: var(--h5-size);
    font-weight: var(--h5-weight);
    background-color: white;
    color: var(--ringsted-text);
    padding: 15px 25px 10px 10px;
    border-top-right-radius: var(--prodloop-border-radius);
}
}
.sp-dykonlook-square .sp-repeater-item a {
    text-decoration: none;
}
@media screen and (min-width: 768px) {
    .sp-dykonlook-square .sp-repeater-item .sp-text-box .sp-main-header{
        padding: 10px 40px 10px 10px;
        margin-bottom: 0;
    }
	.sp-dykonlook .sp-repeater-item .sp-text-box .sp-main-header {
		padding: 20px 65px 15px 10px;
		margin-bottom: 0;
	}
}

.sp-dykonlook .sp-repeater-item .sp-text-box .sp-main-header:after {
	content: url(assets/icons/dykonlook-arrow.svg);
    margin-left: 16px;
    height: 5px;
    display: inline-block;
    width: 15px;
}
.sp-dykonlook-square .sp-repeater-item .sp-text-box .sp-main-header:after {
    content: url(assets/icons/dykonlook-arrow.svg);
    margin-left: 15px;
    height: 48px;
    /*margin-top: 10px; */
    /* margin-bottom: -10px; */
    display: block;
    width: 20px;
    transform: scale(0.8);
    padding-top: 2px;
    /* display: flex; */
    float: right;
}


.sp-dykonlook .sp-repeater-item .sp-text-box::before{
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  top: -24px;
  left: -1px;
  background: #fff;

  /* 1-px fade → smooth quarter-circle */
  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent            calc(var(--default-border-radius) - 1px),
                       #000                   var(--default-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent            calc(var(--default-border-radius) - 1px),
               #000                   var(--default-border-radius));

  mask-type: luminance;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.sp-dykonlook-square .sp-repeater-item .sp-text-box::before{
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: -20px;
  left: -2px;
  background: #fff;

  /* 1-px feather → smooth quarter-circle */
  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent           calc(var(--prodloop-border-radius) - 1px),
                       #000                  var(--prodloop-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent           calc(var(--prodloop-border-radius) - 1px),
               #000                  var(--prodloop-border-radius));

  mask-type: luminance;      /* use brightness for opacity */
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}


.sp-dykonlook .sp-repeater-item .sp-text-box::after{
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  bottom: 12px;
  right: -25px;
  background: #fff;

  /* 1-px feather → antialiased curve */
  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent            calc(var(--default-border-radius) - 1px),
                       #000                   var(--default-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent            calc(var(--default-border-radius) - 1px),
               #000                   var(--default-border-radius));

  mask-type: luminance;   /* treat brightness as alpha */
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

@media screen and (min-width: 768px) {
	.sp-dykonlook .sp-repeater-item .sp-text-box:after {
		bottom: 0px;
	}
}
.sp-dykonlook-square .sp-repeater-item .sp-text-box::after{
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  bottom: 12px;
  right: -19px;
  background: #fff;

  /* 1-pixel feather → antialiased curve */
  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent           calc(var(--prodloop-border-radius) - 1px),
                       #000                  var(--prodloop-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent           calc(var(--prodloop-border-radius) - 1px),
               #000                  var(--prodloop-border-radius));

  mask-type: luminance;   /* treat brightness as alpha */
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

@media screen and (min-width: 768px) {
    .sp-dykonlook-square .sp-repeater-item .sp-text-box:after {
        bottom: -2px;
        right: -20px;
    }
}

/* FACT ICONS ( LOOP BLOCK) */
.sp-breaker:has(.sp-facticon-items) {
    padding: 15px 0px 15px 10px;
}

.sp-facticon-items .sp-repeater-item {
    height: 56px;
}

.sp-facticon-items .sp-repeater-item .sp-image-container img {
    width: 28px;
}

.sp-facticon-items .sp-main-header {
    font-size: var(--p-big-size);
    font-weight: var(--p-big-weight);
    line-height: unset;
}

@media screen and (min-width: 768px) {
    .sp-breaker:has(.sp-facticon-items) {
        padding: 0px;
        min-height: 88px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ============== SLIDESHOW ======================= */
.sp-slideshow:has(.sp-quoteblock) {
    height: 500px;
}

.sp-slideshowdots {
    top: 100%;
    gap: 5px;
}

.sp-slideshowdot {
    width: 9px;
    height: 9px;
    border: none;
    background-color: #1B1B1D20;
}

.sp-slideshowdarrowprev,
.sp-slideshowdarrownext {
    background-color: var(--ringsted-rod);
    height: 60px;
    width: 60px;
    padding: 18px;
    border-radius: 50%;
    top: 100%;
}

.sp-slideshowdarrowprev {
    left: calc(50% - 75px);
}

.sp-slideshowdarrownext {
    right: calc(50% - 75px);
}

.sp-slideshowdarrowprev,
.sp-slideshowdarrownext {
    top: 75%;

}

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

    .sp-slideshowdarrowprev,
    .sp-slideshowdarrownext {
        top: 50%;
        transform: translateY(-50%);
    }

    .sp-slideshowdarrowprev {
        left: 100px;
    }

    .sp-slideshowdarrownext {
        right: 100px;
    }
    .sp-multi-slideshow-wrapper:has(.sp-quoteblock) {
        height: 643px;
        padding-top: 75px;
        padding-bottom: 205px;
    }
    .sp-slideshow:has(.sp-quoteblock) {
        height: 300px;
    }
    .sp-slideshow:has(.sp-quoteblock) .sp-text-box .sp-main-header {
        margin-bottom: 10px;
    }
    .sp-slideshow:has(.sp-quoteblock) .sp-text-box {
        padding-left: 50px;
        padding-right: 50px;
        max-width: 880px;
    }
    .sp-multi-slideshow-wrapper .sp-textblock-before-multi .sp-main-header {
        font-size: var(--h1-size);
        margin-bottom: 50px;
    }
}

.sp-slideshowdarrowprev {
    content: url(assets/icons/slideshow-left-chewron.svg);
}

.sp-slideshowdarrownext {
    content: url(assets/icons/slideshow-right-chewron.svg);
}

.sp-slideshowitems:has(.sp-quoteblock) {
    width: 100%;
}

.sp-slideshowitem.sp-quoteblock .sp-text-box {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.sp-slideshowitem.sp-quoteblock .sp-text-box:before {
    content: url(assets/icons/quotesymbol.svg);
}
@media screen and (min-width: 768px) {
    .sp-slideshowitem.sp-quoteblock .sp-text-box:before {
        content: "";
        background-image: url(assets/icons/quotesymbol.svg);
        background-size: 55px 55px;
        height: 55px;
        width: 55px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
}

.sp-slideshowitem.sp-quoteblock .sp-main-header {
    margin-top: 0px;
    font-family: var(--primary-font);
    font-weight: 600;
    line-height: var(--h4-lineheight);
    font-size: var(--h4-size);
}

.sp-slideshowitem.sp-quoteblock .sp-content-text {
    font-family: var(--primary-font);
    font-style: italic;
    font-weight: 300;
    font-size: 20px;
    line-height: 22px;
}
@media screen and (min-width: 768px) {
    .sp-slideshowitem.sp-quoteblock .sp-content-text {
        font-size: 24px;
        line-height: 30px;
    }
    .sp-slideshowitem.sp-quoteblock .sp-content-text strong {
        font-size: 18px;
    }
}


/* ============== SP PRODUCT LOOP ================ */
@media screen and (min-width: 768px) {
.sp-bc-container {
    font-size: 18px;
    font-weight: 300;
}
/* infinity loop on frontpage */
.sp-products-container {
    margin-top: 0px;
}

.sp-products-container.sp-shortcode-infinityloop {
    margin-top: 0px;
	position: relative;
    width:  var(--fwitem-width);
    max-width: var(--fwitem-maxwidth);
    padding-left: var(--fwitem-right);
}
	.sp-products-container.sp-shortcode-infinityloop .sp-standard-product-loop {
		left: unset;
		width: unset;
		position: unset;
	}
	.products.columns-3 {
		margin-left: 0px !important;
	}

.sp-infinity-scrollright-btn,
.sp-infinity-scroll-left-btn {
    display: none;
}
	
}

@media screen and (min-width: 768px) {
    .sp-infinity-scrollright-btn {
        content: url(assets/icons/slideshow-right-chewron.svg);
        display: block;
    }

    .sp-infinity-scroll-left-btn {
        content: url(assets/icons/slideshow-left-chewron.svg);
    }

    .sp-infinity-scrollright-btn,
    .sp-infinity-scroll-left-btn {
        /* margin-right: 15px; */
        top: 12vw;
        width: 5vw;
        height: 5vw;
        padding: 1.5vw;
        border-radius: 50%;
        background-color: var(--default-color);
        z-index: 990;
    }
}
@media screen and (min-width: 1000px) {
	.sp-infinity-scrollright-btn,
    .sp-infinity-scroll-left-btn {
		
	}
}
@media screen and (min-width: 1250px) {
	   .sp-infinity-scrollright-btn,
    .sp-infinity-scroll-left-btn {
		  top: 158px;
		  width: 75px;
		  height: 75px;
		  padding: 25px;
	}
	.sp-infinity-scrollright-btn {
		right: 70px;
	}
	.sp-infinity-scroll-left-btn {
		left: 25px !important;
	}
}
@media screen and (min-width: 1440px) {
	.sp-infinity-scrollright-btn {
		right: 70px;
	}
	.sp-infinity-scroll-left-btn {
		left: 55px !important;
	}
}

.sp-loop-shortdescription {
    max-height: 70px;
    font-size: 12px;
    font-family: var(--primary-font);
    font-weight: 300;
    overflow: hidden;
    padding-left:  5px;
    padding-right: 5px;
}

@media screen and (min-width: 768px) {
    .sp-loop-shortdescription {
        font-size: 16px;
        height: 70px;
		max-height: unset;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
		margin-top: 5px;
        padding-left: 5px;
		padding-right: 5px;
    }
    .sp-loop-shortdescription p {
  
		margin: 0;
}
}

ul.products {
    padding: 0px;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    position: relative;
    height: fit-content;
    display: block;
}

.sp-product-loop-image {
    border-top-left-radius: var(--prodloop-border-radius);
    border-bottom-right-radius: var(--prodloop-border-radius);
    background-color: white;
}
@media screen and (min-width: 768px) {
    .sp-product-loop-image {
    max-height: 427px;
    width: 100%;
    }
}
.sp-repeater a:has(.woocommerce-loop-product__title) {
    position: relative;
    height: fit-content;
    display: block;
}
.woocommerce-loop-product__title {
    color: var(--ringsted-text);
    position: absolute;
    bottom: 0px;
    background-color: white;
    padding-top: 15px;
    padding-right: 15px;
    border-top-right-radius: var(--prodloop-border-radius);
    margin: unset;
    padding-bottom: 15px;
	font-size: var(--p-regular-size) !important;
}
@media screen and (min-width: 768px) {
	.woocommerce-loop-product__title {
		font-sizer: var(--h5-size);
	}
}
.sp-breaker .woocommerce-loop-product__title {
    background-color: var(--breaker-bg, white);
}

.woocommerce-loop-product__title::before{
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: -19px;
  left: -3px;
  background: #fff;

  /* ⬇  0.5–1 px feather = smooth edge */
  mask-image: radial-gradient(circle at top right,
               transparent  calc(var(--prodloop-border-radius) - 1px),
               #000         var(--prodloop-border-radius));
  mask-type: luminance;      /* makes the mask use lightness */
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
/* colour override for breaker */
.sp-breaker .woocommerce-loop-product__title::before{
  background: var(--breaker-bg, #fff);

  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent                    calc(var(--prodloop-border-radius) - 1px),
                       var(--mask-solid, #000)        var(--prodloop-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent                    calc(var(--prodloop-border-radius) - 1px),
               var(--mask-solid, #000)        var(--prodloop-border-radius));
}

.woocommerce-loop-product__title::after{
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  bottom: -3px;
  right: -19px;
  background: #fff;
  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent            calc(var(--prodloop-border-radius) - 1px),
                       #000                   var(--prodloop-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent            calc(var(--prodloop-border-radius) - 1px),
               #000                   var(--prodloop-border-radius));
  mask-type: luminance;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.sp-breaker .woocommerce-loop-product__title::after{
  background: var(--breaker-bg, #fff);

  -webkit-mask-image: radial-gradient(circle at top right,
                       transparent                    calc(var(--prodloop-border-radius) - 1px),
                       var(--mask-solid, #000)        var(--prodloop-border-radius));
  mask-image: radial-gradient(circle at top right,
               transparent                    calc(var(--prodloop-border-radius) - 1px),
               var(--mask-solid, #000)        var(--prodloop-border-radius));
}
.sp-fyldsplash-outer {
    position: absolute;
    right: 0;
    padding: 0px 0px 15px 15px;
    background-color: white;
    color: var(--ringsted-text);
    border-bottom-left-radius: var(--prodloop-border-radius);
    z-index: 10;
    padding-right:  5px;
}
.sp-breaker .sp-fyldsplash-outer {
    background-color: var(--breaker-bg, white);
}

.sp-fyldsplash-outer::after{
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  bottom: -19px;
  right: -3px;
  background: #fff;

  /* 1-px feather → smooth edge */
  -webkit-mask-image: radial-gradient(circle at bottom left,
                       transparent            calc(var(--prodloop-border-radius) - 1px),
                       #000                   var(--prodloop-border-radius));
  mask-image: radial-gradient(circle at bottom left,
               transparent            calc(var(--prodloop-border-radius) - 1px),
               #000                   var(--prodloop-border-radius));
  mask-type: luminance;   /* use brightness for alpha */
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}


/* ⬤ white splash (bottom-left) */
.sp-fyldsplash-outer::before{
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: -3px;
  left: -19px;
  z-index: 999;
  background: #fff;

  /* tiny fade = antialiased edge */
  mask-image: radial-gradient(circle at bottom left,
               transparent          calc(var(--prodloop-border-radius) - 1px),
               #fff                 var(--prodloop-border-radius));
  mask-type: luminance;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

/* ⬤ colour-override for “breaker” variants */
.sp-breaker .sp-fyldsplash-outer::before,
.sp-breaker .sp-fyldsplash-outer::after{
  background: var(--breaker-bg, #fff);

  mask-image: radial-gradient(circle at bottom left,
               transparent                calc(var(--prodloop-border-radius) - 1px),
               var(--breaker-bg, #fff)    var(--prodloop-border-radius));

  /* mask-type / repeat / size are inherited from the rule above,
     but include them again if you prefer explicitness */
}
.sp-fyldsplash {
    background-color: var(--ringsted-bg-light);
    padding: 5px 15px;
    border-radius: var(--prodloop-border-radius);
    font-size: 14px;
    font-weight: 600;
}

@media screen and (min-width: 768px) {
    .sp-fyldsplash {
        padding: 5px 15px;
        font-size: 14px;
    }
}

img.sp-fyldsplashimage {
    margin-bottom: -2px;
    margin-right: 3px;
    height: 12px;
}

.sp-sale-splash {
    position: absolute;
    background-color: var(--ringsted-rod);
    color: white;
    left: 10px;
    margin-top: 10px;
    padding: 3px 15px;
    border-radius: var(--default-border-radius);
    font-size: 12px;
    z-index: 2;
}

@media screen and (min-width: 768px) {
    .sp-sale-splash {
        font-size: 1.2vw;
        font-weight: 600;
        left: 15px;
        margin-top: 15px;
        max-width: 65%;
    }
}
@media screen and (min-width: 1100px) {
	   .sp-sale-splash {
        font-size: var(--p-big-size);
	   }
}

.sp-loop-extrainfo {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
	padding-left: 5px;
	padding-right: 5px;
}

.sp-loop-comfortlevels {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    position: relative;
}
.sp-comfortlevel.show-more {
    cursor: pointer;
    /* position: relative; */
}
.comfortlevel-popup {
    position: absolute;
    top: 0%;
    left: 0px;
    background: white;
    padding: 11px;
    z-index: 1000;
    border-radius: var(--default-border-radius);
    width: max-content;
    max-width: calc(100vw - 30px);
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border:  1px solid var(--ringsted-bg-light);
}

.sp-loop-serie,
.sp-serie-item,
.sp-comfortlevel {
    background-color: var(--ringsted-bg-light);
    padding: 5px 15px;
    border-radius: var(--default-border-radius);
    font-size: 10px;
    font-weight: 600;
}
.sp-breaker .sp-loop-serie,
.sp-breaker .sp-serie-item,
.sp-breaker .sp-comfortlevel,
.sp-breaker .sp-fyldsplash {
	background-color: #ffffff;
}

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

    .sp-loop-serie,
    .sp-serie-item,
    .sp-comfortlevel {
        padding: 5px 15px;
        font-size: 12px;
        
    }
}

/* ===================  SP PRODUCT BLOCKS ================== */

/* - DEFAULT LBOCKS ON PAGES - PRELIMINARY */



/* product page */
.woocommerce-page .sp-breadcrumb-container {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-right: auto;
    margin-left: auto;
    padding-top: 25px;
    padding-bottom: 25px;
}
.sp-breadcrumb {
	font-size: 12px;
	font-weight: 300;
	display: flex;
	gap: 6px;
	align-items: center;
}
a.sp-breadcrumb-item {
    color: var(--ringsted-rod);
	font-size: 12px;
	line-height: 12px;
}
img.sp-breadcrumb-separator {
	height: 8px;
	margin-top: 2px;
}
@media screen and (min-width: 768px) {
	.sp-breadcrumb {
	font-size: var(--p-big-size);
		gap: 12px;
	}
	a.sp-breadcrumb-item {
		font-size: var(--p-big-size);	
	}
	img.sp-breadcrumb-separator {
		height: unset;
	}
}
.sp-breadcrumb-container {
	display: flex;
	gap: 8px;
 color: #1c1f21; }
.woocommerce-product-gallery__wrapper img {
    border-radius: 0;
    overflow: hidden;
}
@media screen and (min-width: 768px) {
	.woocommerce-product-gallery__wrapper img {
    border-radius: 12px;
    overflow: hidden;
}
}
.sp-product-gallery-thumb img {
    border-radius:unset;
}

/* hide image thumbs on mobile */
ol.flex-control-nav.flex-control-thumbs {
    display: none;
}
.sp-product-gallery-thumbs {
    display: none
}
div.product {
    width: unset;
    max-width: unset;
}
@media screen and (min-width: 768px) {
     div.product {
        width: var(--default-page-width);
        max-width: var(--max-default-page-width);
    }   
}
.sp-product-gallery-images {
    gap: 10px;
	padding-bottom: 15px;
}
	/* scrollbars on mobile gallery images */
.sp-product-gallery-images::-webkit-scrollbar {
		height: 2px;
	}

.sp-product-gallery-images::-webkit-scrollbar-track {
		background: var(--ringsted-bg-light);
		border-radius: 100vw;
	}
	
	.sp-product-gallery-images::-webkit-scrollbar-thumb {
		background: var(--ringsted-stroke);
		border-radius: 100vw;
	}	
	.sp-product-gallery-images::-webkit-scrollbar-thumb:hover {
		background: var(--ringsted-text);
	}
.sp-product-gallery-image-container {
    width: 90%;
    border-radius: unset;
}

@media screen and (min-width: 768px) {
    .sp-product-gallery-image-container {
        width: 100%;
        border-radius: 12px;
}
}

.summary.entry-summary {
    width: var(--default-page-width);
    max-width: var(--max-default-page-width);
    margin-left: auto;
    margin-right: auto;
}
@media screen and (min-width: 768px) {
	.sp-prodgallery-next, .sp-prodgallery-prev {
    top: 210px;
}
     div.product {
        width: var(--default-page-width);
        max-width: var(--max-default-page-width);
    }   

    .woocommerce-product-gallery {
        grid-column: span 6;
    }

    .sp-prodgallery-prev {
        left: 20px;
        background-color: var(--ringsted-bg-light);
        content: url(assets/icons/mobile-menu-chewron.svg);
        padding: 15px;
		transform: scaleX(-1); 
    }

    .sp-prodgallery-next {
        right: 25px;
        background-color: var(--ringsted-bg-light);
        content: url(assets/icons/mobile-menu-chewron.svg);
        padding: 15px;
    }

    .sp-product-gallery-thumbs {
        display: flex;
        row-gap: 15px;
        gap: 15px;
        overflow-x: auto;
        width: calc(100% + 25px);
        position: relative;
        max-width: unset;
		margin-top: unset;
    }
	/* Fade overlay */
.sp-product-gallery-images-outer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -25px;
  width: 100px; 
  height: 120px;
  pointer-events: none; 
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
  z-index: 2;
}
	/* scrollbars on gallery thumbs */
.sp-product-gallery-thumbs::-webkit-scrollbar {
		display: none;
	}

   .sp-product-gallery-thumb-container {
        border-radius: unset;
		width: calc(20% - 10px);
		padding-bottom: 10px;
    }

    .summary.entry-summary {
        grid-column: span 6;
        width: unset;
        max-width: unset;
    }

    ol.flex-control-nav.flex-control-thumbs {
        display: block;
        padding: 0;
        margin: 0;
        display: flex;
    }

    ol.flex-control-nav.flex-control-thumbs li {
        list-style: none;
        width: 33%;
    }
}

@media screen and (min-width: 768px) {
	.sp-model-right-blok {
		padding-left: 70px;
		   padding-right: 38px;
	}
}

.sp-model-beskrivelse {
    margin-bottom: 15px;
	margin-top: 12px;
    font-size: var(--p-big-size);
    font-weight: var(--p-big-weight);
    line-height: var(--p-regular-lineheight);
    position: relative;
}
.sp-model-beskrivelse:not(.sp-expanded) .sp-model-beskrivelse-text {
    max-height: 188px;
    overflow: hidden;
}
@media screen and (min-width: 768px) {
	.sp-model-beskrivelse:not(.sp-expanded) .sp-model-beskrivelse-text {
		max-height: 95px;
	}
}
.sp-model-beskrivelse.sp-expanded .sp-model-beskrivelse-text {
    /* white-space: pre-line; */
    max-height: unset;
}
.sp-model-beskrivelse .sp-readmore, 
.sp-model-beskrivelse .sp-readless {
	cursor: pointer;
	text-align: left;
	font-size: var(--p-regular-size);
	font-weight: 600;
	margin-top: 10px;
	line-height: var(--p-regular-lineheight);
	color: var(--ringsted-rod);
	text-decoration: underline;
	white-space: normal;
}
.sp-model-beskrivelse .sp-readmore::after, 
.sp-model-beskrivelse .sp-readless::after {
	display: none;
}

.sp-kvalitable {
    border-top: 1px solid var(--ringsted-stroke);
	border-bottom: 1px solid var(--ringsted-stroke);
    padding-top: 15px;
    padding-bottom: 15px;
}
.sp-kvalitable tbody {
	gap: 10px;
	display: flex;
	flex-direction:column;
}
.sp-kvalitable tr {
    display: flex;
    flex-direction: column;
	gap: 3px;
}

@media screen and (min-width: 768px) {
	.sp-kvalitable tbody {
		gap: 10px;
		display: table;
		
	}
	.sp-kvalitable table {
		max-width: 548px;
	}
    .sp-kvalitable tr {
        display: table-row;
    }
	.sp-kvalitable th {
		vertical-align:top;
		font-weight: 600;
	}
	.sp-kvalitable td {
		padding-left: 48px;
		font-weight: 400;
	}
}

.sp-model-varianter {
    padding-top: 15px;
    margin-bottom: 30px;
}
table.sp-modelvare-tabel tr td:nth-child(2),
table.sp-modelvare-tabel tr th:nth-child(2){
    text-align: center;
}
@media screen and (min-width: 768px) {
	.sp-model-varianter {
		max-width: 505px;
	}
	.sp-model-varianter table {
		max-width: 548px;
	}
}

.sp-variationtable-showmore {
    cursor: pointer;
    text-decoration: underline;
    color: var(--ringsted-rod);
    font-weight: 600;
    margin-top: 15px;
}

nav.woocommerce-breadcrumb a {
    color: var(--ringsted-rod);
}

nav.woocommerce-breadcrumb {
    padding-top: 30px;
    padding-bottom: 30px;
}

.sp-attributeitem-top {
    background-color: var(--ringsted-bg-light);
    border-radius: var(--default-border-radius);
    padding: 0 15px;
    font-weight: 600;
	font-size: 14px;
	height: 33px;
	display: flex;
	align-items: center;
}

.sp-top-attributes-container {
    display: flex;
    gap: 10px;
	flex-wrap: wrap;
}
@media screen and (min-width: 768px) { 
    .sp-top-attributes-container {
        display: block;
		
    }
    .sp-serie-items-top {
        margin-top: 15px;
    }
    .sp-serie-item-top {
        display: inline-flex;
    }
}
.sp-comfort-items-top {
     display: flex;
    gap: 10px;
	flex-wrap: wrap;
}
.sp-comfort-items-top item {
	flex-shrink: 0;
}
.sp-model-varianter th:last-of-type,
.sp-model-varianter td:last-of-type {
    text-align: right;
}

.sp-model-varianter th {
    padding-bottom: 5px;
}

h2.sp-prod-acordion-header {
    position: relative;
    cursor: pointer;
    font-size: var(--p-big-size);
    margin-top: 0px;
    margin-bottom: 10px;
    width: 95%;
}

.sp-product-acordion {
    
	margin-top: 15px;    
    padding-bottom: 5px;
}
.sp-product-acordion:not(:has(.active)) {
	border-bottom: 1px solid var(--ringsted-stroke);
}

h2.sp-prod-acordion-header:after {
    position: absolute;
    right: 0;
    cursor: pointer;
}

h2.sp-prod-acordion-header:not(h2.sp-prod-acordion-header.active):after {
    content: "+";
}

h2.sp-prod-acordion-header.active:after {
    content: "-";
}

.sp-prod-acordion-slidecontent {
    display: none;
}

.sp-details-table {
    border-top: 1px solid var(--ringsted-rod);
}

.sp-details-table th,
.sp-details-table td {
    padding: 15px 25px 15px 0px;
    border-bottom: 1px solid var(--ringsted-stroke);
    vertical-align: top;
}
.sp-details-table th {
    width: 25%;
}
.sp-details-table td {
    width: 75%;
    
}
.sp-details-table tr {
	
}
@media screen and (min-width: 768px) { 
.sp-details-table td img {
    max-width: 200px;
    margin-top: 10px;
}
}
.sp-product-linkitem {
	margin-top: 48px;
}
@media screen and (min-width: 768px) { 
	.sp-product-linkitem {
		margin-top: 30px;
	}	
}

.sp-certificates-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    margin-top: 30px;
    border-radius: var(--default-border-radius);
    background-color: var(--ringsted-bg-light);
}
@media screen and (min-width: 768px) { 
    .sp-certificates-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
.sp-model-certifikat-image {
    padding: 15px;
}
.sp-model-certifikat-image:not(:nth-child(2n)) {
    border-right: 1px solid var(--ringsted-stroke);
}
/* make all sp-model-certifikat-iamge with border bottom, but not the final two */
.sp-model-certifikat-image:not(:nth-last-child(-n+2)) {
    border-bottom: 1px solid var(--ringsted-stroke);
}
@media screen and (min-width: 768px) {
 .sp-model-certifikat-image:not(:nth-last-child(-n+2)) {
    border-bottom: unset;
}
.sp-model-certifikat-image:not(:nth-last-child(-n+3)) {
    border-bottom: 1px solid var(--ringsted-stroke);
}
    .sp-model-certifikat-image:not(:nth-child(2n)) {
    border-right: unset;
}
.sp-model-certifikat-image:not(:nth-child(3n)) {
    border-right: 1px solid var(--ringsted-stroke);
}

}
.sp-model-certifikat-image-box {
    height: 70px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.sp-product-infoblock {
    grid-column: span 4;
}
@media screen and (min-width: 768px) {
	.sp-product-infoblock {
    grid-column: span 12;
}
}

.related.products h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: var(--h2-lineheight);
}
.related.products {
	padding-bottom: 100px;
	position: relative;
	width:  var(--fwitem-width);
	max-width: var(--fwitem-maxwidth);
	/* right: var(--fwitem-right); */
	padding-left: var(--fwitem-right);
}


.related.products .products {
     display: flex;
     overflow-x: auto;
     overflow-y: hidden;
     scroll-snap-type: x mandatory;
     scroll-behavior: smooth;
	gap: 20px;
     /* margin-bottom: 100px; */
}
@media screen and (min-width: 768px) {
	.related.products {
		position: relative;
		padding-left: unset;
		overflow: hidden;
		width: calc( var(--fwitem-width) - var(--fwitem-right));
	}
	.related.products .products {
		padding-bottom: 50px;
		
	}
	.related.products .products li {
		
	}
}
/* scrollbars on related */
.related.products ul.products::-webkit-scrollbar {
		height: 2px;
	}
@media screen and (min-width: 768px) {
/* scrollbars on infinity loops */
.sp-infinity-loop .sp-repeater::-webkit-scrollbar {
		height: 2px;
	}
@media screen and (min-width: 768px) {
.related.products ul.products::-webkit-scrollbar {
		height: 4px;
	}
} .related.products ul.products::-webkit-scrollbar {
		height: 4px;
	}
} ul.products::-webkit-scrollbar {
		height: 2px;
	}
@media screen and (min-width: 768px) {
.related.products ul.products::-webkit-scrollbar {
		height: 4px;
	}
}
.related.products ul.products::-webkit-scrollbar-track {
		background-color: var(--ringsted-bg-light);
		border-radius: 100vw;
	}
	
	.related.products ul.products::-webkit-scrollbar-thumb {
		background-color: var(--ringsted-stroke);
		border-radius: 100vw;
	}	
	.related.products ul.products::-webkit-scrollbar-thumb:hover{
		background-color: var(--ringsted-text);
	}
.related.products .products h2 {
font-family: var(--primary-font);
    font-size: var(--h5-size);
    line-height: var(--h5-lineheight);
    font-weight: var(--h5-weight);
}
.related.products .products li {
    width: 90%;
    display: block;
    flex-shrink: 0;
    margin-bottom: 10px;
    scroll-snap-align: start;
}
@media screen and (min-width: 768px) {
     .related.products .products li {
    width: calc(33% - 40px);
}   
}
/* =========== FIBOSEARCH ======================= */
.menu-section {
    display: flex;
}
.sp-mobile-search-symbol {
    display: flex;
    flex-direction: column;
    justify-content:center;
}
.sp-mobile-search-symbol svg {
    width: 50px;
}
.sp-mobile-search-symbol .sp-searchicon-text {
        display: none;
    }
.dgwt-wcas-search-form {
    top: calc(100% + 45px) !important;
}
.dgwt-wcas-search-input {
    border: 1px solid var(--ringsted-bg-dark) !important;
    border-radius: unset !important;
    width: 98% !important;
    margin-left: 1% !important;
}
@media screen and (min-width: 768px) {
    .sp-mobile-search-symbol {
        display: none;
    }
.dgwt-wcas-search-input {
    border-radius: 30px !important;
}
.dgwt-wcas-search-form {
    position: absolute;
    top: calc(100% + 35px) !important;
}
button.dgwt-wcas-search-submit {
    
}
.dgwt-wcas-ico-magnifier, 
.dgwt-wcas-ico-magnifier-handler, 
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon {
    max-width: unset;
    width: auto;
}
a.dgwt-wcas-search-icon.js-dgwt-wcas-search-icon-handler {
    width: unset;
}
.searchicon-text {
    display: block;
}
.dgwt-wcas-search-form .sp-searchicon-text {
    display: none;
}
.dgwt-wcas-preloader.dgwt-wcas-close {
    top: calc(100% + 7px);
}
}



/* styling sp-filters (new) */
.sp-open-mobile-filters {
    font-size: var(--p-regular-size);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: var(--default-button-border-radius);
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--ringsted-stroke);
    display: flex;
    gap: 10px;
    align-content:center;
    align-items:center;
    justify-content: center;
    margin-top: 25px;
}
.sp-breaker .sp-open-mobile-filters {
	background-color: white;
}
@media screen and (min-width: 768px) {
    .sp-open-mobile-filters {
        display: none;
    }
}
.sp-open-mobile-filters:before {
content: url(assets/icons/filterikon-mobile.svg); 
    padding-top: 3px;
}
.sp-filters-upper {
    display: none;
}
.sp-filtergroup .sp-filter-dropdown, .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown {
    display: block;
}
.sp-filtergroup .sp-filter-dropdown .sp-desktop, .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown .sp-desktop {
    display: none;
}
@media screen and (min-width: 768px) {
    .sp-filtergroup .sp-filter-dropdown .sp-desktop, .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown .sp-desktop {
    display: block;
}
}
.sp-filters-upper.active {
    display: flex;
	flex-direction: column;
    position:fixed;
	inset: 0;
    top: 0;
    z-index: 999;
    background-color: white;
    height: 100vh;
    width: 100%;
    padding: 25px;
    left:  0;
}
.sp-filters-left {
    display: none;
}
.sp-filters-left.sp-filters-left-dynevalg {
    display: block;
}
.filters {
    margin-bottom: 25px;
    padding-top: 0;
}
@media screen and (min-width: 768px) {
.sp-filters-left, .sp-filters-right {
    display: flex;
}
}
.sp-mobile-filters-header-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ringsted-stroke);
    align-items: center;
	flex: 0 0 auto;
}
.apply-filters.sp-mobile {
    width: 100%;
    background-color: var(--ringsted-rod);
    color: white;
    text-decoration: none;
    padding: 20px 25px;
    border-radius: var(--default-button-border-radius);
    font-weight: 400;
    font-size: var(--p-big-size);
    letter-spacing: 1px;
    margin-top:  15px;
}
  .sp-filter-dropdown label  input[type="checkbox"]{
  /* kill the native look */
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  /* box size and basic look */
  width:32px;
  height:32px;
  border:2px solid var(--ringsted-stroke);   /* grey border */
  border-radius:2px;
  background:#fff;
  cursor:pointer;

  /* layout helpers */
  display:inline-block;
  vertical-align:middle;
  margin:0 6px 0 0;
  position:relative;          /* so ::after sits inside */
}
    .sp-filter-dropdown label input[type="checkbox"]:checked{
  background:var(--ringsted-rod);         /* red background */
  border-color:var(--ringsted-rod);       /* red border */
}
    .sp-filter-dropdown label input[type="checkbox"]:checked::after{
  content:'';
  position:absolute;
  left:9px; top:2px;          /* fineÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“tune if needed */
  width:10px; height:18px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);    /* the classic ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ */
}
    .sp-filter-dropdown label div,
    .sp-filter-dropdown label span {
          line-height: 32px;
    }
    
    .sp-filter-dropdown label:last-of-type {
        border-bottom: 1px solid var(--ringsted-stroke);
        padding-bottom: 25px;
    }
.sp-filter-dropdown-header {
	display: none;
}
.sp-mobile-filters-closer {
	font-size: var(--p-big-size);
	display: flex;
	align-items: center;
}
.sp-mobile-filters-closer:after {
     content: url(assets/icons/mobile-menu-closer.svg);
	
}
.sp-filters-right {
	max-height: 700px;
	overflow-y: auto;
	/* border-bottom: 1px solid var(--ringsted-stroke); */
}

@media screen and (max-width: 768px) {
.sp-dynevalg-filterblocks {
    overflow-y:auto;
}

.apply-group-filters-container {
    border-top: 1px solid var(--ringsted-stroke);
}
}
@media screen and (min-width: 768px) {
	.sp-filters-right {
	max-height: unset;
	overflow-y: visible;
	border-bottom: unset;
}
	.sp-filter-dropdown-header {
	display: block;
		font-size: var(--p-big-size);
		font-weight: 600;
		padding: 5px 25px;
}
.apply-filters.sp-mobile {
    display: none;
}
    .sp-mobile-filters-header-container {
        display: none;
    }
    .sp-filtergroup.sp-mobile {
        display: none;
    }
.sp-filters-upper {
    display: flex;
    justify-content: space-between;
    height: 77px;
}
	.dynevalg-lower-section .sp-filters-upper {
		display: block;
	}
.sp-filters-left {
    gap: 25px;
}
	.sp-dynevalg-filterblocks {
		display: flex;
		justify-content: space-between;
	}
.sp-filters-right {
    gap: 15px;
	height: unset;
    align-items: center;
}
	.apply-group-filters-container:has(.sp-mobile) {
		display: none;
	}
.reset-filters, .filter-option {
    border-radius: unset;
    background-color: unset;
    color: var(--default-text-color);
    font-weight: 500;
    justify-items: center;
    align-items: center;
    font-size:  var(--p-big-size);
    padding-bottom: 0;
    padding-top: 0;
}
.reset-filters {
    display: flex;
    gap: 5px;
    padding-top:  0;
    padding-bottom: 0;
}
.filter-option {
    padding-left: 35px;
    position: relative;
}
.sp-filterikon-enkeltdyne::before {
    content: url(assets/icons/enkeltdyner.webp);
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
}
.sp-filterikon-dobbeltdyne::before {
    content: url(assets/icons/dobbeltdyner.svg);
    height: 25px;
    width: 25px;
    position: absolute;
    left: 0;
}
.sp-filter-header-trigger {
     min-width: 220px;
     border: 1px solid var(--ringsted-stroke);
     cursor: pointer;
     display: flex;
     justify-content: center;
     gap: 8px;
     height: 53px;
     line-height: 53px;
     border-radius: 50px;
     font-size: var(--p-big-size);
     color: var(--graytext);
     font-weight: 400;
     margin: 0;
     padding: 0 24px;
}
.sp-filter-header-trigger:before {
content: url(assets/icons/feather.svg);
        display: flex;
        flex-direction: column;
        justify-content: center;
}
.sp-filter-header-trigger:after {
    content: url(assets/icons/filter_dropdown_arrow.svg);
        display: flex;
        flex-direction: column;
        justify-content: center;
}
    .sp-filtergroup .sp-filter-dropdown, .sp-filtergroup:has(.sp-filter-header-trigger) .sp-filter-dropdown {
        display: none;
    }
.sp-filter-dropdown.open {
	z-index:10;
     position: absolute;
     z-index: 100;
     background-color: white;
     width: calc(100% + 50px);
     top: calc(100% - 10px);
     box-shadow: var(--box-shadow-light);
     padding: 15px 0px;
     border-radius: var(--smaller-border-radius);
     margin-top: 10px;
}
    .sp-filters-right .sp-filtergroup:last-child .sp-filter-dropdown {
        right: 25px;
    }
    .sp-filter-dropdown label {
        font-size: var(--p-big-size);
        font-weight: 300;
        padding: 5px 25px;
    }
    .sp-filter-dropdown label  input[type="checkbox"]{
  /* kill the native look */
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  /* box size and basic look */
  width:32px;
  height:32px;
  border:2px solid var(--ringsted-stroke);   /* grey border */
  border-radius:2px;
  background:#fff;
  cursor:pointer;

  /* layout helpers */
  display:inline-block;
  vertical-align:middle;
  margin:0 6px 0 0;
  position:relative;          /* so ::after sits inside */
}
    .sp-filter-dropdown label input[type="checkbox"]:checked{
  background:var(--ringsted-rod);         /* red background */
  border-color:var(--ringsted-rod);       /* red border */
}
    .sp-filter-dropdown label input[type="checkbox"]:checked::after{
  content:'';
  position:absolute;
  left:9px; top:2px;          /* fineÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‹Å“tune if needed */
  width:10px; height:18px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);    /* the classic ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ */
}
    .sp-filter-dropdown label div,
    .sp-filter-dropdown label span {
          line-height: 32px;
    }
    
    .sp-filter-dropdown label:last-of-type {
        border-bottom: 1px solid var(--ringsted-stroke);
        padding-bottom: 25px;
    }
.sp-filtergroup {
    position: relative;
    display: flex;
    align-items: center;
}
.apply-group-filters.sp-desktop {
    font-family: var(--primary-font);
    font-size: var(--p-big-size);
    margin-top: 15px;
    background-color: var(--ringsted-rod);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    width: calc(100% - 50px);
    padding: 10px 25px;
    display: block;
    font-weight: 600;
    height: 56px;
    margin-left:  25px;
    margin-right: 25px;
}
.filter-option.active, .reset-filters.active {
    background-color: unset;
    color: var(--default-text-color);
    border-bottom: 2px solid var(--ringsted-rod);
	font-weight: unset;
}

.sp-filters-lower {
    margin-top: 15px;
}
.sp-filters-lower .active-filters {
    display: flex;
    gap: 25px;
}
.sp-dynevalg-filterblocks label:has(input.disabled) {
		display: flex;
	}
	@media screen and (min-width: 768px) {
	.sp-breaker .sp-filters-lower .active-filters {
		gap: 20px;
	}
		.sp-breaker .sp-filters-lower .active-filters .filter-tag {
			padding: 0;
		}
	}
span.filter-tag {
    text-decoration: none;
    font-size: var(--p-small-size);
    font-family: var(--primary-font);
    font-weight: 400;
    background-color: var(--ringsted-bg-light);
    padding: 5px 25px;
    border-radius: var(--default-border-radius);
}
}
.sp-mobile-filters-header-text {
	font-size: var(--h4-size);
	font-weight: var(--h4-weight);
	line-height: var(--h4-lineheight);
}
.sp-filter-header-trigger {
	font-size: var(--p-big-size);
	margin-bottom: unset;
}
@media screen and (min-width: 768px) {
	.filter-options {
		height: 100%;
	}
	/* skypim style infinity loops */
	.sp-infinity-loop { 
		margin-top: 0px;
	position: relative;
    width:  var(--fwitem-width);
    max-width: var(--fwitem-maxwidth);
    padding-left: var(--fwitem-right);
	}
}
/* scrollbars on infinity loops */
.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar,
.sp-infinity-loop .sp-repeater::-webkit-scrollbar {
		height: 2px;
	}
@media screen and (min-width: 768px) {
.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar,
.sp-infinity-loop .sp-repeater::-webkit-scrollbar {
		height: 4px;
	}
	
}
.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar-track,
    .sp-infinity-loop .sp-repeater::-webkit-scrollbar-track {
		background: var(--ringsted-bg-light);
		border-radius: 100vw;
	}
	
	.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar-thumb,
    .sp-infinity-loop .sp-repeater::-webkit-scrollbar-thumb {
		background: var(--ringsted-stroke);
		border-radius: 100vw;
	}	
	.sp-products-container.sp-shortcode-infinityloop ul.products::-webkit-scrollbar-thumb:hover,
    .sp-infinity-loop .sp-repeater::-webkit-scrollbar-thumb:hover {
		background: var(--ringsted-text);
	}

/* search page */
.sp-breaker.sp-searchpage-breaker {
 height: 112px;
 background-color: var(--ringsted-bg-light);
padding: unset;
text-align: center;
	font-size: 20px;
	font-weight: 600;
	width: 100vw;
	margin-left: -5%;
	margin-bottom: 25px;
}
.sp-search-content-container {
	display: flex;
	flex-direction: column;
	justify-items: center;
	height: 100%;
}
.sp-search-content-text {
	text-align: center;
	width: 80%;
	margin: auto;
}
@media screen and (min-width: 768px) {
    .sp-breaker.sp-searchpage-breaker {
		 height: 166px;
		position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;   /* pull left edge to viewportÃ¢â‚¬â„¢s left */
  margin-right: -50vw;  /* pull right edge to viewportÃ¢â‚¬â„¢s right */
		margin-bottom: 50px;
  width: 100vw;         /* prevent 1 px overflow from scrollbars on some browsers */
  box-sizing: border-box;
		font-size: 32px;
}
	.sp-search-content-text {
	
		width: 60%;
}
}
	.megamenu-reklameblok {
		display: none !important;
	}
@media screen and (min-width: 768px) {
	.sp-mi-main-dyner .megamenu-reklameblok, .sp-mi-main-puder .megamenu-reklameblok, .sp-mi-main-mega .megamenu-reklameblok  {
		display: block !important;
		aspect-ratio: 383 / 283;
		border-radius: var(--smaller-border-radius);
		overflow: hidden;
		max-width: 383px;
		margin-bottom: 25px;
		margin-right: 25px;
		position: absolute;
		right: 0px;
	}
	.megamenu-adblock-content {
		height: 100%;
		width: 100%;
		padding: 25px;
		aspect-ratio: 383/283;
		text-align: center;
		color: white;
		background-color: var(--sp-overlay-color);
		font-size: 24px;
		line-height: 30px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 0;
		font-weight: 400;
	}
	.megamenu-adblock-content .sp-linkitem a {
		color: white;
		padding: 18px 24px;
	}
	.megamenu-adblock-content .sp-linkbox  {
		margin-top: unset !important;
	}
}

/* TIMELINE */
.sp-timeline-loop {
	margin-top: 50px;
	margin-bottom: 50px;
	position: relative;
	width: 100%;
}
@media screen and (min-width: 768px) {
	.sp-timeline-loop {
		width: 1201px;
		max-width: var(--max-default-page-width);
		margin-left: auto;
		margin-right: auto;
	}
}
.sp-timeline-loop-dot {
	background-color: var(--ringsted-rod);
	height: 25px;
	width: 25px;
	border-radius: 50%;
	position: absolute;
	left: 11px;
	top: 0;
	z-index: 2;
	/* transition: top 0.2s ease-out; */
}
@media screen and (min-width: 768px) {
	.sp-timeline-loop-dot {
		left: 50%;
		transform: translateX(-50%);
	}
}
.sp-timeline-loop-repeater {
	width: var(--default-page-width);
	max-width: var(--max-default-page-width);
	margin-left: auto;
	margin-right: auto;
	border-left: 8px solid var(--ringsted-bg-light);
	padding-left: 50px;
}
@media screen and (min-width: 768px) {
	.sp-timeline-loop-repeater {
		width: 100%;
		max-width: unset;
		padding: unset;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0px 200px;
		border-left: unset;
	}
	.sp-timeline-loop-repeater::before {
		content: "";
		position: absolute;
		top: 0px;
		bottom: 0;
		left: 50%;
		width: 8px;
		background: var(--ringsted-bg-light);
		transform: translateX(-50%);
	}
}
.sp-timeline-loop-repeater .sp-repeater-item {
	margin-bottom: 50px;
}
@media screen and (min-width: 768px) {
	.sp-timeline-loop-repeater .sp-repeater-item {
		margin: unset;
		
	}
	.sp-timeline-loop-repeater .sp-repeater-item:not(:last-of-type) {
		height: 840px;
	}
	.sp-timeline-loop-repeater .sp-repeater-item:nth-child(2) {
		margin-top: 450px;
	}
	.sp-timeline-loop-repeater .sp-repeater-item:nth-child(even):not(:nth-child(2)) {
		margin-top: 60px;
	}
	.sp-timeline-loop-repeater .sp-repeater-item:nth-of-type(odd):not(:first-of-type) {
		margin-top: -400px;
	}
}
.sp-timeline-loop-repeater .sp-main-header {
	font-size: var(--h2-size);
	line-height: var(--h2-lineheight);
	margin-top: 15px;
	margin-bottom: 10px;
}
.sp-timeline-loop-repeater .sp-intro {
	font-size: var(--p-big-size);
	font-weight: 600;
	color: var(--ringsted-rod);
	margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
	.sp-timeline-loop-repeater .sp-intro {
		font-size: var(--h4-size);
		line-height: var(--h4-lineheight);
	}
}
.sp-timeline-loop-repeater .sp-content-text {
	font-size: var(--p-regular-size);
	line-height: var(--p-regular-lineheight);
	font-weight: 300;

}
.sp-timeline-loop-repeater .sp-image-content {
	border-radius: 5px;
	overflow: hidden;
	aspect-ratio: 1.06;
}
/* FAQ STYLING */
.sp-repeater.sp-faq {
	gap: 0px;
	width: var(--default-page-width);
    max-width: var(--max-default-page-width);
}
@media screen and (min-width: 768px) {
	.sp-repeater.sp-faq {
	   max-width: 660px;
	}
}
.sp-repeater.sp-faq .sp-text-box {
	margin-top: 0;
}
.sp-repeater.sp-faq h2.sp-main-header {
	position: relative;
    cursor: pointer;
	font-size: var(--h4-size);
    text-align: left;
}
.sp-repeater.sp-faq .sp-repeater-item {
	border-bottom: 1px solid #EBF1F5;
	padding-bottom: 18px;
}
.sp-repeater.sp-faq h2.sp-main-header:after {
	position: absolute;
    right: 0;
    cursor: pointer;
}
.sp-repeater.sp-faq h2.sp-main-header:not(h2.sp-main-header.active):after {
    content: "+";
}
.sp-repeater.sp-faq h2.sp-main-header.active:after {
    content: "-";
}
.sp-repeater.sp-faq .sp-content-text {
	display: none;
	margin-top: 24px;
    text-align: left;
}

/*  STORE LOCATOR */
.wpsl-search.wpsl-clearfix {
    order: 1;
    background: unset;
    padding: unset;
}

@media screen and (max-width: 768px) {
div#wpsl-wrap {
    display: grid;
	margin-top: 48px;
}
#wpsl-wrap:before {
		content:"Find en forhandler nær dig";
		order: 1;
        font-size: var(--h3-size);
        line-height: var(--h3-lineheight);
        font-weight: 600;
        text-align:  left;
		font-size:  24px;
		padding-bottom: 24px;
	}
div#wpsl-gmap {
    order: 3;
}


div#wpsl-result-list {
    order: 2;
}
#wpsl-search-wrap .wpsl-input label {
    font-size: var(--p-big-size);
    font-weight: 600;
    margin-bottom: 8px;
}
#wpsl-search-wrap div label {
    font-size: var(--p-big-size);
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}
#wpsl-search-wrap input {
    border: 1px solid var(--ringsted-stroke);
    height: 48px;
    width: 100% !important;
}
#wpsl-search-wrap input:focus-visible {
    outline: 1px solid var(--ringsted-stroke);
}
#wpsl-category {
    width: 100%;
    margin-top: 12px;
}
#wpsl-search-wrap .wpsl-dropdown {
    width: 100% !important;
    height: 48px;
    padding-left: 12px;
}
.wpsl-search-btn-wrap {
    width: 100%;
}
#wpsl-search-btn {
    background-color: var(--ringsted-rod);
    background-image: unset;
    color: white;
    width: 100%;
    border-radius: 100px !important;
}
#wpsl-stores {
     height: 325px !important;   
    border: 1px solid var(--ringsted-stroke);
    padding: 12px;
}
#wpsl-stores ul {
    padding-right: 42px;
}
#wpsl-stores li {
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
#wpsl-stores ul li:first-child {
    padding-top: unset !important;
}
a.wpsl-directions {
     font-size: var(--p-big-size);
    font-weight: 600;
    color: #23293d;
    text-underline-offset: 2px;
}
#wpsl-result-list li p {
    margin: unset;
}
.wpsl-store-location p strong {
    line-height: 28px;
    color: var(--ringsted-text);
    font-weight: 600;
}
.wpsl-store-location span {
    display: block;
}
}
@media screen and (min-width: 768px) {
    .sp-content-text:has(#wpsl-wrap) {
        overflow: visible;
    }
	#wpsl-wrap:before {
		content:"Find en forhandler nær dig";
		order: 1;
		font-size: var(--h3-size);
        line-height: var(--h3-lineheight);
        font-weight: 600;
		text-align:  left;
		font-size:  32px;
		padding-bottom: 32px;
	}
    #wpsl-wrap {
        width: var(--default-page-width);
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: minmax(0, 32%) minmax(0, 68%);
        grid-column-gap: 28px;
        margin-top: 48px;
    }
    #wpsl-search-wrap {
        display: block;
    }
    #wpsl-search-wrap .wpsl-input {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    #wpsl-search-wrap .wpsl-input input {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    div#wpsl-gmap {
        order: 2;
        grid-row: span 3;
        width: 100%;
        height: 100% !important;
        border-radius: var(--smaller-border-radius);
    }
    div#wpsl-result-list {
        order: 4;
        width:  100%;
    }
    .wpsl-search.wpsl-clearfix {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        display: block;
        order: 3;
    }
    .wpsl-dropdown {
        width: 100% !important;
        max-width: 100%;
    }
    .wpsl-search-btn-wrap {
    width: 100%;
}
#wpsl-search-btn {
    background-color: var(--ringsted-rod);
    background-image: unset;
    color: white;
    width: 100%;
    border-radius: 100px !important;
}
    #wpsl-search-wrap .wpsl-input label {
    font-size: var(--p-big-size);
    font-weight: 600;
    margin-bottom: 0px;
}
#wpsl-search-wrap div label {
    font-size: var(--p-big-size);
    font-weight: 600;
    margin-bottom: 0px;
    text-align: left;
}
    #wpsl-search-wrap input {
    border: 1px solid var(--ringsted-stroke);
    height: 48px;
    width: 100% !important;
}
#wpsl-search-wrap input:focus-visible {
    outline: 1px solid var(--ringsted-stroke);
}
#wpsl-category {
    width: 100%;
    margin-top: 12px;
}
#wpsl-search-wrap .wpsl-dropdown {
    width: 100% !important;
    height: 48px;
    padding-left: 12px;
    text-align: left;
}
    #wpsl-stores {
     height: 325px !important;
     border: 1px solid var(--ringsted-stroke);
     padding: 12px;
     padding-right:  0px;
     max-height: 325px;
}
#wpsl-stores ul {
    padding-right: 9px;
}
#wpsl-stores li {
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    border-bottom: 2px solid var(--ringsted-stroke) !important;
}
#wpsl-stores ul li:first-child {
    padding-top: unset !important;
}
a.wpsl-directions {
     font-size: var(--p-big-size);
     font-weight: 600;
     color: var(--ringsted-rod);
     text-underline-offset: 2px;
}
#wpsl-result-list li p {
    margin: unset;
}
.wpsl-store-location p strong {
    line-height: 28px;
    color: var(--ringsted-rod);
    font-weight: 600;
}
	.wpsl-store-location a {
		text-decoration: none;
	}
.wpsl-store-location span {
    display: block;
}
	.wpsl-info-window {
		text-align: left;
		font-size: var(--p-regular-size);
	}
}