/* main stylesheet for the Losanioti-theme*/

@font-face {
	font-family: Roboto;
	src: url("\font/Roboto/Roboto-Regular.ttf") format('ttf');
}

:root{
	--primary: #92c248;
	--secondary: #1d847f;
	--tertiary: #dfeac6;
	--secondaryTr: rgba( 3, 3, 4, 0.5);
	--radius: 0px;
}


/*  -------------------------------------------------------------------------------------------------------------------------------------------------------*/

body{
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: black;
	overflow-x: hidden;
	min-height: 100vh;
	background-color: white;
}

footer{
	position: relative;
	bottom: 0;
}

doctype{
	min-height: 100vh;
}

a{
	text-decoration: none;
	color: black;
	transition: all 180ms ease 0s;
	font-weight: bold;
}

a:hover{
	color: var(--primary);
}

/* Header  -------------------------------------------------------------------------------------------------------------------------------------------------------*/

header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 999;
	background-color: white;

}

header .navigation{
	width: 100%;
	display: block;
}

/* Logo */

header #uid-logo{
	width: 100%;
	padding: 0.4vh;
	transition-delay: 0ms;
	transform: translateX(-50%);
	position: relative;
	left: 50%;
	display: flex;
	justify-content: center;
	border-bottom: solid 3px var(--primary);
	z-index: 1;
  background-color: transparent;
}

header #uid-logo a{
	max-height: 9vh;
	height: 65px;
	transform: translateY(0);
}

header #uid-logo a img{
	display: block;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
}

@media screen and (max-width: 991px) {
	.navigation.container-lg{
		padding: 0;
	}
	
	/* Sicherstellen, dass nur das Logo die border-bottom hat */
	header #header-navigation-bar{
		border-bottom: none !important;
	}
}


/* Mobile Menu ------------------------------------------------------------------ */


/* Burger/Nav-Button */

header #nav-burger{
	display: block;
	position: fixed;
	right: 7vw;
	top: 5vh;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2;
}

header #nav-burger div {
    width: 30px;
    height: 4px;
	  border-radius: 2px;
    background-color: black;
    margin: 5px;
    transition: all 0.3s ease;
}

header #nav-burger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 8px);
}

header #nav-burger.active .line2 {
    opacity: 0;
}

header #nav-burger.active .line3 {
    transform: rotate(45deg) translate(-5px, -8px);
}


/* Sliding bit */

header #header-navigation-bar{
	height: 100vh;
	width: 100vw;
	position: fixed;
	left: 0vh;
	top: 0vh;
	border-bottom: none;
	transform: translateY(-100%);
	transition: 300ms;
	background-color: rgba(255, 255, 255, 0.8);
}
@media  screen and (max-width: 991px) {
	@supports (backdrop-filter: blur(15px)) {

		header #header-navigation-bar{
			backdrop-filter: blur(15px);
			background-color: rgba(255, 255, 255, 0.4);
		}

		.blur{
			backdrop-filter: blur(15px);
		}
	}
}
header #header-navigation-bar.active{
	transform: translateY(0);
}


/* Menu Items */

header #header-navigation-bar .menu-nav-bar-container{
	height: 100%;
	padding-top: 10vh;
}

header #header-navigation-bar .menu-nav-bar-container ul{
	height: 100%;
	position: relative;
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

header #header-navigation-bar .menu-nav-bar-container ul li{
	padding: 0;
	margin: 0;
}

header #header-navigation-bar .menu-nav-bar-container ul li a{
	font-size: 1.5em;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 600;
	color: black;
	transition: 250ms;
	padding: 1vh;
	margin: 0;
	display: block;
	width: 80vw;
	text-align: center;
	border-bottom: 1px solid var(--secondary);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Making sure the menu doesn't cover the content */

.content{
	padding-top: calc(0.8vh + min(65px, 9vh));
}


/* Desktop menu -------------------------------------------------------*/

@media screen and (min-width: 992px) {

	/* Header */

	header{
		height: max(6vh, 50px);
		transition: 250ms;
		transition-delay: 500ms;
		box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.7);
	}

	header .navigation{
		height: 100%;
		display: flex;
		justify-content: space-between;
	}

	/* Logo */

	header #uid-logo{
		height: 100%;
		width: 33%;
		left: 0;
		transform: translate(0px);
		align-content: center;
		padding: 7px 10px 7px 10px;
		transition: 250ms;
		transition-delay: 500ms;
		display: block;
		border: none;
	}

  header #uid-logo a{
    height: 65px;
  }

	header #header-navigation-bar{
		position: relative;
		width: 75%;
		top: 0%;
		transform: translate(0px, 0%);
		border: none;
		left: 0;
		background-color: transparent;
		height: auto;
	}

	header #header-navigation-bar .menu-nav-bar-container{
		padding: 0;
	}

	header #header-navigation-bar .menu-nav-bar-container ul{
		height: inherit;
		flex-direction: row;
		justify-content: space-around;
		align-items: baseline;
	}

	header #header-navigation-bar .menu-nav-bar-container ul{
		height: 100%;
	}

	header #header-navigation-bar .menu-nav-bar-container ul li{
		height: 100%;
		opacity: 1;
	}

	header #header-navigation-bar .menu-nav-bar-container ul li a{
		margin: 0;
		height: 100%;
		display: flex;
		align-items: center;
		width: auto;
		border: none;
	}

	header #header-navigation-bar .menu-nav-bar-container ul li a{
		font-size: 1.2em;
		padding: 0 0 5 0;
		color: black;
	}

	header #header-navigation-bar .menu-nav-bar-container ul li a:hover{
		color: var(--primary);
	}

	header #header-navigation-bar .menu-nav-bar-container ul li.current-menu-item a, header #header-navigation-bar .menu-nav-bar-container ul li.current_page_parent a{
		border-left: none;
		border-bottom: 4px solid var(--primary);
		padding: 0 0 2 0;
	}

	/* Burger */

	header #nav-burger{
		display: none;
	}

	/* Making sure the menu doesn't cover the content */

	.content{
		padding-top: max(6vh, 50px);
	}

}

@media screen and (min-width: 1200px) {
	header #header-navigation-bar{
		width: 70%;
  }

	header #header-navigation-bar .menu-nav-bar-container ul li a{
		font-size: 1.3em;
	}
}

@media screen and (min-width: 1400px) {
	header #header-navigation-bar .menu-nav-bar-container ul li a{
		font-size: 1.5em;
	}
}

/* Msg Banner ---------------------------------------------------------------------------------------------*/

.banner-eilmeldung {
  background: var(--primary);
  color: #fff;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding: 7px 20px;
  font-weight: bold;
  font-size: 1.1rem;
  position: fixed;
  top: 0;
  left: 0;
}

.banner-laufschrift {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%; /* Startpunkt außerhalb des Bildschirms */
  animation: laufschrift 15s linear infinite; /* Geschwindigkeit anpassen */
}

.banner-laufschrift span {
  font-weight: bold;
  font-size: 16px;
}

@keyframes laufschrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

#header.banner-active {
  height: 101.5px;
}

#header.banner-active .navbar {
  position: fixed;
  top: 50px; /* Höhe des Banners (z. B. 50px) */
  left: 0;
  width: 100%;
  z-index: 999; /* darunter */
} 


/* Content -------------------------------------------------------------------------------------------------------------------------------------------------------- */

.content{

	min-height: calc(100vh - 120px);  /* todo!!!! ------------------------*/
	margin-bottom: 0;
}

h1{

	font-size: 3.5em;
}

h2{

	font-size: 3em;
}

h3{

	font-size: 2.5em;
}

@media screen and (min-width: 992px) {

	.content{
		min-height: calc(100vh - 100px)
	}
}

/* Frontpage  -------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* Landing Page */

.content .landing-page{
	height: 90vh;
	width: 100%;
	overflow: hidden;
}

.content .landing-page .landing-page-img{
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.content .landing-page #scroll-button .down-arrow{
	position: absolute;
	bottom: 0.5em;
	transform: translateX(-50%);
	left: 50%;
	font-size: 2em;
	z-index: 2;
	color: white;
	opacity: 0.5;
}

/* Text Box */

.content .landing-page .text-box{
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: var(--secondaryTr);
	color: white;
	display: flex;
	align-items: baseline;
	flex-direction: column;
	padding: 0 1em 3.5em 1em;
}

.content .landing-page .text-box h3{
	max-width: 516px;
	width: 100%;
}

.content .landing-page .text-box p{
	max-width: 516px;
}

.text-box .contact-button{
	max-width: 516;
	width: 100%;
	display: flex;
}

.contact-button{
	margin: 0;
	height: 40px;
	justify-content: center;
	align-items: center;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1.2em;
	transition: 250ms;
	font-weight: 400;
	background-color: var(--primary);
}

.contact-button:hover{
	color: white;
	background-color: var(--secondary);
}

/* halves */

.custom-row{
	margin: 0;
}

.custom-col{
	padding: 0 2em;
	margin: 1em 0;
	height: 100%;
}

/* footnote */

.centered{
	text-align: center;
}

.footnote{
	align-items: center;
	margin-bottom: 1.5em;
	display: flex;
	flex-direction: column;
}

.footnote .contact-button{
	display: inline-block;
	padding: 5 15;
}

/* Safari only */

@media not all and (min-resolution:.001dpcm) {
     @supports (-webkit-appearance:none) {

		 .custom-col{
			 height: auto;
		 }

     }
}

.custom-col p{
	font-size: 1em;

}

.col-image{
	max-height: 40vh;

	width: 100%;
	object-fit: cover;
}

.custom-col.hidden{
	display: none;
}

.text-col{
	height: min-content;
}

/* Accordion --------------------------------------------------------------------------------------------------------------------------------------*/

.accordion{
  margin-bottom: 2em;
  padding: 0 1em;
}

.accordion-item {
  border: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  font-size: 1.2rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
  border-top: 2px solid var(--primary);
  color: black !important;
  text-decoration: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.accordion-header div {
  text-align: start;
}

.accordion-first-item .accordion-header{
  border-top: none;
}

.accordion-content {
  height: 0;
  display: block;
  padding: 0 1em;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}
.accordion-item.active .accordion-content {
  padding: 0 1rem 1rem;
  height: auto;
}

.accordion-arrow{
  transition: transform 0.2s ease;
}
.accordion-item.active .accordion-arrow {
  transform: rotate(90deg);
}

/* Safari-spezifische Fixes für Button-Styles */
.accordion-header:focus,
.accordion-header:active,
.accordion-header:hover {
  color: black !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Safari-spezifische Media Query */
@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
    .accordion-header {
      -webkit-appearance: none !important;
      appearance: none !important;
      color: black !important;
      background-color: transparent !important;
      border: none !important;
      border-top: 2px solid var(--primary) !important;
    }
    
    .accordion-header:focus,
    .accordion-header:active,
    .accordion-header:hover {
      color: black !important;
      background-color: transparent !important;
      border: none !important;
      border-top: 2px solid var(--primary) !important;
    }
  }
}


/* Team Page --------------------------------------------------------------------------------------------------------------------------------------*/

#row-team{
	max-height: 500px;
}

.team.custom-row{
	justify-content: center;
}

.team .team-member{
	text-align: center;
}

.team .team-member .img{
	overflow: hidden;
}

.team .team-member img{
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: 300ms;
	transform: scale(1);
}

.team-member h3{
	font-size: 2em;
	padding-top: 0.3em;
}

@media screen and (max-width: 768px){

	.team-member{
		width: 50%;
	}

	.custom-col{
		padding: 0 2vw;
	}
}

/* Contact form -------------------------------------------------------------------------------------------------------------------------------------------*/

#contact-form .form-space{
	margin-bottom: 1em;
	color: var(--secondary);
	border: solid 3px var(--secondary);
	border-radius: var(--radius);
	box-shadow: none;
	transition: 250ms;
}

.wpcf7-not-valid-tip{
	margin-top: -1em;
	color: var(--primary) !important;
}

.wpcf7-response-output{
	display: none;
}

#dsgvo-checkbox input:checked{
	background-color: var(--primary);
}

#contact-form .form-space:focus{
	box-shadow: none;
	border: solid 3px var(--primary);
}

#contact-form #text-form{
	height: 150px;
}

#contact-form .send-button{
	background-color: transparent;
	border: 3px solid var(--primary);
	color: var(--primary);
	font-size: 1em;
	height: 40px;
	width: 150px;
	padding: 0;
	text-align: center;
	border-radius: 20px;
	margin: 0;
	text-transform: uppercase;
	transition: 250ms;
}

#contact-form .send-button.ready:hover{
	background-color: var(--primary);
	border: 3px solid var(--primary);
	color: white;
}

#contact-form .send-button.active{
	background-color: var(--primary);
	border: 3px solid var(--primary);
	color: white;
	cursor: default;
}

#contact-form .send-button .spinner{
	color: white;
	height: 1.2em;
}

#contact-form .send-button.done{
	border: 3px solid var(--bs-green);
	background-color: var(--bs-green);
	color: white;
	cursor: default;
}

#contact-form .send-button.error{
	border: 3px solid var(--bs-red);
	background-color: var(--bs-red);
	color: white;
	cursor: default;
	animation: error 300ms
}

@keyframes error{
	0%	{transform: translate(0, 0);}
	15%	{transform: translate(1em, 0);}
 	35%	{transform: translate(-1em, 0);}
 	55%	{transform: translate(1em, 0);}
 	80%	{transform: translate(-1em, 0);}
 	100%{transform: translate(0, 0);}
}

/* Anfahrt ------------------------------------------------------------------------------------------------------------------------------------------*/

#anfahrt-row{
	height: calc(100vh - (10vh + 120px + 2em));
}

#anfahrt-img{
		display: none;
	}

.maps{
	width: 100%;
	height: 100%;
	border: none;
}

/* NoScript ---------------------------------------------------------------------------------------*/

#noScript-box{
	background-color: white;
	border: solid 3px var(--primary);
	border-radius: var(--radius);
	padding: 1em;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 80%;
	max-width: 500px;
	z-index: 999;
}

/* Footer -----------------------------------------------------------------------------------------*/

footer{
	position: relative;
	bottom: 0;
	min-height: 120px;
	background-color: white;
	border-top: solid 3px var(--primary);
}

footer .footer-navigation{
	display: flex;
	flex-direction: column;
	justify-content: center;

}

/* Social Media */

footer .footer-navigation .social-media-container{
	padding: 0;
	margin: 0;
}

footer .footer-navigation .social-media-container div{
	margin: 0.3em 0 0 0;
	padding: 0;
}

footer .footer-navigation .social-media-container div .social-media{
	list-style-type: none;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	padding: 0;
	margin: 0 60 0 0;
}

footer .footer-navigation .social-media-container div .social-media li{
	width: 2em;
}

footer .footer-navigation .social-media-container div .social-media li a{
	text-align: center;
	transition: 200ms;
}


/* Footer Menu */

footer .footer-navigation .footer-menu-container div{
	margin: 0 0 1em 0;
	padding: 0;
}

footer .footer-navigation .footer-menu-container div .footer-menu{
	list-style-type: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	margin-top: 1.2em;
}

footer .footer-navigation .footer-menu-container div .footer-menu .menu-item{
	text-align: center;
	width: 8em;
}

footer .footer-navigation .footer-menu-container div .footer-menu .menu-item a{
	text-decoration: none;

	transition: 180ms;
	font-weight: bold;
}

footer .footer-navigation .footer-menu-container .footer-menu .menu-item a:hover{
	color: var(--primary);
}

/* media querys -----------------------------------------------------------------*/

@media screen and (max-width: 450px) {
  .content .landing-page .text-box p{
    margin-bottom: .4em;
    font-size: .97em;
  }

  .content .landing-page .text-box h3{
    font-size: 2.2em;
    margin-bottom: .3rem;
  }

  .contact-button{
    height: 35px;
  }

  .content .landing-page .text-box{
    padding: 0 .6em .5em .6em;
  }
}

@media screen and (min-width: 768px) {

	.content .landing-page .text-box{
		bottom: 15%;
		left: 15%;
		min-width: 320px;
		width: 18vw;
		overflow: hidden;
		padding: 1em;
		border-radius: var(--radius);
		border: none;
	}

	.content .landing-page #scroll-button .down-arrow{
		font-size: 4em;
		bottom: 16px;
	}

}

@media screen and (min-width: 992px) {

	.content .landing-page{
		height:  calc(100vh - max(6vh, 50px));
	}


	.team .team-member:hover img{
		transform: scale(1.15);
	}

	@media not all and (min-resolution:.001dpcm) {
     @supports (-webkit-appearance:none) {

		 .team .team-member:hover img{
			transform: scale(1);
		}

     }
}

	.team .team-member p{
		opacity: 0;
		transition: 200ms;
	}

	.team .team-member:hover p{
		opacity: 1;
	}

	.p-last{
		margin: 0;
	}

	.custom-col.hidden{
		display: inline;
	}

	.custom-col{
		margin: 0;
		padding: 0 1em;
	}

	.custom-row{
		margin: 3em 0;
	}

	.landing-page{
		margin-bottom: 0;
	}

	.col-image{
		height: 100%;
		max-height: 100%;
	}

	/* Stadndard Page */

	.top-page-thumbnail{
		position: absolute;
		top: max(6vh, 50px);
		left: 0;
		width: 100vw;
		height: 15vh;
		object-fit: cover;
	}

	footer{
		min-height: 80px;
		height: 80px;
	}

	/* Footer Menu */

	footer .footer-navigation .footer-menu-container div .footer-menu{
		flex-direction: row;
		justify-content: center;
	}


	/* Sotial Media */

	footer .footer-navigation .social-media-container div{
	margin: 1em 0 0 0;
	}

	footer .footer-navigation .social-media-container div .social-media li a{
		font-size: 1.4em;
	}

	#contact-form{
		margin-top: 1.5em;
	}

	#anfahrt-row{
		height: calc(100vh - (6em + max(6vh, 50px) + 100px));
	}

	#anfahrt-img{
		display: inline;
	}

	#kontakt-thumbnail{
		margin: 0 0 2em 0;
	}
}



@media screen and (min-width: 1200px) {

	.custom-col{
		padding: 0 1.5em;
	}

	#contact-form{
		width: auto;
		transform: translateX(0);
		margin: 0;
	}

	#contact-form #text-form{
		height: 150px;
	}

	#kontakt-thumbnail{
		margin: 0;
	}
}

@media screen and (min-width: 1400px) {

	.custom-col{
		padding: 0 2em;
	}


	#contact-form #text-form{
		height: 150px;
	}
}

/* Cookies ----------------------------------------------------------------------*/

#cookie-law-info-bar a{
	border-radius: var(--radius);
}

.cli-bar-popup{
	border-radius: var(--radius) !important;
}

.cli-tab-header {
    border-radius: 25px !important;
}

.cli-switch input:checked + .cli-slider {
	background-color: var(--primary) !important;
}

#wt-cli-privacy-save-btn{
	background-color: var(--primary);
	border-radius: var(--radius);
}


/*--------------------------------------------------------------------------------------------------------------------------- */

/* WordPress Core ----------------------------------------------------------------------------------------------------------- */

.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 {
    background: #fff;
    border: 1px solid #f0f0f0;
    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;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
