/*
Theme Name: RiveRhin
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ASTERIUM
Author URI:  https://www.asterium.fr
Template: salient
Version: 1.0
*/
:root {
  --noir: #1e1e1e;
  --blanc: #fdfdfd;
  --rouge: #b61e1e;
  --rouge-clair: #ce403b;
  --gris: #ccc;
  --grisclair: #f5f5f5;
  --grisfonce: #666;
}

@font-face {
  font-family: "Bricensa";
  src: url("fonts/Bricensa-Regular.woff2") format("woff2"),
    url("fonts/Bricensa-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Light.woff2") format("woff2"),
    url("fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.woff2") format("woff2"),
    url("fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Medium.woff2") format("woff2"),
    url("fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.woff2") format("woff2"),
    url("fonts/Roboto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Thin.woff2") format("woff2"),
    url("fonts/Roboto-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Roboto";
  font-weight: 300;
  font-style: normal;
  color: var(--noir);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bricensa";
  font-weight: normal;
  text-transform: uppercase;
}
@media (max-width: 920px) {
    h1 {
        font-size: 42px;
        line-height: 44px;
    }
}




/* Wywiwyg */
.chapeau {
    font-size: 26px;
    line-height: 30px;
    font-weight: 300;
}
.couleurrouge {
    color: var(--rouge);
}
blockquote {
    line-height: 28px;
    font-size: 20px;
}


/* Navigation header ------------------------------------------------------------------------------------ */
nav[aria-label="Main Menu"] > ul > li > a > span {
    font-family: "Bricensa";
    text-transform: uppercase;
    font-size: 25px;
    padding: 0 20px 0 0 !important;
}
    nav > ul > li:not(:last-child) > a > span {
        border-right: 2px solid var(--rouge);
    }
    nav .sub-menu {
        width: 30em !important;
        border-top: none !important;
    }
        nav .sub-menu li  {
            padding: 10px 0;
            /* border-bottom: 1px solid var(--rouge); */
        }
            nav .sub-menu li a {
                padding-left: 0;
                padding-right: 0;
            }
            nav .sub-menu li a span {
                font-family: "Roboto";
                text-transform: none;
                font-size: 20px;
                padding: 0;
            }
    nav li.tickets span { /* Bouton ticket */
        text-indent: -9999px;
        width: 32px;
        height: 22px;
        display: inline-block;
        background: transparent url('./img/icon-ticket.png') no-repeat center;
        background-size: 30px 22px;
        margin-left: 8px;
    }
    @media (min-width: 1200px) {
        nav li.tickets:hover span {
            background: transparent url('./img/icon-ticket-rouge.png') no-repeat center;
        }
    }



/* Divers */
.bouton {
    border: 1px solid var(--rouge);
    border-radius: 8px;
    padding: 8px 29px 8px 20px;
    color: var(--rouge);
    margin: 10px 0;
    background: transparent url('./img/fleche-droite-rouge.png') no-repeat 96% center;
}
@media (min-width: 1200px) {
    .bouton:hover {
        color: var(--blanc);
        background: var(--rouge) url('./img/fleche-droite-blanche.png') no-repeat 96% center;
    }
}

/* Slider */
.swiper-slide .content h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 36px;
    color: var(--rouge) !important;
}
.swiper-slide .content p span {
    font-size: 50px;
    font-weight: 600;
}
.swiper-slide .content .buttons a {
    font-size: 15px;
}

@media (max-width: 800px) {
    .swiper-slide .content .buttons a {
        font-size: 11px !important;
        padding: 10px !important;
    }
    .swiper-slide .content h2 {
        margin: 0 0 10px 0;
    }
    .swiper-slide .content p span {
        font-size: 32px;
    }
}




/* Accueil */
#icones-liens-accueil h2 {
  color: var(--rouge);
}

@media (max-width:800px){
    .home .row .nectar-slider-wrap{
        margin-right: -1px;
        margin-left: -1px;
    }
}



/* Single Spectacle --------------------------------------------------------------------------------------------- */
.single-spectacle .container-wrap {
    padding-top: 0 !important;
}
.single-spectacle .spectacle_image_ma {
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
}
    .single-spectacle .spectacle_image_ma img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .single-spectacle .titre_spectacle {
        text-align: center;
    }

.single-spectacle #spectacle_fiche {
  padding: 24px 0;
}
    .single-spectacle #spectacle_fiche h1 {
        font-size: 40px;
    }
    .single-spectacle #spectacle_fiche h2 {
        color: var(--grisfonce);
        line-height: 22px;
    }
    .single-spectacle .categories_spectacle {
        display: inline-block;
        margin: 12px 0 0 0;
    }
        .single-spectacle .categories_spectacle .categorie_spectacle {
            padding: 4px 10px;
            border: 1px solid var(--rouge);
            border-radius: 3px;
            color: var(--noir);
        }

    .description_spectacle .spectacle_texte {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: 50px auto;
    }
        .description_spectacle .spectacle_texte h3 {
            color: var(--rouge);
        }
        .description_spectacle .spectacle_texte .dtl_spectacle {
            flex: 0 0 100%;
            align-self: flex-start;
            font-size: 16px;
        }
            .single-spectacle .spectacle_texte .spectacle_temoignages {
                margin: 26px auto 0 auto;
            }

            .single-spectacle .lien_ticket{
                margin-top: 26px;
            }
        .single-spectacle .spectacle_texte .infos_cote_spectacle {
            flex: 0 0 100%;
        }
            .single-spectacle .spectacle_date_single {
                padding: 20px;
                margin: 30px 0 0 0;
                background: var(--grisclair);
                position: relative;
            }
                .single-spectacle .spectacle_date_single:after {
                    content: "";
                    position: absolute;
                    top: -20px;
                    right: 8px;
                    width: 58px;
                    height: 51px;
                    background: transparent url('./img/icon-agenda.png') no-repeat center;
                    background-size: 58px 51px;
                }
                .single-spectacle .spectacle_date_single .spectacle_jour,
                .single-spectacle .spectacle_date_single .spectacle_heure {
                    font-size: 21px;
                }
            .single-spectacle .spectacle_roles {
                margin-top: 30px;
            }
                .single-spectacle .spectacle_roles p {
                    padding-bottom: 8px;
                }
            .single-spectacle .spectacle_infos-supp {
                margin-top: 30px;
            }
            .single-spectacle .spectacle_infos_pratiques {
                margin-top: 30px;
            }

@media (min-width: 921px) {
    .single-spectacle #spectacle_fiche {
        padding: 50px 40px;
    }
        .single-spectacle #spectacle_fiche h1 {
            font-size: 52px;
        }
        .description_spectacle .spectacle_texte .dtl_spectacle {
            flex: 0 0 57%;
            padding-right: 36px;
        }
            .single-spectacle .spectacle_texte .spectacle_temoignages {
                margin: 50px auto 0 auto;
            }

            .single-spectacle .lien_ticket{
                margin-top: 50px;
               
            }
        .single-spectacle .spectacle_texte .infos_cote_spectacle {
            flex: 0 0 38%;
            border-left: 1px solid var(--rouge);
            padding: 0 0 0 26px;
        }
        .single-spectacle .spectacle_date {
            margin: 2px 0 0 0;
        }
        .single-spectacle .spectacle_date .spectacle_jour,
        .single-spectacle .spectacle_date .spectacle_heure {
            font-size: 24px;
        }
        .single-spectacle .lien_ticket a {
            margin: 0 0 14px 0;
        }        
}

.single-spectacle iframe{
  position: relative !important;
}


/* Spectacle - informations supplémentaires */
.spectacle_infos-supp div {
  margin: 6px auto;
  background-size : 36px 36px;
  padding: 9px 0 9px 50px;
}
    .spectacle_ouverture {
      background: transparent url("img/logos_spectacles/ouverture-2025-2026.png") no-repeat left center;
    }
    .spectacle_bar {
      background: transparent url("img/logos_spectacles/bar-co.png") no-repeat left center;
    }
    .spectacle_food-truck {
      background: transparent url("img/logos_spectacles/food-truck.png") no-repeat left center;
    }
    .spectacle_famille {
      background: transparent url("img/logos_spectacles/famille.png") no-repeat left center;
    }
    .spectacle_scolaire {
      background: transparent url("img/logos_spectacles/scolaire.png") no-repeat left center;
    }
    .spectacle_a2pas {
      background: transparent url("img/logos_spectacles/a-deux-pas.png") no-repeat left center;
    }
    .spectacle_compli-cite {
      background: transparent url("img/logos_spectacles/complicite.png") no-repeat left center;
    }
    .spectacle_horslesmurs {
      background: transparent url("img/logos_spectacles/hors-les-murs.png") no-repeat left center;
    }
    .spectacle_avignon {
      background: transparent url("img/logos_spectacles/vu-a-avignon.png") no-repeat left center;
    }
    .spectacle_femmesdemars {
      background: transparent url("img/logos_spectacles/femmes_mars.png") no-repeat left center;
    }

.single-spectacle .lien_ticket {
    display: block;
    max-width: fit-content;
}
    .single-spectacle .lien_ticket a {
        padding: 10px 20px 10px 55px;
        margin: 0 0 70px 0;
        border: 2px solid var(--rouge);
        background: var(--rouge) url('./img/icon-ticket.png') no-repeat 13px center;
        border-radius: 8px;
        max-width: fit-content;
        color: var(--blanc);
        display: block;
        transition: all 0.2s;
    }
        .single-spectacle .lien_ticket:hover a {
          color: var(--rouge);
          background: transparent url('./img/icon-ticket-rouge.png') no-repeat 14px center;
        }

/* Galerie des images du spectacle */
.spectacle_galerie_img {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    gap: 14px 1%;
}
    .spectacle_image_galerie {
        flex: 0 0 49%;
        border: 5px solid var(--blanc);
        overflow: hidden;
        height: 220px;
    }
    .spectacle_image_galerie img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        transition: 0.3s ease-in-out;
        margin-bottom: 0 !important;
        cursor: pointer;
    }
    .spectacle_image_galerie:hover img {
        transform: scale(1.1, 1.1);
        filter: brightness(0.5);
    }
@media (min-width: 921px) {
    .spectacle_image_galerie {
        flex: 0 0 32%;
        height: 260px;
    }
}
@media (min-width: 1200px) {
    .spectacle_image_galerie {
        flex: 0 0 24%;
        height: 300px;
    }
}

.spectacle_video {
    margin: 30px 0 60px;
}


/******************************************************************************************/
/*                                Page single-festineuf                                   */
/******************************************************************************************/

.banniere-festineuf {
    width: 100%;
    height: auto;
}
    .banniere-festineuf img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
.single-festineuf h2 {
    color: var(--rouge) !important;
}
.single-festineuf h2,
.single-festineuf h3 {
    margin: 20px auto !important;
}
.texte-supp {
  margin: 50px auto !important;
}
.single-festineuf .df-popup-thumb {
  width: 300px !important;
  margin: 20px auto !important;
}
.toggles {
  margin: 50px auto !important;
}

.single-festineuf details summary {
  margin: 10px auto;
  cursor: pointer;
  padding: 10px 20px;
  background-color: var(--rouge);
  color: var(--blanc);
  border-radius: 5px;
  transition: 0.3s ease-in-out !important;
}
    .single-festineuf details summary:hover {
        background-color: var(--rouge-clair);
    }
    .single-festineuf details[open] summary {
        background-color: var(--rouge-clair);
    }
    .single-festineuf details div {
        max-width: 95%;
        margin: 0 auto;
        transform: scaleY(0);
        transform-origin: top center;
    }
    .single-festineuf details[open] div {
        animation: fadeIn 0.3s ease-in-out forwards !important;
    }
    .single-festineuf details:not([open]) div {
        animation: fadeIn 0.3s ease-in-out forwards !important;
        animation-direction: reverse !important;
    }
@keyframes fadeIn {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}





/* Liste des spectacles -------------------------- */
.spectacle-list-wrapper,
.archive-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px 0;
  margin: 26px 0;
}
    .spectacle-list-element {
        position: relative;
        flex: 0 0 100%;
    }
    @media (min-width: 800px) {
       .spectacle-list-wrapper,
        .archive-wrapper {
          gap: 26px 3%;
        }
       .spectacle-list-element {
            flex: 0 0 48%;
        } 
    }
    @media (min-width: 920px) {
       .spectacle-list-element {
            flex: 0 0 31%;
        } 
    }
        .spectacle-list-element .image_spectacle {
            overflow: hidden;
            background: url("img/placeholder_spectacle.png") no-repeat center center;
            background-size: cover;
            display: flex;
            margin: 0;
            padding: 0;
        }
            .spectacle-list-element .image_spectacle img {
                width: 100% !important;
                height: 100% !important;
                margin-bottom: 0;
                object-fit: cover;
                cursor: pointer;
            }
            @media (min-width: 1200px) {
               .spectacle-list-element .image_spectacle img {
                    transition: all 0.5s;
               }
                   .spectacle-list-element .image_spectacle img:hover {
                        transform: scale(1.1);
                   }
            }
        .spectacle-list-element .texte_spectacle {
            padding: 8px 12px 16px 12px;
            border-left: 1px solid var(--grisclair);
            border-right: 1px solid var(--grisclair);
            border-bottom: 1px solid var(--grisclair);
        }
            .spectacle-list-element .categories_spectacle {
                text-transform: uppercase;
                color: var(--grisfonce);
                font-size: 12px;
            }
            .spectacle-list-element .ss_titre_spectacle {
                min-height: 44px;
            }
            .spectacle-list-element .texte_spectacle .nom_spectacle h3 {
                text-transform: uppercase;
                margin-bottom: 0;
            }
                .spectacle-list-element .texte_spectacle.nom_spectacle h3 a {
                    color: var(--rouge);
                }
                @media (min-width: 1200px) {
                    .spectacle-list-element .texte_spectacle.nom_spectacle h3 a:hover {
                        color: var(--noir);
                    }
                }
        .spectacle-list-element .dates_spectacles {
            position: absolute;
            top: 0;
            left: 0;
            background: var(--rouge);
            padding: 6px 14px;
            font-weight: bold;
            color: var(--blanc);
            clip-path: polygon(100% 0, 100% 1%, 96% 100%, 0 100%, 0 0);
        }
        .spectacle-list-element .lien_spectacle {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 30px;
            height: 21px;
            background: transparent url('./img/arrow_double.png') no-repeat;
            background-size: 30px 21px;
            text-indent: -9999px;
            cursor: pointer;
        }
        



/* Filtres  */
.spectacle_filtre {
  display: block;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.spectacle_filtre select {
  margin: 10px 20px 0 0;
  width: 200px;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--rouge);
  border-radius: 8px;
  padding: 8px 20px 8px 12px;
}

/* Image de mise en avant d'un spectacle   */
.image_spectacle {
}
.image_spectacle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}


.lien_spectacle a:any-link {
  color: var(--rouge);
  font-weight: bold;
  transition: 0.3s ease-in-out !important;
}

.lien_spectacle a:hover {
  color: var(--noir);
}




/* Liste des festineufs -------------------------------------  */
.festineuf-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
}
.festineuf-list-wrapper .festineuf-list-element {
  flex: 0 0 30% !important;
  padding: 10px 20px !important;
  margin: 5vh auto !important;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  position: relative;
  transition: 0.3s ease-in-out !important;
}
.festineuf-list-wrapper .festineuf-list-element .festineuf-element-texte {
  min-height: 300px;
}

.festineuf-list-wrapper
  .festineuf-list-element
  .festineuf-element-texte
  .festineuf-element-titre
  h3 {
  text-align: center;
}

.festineuf-list-wrapper .festineuf-list-element .festineuf-element-lien {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
}

.festineuf-list-wrapper
  .festineuf-list-element
  .festineuf-element-lien
  a:any-link,
.festineuf-list-wrapper
  .festineuf-list-element
  .festineuf-element-texte
  .festineuf-element-titre
  h3 {
  color: var(--rouge) !important;
  transition: 0.3s ease-in-out !important;
}

.festineuf-list-wrapper
  .festineuf-list-element
  .festineuf-element-lien
  a:any-link {
  font-weight: bold;
}

.festineuf-list-wrapper .festineuf-list-element .festineuf-element-lien a:hover,
.festineuf-list-wrapper
  .festineuf-list-element
  .festineuf-element-texte
  .festineuf-element-titre
  h3:hover {
  color: var(--noir) !important;
}

@media (min-width: 933px) {
  .festineuf-list-wrapper .festineuf-list-element:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
  }
}





/* Liste actualités -------------------------------------------------------------------------- */
.liste_actualites {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (max-width: 800px) {
    .liste_actualites {
        gap: 30px 0;
    }
    .actualite_element {
        flex: 0 0 100%;
    }
}
@media (min-width: 801px) {
    .liste_actualites {
        gap: 30px 2%;
    }
    .actualite_element {
        flex: 0 0 48%;
    }
}
@media (min-width: 921px) {
    .liste_actualites {
        gap: 20px 2%;
    }
    .actualite_element {
        flex: 0 0 31%;
    }
}
    .actualite_element .actu_image {
        margin: 0 0 2px 0;
        overflow: hidden;
    }
        .actu_image img {
            margin-bottom: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.5s all ease-in-out;
            cursor: pointer;
            border: 1px solid var(--gris);
        }
    .actu_body {
        border: 1px solid var(--grisclair);
        padding: 20px 14px;
    }
        .actu_body .categorie {
            color: var(--gris_fonce);
        }
        .actu_body h3 {
            font-size: 20px;
            line-height: 23px;
            margin: 0 0 12px 0;
            cursor: pointer;
        }
        .actu_body span {
            display: block;
            padding: 10px 0;
            cursor: pointer;
            min-height: 145px;
        }



/* Single Post -------------------------------------------------------------------------------- */
.single-post .main-content h1:before {
    content: "actualités";
    display: block;
    font-family: "Roboto";
    font-size: 24px;
    text-transform: uppercase;
}
.single-post .meta-category {
    display: none;
}
.single-post .main-content .row .post-area {
   max-width: unset !important; 
}


/* Search results */
#search-results .result h2 {
    font-family: "Roboto";
    text-transform: none;
}
    #search-results .result h2 span {
        display: none !important;
    }


/* Page de contact --------------------------------------------------------------------------- */
#formulaire-contact-page form {
   
}
    #formulaire-contact-page form div {
        margin: 3px 0;
        /*flex: 0 0 49.8%;*/
    }
    #formulaire-contact-page form div p {
        flex: 0 0 100%;
        display: flex;
        justify-content: space-between;

    }
        #formulaire-contact-page form div p br {
            display: none;
        }
        #formulaire-contact-page form div p span {
            margin: 2px 0;
            flex: 0 0 49.8%;
        }
  #formulaire-contact-page form div.rgpd {
    padding: 20px 0;
    flex: 0 0 100%;
    font-size: 14px;
    line-height: 17px;
  }  



/* dFlip Books --------------------- */
.df-book-title {
  color: var(--rouge) !important;
}
.page-id-382 .wpb_text_column .wpb_wrapper ._df_thumb.df-element {
    width: 90%;
}
.page-id-382 span.df-book-title {
    font-size: 18px;
}



/* Footer ----------------------------------------------------------------------------------- */
#footer-outer {
    margin: 60px 0 0 0;
    color: var(--blanc);
}
    #footer-outer .widget h4 {
      font-size: 18px;
      font-weight: 600;
      color: var(--blanc) !important;
    }

#menu-reseaux-sociaux li {
    display: inline-block;
}
    #menu-reseaux-sociaux li a {
        text-indent: -9999px;
        width: 32px;
        height: 32px;
        margin: 0 6px 0 0;
    }
        #menu-reseaux-sociaux li.linkedin a {
          display: block;
          background: transparent url("./img/icone_ln.png") no-repeat;
          background-size: 32px;
        }
        #menu-reseaux-sociaux li.youtube a {
          display: block;
          background: transparent url("./img/icone_you.png") no-repeat;
          background-size: 32px;
        }
        #menu-reseaux-sociaux li.instagram a {
          display: block;
          background: transparent url("./img/icone_insta.png") no-repeat;
          background-size: 32px;
        }
        #menu-reseaux-sociaux li.facebook a {
          display: block;
          background: transparent url("./img/icone_fb.png") no-repeat;
          background-size: 32px;
        }