/*
============================================================

CSS Lightbox Spectacle V2 - Compatible class-te-lightbox.php
	
HTML généré :
<div id="te-lightbox-spectacle-overlay" class="te-lightbox-overlay">
  <div class="te-lightbox-content">
    <div id="te-lightbox-spectacle-close" class="te-lightbox-close">
    <div class="te-lightbox-inner">
      <div class="te-lightbox-left">
      <div class="te-lightbox-right">
	
============================================================
*/

.no-scroll {
    overflow: hidden;
}

/* ========================================================================
   OVERLAY PRINCIPAL
   ======================================================================== */

#te-lightbox-spectacle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1000;
    padding: 0;
    overflow-y: auto;
}

#te-lightbox-spectacle-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================================================
   CONTENEUR PRINCIPAL (te-lightbox-content)
   ======================================================================== */

.te-lightbox-content {
    position: relative;
    width: 80%;
    max-width: 1080px;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media all and (max-width: 767px) {
    .te-lightbox-content {
        align-items: flex-start;
        padding-top: 40px;
    }
}

/* ========================================================================
   STRUCTURE INTERNE (te-lightbox-inner)
   ======================================================================== */

.te-lightbox-inner {
    display: flex;
    flex-direction: row;
}

@media all and (max-width: 767px) {
    .te-lightbox-inner {
        flex-direction: column;
    }
}

/* ========================================================================
   COLONNE GAUCHE (affiche)
   ======================================================================== */

.te-lightbox-left {
    width: 35%;
    margin-right: 5%;
}

@media all and (max-width: 767px) {
    .te-lightbox-left {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .te-lightbox-left img {
        max-width: 25%;
        margin-right: 20px;
    }
}

/* ========================================================================
   COLONNE DROITE (infos)
   ======================================================================== */

.te-lightbox-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 55%;
    padding: 5% 0 0;
}

@media all and (max-width: 767px) {
    .te-lightbox-right {
        width: 100%;
        padding: 20px 0;
    }
}

/* ========================================================================
   TITRE SPECTACLE
   ======================================================================== */

.te-lightbox-left .te-lightbox-spectacle-titre {
    display: none;
}

.te-lightbox-spectacle-titre {
    padding-bottom: 30px;
    line-height: 1.4em;
    letter-spacing: 0.5px;
}

@media all and (max-width: 767px) {
    .te-lightbox-right .te-lightbox-spectacle-titre {
        display: none;
    }
    
    .te-lightbox-left .te-lightbox-spectacle-titre {
        display: block;
        font-size: 6vw;
        margin-bottom: 10px;
    }
}

/* ========================================================================
   GÉNÉRIQUES (auteurs, acteurs, metteurs en scène)
   ======================================================================== */

.ligne-generique {
    padding-bottom: 10px;
}

.ligne-generique .intitule {
    font-weight: bold;
    margin-right: 5px;
}

/* ========================================================================
   INFOS CALENDRIER
   ======================================================================== */

.ligne-infos-calendrier {
    margin-top: 20px;
    font-weight: bold;
    font-size: 18px;
}

@media all and (max-width: 767px) {
    .ligne-infos-calendrier {
        font-size: 15px;
    }
}

.ligne-infos-calendrier .dates-specifiques {
    margin-top: 5px;
}

/* ========================================================================
   BOUTONS (Voir détails / Réserver)
   ======================================================================== */

#te-lightbox-spectacle-boutons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: auto 0 30px;
}

@media all and (max-width: 767px) {
    #te-lightbox-spectacle-boutons {
        margin: 40px 0 50px;
    }
}

/* Boutons Paris */
.site-paris #te-lightbox-spectacle-boutons a.voir-details {
    background-color: #FFFFFF !important;
    color: #dd1c1a !important;
}

.site-paris #te-lightbox-spectacle-boutons a.voir-details:hover {
    background-color: #dd1c1a !important;
    color: #FFFFFF !important;
}

.site-paris #te-lightbox-spectacle-boutons a.reserver {
    background-color: #dd1c1a !important;
    border-color: #dd1c1a;
    color: #FFFFFF !important;
}

.site-paris #te-lightbox-spectacle-boutons a.reserver:hover {
    background-color: #FFFFFF !important;
    border-color: #dd1c1a;
    color: #dd1c1a !important;
}

/* Boutons Festival Avignon (sur site Paris) */
.site-paris.festival-davignon #te-lightbox-spectacle-boutons a.voir-details {
    background-color: #FFFFFF !important;
    color: #336699 !important;
}

.site-paris.festival-davignon #te-lightbox-spectacle-boutons a.voir-details:hover {
    background-color: #336699 !important;
    color: #FFFFFF !important;
}

.site-paris.festival-davignon #te-lightbox-spectacle-boutons a.reserver {
    background-color: #336699 !important;
    border-color: #336699;
    color: #FFFFFF !important;
}

.site-paris.festival-davignon #te-lightbox-spectacle-boutons a.reserver:hover {
    background-color: #FFFFFF !important;
    border-color: #336699;
    color: #336699 !important;
}

/* Boutons Avignon */
.site-avignon #te-lightbox-spectacle-boutons a.voir-details {
    background-color: #FFFFFF !important;
    color: #336699 !important;
}

.site-avignon #te-lightbox-spectacle-boutons a.voir-details:hover {
    background-color: #336699 !important;
    color: #FFFFFF !important;
}

.site-avignon #te-lightbox-spectacle-boutons a.reserver {
    background-color: #336699 !important;
    border-color: #336699;
    color: #FFFFFF !important;
}

.site-avignon #te-lightbox-spectacle-boutons a.reserver:hover {
    background-color: #FFFFFF !important;
    border-color: #336699;
    color: #336699 !important;
}

/* ========================================================================
   BOUTON FERMETURE (croix)
   ======================================================================== */

.te-lightbox-close {
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 1100;
    opacity: 0.25;
}

@media all and (max-width: 980px) {
    .te-lightbox-close {
        top: 0px;
    }
}

.te-lightbox-close:hover {
    opacity: 1;
}

.te-lightbox-close span {
    display: block;
    width: 30px;
    height: 4px;
    background: black;
    transition: 0.3s;
}

.te-lightbox-close span:nth-child(1) {
    transform: rotate(45deg);
}

.te-lightbox-close span:nth-child(2) {
    transform: rotate(-45deg);
    margin-top: -4px;
}