
.widget-fermer-page-detail {
    display: block;
    position: absolute;
    top: 15px;
    right: 10px;
}


.widget-fermer-page-detail i {
    display: inline-block;
    position: relative;
    padding: 10px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

.widget-fermer-page-detail:hover i {
    animation-name: rotate_widget_fermer_page;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-fill-mode: backwards;
    transform: rotate(0deg);
    color: var(--orange);
}

@keyframes rotate_widget_fermer_page {
    from {
        transform: rotate(0deg);
        color: var(--orange);
    }

    to {
        transform: rotate(180deg);
        color: #000
    }
}


.category.blog .rubriques {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 100px;
}

.category.blog .rubrique {
    margin: 30px;
    width: calc((100% - 180px) / 3);
    margin-bottom: 10px;
}

.category.blog .rubrique>h2 {
    font-family: 'futura';
    font-size: 20px;
    text-transform: uppercase;
    color: #222;
    font-weight: normal;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 15px;
    height: 100px;
    display: flex;
    align-items: flex-end;
    max-width: initial;
}

.category.blog .rubrique>h2 a {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-decoration: none;
}

.category.blog .rubrique .photo {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    overflow: hidden;
    background-color: #eee;
}

.category.blog .rubrique .photo:before {
    content: '';
    float: left;
    padding-top: 70%;
}

.category.blog .rubrique .photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    max-width: initial;
    margin-left: initial;
    margin-right: initial;
}

.category.blog .rubrique>p {
    font-family: 'roboto-regular';
    font-size: 16px;
    line-height: 1.6;
    color: var(--orange);
}

.category.blog .rubrique>p a {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
}

.category.blog .rubrique .content img {
    display: none;
}

.category.blog .rubrique .content p,
.category.blog .rubrique .content h2,
.category.blog .rubrique .content h3,
.category.blog .rubrique .content h4 .category.blog .rubrique .content a {
    font-family: 'roboto-regular';
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    font-weight: 300;
    margin: initial;
    text-align: initial;
}


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

.single.blog {}

.single.blog .layout-content {
    padding-right: 100px;
    width: calc(100% - 270px);
}

.single.blog h1,
.single.blog h2,
.single.blog h3,
.single.blog h4 {
    text-align: left !important;
    margin-left: initial !important;
    margin-right: initial !important;
    max-width: initial !important;
    color: #000 !important;
    margin-bottom: 10px;
}

.single.blog h1 strong,
.single.blog h2 strong,
.single.blog h3 strong,
.single.blog h4 strong,
.single.blog p strong {
    font-size: inherit;
    font-family: inherit;
    color: #000;
    font-weight: normal;
}

.single.blog h1 a,
.single.blog h2 a,
.single.blog h3 a,
.single.blog h4 a {
    font-size: inherit;
    font-family: inherit;
    color: #000;
    font-weight: normal;
}

.single.blog h1 {}

.single.blog h2 {
    font-size: 26px;
    line-height: 1.3;
}

.single.blog h3 {
    font-size: 20px;
}

.single.blog .layout-content>div>h1:first-child {
    display: none;
}

.single.blog .layout-content ul {
    margin-left: 25px;
    list-style-type: disc;
}

.single.blog .layout-content ol {
    margin-left: 25px;
    list-style-type: decimal;
}

.single.blog .layout-content li {
    display: list-item;
    margin-bottom: 5px;
    text-align: left;
}


.single.blog .layout-content li a {
    font-size: inherit;
    color: var(--orange);
}

.single.blog .layout-content figure.wp-block-image {
    margin-top: 30px;
    margin-bottom: 30px;
}

.single.blog .layout-display {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
}

.single.blog .rubriques {
    padding-top: 100px;
    width: 270px;
}

.single.blog .rubriques>h2 {
    display: none;
    width: 100%;    
    padding-top: 20px;
    margin-bottom: 50px;
    border-top: 1px solid #000;    
    font-family: 'futura';
    font-size: 25px;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1;
    text-align: center !important;
}

.single.blog .rubrique {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #aaa;
}

.single.blog .rubrique>h2 {
    font-family: 'futura';
    font-size: 16px;
    text-transform: uppercase;
    color: #222;
    font-weight: normal;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-end;
    max-width: initial;
}

.single.blog .rubrique>h2 a {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-decoration: none;
    hyphens: auto;
}

.single.blog .rubrique .photo {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    overflow: hidden;
    background-color: #eee;
    display: none;
}

.single.blog .rubrique .photo:before {
    content: '';
    float: left;
    padding-top: 65%;
}

.single.blog .rubrique .photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    max-width: initial;
    margin-left: initial;
    margin-right: initial;
}

.single.blog .rubrique>p {
    font-family: 'roboto-regular';
    font-size: 16px;
    line-height: 1.6;
    color: var(--orange);
    display: none;
}

.single.blog .rubrique>p a {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
}

.single.blog .rubrique .content img {
    display: none;
}

.single.blog .rubrique .content p,
.single.blog .rubrique .content h2,
.single.blog .rubrique .content h3,
.single.blog .rubrique .content h4 .single.blog .rubrique .content a {
    font-family: 'roboto-regular';
    font-size: 12px;
    line-height: 1.3;
    color: #444;
    font-weight: 300;
    margin: initial;
    text-align: initial;
    hyphens: auto;
}

.single.blog .layout-content h4:after {
    display: none;
}

.single.blog .thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 40px;
}

.single.blog .thumbnail img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single.blog .thumbnail:before {
    content: '';
    float: left;
    padding-top: 75%;
}

.single.blog .thumbnail:empty:before {
    display: none;
}

.single.blog .thumbnail:empty {
    display: none;
}




@media screen and (max-width:800px) {
    .category.blog .rubriques {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

    .single.blog .rubriques>h2 {
        display: block;
    }
    
    .category.blog .rubrique {
        width: 100%;        
        margin-left: auto;
        margin-right: auto;
    }


    .single.blog .layout-content {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .single.blog .rubriques {
        width: 100%;
        max-width: 500px;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .single.blog .layout-display {
        display: flex;
        flex-direction: column;
    }

}