

#sous_nav{
    margin: 0!important;
}
#container_livre{
    width: 100%;
    padding: 2%;
    background-color: #578984;
    margin-top: 5%;
}
.template{
    display: flex;
    width: 100%;
    position: relative;
    min-height:100vh;
}
.menu_template{
    width: 25%;
    background-color: #40605d8e;
    margin-top: 5%;
    padding: 2%;
    position: absolute;
}
.close_filter{
    width: 6%;
    position: absolute;
    top:3%;
    right:7%;
    display: none;
    z-index: 9999;
}
#sous_menu{
    margin-top: 2%;
}
.is_top_menu{
    width: 100%;
}
.sous_section{
    display: flex;
    gap:2%;
    flex-wrap: wrap;
    width: 100%;
    padding: 0% 1% 1% 0%;

}
.el_section{
    margin-top: 1%;
    cursor: pointer;
    background-color: #40605d;
    padding: 0.75%;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.137);
    margin-top: 1%;
}
.el_side_bar{
    cursor: pointer;
    width: fit-content;
    text-align: left;
}
#container_livre_grid{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 5%;
    justify-content: start;
    margin-left: 25%;
    padding-bottom: 5%;
}
.articles{
    width: 25%;
    padding-bottom: 8%;
    padding-top: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.089);
}
.container_img{
    width: 62%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 2%;
}
.img_article{
    width: 100%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    height:auto;
    margin-top: 5%;
}
#text_under_epoque{
    width: 60%;
}
.p-resum-article{
    width: 100%;
    padding: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.titre-article-span{
    width: 100%;
    text-align: left;
}
.margin_top3{
    margin-top: 8%;
}
.books-btn-red{
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}
.price{
    width: 100%;
    text-align: right;
}
.see_prod{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.349)!important;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: 0.5s ease;
    pointer-events: none;
}
.container_img:hover .see_prod{
    opacity: 1;
}
.resum{
    width: 79%;
    padding-top: 5%;
}
.text_art{
    text-align: justify;
}
.menu{
    margin-top: 5%;
    display: flex;
    height:fit-content;
}
#padding_menu{
    width: 25%;
    height:100%;
}
#container_menu{
    width: 65%;
}
#menu1{
    display: flex;
    gap:2%;
}
#menu2{
    margin-top: 1%;
    display: flex;
    gap:2%;
    flex-wrap: wrap;
}
.el_menu{
    cursor: pointer;
    background-color: #40605d;
    padding: 0.75%;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.137);
    margin-top: 1%;
}
.el_menu_side{
    cursor: pointer;
}
.menu_template_sec{
    display: flex;
    width: 100%;
    position: relative;
    margin-top: 10%;
}
.icone_sec{
    width: 8%;
    position: absolute;
    right: 2%;
    cursor: pointer;
}
.a_in_sec{
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: start!important;
    align-items: start!important;
}
.sous_section_nav{
    padding-top: 2%;
    overflow: hidden;
    height:0;
    transition: height 0.5s ease;
    position: relative;
    text-align: right;
}
.to_height_box {
  animation: to_height_box 0.5s ease forwards;
}
@keyframes to_height_box {
  0% {
    height: 0;
  }
  100% {
    height: auto;
  }
}
.to_bottom_box {
    height:0;
}

.line{
    width: 80%;
    margin-left: 10%;
    height:1px;
    margin-top: 8%;
    border: 1px solid rgba(255, 255, 255, 0.082);
}
.el_sous_nav{
    margin-top: 1%;
    cursor: pointer;
}
#menu_fixed{
    width: 100%;
    position: fixed;
    top:0;
    left:0;
    z-index: 199;
    background-color: #40605d;
    padding: 3%;
    text-align: center;
    display: none;
}
.is_green{
    color: #40605d;
}
#container_page{
    display: flex;
    gap:2%;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 5%;
}
.el_page{
    cursor: pointer;
    outline: none;
}
.is_red{
    color:rgb(212, 81, 81);
}
#filter_selection{
    display: flex;
    gap:3%;
    flex-wrap: wrap;
    margin-top: 1%;
}
.icone_close{
    width: 20px;
    cursor: pointer;
    position: absolute;
}
#price,
#alphabet,
#edition,
#genre,
#format,
#etat,
#pays,
#order,
#vendeur{
    display: none;
}
.titre_filtre{
    position: relative;
    width: fit-content;
}

.container_filtre{
    padding-bottom: 2%;
    width: fit-content;
}
.container_filtre:not(:first-child) {
    padding-left: 2%;
}
#filtre_actu{
    margin-top: 3%;
}
.are_flexi{
    display: flex;
}
#validate{
    margin-top: 2%;
}
.sep{
    margin-top: 2%;
    width: 100%;
    height:1px;
    border: 1px solid rgba(255, 255, 255, 0.13);
}
.underline{
    display: inline-block;
    margin-top: 1%;
    border-bottom: 1px solid white;

}
@media (min-height: 880px) {
    .resum{
        margin-top: 5%!important;
    }
}
@media (min-height: 830px) {
    .resum{
        margin-top: 0;
    }
}


@media (max-width: 1366px) {
    .container_img{
        width: 82%;
    }
    .articles{
        max-height: 550px;
    }
}
@media (max-width: 1152px) {
    .resum{
        margin-top: 5%;
    }
}
@media (max-width: 1024px) {
    .resum{
        margin-top: 8%;
    }
}

@media (max-width: 800px) {
    .resum{
        margin-top: 8%;
    }
    .icone_close{
        width: 18px;
    }
}

@media (max-width: 700px) {
    #nav{
        position: relative!important;
    }
    #container_livre{
        margin: 0;
    }
    .menu{
        flex-direction: column;
    }
    .img_article{
        width: 70%;
    }
    #padding_menu{
        padding: 0;
        width: 95%;
        margin-left: 2.5%;
        text-align: center;
    }
    #sous_nav{
        width: 100%;
        text-align: center;
        margin-top: 0!important;
    }
    #container_menu{
        width: 100%;
        margin: 0;
        margin-top: 5%;
    }
    .el_menu{
        margin-top: 3%;
        padding: 1%;
    }
    #sous_menu{
        margin-top: 5%;
    }
    #container_livre_grid{
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    .template{
        min-height:30vh;
    }
    .menu_template{
        position: fixed;
        width: 100%;
        transform: translateX(-150%);
        transition: transform 0.5s ease;
        top:0%;
        margin: 0;
        z-index: 99999;
        background-color: #40605d!important;
        padding: 5%;
        overflow-y: auto;
        height:100%;
    }
    .articles{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: start;
    }
    .container_img{
        width: 50%;
    }
    .resum{
        width: 60%;
        margin-top: 0;
        padding: 4%;
        justify-content: start;
        position: relative;
        height: 100%;
        padding-top: 10%;
    }
    .text_art{
        margin-top: 5%;
    }
    .price{
        position: absolute;
        bottom: 5%;
        right:5%
    }
    #menu_fixed{
        display: block;
    }
    .close_filter{
        display: block;
    }
}




