/*
Theme Name: c7-child of tt5
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: c7-child-of-tt5
Tags: 
*/










@keyframes berge-drehen {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.fab-wechsel {
  transform: translateZ(0) ;
  will-change: filter ;
  animation: berge-drehen 8s linear infinite;
}




/* ------------------------ */

/* MENU */



.header-hamburger-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 24px;
  
}


.hamburger {
  position: relative; 
  top: -115px;
  right: 20px;
  z-index: 1100; /* Sehr hoch, damit immer anklickbar */
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  background-color: #BF3217;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  /*transition: all 0.5s cubic-bezier(.4,2,.6,1);*/
  transition: all ease .3s;
}

/* Hamburger zu X animieren */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}




/* Menü-Container */

nav.header-menu-list {
  position: relative;
  z-index: 1000;
  width: 400px;
  background: #f7f7f6;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  /*  padding: darf hier nicht sein, denn sonnst ruckelt das Menü beim Schließen */
}

nav.header-menu-list ul {
  list-style: none;
  margin: 0;
  padding: 24px 0 12px 20px;
}
nav.header-menu-list li {
  display: block;
  width: 90%;
  border-bottom: 1px solid #ccc;
}
nav.header-menu-list li a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
}

/* E-Mail-Button im Dropdowb-Menü */
.email-menu-button {
	margin:22px 0 0 20px !important;
}


/*-------------*/





/* Galerie */



.wp-block-image {
	background-color: transparent !important;

	}	

 .corporate-gallery  {
	gap: 8px !important;

	} 

 .corporate-gallery .wp-block-image {
	box-shadow: 0px 0px 10px #ddd!important;
	background-color: #fff !important;

	}	
	
	


 .c7-gallery .wp-block-image {
	box-shadow: 3px 3px 8px #ddd!important;
	background-color: #fff !important;

	}	
	
@media (max-width: 600px) {
  .corporate-gallery .wp-block-image {
	max-width: 33.33% !important;
	width: calc(33.33% - 12px) !important;
	
	}



}






/* Lightbox */

#custom-lightbox {
	display: none;
	position: fixed;
	z-index: 999991;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	text-align: center;
}

.lightbox-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 999992;
	text-align: center;
	width: 100%;
	max-width: 70vh;
	height: auto;
	max-height: 94vh;
	overflow: hidden;
}

.lightbox-image {
	max-width: 100%;
	max-height: calc(94vh - 20px);
	/* 20px für den Padding-Wert */
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	z-index: 999993;
	border-radius: 0!important;
	margin: 0px!important;
}

.close-lightbox {
	width: 34px;
	height: 39px;
	color: #444;
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 36px;
	background-color: #fff;
	border: 0 solid #444;
	border-radius: 50% 0 4px 50%;
	padding: 0 0 0 3px;
	cursor: pointer;
	text-align: center;
	/* Horizontal zentrieren */
	line-height: 35px;
	/* Vertikal zentrieren */
	box-shadow: 0 0 5px #888;
	z-index: 999994;
}

.prev-image {
	position: relative;
	width: 30px;
	height: 40px;
	color: #333;
	float: left;
	margin-top: -65%;
	left: 0px;
	font-size: 40px;
	background-color: #fff;
	border: none;
	border-radius: 0px 50% 50% 0px;
	box-shadow: 0 0 5px #888;
	padding: 0 3px 0 0;
	cursor: pointer;
	text-align: center;
	line-height: 32px;
	/* Vertikal zentrieren */
	border: 0 solid #ddd;
	z-index: 999995;
}

.next-image {
	position: relative;
	width: 30px;
	height: 40px;
	color: #333;
	float: right;
	margin-top: -65%;
	right: 0px;
	font-size: 40px;
	background-color: #fff;
	border: none;
	border-radius: 50% 0 0 50%;
	padding: 0 0 0 3px;
	cursor: pointer;
	text-align: center;
	line-height: 32px;
	/* Vertikal zentrieren */
		z-index: 999995!important;
	box-shadow: 0 0 5px #888;
}

.prev-image:hover, .next-image:hover {
	background-color: #e8e8e8;
	color: #000;
}

.prev-image:active, .prev-image:focus, .next-image:active, .next-image:focus {
	background-color: #ccc;
	color: #333;
}

.close-lightbox:hover {
	background-color: #e8e8e8;
	color: #000;
}

.lightbox-caption {
	display: none;
	/* Bildunterschrift nicht anzeigen */
}



hr, hr.wp-block-separator{
	border: 0;
    height: 1px;
		background-color:#fff;
	border-bottom: 1px solid #966b15 !important;
	border-image: linear-gradient(to right, #fff, #966b15, #fff) 1;
	width:90%;

}




