*, html {
  scroll-padding-top: 175px;
  /* height of sticky header */
  scroll-behavior: smooth !important;
}

body {
  transition: letter-spacing 0.4s;
  font-family: 'Baikal';
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: .05em;
}

body header {
  position: sticky;
  top: 0;
  z-index: 10;
}

body header #header-bar {
  position: relative;
  z-index: 10;
  background-color: white;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid black;
  padding: 0 15px;
}

body header #header-bar #title {
  font-weight: 600;
  align-self: center;
  font-size: 4em;
  letter-spacing: -0.05em;
  display: flex;
  margin: 0;
}

body header #header-bar #subtitle {
  font-size: 1em;
  margin: 0;
  font-weight: bold;
  align-content: center;
}

body header #header-bar #hamburger {
  align-content: center;
}

body header #header-bar #hamburger .hamburger-box {
  width: 75px;
}

body header #header-bar #hamburger .hamburger-inner, body header #header-bar #hamburger .hamburger-inner::after, body header #header-bar #hamburger .hamburger-inner::before {
  width: 75px;
  height: 3px;
}

body header #header-bar #hamburger .hamburger-inner:after {
  bottom: -20px;
}

body header #header-bar #hamburger .hamburger-inner::before {
  top: -20px;
}

body header #header-bar #hamburger:hover {
  background-color: transparent;
}

body header .menu-principal-container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

body header .menu-principal-container #menu-principal {
  position: relative;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

body header .menu-principal-container #menu-principal .menu-item {
  border-bottom: 2px solid black;
  background-color: white;
  transition: background-color 0.2s;
}

body header .menu-principal-container #menu-principal .menu-item a {
  display: block;
  padding: 15px 0;
  font-weight: bold;
  font-size: 1.5em;
  padding: 15px 15px;
}

body header .menu-principal-container #menu-principal .menu-item:hover {
  background-color: #FFF100;
}

body header .menu-principal-container #menu-principal .current-menu-item {
  background-color: #FFF100;
}

body header .menu-principal-container.is-active {
  transform: translateY(0);
}

body header .page-header {
  padding: 15px 15px;
  margin: 0;
  border-bottom: 2px solid black;
  display: flex;
  justify-content: space-between;
  background-color: white;
}

body header .page-header .page-title {
  margin: 0;
  font-weight: bold;
}

body header .page-header #programme-pdf {
  border: 1px solid black;
  padding: 5px;
  font-size: 1em;
  font-weight: 500;
  width: 300px;
  text-align: center;
  transition: background-color 0.4s;
}

body header .page-header #programme-pdf:hover {
  background-color: #FFF100;
}

body header .page-header #filters-wrapper {
  display: flex;
  gap: 45px;
}

body header .page-header #filters-wrapper .filters {
  position: relative;
  height: 0;
}

body header .page-header #filters-wrapper .filters .parent-filter {
  position: relative;
  cursor: pointer;
  border-top: 1px solid black;
}

body header .page-header #filters-wrapper .filters .parent-filter .arrow, body header .page-header #filters-wrapper .filters .parent-filter .arrow-active {
  position: absolute;
  right: 5px;
  padding-left: 5px;
  width: 15px;
  border-left: 1px solid black;
  padding: 5px;
  text-align: right;
}

body header .page-header #filters-wrapper .filters .parent-filter .arrow-active {
  display: none;
}

body header .page-header #filters-wrapper .filters .filter, body header .page-header #filters-wrapper .filters .parent-filter {
  width: 310px;
  font-size: 1em;
  font-weight: 500;
  background-color: white;
  font-family: 'Baikal';
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  transition: background-color 0.2s;
  display: flex;
  justify-content: space-between;
}

body header .page-header #filters-wrapper .filters .filter .filter-title, body header .page-header #filters-wrapper .filters .parent-filter .filter-title {
  padding: 5px;
}

body header .page-header #filters-wrapper .filters .filter:hover, body header .page-header #filters-wrapper .filters .parent-filter:hover {
  background-color: #FFF100;
  cursor: pointer;
}

body header .page-header #filters-wrapper .filters .filter:hover label, body header .page-header #filters-wrapper .filters .parent-filter:hover label {
  cursor: pointer;
}

body header .page-header #filters-wrapper .filters .filter .checkbox, body header .page-header #filters-wrapper .filters .filter .main-checkbox {
  width: 1.3em;
  height: 1.3em;
  background-color: white;
  border-radius: 50%;
  vertical-align: middle;
  border: 1px solid black;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  margin: 8px;
}

body header .page-header #filters-wrapper .filters .filter .checkbox:checked, body header .page-header #filters-wrapper .filters .filter .main-checkbox:checked {
  background-color: black;
}

body header .page-header #filters-wrapper .filters .filter-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  display: none;
}

body header .page-header #filters-wrapper .filters .reset {
  position: absolute;
  left: -30px;
  width: 30px;
  border: 1px solid black;
  padding: 5px;
  padding-left: 10px;
  transition: background-color 0.4s;
  display: none;
}

body header .page-header #filters-wrapper .filters .reset:hover {
  background-color: #FFF100;
  cursor: pointer;
}

body header .page-header #filters-wrapper .filters.filter-applied .reset {
  display: block;
}

body header .page-header #filters-wrapper .filters.filter-applied .parent-filter {
  background-color: #FFF100;
}

body header .page-header #filters-wrapper .filters.filter-applied:before:hover {
  cursor: pointer;
}

body header .page-header #filters-wrapper .filters.is-active {
  z-index: 15;
}

body header .page-header #filters-wrapper .filters.is-active .parent-filter {
  background-color: #FFF100;
}

body header .page-header #filters-wrapper .filters.is-active .parent-filter .arrow {
  display: none;
}

body header .page-header #filters-wrapper .filters.is-active .parent-filter .arrow-active {
  display: block;
}

body header .page-header #filters-wrapper .filters.is-active .filter-list {
  display: block;
}

body main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body main .page-title.mobile {
  display: none;
}

body main .page-content {
  padding: 0 15px;
  border-bottom: 2px solid black;
}

body main #front-page-content {
  font-weight: 600;
  font-size: 1.2em;
}

body main .page-infos-pratiques-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

body main .page-infos-pratiques-wrapper table {
  flex: 1;
}

body main .page-infos-pratiques-wrapper .wp-block-table {
  flex: 1;
  margin: 0;
}

body main .page-infos-pratiques-wrapper .wp-block-table strong {
  font-size: 1.3em;
}

body main .page-infos-pratiques-wrapper .wp-block-table thead {
  border-top: none;
  font-size: 1.5em;
  border-bottom: 2px solid black;
  background-color: #FFF100;
}

body main .page-infos-pratiques-wrapper .wp-block-table th {
  text-align: left;
  border-top: none;
  border-width: 2px;
}

body main .page-infos-pratiques-wrapper .wp-block-table td {
  border-width: 2px;
  vertical-align: top;
  padding: 15px;
  line-height: 1.5em;
}

body main .page-infos-pratiques-wrapper .wp-block-table td a {
  border: 2px solid black;
  background-color: #e3d9da;
  padding: 5px;
  transition: background-color 0.4s;
}

body main .page-infos-pratiques-wrapper .wp-block-table td a:hover {
  background-color: #FFF100;
}

body main .page-archives-wrapper {
  display: flex;
  flex-direction: column;
}

body main .page-archives-wrapper .archive-title-link {
  transition: background-color 0.4s;
  padding: 15px 15px;
  border-bottom: 2px solid black;
  display: flex;
  justify-content: space-between;
}

body main .page-archives-wrapper .archive-title-link .archive-title {
  margin: 0;
}

body main .page-archives-wrapper .archive-title-link .archive-edition {
  font-weight: 600;
  font-size: 1.2em;
}

body main .page-archives-wrapper .archive-title-link:hover {
  background-color: #FFF100;
}

body main .grid-wrapper.empty #empty-message {
  display: block;
}

body main .grid-wrapper {
  display: flex;
  flex-wrap: wrap;
}

body main .grid-wrapper #empty-message {
  padding: 30px 15px;
  display: none;
}

body main .grid-wrapper .grid-element {
  flex: 1 1 25%;
  /* Initial width of grid element */
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  max-width: 25%;
  box-sizing: border-box;
  transition: background-color 0.3s, opacity 0.5s , flex 0.5s;
  display: flex;
  position: relative;
}

body main .grid-wrapper .grid-element .grid-element-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-thumbnail {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos {
  display: flex;
  flex-direction: column;
  padding: 15px;
  flex: 1;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-category {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8em;
  background-color: white;
  border-radius: 2em;
  padding: 5px 15px;
  border: 1px solid black;
  width: fit-content;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-title-wrapper {
  margin-top: 15px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex-direction: column;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-title-wrapper .grid-element-title {
  font-weight: 600;
  margin: 0;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-title-wrapper .grid-element-artistes-wrapper .grid-element-artiste-name {
  font-weight: 500;
  display: inline;
  width: auto;
  margin: 0;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-title-wrapper .grid-element-artistes-wrapper .grid-element-artiste-name::after {
  content: ",";
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-title-wrapper .grid-element-artistes-wrapper .grid-element-artiste-name:last-of-type::after {
  content: "";
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-excerpt {
  margin-bottom: 15px;
}

body main .grid-wrapper .grid-element .grid-element-link .grid-element-infos .grid-element-meta {
  margin-top: auto;
  display: flex;
  font-weight: bold;
  gap: 5px;
  flex-wrap: wrap;
}

body main .grid-wrapper .grid-element.hidden {
  opacity: 0;
  flex: 0 0 0;
  /* Shrink and hide grid element */
  overflow: hidden;
  border: 0;
}

body main .grid-wrapper .grid-element:hover {
  background-color: #FFF100;
}

body main .edit {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid black;
  top: 5px;
  padding: 5px;
  right: 5px;
  font-size: 0.8em;
  text-align: center;
  transition: background-color 0.3s;
}

body main .edit:hover {
  background-color: #FFF100;
}

body main .page-a-propos-wrapper h2 {
  background-color: #FFF100;
}

body main .page-a-propos-wrapper .wp-block-columns p {
  padding: 0 15px;
}

body main .page-a-propos-wrapper .page-title.mobile {
  display: none;
}

body main .titre {
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  padding: 15px 15px;
  margin: 0;
}

body main #le-festival {
  border-top: 0;
}

body main #modal-1 {
  border-bottom: 2px solid black;
  padding: 15px 15px;
}

body main #modal-1 .wp-block-navigation__container:only-child, body main #modal-1 .wp-block-page-list:only-child {
  justify-content: space-between;
}

body main #modal-1 .wp-block-navigation__container:only-child .wp-block-navigation-item__label, body main #modal-1 .wp-block-page-list:only-child .wp-block-navigation-item__label {
  font-weight: 600;
  font-size: 1.5em;
}

body main .partenaires {
  margin-top: 30px;
}

body main .partenaires img {
  max-height: 60px;
}

body main .single-header {
  padding: 0 0 0 15px;
  display: flex;
  position: relative;
  border-bottom: 2px solid black;
}

body main .single-header .single-header-infos {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

body main .single-header .single-header-infos .single-title {
  font-size: 2em;
}

body main .single-header .single-header-infos .single-category {
  margin-top: 30px;
  font-weight: 600;
  font-size: 1.3em;
  background-color: white;
  border-radius: 2em;
  padding: 5px 15px;
  border: 1px solid black;
  align-self: flex-start;
}

body main .single-header .single-header-thumbnail-wrapper {
  display: flex;
  flex-basis: 50%;
  max-height: 35vh;
  width: 50%;
}

body main .single-header .single-header-thumbnail-wrapper .single-header-thumbnail {
  object-fit: cover;
  flex: 1;
  max-width: 100%;
  height: auto;
}

body main .single-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body main .single-main .single-date {
  background-color: #FFF100;
  font-weight: bold;
  font-size: 1.5em;
  border-bottom: 2px solid black;
  padding: 15px 15px;
}

body main .single-main .single-content {
  padding: 0 15px;
  flex-grow: 1;
  border-bottom: 2px solid black;
}

body main .single-footer {
  display: flex;
}

body main .single-footer .single-footer-title {
  margin: 0;
  font-weight: bold;
  font-size: 1.5em;
  border-bottom: 2px solid black;
  padding: 15px 15px;
  text-wrap: nowrap;
}

body main .single-footer .artistes-wrapper {
  display: flex;
  padding: 15px 15px;
}

body main .single-footer .artistes-wrapper .artiste {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

body main .single-footer .artistes-wrapper .artiste .artiste-name {
  text-wrap: nowrap;
  margin: 0;
}

body main .single-footer .artistes-wrapper .artiste .artiste-bio-link {
  font-weight: 500;
  text-decoration: underline;
}

body main .single-footer .artistes-wrapper .artiste .artiste-link {
  font-weight: 500;
  text-decoration: underline;
}

body main .slider-wrapper.w-100 .slider-content .slider-element {
  border: none;
  flex-basis: 100vw;
}

body main .slider-wrapper.w-100 .slider-content .slider-element .slider-element-title {
  text-align: right;
  font-weight: 500;
  font-size: 0.9em;
}

body main .slider-wrapper.w-100 .slider-content .slider-element .slider-thumbnail {
  object-fit: cover;
  background-color: white;
  height: 70vh;
  max-height: none;
}

body main .slider-wrapper.w-100 .slider-content .slider-element .slider-element-infos {
  margin-top: -4px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s;
}

body main .slider-wrapper.w-100 .slider-content .slider-element .slider-element-infos .slider-element-title {
  margin: 0;
}

body main .slider-wrapper.w-100 .slider-content .slider-element .slider-element-infos:hover {
  background-color: #FFF100;
}

body main .slider-wrapper.w-100 .slider-content .slider-element:hover {
  background-color: white;
}

body main .slider-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
}

body main .slider-wrapper .slider-title {
  padding: 15px 15px;
  margin: 0;
  border-bottom: 2px solid black;
}

body main .slider-wrapper .slider-controls {
  display: flex;
}

body main .slider-wrapper .slider-controls button {
  position: absolute;
  top: 75px;
  width: 60px;
  height: 60px;
  transition: opacity 0.2s, background-color 0.4s;
  background-color: #e3d9da;
}

body main .slider-wrapper .slider-controls button:hover {
  background-color: #FFF100;
}

body main .slider-wrapper .slider-controls .slider-prev {
  left: 30px;
}

body main .slider-wrapper .slider-controls .slider-next {
  right: 30px;
}

body main .slider-wrapper .slider-content {
  display: flex;
  overflow-x: hidden;
  border-bottom: 2px solid black;
}

body main .slider-wrapper .slider-content .slider-element {
  flex-shrink: 0;
  flex-basis: 25vw;
  border-left: 2px solid black;
  box-sizing: border-box;
  transition: background-color 0.4s;
}

body main .slider-wrapper .slider-content .slider-element .slider-thumbnail {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  max-height: 60vh;
}

body main .slider-wrapper .slider-content .slider-element .slider-element-infos {
  padding: 15px;
}

body main .slider-wrapper .slider-content .slider-element .slider-element-infos .slider-element-title {
  margin-bottom: 0;
}

body main .slider-wrapper .slider-content .slider-element .slider-element-infos .slider-element-link {
  font-size: 1.2em;
  justify-self: flex-end;
}

body main .slider-wrapper .slider-content .slider-element:last-of-type {
  border-right: 2px solid black;
}

body main .slider-wrapper .slider-content .slider-element:hover {
  background-color: #FFF100;
}

body footer {
  display: flex;
  margin-top: auto;
  padding: 0 15px;
  background-color: #FFF100;
  border-top: 2px solid black;
  justify-content: space-between;
  margin-top: -2px;
}

body footer .mc4wp-form-fields {
  display: flex;
}

body footer .mc4wp-form-fields input[type=email] {
  font-family: 'Baikal';
  padding: 5px;
  width: 250px;
  font-size: 1em;
  border: 1px solid black;
}

body footer .mc4wp-form-fields input[type=email]:focus {
  outline: none;
}

body footer .mc4wp-form-fields input[type=submit] {
  padding: 5px;
  font-family: 'Baikal';
  border: 1px solid black;
  border-left: 0;
  background-color: white;
  width: 30px;
  transition: background-color 0.4s;
}

body footer .mc4wp-form-fields input[type=submit]:hover {
  cursor: pointer;
  background-color: #FFF100;
}

body footer .mc4wp-response {
  max-width: 280px;
}

body footer .footer-col {
  padding-top: 15px;
  padding-bottom: 15px;
  align-content: flex-end;
}

body footer #menu-footer-wrapper .menu-principal-container #menu-footer {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0;
}

body footer #menu-footer-wrapper .menu-principal-container #menu-footer .menu-item {
  padding-bottom: 2px;
}

body footer #menu-footer-wrapper .menu-principal-container #menu-footer .menu-item a {
  font-weight: bold;
  font-size: 1.2em;
}

body footer #menu-footer-wrapper #socials h3 {
  margin-bottom: 5px;
}

body footer #menu-footer-wrapper #socials .socials-link {
  display: inline-block;
}

body footer #menu-footer-wrapper #socials .socials-link .socials-logo {
  width: 30px;
  height: 30px;
  padding: 5px;
}

body footer #credits {
  font-size: 0.8em;
}
