/*
Theme Name: La Distillerie
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
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: twentytwentytwo
Text Domain: la-distillerie
Tags: 
*/

.wp-block-site-logo {
  min-width: 95px;
}

#root-head-container {
  position: relative;
}

#root-head-container>header {
  width: 100%;
}

#root-header {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: stretch;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  /* backdrop-filter: blur(2px); */
  position: relative;
}
#root-header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  backdrop-filter: blur(2px);
    z-index: -1;
}

#logo-title {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
  flex: 1 1 auto;
}

#root-header>nav {
  flex: 0 1 auto;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: 0;
}

#header-banner {
  max-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#header-banner::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

#header-banner>img {
  flex: 0 0 auto;
  max-height: 350px;
}


@media (min-width: 600px) {
  /* #root-header {
    flex-wrap: wrap;
  } */

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }
}

@media (min-width: 740px) {
  /* #header-banner {
    margin: 0 var(--wp--preset--spacing--50)!important;
  } */

  #root-header {
    position: absolute;
  }

  #root-header>nav {
    padding-left: 24px;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}


#event_filters {
  margin-bottom: 4px;
}

.wpem-form-group input {
  box-sizing: border-box;
}

#event_filters .search_events>.wpem-row:first-child>.wpem-col:nth-of-type(2) {
  display: none;
}


.mailpoet_form_popup_overlay {
    margin-top: 0;
}
