html,body {
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

body{
	font-family: verdana;
	background-image: url("background/Hex.jpg");
	background-attachment: fixed;
	background-position: center top;
	color: white;
	margin: 0;
}

#page{
	max-width: 1280px;
	margin: auto;
}

#topbanner h1 {
	font-size: 150%;
	font-style: italic;
	font-weight: normal;
	margin: 0;
}

#content h1 {
	font-size:150%;
    counter-reset: h2counter;
}

h2 {
	font-size:125%;
	font-style: italic;
	font-weight: normal;
	padding-top: 10px;
	margin-top: 50px;
	border-top: 1px solid rgba(150,150,150,1);
}

hr {
	border: none;
	border-top: 1px solid rgba(150,150,150,1);
}

.numberedheadings h2{
	counter-increment: h2counter;
	counter-reset: h3counter;
}

.numberedheadings h2:before{
	content: counter(h2counter) ".\0000a0\0000a0";
}

.numberedheadings h3 {
	counter-increment: h3counter;
}

.numberedheadings h3:before{
	content: counter(h2counter) "." counter(h3counter) ".\0000a0\0000a0";
}

h4 {
	font-weight: normal; 
	text-decoration: underline;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 15px;
}

h5 {
	font-weight: normal;
	font-style: italic;
	font-size: 100%;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 15px;
}

p {
	margin-top: 5px;
	line-height: 150%;
	margin-left: 15px;
}

a {
	color: hotpink;
}

img {
	width: 100%;
} 

note {
	margin-top: 0;
	padding-top: 0;
	font-style: italic;
	
	
	font-size: 75%;
}

ul {
	margin-bottom: 0;
	margin-top: 0;
}

table {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
}

th {
	text-align: left;
}

#topbanner h1{
	font-size: 250%;
	display: inline-block;
}
#menu{
	width: 25%;
	display: inline-block;
	padding: 10px;
	vertical-align: top;
}

.submenu {
	width: 100%;
	padding-left: 10px;
	box-sizing: border-box;
}

.knop {
	background-color: rgba(170, 0 ,0 ,1.0);
	padding: 10px;
	display: inline-block;
	text-decoration: none;
	color: white;
}

.knop:hover {
	background-color: rgba(200, 30 , 30 ,1.0);
}

#menu .knop {
	background-color: rgba(200, 0 ,0 ,0.7);
	width: 100%;
	margin-bottom: 4px;
	box-sizing: border-box; /*include padding in size*/
	text-overflow: ellipsis; /* shows that when not fits ...*/
	white-space: nowrap; /*can not use enter*/
	overflow: hidden /*hide everything that does not fit*/
}

#menu .pressed {
	background-color: rgba(255, 0 ,0 ,1.0);
}

#menu .knop:hover{
	background-color: rgba(200, 0 ,0 ,1.0);
}

#menu .pressed:hover{
	background-color: rgba(255, 0 ,0 ,1.0);
}

.quarter, .third, .half, .full{
	display: inline-block;
	float: left;
	margin-bottom: 10px;
}

.quarter {
	width: 25%;
}

.third {
	width: 33%;
}

.half {
	width: 50%;
}

.full {
	width: 100%;
}

.figure {
	color: rgb(150, 150, 150);
	font-style: italic;
}

.figureblock {
	display: inline-block;
}

.warning{
	background-color: rgb(200, 169, 169);
	padding: 10px;
	margin: 10px;
	border-radius: 10px;
	border-style: solid;
	border-color: rgb(169, 69, 69);
	border-width: thin;
	color: rgb(169, 69, 69);
}

#content{
	backdrop-filter: blur(16px) brightness(70%);
	width: 70%;
	display: inline-block;
	vertical-align: top;
	padding: 10px;
	box-sizing: border-box;
	padding-bottom: 10vh;
}

input[type=submit]{
	background-color: rgba(170, 0, 0, 1);
	text-decoration: none;
	color: white;
	border: none;
	
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	box-sizing: border-box;
}

input[type=submit]:hover{
	background-color: rgba(200, 30, 30,1);
	cursor: pointer;
}

input[type=email],
input[type=text] {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	box-sizing: border-box;
}

input[type=checkbox] {
	cursor: pointer;
}

textarea {
	padding: 12px 20px;
	margin: 8px 0;
	width: 100%;
	font-family: verdana;
	resize: vertical; 
}

/*container around the custom radio buttons*/
.radioContainer {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12 px;
	cursor: pointer;
	font-size: auto;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*hide the browser's default radio button */
.radioContainer input {
	position: absolute;
	opacity: 0; /* makes it invisible */
	cursor: pointer;
}

/* create a custom radio button */
.checkmarkRadioButton {
	position: absolute;
	top: 0;
	left: 0;
	height: 15px;
	width: 15px;
	background-color: rgb(220, 220, 220);
	border-radius: 50%;
}

/*hovering on checkmark */
.radioContainer:hover input ~ .checkmarkRadioButton {
	background-color: rgb(190, 190, 190);
}


/* when radio button is checked --> pnk background color */
.radioContainer input:checked ~ .checkmarkRadioButton {
	background-color: rgb(201, 2, 164);
}

/*creating the indicator (the white dot, hidden when not checked) */
.checkmarkRadioButton:after {
	content: "";
	position: absolute;
	display: none; 
}

/* show indicator (dot) when checked */
.radioContainer input:checked ~ 
.checkmarkRadioButton:after {
	display: block;
}

/*style the indicator (dot) */
.radioContainer .checkmarkRadioButton:after {
	top: 5px;
	left: 5px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: white;
}

.menuIcon {
	display: none;
	cursor: pointer;
	position: absolute;
	right: 10px;
}

.bar1, .bar2, .bar3 {
	width: 35px;
	height: 5px;
	background-color: #fff;
	margin: 6px 0;
	transition: 0.4s;
}

.change .bar1 {
	-webkit-transform: rotate(-45deg) translate(-9px, 6px);
	transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
	-webkit-transform: rotate(45deg) translate(-8px, -8px);
	transform: rotate(45deg) translate(-8px, -8px);
}

/* Before/after image stuff */
.img-comp-container {
	width: 100%;
	position: relative;
}

.img-comp-container img {
	width: auto;
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.img-comp-img img {
	display: block;
	vertical-align: middle;
}

.img-comp-slider {
  position: absolute;
  z-index:9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}

.infobox {
	width: 90%;
	margin: 10px auto 0;
	border: 1px solid white;
	padding: 5px;
}

.infobox :first-child {
	margin-top:0;
}

.infobox form {
	overflow: hidden;
	transition: max-height 0.5s ease;
	max-height: 1500px;
}

.infobox .result {
	overflow: hidden;
	transition: max-height 0.5s ease;
}

.product_overview {
    display: flex;
    gap: 20px;
}

.two_cols {
	display: flex;
	gap: 20px;
}

.two_cols .col {
	width: 50%;
}

.product_features {
	width: 50%;
	padding: 0px;
}

.product_images {
	width: 50%;
	vertical-align: top;
}

.product_main_image img {
	width: 100%;
	display: block;
	border-radius: 8px;
}

.product_thumbs {
	margin-top: 10px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.product_features li {
	padding-bottom: 5px;
}

.product_thumbs img {
	width: 80px;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 6px;
	box-sizing: border-box;
}

.product_thumbs img.active {
	border-color: #666;
}

.product_main_image {
	position: relative;
}

.product_main_image .nav {
	position: absolute;
	top: 0;
	width: 30%;
	height: 100%;
	cursor: pointer;
	z-index: 2;
}

.product_main_image .nav.left {
	left: 0;
}

.product_main_image .nav.right {
	right: 0;
}

.product_main_image .nav::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	width: 12px;
	height: 12px;
	border: solid white;
	border-width: 0 3px 3px 0;
	opacity: 0;
	transition: 0.2s;
	filter: drop-shadow(0 0 3px rgba(0,0,0,0.9));
}

.product_main_image .nav.left::after {
	left: 15px;
	transform: translateY(-50%) rotate(135deg);
}

.product_main_image .nav.right::after {
	right: 15px;
	transform: translateY(-50%) rotate(-45deg);
}

.product_main_image:hover .nav::after {
	opacity: 0.8;
}

.product_features h3 {
	margin-top: 0;
}

.product_features h2 {
	margin-top: 0;
	border-top: none;
}

.product_features .knop {
	display: block;
	text-align: center;
	width: 80%;
	padding: 12px 0;
	margin: 8px auto;
	box-sizing: border-box;
}

/* ul as outlined blocks without line breaks*/
.blocklist {
	padding: 0;
	margin-left: 15px;
}

.blocklist li {
	display: inline-block;
	border: 1px solid white;
	padding: 5px 10px;
	margin: 5px 0;
}

ul.checklist {
    list-style: none;
    padding-left: 20px;
}

ul.checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

ul.checklist li::before {
    content: "\2714";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    background: #2cba6c;
    border-radius: 50%;

    color: #103f25;
    font-size: 12px;
    font-weight: bold;

    margin-right: 10px;
    flex: 0 0 auto;
}

#footer {
	box-sizing: border-box;
	padding: 20px 10% 40px;
	margin: 40px 0 0;
	backdrop-filter: blur(16px) brightness(70%);
	display: flex;
	justify-content: center;
}

.footer_boxes {
	max-width: 1000px;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

/* Ordering form */
.order_steps {
	display: flex;
	width: 100%;
	margin-bottom: 20px;
}

.order_steps .step {
	flex: 1;
	text-align: center;
	padding: 10px;
	border: 1px solid rgba(150,150,150,1);
	background: rgba(0,0,0,0.2);
	cursor: pointer;
	box-sizing: border-box;
	vertical-align: middle;
	align-items : center;
}

.order_steps .step:not(:last-child) {
	border-right: none;
}

.order_steps .step.active {
	background: rgba(255,255,255,0.2);
	font-weight: bold;
}

.form_step {
	display: none;
}

.form_step.active {
	display: block;
}

.form_controls {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.form_controls button {
	background-color: rgba(170, 0, 0, 1);
	text-decoration: none;
	color: white;
	border: none;
	padding: 12px 20px;
	box-sizing: border-box;
	font-family: verdana;
	font-size: 100%;
	cursor: pointer;
	flex: 1;
}

.form_controls button:hover {
	background-color: rgba(200, 30, 30, 1);
}

.form_controls .hidden {
	visibility: hidden;
}

button.negative {
	background-color: black;
	border: solid rgba(200, 30, 30, 1);
}

button:hover.negative {
	background-color: rgba(25, 25, 25, 1);
}

.form_step h4 {
	text-decoration: none;
	font-weight: bold;
}

.form_step table {
	border-collapse: collapse;
	width: max-content;
	margin-left: 20px;
}

.form_step td {
	padding-right: 20px;
	min-width: 150px;
}

.form_step td:first-child {
	text-align: right;
	font-weight: bold;
}

/* fit background to height */
@media screen and (max-aspect-ratio: 16/9){
	body{
		background-size: auto 100%;
	}
}

/* fit background to weight */
@media screen and (min-aspect-ratio: 16/9) {
	body{
		background-size: 100% auto;
	}
}

/* narrow screen has menu on top and hidden */
@media screen and (max-aspect-ratio: 3/4){
	#menu {
		width: 100%;
    	box-sizing: border-box;
    	overflow: hidden;
	}

	#menu.hide {
		padding: 0;
		height: 0;
	}
	
	.menuIcon {
		display: inline-block;
	}
	
	#content{
		width: 100%;
	}

	.product_overview {
		flex-direction: column;
	}
	
	.product_images,
	.product_features {
		width: 100%;
	}

	.two_cols {
		flex-direction: column;
	}

	.two_cols .col {
		width: 100%;
	}

	.two_cols .col:not(:first-child) {
		border-top: 1px solid rgba(150,150,150,1);
	}
	
	.product_images {
		/* order: -1; */
		padding: 0 20px;
		box-sizing: border-box;
		max-width: 600px;
		margin: 0 auto;
	}
}

/* Probably touchscreen device*/
@media screen and (pointer: coarse){
	body{
		font-size: 15px;
	}
	
	#menu .knop{
		height: 1cm;
		font-size: 0.5cm;
	}
}

/* Printer */
@media print {
	body {
		background-image: none;
		color: black;
	}
	
	#content {
		width: 100%;
		display: inline;
	}
	
	#menu, #topbanner {
		display: none;
	}
}