/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 15 août 2024, 10:14:14
    Author     : quentinmeneghin
*/


/* Agenda */

.mt-events-container{
    margin: 50px auto 30px;
}
.mt-events-content{
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
}
.mt-event-container{
    transition: all 0.3s ease-out;
    position: relative;
    width: calc(50% - 10px);
    margin-bottom: 20px;
}
.mt-event-container:hover{
    transform: scale(1.02);
}
.mt-event-container.mt-event-container-large{
    width: 100%;
}

a.mt-event-link{
    display: block;
    color: #FFFFFF;
}
.mt-event-link img{
    display: block;
    width: 100%;
    height: auto;
}
.mt-event-informations-container{
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
}
.mt-event-informations-container .mt-event-informations-content{
    display: block;
    background: rgba(114, 34, 31, 0.5);
    padding: 0 15px 15px;
}
.mt-event-informations-container .mt-event-informations-content h2{
    color: inherit;
    font-family: "Authentic Signature", sans-serif;
    font-size: 4.5rem;
    line-height: normal;
    margin: 0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}
.mt-event-informations-container .mt-event-informations-content h2 span:first-child{
    line-height: 2.5rem;
}
.mt-event-informations-container .mt-event-informations-content h2 .mt-status-event{
    min-width: 70px;
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    padding: 5px 0;
    align-self: start;
    line-height: normal;
    border: solid 1px #FFFFFF;
    border-radius: 3px;
    margin-top: -10px;
}
.mt-event-informations-container .mt-event-informations-content h2 .mt-status-event.coming{
    background: #FFFFFF;
    color: rgba(114, 34, 31, 1);
}
.mt-event-informations-container .mt-event-informations-content h2 .mt-status-event.past{
    background: #cd3a31;
    color: #FFFFFF;
}

.mt-event-informations-container .mt-event-informations-content > span{
    display: block;
    padding-left: 28px;
}
.mt-event-informations-container .mt-categories-event{
    font-family: "naturis heading", sans-serif;
    font-size: 1.5rem;
    margin-top: 0;
}
.mt-event-informations-container .mt-date-location-event{
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: -8px;
}

/* When no events */
.mt-no-events{
    background: rgba(114, 34, 31, 1);
    width: 100%;
    padding: 20px;
}
.mt-no-events p{
    font-size: 1rem;
    color: #FFFFFF;
    margin: 0;
    font-style: italic;
    font-weight: 700;
    font-size: 0.75rem;
}



/* Home events design override */
.mt-home-events-container .mt-event-informations-container .mt-event-informations-content{
    background: none;
}
.mt-home-events-container .mt-events-content{
    flex-wrap: nowrap;
    gap: 10px 10px;
}
.mt-home-events-container .mt-event-container{
    width: 25%;
}
.mt-home-events-container .mt-event-container:hover{
    transform: none;
}
.mt-home-events-container .mt-event-container img{
    width: 100%;
    margin: auto;
    max-width: 180px;
    transition: all 0.3s ease-out;
}
.mt-home-events-container .mt-event-container:hover img{
    transform: scale(1.1);
}

.mt-home-events-container h3{
    text-align: center;
    color: var( --e-global-color-47b2c40 );
    font-family: "naturis heading", Sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1;
}
.mt-home-events-container .mt-event-informations-container{
    position: static;
    line-height: normal;
    margin-top: 20px;
}
.mt-home-events-container .mt-event-informations-container .mt-categories-event{
    color: var( --e-global-color-32d6921 );
    font-family: "Lato", Sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
    text-transform: uppercase;
    font-style: normal;
    line-height: 0.875rem;
    text-align: center;
    padding-left: 0;
}
.mt-home-events-container .mt-event-informations-container .mt-date-location-event{
    text-align: center;
    color: var( --e-global-color-47b2c40 );
    font-family: "Lato", Sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    text-transform: none;
    font-style: normal;
    line-height: 1rem;
    padding-left: 0;
    margin-top: 1rem;
}


/* MEDIA QUERIES */
@media screen and (max-width: 1024px){
    .mt-event-container{
        width: 100%;
    }
    .mt-event-informations-container .mt-event-informations-content{
        padding: 0 15px 10px;
    }
    .mt-event-informations-container .mt-event-informations-content h2{
        font-size: 9vw;
    }
    .mt-event-informations-container .mt-event-informations-content h2 span:first-child{
        line-height: 5vw;
    }
    .mt-event-informations-container .mt-categories-event{
        font-size: 3vw;
        margin-top: 5px;
    }
    .mt-event-informations-container .mt-date-location-event{
        font-size: 1.5vw;
        margin-top: -12px;
    }
}


@media screen and (max-width: 768px){
    .mt-home-events-container .mt-event-container{
        margin-bottom: 40px;
    }
    .mt-event-informations-container .mt-event-informations-content > span{
        padding-left: 10px;
    }
    .mt-event-informations-container .mt-event-informations-content{
        padding: 0 10px 10px;
    }
    .mt-event-informations-container .mt-event-informations-content h2{
        padding-top: 10px;
    }
    .mt-event-informations-container .mt-event-informations-content h2 span:first-child{
        line-height: 7vw;
    }
    .mt-event-informations-container .mt-event-informations-content h2 .mt-status-event{
        margin-top: 0;
    }
    .mt-event-informations-container .mt-categories-event{
        font-size: 0.9375rem;
        margin-top: 2px;
    }
    .mt-event-informations-container .mt-date-location-event{
        font-size: 0.6875rem;
        margin-top: -5px;
    }

    .mt-home-events-container .mt-events-content{
        flex-wrap: wrap;
    }
    .mt-home-events-container .mt-event-container{
        width: 100%;
    }
}