/* ### ############ ### */
/* ### PRESENTATION ### */
/* ### ############ ### */

h1.page-title{
    max-width: 475px;
}

#festival .block-festival-info {
    display: flex;
    justify-content: center;
}
#festival .block-festival-info .left-col ,
#festival .block-festival-info .right-col {
    width: 40%;
    padding-top: 20px;
    padding-left: 20px;
}

/* ### COLONNE GAUCHE ### */
#festival .block-festival-info .left-col{
    display: flex;
    flex-direction: column;
    margin-right: 60px;
}
#festival .block-festival-info .left-col h2:before{
    display: none;
}
#festival .block-festival-info .festival-dates {
    font-weight: 900;
    color: var(--green-color);
}
#festival .block-festival-info .festival-place {
    text-transform: uppercase;
}
#festival .block-festival-info a.festival-pdf {
    padding: 10px 15px;
    background: var(--green-color);
    color: #fff;
    font-weight: bold;
    width: 100%;
    display: inline-block;
    transition: .1s;
}
#festival .block-festival-info a.festival-pdf:hover {
    outline: 4px dashed var(--green-color);
    background-color: transparent;
    color: var(--green-color);
}

/* ### COLONNE DROITE ### */
#festival .block-festival-info .right-col img{
    width: 80%;
    position: relative;
    z-index: 2;
}

/* ### ###### ### */
/* ### AGENDA ### */
/* ### ###### ### */

#festival .block-festival-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

#festival .main-title-event{
    position: relative;
}
#festival .main-title-event:before,
#festival .main-title-event:after{
    content: '';
    position: absolute;
    /* line height du text bizarre */
    top: -10px;
    width: 40px;
    height: 50px;
    background-image: url(../assets/icon/cross.svg);
    background-position: center;
    background-repeat: no-repeat;
}
#festival .main-title-event:before{
    right: calc(100% + 75px);
}
#festival .main-title-event:after{
    left: calc(100% + 75px);
}

#festival .main-title-event h2 {
    font-size: 32px;
    text-transform: initial;
}
#festival .main-title-event h2:before {
    top: -10px;
}
#festival .main-title-event h2:after{
    content: '';
    position: absolute;
    /* line height du text bizarre */
    top: -10px;
    left: calc(100% + 25px);
    width: 40px;
    height: 50px;
    background-image: url(../assets/icon/cross.svg);
    background-position: center;
    background-repeat: no-repeat;
}

#festival .events-container{
    margin-top: 50px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4 ,1fr);
    grid-gap: 20px;
    justify-content: space-between;
}

#festival .item-event{
    position: relative;
    transition: .05s;
    cursor: pointer;
    margin-bottom: 35px;
}
#festival .item-event:before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blue-color);
    content: '';
    mix-blend-mode: multiply;
    mix-blend-mode: multiply;
    opacity: .2;
}
#festival .item-event.active,
#festival .item-event:hover{
    outline: 4px dashed var(--green-color);
}

#festival .item-event .event-img-container:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-blue-color);
    content: '';
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity .1s;
    pointer-events: none;
}
#festival .item-event:hover .event-img-container:after{
    opacity: 1;
}

#festival .event-img-container img{
    width: 100%;
    height: 275px;
    object-fit: cover;
    filter: grayscale(1);
}
#festival .event-info{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#festival .event-info h3,
#festival .event-info span{
    background-color: var(--green-color);
    color: #fff;
    text-align: center;
}

#festival .event-info h3{
    font-weight: 900;
}
#festival .bubble-info-event{
    display: none;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    background-color: var(--yellow-color);
    z-index: 999;
    padding: 30px;
    justify-content: space-between;
}
#festival .bubble-info-event:before,
#festival .bubble-info-event:after {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    background-color: var(--blue-color);
}
#festival .bubble-info-event:before{
    height: 50px;
    width: 15px;
}
#festival .bubble-info-event:after {
    height: 15px;
    width: 50px;
}
#festival .bubble-info-event .left-col{
    width: 60%;
}
#festival .bubble-info-event .right-col{
    width: calc(40% - 30px);
    padding: 0;
    padding-right: 15px;
    margin: 0;
}
#festival .bubble-info-event .left-col:after{
    display: none;
}
#festival .bubble-info-event h2::before{
    display: none;
}
#festival .bubble-info-event .left-col .child-group{
    border-color: #fff;
}
#festival .bubble-info-event .right-col img{
    width: 100%;
}
#festival .bubble-info-event .right-col .close{
    position: absolute;
    top: 5px;
    right: 8px;
    width: 20px;
    height: 35px;
    background: url(../assets/icon/white-cross.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
#festival .bubble-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(256,256,256,.75);
    z-index: 998;
}