/*
Theme Name: Lage-Theme
Author: WaGo-IT
Author URI: https://wago-it.de
Description: Wordpress Theme for http://tobias-lage.de/
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
:root {
    /*--background-color: #d7fbfa;*/
	--background-color: #fff;
	--secondary-color: rgba(0, 0, 0, .6);
	--brown: rgba(166, 107, 27, 1);
	--brown_dark: rgb(119, 77, 18);
}

body,html {
    margin: 0;
    padding: 0;
}

body {
	font-family: Open Sans, Arial, sans-serif;
	font-size: 14pt;
	background-color: var(--background-color);
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

.toplevel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height));
	align-items: stretch;
}

.toplevel.menu-open {
	max-width: 100vw;
	max-height: calc(100vh - var(--wp-admin--admin-bar--height));
	min-height: 0;
	overflow: hidden;
}

/*

HEADER

*/
header {
	flex: 0 1 auto;
	position: relative;
	min-height: 70px;
}

header .header-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	border-bottom: rgba(0, 0, 0, .3) 1px solid;
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height));
	left: 0;
	background-color: white;
	width: 100%;
	z-index: 333;
}

header .menu-header-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	border-bottom: rgba(0, 0, 0, .3) 1px solid;
}

header .logo img {
	width: 170px;
}

/*

	Nav

*/
.menu {
	margin: 0;
}

.desktop-nav-menu {
	display: none;
}

.mobile-menu-toggle>img {
	width: 32px;
}

.mobile-nav-menu {
	display: none;
	/*display: flex;*/

	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--background-color);
	z-index: 444;
	padding-top: calc(var(--wp-admin--admin-bar--height));
	overflow-y: auto;
	align-self: stretch;
	flex-direction: column;
}

.mobile-nav-menu.menu-open {
	display: flex;
}

.mobile-nav-menu>div>ul>.menu-selected>ul {
	border-top: rgba(0, 0, 0, .6) 1.2px solid;
	border-bottom: rgba(0, 0, 0, .6) 1.2px solid;
}

.mobile-nav-menu ul {
	display: flex;
	flex-direction: column;
	list-style-type: none;
	padding-inline-start: 0;
	align-self: stretch;
	justify-content: center;
}

.mobile-nav-menu ul li {
	min-height: 52px;
	border-top: rgba(0, 0, 0, .6) 1px solid;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
}

.mobile-nav-menu ul li ul {
	left: 0;
	width: 100%;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.mobile-nav-menu .menu-selected>a {
	color: var(--brown);
}

.mobile-nav-menu li>a {
	min-height: 32px;
	padding: 10px 10px;
	font-size: 12pt;
	font-weight: 600;
	text-decoration: none;
	color: var(--secondary-color);
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
	position: relative;
	width: 100%;
}

.mobile-nav-menu .menu-item-has-children>a::after {
	padding-top: 4px;
	content: url('img/keyboard_arrow_down_24dp.svg');
}

.mobile-nav-menu .menu-placeholder {
	display: none;
}

.mobile-nav-menu .menu-selected>ul {
	max-height: 1500px;
}

/*.mobile-nav-menu .current-menu-item>ul {
	display: flex !important;
	border-top: rgba(0, 0, 0, .6) 2px solid;
}

.mobile-nav-menu .current_page_ancestor>ul {
	display: flex !important;
}*/‚	

.mobile-nav-menu ul>li>ul {
	background-color: rgb(244, 244, 244);
}

.mobile-nav-menu ul>li>ul>li>ul {
	background-color: rgb(235, 235, 235);
}

.mobile-nav-menu ul>li>ul>li>ul>li>ul {
	background-color: rgb(225, 225, 225);
}

.mobile-nav-menu ul>li>ul>li>a {
	padding-left: 24px;
}

.mobile-nav-menu ul>li>ul>li>ul>li>a {
	padding-left: 48px;
}

.mobile-nav-menu ul>li>ul>li>ul>li>ul>li>a {
	padding-left: 72px;
}

/*

	Page

*/
main {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
}

h2 {
	color: var(--brown);
}

h3 {
	color: var(--brown);
	filter: saturate(0.5);
}

.article-full {
	max-width: 100vw;
	font-size: 12pt;
	line-height: 2;

	padding: 50px 25px 100px 25px;
	box-sizing: border-box;
}

.real-center {
	margin-left: auto;
    margin-right: auto;
    justify-self: center;
}

.full-slideshow {
	max-width: unset;
}

a {
	color: var(--brown_dark);
	text-decoration: none;
}

ul.download-list li>*:first-child::before {
	content: '' !important;
}

ul.download-list li {
	position: relative;
	list-style-type:none;
	padding: 9px 12px;
}

ul.download-list li:before {
	content: "";
	background-image: url('./img/download.svg');
	background-repeat: no-repeat;
	background-size: 24px;
	position: absolute;
	width: 24px;
	height: 24px;
	left: -24px;
	top: 50%;
	line-height: 1.8;
	transform: translate(0, -60%);
}
/*

	Products

*/
.product-section > div:last-child {
	text-align: left;
}

.product-section > div {
	gap: 1em;
}

.product-section .product-hrefs {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-block-start: 70px;
	gap: 1em;
}

.product-section a {
	width: 100%;
	box-sizing: border-box;
}

.page-banner {
	position: relative;
	width: 100%;
}

.page-banner > .banner-img {
	width: 100%;
	height: 400px;
	box-sizing: border-box;
	background-size: cover !important;
	background-position-x: center !important;
    background-position-y: center !important;
}


.page-banner * {
	max-height: 180px;
}

.page-banner .metaslider .flexslider {
	margin: 0;
}

.page-banner > .overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .4);
}

.page-banner > .overlay > div {
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: #fff;
	font-weight: 700;
	font-size: 20pt;

	display: flex;
	flex-direction: column;
}

.page-banner > .overlay a {
	color: #fff;
}

.page-banner > .overlay .link-tree-1 {
	font-size: 25pt;
}

.page-banner > .overlay .link-tree-2 {
	font-size: 20pt;
	font-weight: normal;
}

/* Widgets */
.download-section-bar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 30px;

	position: absolute;
	left: 0;
	right: 0;
	background-color: rgba(244,244,244,.84);
	text-align: center;
	height: 400px;
	padding: 0 20px;
}

.download-section-bar-placeholder {
	height: 400px;
}

.download-section-bar-manufacturer {
	padding-top: 20px
}

.service-section {
	position: relative;
	height: 300px;
}

.service-section .service-section-img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
}

.service-section .title {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, .6);
	height: calc(1em + 30px);
	transition: all 0.3s ease-in-out;
	padding: 0 4px;
	box-sizing: border-box;
}

.exggmap-wrapper {
	width: calc(100% - 40px) !important;
	margin-left: auto;
	margin-right: auto;
}

.exggmap-mask {
	background-color: unset !important;
}

.exggmap-mask .bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.exggmap-mask .bg div:first-child {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	background-color: rgba(0, 0, 0, .4);
}

.exggmap-mask .bg div:last-child {
	width: 100%;
	height: 100%;
	background-image: url('/wp-content/uploads/2025/09/maps.png');
	background-size: auto;
	background-position: center;
	background-repeat: no-repeat;
}

.exampp-hints {
	width: calc(100% - 40px) !important;
	margin-left: auto;
	margin-right: auto;
}

.exggmap-mask-content {
	z-index: 3;
	font-weight: bold;
}

h1 { /* TEST */
	overflow-wrap: break-word;
}

.size-full {
	margin: 0;
}

/* Buttons */
.button.button-primary {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--brown_dark);
	color: #fff;
	text-decoration: none;
	font-size: 12pt;
	font-weight: 600;
	padding: 10px 30px;
}

/*

	Input

*/
form select {
    color: #282828;
    background-color: #eee;
    padding: 16px 20px 16px 16px;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

form .wpcf7-form-control-wrap[data-name="your-salutation"]:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #666;
    margin-top: 3px;
    pointer-events: none;
}

form textarea, form input {
    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #282828;
    font-size: 14px;
    padding: 16px;
	box-sizing: border-box;
}

form label {
	margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    background: 0 0;
}

form input[type="submit"] {
	color: #fff;
	font-weight: bold;
	background-color: var(--brown);
}
/*

	Footer

*/
footer {
	display: flex !important;
	flex-direction: column;
	box-sizing: border-box;
	background-color: rgba(244,244,244,.84);
	padding: 20px 20px;
	/*padding: 100px 20%;*/
	flex: 0 1 auto;
	justify-content: space-around;
	align-items: start;
	font-size: 11pt;
	font-weight: 100;
	color: #3f4351;
	line-height: 2;
}

footer>div {
	margin-top: 20px;
}

footer .title {
	font-size: 15pt;
	font-weight: 600;
}

footer .footer-contact {
	display: flex;
	flex-direction: column;
	/*margin-right: 100px;*/
	align-items: start;
}

footer .footer-contact>div:nth-child(1) {
	margin-right: 100px;
	margin-bottom: 20px;
}

footer a {
	text-decoration: none;
	color: #3f4351;
}

script {
	display: none;
}

/*

	Animations

*/

/*

	Margins

*/
@media (max-width: 390px) {
	h1.long-title {
		font-size: 1.6em;
	}
}

@media (min-width: 550px) {
	.page-banner {
		min-height: 250px;
	}

	.page-banner * {
		max-height: unset;
	}

	.page-banner > .overlay .link-tree-1 {
		display: inline-block;
	}

	.page-banner > .overlay > div {
		bottom: 40px;
		left: 10%;
	}

	.page-banner > .overlay .link-tree-1 {
		font-size: 35pt;
	}
	
	.page-banner > .overlay .link-tree-2 {
		font-size: 30pt;
		font-weight: normal;
	}

	.article-full {
		font-size: 13pt;
		padding: 50px 20px 100px 20px;
	}
}

@media (min-width: 782px) {
	/*

	Products

	*/
	.product-section > div > div:last-child {
		text-align: right;
	}
}

@media (min-width: 900px) {
	/* Footer */

	footer {
		display: flex !important;
		flex-direction: row;
		padding: 100px 7%;
		justify-content: space-around;
		align-items: start;
		font-size: 11pt;
		font-weight: 100;
		color: #3f4351;
		line-height: 2;
	}
	
	footer .title {
		font-size: 15pt;
		font-weight: 600;
	}

	footer .footer-contact>div:first-child {
		margin-right: 35px;
	}
	
	footer .footer-contact {
		display: flex;
		flex-direction: row;
		margin-right: 50px;
		align-items: start;
	}
}

@media (min-width: 1050px) {
	.article-full {
		max-width: 1000px;
		width: 100%;
	}

	.download-section-bar {
		height: 350px;
	}

	.download-section-bar-placeholder {
		height: 350px;
	}
}

@media (min-width: 1250px) {
	.toplevel.menu-open {
		max-width: unset;
		max-height: unset;
		min-height: 100vh;
		overflow: unset;
	}

	header {
		align-items: stretch;
	}

	header .header-inner {
		align-items: unset;
	}

	header .logo img {
		width: 200px;
	}

	.mobile-menu-toggle {
		display: none;
	}

	.mobile-nav-menu {
		display: none;
	}

	.mobile-nav-menu.menu-open {
		display: none;
	}

	.desktop-nav-menu {
		display: flex;
		align-items: stretch;
	}

	.desktop-nav-menu li {
		box-sizing: border-box;
	}

	.desktop-nav-menu .menu {
		display: flex;
		flex-direction: row;
		list-style-type: none;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding-inline-start: 0;
		z-index: 999;
	}

	.desktop-nav-menu .menu>li {
		height: 100%;
	}

	.desktop-nav-menu .menu>.menu-wrapped {
		position: relative;
	}

	.page-banner > .overlay > div {
		bottom: 40px;
		left: 15%;
	}

	.page-banner > .overlay .link-tree-1 {
		font-size: 45pt;
	}
	
	.page-banner > .overlay .link-tree-2 {
		font-size: 27pt;
	}

	/*
	
	First level
	
	*/
	.menu>.menu-hover>ul { /* Selected */
		top: 100%;
		position: absolute;
		display: grid !important;
		border-top: rgba(0, 0, 0, .6) 3px solid;
		background-color: var(--background-color);
	}

	.desktop-nav-menu .menu > .menu-expanded > ul {
		display: none;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		row-gap: 20px;
		list-style-type: none;
		justify-content: space-around;
		padding-inline-start: 0;
		z-index: 999;
		padding: 20px 10%;
		width: 100vw;
		box-sizing: border-box;
		left: 0;
		/*border-bottom: rgba(0, 0, 0, .6) 1px solid;*/
		box-shadow: 0px 3px 10px rgba(0, 0, 0, .2);;
	}

	.desktop-nav-menu .menu > .menu-wrapped > ul {
		display: none;
		grid-template-columns: 1fr;
		list-style-type: none;
		justify-content: space-around;
		padding-inline-start: 0;
		z-index: 999;
		width: 150%;
		/*border-bottom: rgba(0, 0, 0, .6) 1px solid;*/
		box-shadow: 0px 3px 10px rgba(0, 0, 0, .2);
	}

	.desktop-nav-menu .menu>li>ul>li ul{
		display: flex;
		flex-direction: column;
		list-style-type: none;
		align-items: start;
		justify-content: start;
		padding-inline-start: 0;
		z-index: 999;
	}

	.desktop-nav-menu ul li ul {
		display: none;
	}

	/*

	Item Style

	*/
	.desktop-nav-menu a {
		font-size: 12pt;
		text-decoration: none;
		color: var(--secondary-color);
		display: flex;
		flex-direction: row;
		justify-content: start;
		align-items: center;
		padding: 8px 10px;
		width: 100%;
		box-sizing: border-box;
		min-height: 50px;
	}

	.desktop-nav-menu a:hover {
		background-color: rgba(0, 0, 0, .11);
	}
	
	.desktop-nav-menu .menu>li>a { /* First level */
		font-size: 12pt;
		font-weight: 600;
		justify-content: center;
		align-items: center;
		padding: 0px 10px;
		min-width: 100px;
		height: 100%;
	}

	.desktop-nav-menu .menu > li > ul > li > ul > li {
		margin-left: 20px;
		width: calc(100% - 40px);
	}

	.desktop-nav-menu  .menu > .menu-expanded > ul > li > a {
		justify-content: start;
		color: #000;
		font-size: 18pt;
		font-weight: 600;
	}

	.desktop-nav-menu  .menu > .menu-wrapped > ul > li > a {
		justify-content: start;
		color: #000;
		font-size: 12pt;
		font-weight: 600;
		padding: 28px 40px;
	}

	.desktop-nav-menu .current_page_ancestor>a {
		background-color: rgba(0, 0, 0, .07);
	}

	.desktop-nav-menu .sub-menu .current_page_ancestor>a {
		background-color: unset;
		color: rgba(0, 0, 0, .37);
	}

	.desktop-nav-menu .current-menu-item>a {
		background-color: rgba(0, 0, 0, .11);
	}
	
	.desktop-nav-menu .menu > .menu-item-has-children>a::after {
		padding-top: 4px;
		content: url('img/keyboard_arrow_down_24dp.svg');
	}


	/* Footer */

	footer {
		padding: 100px 20%;
	}
	
	footer .title {
		font-size: 15pt;
		font-weight: 600;
	}
	
	footer .footer-contact {
		margin-right: 100px;
	}

	footer .footer-contact>div:first-child {
		margin-right: 100px;
	}
}

@media (min-width: 1600px) {
	
}
