:root {
	--html-background-color: #ffffff;
	--header-background-color: #ffffff;
	--header-element-color: #053e62;

	--main-background-color: #ffffff;
	--primary-element-color: #f58238;

	--text-color: #043d62;

	--box-color: #cceaff;
	/*
	--box-width: 300px;
	--box-height: 225px;
	*/
	--box-width: 225px;
	--box-height: 175px;
}

@font-face {
	font-family: 'Alaska';
	src: url('../fonts/AlaskaVAR-VF.ttf.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}


html,input,textarea,button,::placeholder {
	font-family: Alaska, sans-serif;
	font-feature-settings: normal;
	font-variation-settings: "CNTR" 0, "wdth" 90;
	-webkit-font-smoothing: antialiased;
}

a {
    color: #0098ff;
    text-decoration-thickness: 2px;
}

div.header-color {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	overflow: visible;
	position: relative;
	z-index: 20;

    width: 100%;
    background-color: var(--header-background-color);
}
div.header {
	color: #000;
}
#responsiveMenuButton {
	color: #053e62;
}
@media (max-width: 1200px) {
    #responsiveMenuButton {
    	top: 28px;
    }
}
/* Keep the account dropdown above the main content area. */
ul.account-options {
	z-index: 30;
}
div.header-controls button, div.header-controls a.button {
	padding: 8px 15px;
	background-color: transparent;
	color: #053e62;
	font-weight: bold;
}
div.header-controls {
    padding: 8px 20px 0 0;
}
div.header-controls button:hover, div.header-controls a.button:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

div.header input.input-search {
	padding: 8px 15px;
	border-top-left-radius: 27px;
    border-bottom-left-radius: 27px;
	background-color: #cceaff;
	color: #053e62;
	font-size: 21px;
	width: 275px;
}
div.header input.input-search::placeholder {
	color: #6c92b0;
	font-style: normal; /* overrides cursive */
}
form.search {
	margin-right: 15%;
}
div.header button.button-search {
	height: auto;
	background-color: #cceaff;
	background-image: url(../images/pijl.svg);
	background-size: 50% auto;
	border-top-right-radius: 27px;
    border-bottom-right-radius: 27px;
}
@media (max-width: 1200px) {
	div.header-control-search input.input-search {
	    background-color: #cceaff;
		color: #053e62;
		font-size: 21px;
		font-style: normal;
		padding: 7px 15px;
	}
	div.header-control-search input.input-search::placeholder {
		color: #6c92b0;
		font-style: normal; /* overrides cursive */
	}
	div.header-control-search button.button-search {
		background-color: #cceaff;
		background-image: url(../images/pijl.svg);
		background-size: 50% auto;
	}
}

#loginButton {
	background-color: transparent;
	color: #053e62;
	font-weight: bold;
}
#loginButton:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}
/* parent stylesheet hides the placeholder texts */
input::placeholder { visibility: visible; }
div.header-controls a.button-cart {
	background-image: url(../images/winkelwagen.svg);
}
div.header-controls a.button-cart span.badge {
	left: auto;
	right: 3px;
	top: 3px;
}

div.main {
	padding: 20px 0 0 0;
}
/* TODO: don't just hide this but remove from template */
/*
div.main-decorations, div.pagination {
	display: none;
}
*/
div.block {
	color:var(--text-color);
}
div.logo {
	background-image: url(../images/HetOranjeKruis_Slogan_RGB_blauw.svg);
	background-size: auto 100%;
	background-repeat: no-repeat;
	margin-left: 40px;
	height: 74px;
}
@media (max-width: 1200px) {
    div.logo {
    	margin-left: 50px;
    }
}

div.boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 20px;
	padding: 25px 40px 10px 40px;
}
div.box-container {
	width: var(--box-width);
	text-align: center;
	margin-bottom: 20px;
	flex: 1 0 21%;
}
div.box-dummy {
	width: var(--box-width);
	height: 0px;
}
div.box-container div.box {
	position: relative;
	max-width: var(--box-width);
	min-width: var(--box-width);
	width: 100%;
	height: var(--box-height);
	background-color: var(--box-color);
	border-radius: 30px;
	margin: 0 auto;
	cursor: pointer;
}
div.box-container div.box span.box-title {
	font-weight: bold;
	font-size: 1.1rem;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 0.75rem 0 0 0;
}
div.box-container div.box > img {
	max-height: calc(var(--box-height) - 75px);
	margin-top: 50px;
}
div.box-container div.box a.arrow {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background-color: #fff;
	width: 26px;
	height: 26px;
	border-radius: 13px;
	padding-top: 2px;
	color:var(--text-color);
	text-decoration: none;
	font-weight: bold;
	background-image: url(../images/pijl.svg);
	background-repeat: no-repeat;
	background-size: 75% auto;
	background-position: center;
	color: transparent;
}
div.box-container div.box div.circle {
	border-radius: 50%;
	background-color: #f58028;
	color: #ffffff;
	position: absolute;
	left: -20px;
	bottom: -15px;
	width: 75px;
	height: 75px;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	transform: rotate(-20deg);

	font-size: 0.8rem;
	line-height: 0.8rem;
	font-weight: bold;
}

div.welcome h2 {
	font-size: 44px;
	font-weight: 800;
}
div.welcome p {
	font-size: 21px;
	line-height: 32px;
}

div.product {
	border-top: none;
}
div.product .product-info p.product-title {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--text-color);
}
div.product .product-info p.product-title a {
	color: var(--text-color);
}

/*
div.description {
	max-height: 150px;
	overflow-y: hidden;
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 50%);
}
*/
div.product-info div.description ul {
	padding: 0;
}
div.product-info div.description ul li {
    list-style: none;
    padding-left: 1.7em;
    background-image: url(../images/vink.svg);
    background-repeat: no-repeat;
    background-size: 1.2em 1.2em;       /* control size here */
    background-position: 0 0em;       /* tweak vertical alignment */
}
div.ordergroups-container {
	display: table-cell;
	width: 250px;
}
ul.ordergroups {
	display: block;
	background-color: var(--box-color);
	padding: 20px 10px;
	border-radius: 30px;
	min-width: 180px;
}
ul.ordergroups li {
	border-radius: 30px;
	border: 1px solid var(--box-color);
	padding: 12px 20px 12px 20px;
}
ul.ordergroups li.active {
	background-color: var(--main-background-color);
	border-radius: 30px;
}
ul.ordergroups li:hover {
	background-color: var(--main-background-color);
	border-radius: 30px;
	border: 1px solid #6e6c6a;
}
ul.ordergroups a, ul.ordergroups li:hover a {
	color: var(--text-color);
}

div.product-image-inner {
	margin: 0 15px;
}

div.product .product-price {
	color: var(--text-color);
	font-size: 20px; /* now both parts are the same size */
}
/* we're using a <hr/> to cut off content in the catalog view */
div.product hr {
	display: none;
}
input.input-amount {
	color: var(--text-color);
}
div.amount-modifier > button {
	color: var(--text-color);
}
div.amount-modifier {
	background-color: var(--input-background-color);
}
div.amount-modifier > button {
	background-color: var(--input-background-color);
	border-left: 1px solid #6e6c6a;
}
div.amount-modifier > button:last-child {
	border-top: 0.5px solid #6e6c6a;
}

div.product .product-actions {
	/* so titles without a price don't use the whole width */
	min-width: 327px;
}
div.product button.add-to-cart {
	background-image: url(../images/winkelwagen-wit-plus.svg);
	background-size: 66px 31px;
}

@media (min-width: 1260px) {
	div.product .product-info {
		/* so the search page uses the full page width */
		width: 100%;
	}
	div.product .product-price {
		width: 100px;

	}
}

@media (min-width: 1260px) {
	.searchresults div.product .product-info {
	    width: 790px;
	}

	.searchresults div.product .product-info {
	    width: 790px;
	}
}

/* responsive stuff */

div.responsive-menu-inner {
	display: flex;
	flex-wrap: wrap;
	flex-flow: flex-start;
	align-items: stretch;
	justify-content: space-evenly;
	gap: 5px;
}
div.header-control-settings {
	display: none;
}
.responsive-menu form.search {
	width: 60%;
}
.responsive-menu-inner > button,
.responsive-menu-inner .button {
	display: block;
	width: auto;
	flex-grow: 1;
	padding: 0;
}

div.cart-control p.product-price {
    margin: 8px 0 6px 0;
    font-size: 20px;
}
div.cart-row p.product-title {
	font-size: 20px;
}
div.cart-row p.product-title a {
	text-decoration: none;
	color: var(--text-color);
}

@media (max-width: 1200px) {
	div.header-color:has(+ .responsive-menu.open) {
    	border-bottom-left-radius: 0;
     	border-bottom-right-radius: 0;
	}
 	.responsive-menu.open {
  		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
		overflow: hidden;
    }

    form.search {
    	margin-right: 0;
    }
    .responsive-menu-inner > button, .responsive-menu-inner .button {
        background-color: transparent;
        color: #053e62;
        font-weight: bold;
    }
    div.header a.responsive-button-cart {
    	background-image: url(../images/winkelwagen.svg);
     	top: 28px;
    }
    div.header a.responsive-button-cart span.badge {
		left: auto;
		right: 3px;
		top: 3px;
    }


    div.ordergroups-container {
    	display: block;
   		width: 100%;
     	margin: 0 20px 0 0;
    }
    div.responsive-menu div.ordergroups-container {
    	display: none;
    }
    ul.ordergroups {
    	display: flex;
     	flex-direction: row;
		flex-wrap: wrap;
		flex-flow: flex-start;
		align-items: stretch;
		justify-content: space-evenly;
		gap: 5px 10px;
	    padding: 10px 20px;
    }
    ul.ordergroups li {
    	white-space: nowrap;
    	padding: 8px 10px;
    }
}

/* keep the side-by-side view here for a bit longer */
@media (max-width: 1200px) {
    div.welcome, div.information {
        display: table-cell;
        width: 100%;
        padding: 0 20px;
    }
}
@media (max-width: 850px) {
    div.welcome, div.information {
        display: block;
        width: auto;
        padding: 0;
    }
}


.service-menu {
	background-color: var(--box-color);
	border-radius: 30px;
	padding: 10px 20px;
	line-height: 0.7rem;
}
.service-menu a {
	display: block;
	text-decoration-thickness: 1px;
}
.service-menu h5 {
	padding: 0;
	margin: 0;
}
div.service-column-1 {
	width: auto;
	min-width: 200px;
}
div.service-column-2 {
	padding: 0 0 0 20px;
}
div.service-column-2 h2 {
	margin: 0;
}
div.question-block, div.question-block.open {
	background-color: #fde6d4;
 	border-radius: 15px;
}
div.question-block.open p.question-block-question {
    color: inherit;
    padding-top: 1px;
}
div.question-block.open {
    padding: 3px 15px;
}
div.question-block p.question-block-question {
	position: relative;
	padding-top: 8px;
	padding-bottom: 4px;
	padding-right: 24px;
}
div.question-block.open p.question-block-question {
    padding-top: 8px;
    padding-bottom: 4px;
}
div.question-block p.question-block-question:before {
	position: absolute;
	top: 0.5rem;
	left: auto;
	right: 0;
	content: "\f107";
	font-size: 1.4rem;
}
div.question-block.open p.question-block-question:before {
    content: "\f106";
}
div.question-block.open p.question-block-answer {
    margin: 0 0 10px 0;
    font-style: normal;
}

div.service-row h4 {
	font-weight: normal;
	font-size: 1.3rem;
	margin: 4rem 0 1rem 0;
}
div.contact-form {
	background-color: #0b3f66;
	color: #ffffff;
	border-radius: 15px;
	padding: 30px;
	margin-top: 20px;
	margin-bottom: 50px;
}
div.contact-form p {
	font-style: normal;
	color: #ffffff;
	margin: 0 0 8px 5px;
}
div.contact-form input.form-input, div.contact-form textarea.form-input {
    width: 100%;
    margin: 0 0 18px 0;
    background-color: #cbeaff;
    border-radius: 5px;
}
textarea.form-input,input.form-input {
	font-family: Alaska, sans-serif;
	font-feature-settings: normal;
	font-variation-settings: "CNTR" 0, "wdth" 90;
	-webkit-font-smoothing: antialiased;
}
div.contact-form div.contact-form-bottom {
     font-style: normal;
     color: #ffffff;
}
div.contact-form button.form-button, div.contact-form a.form-button {
	height: 54px;
	background-image: url(../images/pijl-wit.svg);
	background-repeat: no-repeat;
	background-size: auto 40%;
	background-position: calc(100% - 15px);
	padding: 5px 40px 5px 12px;
	font-size: 1.2rem;
	font-weight: bold;
}
button.form-button:disabled {
	color: #d2d2d2;
    background-color: var(--primary-element-color);
    background-image: url(../images/pijl-grijs.svg);
}
div.service-row p.address {
	font-style: normal;
}
div.service-row h3:has(+ p.address) {
	margin-bottom: 0;
}
label.form-input-akkoord {
	display: flex;
	margin: 12px 0 22px 5px;
}
label.form-input-akkoord input[type="checkbox"] {
  appearance: none;
  background-color: #cbeaff;
  width: 1.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
label.form-input-akkoord input[type="checkbox"]:checked {
	background-image: url(../images/vink.svg);
	background-repeat: no-repeat;
	background-size: auto 75%;
	background-position: center;
}
label.form-input-akkoord span {
	padding: 3px 0 0 8px;
}
label.form-input-akkoord a {
	color: #fff;
	font-weight: bold;
}

/* service-row should go responsive at smaller width */
@media (max-width: 1200px) {
    div.service-row {
        display: table;
        width: 100%;
    }
    div.service-column-1, div.service-column-2, div.service-column-3 {
    	display: table-cell;
    }
    div.service-column-1 {
        margin: auto;
    }
    div.block {
        margin: 0 20px 10px 20px;
    }
}
@media (max-width: 700px) {
    div.service-row {
        display: block;
        width: auto;
    }
    div.service-column-1, div.service-column-2, div.service-column-3 {
    	display: block;
    }
}

button, a.button {
	font-size: 17px;
}

/* this wasn't needed on stefan's machine, but it is here -- why? */
div.products.view-list div.product div.product-image { display: table-cell; }
div.products.view-list div.product div.description { display: block; }
