
// Calendrier

#home{
   
    * { box-sizing: border-box; }
    .__container-deroulement{
        background-color: #f3f5fcff;
        background-image: url('../../../dist/assets/img/pillier-1-background.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position-x: -20%;
        @media(max-width:1090px){
            cursor:grab;
        }
        position: relative;
        
        .config_pages--type--deroulement{
            height: fit-content;
            padding-top: 4rem;
            padding-bottom: 3rem;
            .field_field_title{
                width: fit-content;
                margin: auto;
                font-size: 1.7rem;
                padding-left: 0.5rem;
                width: fit-content;
                font-family: "gilroy-semibold";
                padding-bottom: 0.5rem;
            }
            .field_field_phase{
                height: 100%;
                .timeline{
                    height: 100%;
                    .__timeline-content{
                        padding-top: 4rem;

                        .slick-track{
                            height: fit-content;
                            border-bottom: solid black 1px;
                            margin-bottom: 1rem;
                            @media(max-width:500px){
                                flex-direction: column;
                                height: fit-content;
                            }
                            
                            .paragraph--type--phase-deroulement::after {
                                content: '';
                                position: absolute;
                                bottom: -0.2rem; // Juste en dessous ou collé à la border-bottom
                                left: 50%;
                                transform: translateX(-50%);
                                width: 10px;
                                height: 10px;
                                background-color: black;
                                border-radius: 50%;
                                z-index: 2;
                                @media(max-width:810px){
                                    bottom: -0.4rem;
                                }

                              }
                              
                            .paragraph--type--phase-deroulement{
                                position: relative;
                                display: flex;
                                flex-direction: row;
                                align-items: center;
                                padding-right: 1rem;
                                @media(max-width:1100px){
                                    flex-direction: column;
                                    align-items: baseline;
                                    padding-bottom: 1rem;
                                    padding-left: 4rem;
                                }
                                
                                .date{
                                    width: fit-content !important;
                                    display: flex;
                                    flex-direction: column;
                                    padding-right: 1rem;
                                    @media(max-width:500px){
                                        padding-right: 0rem;
                                    }
                                    .field_field_date_de_jour{
                                        font-size: 2.5rem;
                                        line-height: 0.3rem;
                                        @media(max-width:550px){
                                            font-size: 3rem;
                                            line-height: 1.3rem;
                                        }
                                    }
                                    .field_field_date_de_moi{
                                        padding-right: 0.2rem;
                                        text-transform: uppercase;
                                        font-size: 4rem;
                                        display: inline-flex;
                                        @media(max-width:550px){
                                            font-size: 4rem;
                                        }
                                        .after{
                                            &::after{
                                                content: '.';
                                            }
                                        }
                                    }
                                    
                                    .annee{
                                        display: flex;
                                        align-items: center;
                                        font-size: 0.6rem;
                                        position: relative;
                                        top: -10px;
                                        @media(max-width:1090px){
                                            font-size: 1.2rem;
                                        }
                                        .field_field_date_de_annee{
                                            display: inline-flex;
                                            align-items: center;
                                            &::after{
                                                content: url('../img/noun-arrow-to-right-black.svg');
                                                display: flex;
                                            }
                                            
                                        }
                                        .field_field_date_de_annee.only{
                                            display: inline-flex;
                                            align-items: center;
                                            &::after{
                                                content: '';
                                                display: flex;
                                            }
                                            
                                        }
                                        .date2{
                                            display: inline-flex;
                                            
                                            .field_field_date_a_jour{
                                                padding-right: 0.2rem;
                                            }
                                            .field_field_date_a_moi{
                                                padding-right: 0.2rem;
                        
                                            }
                                        }
                        
                                    }
                                        
                                }
                        
                                .text{
                                    border: solid $blue_QDD 1px;
                                    border-radius: 5%;
                                    padding: 0.6rem 0.6rem;
                                    line-height: 1.1;
                                    width: 41%;
                                    min-width: 35%;
                                    height: 300px;
                                    margin-bottom: 1rem;
                                    hyphens: auto;
                                    
                                    @media(max-width:1090px){
                                        height: 200px;
                                        min-width: 80%;
                                    }
                                    @media(max-width:820px){
                                        height: 186px;
                                        min-width: 80%;
                                    }
                                    .field_field_titre{
                                        font-size: 0.7rem;
                                        // font-weight: 800;
                                        font-family: 'gilroy-bold';
                                        @media(max-width:1090px){
                                            font-size: 1rem;
                                        }
                                    }
                                    .field_field_description{
                                        font-family: 'gilroy-regular';
                                        p{
                                            font-size: 0.65rem !important;
                                            margin: 0;  
                                            @media(max-width:1090px){
                                                font-size: 1rem !important;
                                            }
                                        }
                                        .field--label-above{
                                            display: none;
                                        }
                                    }
                        
                                }        
                            }
                        }
                    }
                    
                }
            }
            .field_field_calendrier{
                margin-top: 2rem;
                .file--application-pdf{
                    width: fit-content;
                    padding-left: 0.5rem;
                    background: black;
                    display: flex;
                    justify-content: center;
                    flex: 0 0 40%;
                    margin-top: 1rem;
                    margin-bottom: 2rem !important;
                    color: white;
                    background: black;
                    text-transform: uppercase;
                    font-size: 0.6rem;
                    margin: auto;
                    padding-top: 0.1rem;
                    padding-bottom: 0.1rem;
                    @media (max-width:810px) {  
                        margin-left: 0;
                        margin: auto;
                    }
        
                    a{
                        display: inline-flex;
                        align-items: center;
                        color: white;
                        text-transform: uppercase;
                        font-size: 0.5rem;
                        width: max-content;
                        
                        svg{
                            display: none;
                        }
                        &::after{
                            display: inline-flex;
                            content: url("../img/noun-arrow-to-right.svg");
                            padding-right: 0.2rem;
                            padding-left: 0.2rem;
                            height: 25px;
                        }
                    }   
                }
                span:nth-child(2){
                    display: none;
                }
            }
        }
        

        


    }
}