main{
    background-color: #f6f7f3;
}
#lessites{
    .content_container{
        // background-color: red;
        display: flex;
        flex-direction: column;
        align-items: center;
        #block-quartiers-de-demain-titredepage{
            margin-top: 1rem;
            width: fit-content;
            margin-left: 10%;
            margin: auto;
            padding-left: 20%;

            @media(max-width: 810px){
                margin-top: 14rem;
                grid-column: 2 /span 9;
                // margin-left: 0;            
                padding-left: 0%;
            } 

            h1{
                text-align: center;
                text-transform: none;
                color: $blue_QDD;
                font-size: 2rem;
                font-weight: 500;
            }
        }

        .view{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            width: 100vw;

            .header_view {
                // flex: 0 1 100%;
                // position: relative !important;
                height: fit-content;
                z-index: 0;
                width: 100vw;
                margin-bottom: 2rem;
                @media (max-width:1100px) {
                    flex: 0 1 100%;
                    position: relative !important;
                }
                
                #block-sitesmap-block{
                    // margin: auto;
                    // width: 30vw;
                    width: 30vw;
                    height: fit-content;
                    top: 230px;
                    position: fixed;
                    @media (max-width:1100px) {
                        margin: auto;
                        width: 30vw;
                        position: relative !important;
                        top: 0px;

                    }
                    @media(max-width: 810px){
                        width: 95vw;
                    }
                  
                    #sites-map-container{
                        width: 100%;
                        @media(max-width: 810px){
                            height:fit-content;
                        }
                        h2{display: none;}
                    }
                }
               
            }

            .views-row-wrapper{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                width: 60%;
                margin: auto;
                padding-left: 10%;
                gap: 25px;
                margin-right: 10%;
                @media (max-width:1100px) {
                    padding-left: 0;
                    margin-right: auto;
                    width: 80%;
                }
                .views-row{
                    width: 18%;
                    margin-bottom: 2rem;
                    font-size: 0.4rem ;

                    @media(max-width: 810px){
                        width: 45%;
                    }
                    @media(max-width: 550px){
                        font-size: 0.7rem ;
                    }
                    .views-field-title .field-content a{
                        color: $blue_QDD;
                        font-family: "gilroy-bold";
                        padding-top: 0.5rem;    
                        font-size: 0.55rem ;
                        @media(max-width: 550px){
                            font-size: 0.7rem ;
                        }
                    }
                    .views-field-field-images .field-content img{
                        width: 100%;
                        height: auto;
                        aspect-ratio: 1 / 1;
                        object-fit: cover;
                    }
                }
    
    
            }
        }
    }
}

