/*******************************************************************************/
/*  Diaporama header    */
/*******************************************************************************/
.diaporama_header
{
    position: relative;
    z-index: 0;
    height: 40rem;
    max-height: calc(100vh - 4rem);
    background-color: #FFF;
    margin-top: 4rem;
}
.page_header .diaporama_header
{
    display: none;
}
.diapo_header
{
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: anim_diapo_header 15s infinite;
    background-size: cover;
    background-position: center;
}

@keyframes anim_diapo_header
{
    0% { opacity: 0; z-index: 100;}
    5% { opacity: 1;}
    50% { opacity: 1;}
    100% { opacity: 0; z-index: 1;}
}
/*QHD*/
.diapo_header:nth-child(1)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-1.jpg');
    animation-delay: 0s;
}
.diapo_header:nth-child(2)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-2.jpg');
    animation-delay: 5s;
}
.diapo_header:nth-child(3)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-3.jpg');
    animation-delay: 10s;
}
.diapo_header:nth-child(4)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-4.jpg');
    animation-delay: 15s;
}
.diapo_header:nth-child(5)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-5.jpg');
    animation-delay: 20s;
}
.diapo_header:nth-child(6)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-6.jpg');
    animation-delay: 25s;
}
.diapo_header:nth-child(7)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-7.jpg');
    animation-delay: 30s;
}
.diapo_header:nth-child(8)
{
    background-image: url('../images/diaporama/qhd/bandeau-bcu-2022-slide-8.jpg');
    animation-delay: 35s;
}
/*FHD*/
@media only screen and (max-width: 1920px){
.diapo_header:nth-child(1)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-1.jpg');
    animation-delay: 0s;
}
.diapo_header:nth-child(2)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-2.jpg');
    animation-delay: 5s;
}
.diapo_header:nth-child(3)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-3.jpg');
    animation-delay: 10s;
}
.diapo_header:nth-child(4)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-4.jpg');
    animation-delay: 15s;
}
.diapo_header:nth-child(5)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-5.jpg');
    animation-delay: 20s;
}
.diapo_header:nth-child(6)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-6.jpg');
    animation-delay: 25s;
}
.diapo_header:nth-child(7)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-7.jpg');
    animation-delay: 30s;
}
.diapo_header:nth-child(8)
{
    background-image: url('../images/diaporama/fhd/bandeau-bcu-2022-slide-8.jpg');
    animation-delay: 35s;
}
}
/*HD*/
@media only screen and (max-width: 1280px){
.diapo_header:nth-child(1)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-1.jpg');
    animation-delay: 0s;
}
.diapo_header:nth-child(2)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-2.jpg');
    animation-delay: 5s;
}
.diapo_header:nth-child(3)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-3.jpg');
    animation-delay: 10s;
}
.diapo_header:nth-child(4)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-4.jpg');
    animation-delay: 15s;
}
.diapo_header:nth-child(5)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-5.jpg');
    animation-delay: 20s;
}
.diapo_header:nth-child(6)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-6.jpg');
    animation-delay: 25s;
}
.diapo_header:nth-child(7)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-7.jpg');
    animation-delay: 30s;
}
.diapo_header:nth-child(8)
{
    background-image: url('../images/diaporama/hd/bandeau-bcu-2022-slide-8.jpg');
    animation-delay: 35s;
}
}
/*SD*/
@media only screen and (max-width: 640px){
.diapo_header:nth-child(1)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-1.jpg');
    animation-delay: 0s;
}
.diapo_header:nth-child(2)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-2.jpg');
    animation-delay: 5s;
}
.diapo_header:nth-child(3)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-3.jpg');
    animation-delay: 10s;
}
.diapo_header:nth-child(4)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-4.jpg');
    animation-delay: 15s;
}
.diapo_header:nth-child(5)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-5.jpg');
    animation-delay: 20s;
}
.diapo_header:nth-child(6)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-6.jpg');
    animation-delay: 25s;
}
.diapo_header:nth-child(7)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-7.jpg');
    animation-delay: 30s;
}
.diapo_header:nth-child(8)
{
    background-image: url('../images/diaporama/sd/bandeau-bcu-2022-slide-8.jpg');
    animation-delay: 35s;
}
.diaporama_header
{
    height: 18rem;
}
}
.diapo_header
{
    animation: anim_diapo_header 40s infinite;
}
