/*
Theme Name: sb
*/
* {
	box-sizing: border-box;
}
html {
	overflow-x: hidden;
}
body {
	overflow-x: hidden;
	min-height: 100vh;
}

/**
------------------------------------------------------------- **/
div[class^="post-"],
.post,
article {
	position: relative;
}
a.post-edit-link {
	opacity: 0.8 !important; padding: 0 5px; text-transform: uppercase; display: inline-block; color: #000; position: fixed; bottom: 0; right: 0;
	font-size: 0; width: 25px; height: 25px; background: url('img/icon-edit.svg') no-repeat center center #ccc;
	background-size: 18px; z-index: 100000;
	border-bottom: none;
}
/**  accessibility
------------------------------------------------------------- **/
.sr-only {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	top: auto;
	overflow: hidden;
}

/**  header
------------------------------------------------------------- **/
:root {
	--header-height: 70px;
}
header.mainheader {
	/* background: var(--wp--preset--color--base); */
	width: 100%;
	z-index: 1000;
	position: fixed;
	top: 0;
	height: var(--header-height);
}
header.mainheader a.logo {
	text-decoration: none;
	display: flex;
	color: #fff;
}
header.mainheader a.logo div.name {
	margin: 0;
	/* height: var(--header-height); */
	line-height: var(--header-height);
	font-family: "base-font", sans-serif;
	font-weight: 700;
	font-size: 1.5em;
}
header.mainheader a.logo {
	max-height: var(--header-height);
}
header.mainheader img {
	width: 180px;
	display: block;
	/* mix-blend-mode: multiply; */
}
@media (min-width: 900px) {
	header.mainheader {
		/* background: var(--wp--preset--color--base); */
		overflow: visible;
		width: 100%;
		z-index: 1000;
		position: fixed;
		/* box-shadow: 0px 0px 12px -2px rgba(0,0,0,0.43); */
	}
}

/** fix of header over content on the sub-pages
------------------------------------------------------------- **/
/* body:not(.home) {
	padding-top: var(--header-height);
} */

/**  minimized header
------------------------------------------------------------- **/
header.mainheader {
	transition: all 0.2s;
}
header.mainheader * {
	transition: all 0.2s;
}
header.mainheader.minimized {
	min-height: 0;
	height: 0;
}
header.mainheader.minimized * {
	opacity: 0;
	pointer-events: none;
}

header.mainheader.minimized .logo {
	transform: translateY(-50px);
}

/**  menu
------------------------------------------------------------- **/
/** global menu styling
------------------------------------------------------------- **/

.menu-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--headline-font);
	font-weight: 300;
	font-size: 0.9em;
}

header.mainheader .flex {
	display: flex;
	justify-content: space-between;
	align-content: stretch;
	height: 100%;
	padding: 0 20px;
}


@media (max-width:1199px) {
/** menu on small displays
------------------------------------------------------------- **/
	.menu-toggle {
		display: block;
		cursor: pointer;
		position: absolute;
		right: 1em;
		width: 30px;
		height: 30px;
		z-index: 300;
		bottom: 0;
		top: 0;
		margin: auto;
	} 
	.menu-container {
		display: none;
	}
	.menu-container {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 200;
		background: var(--wp--preset--color--1);
	}
	.menu-container ul {
		display: block;
		text-align: center;
	}
	.menu-container ul li {
		display: block;
		margin: 0;
		position: relative;
	}
	.menu-container ul li a {
		color: var(--wp--preset--color--base);
		border: none;
		padding: 0.5em 0.8em;
		line-height: 45px;
		/* text-transform: uppercase; */
		font-size: 2em;
		letter-spacing: 0.05em;
	}
	.menu-container ul.children li {
		background: #96BC3E;
	}
	.menu-container ul.children li a {
		color: var(--wp--preset--color--base);
	}
	.show-menu .menu-container {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	/* animated menu icon */
	.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
		cursor: pointer;
		border-radius: 1px;
		height: 2px;
		width: 100%;
		background: var(--wp--preset--color--contrast);
		position: absolute;
		display: block;
		content: '';
		transition: all 0.2s ease-in-out;
	}
	.menu-toggle span {top:  calc(50% - 2px);}
	.menu-toggle span:before {top: -10px;}
	.menu-toggle span:after {bottom: -10px;}
	.show-menu .menu-toggle span {background-color: transparent;}
	.show-menu .menu-toggle span:before,
	.show-menu .menu-toggle span:after {top: 0; background: #fff;}
	.show-menu .menu-toggle span:before {transform: rotate(45deg);}
	.show-menu .menu-toggle span:after {transform: rotate(-45deg);}

	.menu-item.highlighted {
		background: #a40833;
	}
	.menu-item.highlighted a {
		color: #fff;
	}
	.show-menu li.menu-item-has-children > a[href*="#"] {
		pointer-events: none;
		font-size: 1em;
	}

}

@media (min-width:1200px) {
/** menu on big displays
------------------------------------------------------------- **/
	.menu-toggle {
		display: none;
	}
	.menu-container {
		display: flex;
		gap: 2em;
	}
	/****** menu generated inner div vertically centered */
	.menu-container > * {
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	} 	/****** end */

	.menu-container ul {
		display: flex;
		justify-content: flex-end;
	}
	.menu-container ul li {
		align-self: center;
		position: relative;
	}
	.menu-container ul li a {
		line-height: normal;
	}
	.menu-container ul.children li {
		background: #fff;
	}
	.menu-container ul li ul {
		display: none;
		text-align: left;
	}
	.menu-container ul > li > a {
		padding: 0.3em 0.8em;
		display: block;
		white-space: nowrap;
		align-self: center;
		border-radius: 100px;
		border: 1px solid transparent;
	}
	
	/* image link in menu*/
	.menu-container li:has(img) a {
		padding: 0.5em 0.3em;
	}
	/*mouse over submenu*/
	.menu-container ul li a:has(~ ul.sub-menu):after {
		content:'';
		display: inline-block;
		margin-left: 4px;
		width: 8px;
		height: 8px;
		background: url("img/icon-arrow-down.webp") no-repeat center center;
		background-size: contain;
	}

	.menu-container ul li:hover ul {
		display: block;
		box-shadow: 0 0px 2px 0px gray;
	}
	.menu-container ul li ul {
		background: #fff;
		position: absolute;
		left: 0;
		top: 37px;
		width: 250px;
		font-size: 0.85em;
		line-height: 1.5em;
		border-radius: 10px;
		padding: 15px !important;
	}
	.menu-container ul li ul li {
		display: block;
	}
	.menu-container ul li ul li a {
		color: #333 !important;
		padding: 0.5em 1em;
	}
	.menu-container ul ul ul {
		display: none !important;
	}

	.menu-item.highlighted {
		position: absolute;
		top: 20px;
		right: 20px;
	}

	/* hover*/
	.menu-container ul > li > a:hover {
		border: 1px solid var(--wp--preset--color--1);
		color: var(--wp--preset--color--1);
	}
	.menu-container ul > li.current-menu-parent > a,
	.menu-container ul > li.current_page_item > a {
		font-weight: 500;
	}


} /** end bid displays **/



/**  footer
------------------------------------------------------------- **/
footer {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 1em;
}
footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer p {
	margin: 0 !important;
}


footer.coming-soon {
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	bottom: 0;
	width: 100%;
}

/**  mouse over effects
------------------------------------------------------------- **/
/**  media-text hover 
------------------------------------------------------------- **/
figure.wp-block-media-text__media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.5s;
	overflow: hidden;
}
figure.wp-block-media-text__media img {
	transition: all 0.2s;
}
figure.wp-block-media-text__media:hover img {
	transform: scale(1.05);
}
/**  buttons
------------------------------------------------------------- **/
a.wp-block-button__link {
	transition: all 0.2s;
}
a.wp-block-button__link:hover {
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}

/** bodycolor
------------------------------------------------------------- **/
body {
	background-color: var(--wp--preset--color--base);
}


/*********************************************
custom element slider
*********************************************/
.wp-block-lazyblock-screen-marquee .screen img {
	max-width: 300px;
}
@media (max-width: 768px) {
	.wp-block-lazyblock-screen-marquee .screen img {
		max-width: 260px;
	}
}


/*********************************************
lazyblocks 
*********************************************/
.wp-block-cover {
	overflow: visible;
}
.wp-block-lazyblock-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
}
.shape-pink {
	position: absolute;
	bottom: 5%;
	left: -5%;
	width: 450px;
	height: 450px;
}
.shape-pink  svg {
	display: block;
	width: 100%;
	height: auto;
}
.circle-red {
	width: 200px;
	height: 200px;
	background-color: #f04e26;
	border-radius: 100%;
	position: absolute;
	left: 20%;
	top: 30%;
}
.circle-red-s {
	width: 100px;
	height: 100px;
	background-color: #f04e26;
	border-radius: 100%;
	position: absolute;
	right: 30%;
	top: 20%;
}
.circle-blue {
	width: 300px;
	height: 300px;
	background-color: #9cdcf9;
	border-radius: 100%;
	position: absolute;
	right: 10%;
	top: 20%;
}
.bear {
	position: absolute;
	bottom: -15%;
	left: -20%;
	right: 0;
	margin: auto;
	width: 600px;
	height: 600px;
	background: url('img/bear.webp') no-repeat center center;
	background-size: contain;
}

.floating {
	animation: float 3s ease-in-out infinite;
}
@keyframes float {
	0%   {transform: translateY(0);}
	50%  {transform: translateY(-20px);}
	100% {transform: translateY(0);}
}

.rotating {
	animation: rotate 30s ease-in-out infinite;
}
@keyframes rotate {
	0%   {transform: rotate(0);;}
	50%  {transform: rotate(360deg);}
	100% {transform: rotate(0);}
}

/**  home screen hero fix
------------------------------------------------------------- **/
.check-list .wp-block-group > *:first-child {
	flex-shrink: 0;
}

/**  pop list
------------------------------------------------------------- **/
/* .pop-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px; 
} */

.pop-list {
	display: flex;
	flex-wrap: nowrap;
}
/* @media (max-width: 768px) {
	.pop-list {
		display: block;
	}
	.pop-list .pop-block {
		margin-bottom: 20px;
	}
} */
.pop-block {
	background-color: #fff;
	border-radius: 20px;
	position: relative;
	width: 500px;
	flex: 0 0 auto;
	margin-right: 2em;
}
@media (max-width: 1000px) {
	.pop-block {width: 50%;}
}
@media (max-width: 600px) {
	.pop-block {width: 90%;}
}
.pop-block:last-child {
	margin-right: 5em;
} 
.pop-img {
	position: relative;
}
.pop-img img {
	max-width: 100%;
	height: auto;
	height: 100%;
	display: block;
	object-fit: cover;
	border-top-right-radius: 20px;
	border-top-left-radius: 20px;
}

.pop-block h2 {
	margin: 0 0 1rem 0;
}
.pop-text {
	padding: 1em;
}
.pop-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.demo-link a {
	padding: 0.5em 1.5em;
	border-radius: 9999px;
	border: 1px solid #ccc;
	background-color: #fff;
	font-size: 0.8em;
	letter-spacing: 1px;
}
.demo-qr-code {
	background: #fff;
	width: 80px;
	height: 80px;
	position: relative;
}
.demo-qr-code img {
	display: block;
	width: 100%;
	height: 100%;
	border: 1px solid var(--wp--preset--color--contrast);
}
.demo-qr-code:after {
	content: 'demo scan';
	background: #000;
	color: #fff;
	font-size: 0.7em;
	display: block;
	text-align: center;
}

.pop-block.new:before {
	content: 'new';
	font-weight: 600;
	position: absolute;
	top: 20px;
	left: 20px;
	background-color: var(--wp--preset--color--1);
	z-index: 10;
	color: #fff;
	padding: 10px;
	border-radius: 100%;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	transform: rotate(-10deg);
}
.pop-block.big {
	grid-column-end: span 2;
	display: flex;
	flex-wrap: wrap;
}
.pop-block.big img {
	border-top-left-radius: 20px;
	border-top-right-radius: 0;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 0;
}
.pop-block.big > * {
	width: 50%;
}
@media (min-width: 768px) {
	.pop-block.big .pop-text {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}



/**  infoblocks
------------------------------------------------------------- **/
.info-block {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	margin: 0 10px;
	height: 100%;
}
.splide__pagination__page.is-active {
	background: #000;
}
.info-img img {
	width:100%;
	height:100%;
	object-fit: cover;
}
.info-text {
	align-self: center;
	padding: 2em;
}
@media (min-width: 768px) {
	.info-block {
		display: flex;
		margin: 0 2em;
	}
	.info-block > .info-img {
		width: 60%;
	}
	.info-block > .info-text {
		width: 40%;
	}
}
.splide__arrow {
	background: #fff;
	border: 0;
	border-radius: 50%;
	height: 4em;
	opacity: 1 !important;
	width: 4em;
	box-shadow: 0 1px 4px #0000001f,0 0 1px #00000014;
	transition: all 0.2s;
}
.splide__arrow:hover {
	transform: translateY(-50%) scale(1.1);
	transform-origin: center center;
}
.splide__pagination__page {
	background: #ccc;
	border: 0;
	border-radius: 10px;
	height: 2px;
	margin: 3px;
	opacity: 1;
	padding: 0;
	position: relative;
	transition: transform .2s linear;
	width: 13px;
}

.info-icon-list {
	margin-top: 2em;
}
.info-icon {
	width: 50px;
	height: 50px;
	margin: 0 auto;
	background: #000;
	border-radius: 20px;
	padding: 13px;
}
.info-icon img {
	width: 100%;
	height: auto;
	filter: grayscale(100%) contrast(200%) invert(1);
}
/* .info-title {
	font-weight: 600;
} */
#splide03-list {
	justify-content: center !important;
}
#splide03-list > * {
	text-align: center;
}

.splide__track--nav > .splide__list > .splide__slide.is-active {
	border: 3px solid transparent;
  }

/**  sections
------------------------------------------------------------- **/
/* div.content > section {
	border: 2px solid black;
} */

/**  background colors
------------------------------------------------------------- **/
.content {
	transition: all 1s;
}
/* .content.color-0 {background: var(--wp--preset--color--base);} */
.content.color-1 {background: var(--wp--preset--color--2);}
.content.color-2 {background: var(--wp--preset--color--4);}
.content.color-3 {background: lightslategray;}
.content.color-4 {background: var(--wp--preset--color--base);}
.content.color-5 {background: var(--wp--preset--color--2);}
.content.color-6 {background: var(--wp--preset--color--4);}

/**  cards
------------------------------------------------------------- **/
ul.cards {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid red;
	margin: 0 auto;
	max-width: 700px;
	min-height: 100vh;
}
ul.cards li.card {
	padding: 2em;
	background-color: #fff;
	border-radius: 20px;
	border: 4px solid blue;
	position: sticky;
	top: 10px;
	height: 300px;
}


/** lazyblock marquee text
------------------------------------------------------------- **/
.marquee {
	position: relative;
	width: 100vw;
	max-width: 100%;
	height: 100px;
	overflow: visible;
	font-size: 50px;
	line-height: 100px;
	/* transform: rotate(-10deg); */
	margin-left: -50%;
}
.track {
	line-height: 100px;
	position: absolute;
	white-space: nowrap;
	will-change: transform;
	animation: marquee 10s linear infinite;
	font-family: var(--wp--preset--font-family--headline-font);
}
@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.reverse .track {
	animation-direction: reverse;
}
@media (max-width: 768px) {
	.marquee {
		font-size: 70px;
	}
}


/** table styling
------------------------------------------------------------- **/
.table table {
	width: auto !important;
	min-width: 300px;
}
.table table td {
	border: 0;
	border-bottom: 1px solid #fff;
}
.table table td:nth-child(1) {
	width: 10px;
	white-space: nowrap;
}


/* lazyblocks FAQ
------------------------------------------------------------- **/
.question {
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--contrast);
}
.question > input[type="checkbox"] {
	position: absolute;
	left: -100vw;
}

.question .answer {
	display: grid; 
	grid-template-rows: 0fr;
	transition: 250ms grid-template-rows ease;
}
.question .answer > div {
	overflow: hidden;
	padding: 0;
}
.question > input[type="checkbox"]:checked ~ .answer {
	height: auto;
	max-height: 1300px;
	grid-template-rows: 1fr;
}
.question label {
	display: block;
	padding: 1em 50px 1em 0;
	cursor: pointer;
	background-color: transparent;
	font-weight: bold;
}
.question header {
	position: relative;
}
.question header:after {
	content: '';
	position: absolute;
	top: 1em;
	right: 1rem;
	width: 1.2rem;
	height: 1.2rem;
	background: url('img/icon-arrow-down.webp') no-repeat center center;
	background-size: auto;
	background-size: 12px;
	transition: all 0.5s;
	pointer-events: none;
}
.question > input[type="checkbox"]:checked + header:after {
	transform: rotate(180deg);
}
.question .answer > div > div {
	padding-bottom: 1rem;
}

/* panels scroll effect
------------------------------------------------------------- **/
.all-panels > div {
	overflow: hidden !important;
}

/* fix difference text-media gaps - same as column gaps
------------------------------------------------------------- **/
.wp-block-media-text {
	gap: 24px !important;
}
.wp-block-media-text > .wp-block-media-text__content {
	padding: 0 !important;
}
/* text-media image border-radius */
.wp-block-media-text__media {
	border-radius: 20px;
}

/* tag
------------------------------------------------------------- **/
span.tag {
	display: inline-block;
	background: transparent;
	color: var(--wp--preset--color--1);
	font-family: var(--wp--preset--font-family--extra-font);
	font-size: 1.7em;
	line-height: 1em;
}
/* .wp-block-group {
	overflow: hidden !important;
} */

/* custom element: spinning circle
*********************************************/
.circle {
	border-radius: 100%;
	width: 180px;
	height: 180px;
	border-radius: 100%;
	position: absolute;
	z-index: 9999;
	transform: rotate(-5deg);
}
.circle .icon {
	position: absolute;
	top: 0;
	left: 0;
	width: 180px;
	height: 180px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.circle .icon:not(:has(img)) {
	background: url('../Images/thumbs-up.webp') center center no-repeat;
	background-size: 90px;
}
/* size of icon without text around */
.circle .icon img {
	max-width: 120px;
}
/* size of icon with text around */
.circle #rotatingText + .icon img {
	max-width: 80px;
}

#rotatingText {
	width: 100%;
	height: 100%;
	animation-name: rotate-circle;
	animation-duration: 10s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	border-radius: 100%;
	font-size: 19px !important; 
}
@keyframes rotate-circle {
	to {transform: rotate(1turn);}
}
.text {
	font-weight: 300;
	letter-spacing: 1.7px;
	fill: var(--wp--preset--color--contrast);
}
.text:after {
	content: '--------';
}
.circle.topleft {
	top: 0;
	left: 0;
}
.circle.topright {
	top: 0;
	right: 0;
}
.circle.bottomleft {
	bottom: 0;
	left: 0;
}
.circle.bottomright {
	bottom: 0;
	right: 0;
}
@media (max-width: 1000px) {
	.circle {
		transform: scale(80%);
	}
}


/*********************************************
FORMFIELDS
*********************************************/
input,
textarea,
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 10px;
	border: none;
	/* vertical-align: middle; */
	max-width: 100%;
	width: 100%;
	font-family: inherit;
	background: transparent;
	font-size: inherit;
	color: #000;
	border-radius: 3px;
	background: #fff;
	border: 1px solid #000;
}
input::placeholder,
textarea::placeholder,
select::placeholder {
	opacity: 0.5;
}
textarea {
	resize: vertical;
	height: 5em;
}
input:focus,
textarea:focus,
select:focus {
	outline: 0;
	background: rgba(255,255,255,0.8);
}
select {
	background: url("assets/images/arrow-down.svg") no-repeat center right 10px;
	background-size: 12px;
	padding-right: 35px;
}
select::-ms-expand {
	display: none;
}
option[disabled] {
	color: #666;
}
input[type="checkbox"],
input[type="radio"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	vertical-align: middle;
	/* border-radius: 20px; */
	background-color: #fff;
	cursor: pointer;
	width: 20px;
	height: 20px;
}
input[type="radio"] {
	border-radius: 100%;
}
input[type="checkbox"]:checked {
	background: url("img/icon-check.svg") no-repeat center center #fff;
	background-size: 70%;
}
input[type="radio"]:checked {
	background: url("img/icon-dot.svg") no-repeat center center #fff;
	background-size: 70%;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
	border: 1px solid #000;
}
input[type="submit"] {
	background: #000;
	color: #fff;
}


.video-max {
	max-width: 300px;
	margin: 0 auto;
}
.image-max {
	max-width: 700px;
	margin: 0 auto;
}