/* Überschreibungen UCH die ich später hier raus übernehme in die einzelnen CSS Dateien  */


/* Noch nicht fertig, für Tablets will ich die Größe noch anpassen  */
@media only screen and (max-width:479px){
}


/* Bild in Teasern vollflächig  */



/* Eingabefelder nicht in grau  */
.cart-warning{
	background: #f1f2f5;
    padding: 10px;
    margin-bottom: 15px;
    border: 5px solid #06294f;
    padding-bottom: 0;
}
/*June 2025 work*/
.formbody .wrap {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 30px;
    background-color: #f3f3f6;
}
.formbody .wrap input{
	padding-left: 25px;
    background: transparent;
    border: 0px;
    width: -moz-available;       /* Firefox */
	width: -webkit-fill-available; /* Safari/Chrome */
	width: fill-available;  
}
.formbody .wrap select{
	max-width: max-content;
    background: transparent;
    border: 0px;
    outline: 0px;
    margin: 5px;
}
.formbody .wrap button{
	border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
}

/*changelanguage*/
#sprachumschalter{
	position: absolute;
    right: 0px;
    top: 5px;
    text-align: right;
    display: inline-block;
}
.mod_changelanguage .flag-wrapper {
	position: relative;
	display: inline-block;
}

.mod_changelanguage .active-flag ul,
.mod_changelanguage .other-flags ul {
	list-style: none;
	margin: 0;
	padding: 0;
	padding:5px;
}
.mod_changelanguage .active-flag ul{
	background-color:#ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
}
.mod_changelanguage ul li{
	display:flex;
}

/* Flag background images */
.mod_changelanguage .bg-image{
	display:inline-block;
	width: 20px;
	height: 15px;
    margin-top: 1px;
    margin-right: 6px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.mod_changelanguage .bg-image.lang-de     { background-image: url('../../../../files/emmett/themes/img/laender/de.png'); }
.mod_changelanguage .bg-image.lang-de_at  { background-image: url('../../../../files/emmett/themes/img/laender/at.png'); }
.mod_changelanguage .bg-image.lang-de_ch  { background-image: url('../../../../files/emmett/themes/img/laender/ch.png'); }

/* Hide span and anchor text completely */
.mod_changelanguage li span,
.mod_changelanguage li a {
	display: flex;
	align-items:center;
	justify-content:space-between;
	background-image:none !important;
}

/* Dropdown: hide other flags initially */
.mod_changelanguage .other-flags {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 999;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	margin-top:2px;
}


/* Show flags on hover */
.mod_changelanguage .flag-wrapper:hover .other-flags {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.search-toggler{
	display: none;
    align-items: center;
    justify-content: center;
    width: fit-content;
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
}
#topnavi .search-toggler{
	display:flex;
}
#topnavi{
	position:relative;
}
.mod_search{
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00000070;
    opacity:0;
    z-index:-99999;
    transition:all 0.3s ease-in-out;
}
.mod_search.active{
	opacity:1;
    z-index:99999;
}
.mod_search form{
	min-width:80%;
	max-width:80%;
	position:relative;
}
.mod_search .formbody{
	display: flex;
    justify-content: center;
    align-items: center;
}
.mod_search .search-from-wrapper{
	width: 100%;
    display: flex;
    justify-content: center;
}
.mod_search .formbody .wrap{
	width: 100%;
}
.mod_search .formbody .wrap form{
	position:relative;
}
.mod_search .close-search{
	display: inline-block;
    position:absolute;
    top:-50px;
    right:0;
}
.mod_search #search-results{
	position: absolute;
    background: #fff;
    width: 100%;
    border-radius: 0px;
    top: 75px;
    max-height: 30vh;
    overflow-y: scroll;
}
.mod_search #search-results div:hover{
	background-color:#f3f3f6;
}
.mod_search #search-results .selected{
	background-color:#f3f3f6;
}
.mod_search #search-results a, .mod_search #search-results span{
	color:#000;
	padding: 2px 20px;
    display: block;
    text-decoration: none;
    font-weight: 500;
    margin-left: 15px;
}
.mod_search #search-results div:first-child a{
	padding-top:10px;
}
.body-scroll-none{
	height:100vh;
    overflow: hidden;
}

@media only screen and (max-width: 1024px){
	#sprachumschalter {
        right: 75px;
        top: 12px;
        z-index: 50;
        bottom: 0;
    }
    #topnavi .search-toggler{
    	top: -5px;
        right: 90px;
    }
    #header .menu-collapser {
        position: absolute;
        top: -8px;
        right: 20px;
        z-index: 50;
    }
}
@media only screen and (max-width: 568px) {
    #sprachumschalter {
        right: 75px;
        top: 12px;
        z-index: 50;
        bottom: 0;
    }
    #topnavi .search-toggler{
    	top: -32px;
        right: 90px;
    }
    #header .menu-collapser {
        position: absolute;
        top: -17px;
        right: 20px;
        z-index: 50;
    }
}
#search-results-block .result-item a, #search-results-block #search-results span{
	font-weight: 500;
    padding: 5px 10px 0px 35px;
    text-decoration: none;
    display: block;
    color:#000;
}
#search-results-block .result-item a:hover{
	background:#f3f3f6;
	color:#06294f;
}
#search-results-block div#search-results {
    margin-top: 13px;
}
.workshop-box{
	background-color: #06294F;
	text-align: center;
	color: white;
}
.workshop-box h2, .workshop-box p, .workshop-box h4, .workshop-box small{
	color: white;
	font-weight: 400;
}
.workshop-box .innen {
    padding: 10px;
}
.workshop-box .headlines {
	padding: 10px;
    min-height: 180px;
    margin-top: 40px;
}
/*Filter*/
.multiselect-dropdown label input{
    width: auto;
}
.filter-criterias__item{
    display: flex;
    justify-content: space-between;
}
.filter-criterias__item__title, .multiselect-dropdown label{
    color: #06294F;
}
/* Dropdown button */
.multiselect-button {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    cursor: pointer;
    background-color: #fff;
    color: #06294F;
    text-align: left;
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 50px;
}

/* Dropdown content */

.multiselect-container{
    position: relative;
    width: 31.5%;
    margin-bottom: 20px;
}
.multiselect-dropdown {
    display: none;
    position: absolute;
    width: 95% ;
    left: 2%;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.multiselect-button::after{
    content: url('../img/arrow_down_emmett.svg');
    position: absolute;
    right: 20px;
    top: 14px;
    pointer-events: none;
    transition:all 0.3s ease-in-out;
}
.multiselect-container.active .multiselect-button::after{
    transform: rotateX(180deg);
    top:7px;
}
/* Checkbox label */
.multiselect-dropdown label {
    display: block;
    padding: 8px;
    cursor: pointer;
}

/* Style for checkboxes */
.multiselect-dropdown input[type="checkbox"] {
    margin-right: 8px;
}

/* Highlight option when hovered */
.multiselect-dropdown label:hover {
    background-color: #f1f1f1;
}

/* Show dropdown when active */
.multiselect-container.active .multiselect-dropdown {
    display: block;
}
@media only screen and (max-width: 768px) {
    .multiselect-container{
        width: 50%;
        margin-bottom: 20px;
    }
}
@media (min-width: 600px) and (max-width: 900px){
    .rs-column{
        margin-top: 2.0% !important;
    }
}
.rs-column{
    margin-top: 3.0% !important;
}
#kontaktForm {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    font-family: sans-serif;
    line-height: 1.4;
}

#kontaktForm .form-group {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
}
#kontaktForm .form-group.w-33{
	flex: 1 1 calc(33% - 10px);
}

#kontaktForm .form-group label {
    margin-bottom: 6px;
    font-size: 14px;
}

#kontaktForm .form-group input[type="text"],
#kontaktForm .form-group input[type="email"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

#kontaktForm .full-width {
    flex: 1 1 100%;
}

#kontaktForm .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

#kontaktForm .checkbox-group input[type="checkbox"] {
    margin-top: 3px;
}

#kontaktForm button[type="submit"] {
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

/* Mobile view: single column */
@media (max-width: 600px) {
    #kontaktForm .form-group {
        flex: 1 1 100%;
    }
    #kontaktForm .form-group.w-33{
		flex: 1 1 100%;
	}
}
input[disabled] {
    cursor: default;
    background: #80808052;
}
.video_container {
  display: flex;
  justify-content: center;
  padding-bottom:2%;
}
.video_container video {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#bank-details-container fieldset .form-group {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

  /* Popup container */
#infopopup {
      position: fixed;
      bottom: -200px; /* hidden initially */
      right: 20px;
      width: 400px;
      padding: 20px;
      background: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      z-index: 9999;
      opacity: 0; /* start invisible */
      transition: bottom 0.5s ease, opacity 0.5s ease;
  }

  /* Show popup */
  #infopopup.show {
      bottom: 20px;
      opacity: 1;
  }

  /* Close button inside popup */
  #infopopup button {
      color: black !important;
      font-size: 14px;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      border-radius: 4px;
      float: right;
  }

  /* Reopen button */
  #reopenBtn {
      position: fixed;
      bottom: -25px; /* half hidden below screen */
      right: 20px;
      padding: 0 8px;
      width: 140px;
      height: 50px;
      background: #06294f;
      color: white;
      border: none;
      border-radius: 6px 6px 0 0;
      cursor: pointer;
      display: none;
      z-index: 9999;
      line-height: 50px;
      text-align: center;
      transition: bottom 0.3s ease, opacity 0.3s ease;
      opacity: 0.8;
  }

  /* Slide up on hover */
  #reopenBtn:hover {
      bottom: 0; /* flush with screen bottom */
      opacity: 1;
  }

  /* Mobile view: bottom center popup */
  @media (max-width: 600px) {
      #infopopup {
          right: auto;
          left: 50%;
          transform: translateX(-50%);
          width: 90%;
          max-width: 300px;
      }

      #reopenBtn {
          right: 50%;
          left: auto;
          transform: translateX(50%);
      }
  }