/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

:root {
	--h1: 68px;
	--h2: 48px;
	--h3: 36px;
	--h4: 24px;
	--h5: 20px;
	--donkerblauw: #324058;
	--groen: #B5CBB1;
	--licht: #D0DACC;
	--radius: 1em;
}

/* https://cydstumpel.nl/a-practical-guide-to-the-css-view-transition-api/ */
@view-transition {
  navigation: auto;
}

/* grid */
body #wrapper #main {
	xackground: url("/wp-content/uploads/gridline.svg") repeat 0 0%;
	background-size: calc(100% / 6);
}
.loggedin-visible {
	display: none;
}
.logged-in .loggedin-visible {
	display: flex;
}
.row-collapse>.col, .row-collapse>.flickity-viewport>.flickity-slider>.col {
    padding-right: 1px !important;
}
.col {
	padding-bottom: 0;
}
.section.align-start {
	align-items: start;
}
.res-text {
    font-size: unset;
}

/* header */
.header-wrapper.stuck {
	box-shadow: none;
}
.nav > li > a {
	font-size: 20px;
    font-weight: 600;
    font-style: normal;
    color: var(--donkerblauw);
}
.social-icons a {
    color: var(--donkerblauw) !important;
    border-color: var(--donkerblauw) !important;
    border-width: 3px !important;
}

/* global */
body, body p, body li {
	font-size: 18px;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-weight: 600;
    font-style: normal;
}
h1,
.h1,
.banner h1,
.banner .h1 {
	font-size: var(--h1);
	line-height: 1.1em;
}
h2,
.h2,
.banner h2,
.banner .h2 {
	font-size: var(--h2);
}
h3,
.h3,
.banner h3,
.banner .h3 {
	font-size: var(--h3);
}
h4,
.h4,
.banner h4,
.banner .h4 {
	font-size: var(--h4);
}
h5,
.h5 {
	font-size: var(--h5);
	letter-spacing: 0;
}
h6,
.h6 {
	font-size: 14px;
	opacity: 1;
	letter-spacing: 0;
}
.dark,
.dark p,
.dark td {
	color: #fff;
}
.uppercase {
	letter-spacing: 0;
}
p.intro {
	font-size: var(--h4);
	line-height: 1.5em;
}
strong {
    font-weight: 900 !important;
}
small {
	font-size: 14px;
}
.zindex {
	z-index: 0;
}
.nomargin,
.banner .nomargin {
	margin-bottom: 0;
	margin-top: 0;
}
.banner p {
	margin-top: 0;
}
.nopadding {
	padding-bottom: 0;
}
.parallax-active {
	opacity: 1 !important;
}

.bruin {
	color: var(--bruin) !important;
}
.section.bg-bruin, .col.bg-bruin .col-inner {
	background-color: var(--bruin);
}
.groen {
	color: var(--groen) !important;
}
span.bg-groen {
	background-color: var(--groen);
	padding: 0em 0.25em;
}
.section.bg-groen, .col.bg-groen .col-inner {
	background-color: var(--groen);
}
.licht {
	color: var(--licht) !important;
}
.section.bg-licht, .col.bg-licht .col-inner {
	background-color: var(--licht);
}
p.label {
	background-color: var(--donkerblauw);
	color: #fff;
	padding: 0.25em 0.5em;
	border-radius: 4px;
	display: inline-block;
}
.ux-logo.afgerond img {
	border-radius: var(--radius);
}
.ux-logo.afgerond div {
	padding: 0;
		border-radius: var(--radius);

}

/* buttons */
.button {
	font-weight: 500;
	margin-bottom: 0;
}
.button.is-large {
	font-size: var(--h4) !important;
}
.button.success {
	color: #fff;
}
.button.align-bottom {
	position: absolute;
	bottom: 1em;
}
.button.is-link {
	padding: 0;
}
.underline {
	text-decoration: underline;
}

/* animaties */
.slideUp {
	transform: translateY(20%);
	opacity: 0;
	animation: slide-up 1.5s ease-in-out forwards;
	animation-delay: 0.5s;
}
.slideUp.second {
	animation-delay: 1.5s;
}
.slideUp.third {
	animation-delay: 2.5s;
}
@keyframes slide-up {
	20% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: translateY(0%);
	}
}
.slideInUp {
	transform: translate(0, 10vh);
	transition: all 1s ease-in-out;
	opacity: 0.5;

}
.slideInUp.zichtbaar {
	transform: translate(0, 0);
	opacity: 1;
}

/* custom */
.recipe-slider .flickity-slider > * {
    max-width: 15% !important;
}
.recipe-slider .flickity-slider {
	
}
.recipe-slider .box {
	opacity: 0.75 !important;
	margin: 0 2em !important;
}
.recipe-slider .box.is-selected {
	opacity: 1 !important;
}
	.recipe-slider .box .box-image {
		transform-origin: 50% 50%;
	}
	.recipe-slider .box.is-selected .box-image {
		transform: scale(1) rotate(0) !important;
		transition: all 0.5s ease-in-out;
	}
		.recipe-slider .box.rotate-40  {
			transform: translateY(75px);
		}
	.recipe-slider .box.rotate-40 .box-image {
		transform: scale(0.75) rotate(-40deg);
	}
		.recipe-slider .box.rotate-80  {
			transform: translateY(250px);
		}
	.recipe-slider .box.rotate-80 .box-image {
		transform: scale(0.75) rotate(-80deg);
	}
		.recipe-slider .box.rotate-120  {
			transform: translateY(500px);
		}
	.recipe-slider .box.rotate-120 .box-image {
		transform: scale(0.75) rotate(-120deg);
	}
		.recipe-slider .box.rotate-min40  {
			transform: translateY(75px);
		}
	.recipe-slider .box.rotate-min40 .box-image {
		transform: scale(0.75) rotate(40deg);
	}
		.recipe-slider .box.rotate-min80  {
			transform: translateY(250px);
		}
	.recipe-slider .box.rotate-min80 .box-image {
		transform: scale(0.75) rotate(80deg);
	}
		.recipe-slider .box.rotate-min120  {
			transform: translateY(500px);
		}
	.recipe-slider .box.rotate-min120 .box-image {
		transform: scale(0.75) rotate(120deg);
	}

	.recipe-slider .box .box-text {
		
		width: 600px;
		left: 50%;
		opacity: 0;
		transform: translateX(-50%);
	}
	.recipe-slider .box.is-selected .box-text {
		opacity: 1;
		xtransform: translateY(0vh);
	}

/* slider https://dribbble.com/shots/11012652--Timed-Cards-Opening */
.banner-layers.container {
	max-width: 100vw;
}

/* afbeelding en vlak */
img.afbeelding {
	position: absolute;
	pointer-events: none;
	max-width: unset;
}
.afbeelding.rotate-180 {
	transform: rotate(180deg);
}
.vlak {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	right: 0;
	bottom: 0;
	width: 100vw;
	padding: 0 !important;
	margin: 0 !important;
	z-index: -2;
}
.vlak-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	left: -1px;
	right: -1px;
}
.vlak.bg-groen .vlak-overlay {
	background-color: var(--groen);
}
.vlak.bg-bruin .vlak-overlay {
	background-color: var(--bruin);
}
.vlak.bg-licht .vlak-overlay {
	background-color: var(--licht);
}
.vlak-bg {
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	right: 0;
	bottom: 0;
	padding: 0 !important;
	margin: 0 !important;
}

/* footer */
footer {
	overflow: hidden;
}
.absolute-footer {
	display: none;
}


@media screen and (max-width: 850px) {
	:root {
		--huge: 68px;
		--headline: 36px;
		--h1: 25px;
		--h2: 20px;
		--h3: 20px;
		--h4: 18px;
		--radius: 10px;
	}
	.button.align-bottom {
		position: unset;
	}
}