.path-ressources.basededonnees{
    .layout-content{
        width: 100vw;
        .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_bdd.svg');
                        // background-repeat: no-repeat;
                        // background-position-y: 40vh;
                        // max-width: 100vw;
                        // background-size: cover;
                        display: grid;
                        grid-template-columns: 1fr repeat(8, 2fr) 1fr;



                        // bandeau filtres collections
                        .block-views-blockcollections-block-1{
                            grid-column: 1 / span 10;
                            background: $background-actus;
                            height: fit-content;
                            display: flex;
                            div:first-of-type{
                                width: 100%;
                                display: grid;
                                grid-template-columns: 1fr repeat(8, 2fr) 1fr;
                                .view-id-collections{
                                    grid-column: 3 / span 8;
                                    height: 100%;
                                    display: flex;
                                    width: 80%;
                                    // margin: auto;
                                    
                                    .view-content{
                                        display: flex;
                                        flex-direction: row;
                                        margin: auto;
                                        margin-top: 2rem;
                                        margin-bottom: 2rem;
                                        justify-content: space-between;
                                        align-items: center;
                                        
                                        .views-row{
                                            display: flex;
                                            margin: auto;
                                            background: $white;
                                            width: 46%;
                                            height: 80%;
                                            padding: 1rem;
                                            
                                            
                                            .views-field-name{
                                                .field-content{
                                                    grid-column: 3 /span 6;
 
                                                }
                                                span{
                                                
                                                    margin: 0;
                                                    padding: 1rem;
                                                    padding-bottom: 2rem;
                                                }

                                               
                                            }
                                            a{
                                                color: $black;
                                                font-size: 1.5rem;    
                                                font-weight: 600;
                                            }
                                            &:hover{
                                                background: $blue-dark;
                                                a{
                                                    color: $white;  
                                                }
                                            }
                                        
            
                                        }
                                        .active{
                                            background-color: $blue-dark;
                                            a{
                                                color: $white;  
                                            }
                                        }
                                        @media (max-width: 810px){
                                            flex-direction: column;
                                            .views-row{
                                                width: 100%;
                                                margin-top: 1rem;
                                            }
                                        }
                                    }
                                }
                                // .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;
                                //                 }
                                //             }
                                        
                                //         }
                                //     }
    
                                // }
                            }


                        }

                        //présentation général
                        .block-config-pages{
                            grid-column: 3 / span 5;
                            width: 100%;
                            margin: auto;
                        }
                        // texte présentation
                        .block-views-blockcollection--block-1{
                            grid-column: 3 / span 5;
                            // margin: 2rem;
                            // .field--name-field-introduction{
                                // width: 65%;
                                margin: auto;
                                background: $white;
                                margin-top:2rem;
                            // }
                        }

                        //button proposer une ressource
                        .block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
                            visibility: hidden;
                            // 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")
                                    
                            //     }
    
                            // }
                            
                        }
                        // grille des ressources
                        .block-views-blockbase-de-donnees-block-1{
                            // margin: auto;
                            width: 80%;
                            grid-column: 3 / span 8;
                        
                            
                            .view-filters{
                                display: none;
                                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.form-item.js-form-type-select.form-item-field-type-de-ressource-target-id.js-form-item-field-type-de-ressource-target-id{
                                        width: fit-content;
                                    }
                                    .form-item{
                                        width: fit-content;
                                    }
                                    .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;
                                margin-top: 3rem;
                                
                                .views-row{
                                    width: 49%;
                                    // padding: 1rem;                            
                                    // width: 50%;
                                    min-height: 250px;
                                    border: 2px solid $blue-light;
                                    background-color: $white;
                                    margin-bottom: 1rem;
                                    &:hover{
                                        background-color: $blue-light;    
                                    }
                                    
                                }
                                @media (max-width: 810px){
                                    flex-direction: column;
                                    .views-row{
                                        width: 100%;
                                    }
                                } 
        
                                    .node-type-ressource{
                                        display: flex;
                                        flex-direction: column;
                                        // border: 2px solid $blue-light;
                                        padding: 1rem;
                                        
                                        // &: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: flex;
                                            margin-top: 2rem;
                                            flex-direction: row;
                                            flex-wrap: wrap;
                                          
                                            
                                            // &::after{
                                            //     content: url("../images/pictos/noun_Arrow_3771902.svg");
                                                
                                            //     align-self: center;
                                            
                                            // }
                                            .field__item{
                                                
                                                margin-right: 0.5rem;
                                                padding-left: 0.3rem;
                                                padding-right: 0.3rem;
                                                font-size: 0.8rem;
                                            
                                                a{
                                                    background: $blue-dark;
                                                    color: $white;
                                                    font-weight: 800;
                                                    vertical-align: super;
                                                    padding-left: 0.1rem;
                                                    padding-right: 0.1rem;
                                                    display: inline-flex;
                                                }
                                            }
                                        }
                                        ul.links.inline{
                                            display: none;
                                        }
                                    }
                            }
                        }

                        @media (max-width:810px) {
                            display: flex;
                            flex-direction: column;
                            margin: auto;
                        }
                    
                    }

                }
            }
        }
        
    }
   

}