/* eigene Styles */
.mg-nav-gradient {
color:#fff;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e00460+0,8f0222+44,b20085+100 */
background: #e00460; /* Old browsers */
background: -moz-linear-gradient(45deg,  #e00460 0%, #8f0222 44%, #b20085 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  #e00460 0%,#8f0222 44%,#b20085 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  #e00460 0%,#8f0222 44%,#b20085 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e00460', endColorstr='#b20085',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.mg-nodeco {
	text-decoration:none;
}

.mg-grey {
	background: #f5f5f5 !important;
}

.margin0 {
	margin: 0;
}

.nowrap {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt0 {
	margin-top:0px;
}

.mt {
	margin-top:32px;
}

.mt15 {
	margin-top:15px;
}

.bold {
	font-weight:900;
}

.lh1 {
	line-height:1.2;
}

.mg-section {
	margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.event-detail-title {
	margin-top: 0px;
	line-height: 1;
}

/* Allgemein: auf kleinen Screens Abstand nach unten zwischen den Spalten */
.fn8-row-equal .w3-col {
  margin-bottom: 16px; /* Abstand zwischen den Cards, wenn sie untereinander stehen */
}

/* Ab Desktop-Breite (W3.CSS: 993px) gleich hohe Cards in einer Reihe */
@media (min-width: 993px) {
  .fn8-row-equal {
    display: flex;
  }

  .fn8-row-equal > .w3-col {
    display: flex;
    margin-bottom: 0; /* Kein zusätzlicher Abstand mehr nötig, sie stehen nebeneinander */
  }

  .fn8-row-equal .fn8-card {
    flex: 1; /* Card füllt die Spaltenhöhe komplett aus → alle gleich hoch */
  }
}


/* Form Styling */
.w3-input, .w3-select {
  padding: 8px;
  height: 41px; /* Höhe anpassen */
  border: 1px solid #ccc;
  border-radius: 0px;
  font-size: 15px;
  box-sizing: border-box;
  appearance: none; /* für Chrome/Firefox */
  -webkit-appearance: none; /* für Safari */
  background-color: white;
}

/* Pfeil in Select sichtbar lassen */
.w3-select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px 15px;
  padding-right: 40px;
}

input, select, textarea {
  font-family: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}

/* W3 Überschreibungen */
html,body,h1,h2,h3,h4,h5 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

a.textlink {
	text-decoration: none;
	font-weight: bold;
	color: #e91e63;
}
a:hover.textlink {
	color: #a91143;
}

.footerlinks a {
	text-decoration: none;
	color: #333;
}
.footerlinks a:hover {
	color: #a91143;
}

.w3-row-padding img {margin-bottom: 12px}

/* Set the width of the sidebar to 120px */
.w3-sidebar {width: 120px;}

/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
#main {margin-left: 120px;}
#content { min-height: calc(100vh - 87px); }

/* Remove margins from "page content" on small screens */
@media only screen and (max-width: 600px) {
	#main {margin-left: 0}
}

.w3-auto{
	max-width: 1250px;
}

@media (min-width:993px){.w3-modal-content{width:600px}}

.dz-error-message {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    /* Optional: Abstand nach unten, damit er den Link nicht überlappt */
    margin-top: 25px;
}

.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.equal-height > .w3-col {
    display: flex;
    flex-direction: column;
}

/* Seitenspezifische Styles */
div.event-image{
	height: 180px;
	overflow: hidden;
	background: #f1f1f1;
	position: relative;
}
img.event-image{
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transform: scale(1);
	margin-bottom: 0 !important;
}

.event-badge{
	position: absolute;
	right:0;
	top:0;
	display: inline-block;
	padding: 0 5px;
	text-align:center;
}

div.event-detail-image{
	overflow: hidden;
	max-height: 1000px;
	background: #f1f1f1;
	position: relative;
}
img.event-detail-image{
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transform: scale(1);
	margin-bottom: 0px !important;
}

div.event-flag-bar {
	padding: 8px;
}

.event-flag-bar p {
	margin: 0px;
}

/* OnTour */

.ontour-bar h3 {
	padding: 0px !important;
}
.ontour-bar button {
	margin: 10px 0 !important;
}
.ontour-date {
	width: 170px !important;
}

/* Marktplatz Bilder */
div.mp-image{
	height: 315px;
	width:411px;
	overflow: hidden;
	background: #f1f1f1;
	position: relative;
}
img.mp-image{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	position:absolute;
	display:block;
	top:0;
	left:0;
}

.mp-padding {
	padding: 28px;
}

.mp-key {
	width: 60px;
	display: inline-block;
	
}

/* Glider */
.glider-contain {
    position: relative;
    width: 100%;
    height: 315px; /* Feste Höhe */
    overflow: hidden; /* Verhindert überlaufende Bilder */
    background: #f5f5f5;
}

.glider-track {
    display: flex;
    align-items: ;
    height: 100%;
}

.glider-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
	overflow: hidden;
}

/* Glider Steuerelemente */
.glider-contain .glider-prev,
.glider-contain .glider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    z-index: 10;
    font-size: 30px;
    width: 48px;
    height: 48px;
    opacity: 0; /* Unsichtbar außerhalb des Sliders */
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .7));
    transition: all 0.2s ease;
}

/* Links & Rechts Position */
.glider-prev { left: 0px; }
.glider-next { right: 0px; }

/* Steuerelemente erscheinen mit Opacity 0.7, wenn die Maus über den Slider geht */
.glider-contain:hover .glider-prev,
.glider-contain:hover .glider-next {
    opacity: 0.8;
}

/* Opacity 1, wenn die Maus direkt über dem Button ist */
.glider-contain:hover .glider-prev:hover,
.glider-contain:hover .glider-next:hover {
    opacity: 1;
	font-size: 33px;
}


/* Glider: Anzeige des aktuellen Bilds (1/6) */
.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}

/* Marktplatz Detail Bilder */
/* Swiper Container */
.swiper {
    width: 100%;
    height: 500px; /* Fixe Höhe */
    overflow: hidden;
}

/* Jedes Slide soll exakt die Breite des Bildes haben */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px; /* Höhe fix */
    width: auto !important; /* Dynamische Breite */
}

/* Bilder: Immer 480px hoch, Breite automatisch */
.swiper-slide img {
    height: 100%;
    width: auto;
    display: block;
}


/* Dropzone Multi */
.dz-size {
	color: white;
}
.dropzone .dz-preview .dz-details {
	top: 20%;
}

.dropzone .dz-preview .dz-image img {
	width:100%;
}

#dz-multi {
	& > button {
		z-index: 10;
		width: 30px;
		height: 30px;
		padding: 5px;
		top: -10px;
	}
}
.dz-remove-btn {
	right:-10px;
}
.dz-move-btn {
	left:-10px;
}

/* Partnerangebote */
div.partner-image{
	height: 180px;
	overflow: hidden;
	background: #f1f1f1;
	position: relative;
}
img.partner-image{
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1;
	transform: scale(1);
	margin-bottom: 0 !important;
}
.partnercat{
}
.partnertitle{
	font-size:24px;
	font-weight:600;
	margin:0;
}
.partnerdesc{
	height: 150px;
	display: -webkit-box;
  	-webkit-line-clamp: 6;
  	-webkit-box-orient: vertical;  
  	overflow: hidden;
}
.premium-star{
	position: absolute;
	right:15px;
	top:15px;
	display: inline-block;
	text-align:center;
}
.adbanner img {
  max-width: 100%;
  height: auto;
}
