/* 
Theme Name: Scène à Domicile
Description: SAD thème
Author: Oz-média
Author URI: https://www.oz-media.com
Template: hello-elementor
Version: 2.0.1
Text Domain: sad
*/

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

/**
  Mon compte
*/
.sad-account-navbar {
  background-color: #eee;
  padding: 10px 20px;
  margin-bottom: 40px;
}
.sad-account-navbar ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  list-style-type: none;
  list-style-position: inside;
  padding: 0; margin: 0;
}
.sad-account-navbar ul > li > a {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  transition: all .4s ease;
}
.sad-account-navbar ul > li > a:hover,
.sad-account-navbar ul > li > a:focus,
.sad-account-navbar ul > li > a:active,
.sad-account-navbar ul > li > a.active {
  text-decoration: underline;
}
.spectacle-table-container {
  display: grid;
  gap: 80px 40px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 1fr);
  justify-content: start;
  align-content: start;
  grid-auto-flow: row;
}
.spectacle-table-container .spectacle {
  max-width: 100%;
  text-align: center;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spectacle-table-container .spectacle > img {
  width: 100%;
  object-fit: cover;
}
.spectacle-table-container .spectacle > .spectacle-content {
  padding: 0 10px 10px 10px;
}
.spectacle-table-container .spectacle a {
  color: #FFFFFF;
  border: 1px solid #0066cc;
  border-radius: 3px;
  font-size: 15px;
  background-color: #0066cc;
  font-weight: 500;
  padding: 10px 20px;
  line-height: 1;
  display: block;
  transition: all .4s ease;
}
.spectacle-table-container .spectacle a.spectacle-link {
  margin-bottom: 10px;
}
.spectacle-table-container .spectacle a:hover,
.spectacle-table-container .spectacle a:focus,
.spectacle-table-container .spectacle a:active {
  background-color: transparent;
  color: #0066cc;
}
.spectacle-table-container .spectacle a.spectacle-delete {
  background-color: #cc0600;
  border: 1px solid #cc0600;
}
.spectacle-table-container .spectacle a.spectacle-delete:hover,
.spectacle-table-container .spectacle a.spectacle-delete:hover,
.spectacle-table-container .spectacle a.spectacle-delete:hover {
  color: #cc0600;
  background-color: transparent;
}
.spectacle-table-container .spectacle a.spectacle-update + a.spectacle-delete {
  margin-top: 10px;
}
.spectacle-table-container .spectacle .spectacle-title {
  font-family: 'Comfortaa';
  line-height: 1.2;
  font-size: 24px;
  color: #333;
  font-weight: 500;
  margin-bottom: 10px;
}
.spectacle-table-container .spectacle .spectacle-title .spectacle-post-status {
  font-size: 14px;
  display: block;
}
.delete-success {
  padding: 10px;
  background-color: rgb(74, 199, 74);
  color: #FFF;
  margin-bottom: 10px;
  width: fit-content;
  border-radius: 2px;
}
@media (max-width: 1201px) {
  .spectacle-table-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  .spectacle-table-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .spectacle-table-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 390px) {
  .spectacle-table-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.sad-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 70px;
}
.sad-filter-bar .sad-select-filter {
  display: flex;
  gap: 20px;
}
.sad-filter-bar .filter {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  justify-content: space-between;
}
.sad-filter-bar .filter label {
  font-size: 16px;
  font-family: "Merriweather", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}
.sad-filter-bar .filter select {
  background-color: #fff;
  border: 1px solid #bbb;
  font-size: 18px;
  font-weight: 400;
  font-family: "Merriweather", sans-serif;
  padding: 10px;
  color: #333;
}
.sad-filter-bar .filter select:focus,
.sad-filter-bar .filter select:focus-visible {
  outline-color: #FF65C3;
}
#sad-budget-slider {
  padding: 0 15px;
}
#sad-budget-slider .noUi-connect {
  background: #FF65C3;
}
.budget-slider-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.budget-slider-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: "Merriweather", sans-serif;
  font-size: 18px;
}
@media (max-width: 767px) {
  .sad-filter-bar .filter select {
    font-size: 16px;
  }
  .post-type-archive-billetterie .sad-filter-bar .sad-select-filter {
    flex-direction: column;
  }
}
@media (max-width: 575px) {
  .sad-filter-bar .sad-select-filter {
    flex-direction: column;
  }
}

.sad-spectacles-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.sad-spectacles-wrapper .sad-spectacles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row;
  gap: 40px 30px;
}
.sad-spectacles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sad-spectacles > h2 {
  font-family: "Merriweather", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  background-color: #333;
  padding: 10px 20px;
}
.sad-spectacles-grid .sad-spectacle {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.sad-spectacle img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.billetterie .sad-spectacle img {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.sad-spectacle .spectacle-content {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.billetterie .sad-spectacle .spectacle-content {
  justify-content: space-between;
  height: 100%;
}
.sad-spectacle .spectacle-content .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.sad-spectacle .spectacle-content .meta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  color: #FF6633;
  font-weight: 700;
}
.sad-spectacle .spectacle-content .open-spectacle-popup {
  width: 100%;
  border-radius: 90px;
  padding: 8px 16px;
  font-size: 16px;
  font-family: "Merriweather", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all .4s ease;
}
.spectacle-content h2,
.spectacle-content .categories {
  font-family: "Merriweather", sans-serif;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.spectacle-content h2 {
  font-size: 18px;
  margin-top: 20px;
  text-transform: uppercase;
  line-height: 1.2;
}
.billetterie .spectacle-content h2 {
  margin-top: 0;
}
.spectacle-content .categories {
    font-size: 14px;
}
.sad-spectacles-nothing {
  font-family: "Merriweather", sans-serif;
  font-size: 22px;
  font-weight: 600;
}
@media (max-width: 1200px) {
  .sad-spectacles-wrapper .sad-spectacles-grid {
    gap: 40px 20px;
  }
}
@media (max-width: 991px) {
  .sad-spectacles-wrapper .sad-spectacles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .sad-spectacles-wrapper .sad-spectacles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 390px) {
  .sad-spectacles-wrapper .sad-spectacles-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.sad-loader {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem;
  justify-content: center;
  min-height: 120px;
}
.sad-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #ccc;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: sad-spin .8s linear infinite;
}
@keyframes sad-spin {
  to { transform: rotate(360deg); }
}
.sad-spectacles-wrapper.is-loading {
  opacity: .85;
}


.sad-overlay {
  display: block;
  position: fixed; 
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 99;
  opacity: 1;
  transition: opacity .2s ease;
}
#spectacle-popup {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  min-height: 400px;
  height: 94vh;
  position: fixed;
  top: 3vh;
  left: calc(50% - 600px);
  z-index: 110;
  background-color: #FFF;
  border-radius: 10px;
  overflow-y: auto;
}
#spectacle-popup .popup-close {
  background-color: #FFF;
  top: calc(3vh + 40px);
  right: calc(((100% - 1200px) / 2) + 55px); /* 1200 = largeur container | 55 = moitié bouton (25) + 30 de décalage*/ 
  font-size: 34px;
  z-index: 2;
  padding: 0px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: fixed;
  border-radius: 100%;
}
#spectacle-popup::-webkit-scrollbar {
  width: 10px;
}
#spectacle-popup::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f2f2f2;
}
#spectacle-popup::-webkit-scrollbar-thumb {
  background: #FF6633;
  border-radius: 10px;
}
.departements-container {
    display: none;
}
button#more_departements {
  background-color: #FF6633;
  color: #FFF;
  font-size: 20px;
  line-height: 1;
  padding: 10px 12px;
  margin-top: 5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #FF6633;
  transition: all .4s linear;
  margin-left: 20px;
}
button#more_departements:hover,
button#more_departements:active,
button#more_departements:focus,
button#more_departements:focus-visible {
  background-color: transparent;
  color: #FF6633;
  border-radius: 0;
}
#spectacle-popup .elementor-icon-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
#spectacle-popup .elementor-icon-list-items .elementor-icon-list-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
#spectacle-popup .elementor-icon-list-items .elementor-icon-list-item svg {
  width: 10px;
}
#spectacle-popup .contact .elementor-icon-list-items .elementor-icon-list-item svg {
  width: 24px;
}
#visible-departements,
.departements-container {
  font-size: 20px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #0066cc;
  padding-left: 20px;
}

.sad-galerie-spectacle .grid-img {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-auto-flow: row;
}
.sad-galerie-spectacle .grid-img img {
  aspect-ratio: 1;
  object-fit: cover;
}



#th-audio-player {
	display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
	margin-top: 20px;
}
#th-audio-player audio {
	background-color: #F1F3F4;
  width: 100%;
}
#playlist {
	background-color: #f1f3f4;
  padding: 20px 10px;
  list-style-position: inside;
  list-style: none;
  width: 100%;
	display: flex;
  flex-direction: column;
  gap: 5px;
}
#playlist .active {
	font-weight: 700;
}
#playlist li > button {
	display: flex;
	gap: 0px 5px;
  align-items: center;
  justify-content: flex-start;
	transition: all .3s ease;
  color: #0066cc;
  border: none;
  background-color: transparent;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}
#playlist li > button:hover,
#playlist li > button:active,
#playlist li > button:focus {
	color: #FF6633;
}
#playlist li > button > svg {
	height: 30px;
	width: auto;
}
#playlist .current {
	font-size: 12px;
  font-weight: 400;
  font-style: italic;
  margin-left: 5px;
	display: none;
}
#playlist li:first-child .current {
	display: block;
}
@media (max-width: 767px) {
	#playlist .music-title {
		flex: 1;
	}
}
@media (max-width: 576px) {
	#playlist {
		flex-direction: column;
		gap: 20px;
	}
	#playlist button {
		flex-direction: column;
    	text-align: center;
	}
	#playlist li + li {
		border-top: 1px solid #c1c1c1;
    	padding-top: 20px;
	}
}

.sad-formules-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sad-formules-wrapper .sad-formule {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sad-formule-title,
.sad-formule-prix {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Merriweather', sans-serif;
  text-decoration: underline;
  color: #FF6633;
}
.sad-formule-prix {
  text-decoration: none;
}
.sad-formule-content,
.sad-formule-artistes,
.sad-formule-installation,
.sad-formule-duree {
  font-size: 20px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #0066CC;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  #spectacle-popup {
    max-width: 100%;
    left: 0;
  }
}
button.sad-load-more,
button.sad-load-more-billetterie {
  padding: 16px 32px;
  border-radius: 80px;
  margin-top: 10px;
  cursor: pointer;
}

/**
* ACFE FORM
*/
.acfe-form .acf-form-submit {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.acfe-form .acf-form-submit > input[type=submit] {
  cursor: pointer;
  padding: 10px 120px;
  border-radius: 80px;
  font-family: 'Open Sans';
  font-size: 18px;
}
.acfe-form .acf-input-wrap .acf-is-appended {
  border-width: 1px;
  border-radius: 2px 0 0 2px!important;
}
@media (max-width: 575px) {
  .acfe-form .acf-form-submit {
    flex-direction: column;
  }
  .acfe-form .acf-form-submit > input[type=submit] {
    width: 100%;
  }
}

/**
* Widgets Elementor
*/
.elementor-shortcode .post-views {
  color: #FFF;
}
.elementor-widget-n-accordion summary.e-n-accordion-item-title {
  background-color: #bdbdbd;
}
.elementor-widget-n-accordion details.e-n-accordion-item > div.elementor-element {
  background-color: #f5f5f5;
}

/**
* MemberPress
*/
.mepr_error, 
.mepr_updated {
  border: none!important;
  border-radius: 5px;
  padding: 20px !important;
}
.mepr_error > ul, 
.mepr_updated > ul {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mepr_error {
  background-color: #fbd4d4 !important;
}
.mepr_updated {
  background-color: #ecfdf5 !important;
}
.mepr_error li {
  color: #991b1b;
}
.mepr_updated li {
  color: #065f46;
}
.mp_login_form input[type=submit],
.mepr-account-form input[type=submit],
#mepr_forgot_password_form input[type=submit] {
  background-color: #0066CC;
  font-family: "Open Sans", Sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #0066CC;
  border-radius: 4px 4px 4px 4px;
  padding: 12px 24px;
  text-align: center;
  line-height: 1;
  transition: all .3s;
  cursor: pointer;
}
.mp_login_form input[type=submit]:hover,
.mp_login_form input[type=submit]:active,
.mp_login_form input[type=submit]:focus,
.mepr-account-form input[type=submit]:hover,
.mepr-account-form input[type=submit]:active,
.mepr-account-form input[type=submit]:focus,
#mepr_forgot_password_form input[type=submit]:hover,
#mepr_forgot_password_form input[type=submit]:focus,
#mepr_forgot_password_form input[type=submit]:active {
  border-radius: 4px 4px 4px 4px;
  background-color: #FFF;
  color: #0066CC;
}
.mp_login_form .mepr-login-actions > a,
.mepr-account-change-password > a {
  color: #333;
  text-decoration: underline;
  font-size: 14px;
  transition: all .3s;
}
.mp_login_form .mepr-login-actions > a:hover,
.mp_login_form .mepr-login-actions > a:active,
.mp_login_form .mepr-login-actions > a:focus,
.mepr-account-change-password > a:hover,
.mepr-account-change-password > a:focus,
.mepr-account-change-password > a:hover {
  text-decoration: none;
}
.mp_login_form > .mp-spacer,
.mepr-account-form + .mepr_spacer {
  height: 10px;
}
#mepr-account-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
#mepr-account-nav > span {
  padding: 0!important;
}
#mepr-account-nav > span > a {
  color: #0066CC;
}
#mepr-account-nav > span > a:hover,
#mepr-account-nav > span > a:active,
#mepr-account-nav > span > a:focus,
#mepr-account-nav > span.mepr-active-nav-tab {
  text-decoration: underline;
}
.page-id-165 #mepr-account-welcome-message,
#mepr-account-nav > span.mepr-subscriptions,
#mepr-account-nav > span.mepr-payments {
  display: none;
}
@media (max-width: 575px) {
  .mp_login_form input[type=submit],
  .mepr-account-form input[type=submit],
  #mepr_forgot_password_form input[type=submit] {
    width: 100%;
  }

  #mepr-account-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}


.mepr-signup-form .mp-form-submit input[type=submit] { 
  background-color: #0066CC;
  font-family: "Open Sans", Sans-serif;
  font-size: 18px;
  font-weight: 700;
  fill: #FFF;
  color: #FFF;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #0066CC;
  border-radius: 4px 4px 4px 4px;
  transition: all .3s;
  text-align: center;
  line-height: 1;
  padding: 12px 24px;
  cursor: pointer;
}

.mepr-signup-form .mp-form-submit input[type=submit]:hover {
  background-color: #FFF;
  color: #0066CC;
  border-color: #0066CC;
}

.spectacle-popup iframe[src*="vimeo"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
}