
:root {
	--c1: #244d7e;
	--c2: #a78200;
	--c3: #ffc301;

	--black: #000;
	--white: #fff;
	--beige-light: #f8f8f4;

	--grey-lighter: #eee;
	--grey-light: #ccc;
	--grey-medium: #999;
	--grey-darker: #444;

	--orange: #e62c03;

	--darkm-bkg: var(--grey-lighter);

	--header-bkg: var(--white);
	--header-brd: 1px solid var(--grey-light);
	--header-shd: 0px 0px 15px var(--grey-medium);

	--nav-txt-seld: var(--orange);
	--nav-bkg: var(--white);
	--nav-brd: 1px solid #ddf;

	--cta-bkg: var(--c1);
	--cta-bkg-hvr: var(--orange);
	--cta-txt: var(--white);

	--txt-clr: var(--black);
	--txt-bld-clr: var(--orange);
	--bkg-clr: var(--white);

	--link-hvr: var(--orange);

	--intro-hdr-text: var(--c1);
	--intro-txt: var(--black);
	--intro-bkg: hsla(0, 0%, 100%, .8);

	--solutions-bkg: #f8f8f8;
	--solution-bkg: var(--white);
	--solution-brd: 1px solid #eee;
	--solution-shd: 2px 2px 8px 0px var(--grey-light);

	--flw-prc: url('tst/prc.svg');
	--flw-mod: url('tst/mod.png');
	--flw-app: url('tst/app.png');

	--footer-txt: var(--grey-darker);
	--footer-bkg: var(--grey-light);
	--copy-bkg: var(--grey-medium);
}

body {
	font-family: arial, sans-serif;
	line-height: 1.3;
	color: var(--txt-clr);
	background-color: var(--bkg-clr);
	overflow-y: scroll;
	overflow-x: hidden;
}

h1, h2, h3 {
	color: var(--c1);
	margin: 0 0 0.5em 0;
}

p {
	margin-bottom: 1em;
}

b {
	color: var(--txt-bld-clr);
	font-weight: normal;
}

a, a:visited {
	color: var(--c1);
	text-decoration: none;
}

a:hover {
	color: var(--link-hvr);
}

a.selected {
	color: var(--c2);
}

ul, ol {
	margin: 0;
	padding: 0;
}

blockquote {
	position: relative;
	quotes: "\201C""\201D""\2018""\2019";
	padding: 0.8em 1em;
	max-width: 38em;
	background-color: var(--grey-lighter);
}

blockquote:before {
	position: absolute;
	top: -16px;
	left: 2px;
	font-family: georgia, serif;
	color: var(--c1);
	content: open-quote;
	font-size: 3em;
}

.hidden {
	display: none;
}

input[type="button"] {
	color: var(--white);
	padding: 0.5em;
	border: none;
	border-radius: 0.8em;
	cursor: pointer;
}

a.advice {
	padding: 0.5em;
	border-radius: 0.3em;
	cursor: pointer;
}

#container {
}

#main {
}

li.darkmode-toggle {
	padding: 0.4em 0.6em;
	background-color: none;
	border-radius: 0;
	border-top: var(--nav-brd);
}

header {
	z-index: 10;
	position: sticky;
	top: 0;
	background-color: var(--header-bkg);
	border-bottom: 1px solid transparent;
	box-shadow: none;
	transition: border 500ms, box-shadow 500ms;
/*	transition: transform 500ms;*/
}

header.scroll-up {
/*	transform: translateY(0);*/
	box-shadow: none;
}

header.scroll-down {
/*	transform: translateY(-100%);*/
	border-bottom: var(--header-brd);
	box-shadow: var(--header-shd);
}

div.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1158px;
	margin: 0 auto;
	padding: 1em;
}

.rfxlogo {
	width: 230px;
	cursor: pointer;
}

.darkmode .rfxlogo {
	filter: grayscale(100%) brightness(6);
}

nav {
	z-index: 5;
	position: absolute;
	top: 5em;
	width: 100%;
	height: 0px;
	margin-left: -1em;
	overflow: hidden;
	transition: height 0.4s linear;
}

nav.shownav {
	height: 30em;
}

nav ul {
	background-color: var(--nav-bkg);
	list-style-type: none;
}

nav ul li {
	position: relative;
	color: var(--c1);
	font-size: 1.5em;
	text-align: center;
	padding: 0.5em;
	cursor: pointer;
	border-bottom: var(--nav-brd);
}

nav ul li.selected {
	color: var(--nav-txt-seld);
}

nav ul li:hover {
	color: var(--nav-txt-seld);
}

input[type=button],
nav ul li.contact,
a.advice {
	color: var(--cta-txt);
	cursor: pointer;
	padding: 0.3em 0.4em;
	text-decoration: none;
	background-color: var(--cta-bkg);
	border-radius: 3px;
	user-select: none;
}

input[type=button]:hover,
nav ul li.contact:hover,
a.advice:hover {
	color: var(--cta-txt);
	background-color: var(--cta-bkg-hvr);
}

nav ul li.contact.selected {
	background-color: var(--c1);
}

nav ul li.contact.selected::after {
	display: none;
}

nav ul li.contact {
	width: 8em;
	margin: 0 auto;
}

#menu_btn {
	width: 2.5em;
	height: 3em;
	cursor: pointer;
	transition: all 0.5s;
}

div#menu_btn div.bars {
	margin: 0.7em auto;
}

div#menu_btn * span {
	display: block;
	background-color: var(--c1);
	height: 0.3em;
	margin: 0.4em 0;
	transition: all 0.5s linear;
}

div#menu_btn.opened * span.top {
	height: 0.25em;
	transform: translate(0em, 0.7em) rotate(45deg);
	-webkit-transform: translate(0em, 0.7em) rotate(45deg);
	-ms-transform: translate(0em, 0.7em) rotate(45deg);
}

div#menu_btn.opened * span.middle {
	opacity: 0;
	height: 0.4em;
}

div#menu_btn.opened * span.bottom {
	height: 0.25em;
	transform: translate(0em, -0.7em) rotate(-45deg);
	-webkit-transform: translate(0em, -0.7em) rotate(-45deg);
	-ms-transform: translate(0em, -0.7em) rotate(-45deg);
}

section {
	display: none;
	position: relative;
	transition: opacity 800ms;
}

section.show {
	display: block;
	opacity: 1;

	@starting-style {
		opacity: 0;
	}
}

div.topics,
div.solutions,
div.contact {
	box-sizing: border-box;
	max-width: 1158px;
	margin: 0 auto;
	padding-block: 3em;
}

div.intro div.topics {
	margin-block: 0;
}

div.topics.grid {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0 1em;
	gap: 2rem;
}

div.solutions {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	padding-inline: 1em;
}

div.solution {
	width: 100%;
	padding: 2em;
	border: var(--solution-brd);
	border-radius: 0.4em;
	background-color: var(--solution-bkg);
	box-shadow: var(--solution-shd);
}

div.solution div.stitle {
	color: var(--c1);
	font-size: 150%;
	font-weight: bold;
	margin: 0.6em 0;
}

div.topic {
	padding-inline: 1em;
}

div.topic.flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5em;
}

div.topic div.ttext {
	max-width: 90%;
}

div.topic div.timg img {
	width: 90%;
	border-radius: 0.3em;
}

div.topic div.timg.flwchart {
	width: 50%;
	text-align: center;
}

div.topic div.timg.flwchart img {
	max-width: 90%;
}

div.topic div.timg img.flw-mod,
div.topic div.timg img.flw-app {
	max-width: 90%;
	border-radius: 0;
}

div.topic div.timg img.flw-prc {
	content: var(--flw-prc);
}

div.topic div.timg img.flw-mod {
	content: var(--flw-mod);
}

div.topic div.timg img.flw-app {
	content: var(--flw-app);
}

span.ticon {
	display: inline-block;
	position: relative;
	top: 0.35em;
	width: 32px;
	height: 32px;
	padding: 0.2em;
	margin-right: 0.5rem;
	background-color: var(--grey-lighter);
	background-size: 32px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border-radius: 0.5em;
}

span.ticon.flexible {
	background-image: url(flexible.svg);
}

span.ticon.infinity {
	background-image: url(infinity.svg);
}

span.ticon.shield {
	background-image: url(shield.svg);
}

div.intro div.topics.grid {
	align-items: flex-start;
}

div.intro p,
div.intro li {
	color: var(--intro-txt);
}

div.topics.flex {
	display: flex;
	flex-wrap: wrap;
	gap: 3em;
}

div.topics.flex div.topic {
	min-width: 18em;
	max-width: 45%;
}

div.topic ul {
	margin-left: 1.2em;
}

div.intro {
	min-height: 550px;
	background-repeat: no-repeat;
	background-size: cover;
}

div.intro div.topic {
	padding: 1.5rem;
	backdrop-filter: blur(.25rem);
	background: var(--intro-bkg);
	border-radius: 0.3rem;
}

#services div.intro {
	background-image: url(tst/nijmegen-opt.jpg);
}

#platform div.intro {
	background-image: url(services.jpg);
}

#oplossingen div.intro {
	background-image: url(platform.jpg);
}

#over div.intro {
	background-image: url(contact.jpg);
}

#contact div.intro {
	background-image: url(tst/rozet.jpg);
}

#advice div.intro {
	background-image: url(tst/nijmegen-opt.jpg);
}

div.sheader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	border-bottom: 1px solid var(--c3);
}

div.sheader h1 {
	padding: 0.2em 0.5em;
	margin: 0;
}

div.service {
/*	padding: 4em;
	background-color: #f8f8f8;
	border-radius: 1em;*/
}

div.service,
div.platform,
div.solution {
	opacity: 0;
	transform: translateY(10%);
	transition: transform 500ms ease-in, opacity 500ms ease-in;
}

div.service.appear,
div.platform.appear,
div.solution.appear {
	opacity: 1;
	transform: translate(0);
}

ul.sitenav li {
	position: relative;
	list-style-type: none;
	margin-bottom: 0.25em;
	cursor: pointer;
	color: var(--c1);
}

ul.sitenav li:hover {
	color: var(--orange);
}

div.flex {
	display: flex;
	flex-wrap: wrap;
}

#solution_1 div.logo img {
	width: 190px;
}

#solution_2 div.logo img {
	height: 80px;
}

#solution_4 div.logo img {
	width: 170px;
}

#kaartje {
	width: 100%;
	height: 300px;
	margin-top: 1em;
	border: var(--solution-brd);
}

div.flex.footer {
	gap: 2em 3em;
}

footer, div.copyright {
	padding: 1em 0;
	padding: 1em;
}

footer {
	color: var(--footer-txt);
	background-color: var(--footer-bkg);
}

footer p {
	margin: 0;
	padding: 0.3em 0;
}

footer b {
	font-size: 120%;
	font-weight: bold;
	color: var(--footer-txt);
}

div.footer {
	max-width: 1158px;
	margin: 0 auto;
}

span.phone, span.email {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 0.4em;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-size: 22px;
}

.darkmode span.phone, .darkmode span.email {
	filter: grayscale(100%) brightness(2);
}

span.phone {
	background-image: url(phone.png);
}

span.email {
	background-image: url(email.png);
}

div.copyright-container {
	background-color: var(--copy-bkg);
}

div.copyright {
	color: var(--footer-txt);
	max-width: 1158px;
	margin: 0 auto;
	text-align: right;
}

.scroller {
	display: inline-block;
	max-width: 100%;
}

.scroller-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	padding-block: 1rem;
}

.scroller-inner img {
	width: 120px;
	object-fit: contain;
}

.scroller[data-animated="true"] {
	overflow: hidden;
	mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
	-webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller-inner {
	width: max-content;
	flex-wrap: nowrap;
	animation: infinite_scroll var(--_scroller-duration, 60s) var(--_scroller-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
	--_scroller-direction: reverse;
}

.scroller[data-speed="fast"] {
	--_scroller-duration: 30s;
}

@keyframes infinite_scroll {
	to {
		transform: translate(calc(-50% - 2rem));
	}
}

.scroller {
	max-width: 90%;
}


@media screen and (min-width: 768px) {

div.solution {
	width: 40%;
}

}

@media screen and (min-width: 992px) {

nav {
	position: initial;
	width: initial;
	height: initial;
	overflow: visible;
}

nav.shownav {
	height: initial;
}

nav ul {
	background-color: initial;
}

nav ul li {
	display: inline-block;
	font-size: 1.1em;
	text-align: initial;
	padding: initial;
	margin-left: 1em;
	cursor: pointer;
	border-bottom: none;
}

nav ul li:hover {
	color: var(--nav-txt-seld);
}

nav ul li::after {
	z-index: 2;
	content: "";
	position: absolute;
	top: 1.5em;
	left: 0;
	width: 0px;
	height: 3px;
	background-color: var(--nav-txt-seld);
	border-radius: 1em;
	transition: width 500ms;
}

nav ul li.selected::after {
	width: 100%;
}

nav ul li.contact {
	width: initial;
	margin-left: 1em;
}

li.darkmode-toggle {
	padding: 0.4em 0.6em;
	background-color: var(--darkm-bkg);
	border-radius: 1em;
	border-top: none;
}

#menu_btn {
	display: none;
}

div.page {
	position: relative;
	width: 100%;
}

div.header {
	padding: 1em;
}

div.intro p,
div.intro li {
	font-size: 110%;
}

div.intro {
	padding-inline: 1em;
}

div.topics.grid {
	/*justify-items: center;*/
	grid-template-columns: 1fr 1fr;
	margin: 0 auto;
}

div.topic div.ttext {
	max-width: 45%;
}

div.topic div.timg.flwchart img {
	width: 250px;
}

div.topic div.timg img {
	width: 450px;
}

div.topic div.timg img.flw-mod {
	max-width: 540px;
}

div.topic div.timg img.flw-app {
	max-width: 450px;
}

div.solution {
	width: 18em;
}

footer, div.copyright {
	padding: 1em;
}

.scroller {
	max-width: 800px;
}

}

.darkmode {
	--c1: #adf;

	--orange: #ffc363;

	--darkm-bkg: #223;

	--header-bkg: #334;
	--header-brd: 1px solid #334;
	--header-shd: 0px 0px 15px #233;

	--nav-txt-seld: var(--orange);
	--nav-bkg: var(--header-bkg);
	--nav-brd: 1px solid #556;

	--cta-bkg: var(--c1);
	--cta-bkg-hvr: var(--orange);
	--cta-txt: var(--darkm-bkg);

	--txt-clr: var(--white);
	--txt-bld-clr: var(--orange);
	--bkg-clr: #445;

	--link-hvr: var(--orange);

	--intro-txt: var(--white);
	--intro-bkg: rgba(68, 68, 85, .8);

	--solutions-bkg: var(--bkg-clr);
	--solution-bkg: #334;
	--solution-brd: 1px solid #334;
	--solution-shd: 2px 2px 8px 0px #223;

	--flw-prc: url('tst/prc-drk.svg');
	--flw-mod: url('tst/mod-drk.png');
	--flw-app: url('tst/app-drk.png');

	--footer-txt: #889;
	--footer-bkg: #334;
	--copy-bkg: #223;
}