/*
Theme Name: Mediamacs v2023-01 Child
Theme URI: https://mediamacs.design
Author: Mediamacs.Design
Author URI: https://mediamacs.design
Description: Child theme for Mediamacs v2023-01
Template: mediamacs v2023-01
Version: 1.0
Text Domain: theme
*/

/* =========================================================
   SEARCH – STABIL & THEME-KONFORM
========================================================= */

/* Grundstil Suchfeld */
.search-form input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  outline: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.9);
  color: #ffffff;
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.search-form input::placeholder {
  color: rgba(255,255,255,0.8);
}

/* =========================================================
   MOBILE + HAMBURGER (≤ 1439px)
   Suche UNTER dem Logo, eigene Zeile
========================================================= */
@media (max-width: 1439px) {

  .header-search-desktop {
    display: none;
  }

  .header-search-mobile {
    display: block;
    width: calc(100% - 2rem);
	  margin: 0 auto;
  }
	
.header-search-mobile form input {
    margin: 0 auto;
}

  .header-search-mobile input[type="search"] {
    width: 100%;
    height: 40px;
    font-size: 16px;
  }
}

/* =========================================================
   DESKTOP (≥ 1440px)
   Suche rechts, Menüs NICHT quetschen
========================================================= */
@media (min-width: 1440px) {

  .header-search-mobile {
    display: none;
  }

  .header-container {
    position: relative;
    padding-right: 280px;
  }

  .header-search-desktop {
    position: absolute;
    right: 24px;
    top: 37%;
    transform: translateY(-37%);
    width: 220px;
  }

  /* MAIN MENU */
  #navigation-header {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    white-space: nowrap;
	  margin-left: 20px;
  }

  /* SUB MENU (OBERE ZEILE) */
  #navigation-subheader {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    white-space: nowrap;
	  margin-left: 20px;
  }
	.wpml-ls-legacy-dropdown-click {
	margin-bottom: 0px;
	margin-left: 20px;
}
	#navigation-header form input {
		margin: 0;
}
	.logo_text p {
		min-width: 300px;
}

