/*
	Theme Name: Jan Dirk
	Theme URI: 
	Description: Thema voor Jan Dirk
	Author: Emile Zeldenrust
	Author URI: https://www.emilezeldenrust.nl/
	Version: 1.0
	Tags: 

	This CSS file is a concatenation of style.css from HTML5 Boilerplate and style.css from Starkers.
	Comment blocks indicate where each begins and ends, like this, for example...
*/

/** START HTML5 Boilerplate CSS **/

/*! normalize.css v1.1.2 | MIT License | git.io/normalize */

* {
    padding: 0px;
    margin: 0px;
}

:root {
	--bg: #FFF;
	--tekst: #000;
	--kleur1: #CCC;
	--kleur2: #dc3545;
	--kleur3: #0d6efd;
}

body {
	position: relative;
	background-color: var(--bg);
	color: var(--tekst);
	font-size: 15px;
	line-height: 1.7;
	font-family: 'Open Sans', sans-serif;
}

div {
	display: block;
}

a img {
	border: none;
	outline: none;
}

:focus, a:focus {
    outline: none;
}

::-webkit-scrollbar {
	display: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
	padding: 5vw 0 3vw 0;
}

header ul.wpm-language-switcher {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 20px;
}

ul.wpm-language-switcher li img {
	display: block !important;
	height: 0;
	width: 0;
	margin: 0 !important;
	padding: 20px 30px 0 0;
	background-image: url('images/nl.jpg');
	background-size: cover;
	background-position: center center;
}

ul.wpm-language-switcher li.item-language-en img {
	background-image: url('images/en.jpg');
}

ul.wpm-language-switcher li:not(:last-child):after {
	content: "/";
	display: block;
	position: absolute;
	top: 0px;
	left: 37px;
	font-size: 20px;
	line-height: 1;
}

header div.social {
	position: absolute;
	top: 36px;
	right: 23px;
	display: block;
	font-size: 18px;
}

body > header h1 {
	position: relative;
	font-weight: 800;
	font-size: 4.6vw;
	letter-spacing: 0.3vw;
	text-align: center;
	margin: 0;
}

/* ==========================================================================
   TEKST
   ========================================================================== */
   
p {
	margin: 0 0 10px 0;
}

p:empty {
	display: none;
}

a, a:visited {
	color: inherit;
	text-decoration: underline;
}

a:hover, a:active, a:focus {
	color: inherit;
	text-decoration: none;
}

h1 {
	text-transform: uppercase;
	font-size: 40px;
	font-weight: 800;
	margin: 0 0 10px 0;
}

h2 {
	font-size: 1.6vw;
	font-weight: 800;
	margin: 0 0 10px 0;
}

h3 {
	font-size: 28px;
	margin: 0 0 10px 0;
}

h4 {
	font-size: 24px;
	margin: 0 0 10px 0;
}

h5 {
	font-size: 20px;
	margin: 0 0 10px 0;
}

h6 {
	font-size: 16px;
	margin: 0 0 10px 0;
}

hr {
	border: none !important;
	height: 2px !important;
	background-color: #000;
	margin: 10px auto 10px auto;
	width: 95%;
	opacity: 1;
}

.entry-content i {
	font-size: 20px;
	vertical-align: -2px;
	margin: 0 4px;
}

.entry-content figure.wp-block-image, .entry-content .wp-block-image > figure {
	margin-bottom: 30px;
}

.wp-block-image figcaption, .wp-block-embed figcaption {
	font-weight: 700;
	font-size: 15px;
}

.wp-block-image figcaption:before, .wp-block-embed figcaption:before {
	display: inline;
	content: "\f176";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	padding: 0 10px 0 4px;
}

.entry-content .wp-block-columns {
	margin-bottom: 0;
}

/* ==========================================================================
   ALIGNMENT
   ========================================================================== */

div.spacer {
	width: 100%;
	clear: both;
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

#content {
	padding: 0 40px;
}

.main-col {
	padding-top: 4vw;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

/* YOUTUBE */

.wp-block-embed-youtube, .wp-block-embed-vimeo {
	display: inline-block;
	width: 100%;
	margin: 0 0 30px 0 !important;
}

.wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	width: 100%;
	overflow: hidden;
}

/* Video Typisch Nederland */
.postid-1553 .wp-block-embed__wrapper {
	padding-bottom: 23%;
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
	PROJECTEN
	========================================================================== */

.grid-sizer {
	width: 8.33%;
}

.project {
	margin-bottom: 24px;
}

.project a {
	display: block;
	text-decoration: none;
}

.project img {
	width: 100%;
	height: auto;
}

.project h2 {
	margin-bottom: 0.3vw;
	text-transform: uppercase;
}

div.categorieen {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	right: 18px;
	margin-top: 6px;
}

div.categorieen > div.categorie {
	color: var(--bg);
	text-transform: uppercase;
	font-size: 0.8vw;
	font-weight: 700;
	border: 3px solid var(--bg);
	padding: 0.1vw 0.5vw;
	margin: 0 0 6px 0;
}

/* ==========================================================================
	SINGLE PROJECT
	========================================================================== */

h1.entry-title {
	font-size: 23px;
	text-decoration: underline;
}

h1.entry-title span {
	font-size: 18px;
	position: absolute;
	margin: 5px 0 0 6px;
}

.single-projecten div.categorieen {
	position: relative;
	right: 0;
	float: right;
	margin: 0;
	flex-direction: row;
	gap: 6px;
}

.single-projecten div.categorieen > div.categorie {
	color: var(--tekst);
	border: 3px solid var(--tekst);
	font-size: 14px;
	padding: 0 8px;
}

/* ==========================================================================
	WOOCOMMERCE CATEGORIE
	========================================================================== */

.tax-product_cat .woocommerce-breadcrumb, .tax-product_cat p.woocommerce-result-count, form.woocommerce-ordering, .woocommerce ul.xoxo {
	display: none;
}

.woocommerce-products-header {
	padding: 0;
}

h1.woocommerce-products-header__title {
	font-size: 1.6vw;
	margin: 60px 0;
}

.term-19 h1.woocommerce-products-header__title {
	display: none;
}

.woocommerce ul.products.grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12px;
	padding-top: 4vw;
}

.woocommerce ul.products.grid li.grid-item {
	float: none;
	flex: 0 0 auto;
	width: 33.33333333%;
	padding: 0 12px;
	margin: 0 0 50px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.woocommerce ul.products.grid li.grid-item > a:first-child {
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products.grid li.grid-item a img {
	order: 3;
}

.woocommerce ul.products.grid li.grid-item a h2.woocommerce-loop-product__title {
	text-align: left;
	font-size: 1.6vw;
	text-transform: uppercase;
	padding: 0;
	margin: 0 0 0.3vw 0;
}

.woocommerce ul.products.grid li.grid-item a span.description:not(:empty) {
	order: 2;
	text-align: left;
	font-size: 0.7vw;
	margin-top: -0.3vw;
}

.woocommerce ul.products.grid li.grid-item a span.price {
	position: absolute;
	top: 10px;
	right: 2%;
	width: 100px;
	height: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px;
	background-color: var(--kleur2);
	color: var(--bg);
	font-weight: 700;
	font-size: 20px;
	-webkit-mask-image: url(images/prijs.png);
	mask-image: url(images/prijs.png);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-transform: rotate(20deg);
	transform: rotate(20deg);
}

.woocommerce ul.products.grid li.outofstock a span.price > span {
	display: none;
}

.woocommerce ul.products.grid li.outofstock a span.price:after {
	content: 'UITVERKOCHT';
	display: inline;
	font-size: 11px;
}

html[lang="en-GB"] .woocommerce ul.products.grid li.outofstock a span.price:after {
	content: 'SOLD OUT';
}

.woocommerce ul.products.grid li.grid-item a span.price del {
	opacity: 1;
	color: var(--tekst);
	font-size: 14px;
}

.woocommerce ul.products.grid li.grid-item a span.price ins {
	text-decoration: none;
}

.woocommerce ul.products.grid li.grid-item a .onsale {
	display: none;
}

.woocommerce ul.products li.product .button {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1vw;
	color: var(--kleur1);
	font-family: 'Open Sans', sans-serif;
	background-color: transparent;
	padding: 10px 16px !important;
	margin-top: 0 !important;
	border: 3px solid var(--kleur1);
	-webkit-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.woocommerce ul.products li.product .button:hover {
	color: var(--tekst);
	background-color: transparent;
	border: 3px solid var(--tekst);
}

/* ==========================================================================
	WOOCOMMERCE SINGLE PRODUCT
	========================================================================== */

.single-product .woocommerce-breadcrumb, .single-product .product_meta .posted_in, .related.products {
	display: none;
}

.single-product div.product {
	padding-top: 4vw;
}

.woocommerce.single-product #content div.product div.images {
	width: 30%;
	margin: 0 24px 0 0;
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__wrapper > div {
	width: calc(25% - 7.5px);
}

.woocommerce.single-product div.product div.images .woocommerce-product-gallery__wrapper > div:first-child {
	width: 100%;
}

.woocommerce.single-product #content div.product div.summary, .woocommerce.single-product #content div.product .woocommerce-tabs {
	float: right;
	clear: none;
	width: calc(70vw - 92px);
}

.woocommerce.single-product div.product p.price {
	color: var(--tekst);
	font-weight: 700;
	font-size: 20px;
}

.woocommerce.single-product #content div.product div.summary .button {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1vw;
	color: var(--kleur1);
	font-family: 'Open Sans', sans-serif;
	background-color: transparent;
	padding: 10px 16px !important;
	margin-top: 0;
	border: 3px solid var(--kleur1);
	-webkit-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.woocommerce.single-product #content div.product div.summary .button:hover {
	color: var(--tekst);
	background-color: transparent;
	border: 3px solid var(--tekst);
}

.tabs.wc-tabs {
	display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
	display: block !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description > h2:first-child {
	display: none;
}

.woocommerce .quantity {
	margin-bottom: 4px !important;
}

.woocommerce .quantity .qty {
	font-size: 1vw;
	font-weight: bold;
	border: 3px solid var(--tekst);
	line-height: calc(1vw + 20px);
	border-radius: 0;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description ul {
	padding: 0;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description ul li {
	list-style: none;
	position: relative;
	padding: 0 0 0 14px;
}

.woocommerce-tabs .woocommerce-Tabs-panel--description ul li:before {
	content: "\2a";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 8px;
	position: absolute;
	left: 0;
	top: 6px;
}

.variations th.label {
	width: 110px;
}

.variations td.value select {
	min-width: 200px !important;
	font-weight: bold;
}

.product-type-variable .product_meta {
	display: none;
}

.woocommerce-Tabs-panel--additional_information h2 {
	font-size: 1em;
	font-weight: 700;
}

.woocommerce-Tabs-panel--additional_information table.shop_attributes {
	font-size: 12px;
	width: auto !important;
	border-right: 1px dotted rgba(0,0,0,.1) !important;
	border-left: 1px dotted rgba(0,0,0,.1) !important;
}

.woocommerce-Tabs-panel--additional_information table.shop_attributes td {
	padding: 0 8px !important;
}

/* ==========================================================================
	WOOCOMMERCE WINKELWAGEN
	========================================================================== */

#content .woocommerce-error, #content .woocommerce-info, #content .woocommerce-message {
	background-color: transparent;
	border: 3px solid var(--tekst);
	color: var(--tekst);
	font-weight: bold;
	line-height: 42px;
	padding: 10px 30px 10px 52px;
}

#content .woocommerce-error::before, #content .woocommerce-info::before, #content .woocommerce-message::before {
	top: 10px;
}

#content .woocommerce a.button.wc-forward, #content .woocommerce .cart button.button, #content .woocommerce #payment button.button {
	text-transform: uppercase;
	font-size: 16px;
	color: var(--kleur1);
	background-color: transparent;
	border: 3px solid var(--kleur1);
	-webkit-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#content .woocommerce a.button.wc-forward:hover, #content .woocommerce .cart button.button:hover, #content .woocommerce #payment button.button:hover {
	color: var(--tekst);
	background-color: transparent;
	border: 3px solid var(--tekst);
}

#content .woocommerce table.shop_table {
	border: 3px solid var(--tekst);
	border-radius: 0px;
}

#content .woocommerce table.shop_table td, .woocommerce-cart #content .cart-collaterals .cart_totals tr th {
	border-top: 3px solid var(--kleur1);
}

.woocommerce-cart #content .cart-collaterals .cart_totals tr:first-child > * {
	border-top: none;
}

/* ==========================================================================
	WOOCOMMERCE AFREKENEN
	========================================================================== */

.woocommerce-checkout #content h3 {
	font-size: 1.6vw;
	font-weight: 800;
}

#content .woocommerce form .form-row input.input-text, #content .woocommerce form .form-row textarea {
	height: auto;
	padding: 10px;
	border: 2px solid var(--tekst);
	display: block;
	font-size: 13px;
	color: var(--tekst);
	background: var(--bg);
}

#content .select2-container .select2-selection {
	border: 2px solid var(--tekst);
	border-radius: 0;
	font-size: 13px;
	height: 42px;
}

#content .select2-container .select2-selection .select2-selection__rendered {
	line-height: 38px;
}

#content .select2-container .select2-selection .select2-selection__arrow {
	height: 38px;
	top: 2px;
	right: 2px;
	width: 30px;
}

.woocommerce-checkout #customer_details {
	margin-bottom: 40px;
}

#content .woocommerce table.woocommerce-checkout-review-order-table td {
	border-top: 1px solid rgba(0,0,0,.1);
}

.woocommerce-checkout #content #payment {
	background-color: transparent;
}

input[type=button], input[type=submit], input[type=text], input[type=email], textarea {
	-webkit-appearance: none; /*Safari/Chrome*/
	-moz-appearance: none; /*Firefox*/
	-ms-appearance: none; /*IE*/
	-o-appearance: none; /*Opera*/
	appearance: none;
}

/* PLACEHOLDERS */
::-webkit-input-placeholder { /* WebKit browsers */
	 color: #999 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	 color: #999 !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	 color: #999 !important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	 color: #999 !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.wp-block-buttons div.wp-block-button {
	margin: 0 0 20px 0;
}

a.wp-block-button__link, a.wp-block-button__link:visited {
	background-color: transparent;
	border: 3px solid var(--tekst);
	-webkit-border-radius: 0;
	border-radius: 0;
	color: var(--tekst);
	font-size: 16px;
	padding: 10px 20px;
	text-decoration: none;
	line-height: normal;
	font-family: inherit;
	font-weight: bold;
	text-transform: none;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

a.wp-block-button__link:hover, a.wp-block-button__link:active, a.wp-block-button__link:focus {
	background-color: var(--tekst) !important;
	color: var(--bg) !important;
}

/* ==========================================================================
   GALERIJ
   ========================================================================== */

.wp-block-gallery {
	width: 101%;
	margin-bottom: 20px !important;
	gap: 0 !important;
}

.wp-block-gallery figure.wp-block-image {
	margin: 0 1% 1% 0 !important;
	flex-grow: 0 !important;
}

.wp-block-gallery.columns-1 figure.wp-block-image {
	width: 99% !important;
}

.wp-block-gallery.columns-2 figure.wp-block-image {
	width: 49% !important;
}

.wp-block-gallery.columns-3 figure.wp-block-image, .wp-block-gallery.columns-default figure.wp-block-image {
	width: 32.33% !important;
}

.wp-block-gallery.columns-4 figure.wp-block-image {
	width: 24% !important;
}

.wp-block-gallery.columns-5 figure.wp-block-image {
	width: 19% !important;
}

.wp-block-gallery.columns-6 figure.wp-block-image {
	width: 15.66% !important;
}

.wp-block-gallery.columns-7 figure.wp-block-image {
	width: 13.28% !important;
}

.wp-block-gallery.columns-8 figure.wp-block-image {
	width: 11.5% !important;
}

.wp-block-gallery figure.wp-block-image:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	margin: 0;
	transition: all 0.5s;
	opacity: 0;
	background: rgba(255,255,255,1.00);
	-webkit-box-shadow: inset 0 0 100px 20px #000;
	box-shadow: inset 0 0 100px 20px #000;
	pointer-events: none;
}

.wp-block-gallery figure.wp-block-image:hover:before {
	opacity: 0.4;
}

.wp-block-gallery figure.wp-block-image figcaption {
	display: none !important;
}

/* ==========================================================================
	NIVO-LIGHTBOX
	========================================================================== */

body .nivo-lightbox-theme-default .nivo-lightbox-prev {
	top: 0;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='arcs'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
	background-size: contain;
	width: 70px;
	max-width: 8vw;
}

body .nivo-lightbox-theme-default .nivo-lightbox-next {
	top: 0;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='arcs'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
	background-size: contain;
	width: 70px;
	max-width: 8vw;
}

body .nivo-lightbox-theme-default .nivo-lightbox-close {
	width: 25px;
	height: 25px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square' stroke-linejoin='arcs'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
	background-size: contain;
	background-position: center center;
}

body .nivo-lightbox-theme-default.nivo-lightbox-overlay {
	background: #000;
	z-index: 12;
}

body .nivo-lightbox-wrap {
	top: 10px;
	bottom: 26px;
}

body .nivo-lightbox-theme-default .nivo-lightbox-title-wrap {
	bottom: -26px;
	height: 26px;
}

body .nivo-lightbox-theme-default .nivo-lightbox-title {
	background: transparent;
	font-family: inherit;
	font-size: 13px;
	text-transform: none;
	padding: 5px;
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

body > footer {
	text-align: center;
	clear: both;
	padding-top: 100px;
}

body > footer p {
	font-size: 10px;
	margin: 0;
}