.path-ressources.basededonnees{
    .layout-content{
        .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{
                        position: relative;
                        background: url('../images/pictos/carre-contour-bleu_programme.svg');
                        background-repeat: no-repeat;
                        background-position-y: 30vh;
                        max-width: 100vw;
                        background-size: cover;


                    // bandeau filtres collections
                    .block-views-blockcollections-block-1{
                        background: $background-actus;
                        height: fit-content;
                        display: flex;
                        div{
                            width: 100%;
                        }
                        .view-id-collections{
                            height: 100%;
                            display: flex;
                           
                            
                            .view-content{
                                display: flex;
                                flex-direction: row;
                              
                                margin: auto;
                                width: 60%;
                                margin-top: 2rem;
                                margin-bottom: 2rem;
                                justify-content: space-between;
                                align-items: center;
                                .views-row{
                                    background: $white;
                                    width: 40%;
                                    height: 80%;
                                    padding: 1rem;
                                    a{
                                        color: $black;
                                        font-size: 1.5rem;    
                                        font-weight: 600;
                                    }
                                    &:hover{
                                        background: $blue-dark;
                                        a{
                                            color: $white;  
                                        }
                                    }
    
                                }
                            }
                        }
                        // .view-filters{
                        //     .views-exposed-form-base-de-donnees-block-1{
                        //         .form-item-field-type-de-ressource-target-id{
                        //             #edit-field-type-de-ressource-target-id{
                                        
                        //                 label{
                        //                     display: none;
                        //                 }
                        //             }
                                   
                        //         }
                        //     }

                        // }

                    }

                    // texte présentation
                    .block-config-pages-block{
                        margin: 2rem;
                        .field--name-field-introduction{
                            width: 65%;
                            margin: auto;
                            background: $white;
                        }
                    }

                    // grille des ressources
                    .block-views-blockbase-de-donnees-block-1{
                        margin: auto;
                        width: 60%;
                       
                        
                        .view-filters{
                            background-color: $white;
                            margin-top: 2rem;
                            margin-bottom: 2rem;
                            .views-exposed-form-base-de-donnees-block-1{
                                width: fit-content;
                                display: flex;
                                .js-form-item{
                                    width: fit-content;
                                }
                                .js-form-item-field-type-de-ressource-target-id{
                                    width: fit-content;

                                }
                            }
                        }
                        .view-content{            
                            display: flex;
                            flex-direction: row;
                            flex-wrap: wrap;
                            justify-content: space-between;
                            .views-row{
                                flex: 0 1 49%;
                                // padding: 1rem;                            
                                // width: 50%;
                                
                            }
    
                                .node-type-ressource{
    
                                    display: flex;
                                    flex-direction: column;
                                    border: 2px solid $blue-light;
                                    padding: 1rem;
                    
                                    height: fit-content;
                                    margin-bottom: 1rem;
                                    background-color: $white;
                                    &:hover{
                                        background-color: $blue-light;
                                        .field--name-field-mots-clefs{
                                            &::after{
                                                content: url("../images/pictos/noun_Arrow_3771902.svg");
                                                
                                            }
                                        }    
                                    }
                                    // &::after{
                                    //     content: url("../images/pictos/noun_Arrow_3771902.svg");
                                    //     align-self: end;
                                    //     margin-top: 1rem;
                                    // }
 
                                    .field--name-field-type-de-ressource{
                                        text-transform: uppercase;
                                        
                                        a{
                                            color: $blue-light;
                                            font-weight: 900;
                                            font-size: 0.8rem;
                                        }
                                    }
                                    .field--name-title{
                                        h2{
                                            margin: 0;
                                            a{
                                                color: $black;
                                                font-size: 1.4rem;
                                                font-weight: 600;
                        
                                            }
    
                                        }
                                    }
                                    .field--name-field-auteur-s-{
                                        font-weight: 800;
                                        p{
                                            margin: 0;
                                        }
                                        .field__label{
                                            display:none;
                                        }
                                    }
                                    .field--name-field-edition{
                                        p{
                                            margin: 0;
                                        }
                                        .field__label{
                                            display:none;
                                        }
                                    }
                                    .field--name-field-images{
                                        display: none;
                                        width: 50%;
                                        img{
                                            width: 100%;
                                            height: auto;
                                        }
                                    }
                                    .field--name-field-mots-clefs{
                                        display: inline-flex;
                                        margin-top: 2rem;
                                        
                                        &::after{
                                            content: url("../images/pictos/noun_Arrow_3771902.svg");
                                            
                                            align-self: center;
                                           
                                        }
                                        .field__item{
                                            background: $blue-dark;
                                            margin-right: 1rem;
                                            padding-left: 0.3rem;
                                            padding-right: 0.3rem;
                                           
                                            a{
                                                color: $white;
                                                font-weight: 800;
                                                vertical-align: super;
                                            }
                                        }
                                    }
                                    ul.links.inline{
                                        display: none;
                                    }
                                }
                        }
                    }

                    }

                }
            }
        }
        
    }
   

}
