/*
 Theme Name:   WppaBase
 Theme URI: http://yourdomain.com/
 Description:  The basics. This theme requires the Advanced Custom Fields Pro plugin.
 Author:       Webdesigner
 Author URI: http://yourdomain.com/author
 Version:      5.5.1
 Text Domain: wppabase
 License:     GPL-2.0+
 License URI: http://www.gnu.org/licenses/gpl-2.0.txt
 Tags: e-commerce, portfolio
*/

/* Animations - have to be at begin because IE */

/* Nav-menu-icon */
@-webkit-keyframes top-rotate-go-up {
	0% { top: 50%; transform: translateY(-50%) rotate(45deg); }
	50% { top: 50%; transform: translateY(-50%) rotate(0deg); }
	100% { top: 0; transform: translateY(0); }
}
@keyframes top-rotate-go-up {
	0% { top: 50%; transform: translateY(-50%) rotate(45deg); }
	50% { top: 50%; transform: translateY(-50%) rotate(0deg); }
	100% { top: 0; transform: translateY(0); }
}
@-webkit-keyframes top-go-down-rotate {
	0% { top: 0; transform: translateY(0) rotate(0deg); }
	50% { top: 50%; transform: translateY(-50%) rotate(0deg); }
	100% { top: 50%; transform: translateY(-50%) rotate(45deg); }
}
@keyframes top-go-down-rotate {
	0% { top: 0; transform: translateY(0) rotate(0deg); }
	50% { top: 50%; transform: translateY(-50%) rotate(0deg); }
	100% { top: 50%; transform: translateY(-50%) rotate(45deg); }
}
@-webkit-keyframes appear {
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes appear {
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes disappear {
	0% { opacity: 1; }
	51% { opacity: 1; }
	100% { opacity: 0; }
}
@keyframes disappear {
	0% { opacity: 1; }
	51% { opacity: 1; }
	100% { opacity: 0; }
}
@-webkit-keyframes bottom-rotate-go-down {
	0% { top: 50%; transform: translateY(-50%) rotate(-45deg); }
	50% { top: 50%; transform: translateY(-50%) rotate(0deg); }
	100% { top: auto; bottom: 0; transform: translateY(0); }
}
@keyframes bottom-rotate-go-down {
	0% { top: 50%; transform: translateY(-50%) rotate(-45deg); }
	50% { top: 50%; transform: translateY(-50%) rotate(0deg); }
	100% { top: auto; bottom: 0; transform: translateY(0); }
}
@-webkit-keyframes bottom-go-up-rotate {
	0% { top: auto; bottom: 0; transform: translateY(0) rotate(0deg); }
	50% { top: 50%; bottom: auto; transform: translateY(-50%) rotate(0deg); }
	100% { top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
}
@keyframes bottom-go-up-rotate {
	0% { top: auto; bottom: 0; transform: translateY(0) rotate(0deg); }
	50% { top: 50%; bottom: auto; transform: translateY(-50%) rotate(0deg); }
	100% { top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
}



/**** Basics ****/

/* Reset */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, a, button, img, input, textarea, ol, ul, li, table, tbody, tfoot, thead, tr, th, td, footer, header, main, menu, nav, section {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
:focus{
	outline:gray dotted 1px;
}
html:focus, body:focus, a[href^="#"] { /* IE fix & js buttons */
	outline: 0;
}
.clear::after {
  content: "";
  display: table;
  clear: both;
}

/* embeds responsive (youtube etc) */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* ratio 16:9 */
	/* padding-top: 30px; */
	height: 0;
	overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.entry-content img,
.entry-content iframe,
.entry-content object,
.entry-content embed {
	max-width: 100%;
}

/* Box-sizing */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/**********************************/
/****  FORMATS  *******************/

	/* border box */
.bbox{-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
	/* clearfix ( clear floats ) */
.clrfx:before,.clrfx:after { content: "";display: table;}
.clrfx:after { clear: both;}
	/* aspect */
.aspect-con{display:block;overflow:hidden;position:relative;}
.aspect-con > .inr{overflow:hidden;}/*also .fullabs */
.aspect-con:after{content:"";display:block;padding-top:45%;/* height:percentage of width */}
.aspect-con.noafter:after{ padding-top:0;}
.aspect-con.noafter .spacer{padding-top:67%;}
	/* full widths */
.fullfixed{ position:fixed;top:0;left:0;bottom:0;right:0;width:auto;height:auto;}
.fullabs{ position: absolute;top: 0;bottom: 0;right: 0;left: 0;}
.widthrel{ position:relative;width:100%;height:100%;}
.widthabs{ position:absolute;top:0;left:0;width:100%;height:100%; }
.widthfixed{ position:fixed;top:0;left:0;width:100%;height:100%; }
.obj-covered{ position: absolute;top:0;left:0;width: 100% !important;height: 100% !important;object-fit: cover;object-position: center;}
	/* vertical align */
/*.valign-con{ display:block;width:100%;height:100%;text-align:center;}*/
.valign-con:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; /*margin-right: -0.25em;  Adjusts for spacing min-height:230px;*/}
.valign-con .valign{vertical-align:middle;display:inline-block;}
	/* flex */
.flex-center{-webkit-align-content: center;-ms-flex-line-pack: center;  align-content: center;}
.flex {box-sizing: border-box;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;  flex-wrap: wrap;}
.flex-centerboth{   display: flex; align-items: center; justify-content: center;}
.flex-column{display: -webkit-box; display: -ms-flexbox;display: flex; 
	-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;  
	-webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; 
} 
.flex-centered-col{display: flex;flex-direction: column;justify-content: center;align-items: center;}
.fitscreen{ width:100%;height:100vh;}
.flx-col-nw{ display: flex;flex-flow: column nowrap;}
.flx-row-nw{ display: flex;flex-flow: row nowrap;}
.flx-col-c-all{display: flex;flex-direction: column;justify-content: center;align-items: center;}
.flx-col-c-ver{display: flex;flex-direction: column;justify-content: center;}
.flx-col-c-hor{display: flex;flex-direction: column;align-items: center;}
.flx-row-c-all{display: flex;flex-direction: row;justify-content: center;align-items: center;}
.flx-c-all{display: flex;justify-content: center;align-items: center;}

.fullscreen{ width:var(--100vw, 100%) !important;height:var(--100vh, 100vh); }
.centered-abs{ 	position:absolute;left:50%;	top:50%;transform:translate(-50%,-50%);}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px;
  text-align: center;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}
.wp-caption.alignnone {
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
	border: 1px solid #333;
	padding: 2px;
}


/* Toggle Dutch, also present in weppa-content-blocks plugin */
i.nl, i.en {
  font-style: normal;
}
body:not(.language-nl_NL) i.nl {
  display: none;
}
body.language-nl_NL i.en {
  display: none;
}



/* Flexy stuff */
.flex, .flexcenter, .flexend, .flexvertcenter, .flexvertend, .flexjustifybetween {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: stretch;
}
.flexcenter {
	justify-content: center;
}
.flexend {
	justify-content: flex-end;
}
.flexvertcenter { /* vertically align content */
  align-items: center;
}
.flexvertend {
	align-items: flex-end;
}
.flexjustifybetween {
	justify-content: space-between;
}

/* Sticky footer when page not 100vh */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-wrapper,
.site-header,
.site-main,
.site-footer {
  flex: none;
}
.site-main {
  flex: 1 0 auto;
}

/* Navigation */
.nav-full {
	overflow: visible; /* IE fix dropdown */
}
.menu, .sub-menu {
  list-style: none;
	padding: 0;
}
.menu li a {
	text-decoration: none;
	display: inline-block;
	outline: none !important;
}
.menu li a.active {
	font-weight: bold;
} /* smooth scroll state */
.sub-menu-down.arrow-down, .sub-menu-up .arrow-up {
	width: 8px;
	height: 8px;
	margin: 0 2px 3px 5px;
}
.sub-menu-up {
  cursor: pointer;
  height: 1rem;
}
.menu-item-has-children > a:first-of-type {
	white-space: nowrap;
}
.menu-item-has-children:not(.no-dropdown) > .sub-menu {
	display: none;
}

.nav-mobile-toggle {
	z-index: 9991;
	position: fixed;
	top: 15px;
	left: auto;
	right: 20px;
	width: 46px;
  height: 42px;
  padding: 10px;
	outline: none !important;
}
.nav-mobile-toggle .stripe-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.nav-mobile-toggle .stripe {
	transform-origin: center center;
	transition: all 0.4s ease;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: block;
  width: 100%;
	height: 4px;
  background-color: black;
	border: 1px solid white;
	border-left: 0;
	border-top: 0;
	-webkit-animation-duration: 0.3s;
	        animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
}
.nav-mobile-toggle .stripe:first-child {
	-webkit-animation-name: top-rotate-go-up;
	        animation-name: top-rotate-go-up;
}
.nav-mobile-toggle .stripe:nth-child(2) {
  -webkit-animation-name: appear;
          animation-name: appear;
}
.nav-mobile-toggle .stripe:last-child {
	-webkit-animation-name: bottom-rotate-go-down;
	        animation-name: bottom-rotate-go-down;
}
.nav-mobile-toggle.close-x .stripe:first-child {
  -webkit-animation-name: top-go-down-rotate;
          animation-name: top-go-down-rotate;
}
.nav-mobile-toggle.close-x .stripe:nth-child(2) {
	-webkit-animation-name: disappear;
	        animation-name: disappear;
}
.nav-mobile-toggle.close-x .stripe:last-child {
	-webkit-animation-name: bottom-go-up-rotate;
	        animation-name: bottom-go-up-rotate;
}
.nav-mobile {
	transition: transform 0.4s ease;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	background-color: #ffffff; /* default, overridden if set in site options */
	width: 100%;
	height: 100%;
	padding: 20px 20px 40px 20px;
	overflow: auto;
	overflow-y: scroll;
	text-align: center;
	font-size: 18px;
	transform: translateX(100%);
}
.nav-mobile.opennav {
	transform: translateX(0);
}
.nav-mobile {
	display: flex;
	flex-direction: column;
}
.nav-mobile > * {
	margin-top: auto;
	margin-bottom: auto;
}
.nav-mobile .menu-item-has-children {
	position: relative;
}
.nav-mobile .menu li {
	margin: 12px 0;
}

.nav-full {
	display: none;
}
.nav-full ul {
	padding: 0;
	margin: 0;
	width: 100%;
	position: relative;
}
.nav-full .menu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: stretch;
	align-content: stretch;
}
.nav-full .menu li:not(.no-dropdown) {
	position: relative;
	width: auto;
}
.nav-full .menu-item a {
  margin: 0 1rem;
}
.nav-full .menu-item.social-menu-item a {
	margin: 0 0.1rem;
}
.nav-full .menu-item-has-children > a {
	cursor: default;
}
.nav-full .menu-item-has-children:not(.no-dropdown) > .sub-menu {
	min-width: 100%;
	width: auto;
	position: absolute;
	z-index: 10000;
	border: 1px solid #eeeeee;
	border-top: 0;
  padding-bottom: 5px;
}
.nav-full .sub-menu li {
	width: auto;
}
.nav-full .sub-menu ul {
	position: relative;
  border: 0;
}
.nav-full .sub-menu ul li a{
	padding-left: 0.5rem}

/* Social sharing nav */
.nav-mobile .sharenav,
.nav-mobile .sharenav.sticky {
	display: block;
	position: inherit;
	border: 0;
	transform: none;
	text-align: right;
}
.sharenav {
	display: none; /* appears after breakpoint in custom stylesheet */
	text-align: center;
}
.sharenav.sticky {
	position: fixed;
	border: 1px solid #eeeeee;
	line-height: 1;
	padding: 10px 10px 12px 10px;
}
.sharenav.center {
	top: 50vh;
	transform: translateY(-50%);
}
.sharenav.sticky.centerleft {
	left: 0;
	border-left-width: 0;
}
.sharenav.sticky.centerright {
	left: auto;
	right: 0;
	border-right-width: 0;
}
.share-mobile .sharespan {
	display: block;
}
.sharenav:not(.inheadermenu) .sharespan {
	margin: 3px;
}
.sharenav.center .sharespan {
	display: block;
	margin: 10px 0;
}
.sharenav #fb-root {
	display: none;
}
.sharespan.fb-likespan {
	line-height: 1.2;
}
.sharenav.sticky.bottom {
	top: auto;
	left: 0;
	bottom: 0;
	border-bottom-width: 0;
}
.sharenav.sticky.bottomleft {
	border-left-width: 0;
}
.sharenav.sticky.bottomcenter {
	left: 50vw;
	transform: translateX(-50%);
}
.sharenav.sticky.bottomright {
	left: auto;
	right: 0;
	border-right-width: 0;
}
.sharenav.abovefooter, .sharenav.underfooter {
	display: block;
	margin: 0 auto;
	text-align: center;
}
.sharenav.underfooter {
	margin-bottom: 30px;
}

.sharenav-iconlink {
	transition: margin 0.4s ease;
	display: block;
	z-index: 2;
	cursor: pointer;
}
.expand .sharenav-iconlink {
	margin-bottom: 15px;
}
.share-close-x::before {
	content: "\2716" !important;
}
.sharenav.sharenav-icon .sharespan {
	transition: max-height 0.4s ease, margin 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
	max-height: 0;
	opacity: 0;
	margin: 0;
	visibility: hidden;
}
.sharenav.sharenav-icon.expand .sharespan {
	max-height: 20px;
	opacity: 1;
	margin: 10px 0;
	visibility: visible;
}
.sharenav.sharenav-icon .fb-like {
	display: none;
}
.sharenav.sharenav-icon.expand .fb-like {
	display: inline-block;
}
.sharenav.center.sharenav-icon.expand .fb-like,
.sharenav.center.full-icons .fb-like,
.sharenav.center.custom-txt .fb-like {
	max-width: 22px;
	overflow: hidden;
	border-radius: 3px;
	line-height: 1.2;
}
.sharenav.sharenav-icon.bottom .sharespan {
	max-width: 0;
	max-height: 0;
	margin: 0;
}
.sharenav.sharenav-icon.bottom:not(.expand) .sharespan i::before {
	position: absolute;
}
.sharenav.sharenav-icon.bottom.expand .sharespan {
	max-width: 20px;
	max-height: 20px;
	margin: 5px 3px 0 3px;
}
.nav-mobile .sharespan {
	max-width: none !important;
	margin-bottom: 15px !important;
}
.nav-mobile .sharenav.inheadermenu {
	text-align: right;
}
.nav-mobile .sharenav.inheadermenu .sharespan {
	display: block;
}
.nav-mobile .sharenav.inheadermenu .sharespan.fb-likespan {
	margin: 10px 0;
}
.sharenav.sharenav-icon.inheadermenu .sharespan {
	display: none;
}
.sharenav.sharenav-icon.inheadermenu.expand .sharespan {
	display: inline-block;
}
.sharenav.inheadermenu .sharenav-iconlink,
.sharenav.inheadermenu .fb-likespan {
	display: inline-block;
}
.sharenav.inheadermenu .share-close-x {
	margin-right: 15px;
}
.sharenav.inheadermenu.sharenav-icon.expand .sharespan {
	margin: 0;
}
.sharenav.inheadermenu .sharespan.fb-likespan {
	margin: 0 10px;
}


/* Fonts */
html {
  font-size: 14px;
	-webkit-text-size-adjust: 100%; /* don't enlarge font on iphone */
}
@media (min-width: 768px) {
  html { font-size: 15px; }
}
@media (min-width: 1024px) {
  html { font-size: 16px; }
}
body {
  font-family: Arial, sans-serif;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.2;
	margin: 2rem 0 1rem 0;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.3rem;
}
h5 {
  font-size: 1.2rem;
}
h6 {
  font-size: 1.1rem;
}
p, ul, ol, table {
  margin-bottom: 1rem;
}
a:hover {
	text-decoration:none;
}
input, textarea, span.wpcf7-validation-errors, span.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
	border-radius: 0;
	border: 1px solid #eeeeee;
	padding: 0.5rem 1rem;
	margin: 10px 0;
	line-height: inherit;
}
input[type="file"] {
  border-color: transparent;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="number"]):not([type="file"]), textarea, .wpcf7-validation-errors, .wpcf7-not-valid-tip {
	width: 100%;
}
input:focus, textarea:focus, select:focus{
	outline: none;
}
input[type="submit"], input[type="button"], button, .button{
	transition: opacity 0.4s ease;
	-webkit-appearance: none;
	border-radius: 0;
	text-decoration: none;
	white-space: nowrap;
	padding: 5px 10px 8px 10px;
	cursor: pointer;
	opacity: 1;
}
input[type="submit"]:focus, input[type="button"]:focus, button:focus, .button:focus,
input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover{
	text-decoration: none;
	opacity: 0.8;
}

::-webkit-input-placeholder {
	font-family: inherit;
	line-height: inherit;
}
::-moz-placeholder {
	font-family: inherit;
	line-height: inherit;
}
:-ms-input-placeholder {
	font-family: inherit;
	line-height: inherit;
}
::-ms-input-placeholder {
	font-family: inherit;
	line-height: inherit;
}
::placeholder {
	font-family: inherit;
	line-height: inherit;
}
select {
	appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
	font-size: inherit;
  cursor: pointer;
	font-family: inherit;
  display: block;
  padding: 10px 34px 10px 10px !important;
  max-width: 100%;
  height: auto !important;
	border-radius: 0;
	background-color: transparent;
	background-position: center right 10px;
	background-size: 17px 7px;
	background-repeat: no-repeat;
}
select option {
  padding: 5px 10px;
}
ul, ol {
	padding:0 0 0 1.5rem;
}
blockquote {
  margin: 2rem 1.5rem 2rem 1.5rem;
}
blockquote::before {
  content: "“";
  font-size: 2.5rem;
  line-height: 1.5rem;
  position: absolute;
  margin-top: -1rem;
}
.breadcrumbs-content {
	color: #bcbcbc;
	font-size: 0.8rem;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 12px;
}
.breadcrumbs-content a {
	color: #bcbcbc;
	text-decoration: none;
}
.nowrap {
	white-space: nowrap;
}

/* Images */
img {
	max-width: 100%;
	height: auto;
}
.alignleft, .alignright, .alignleft.wp-caption, .alignright.wp-caption {
	max-width: calc(50% - 20px) !important;
}
/* Gallery */
.gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: stretch;
	margin: 0 -15px !important;
}
.gallery-item {
	padding: 0 15px;
	float: none !important;
}
.gallery img {
	border: 1px solid #eeeeee !important;
}
.gallery a {
	display: block;
}
.gallery .gallery-item+br {
	display: none;
}
@media only screen and (max-width: 767px) {
	.gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item {
		width: 50% !important;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item {
		width: 25% !important;
	}
}
@media only screen and (min-width: 1024px) {
	.gallery-columns-3 .gallery-item {
		width: calc(100% / 3) !important;
	}
	.gallery-columns-6 .gallery-item {
		width: calc(100% / 6) !important;
	}
	.gallery-columns-7 .gallery-item {
		width: calc(100% / 7) !important;
	}
	.gallery-columns-8 .gallery-item {
		width: calc(100% / 8) !important;
	}
	.gallery-columns-9 .gallery-item {
		width: calc(100% / 9) !important;
	}
}

/* Icons */
.arrow-up, .arrow-down, .arrow-left, .arrow-right {
  display: inline-block;
 	width: 10px;
 	height: 10px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(-45deg);
}
.arrow-down {
  transform: rotate(135deg);
}
.arrow-left {
	transform: rotate(-135deg);
}
.arrow-right {
  transform: rotate(45deg);
}

/* search form */
.search-form {
	position: relative; /* for .search-submit */
}
.search-form .search-submit {
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background-color: transparent !important;
	border-width: 1px;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
}
.search-form .search-field {
	margin: 0;
}
.search-form:not(.customsearchform) .search-field::-webkit-input-placeholder { color: transparent; }
.search-form:not(.customsearchform) .search-field::-moz-placeholder { color: transparent; }
.search-form:not(.customsearchform) .search-field:-ms-input-placeholder { color: transparent; }
.search-form:not(.customsearchform) .search-field::-ms-input-placeholder {
	color: transparent;
}
.search-form:not(.customsearchform) .search-field::placeholder {
	color: transparent;
}
.search-form label::after {
	content: "";
	position: absolute;
	bottom: 0.5rem;
	right: 1rem;
	width: 1px;
	height: 0.5rem;
	border-right: 1px solid currentColor;
	transform: rotate(-45deg);
} /* default WP search widget */
/* search results */
.searchresults-ul{
	list-style-type: none;
	padding: 0;
}
.searchresult-img {
	max-width: 75px !important;
}
/* header search */
.nav-mobile .menu-item.menu-search .search-form {
	display: inline-block;
}
.menu-search .search-form .search-submit {
	width: 0.9rem;
	height: 0.9rem;
}
.menu-search .search-form .search-field {
	transition: width 0.4s ease;
	padding: 2px 5px;
	width: 6rem !important;
	margin: 0;
}
.menu-search .search-form .search-field:focus {
	width: 8rem !important;
}
.menu-search .search-form label::after {
	height: 0.45rem;
	bottom: 0.25rem;
}

/* contactform7 */
div.wpcf7 {
	position: relative;
	max-width: 500px;
	margin: 0 auto;
}
span.wpcf7-validation-errors, span.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
	color: orange;
	border: 1px solid orange;
}
div.wpcf7 .ajax-loader {
	position: absolute;
	right:0;
}
.wpcf7-textarea {
	transition: max-height 0.4s ease;
	max-height: 6rem;
}
.wpcf7-textarea:focus {
	max-height: 18rem;
}
.wpcf7-form > p {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.wpcf7-form p label {
	width: 100%;
}
.wpcf7-submit {
	margin-left: auto;
	margin-right: auto;
}
@media only screen and (min-width: 768px) {
	.wpcf7-form p label.half {
		width: 48%;
	}
	.wpcf7-form p label.half + br {
		display: none;
	}
}
.grecaptcha-badge {
	display: none; /* hide recaptcha v3 badge */
}


/* Instagram feed plugin */
#sb_instagram, #sb_instagram.sbi_width_resp {
  width: calc(100% + 4rem) !important;
  margin: 0 -2rem;
}
#sb_instagram div#sbi_images {
	padding: 1rem !important;
}
#sb_instagram div#sbi_images .sbi_item {
	float: none;
}
#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a {
	font-size: 1rem;
	margin-top: 20px;
	margin-bottom: 30px;
}
#sb_instagram #sbi_load .fa-spinner, #sb_instagram .sbi_follow_btn .fa, #sb_instagram .sbi_follow_btn svg {
	margin-bottom: -2px;
}
#sb_instagram .sbi_photo {
	height: 0 !important;
	padding-bottom: 100%;
}
@media only screen and (max-width: 600px) {
	#sb_instagram.sbi #sbi_images .sbi_item {
		width: 50%;
	}
}
@media only screen and (min-width: 601px) and (max-width: 1023px) {
	#sb_instagram.sbi #sbi_images .sbi_item {
		width: 25%;
	}
}

/* expander */
.expand-toggle {
	cursor: pointer;
}
.expand {
	display: none;
}

/**** Header ****/
.site-header {
	z-index: 999;
}
.site-logo-nav-wrapper {
	transition: padding 0.4s ease, margin 0.4s ease;
}
.site-logolink {
	line-height: 0;
	margin: 0 auto;
	text-decoration: none;
}
.site-logo {
	transition: max-height 0.4s ease, margin 0.4s ease;
	max-height: 40px;
	margin: 10px 0;
}
.site-logo-txt {
	transition: font-size 0.4s ease, margin 0.4s ease;
	display: inline-block;
	line-height: 1.2;
	margin: 10px 0;
}
.sticky-nav .site-logo-txt {
	margin: 5px 0;
}
.site-nav-full {
  flex-grow: 1;
}


/**** Main ****/

.background-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


/**** Blog posts archive and single ****/

.posts-listing-ul {
	list-style: none;
	padding: 0;
}
.posts-listing-li {
	margin-bottom: 10px;
}
.posts-listing h1.page-title {
	margin: 1.8rem 0;
}
.posts-listing-date,
.single-post-date,
.posts-nav {
	display: block;
	font-size: 85%;
}
.posts-nav {
	clear: both;
}
.round-images .posts-listing-img {
	border-radius: 50%;
	overflow: hidden;
	z-index: 0; /* safari border-radius overflow hidden fix */
}
.posts-prev-next .button {
	display: block;
	margin-bottom: 1rem;
	white-space: normal;
}
.posts-prev .button {
	margin-right: 1rem;
}
/* Single post */
.post-header-img {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 200px;
}
.post-title-in-header-img {
	text-align: center;
	margin: 0;
}
@media only screen and (min-width: 768px) {
	.post-header-img {
		min-height: 350px;
	}
}


/**** Footer ****/
.site-footer {
  font-size: 0.8rem;
}
.site-footer-column {
	margin: 5px 0;
}
.site-footer-closing-line {
	text-align: center;
}
.site-footer-closing-line a {
	text-decoration: none;
}
.footer_social_media {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.footer_social_media li {
	margin-bottom: 5px;
	text-align: left;
}
/* scroll to top button */
.scrolltop-wrapper {
	position: fixed;
	top: auto;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}
.scrolltop-link {
	background-color: rgba(255,255,255,0.2);
	transition: all 0.4s ease;
	position: absolute;
	top: auto;
	bottom: 30px;
	left: auto;
	right: 30px;
	padding: 18px 15px;
	line-height: 0;
	transform: translateY(200%);
}
.scrolltop-link .arrow-up {
	margin-bottom: -5px;
}
.scroll-to-top-visible .scrolltop-link {
	transform: translateY(0);
}

/* Cookie Notice plugin by dfactory */
#cookie-notice {
	background-color: rgba(255,255,255,0.85) !important;
}
.cookie-notice-container {
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	padding: 6px 8px 8px 8px;
    padding: 15px 30px;
	color: #666666;
	letter-spacing: 0.01em;
}
.cookie-notice-container a, .cookie-notice-container a:hover {
	color: #666666 !important;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 1px solid rgba(102,102,102,0.2);
	padding-bottom: 1px;
}
.cookie-notice-container a:hover {
	border-bottom: 1px solid rgba(102,102,102,0.8);
}
#cn-accept-cookie, #cn-accept-cookie:hover {
	display: inline-block;
	color: #666666 !important;
	margin: 8px 10px !important;
	padding: 1px 4px !important;
	border: 1px solid #666666 !important;;
	background-color: transparent !important;
    line-height: 1.5 !important;
}

/**** Media Queries ****/

@media only screen and (max-width: 767px) {

	select, textarea, input {
		font-size: 16px; /* mobile zoom fix */
	}

  .site-footer {
    line-height: 2.5;
  } /* add space for big fingers ;) */

	#cn-accept-cookie {
		margin-top: 10px;
		margin-bottom: 10px;
	}

}
