/*
Theme Name: FAO
Template: Divi
*/

/* ------------------------------------------------------- */


/***** Sommaire blog *****/
#page-container .sommaire-blog .grid-col {
    position: relative;
}

#page-container .sommaire-blog .grid-col .et_pb_button_module_wrapper {
    position: initial;
}

#page-container .sommaire-blog .grid-col .btn {
    display: none;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 1rem;
}

#page-container .sommaire-blog .grid-col:hover .btn {
    display: block;
}

#page-container .sommaire-blog .et_pb_de_mach_thumbnail {
    position: relative;
    margin-bottom: 0;
}

#page-container .sommaire-blog .et_pb_de_mach_thumbnail a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 8, 66, 0.7);
    display: none;
}

#page-container .sommaire-blog .et_pb_de_mach_thumbnail a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    visibility: visible;
    z-index: 5;
}

#page-container .sommaire-blog .grid-col:hover .et_pb_de_mach_thumbnail a::after {
    display: block;
    visibility: visible;
}

#page-container .sommaire-blog .et_pb_de_mach_title {
    padding: 1rem;
    background-color: #F3F3F6;
    height: 150px;
}

#page-container .sommaire-blog .grid-col:hover .et_pb_de_mach_title {
    position: relative;
    background-color: #0B0842;
}

#page-container .sommaire-blog .grid-col:hover .et_pb_de_mach_title .et_pb_module_inner {
    position: initial;
}

#page-container .sommaire-blog .et_pb_de_mach_title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    visibility: visible;
    z-index: 5;
}

#page-container .sommaire-blog .et_pb_de_mach_title h3 {
    text-align: center;
    font-size: 24px;
    line-height: 29px;
    text-transform: inherit;
    font-weight: 400;
}

#page-container .sommaire-blog .grid-col:hover .et_pb_de_mach_title h3 {
    color: #fff;
}

#page-container .sommaire-blog .vignette-temps-lecture {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    color: #fff;
    width: 100%;
    border-bottom: #E11F1D 3px solid;
    padding: 1rem 0;
    font-size: 20px;
}

#page-container .sommaire-blog .grid-col:hover .vignette-temps-lecture {
    display: flex;
}

#page-container .sommaire-blog .temps-lecture-sommaire .dmach-acf-value::after {
    content: 'min';
    margin-left: .2rem;
}



/***** Article blog *****/
.blog-template-default #fao_page-blog--content {
    max-width: 1280px;
    padding-top: 0 !important;
}

.blog-template-default #left-area {
    padding: 0;
    width: 100%;
    z-index: -1;
    position: relative;
}

.blog-template-default #fao_page-blog--banner-hero {
    max-width: 1280px;
}

.blog-template-default #ez-toc-container {
    width: 100%;
    background-color: #F3F3F6;
    border: none;
    border-radius: 0;
    padding: 2rem 1rem;
    margin-bottom: 4rem;
}

.blog-template-default #ez-toc-container ul {
    padding-bottom: 0;
}

.blog-template-default #ez-toc-container li:not(.blog-template-default #ez-toc-container li:last-child) {
    margin-bottom: 1rem !important;
}

.blog-template-default #ez-toc-container li::before {
    display: none !important;
}

.blog-template-default #ez-toc-container a {
    font-family: 'Interstate Bold', sans-serif;
    font-size: 20px;
    transition: color .3s ease-in-out;
    display: flex;
    align-items: center;
    font-weight: 700;
}

@media(max-width: 500px) {
    .blog-template-default #ez-toc-container a {
        font-size: 18px !important;
    }
}

.blog-template-default #ez-toc-container a::before {
    content: '';
    background-color: #E11F1D;
    height: 3px;
    width: 20px;
    margin-right: 1rem;
}

.blog-template-default .post-meta {
    display: none;
}

.blog-template-default .time-read {
    display: block;
    width: 100%;
    color: #0B0842;
    text-align: center;
    margin-bottom: 1rem;
}

.blog-template-default .entry-title {
    text-align: center;
    margin-bottom: 1rem;
}

.blog-template-default .introduction {
    margin-bottom: 2rem;
}

.blog-template-default .et_pb_image .et_pb_image_wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.blog-template-default .et_pb_image img {
    width: 700px;
}



.blog-template-default #others-articles .et_pb_row {
    display: flex;
    justify-content: space-between;
}

.blog-template-default #others-articles .et_pb_row .article-wrapper {
    position: relative;
    width: 31%;
}

.blog-template-default #others-articles .article-image {
    position: relative;
    height: 81%;
}

.blog-template-default #others-articles .et_pb_row .article-wrapper:hover .article-image {
    height: 80%;
}

.blog-template-default #others-articles img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-template-default #others-articles .article-title {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F3F3F6;
    padding: 1rem .5rem;
    height: 90px;
}

.blog-template-default #others-articles .article-wrapper:hover .article-title {
    background-color: #0B0842;
}

.blog-template-default #others-articles .article-wrapper:hover .article-title h3 {
    color: #fff;
}

.blog-template-default #others-articles .article-title h3 {
    font-family: "Interstate", sans-serif;
    text-transform: initial;
    font-weight: 400;
    text-align: center;
    font-size: 23px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.blog-template-default #others-articles .article-temps,
.blog-template-default #others-articles .more {
    display: none;
}


.blog-template-default #others-articles .article-wrapper:hover .more {
    display: flex;
}


.blog-template-default #others-articles .article-temps {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: #E11F1D 3px solid;
    z-index: 2;
}

.blog-template-default #others-articles .article-temps span {
    font-weight: 500;
    font-size: 22px;
    color: #fff;
    margin: .5rem;
    width: max-content;
}

.blog-template-default #others-articles .article-wrapper:hover .article-temps {
    display: flex;
    justify-content: center;
    width: 100%;
}

.blog-template-default #others-articles .more {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 8, 66, 0.7);
    z-index: 1;
    height: 83%;
    justify-content: center;
    align-items: center;
}

.blog-template-default #others-articles .more span {
    position: relative;
    top: 25px;
}