/**
 * 2008 - 2026 (c) Prestablog
 *
 * MODULE PrestaBlog
 *
 * @author    Prestablog
 * @copyright Copyright (c) permanent, Prestablog
 * @license   Commercial
 */
/* Hack fix */
.clearblog {
    margin-right: auto;
    margin-left: auto;
    clear: both;
}

/* Fonts */
h1#prestablog_home {
    padding: 20px;
    color: #555;
}

#prestablogfront h1,
#prestablogfront h2,
#prestablogfront h3,
#prestablogfront h4,
#prestablogfront h5,
#prestablogfront h6,
#prestablogauthor h1,
#prestablogauthor h2,
#prestablogauthor .prestablogtitle {
    font-size: 1.375rem;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    overflow: hidden;
    margin: 40px 20px 40px 20px;
}

#prestablogfront h1 {
    margin-bottom: 15px;
    margin-top: 15px;
    border-top: 0px;
    border-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.prestablogtitle {
    font-size: 1.375rem;
    text-align: left;
    border-bottom: 1px solid #dfdfdf;
    margin: 30px 20px 30px 20px;
    padding-bottom: 5px;
    overflow: hidden;
}

h1 span.article_number {
    color: #A4A4A4;
    font-size: 20px;
}

time.date,
.info_blog {
    color: #7F7F7F;
    display: block;
    font-size: 12px;
    position: relative;
    text-align: center;
    z-index: 1;
    margin: 0px 20px 0px 20px;
    overflow: hidden;
}

time.date:before,
.info_blog:before {
    border-top: 1px solid #bfbfbf;
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    z-index: -1;
}

time.date span,
.info_blog span {
    background: #fff;
    padding: 0px 10px;
}

#prestablogfront .info_blog {
    text-align: center;
    margin-bottom: 10px;
}

.prestablog-sharing-title {
    font-size: 1rem;
    text-align: left;
    margin: 0px 0px 2px 5px;
    overflow: hidden;
    color: #828282;
}

/* Rating css */
#prestablogfront .star_content .material-icons,
.block_bas .star_content .material-icons {
    font-size: 14px;
    color: #ccc
}

#prestablogfront .star_content .material-icons.checked,
.block_bas .star_content .material-icons.checked {
    color: orange;
}

.block_bas .star_content {
    font-size: 80%;
}

/* Rating block redesign */
#prestablog-rating.prestablog-rating-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    margin: 0;
}

#prestablog-rating .prestablog-rating-score {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 42px;
}

#prestablog-rating .prestablog-rating-average {
    font-size: 26px;
    font-weight: 500;
    color: #1f2937;
}

#prestablog-rating .prestablog-rating-count {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

#prestablog-rating .prestablog-rating-form {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

#prestablog-rating .prestablog-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

#prestablog-rating .prestablog-rating-stars>input {
    display: none;
}

#prestablog-rating .prestablog-rating-stars>label {
    color: #d1d5db;
    float: none;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.15s ease;
    margin: 0;
}

/***** CSS Magic to Highlight Stars on Hover *****/
#prestablog-rating .prestablog-rating-stars>input:checked~label,
#prestablog-rating .prestablog-rating-stars:not(:checked)>label:hover,
#prestablog-rating .prestablog-rating-stars:not(:checked)>label:hover~label {
    color: #FFD700;
}

#prestablog-rating .prestablog-rating-stars>input:checked+label:hover,
#prestablog-rating .prestablog-rating-stars>input:checked~label:hover,
#prestablog-rating .prestablog-rating-stars>label:hover~input:checked~label,
#prestablog-rating .prestablog-rating-stars>input:checked~label:hover~label {
    color: #FFED85;
}

#prestablog-rating .prestablog-rating-static {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

#prestablog-rating .prestablog-rating-stars-static {
    display: inline-flex;
    flex-direction: row;
    gap: 2px;
}

#prestablog-rating .prestablog-rating-stars-static .material-icons {
    font-size: 18px;
    color: #d1d5db;
}

#prestablog-rating .prestablog-rating-stars-static .material-icons.checked {
    color: #f59e0b;
}

#prestablog-rating .prestablog-rating-submit {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.15s ease;
}

#prestablog-rating .prestablog-rating-submit:hover:not([disabled]) {
    background: #f9fafb;
    border-color: #9ca3af;
}

#prestablog-rating .prestablog-rating-submit[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

#prestablog-rating .prestablog-rating-info {
    font-size: 11px;
    color: #6b7280;
}

/* Share + rating row: socials on the left, vertical separator, rating on the right */
#prestablogfront .prestablog-share-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 20px;
}

#prestablogfront .prestablog-share-rating-row .blogsoc-buttons {
    margin: 0;
    padding: 0;
    flex: 0 1 auto;
}

#prestablogfront .prestablog-share-rating-sep {
    width: 1px;
    align-self: stretch;
    background-color: #e5e7eb;
    margin: 4px 0;
}

@media (max-width: 600px) {
    #prestablogfront .prestablog-share-rating-row {
        flex-direction: column;
        align-items: flex-start;
    }

    #prestablogfront .prestablog-share-rating-sep {
        width: 100%;
        height: 1px;
        margin: 8px 0;
    }
}

/** filtrage page recherche */
#categoriesFiltrage {
    display: block;
}

#categoriesFiltrage form {
    margin-top: 5px;
}

#categoriesFiltrage input.search_query {
    width: 250px;
    float: left;
    height: 32px;
    margin-right: 10px;
    margin-top: 3px;
    border: 1px solid #BDBDBD;
    background-color: #fff;
}

#categoriesFiltrage .button-search {
    border: 1px solid #BDBDBD;
}

#categoriesFiltrage select {
    height: 38px;
    border: 1px solid #ccc;
    padding-top: 5px;
    padding-bottom: 5px;
    padding: 5px;
    background-color: #fff;
}

#categoriesFiltrage div#categoriesForFilter {
    width: 100%;
    display: block;
    float: left;
}

#categoriesFiltrage div.filtrecat {
    float: left;
    color: #313131;
    padding: 5px;
    margin-right: 5px;
    background: #ececec none repeat scroll 0 0;
    border: 1px solid #ccc;
}

#categoriesFiltrage div.deleteCat {
    float: right;
    cursor: pointer;
    margin-left: 5px;
}

#categoriesFiltrage div.deleteCat:hover {
    color: #6f6f6f;
}

/** /filtrage page recherche */

/** Force margin for template without margin on there paragraphe css **/
#prestablogfont p,
#prestablogfont ul,
#prestablogfont ol {
    margin: 0 0 15px;
}

/** Bloc Search **/
#prestablog_bloc_search {
    position: relative;
}

#prestablog_bloc_search .btn.button-search {
    background: #333 none repeat scroll 0 0;
    border: medium none;
    color: #fff;
    display: block;
    padding: 10px 0 11px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    height: 45px;
    line-height: 40px;
    text-transform: inherit;
}

#prestablog_bloc_search .btn.button-search span {
    display: none;
}

#prestablog_bloc_search .btn.button-search::after {
    content: 'search';
    background-position: left 2px;
    position: absolute;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    top: 5px;
    left: 11px;
    font-family: "Material Icons", Arial, sans-serif;
    font-size: 30px;
}

#prestablog_bloc_search .btn.button-search:hover {
    color: #6f6f6f;
}

#prestablog_bloc_search #prestablog_search {
    background: #fbfbfb none repeat scroll 0 0;
    display: inline;
    height: 45px;
    margin-right: 1px;
    padding: 13px 60px 13px 13px;
}

#categoriesFiltrage {
    margin-bottom: 20px;
}

/** /Bloc Search **/

/** Related article on product */
ul.related_blog_product li {
    display: block;
    height: auto;
    margin-bottom: 20px;
    min-height: 40px;
    width: 100%;
}

/** Block rss */
#prestablog_block_rss a {
    background: none repeat scroll 0 0 #333333;
    color: #fff;
    display: block;
    overflow: hidden;
    padding: 7px 10px 10px 10px;
}

#prestablog_block_rss a:hover {
    background: none repeat scroll 0 0 #777777;
    color: #fff;
}

#prestablog_block_rss a i {
    float: right;
}


/** Top NAV Menu */
.prestablog-nav-top {
    border-left: 1px solid #515151;
    float: right;
}

@media (max-width: 479px) {
    .prestablog-nav-top {
        text-align: center;
        width: 25%;
    }
}

.prestablog-nav-top a {
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-weight: bold;
    padding: 8px 10px 11px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

@media (max-width: 479px) {
    .prestablog-nav-top a {
        font-size: 11px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

.prestablog-nav-top a:hover,
.prestablog-nav-top a.active {
    background: none repeat scroll 0 0 #2B2B2B;
}

/** Slide */

.prestablog_slide {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    float: left;
    margin-bottom: 7px;
    background: #FFF;
    box-shadow: #ccc 0px 0px 5px;
    border-radius: 5px;
    border: 1px solid #DADADA;
    overflow: hidden;
}

/** If an image is wrapped in a link  */
.prestablog_slide .nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
    overflow: hidden;
    height: 100%;
}

.prestablog_slide .nivoSlider img,
.productslinks .nivoSlider img {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    max-width: none;
}

.prestablog_slide .nivo-main-image,
.productslinks .nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

.prestablog_slide .nivo-slice,
.productslinks .nivo-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
    top: 0;
}

.prestablog_slide .nivo-box,
.productslinks .nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
    overflow: hidden;
}

.prestablog_slide .nivo-box img,
.productslinks .nivo-box img {
    display: block;
}

.prestablog_slide .nivoSlider,
.productslinks .nivoSlider {
    position: relative;
}

.prestablog_slide .nivo-controlNav {
    text-align: center;
    position: absolute;
    top: 5px;
    right: 0px;
    width: 100%;
    height: 10px;
    z-index: 8;
}

.prestablog_slide .nivo-controlNav a {
    background: none repeat scroll 0 0 #2A2A2A;
    border-radius: 5px 5px 5px 5px;
    float: none;
    display: inline-block;
    height: 0;
    overflow: hidden;
    padding: 6px 3px 0;
    width: 6px;
    box-shadow: #ccc 2px 2px 3px;
    cursor: pointer;
    text-indent: -9999;
    margin-top: 4px;
    margin-right: 4px;
}

.prestablog_slide .nivo-controlNav a.active,
.prestablog_slide .nivo-controlNav a:hover {
    background: #fff;
    border: 2px solid #333;
    margin-bottom: -2px;
}

.prestablog_slide .nivo-caption {
    position: absolute;
    bottom: 10px;
    background: url(../img/bg-texte-slide.png) repeat;
    border: 1px solid #626262;
    padding: 8px 8px 8px 5px;
    height: auto;
    width: auto;
    color: #FFF;
    box-shadow: #333 2px 2px 5px;
    z-index: 8;
    border-radius: 0 5px 5px 0;
}

/* Arrow for slideshow */
.prestablog_slide .nivo-directionNav {
    opacity: 0.2;
    transition: all 0.3s ease;
}

.prestablog_slide:hover .nivo-directionNav {
    opacity: 1;
}

.prestablog_slide .nivo-directionNav {
    position: absolute;
    z-index: 999;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.prestablog_slide .nivo-directionNav a.nivo-nextNav {
    float: right;
    margin-right: 25px
}

.prestablog_slide .nivo-directionNav a.nivo-prevNav {
    float: left;
    margin-left: 25px
}

.prestablog_slide .nivo-directionNav a {
    cursor: pointer;
    display: block;
    width: 21.21px;
    height: 42.43px;
    position: relative;
    color: transparent;
    text-indent: -9999px;
    margin-top: -30px !important;
}

.prestablog_slide .nivo-directionNav a:before,
.prestablog_slide .nivo-directionNav a:after {
    background: #fff;
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    position: absolute;
    top: calc(50% - (1px));
    transition: all 0.3s ease;
}

.prestablog_slide .nivo-directionNav a:before {
    transform: rotate(-45deg);
}

.prestablog_slide .nivo-directionNav a:after {
    transform: rotate(45deg);
}

.prestablog_slide .nivo-directionNav a:hover:before {
    transform: rotate(-33deg);
}

.prestablog_slide .nivo-directionNav a:hover:after {
    transform: rotate(33deg);
}

.prestablog_slide .nivo-directionNav .nivo-prevNav:before,
.prestablog_slide .nivo-directionNav .nivo-prevNav:after {
    left: 0;
    transform-origin: left 50%;
}

.prestablog_slide .nivo-directionNav .nivo-prevNav:hover:before,
.prestablog_slide .nivo-directionNav .nivo-prevNav:hover:after {
    left: -10px;
}

.prestablog_slide .nivo-directionNav .nivo-nextNav:before,
.prestablog_slide .nivo-directionNav .nivo-nextNav:after {
    right: 0;
    transform-origin: right 50%;
}

.prestablog_slide .nivo-directionNav .nivo-nextNav:hover:before,
.prestablog_slide .nivo-directionNav .nivo-nextNav:hover:after {
    right: -10px;
}

.prestablog_slide .nivo-directionNav a:active:before {
    transform: rotate(-30deg);
}

.prestablog_slide .nivo-directionNav a:active:after {
    transform: rotate(30deg);
}

.prestablog_slide .nivo-directionNav .nivo-prevNav:active:before,
.prestablog_slide .nivo-directionNav .nivo-prevNav:active:after {
    left: -8px;
    background: #BFBFBF;
}

.prestablog_slide .nivo-directionNav .nivo-nextNav:active:before,
.prestablog_slide .nivo-directionNav .nivo-nextNav:active:after {
    right: -8px;
    background: #BFBFBF;
}

/** Product linked slide */
#blog_product_linked,
.page-product-box {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    background-color: rgb(243, 243, 243);
    padding: 10px 15px 15px;
    border: 1px solid rgb(233, 233, 233);
}

.page-product-box {
    margin-top: 10px;
}

#blog_product_linked h3,
.page-product-box .page-product-heading {
    padding-bottom: 10px;
    border-bottom: 1px dotted #CFCFCF;
    color: #626262;
}

.page-product-box a {
    color: #585858;
}

.productslinks {
    float: left;
    position: relative;
    padding: 5px;
    width: auto;
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 10px;
}

a .wrap_blog div {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

a .productslinks img {
    padding: 10px;
    max-width: 100%;
    width: 125px;
    min-width: 125px;
    height: auto;
    border: 1px solid rgba(237, 237, 237, 1.00);
}

a:hover .productslinks img {
    opacity: 1;
}

a .wrap_blog div {
    position: relative;
    height: 100%;
    min-height: 100%;
}

a .wrap_blog div .product_name_blog {
    position: absolute;
    left: 0;
    text-align: center;
    padding: 10px;
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.73);
    opacity: 0;
    font-weight: bold;
}

a:hover .wrap_blog .product_name_blog {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.65);
}

a .wrap_blog .product_name_blog .titre_product_blog {
    text-align: center;
    margin: auto;
    font-size: 90%;
    color: #fff;
}

/** Article link */
ul.articleslinks {
    padding-left: 40px;
    margin-bottom: 10px;
    list-style: square;
}

/** FIN SLIDE */
a.bloc-rss img {
    margin-bottom: 5px;
}

a.bloc-rss:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

/** Listing */
:is(#blog_list_1-7, .blog_list_1-7) * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:is(#blog_list_1-7, .blog_list_1-7) {
    display: block;
    width: 100%;
    clear: both;
    padding: 0;
    transition: height 0.2s ease-out;
}

:is(#blog_list_1-7, .blog_list_1-7) a {
    color: #535353;
}

:is(#blog_list_1-7, .blog_list_1-7) li {
    display: inline-block;
    float: left;
    list-style: none;
    -webkit-transition: all .6s ease-in;
    -moz-transition: all .6s ease-in;
    -o-transition: all .6s ease-in;
    transition: all .6s ease-in;
    padding: 10px;
    width: 50%;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article li {
    width: 100%;
    background-color: #FFFFFF;
    display: block;
    margin-bottom: 10px;
}

:is(#blog_list_1-7, .blog_list_1-7).full_picture li {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

:is(#blog_list_1-7, .blog_list_1-7).three_article li {
    width: 33.33%;
}

:is(#blog_list_1-7, .blog_list_1-7).four_article li {
    width: 25%;
}

:is(#blog_list_1-7, .blog_list_1-7) li.blog-grid-sizer {
    width: 50%;
}

#blog_article_linked :is(#blog_list_1-7, .blog_list_1-7) li {
    width: 33%;
}

:is(#blog_list_1-7, .blog_list_1-7) li.tiers {
    width: 33%;
}

:is(#blog_list_1-7, .blog_list_1-7) li .link_toplist:hover {
    background-color: #ff5600;
}

:is(#blog_list_1-7, .blog_list_1-7) h3,
:is(#blog_list_1-7, .blog_list_1-7) h2 {
    line-height: 0.9;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #E7E7E7;
    font-size: 20px;
    height: auto;
}

:is(#blog_list_1-7, .blog_list_1-7) .block_cont,
.prestablog .block_cont {
    width: 100%;
    border: 1px solid #DADADA;
    background-color: #FFFFFF;
    overflow: hidden;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article .block_cont {
    display: grid;
    grid-template-columns: 40% 1fr;
    column-gap: 10px;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article .block_cont {
    border: 0px;
}

:is(#blog_list_1-7, .blog_list_1-7) li:hover .block_cont {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.49);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.29);
}

:is(#blog_list_1-7, .blog_list_1-7).one_article li {
    border: 1px solid #fff;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article li:hover {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.49);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.29);
    border: 1px solid #CCCCCC;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article li:hover .block_cont {
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0);
    -webkit-box-shadow: 0px 0px 5px rgba(255, 255, 255, 0);
}

:is(#blog_list_1-7, .blog_list_1-7) li .block_cont .block_top a {
    height: auto;
    display: inline-block;
    width: 100%;
}

:is(#blog_list_1-7, .blog_list_1-7) li .block_cont .block_top img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

:is(#blog_list_1-7, .blog_list_1-7) li:hover .block_cont .block_top img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

:is(#blog_list_1-7, .blog_list_1-7) .block_top {
    width: 100%;
    position: relative;
    overflow: hidden;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article .block_cont .block_top {
    width: auto;
    margin-right: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
}

:is(#blog_list_1-7, .blog_list_1-7) li:hover {
    opacity: 1;
}

:is(#blog_list_1-7, .blog_list_1-7) .block_top img {
    width: 100%;
}

:is(#blog_list_1-7, .blog_list_1-7) .block_bas {
    width: 100%;
    padding: 20px;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article .block_cont .block_bas {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article .blog-grid .block_bas {
    width: 100%;
}

:is(#blog_list_1-7, .blog_list_1-7) #blog_article_linked h3 {
    padding-bottom: 10px;
    border-bottom: 1px dotted #CFCFCF;
    color: #626262;
}

:is(#blog_list_1-7, .blog_list_1-7) #blog_article_linked h3,
#blog_article_linked .blog_link {
    font-size: 15px;
    height: auto;
}

:is(#blog_list_1-7, .blog_list_1-7) #blog_article_linked .article_li h3 {
    border: none;
}

:is(#blog_list_1-7, .blog_list_1-7) #blog_article_linked .block_bas {
    padding: 10px;
}

:is(#blog_list_1-7, .blog_list_1-7) .comments {
    float: right;
    font-size: 14px;
}

:is(#blog_list_1-7, .blog_list_1-7) a.blog_link:hover,
:is(#blog_list_1-7, .blog_list_1-7) .comments:hover {
    text-decoration: none;
    color: #ff5600;
}

:is(#blog_list_1-7, .blog_list_1-7) p {
    margin: 12px 0px;
}

:is(#blog_list_1-7, .blog_list_1-7) .block_top img,
:is(#blog_list_1-7, .blog_list_1-7) a,
.block_cont,
:is(#blog_list_1-7, .blog_list_1-7) li * {
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}

/** Grid design **/
:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #fff;
    min-height: 50px;
    color: #636363;
}

:is(#blog_list_1-7, .blog_list_1-7).one_article .prestablog_more {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    float: none;
    width: auto;
    margin-left: 0;
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

@media (max-width: 768px) {
    :is(#blog_list_1-7, .blog_list_1-7).one_article .block_cont {
        display: block;
    }
}

:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more .blog_link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin-right: auto;
}

:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more .blog_link i.material-icons {
    vertical-align: middle;
}

:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more a {
    color: #636363;
    padding: 15px 15px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.prestablog_more {
    color: #fff;
}

:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more .comments {
    float: none;
}

:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more span {
    float: none;
    height: 50px;
    padding: 15px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more span .material-icons,
:is(#blog_list_1-7, .blog_list_1-7) .prestablog_more a .material-icons {
    line-height: 24px;
    margin-right: 3px;
}

:is(#blog_list_1-7, .blog_list_1-7) .blog-grid .block_bas {
    width: 100%;
    padding: 20px 20px 10px 20px;
}

:is(#blog_list_1-7, .blog_list_1-7) a.blog_link:hover,
:is(#blog_list_1-7, .blog_list_1-7) .comments:hover,
:is(#blog_list_1-7, .blog_list_1-7) a.blog_link:hover::before,
:is(#blog_list_1-7, .blog_list_1-7) .comments:hover::before {
    background-color: #0785A0;
    color: #fff;
}

.prestablog_view_all {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

:is(#blog_list_1-7, .blog_list_1-7) h3,
:is(#blog_list_1-7, .blog_list_1-7) h2,
:is(#blog_list_1-7, .blog_list_1-7) .h3title {
    line-height: inherit;
    padding-bottom: 0px;
    margin-bottom: 10px;
    border-bottom: none;
    font-size: 16px;
}

.prestablog_desc {
    font-size: 13px;
}

/** Typo **/

#prestablogfont ul,
#prestablogfont ol {
    padding-left: 40px;
    margin-bottom: 15px;
}

#prestablogfont ul li {
    list-style: square;
    font-size: 0.9375rem;
    color: #878787;
    font-weight: 400;
}

#prestablogfont ol li {
    list-style: decimal;
    font-size: 0.9375rem;
    color: #878787;
    font-weight: 400;
}

.info_blog {
    font-size: 11px;
    color: #8B8B8B;
}

.info_blog a,
.date_blog-cat,
ul:is(#blog_list_1-7, .blog_list_1-7) li .date_blog-cat a {
    color: #767676;
}

.date_blog-cat {
    font-size: 10px;
    font-weight: normal;
}

.categorie_blog {
    color: #A020F0;
}

.categorie_blog:hover {
    text-decoration: underline;
}

/** Navigation slide */
#prestablog_nav_slide {
    width: 100%;
    float: left;
    display: block;
    clear: both;
    text-align: center;
    padding-bottom: 5px;
}

#prestablog_nav_slide a {
    background: url(../img/nav-slide.png) no-repeat right top;
    display: inline-block;
    height: 16px;
    width: 16px;
    outline: medium none;
    text-indent: -9999em;
    margin-right: 1px;
    margin-left: 1px;
}

#prestablog_nav_slide a.activeSlide {
    background: url(../img/nav-slide.png) left top;
}

#prestablog_nav_slide a:hover {
    background: url(../img/nav-slide.png) left top;
}

.prestablog_slide ul.admin {
    padding: 0px;
}

/** date */
#prestablog_dateliste ul {
    font-weight: bold;
}

#prestablog_dateliste ul ul {
    color: #7F7F7F;
    font-size: 90%;
    font-weight: normal;
    margin-left: 15px;
}

#prestablog_dateliste ul ul li {
    list-style-type: square;
    margin-top: 2px;
    margin-bottom: 2px;
}

/** bloc last liste */
img.lastlisteimg {
    float: left;
    margin-right: 7px;
    margin-bottom: 7px;
    margin-top: 5px;
    width: 100%;
    max-width: 100%;
}

#prestablog_lastliste p span {
    font-size: 90%;
    font-weight: 400;
}

#prestablog_lastliste p {
    font-weight: 700;
}

/* Block */
#prestablog_recherche,
#prestablog_categorieslist,
#prestablog_lastliste,
#prestablog_archives,
#prestablog_block_rss {
    margin-bottom: 20px
}

/* Block category */
img.catlisteimg {
    margin-right: 7px;
    margin-bottom: 7px;
    margin-top: 5px;
    display: inline;
}

.block-categories #prestablog_catliste .blog-collapse-icons {
    top: 10px;
    right: 0;
    background-color: #dfdfdf;
    width: 25px;
    height: 25px;
    color: #999;
    border-radius: 2px;
    border: 1px solid #dbdbdb;
    position: absolute;
    padding: 0;
    cursor: pointer;
}

.block-categories #prestablog_catliste .blog-collapse-icons.no-image {
    top: 0;
}

#prestablog_catliste .blog-collapse-icons.blogcollapsed .remove,
#prestablog_catliste .blog-collapse-icons .add {
    visibility: visible
}

#prestablog_catliste .blog-collapse-icons .remove,
#prestablog_catliste .blog-collapse-icons.blogcollapsed .add {
    visibility: hidden
}

#prestablog_catliste .blog-collapse-icons .material-icons {
    top: 0;
    position: absolute;
}

#prestablog_catliste .blog-collapse-icons+.blogitems {
    display: none;
}

#prestablog_catliste a.catblog_desc span {
    font-size: 80%;
}

#prestablog_catliste a.catblog_desc {
    display: block
}

.contcatblockblog {
    display: table-cell;
    width: 100%;
    height: 40px;
    padding-bottom: 20px;
}

.block-categories #prestablog_catliste .category-sub-menu li:not([data-depth="0"]):not([data-depth="1"])::before {
    display: none;
}

#prestablog_categorieslist #prestablog_catliste {
    margin-top: 20px;
}

.prestablogcatnotreecont {
    position: relative;
    min-height: 40px;
}

.prestablogcatnotreecont a {
    border-bottom: 1px solid #dfdfdf;
    display: block;
    padding: 10px 5px 10px 5px;
}

#prestablog_catliste .prestablogcatnotreecont li,
#prestablog_catliste .prestablogcatnotreecont ul {
    margin-bottom: 0px
}

/** Pagination category */
.cat_prestablog p {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-bottom: 0px;
}

div.prestablog_pagination {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    float: left;
    clear: both;
}

div.prestablog_pagination a {
    padding: 3px 6px 3px 6px;
    margin-right: 2px;
    border: 1px solid #fff;
    text-decoration: none;
    color: #aaa;
    background-color: #fff;
}

div.prestablog_pagination a:hover,
div.prestablog_pagination a:active {
    padding: 3px 6px 3px 6px;
    margin-right: 2px;
    border: 1px solid #ccc;
    color: #494949;
}

div.prestablog_pagination span.current {
    padding: 5px 10px 5px 10px;
    margin-right: 2px;
    border: 1px solid #c3c3c3;
    background-color: #ffffff;
    color: #636363
}

div.prestablog_pagination span.disabled {
    padding: 2px 5px 2px 5px;
    margin-right: 2px;
    border: 1px solid #f3f3f3;
    color: #ccc;
}

div.prestablog_pagination span.more {
    padding: 2px 5px 2px 5px;
    margin-right: 2px;
    border: 1px solid #ddd;
    color: #aaa;
}

div.block_bas p.categories {
    font-size: 85%;
}

div.block_bas p.categories a {
    font-size: 115%;
}

/** Commentaires Facebook */
#prestablog-fb-comments .fb-comments,
#prestablog-fb-comments .fb-comments iframe[style],
#prestablog-fb-comments .fb-like-box,
#prestablog-fb-comments .fb-like-box iframe[style] {
    width: 100% !important;
}

#prestablog-fb-comments .fb-comments span,
#prestablog-fb-comments .fb-comments iframe span[style],
#prestablog-fb-comments .fb-like-box span,
#prestablog-fb-comments .fb-like-box iframe span[style] {
    width: 100% !important;
}

/** Commentaire */
.prestablog-comment-title {
    font-size: 1rem;
    text-align: left;
    margin: 0px 0px 10px 5px;
    overflow: hidden;
    color: #6e6e6e;
}

fieldset#prestablog-comment {
    margin-bottom: 15px;
}

fieldset#prestablog-comment p {
    margin: 0;
}

fieldset#prestablog-comment label {
    margin: 0;
}

fieldset#prestablog-comment input#submitComment {
    width: auto;
}

fieldset#prestablog-comment input.text,
fieldset#prestablog-reply input.text {
    width: 100%;
    border: 1px solid #CCC;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    height: 40px;
}

fieldset#prestablog-comment textarea,
fieldset#prestablog-reply textarea {
    width: 100%;
    height: 200px;
    border: 1px solid #CCC;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 4px;
}

fieldset#prestablog-comment p#errors {
    text-align: center;
    font-weight: bold;
}

fieldset#prestablog-comment input.errors,
fieldset#prestablog-comment textarea.errors {
    border: solid 1px #0B9A0B;
}

#prestablog-comments div#comments {
    display: none;
}

span#toggle-comments {
    cursor: pointer;
}

#prestablog-comments div.comment h4 a {
    text-decoration: none;
}

#prestablog-comments div.comment h4 a:hover {
    text-decoration: underline;
}

#prestablog-comments div.comment {
    margin: 0 0 10px 0;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 16px 16px 12px 16px;
    background: #fff;
}

#prestablog-comments div.comment .title_comment {
    color: #9ca3af;
    font-size: 78%;
    margin-bottom: 10px;
}

#prestablog-comments div.comment .title_comment .material-icons {
    font-size: 20px;
    vertical-align: top;
    color: #484848;
}

#prestablog-comments .comment_date {
    color: #9ca3af;
    font-size: 75%;
    white-space: nowrap;
}

/* Author name emphasis */
#prestablog-comments .author-name {
    font-weight: 600;
    color: #374151;
}

/* Author badge pill */
#prestablog-comments .author-badge {
    background: #dbeafe;
    color: #1e40af;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 9999px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

/* Top-level comment avatar via pseudo-element */
#prestablog-comments #comments>.comment>.title_comment {
    position: relative;
    padding-left: 48px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

#prestablog-comments #comments>.comment>.title_comment::before {
    content: attr(data-initial);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    line-height: 36px;
    text-align: center;
    flex-shrink: 0;
}

/* Reply avatar via pseudo-element */
#prestablog-comments .comment-reply .title_comment {
    position: relative;
    padding-left: 48px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

#prestablog-comments .comment-reply .title_comment::before {
    content: attr(data-initial);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    line-height: 36px;
    text-align: center;
    flex-shrink: 0;
}

/* Layout for top-level comments */
#prestablog-comments #comments>.comment>.title_comment .comment-author-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

#prestablog-comments #comments>.comment>.title_comment .comment_date {
    margin-left: 8px;
    flex-shrink: 0;
}

/* Layout for replies */
#prestablog-comments .comment-reply .title_comment .comment-author-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

#prestablog-comments .comment-reply .title_comment .comment_date {
    margin-left: 8px;
    flex-shrink: 0;
}

#prestablog-comments .login-message {
    margin-top: 10px
}

#prestablog-comments div.comment hr {
    color: #E5E5E5;
    background-color: #D9D7D7;
    margin-top: 0px
}

#prestablog-comments div.comment p {
    color: #2d2d2d;
    font-size: 90%;
    margin-bottom: 3px;
    padding: 0px;
}

/* Reply button with arrow icon */
#prestablog-comments .reply-link::before {
    content: "↩ ";
}

#prestablog-comments .toggle-replies,
#prestablog-comments .reply-link,
#prestablog-comments div.comment .reply {
    color: #757575
}

#prestablog-comments div.comment .reply {
    font-size: 75%;
}

#prestablog-comments .replies {
    margin-top: 10px;
}

#prestablog-comments .toggle-replies:hover,
#prestablog-comments .reply-link:hover {
    text-decoration: underline;
}

#prestablog-comments .comment-reply {
    margin-left: 15px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 14px 10px 14px;
    background: #f8fafc;
}

#prestablog-comments .replies,
#prestablog-comments .reply-container {
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

#prestablog-comments .replies.show,
#prestablog-comments .reply-container.show {
    opacity: 1;
}

/* Comments header*/
#prestablog-comments .prestablog-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #374151;
}

#prestablog-comments div#abo {
    font-size: 90%;
}

#prestablog-comments div#abo a {
    text-decoration: none;
}

#prestablog-comments div#abo a:hover {
    text-decoration: underline;
}

#block_footer_last_list {
    float: left;
    width: 175px;
    padding: 15px 10px;
}

#prestablog-fb-comments,
#prestablog-comments {
    padding: 20px;
    background-color: #fffc;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-bottom: 15px;
    margin-top: 10px;
}

/** fix prestashop colors */
.block-categories.prestablog a.link_block,
#prestablog_catliste a {
    color: #333;
}

.prestablog_cat_img {
    display: inline-block;
    height: auto;
    margin-bottom: 15px;
    max-width: 100%;
    padding: 15px;
    background-color: #fff;
}

#prestablog_lastliste .btn-primary,
#prestablog_catliste .btn-primary,
#prestablog_dateliste .btn-primary {
    display: block;
    margin-top: 10px;
    color: #fff;
    text-align: center;
    background-color: #333;
    border: none;
}

#prestablog_lastliste p,
#prestablog_catliste p,
#prestablog_dateliste li {
    margin: 0px;
    padding: 10px 0px;
    border-bottom: 1px dotted #CCCCCC;
    width: 100%;
    display: inline-block;
}

#prestablog_dateliste li {
    border-bottom: none;
}

#prestablog_dateliste li li {
    border-bottom: 1px dotted #CCCCCC;
}

#prestablog_lastliste a.button_large,
#prestablog_catliste a.button_large,
#prestablog_dateliste a.button_large {
    margin-top: 10px;
}

.prestablog_thumb_cat {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

/** Menu category */
#menu-mobile {
    display: none;
}

#prestablog_menu_cat {
    width: 100%;
    display: block;
    height: auto;
    min-height: 58px;
}

#prestablog_menu_cat nav ul {
    min-height: 58px;
}

#prestablog_menu_cat nav:has(.prestablog-menu-search-toggle) ul {
    padding-right: 56px;
}

#prestablog_menu_cat nav:has(.prestablog-menu-search.open) .prestablog-menu-search-toggle {
    display: none;
}

#prestablog_menu_cat nav #nav-version {
    float: right;
}

#prestablog_menu_cat nav #nav-version:hover {
    background: none;
}

#prestablog_menu_cat nav {
    margin-bottom: 10px;
    position: relative;
}

.sub-menu.hidden {
    display: none;
}

.sub-menu.block {
    display: block;
}

#prestablog_menu_cat nav ul li i {
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    font-size: 20px
}

#prestablog_menu_cat nav ul li i:hover {
    color: #ccc;
}

#prestablog_menu_cat nav ul,
img.logo_home {
    list-style: none;
    position: relative;
    background: #333333;
}

/* Ensure positioning context for toggle and overlay */
#prestablog_menu_cat {
    position: relative;
}

/* Toggle icon at right, vertically centered */
#prestablog_menu_cat nav .prestablog-menu-search-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 60;
}

#prestablog_menu_cat nav .prestablog-menu-search-toggle .material-icons {
    font-size: 22px;
    line-height: 1;
}

/* Menu search overlay with slide-left animation (white pill) */
#prestablog_menu_cat nav .prestablog-menu-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    height: 36px;
    width: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: width .25s ease, opacity .2s ease;
}

#prestablog_menu_cat nav .prestablog-menu-search.hidden {
    display: none;
}

#prestablog_menu_cat nav .prestablog-menu-search.block {
    display: block;
}

#prestablog_menu_cat nav .prestablog-menu-search.open {
    width: min(280px, calc(100vw - 40px));
    opacity: 1;
    pointer-events: auto;
}

#prestablog_menu_cat #prestablog_menu_bloc_search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0 40px 0 12px;
    height: 36px;
}

#prestablog_menu_cat #prestablog_menu_search {
    height: 36px;
    padding: 0;
    flex: 1 1 auto;
    min-width: 120px;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
}

#prestablog_menu_cat #prestablog_menu_bloc_search .btn.button-search {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #333;
}

#prestablog_menu_cat #prestablog_menu_bloc_search .btn.button-search span {
    display: none;
}

#prestablog_menu_cat #prestablog_menu_bloc_search .btn.button-search:after {
    content: 'search';
    font-family: "Material Icons", Arial, sans-serif;
    font-size: 20px;
    display: inline-block;
    line-height: 32px;
}

#prestablog_menu_cat nav ul:after {
    content: "";
    clear: both;
    display: block;
}

#prestablog_menu_cat nav ul li {
    float: left;
}

#prestablog_menu_cat nav span.parent {
    float: right;
}

#prestablog_menu_cat nav ul li a:hover {
    color: #DBDBDB;
}

#prestablog_menu_cat nav ul li a {
    display: inline-block;
    padding: 18px 20px;
    color: #FFFFFF;
    text-decoration: none;
    font: 600 18px/24px "Open Sans", sans-serif;
}

#prestablog_menu_cat nav ul li a:first-of-type i {
    margin-right: 0px;
}

#prestablog_menu_cat nav ul li>img {
    padding: 0px 0px;
}

#prestablog_menu_cat nav ul ul {
    border-radius: 0px;
    padding: 0;
    position: absolute;
    min-width: 200px;
    z-index: 10;
}

#prestablog_menu_cat nav ul ul li {
    float: none;
    border-left: 1px solid rgba(85, 85, 85, 0.35);
    border-right: 1px solid rgba(85, 85, 85, 0.35);
    border-bottom: 1px solid rgba(85, 85, 85, 0.35);
    border-top: 0px solid rgba(85, 85, 85, 0.35);
    position: relative;
}

#prestablog_menu_cat nav ul ul li a {
    color: #fff;
    min-width: 160px;
}

#prestablog_menu_cat nav ul ul li a img {
    padding-right: 5px;
}

#prestablog_menu_cat nav ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

#prestablog_menu_cat nav ul li a.prestablog_current_menu {
    position: relative;
}

#prestablog_menu_cat nav ul li a.prestablog_current_menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

img.news {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    max-width: 100%;
}

#prestablogfont img {
    max-width: 100%;
    height: auto;
}

#prestablogfont img.f_left {
    margin-right: 10px;
    margin-bottom: 10px;
}

#prestablogfont img.f_right {
    margin-left: 10px;
    margin-bottom: 10px;
}

#prestablogfont iframe {
    border: none;
    max-width: 100%;
}

@media (max-width: 1024px) {
    :is(#blog_list_1-7, .blog_list_1-7) .block_top .blog_desc {
        font-size: 12px;
    }

    :is(#blog_list_1-7, .blog_list_1-7) li.tiers {
        width: 50%;
    }

    :is(#blog_list_1-7, .blog_list_1-7) li .link_toplist {
        width: 30px;
        height: 30px;
    }
}

#prestablog_catliste li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 0px;
}

#prestablog_catliste li span.grower {
    display: block;
    background: #f6f6f6;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    font-family: "Material Icons";
    font-size: 14px;
}

#prestablog_catliste li span.OPEN:before,
#prestablog_catliste li span.CLOSE:before {
    content: "f068";
    display: block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    color: #333333;
    line-height: 30px;
    text-align: center;
}

#prestablog_catliste li span.CLOSE:before {
    content: "f067";
    color: silver;
}

#prestablog_catliste li span.OPEN~p {
    background-color: #f5f5f5;
}

/* Personalised list */
.prestablog .title {
    text-align: center;
    text-transform: uppercase !important;
}

#prestablogfront,
.prestablogExtra {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #DADADA;
    margin-bottom: 20px;
    display: block;
    clear: both;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.rrssb-buttons {
    margin-bottom: 20px;
}

#module-prestablog-blog .fancybox-lock {
    overflow: inherit !important;
}

/* Social buttons */
ul.blogsoc-buttons {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style-type: none;
    position: relative;
    font-size: 35px;
    text-align: left;
    padding-left: 15px;
    margin-top: -15px;
}

ul.blogsoc-buttons li {
    width: 40px;
    height: 40px;
    margin: 3px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.blogsoc-icon-container {
    width: 40px;
    height: 40px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s linear;
    perspective: 1000px;
}

.blogsoc-icon-container:hover .blogsoc-icon {
    transform: rotateY(180deg);
}

.blogsoc-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    color: #fff;
    line-height: 40px;
    transform: rotateY(0deg);
    transition: transform 0.4s linear;
    box-shadow: 1px 1px 5px #ccc;
    border: 1px solid #fff;
}

.blogsoc-icon svg {
    fill: #ffffff;
    position: relative;
    font-size: 17.5px;
    transition: transform 0.4s linear;
    width: 28px;
    height: 28px;
}

.blogsoc-icon-container:hover svg {
    transform: rotatey(180deg) !important
}

/* Couleurs pour chaque réseau social */
.blogsoc-facebook:hover .blogsoc-icon {
    background-color: #3B5998 !important;
}

.blogsoc-twitter:hover .blogsoc-icon {
    background-color: #000 !important;
}

.blogsoc-tumblr:hover .blogsoc-icon {
    background-color: #2C4762 !important;
}

.blogsoc-pinterest:hover .blogsoc-icon {
    background-color: #CB2027 !important;
}

.blogsoc-linkedin:hover .blogsoc-icon {
    background-color: #0077B5 !important;
}

.blogsoc-email:hover .blogsoc-icon {
    background-color: #D44638 !important;
}

.blogsoc-pocket:hover .blogsoc-icon {
    background-color: #EF3F56 !important;
}

.blogsoc-reddit:hover .blogsoc-icon {
    background-color: #FF4500 !important;
}

.blogsoc-hackernews:hover .blogsoc-icon {
    background-color: #FF6600 !important;
}

/* Author */
#prestablogauthor {
    padding: 20px;
    border: 1px solid #F0F0F0;
    margin-bottom: 20px;
    min-height: 100px;
    width: 100%;
    display: inline-block;
}

img.author {
    border-radius: 100%;
    float: left;
    padding: 30px;
    max-width: 100%;
    height: auto;
}

#prestablogbio {
    display: block;
    padding: 15px;
    background-color: #f2f2f2;
}

#prestablogbio h4 {
    border: none;
    padding: 0;
}

/* News en footer */
ul.prestablog-footer {
    font-size: 12px;
    line-height: 13px;
}

ul.prestablog-footer .prestablogdat {
    font-size: 90%;
}

.prestablog-footer-title {
    color: #232323;
    margin: 1rem 0;
    font-size: 1rem;
}

.footer-container .prestablog-footer li a.btn.btn-primary {
    color: #FFFFFF
}

.prestablog-footer-img {
    max-width: 40px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
}

.prestablog-footer li {
    margin-bottom: 10px;
}

#header .header-nav #_prestablog_index div {
    margin-left: 2.5rem;
    margin-top: 0.9375rem;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 770px) {
    #prestablog_menu_cat nav {
        display: none;
    }

    #prestablog_menu_cat nav ul {
        padding: 0;
    }

    #menu-mobile {
        cursor: pointer;
        background: #333333;
        display: block;
        width: 100%;
        margin-bottom: 10px;
        color: #fff;
        padding: 10px;
    }

    #prestablog_menu_cat nav ul ul {
        left: 40px;
        width: auto;
    }

    #prestablog_menu_cat nav ul ul ul {
        position: absolute;
        top: 0px;
        width: auto;
    }

    #prestablog_menu_cat nav ul li {
        float: none;
    }

    :is(#blog_list_1-7, .blog_list_1-7) li,
    :is(#blog_list_1-7, .blog_list_1-7) li.tiers,
    #blog_article_linked :is(#blog_list_1-7, .blog_list_1-7) li,
    :is(#blog_list_1-7, .blog_list_1-7) li.blog-grid-sizer,
    :is(#blog_list_1-7, .blog_list_1-7).two_article li.blog-grid-sizer,
    :is(#blog_list_1-7, .blog_list_1-7).three_article li.blog-grid-sizer,
    :is(#blog_list_1-7, .blog_list_1-7).three_article li,
    :is(#blog_list_1-7, .blog_list_1-7).four_article li,
    :is(#blog_list_1-7, .blog_list_1-7).four_article li.blog-grid-sizer {
        width: 100%;
    }
}

@media (max-width: 600px) {
    :is(#blog_list_1-7, .blog_list_1-7) .block_top .blog_desc {
        font-size: 12px;
    }

    #prestablogauthor img.author {
        max-width: 45%;
    }
}

@media (max-width: 400px) {
    img.news {
        float: none;
        display: block;
        clear: both;
    }

    :is(#blog_list_1-7, .blog_list_1-7) .block_top {
        text-align: center;
        width: 100%;
    }

    :is(#blog_list_1-7, .blog_list_1-7) .block_bas {
        width: 100%;
    }

}

/* Table of Contents styles */
#prestablog-toc-container {
    width: 100%;
    margin-bottom: 10px;
    float: left;
}

.prestablog-toc {
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    position: relative;
    border: 1px solid #e6e6e6;
}

.prestablog-toc:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.prestablog-toc-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333d2;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.prestablog-toc-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.prestablog-toc-toggle i {
    transition: transform 0.3s ease;
    color: #2fb5d2;
}

.prestablog-toc.collapsed .prestablog-toc-toggle i {
    transform: rotate(-90deg);
}

.prestablog-toc-list {
    position: absolute;
    left: -1px;
    right: -1px;
    top: 100%;
    z-index: 99;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    padding: 10px 15px;
    list-style: none;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    overflow-y: auto;
    max-height: calc(70vh - 80px);
    margin: 0;
    opacity: 1;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.prestablog-toc-list::-webkit-scrollbar {
    width: 4px;
}

.prestablog-toc-list::-webkit-scrollbar-track {
    background: transparent;
}

.prestablog-toc-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.prestablog-toc-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.prestablog-toc.collapsed .prestablog-toc-list {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    border: none;
    box-shadow: none;
}

.prestablog-toc-item {
    margin: 8px 0;
    line-height: 1.4;
}

.prestablog-toc-level-2 {
    padding-left: 15px;
}

.prestablog-toc-level-3 {
    padding-left: 30px;
}

.prestablog-toc-level-4 {
    padding-left: 45px;
}

.prestablog-toc-level-5 {
    padding-left: 60px;
}

.prestablog-toc-level-6 {
    padding-left: 75px;
}

.prestablog-toc-level-2 .prestablog-toc-link {
    padding: 3px 0 10px 0;
    border-bottom: 1px solid #e3e3e3;
}

.prestablog-toc-link {
    text-decoration: none;
    display: inline-block;
    padding: 3px 0;
    position: relative;
    color: inherit;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 95%;
}

.prestablog-toc-link:hover {
    padding-left: 5px;
    color: #2fb5d2;
}

.prestablog-toc-link:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent currentColor;
    opacity: 0;
    transition: opacity 0.2s ease, left 0.2s ease;
}

.prestablog-toc-link:hover:before {
    opacity: 1;
    left: -15px;
}

.prestablog-toc-link.active {
    color: #2fb5d2;
    font-weight: 500;
    padding-left: 5px;
}

.prestablog-toc-link.active:before {
    opacity: 1;
    left: -15px;
}

.toc-wrapper {
    position: relative;
}

.toc-placeholder {
    display: block;
    visibility: hidden;
}

.toc-fixed {
    position: fixed;
    top: 20px;
    z-index: 100;
}

/* Float option for Table of Contents */
.prestablog-toc.float-toc {
    float: left;
    min-width: 480px;
    margin-left: 0px;
    margin-bottom: 30px;
    z-index: 100;
}

@media (max-width: 990px) {
    .prestablog-toc.float-toc {
        width: 100%;
        min-width: inherit;
    }
}

@media (max-width: 768px) {
    .prestablog-toc.float-toc {
        float: none;
    }

    /* Mobile-only accordion for PrestaBlog sidebar blocks */
    .block-categories.prestablog>h4.title_block {
        position: relative;
        cursor: pointer;
        user-select: none;
        margin-bottom: 0px;
        font-size: 1rem;
    }

    #prestablog_lastliste h4.title_block {
        font-size: 1rem;
    }

    .block-categories.prestablog>h4.title_block::after {
        content: '\25BE';
        /* small down-pointing triangle */
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.18s ease;
        font-size: 25px;
        line-height: 1;
    }

    .block-categories.prestablog.accordion-open>h4.title_block::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .block-categories.prestablog>.block_content {
        display: none;
        margin-top: .5rem;
    }

    .block-categories.prestablog.accordion-open>.block_content {
        display: block;
    }

    #prestablog_recherche,
    #prestablog_categorieslist,
    #prestablog_lastliste,
    #prestablog_archives,
    #prestablog_block_rss {
        padding: 0.7rem 1.25rem;
    }
}

/* Article Navigation Cards Design */
.prestablog-article-navigation .nav-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.prestablog-article-navigation .nav-card:hover,
.prestablog-article-navigation .nav-card:focus {
    text-decoration: none;
    color: inherit;
}

.prestablog-article-navigation .nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.prestablog-article-navigation .nav-card:hover {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.prestablog-article-navigation .nav-card:hover::before {
    transform: scaleX(1);
}

.prestablog-article-navigation .nav-direction {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prestablog-article-navigation .nav-direction i {
    font-size: 18px;
    margin: 0 5px;
}

.prestablog-article-navigation .nav-card-prev .nav-direction {
    justify-content: flex-start;
}

.prestablog-article-navigation .nav-card-next .nav-direction {
    justify-content: flex-end;
}

.prestablog-article-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    line-height: 1.4;
    font-size: 12px;
    transition: color 0.3s ease;
}

.nav-card-prev {
    text-align: left;
}

.nav-card-next {
    text-align: right;
}

.nav-card-prev i.material-icons {
    margin-left: 0px;
}

.nav-card-next i.material-icons {
    margin-right: 0px;
}

.nav-card-prev .nav-title {
    margin-left: 23px;
}

.nav-card-next .nav-title {
    margin-right: 23px;
}

.prestablog-article-navigation .nav-title:hover {
    color: #007bff;
    text-decoration: none;
}

.prestablog-article-navigation .nav-card:hover .nav-title {
    color: #007bff;
}

.prestablog-article-navigation .nav-card:hover .nav-direction {
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prestablog-article-navigation .nav-card {
        padding: 16px;
        margin-bottom: 15px;
    }

    .prestablog-article-navigation .nav-title {
        font-size: 15px;
    }

    .prestablog-article-navigation .nav-direction {
        font-size: 13px;
    }
}

/* Animation for better UX */
.prestablog-article-navigation .nav-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.prestablog-article-navigation .nav-title:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* PrestaBlog Gallery - uses Bootstrap row/col-md-* for columns */
.prestablog-gallery {
    margin: 20px 0;
}

.prestablog-gallery.row {
    margin-left: -5px;
    margin-right: -5px;
}

.prestablog-gallery .prestablog-gallery-link-wrapper {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}

.prestablog-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.prestablog-gallery-link {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.prestablog-gallery-link:hover {
    opacity: 0.85;
}

/* PrestaBlog Gallery Carousel — CSS-only fallback for grid-for-1-7 theme.
   Renders legacy carousel blocks (created on grid-and-slides) as a plain grid gallery.
   No Swiper JS is loaded on this theme, so we neutralize swiper classes and lay out
   slides as a responsive grid using the data-slides-per-view attribute. */
.prestablog-gallery-carousel {
    position: relative;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    overflow: visible;
}

.prestablog-gallery-carousel .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
}

.prestablog-gallery-carousel[data-slides-per-view="1"] .swiper-wrapper {
    grid-template-columns: repeat(1, 1fr);
}

.prestablog-gallery-carousel[data-slides-per-view="2"] .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
}

.prestablog-gallery-carousel[data-slides-per-view="3"] .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
}

.prestablog-gallery-carousel[data-slides-per-view="4"] .swiper-wrapper {
    grid-template-columns: repeat(4, 1fr);
}

.prestablog-gallery-carousel[data-slides-per-view="5"] .swiper-wrapper {
    grid-template-columns: repeat(5, 1fr);
}

.prestablog-gallery-carousel[data-slides-per-view="6"] .swiper-wrapper {
    grid-template-columns: repeat(6, 1fr);
}

.prestablog-gallery-carousel .swiper-slide {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    flex-shrink: 1;
}

.prestablog-gallery-carousel .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.prestablog-gallery-carousel .prestablog-gallery-link {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.prestablog-gallery-carousel .prestablog-gallery-link:hover {
    opacity: 0.85;
}

/* Hide Swiper-only UI elements (arrows, pagination, scrollbar) */
.prestablog-gallery-carousel .nivo-directionNav,
.prestablog-gallery-carousel .swiper-button-next,
.prestablog-gallery-carousel .swiper-button-prev,
.prestablog-gallery-carousel .swiper-pagination,
.prestablog-gallery-carousel .swiper-scrollbar {
    display: none !important;
}

/* Responsive: collapse columns on smaller viewports */
@media (max-width: 1023px) {

    .prestablog-gallery-carousel .swiper-wrapper,
    .prestablog-gallery-carousel[data-slides-per-view] .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {

    .prestablog-gallery-carousel .swiper-wrapper,
    .prestablog-gallery-carousel[data-slides-per-view] .swiper-wrapper {
        grid-template-columns: 1fr;
    }
}

/* FAQ Block */
.prestablog-faq {
    margin: 20px 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.prestablog-faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.prestablog-faq-item:last-child {
    border-bottom: none;
}

.prestablog-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    background: #fff;
    user-select: none;
    list-style: none;
    transition: background 0.15s;
}

.prestablog-faq-question::-webkit-details-marker {
    display: none;
}

.prestablog-faq-question:hover {
    background: #f8f8f8;
}

.prestablog-faq-icon {
    font-size: 22px;
    color: #aaa;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.prestablog-faq-question[aria-expanded="true"] .prestablog-faq-icon {
    transform: rotate(180deg);
}

.prestablog-faq-answer {
    padding: 10px 18px 16px;
    color: #555;
    line-height: 1.6;
    background: #fff;
}