/*
Theme Name: Leksa Child
Description: Child theme for the Leksa. Child themes are the recommended way of making modifications to a theme. <a href="http://codex.wordpress.org/Child_Themes">Read More</a>
Author: PeThemes
Author URI: http://pethemes.com
Template: leksa
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* TROUBLESHOOTING */
/* Fix scrolling issue on Safari */
body,
html {
    -ms-scroll-chaining: auto !important;
    overscroll-behavior: auto !important;
}

/* Disable strange links */
.uebermich-e7 a[href="Array"] {
	pointer-events: none !important;
}

/* COLORS */
:root {
    --ci-blau: #0178BB;
}

@media only screen and (min-width: 769px) {
	body .text-h2,
	.schriftgroesse-einheitlich .text-h1,
	body .entry-content .elementor > .elementor-element > .elementor-element > .schriftgroesse-einheitlich.elementor-element > .elementor-widget-container > .text-wrapper > .text-h1 {
		font-size: 3.157rem;
	}
	body .hauptueberschrift.schriftgroesse-einheitlich .text-h1 {
    	font-size: 6.157rem !important;
	}
	body .kleinere-headline.schriftgroesse-einheitlich .text-h1 {
    	letter-spacing: 0.2em;
	}
}

/* Pageloader */
body .pe--page--loader {
    background: #dcdcdc;
	display: none;
}

/* HEADER */
/* Navigation */
.main-navigation ul ul.sub-menu {
    display: none; /* Submenus are necessary for the plus symbols to appear */
}
@media only screen and (min-width: 1025px) {
	body .site--nav.nav--popup {
		display: none;
	}
}
body .site-header {
    position: fixed !important;
}
.switcher-im-header,
.hauptnavigation,
.hauptnavigation + .elementor-widget-pebutton {
	position: relative;
    top: -30px;
}
li.menu-item-11732 {
	white-space: nowrap;
}
/* Sticky Navigation */
.header--move > div > .elementor-element {
	background-color: #fff;
}
@media only screen and (min-width: 1025px) {
	.header--move .menu-item > a {
		color: #000;
	}
}
/* Kontakt Button */
header .pe--button--wrapper a > span {
	color: var(--ci-blau);
}
header .pe--button.pb--background .pe--button--wrapper a span.pb__hover {
    color: #fff;
}

/* FOOTER */
/* Logo */
body .footer-logo img {
	max-width: 340px;
}
/* Navigation */
body .elementor-element #menu-footer-menue-3.menu.main-menu.menu--vertical > li.menu-item {
	font-size: 18px;
	padding-top: 0;
}
body header .menu-item-12550 {
	display: none !important;
}
@media only screen and (min-width: 1025px) {
	body header.header--move .menu-item-12550 {
		display: block !important;
	}
}
body .elementor-element #menu-footer-menue-3.menu.main-menu.menu--vertical > li.menu-item {
	font-size: 18px;
}
/* Footer Dropdown */
.dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.dropdown-content {
	display: none;
	position: absolute;
	padding: 12px 16px;
	z-index: 1;
	background-color: var(--ci-blau);
	width: max-content;
	/* wenn dropdown nach oben klappen soll */
	/* top: -125px; */
}
.dropdown-content a {
	color: #fff !important;
}
.dropdown-content a:hover {
	color: #ccc !important;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* PLUGINS */
/* WP Floating Menu */
/* Icon Color */
body .wpfm-template-1 ul li .wpfm-icon-block i {
    color: #fff;
}
/* Text Color */
body .wpfm-template-1 ul li .wpfm-menu-name {
    color: #fff;
}
/* Icon Background Color when not opened */
body .wpfm-template-1 ul li .wpfm-icon-block {
    background: var(--ci-blau);
}
/* Icon Background Color when opened */
body .wpfm-template-1 .wpfm-position-right ul li a:hover .wpfm-icon-block,
body .wpfm-template-1 .wpfm-position-top-right ul li a:hover .wpfm-icon-block,
body .wpfm-template-1 .wpfm-position-bottom-right ul li a:hover .wpfm-icon-block {
    background: var(--ci-blau);
}
/* Text Background Color when opened */
body .wpfm-template-1 ul li a {
    background: var(--ci-blau);
}

.wpfm-template-2 ul:hover {
    width: 285px; /* Auf Inhalt anpassen */
}
.wpfm-template-2 ul {
    width: 40px;
	transition: 0.5s;
}
.wpfm-template-2 .wpfm-tootltip-title {
	visibility: hidden;
}
.wpfm-template-2 li:hover .wpfm-tootltip-title {
	visibility: visible;
}

/* STARTSEITE */
@media only screen and (min-width: 2100px) {
	body .leksa-showcase-rotate .lsc-wrapper {
		top: 45px;
	}
}
body.home:not(.layout--switched) {
    background-color: #fff;
}
.startseite-e1 a[href="/cookie-richtlinien-eu"] {
    bottom: 1px;
}
/* .startseite-e1 a[href="/impressum"] {
    bottom: 65px;
} */
/* .startseite-e1 a[href="/datenschutzerklaerung"] {
    bottom: 130px;
} */
body .startseite-e1 > .elementor-widget-pebutton:nth-child(2) {
    bottom: 92px;
}
body .startseite-e1 > .elementor-widget-pebutton:nth-child(3) {
    bottom: 160px;
}
@media only screen and (min-width: 2000px) {
    .startseite-e1 .leksa-showcase-rotate .project-meta .meta-inner {
        margin-left: 90px;
    }
}
.home .leksa-showcase-rotate .project-meta,
.home .leksa-showcase-rotate.style-explore .project-wrap,
.home .leksa-showcase-rotate .lsc-switcher,
.home .pe--button.pb--background .pe--button--wrapper a {
    background: #FAE8CA;
}
.home .leksa-showcase-rotate .project-wrap .project-image > a {
	pointer-events: none; /* Clicking on an element should not immediately open the link */
}
.home .leksa-showcase-rotate .project-meta .meta-inner .sr--met--top .project-title,
.home .leksa-showcase-rotate .project-meta .meta-inner .sr--met--top .project-title > a {
	color: var(--ci-blau);
}
.home .leksa-showcase-rotate .project-meta .meta-inner .sr--met--top .project-category {
	color: #070707;
}

/* UEBER MICH */
body.page-id-11451:not(.layout--switched) {
    background-color: #fff;
}
body.page-id-11451 div[data-widget_type="pelayoutswitcher.default"] {
	display: none;
}
body.page-id-11451 .footer-top-area {
	border-top: 1px solid #00000033;
	padding-top: 50px;
}
body.page-id-11451 footer > div > .elementor-element {
	margin-top: 0;
}
/* E1 */
.uebermich-e1 span.inner--image img {
	visibility: hidden;
}
/* E3 */
.uebermich-e3 .pe-circular-text .circular-text-icon,
.circle-no-pointer .pe-circular-text .circular-text-icon {
	cursor: default;
}
/* E4 */
/* body main article .uebermich-e4.integared--width.elementor-element {
    margin-left: 20px;
    margin-right: 20px;
} */
.vier-bilder-wrapper {
	display: flex;
	justify-content: right;
	padding: 0 15px;
	gap: 50px;
}
.vier-bilder-wrapper .bild-column {
	/*width: 25%;*/
	max-width: 400px;
}
.vier-bilder-wrapper .bild-column img {
	border-radius: 30px;
}
.uebermich-e4 {
	border-radius: 30px !important;
}
/* E5 */
.uebermich-e5 .leksa-showcase-carousel .lsc-image-wrap a {
	pointer-events: none;
}
.uebermich-e5 .leksa-showcase-carousel .lsc-image-wrap .showcase-project .project-title,
.uebermich-e5 .elementor-element .leksa-showcase-carousel .project-meta > div {
	opacity: 1 !important;
	visibility: hidden !important;
}
/* E6 */
.uebermich-e6 .pe-marquee svg path {
    fill: var(--ci-blau);
}
.uebermich-e6 .marquee-wrap:nth-child(2) > span {
	visibility: hidden;
	margin-left: -780px;
}
.uebermich-e6 .marquee-wrap:nth-child(2) > span:after {
	content: 'FACHKUNDIG';
	visibility: visible;
}
.uebermich-e6 .marquee-wrap:nth-child(3) > span {
	visibility: hidden;
	margin-left: -780px;
}
.uebermich-e6 .marquee-wrap:nth-child(3) > span:after {
	content: 'KÜNSTLERISCH';
	visibility: visible;
}
.uebermich-e6 .marquee-wrap:nth-child(4) > span {
	visibility: hidden;
	margin-left: -780px;
}
.uebermich-e6 .marquee-wrap:nth-child(4) > span:after {
	content: 'FREIDENKEND';
	visibility: visible;
}
/* E8 */
.uebermich-e8 .leksa-fullscreen-cards .project-title {
    display: none;
}
.uebermich-e8-heading p.text-h1 {
	/*font-size: 4.209rem;*/
	font-size: 3.157rem !important;
}
.uebermich-e8 .leksa-fullscreen-cards .showcase-project a {
	pointer-events: none;
}

/* KUNSTWERKE */
body.postid-11557:not(.layout--switched) {
    background-color: #fff;
}
body.postid-11557 p.text-h2 {
    color: var(--ci-blau);
}
body.postid-11557 a[href="#."] .pb--marquee--wrap .pb--marquee__inner > span:nth-child(2):after,
body.postid-11557 a[href="#."] .pb--marquee--wrap .pb--marquee__inner > span:nth-child(3):after {
	content: 'EN';
	position: relative;
	left: -20px;
}
body.postid-11557 a[href="#."] {
	margin-bottom: 40px; /* Balance out the added margin at the top of the page */
}
body.postid-11557 .next-project-section {
	display: none !important;
}
body.postid-11557 .pin-spacer-project_gallery > .elementor-element {
	margin-top: 20px !important;
}

/* KUNSTWERKE (NEU) */
body.page-id-12393 div[data-widget_type="pelayoutswitcher.default"] {
	display: none;
}
body.page-id-12393:not(.layout--switched) {
    background-color: #fff;
}
body.page-id-12393 .footer-top-area {
	border-top: 1px solid #00000033;
	padding-top: 50px;
}
body.page-id-12393 footer > div > .elementor-element {
	margin-top: 0;
}
@media only screen and (min-width: 1200px) {
	.kunstwerke-e1 .nach-links-verschieben {
		position: relative;
		left: -10%;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.kunstwerke-e1 .nach-links-verschieben {
		padding-top: 70px;
	}
}

/* MOSAIK */
body.page-id-12626 div[data-widget_type="pelayoutswitcher.default"] {
	display: none;
}
body.page-id-12626:not(.layout--switched) {
    background-color: #fff;
}
body.page-id-12626 .footer-top-area {
	border-top: 1px solid #00000033;
	padding-top: 50px;
}
body.page-id-12626 footer > div > .elementor-element {
	margin-top: 0;
}

/* WORKSHOPS */
body.page-id-11612 div[data-widget_type="pelayoutswitcher.default"] {
	display: none;
}
body.page-id-11612:not(.layout--switched) {
    background-color: #fff;
}
body.page-id-11612 .footer-top-area {
	border-top: 1px solid #00000033;
	padding-top: 50px;
}
body.page-id-11612 footer > div > .elementor-element {
	margin-top: 0;
}
/* E1 */
#post-11612 .workshops-e1.elementor-element {
	justify-content: center;
}
/* E4 */
@media only screen and (min-width: 1024px) {
    .workshops-e4 .ebene-1 {
        justify-content: center;
    }
    .workshops-e4 .ebene-1 > .elementor-element:nth-child(2) {
        padding-top: 40px;
    }
}
.workshops-e4 .ebene-1 {
	--op: unset !important;
}
/* E5 */
.workshops-e5.elementor-element > .top-position.elementor-element > .elementor-widget-container > .single--image > img {
	object-position: top;
}
/* E6 */
body.layout--switched .workshops-e6 .pe-circular-text svg {
    fill: #fff;
}
body.layout--switched .workshops-e6 .pe--button.pb--background .pe--button--wrapper a {
    background: #2d2d2d;
}

/* KONTAKT */
body.page-id-11686:not(.layout--switched) {
    background-color: #fff;
}
body.page-id-11686 div[data-widget_type="pelayoutswitcher.default"] {
	display: none;
}
.kontakt-verlinkungen-wrapper {
	position: relative;
    top: -40px;
}
/* Datenschutzerklärung Matomo */
#matomo-opt-out p {
	line-height: 26px;
	font-size: 16px;
}

/* RECHTLICHE UNTERSEITEN */
.imp-header-all{line-height: 1.2; margin-top: 20px; margin-bottom: 10px;font-size: 28px !important;}
.imp-paragraph{margin-bottom: 10px; line-height: 26px; font-size: 16px;}
.ds-header-all{line-height: 1.2; margin-top: 20px; margin-bottom: 10px;}
.ds-header-1{font-size:28px !important;}
.ds-header-2{font-size:24px !important;}
.ds-header-3{font-size:20px !important;}
.ds-wrapper{margin-left: 20px;}
.ds-paragraph{margin-bottom: 10px; line-height: 26px; font-size: 16px;}

.ds-paragraph a,
.ds-paragraph + ul a,
.imp-paragraph a {
	color: var(--ci-blau);
}
.ds-paragraph a:hover,
.imp-paragraph a:hover {
	color: var(--ci-blau);
}

/*
#post-11909 .text-h1.no-margin.viewport-enter.anim_start.is-inview > div > span {
	font-size: 5.61rem;
}
*/
#post-11909 .elementor-element .text-wrapper p.text-h1.no-margin.viewport-enter.anim_start.is-inview,
#post-11911 .elementor-element .text-wrapper p.text-h1.no-margin.viewport-enter.anim_start.is-inview {
    font-size: 5.61rem;
}

.rechtliches-heading {
	text-transform: uppercase;
    color: var(--ci-blau);
    letter-spacing: 0.15rem;
}


@media only screen and (max-width: 425px) {
	.ds-paragraph + ul li a {
		word-wrap: break-word;
	}
}

/* SEO MENU */
.menu-seo-seitenleiste-container{
	position: fixed !important;
	left: 0 !important;
	top: 50% !important;
	width: 200px !important;
	z-index: 9999999999999999;
	transform: translateY(-50%);
}

*[id^="menu-seo-seitenleiste"]{
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

*[id^="menu-seo-seitenleiste"] > li{
	height: 44px !important;
	background-color: #fff !important;
	margin: 0px 0px 2px 0px !important;
	list-style: none !important;
	border: 1px solid var(--ci-blau);
}

*[id^="menu-seo-seitenleiste"] > li:last-child{
	margin-bottom: 0px !important;
}

*[id^="menu-seo-seitenleiste"] > li > a{
	width: 100% !important;
	height: 100% !important;
	float: left !important;
	color: var(--ci-blau) !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	box-sizing: border-box!important;
	width: 100% !important;
	height: 100% !important;
	float: left !important;
	padding: 9px 0px 9px 18px !important;
	font-size: 12px !important;
	line-height: 0 !important;
}

*[id^="menu-seo-seitenleiste"] > li > a:hover{
	color: var(--ci-blau) !important;
}

@media only screen and (max-width: 1200px){
	.menu-seo-seitenleiste-container{
		display: none;
	}
}

/* SEO PAGES */
.seo-wrapper,
.seo-row{
	width: 100%;
}

.seo-wrapper{
	max-width: 1300px;
	margin: auto;
}

.seo-row{
	display: flex;
	margin-bottom: 80px;
}

.seo-row:last-child{
	margin-bottom: 0px;
}

.seo-column{
	width: 50%;
	max-height: 100%;
	float: left;
	flex: 1;
	position: relative;
}

.seo-image-inner-left{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80%;
    position: absolute;
	right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.seo-image-inner-right{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80%;
    position: absolute;
	left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.seo-text{
	background-color: transparent;
	border: 1px solid var(--ci-blau);
}

.seo-text-inner > h3{
	color: var(--ci-blau) !important;
}

.seo-text-inner,
.seo-text-inner > p{
	color: #000 !important;
}

.seo-text-inner a {
    color: var(--ci-blau);
    text-decoration: underline;
}
.seo-text-inner a:hover {
    color: var(--ci-blau);
}

.seo-text-inner,
.seo-text-inner > p{
	font-size: 16px !important;
	line-height: 24px !important;
}

.seo-text-inner > h3{
	font-size: 26px !important;
	line-height: 30px !important;
	margin: 0px 0px 14px 0px !important;
}

.seo-text-inner{
	padding: 60px;
	box-sizing: border-box;
}

@media only screen and (max-width: 1200px){	
	.seo-row{
		flex-direction: column;
		margin-bottom: 40px;
	}
	
	.seo-column{
		width: 100%;
		min-height: 400px;
		flex: 0 0 100%;
	}
	
	.seo-row:nth-child(odd) > .seo-column:first-child{
		order: 2;
	}
	
	.seo-row:nth-child(odd) > .seo-column:last-child{
		order: 1;
	}
	
	.seo-text-inner{
		padding: 32px;
	}
	
	.seo-image-inner-left{
		height: 100%;
	}
	
	.seo-text-inner > h3{
		font-size: 24px !important;
	}
	
	.seo-text-inner,
	.seo-text-inner > p{
		font-size: 14px !important;
		line-height: 20px !important;
	}
}

/* MOBILOPTIMIERUNG */
/* Mobile Menu */
@media only screen and (max-width: 576px) {
	.site--menu.active .pe--button.pb--background .pe--button--wrapper a {
		background: var(--secondaryBackground);
	}
	.site--menu.active > div > div > div > .e-con-inner {
		justify-content: flex-start;
	}
}
/* Footer */
@media only screen and (max-width: 375px) {
	body .footer-logo img {
    	max-width: 310px;
	}
}
@media only screen and (max-width: 768px) {
	.vier-bilder-wrapper {
    	flex-direction: column;
	}
	.vier-bilder-wrapper .bild-column {
    	width: 100%;
	}
	/*
	.workshops-e4 .ebene-1 {
		opacity: 1 !important;
		transform: unset !important;
	}
	*/
	/*
	.workshops-e4 {
    	translate: none !important;
    	rotate: none !important;
    	scale: none !important;
    	inset: unset !important;
    	margin: 0px;
    	max-width: unset !important;
    	max-height: unset !important;
    	height: unset !important;
    	padding: 0px;
    	transform: unset !important;
	}
	*/
	body .workshops-e4 {
		position: unset !important;
		margin-top: 60px;
	}
	body .workshops-e4 .ebene-1 {
		justify-content: flex-start;
	}
	body .workshops-e4 .ebene-1 .text-h1 {
		margin-top: 15px;
		margin-bottom: -25px;
	}
	body .workshops-e4-pin-spacer-parent {
		padding-bottom: 0 !important;
		height: 100% !important;
	}
}
/* Rechtliches */
@media only screen and (max-width: 425px) {
	.rechtliches-title h2 {
		font-size: 2.157rem !important;
	}
	.uebermich-e1 {
		justify-content: flex-start !important;
	}
	.uebermich-e1 .no-empty-space > .elementor-element:first-child {
		display: none;
	}
	.uebermich-e1 .no-empty-space > .elementor-element:nth-child(2) {
		margin-top: -20px;
	}
}

/* Video Fix */
body .plyr__video-wrapper.plyr__video-embed {
	height: 100% !important;
	width: 100% !important;
}
/* Lightbox-Styling */
.wplightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.wplightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 10px;
}
/* Envira Gallery */
.envira-gallery-wrap .envira-gallery-item .envira-gallery-link .envira-lazy {
border-radius: 20px !important;
}
.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img {
    transition: all .4s ease-in-out !important;
}
.envira-gallery-link:hover .envira-gallery-image {
  transform: scale(1.1);
}