.path-projets{

        .region-content{
            #block-contenudelapageprincipale{
                span{
                    padding-top: 3rem;
                    padding-bottom: 3rem;
                    vertical-align: middle;
                    h2{
                        margin: 0;
                        padding-top: 2rem;
                        height: 4rem;
                        color: $white;
                        font-family: "Source Code Pro";
                        text-transform: uppercase;
                        background: $blue-light; 
                        padding-left: 13%;
                       
                    }
                }
                .layout--onecol{
                    .block-region-content{
                        display: grid;
                        grid-template-columns: 1fr repeat(7, 1fr) 1fr;
                        
                        @media (max-width: 810px){
                            display: flex;
                            flex-direction: column;
                        }
                        
                        /// carte
                        .block-views-blockprojets-block-2{
                            grid-column: 1 / span 10;
                            .leaflet-popup-content{
                                overflow: scroll;
                                height: 210px;
                                margin: 17px 10px 17px 20px !important;
                                padding-right: 10px;
                                a {
                                    display: none;
                                }
                                a:nth-child(1){
                                    display: block !important;
                                }
                                a:last-of-type{
                                    display: block !important;
                                }
                                #text{display: none;}

                            }
                        }
    
                        //texte de présentation
                        .block-config-pages-block{
                            
                            grid-column: 3 / span 5;
                            // width: 60%;
                            margin: auto;
                            margin-bottom: 4rem;
                            span h2{
                                display: none;
                            }
                            .config_pages--type--les-projets{
                                .field--name-field-introduction{
                                    p:nth-of-type(1){
                                        font-size: 1.5rem;
                                        @media (max-width: 810px){
                                            font-size: 1.3rem;
                                        } 
                                    }
                                }
                            }

                            @media (max-width: 810px){
                                padding: 1rem;
                            }
                           
                        }
                        
                        // bouton projets incubés
                        .block-block-contentaffaf220-dd27-4c9d-ae02-8044c2662220{
                            grid-column: 8 / span 9;
                            margin-top: 4rem;
                            background-color: $blue-light;
                            height: fit-content;
                            width: 60%;
                            margin-left: 2rem;
                            grid-row: 2;
                            .display{
                                display: block;
                            }
                            

                            .field--name-field-lien{
                                display: flex;
                                flex-direction: column;
                                margin-top: 2rem;
                                margin-bottom: 2rem;
                                margin-left: 1.5rem;
                                margin-right: 1.5rem;
                                text-align: center;
                                a{
                                    font-weight: 800;
                                    color: $white;
                                    font-size: 1.3rem;
                                } 
                                &:after{
                                    margin-left: auto;
                                    padding-top: 1rem;
                                    display: block;
                                    content:url("../images/pictos/noun_Arrow_3771902.svg")
                                    
                                }
    
                            }

                            @media (max-width: 810px){
                                margin: auto;
                            }

                        }

                        //bouton imprimer pdf
                        .block-block-content6f7a1e47-526a-438b-af42-7a7d66c9b282{
                            grid-column: 2 / span 7;
                            padding-left: 0.5rem;
                            margin-bottom: 2rem;
                            .field--name-field-lien{
                                
                                a{
                                    color:white;
                                
                                font-weight: 600;
                                text-transform: uppercase;
                                padding: 0.3rem 0.7rem;
                                background-color: $blue-light; 
                                border: none;
                                }
                            }
                            &:after{
                                content:'ou bien';
                                display: block;
                                margin-top:1rem;
                                
                            }

                        }
            
                        //partie projets
                        .block-views-blockprojets-block-1{
                            grid-column: 2 / span 7;
                            // width: 80%;

                            @media (max-width: 810px){
                                padding: 1rem;
                            }

                            .view-projets{
                               .buttons-filtres-ressources{display: none;}
                                // width: 80%;
                                margin: auto;

                                //filtres
                                #filtres {
                                    scroll-margin-top: 10rem; 
                                  }
                                .view-filters{
                                    // margin-top: 4rem;
                                    padding-left: 0.5rem;
                                    display: flex;
                                    flex-direction: column;
                                    @media (max-width: 479px){
                                        flex-direction: column;
                                        padding-bottom: 3rem;
                                        margin-top: 0rem;
                                    }
                                  
                                    &::before{
                                        content: 'Filtrer les projets pour les visualiser en ligne :';
                                        margin-right: 2rem;
                                        margin-bottom: 1rem;
                                        // margin-left: 0.5rem;
                                        font-weight: 900;
                                        // width: 160px;
                                        min-width: fit-content;
                                        @media (max-width: 479px){
                                            padding-bottom: 1rem;
                                        }
                                    } 
                                    .form-actions{
                                        margin-right: 1rem;
                                        margin-bottom: 1rem;
                                    }           
                                }
            
                                //grille de projets
                                .view-content .view-type-slide .views-row-wrapper{
                                    margin-top: 2rem;
                                    display: flex;
                                    flex-direction: row;
                                    flex-wrap: wrap;
                                    @media (max-width: 810px){
                                        flex-direction: column;
                                    }
                                    
                                    .views-row{
                                        width: 25%;
                                        // flex: 0 0 25%;
                                        @media (max-width: 810px){
                                            
                                            width: 100%;
                                        }
                                    }
            
                                }
                                .node-type-projet{
                                    color: $blue-dark;
                                    line-height: 1.5rem;
                                    padding: 0.5rem;
                                    padding-right: 1rem;
                                    padding-left: 1rem;

                                    transition:
                                    transform 0.3s ease,
                                    box-shadow 0.3s ease;
                            
                                    transform-origin: center;

                                    @media (max-width: 479px){
                                        padding-left: 0rem;
                                        padding-right: 0rem;
                                        padding-top: 2rem;
                                    }
                                    &:hover{
                                        transform: translateY(-5px);
                                    }

                                    div:first-child{                
                                        display: flex;
                                        flex-direction: column;
                                   
                                        a{
                                            color: $blue-dark;
                                        } 
                                        .field--name-field-photo {
                                            order:1;
                                            .field__item{
                                                display:none;
                                            }
                                            .field__item:first-child{
                                                display:block;
                                            }
                                            img{  
                                                width: 100%; 
                                                max-height: 175px;
                                                object-fit: cover;
                                            }
                                            &::after{ 
                                                display: block;
                                                content:url('data:image/svg+xml,<svg width="160" height="25" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="2.5"/></svg>');
                                            }
                                        }
                                        .field--name-field-adresse{
                                            display: none;                                 
                                        }
                                        .field--name-field-sous-titre{
                                            margin-top: 0.5rem;
                                            font-size: 0.9rem;
                                            font-weight: 800;
                                            order: 4;
                                        }
                                        .field--name-title{
                                            order: 4;
                                            margin-top: 0.5rem;
                                            font-size: 0.8rem;
                                            font-weight: 800;
                                            h2{margin: 0;}
                                        }
            
                                        .field--name-field-incube{
                                            order:5;
                                            color: red;
                                            margin-top: 0.8rem;
                                            font-size: 0.7rem;
                                        }
                                        .field--name-field-region{
                                            display: none;
                                
                                        }
                                        .field--name-field-type-de-moa{
                                            display: none;
                                        }
                                        .field--name-field-type-de-projet{
                                            display: none;
                                        }
                                        .field--name-field-etape-du-projet{
                                            display: none;
                                        }
                                        .ville-region{
                                            order: 2;
                                            display: flex;
                                            flex-wrap: wrap;
                                            flex-direction: row;
                                            font-size: 0.9rem;
                                            
                                            .field--name-field-adresse{
                                                display: flex;
                                                flex: 0 1 auto;
                                                width: auto;
                                                min-width: 0;
                                                text-transform: uppercase;
                                                line-height: 1.3;
                                                font-weight: 800;
                                               
                                                .address{
                                                    display: flex;
                                                    margin: 0;
                                                    flex-wrap: wrap;
                                                    min-width: 0;
                                                    .postal-code{
                                                        display: none;
                                                    }
                                                    .locality{
                                                        padding-top: 0 !important;
                                                        padding-bottom: 0 !important;
                                                        &::after{
                                                            content:",";
                                                            margin-right: 0.3rem;
                                                        }
                                                    }  
                                                    .country{
                                                        display: none;
                                                        padding-top: 0 !important;
                                                        padding-bottom: 0 !important;
                                                    }                                      }
                                            }
                                            .field--name-field-region{
                                                display: flex;
                                                min-width: 0;
                                                flex: 0 1 auto;
                                                width: auto;
                                                overflow-wrap: break-word;
                                                text-transform: uppercase;
                                                font-weight: 800;
                                                padding-top: 0 !important;
                                                padding-bottom: 0 !important;
                                                line-height: 1.3;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

}