#bibliotheque #main {
    width: 100%;
    margin-top: 0;
}
#bibliotheque #content-wrapper {
    width: 100%;
}
#bibliotheque #content {
    max-width: 1220px;
    margin: 0 auto;
}
.bibli_wrp {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 588px;
}
#bibliotheque #js-product-list-header2 .card {
    box-shadow: none !important;
    background-color: var(--blue_alliantz);
}
#bibliotheque #js-product-list-header2 .block-category {
    padding: 0.5rem 0 1.25rem 0;
    min-height: auto !important;
}
#bibliotheque #js-product-list-header2 ol {
    min-height: 36px !important;
}
.left_wrapper{
    width: 40%;
    scrollbar-color: #E44E15 #e6e7e8;
    scrollbar-width: thin;
    max-height: 600px;
    overflow: auto;
}

.left_wrapper::-webkit-scrollbar{
    background-color: #e6e7e8;
    width: 7px;
}
.left_wrapper::-webkit-scrollbar-thumb{
    background-color: #E44E15;
}
.left_wrapper::-webkit-scrollbar-button{
    display: none;
}
.left_wrapper li.file{
    display: none;
}
.level-0.dir_content{
    margin-left: 0 !important;
    height: auto !important;
}
.files_viewer{
    width: 60%;
    display: grid;
    flex-wrap: wrap;
    align-content: flex-start;
    box-shadow: inset 2px 2px 5px #f0f0f0, inset -5px -5px 10px #fff;
    grid-template-columns: repeat(auto-fill,minmax(245px, 1fr));
    gap: 2px;
}
.dir_content {
    max-height: 0;
    overflow: hidden;
    transition:max-height 0.3s ease-in-out;
    width: 100%;
    position: relative;
}
.dir_content.active {
    display: flex;
    flex-wrap: wrap;
    max-height: 10000px;
    transition:max-height 0.3s ease-in-out;
    position: relative;
}
.level-0.dir_content{
    height: auto;
    max-height: unset;
    display: flex;
    flex-wrap: wrap;
}
.directory .dir_type{
    display: block;
    background-image: url('../images/folder.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 40px;
    height: 40px;
    background-position: center;
    position: relative;
}
.directory .dir_name{
    display: block;
    padding: 0 0 0 10px;
    color: rgba(0, 0, 0, 0.64);
    font-weight: bold;
    text-transform: uppercase;
}
.directory {
     display: flex;
     flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0;
 }
.directory.has_file .chevron{
    opacity: 0;
}
.directory .chevron{
    transform-origin: unset;
    width: 15px;
    height: 15px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: rotateZ(0deg);
    transition: 0.3s ease-in-out;
}
.directory.active .chevron{
    transform: rotateZ(90deg);
}
.directory a {
    font-size: 14px;
    padding: 5px 10px !important;
}
.directory > a:first-child {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.directory > a > span:first-child {
     color: black !important;
     font-size: 25px;
     font-weight: 700;
     padding: 10px;
     display: block;
 }
.dir_content .directory.has_file {
    /*border-left: 2px solid;*/
}
.num_files {
    background-color: #E44E15;
    border-radius: 50%;
    color: white;
    font-size: 11px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 70%;
}
.file {
    width: 100%;
    height: initial;
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e1e1 !important;
    padding: 10px 5px !important;
    max-width: 100%;
    background: linear-gradient(-145deg, #fff, #fff);
    box-shadow: 1px 1px 3px #d9d9d9, -1px -1px 3px #fff;
}
.file a{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.file_info {
    width: 100%;
    font-size: 12px;
    display: flex;
    color: #c4c4c4;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.file_info span{
    /*width: 100%;*/
    min-width: 15%;
    padding: 0 10px;
}
.file_type, .page-search .file_type {
    background-image: url('../images/ico_pdf.png');
    margin-right: 10px;
    background-color: white;
    border-radius: 3px;
    display: flex;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    height: 40px;
    background-size: 100%;
    width: 40px;
    min-width: 40px;
}
.page-search .file_ref {
    max-width: 145px;
}
ul.active {
    border-left: 1px solid #D0D0D0;
}

@media(max-width: 1080px) {

    .bibli_wrp {
        position: relative;
        min-height: 400px;
    }
    .left_wrapper {
        width: 100%;
        position: absolute;
        background-color: #e6e7e8;
        height: calc(100vh - 300px);
        left: -100%;
        z-index: 10;
        transition: 0.2s ease-in-out;
    }
    .left_wrapper.open{
        left:0%;
    }
    #bibliotheque #content {
        width: 100%;
        padding: 5px 5px;
    }

    .files_viewer .file {
        display: flex;
        height: fit-content !important;
        flex-direction: row;
        padding: 5px 5px !important;
        margin: 0;
    }
    .files_viewer .file a {
        height: fit-content;
    }


    .files_viewer {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: flex-start;
        align-items: baseline;
        height: fit-content;
    }
    .bibli_wrp .file {
        width: calc(50% - 5px);
    }
    .bibli_hamb {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><path style="fill:white" d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>');
        display: block;
        width: 25px;
        height: 25px;
        margin-right: 10px;
        background-repeat: no-repeat;
        background-size: 80%;
        background-position: center;
    }
    #bibliotheque .block-category h1 {
        display: flex;
        justify-content: space-between;
    }


}
@media(max-width: 768px) {

    .bibli_wrp .file {
        width: calc(100% - 5px);
    }


}
