/*!
Theme Name: Lener
Theme URI: https://them.es/starter
Author: them.es
Author URI: https://them.es/
Description: 
Version: 3.5.0
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: lener
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */

/* From http://codex.wordpress.org/CSS */


/* open-sans-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/open-sans-v35-latin-500.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 500;
	src: url('../fonts/open-sans-v35-latin-500italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/open-sans-v35-latin-600.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 600;
	src: url('../fonts/open-sans-v35-latin-600italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-800 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/open-sans-v35-latin-800.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-800italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 800;
	src: url('../fonts/open-sans-v35-latin-800italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




.alignnone {
	margin: 5px 20px 20px 0;
}

.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 {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.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 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	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. */
}


:root {
	--text-font: "Open-Sans", sans-serif;
	--text-color: #00241E;
	--main-text-size: clamp(0.9375rem, 0.8333rem + 0.3333vw, 1.125rem);/*clamp(0.8125rem, 0.7431rem + 0.2222vw, 0.9375rem);*/
	--main-text-lineheight: clamp(1.25rem, 0.7986rem + 1.4444vw, 2.0625rem); /*clamp(1.25rem, 1.0764rem + 0.5556vw, 1.5625rem);*/
	--h1-font-weight: 800;
	--h1-font-size: clamp(1.5625rem, 0.6944rem + 2.7778vw, 3.125rem);
	--h2-font-size: clamp(1.5625rem, 0.6944rem + 2.7778vw, 3.125rem);
	--h1-sub-font-size: clamp(0.9375rem, 0.5903rem + 1.1111vw, 1.5625rem);
	--h2-sub-font-size: clamp(0.9375rem, 0.5903rem + 1.1111vw, 1.5625rem);
	--color-green: #006A5A;
	--color-green-light: #ECF0F0;
	--color-yellow: #FFE100;
	--color-yellow-light: #FFEE6C;
	--color-green-dark: #00241E;
	--extra-bold: 800;
	--medium: 500;
}

body,
html {
	width: 100vw;
	max-width: 100vw;
	overflow-x: hidden;
}

body {
	font-family: var(--text-font);
	color: var(--text-color);
	font-size: var(--main-text-size);
	line-height: var(--main-text-lineheight);
	margin-top: 60px;
	font-weight: var(--medium);
}

h1,
.h1 {
	font-weight: var(--h1-font-weight);
	font-style: italic;
	font-size: var(--h1-font-size);
	text-transform: uppercase;
}

h2,
.h2 {
	font-weight: var(--h1-font-weight);
	font-style: italic;
	color: var(--color-green);
	font-size: var(--h2-font-size);
	text-transform: uppercase;
}

h1 span,
.h1 span {
	font-size: var(--h1-sub-font-size);
	display: block;
	line-height: 0.8;
}

h2 span,
.h2 span {
	font-size: var(--h2-sub-font-size);
	display: block;
	line-height: 0.8;
}

h3,
.h3 {
	font-weight: var(--h1-font-weight);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	hyphens: auto;
}

a{
	color: var(--color-green);
}

.text-white p a{
	color: white;
	text-decoration: underline;
}

.text-white .btn{
	color: var(--color-green);
	text-decoration: none;
}

.bg-green {
	background-color: var(--color-green) !important;
}

.bg-green-dark {
	background-color: var(--color-green-dark) !important;
}

.bg-green-light {
	background-color: var(--color-green-light) !important;
}

.bg-green-yellow {
	background-color: var(--color-yellow) !important;
}

.text-green {
	color: var(--color-green) !important;
}

.text-green-dark {
	color: var(--color-dark) !important;
}

.text-green-light {
	color: var(--color-light) !important;
}

.text-yellow {
	color: var(--color-yellow) !important;
}

.btn {
	border-radius: 0;
	color: var(--color-green);
	background-color: var(--color-yellow);
	clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%);
	font-weight: var(--extra-bold);
	padding: 10px 25px 10px 15px;
	transition: all ease-in-out 0.2s;
	border: 0;
}

.btn:hover {
	background-color: var(--color-yellow-light);
	color: var(--color-green);
	padding-right: 35px;
}

.btn:disabled{
	background-color: #ccc!important;
}


.olderposts .btn {
	clip-path: polygon(calc(0% + 20px) 0%, 100% 0%, 100% 100%, calc(0% + 20px) 100%, 0% 50%);
	padding: 10px 15px 10px 25px;
}

.olderposts .btn:hover {
	padding-left: 35px;
	padding-right: 15px;
}

/*nav*/
.admin-bar #mainheader {
	top: 32px;
}

#mainheader {
	top: 0;
	left: 0;
	padding: 5px 15px;
	z-index: 1000;
}

#mainheader .nav-link {
	color: var(--color-green);
	font-weight: var(--extra-bold);
	color: var(--color-green);
	padding: 3px 10px 7px 10px;
	margin: 0 15px;
	position: relative;
}

#mainheader .nav-link:before {
	content: "";
	height: 5px;
	width: 0%;
	display: block;
	background-color: var(--color-yellow);
	position: absolute;
	bottom: 0;
	left: 0;
	transition: all 0.2s ease-in-out;
}

#mainheader .nav-link:hover:before,
#mainheader .nav-link.active:before {
	width: 100%;
}

#mainheader li>ul.dropdown-menu {
	border-radius: 0;
	border: none;
	padding: 10px;
	left: 25px;
}

ul.dropdown-menu .dropdown-item {
	color: var(--color-green);
	font-weight: var(--extra-bold);
	padding: 10px 0;
	background-color: white !important;
	font-size: var(--main-text-size);
}

section {
	margin-top: 120px;
}

div#navbar-mobile {
	font-size: 18px;
	font-weight: bold;
}

#navbar-mobile .nav-link {
	padding: 15px 0;
	color: var(--color-green);
}

#navbar-mobile .dropdown-menu {
	display: block !important;
	position: inherit !important;
	border: none;
	box-shadow: none;
	margin: 0 !important;
	transform: none !important;
	margin-left: 15px !important;
	margin-top: -5px !important;
}

#navbar-mobile .dropdown-toggle:after {
	display: none;
}

#mobilenavLabel {
	font-weight: 800;
	color: var(--color-green);
}

span.navbar-toggler {
	border: none;
}

/*page header */

.header-item-image {
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 290px;
}

.single-post .header-item-image,
.single-fuhrpark .header-item-image,
.single-leistung .header-item-image,
.page-template-page-small-header .header-item-image {
	height: 400px;
}


.header-item-video {
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 290px;
}

.page-header-info {
	min-height: 400px;
}

.page-header-image {
	position: relative;
	height: 100%;
}

#page-header .page-heaer-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-fit: center;
}

#front-page-header .row,
#front-page-header .slick-track,
#front-page-header .slick-list {
	height: 60vh;
	min-height: 400px;
	overflow: hidden;
}

.header-content {
	max-width: 600px;
}

.divider-horizontal {
	width: 100%;
	height: 40px;
	margin-top: -1px;
	z-index: 2;
	position: absolute;
}

.divider-vertical {
	height: 100%;
	width: 100px;
	margin-left: -1px;
	z-index: 2;
	position: absolute;
}

.slick-dots li button:before {
	content: "";
	height: 3px;
	width: 45px;
	background-color: var(--color-green);
	border-radius: 20px;
}

.slick-dots li {
	width: 45px;
}

.slick-dots {
	bottom: -30px;
}

/*services*/

.clip-image-topdown {
	clip-path: polygon(0% 0%, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
}

.clip-image-sideway {
	clip-path: polygon(0% 0%, calc(100% - 40px) 0%, 100% 50%, calc(100% - 40px) 100%, 0% 100%);
}

.service-item {
	margin: 15px;
}

.service-info h3 {
	height: 3em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.service-slider-prev,
.service-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transform-origin: right center;
	z-index: 10;
}

.service-slider-prev {
	left: -20px;
}

.service-slider-next {
	right: -20px;
	transform-origin: left center;
}

/*image text block*/

.image-text-block {
	padding-top: 60px;
	padding-bottom: 60px;
	background-size: cover;
	background-position: center;
	min-height: 400px;
}

.image-text-block .overlay {
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}

.image-text-block .container {
	z-index: 10;
	position: relative;
}

/*blog*/

.single-post h2.wp-block-heading {
	font-size: 25px;
	text-transform: none;
	font-style: normal;
	margin: 20px 0 10px 0;
}

/*news slider*/
.news-item .news-slider-item-img {
	object-fit: cover;
	object-position: center;
}

.news-item h2 {
	color: var(--color-green);
	text-transform: uppercase;
	font-style: italic;
}

.news-slider .news-slider-item-img {
	object-fit: cover;
	object-position: center;
	/*height: 350px !important;*/
}

.news-slider .slick-track {
	display: flex;
}

.news-slider-item {
	width: 65vw;
	max-width: 900px;
	flex-grow: 1;
	display: flex !important;
	height: auto;
}

.news-slider-item .row {
	margin-right: 25px;
}

.news-slider-item h3 {
	color: var(--color-yellow);
	text-transform: uppercase;
	font-style: italic;
}

.news-slider-prev,
.news-slider-next {
	width: 40px;
	height: auto;
}

.arrow-wrapper img {
	margin: 0 5px;
}

/*team items*/

.team-info a {
	color: var(--color-green) !important;
}

.team-info h3 {
	height: 2em;
	display: flex;
	justify-content: center;
	align-items: center;
}

/*merch*/

.info-wrapper {
	margin-left: auto;
	max-width: 650px;
}


/*contact-button*/
#contactbutton {
	background-color: var(--color-green);
	width: 50px;
	height: 50px;
	position: fixed;
	right: 40px;
	bottom: 40px;
	border-radius: 50px;
	box-shadow: 0 0 12px #000;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
}

.modal {
	padding-right: 0px !important;
}

body.modal-open {
	padding-right: 0 !important;
}

.modal-content {
	border-radius: 0;
}

.modal-header {
	border: none;
}

.fade:not(.show) {
	pointer-events: none;
}

/*footer*/

#footer {
	line-height: var(--main-text-lineheight);
	position: relative;
	z-index: 10;
}

#footer a {
	color: white !important;
}

#footer h4 {
	font-size: var(--main-text-size);
	margin-bottom: 10px;
	font-weight: var(--extra-bold);
}

.footer-logo {
	max-width: 200px;
	height: auto;
	margin-bottom: 15px;
	width: 100%;
}

.footer-cert {
	max-width: 80px;
	height: auto;
	margin-bottom: 15px;
	width: 100%;
}

#menu-kontakt a svg {
	width: 16px;
	margin-right: 15px;
}

ul.social-icons {
	list-style: none;
	padding: 0;
	margin: 0 0 15px 0;
}

ul.social-icons a {
	background-color: white;
	border-radius: 40px;
	width: 30px;
	height: 30px;
	display: flex;
	margin-left: 2px;
	margin-right: 2px;
	align-items: center;
	justify-content: center;
}

ul.social-icons li {
	display: inline-block;
}

ul.social-icons li img {
	height: 20px;
	width: 20px;
	object-fit: contain;
	object-position: center;
}

#footer .menu {
	list-style: none;
	padding-left: 0;
	line-height: 35px;
}

@media all and (max-width: 992px) {
	.news-slider-item {
		width: inherit;
	}

	

	.header-item-image {
		height: 500px;
	}

	.header-item-video {
		height: 500px;
	}

	#front-page-header .row {
		min-height: 60vh;
		height: inherit;
	}
}

@media all and (max-width: 768px) {

	.clip-image-sideway {
		clip-path: polygon(0% 0%, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
	}

	.header-item-image {
		height: 300px;
	}

	.header-item-video {
		height: 300px;
	}

	#page-header .page-header-info {
		min-height: 200px;
		height: auto;
	}
}

@media all and (max-width: 500px){
	#front-page-header .row, #front-page-header .slick-track, #front-page-header .slick-list{
		height: auto;
	}

	.slick-dots li button:before{
		width: 10px;
	}

	.slick-dots li {
		width: 10px;
	}
}