.layout-page {
    padding-top: 100px;
}

h1 {
}

h1:before {
    content: '';
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 30px;
    height: 3px;
    background-color: var(--orange);
    margin-right: 10px;
    border-radius: 10px;
}

h2 {
    margin-bottom: 20px !important;
}

.subnavigation {
    display: flex;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 50px;
    align-items: center;
}

.subnavigation ul {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 1%;
    flex-wrap: wrap;
}

.subnavigation li {
    display: inline-block;
    margin: 0;
}

.subnavigation li a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #353535;
    text-decoration: none;
    letter-spacing: 0.0em;
    white-space: nowrap;
}

.subnavigation li.selected:after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--orange);
    margin-top: 5px;
    border-radius: 10px;
}

.subnavigation li:hover:after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color:var(--orange);
    margin-top: 5px;
}


.layout-content {
}

/* ----------- .bloc-programmes ----------- */

.bloc-programmes {
    background-size: cover;
    max-width: 800px;
    font-size: 0;
    margin-left: auto;
    margin-right: auto;
}

.bloc-programmes>div {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    font-size: 0;
    flex-direction: column;
    align-items: center;
}

.bloc-programmes>div>h2 {
    text-align: center;
    font-size: 35px;
    color: var(--orange);
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 40px;
}

.bloc-programmes figure {
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 30px !important;
    border-top-left-radius: 0px !important;
    padding: 30px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    box-shadow: -5px -5px 10px 0px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.bloc-programmes figure figcaption {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: var(--orange);
    margin-top: 0px !important;
    cursor: pointer;
}

.bloc-programmes figure figcaption a {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 50px;
    font-size: 18px !important;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transform: translateY(100px);
    font-weight: 400;
    cursor: pointer;
}

.bloc-programmes figure:hover figcaption {
    display: block;
}

.bloc-programmes figure:hover figcaption a {
    animation-name: show_programme;
    animation-delay: 0s;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.bloc-programmes>div>div {
    padding: 10px;
}

.bloc-programmes figure:before {
    content: '';
    float: left;
    padding-top: 62%;
}


@keyframes show_programme {
    from {
        transform: translateY(100px);
    }

    to {
        transform: translateY(0px);
    }
}



@media screen and (max-width:1024px) {

    .layout-page.single {
        padding-top: 40px;
    }

    .headband .navigation {
        display: none;
    }
    
    .headband .category {
        /* font-size: 50px; */
        top: 60%;
        line-height: 0.9;
    }
    
    .headband .logo {
        width: 130px;
    }


    .subnavigation {
        position: relative;
        height: auto !important;
        padding-top: 30px;
        background-color: var(--orange);
        padding-bottom: 30px;
    }

    .subnavigation ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
     
    .subnavigation li {
        margin: 5px 10px;
        position: relative;
    }
    
    .subnavigation li a {
        position: relative;
        line-height: 25px;
        color: #fff;
    }   
     
    
    .subnavigation li:hover:after {
        position: absolute;
        margin-top: 0 !important;
        top: 25px;
    }
    
    .subnavigation li.selected:after {
        position: absolute;
        margin-top: 0 !important;
        top: 25px;
    }
    
}