/* PXLZ EXTENDER FRONT END CSS  */

.p-0 {
    padding: 0!important;
}

.hidden {
    display: none;
}

.mailing-footer {
    background: url('../img/bandeau.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mailing-footer .wpb_wrapper {
    width: 100%;
    max-width: 980px;
    background-color: #fff;
    margin: 3em auto;
    padding: 1em 2em;
}

/* OWL carousel */

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
    display: block!important;
}

.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 30%;
    left: 0;
    background: rgba(0, 0, 0, 0.3)!important;
    padding: 0.8em 0.4em!important;
    display: block;
    font-size: 2em;
    color: #fff;
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 30%;
    right: 0;
    background: rgba(0, 0, 0, 0.3)!important;
    padding: 0.8em 0.4em!important;
    display: block;
    font-size: 2em;
    color: #fff;
}

.owl-carousel .owl-nav button.owl-next:active,
.owl-carousel .owl-nav button.owl-next:focus {
    outline: none;
}

.owl-carousel .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.5)!important;
    transition: .3s;
}

.blog-entry.post .thumbnail .overlay {
    background-color: rgb(159 14 58 / .2)!important;
}

/* Publications / documentations */

.listing-publications,
.listing-personnes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.box-publication-full,
.listing-personnes-full {
    width: 100%;
    margin: 0 0 2em;
    border: 1px solid var(--borderColor);
    background: #eaeaea;
}

.box-publication-full .box-publication-meta {
    border-bottom: 2px solid #fff;
}

.box-publication-full .box-publication-thumbnail {
    width: 25%;
}

.box-publication {
    width: 23%;
    border: 1px solid var(--borderColor);
    margin: 0.5em;
}

.box-publication-thumbnail {
    width: 100%;
}

.box-publication-thumbnail a:first-child {
    border-bottom: 0!important;
}

.box-publication-thumbnail img:hover {
    opacity: .8;
    transition: .2s;
}

.box-publication-pitch {
    display: flex;
    flex-direction: row;
    padding: 1em;
}

.box-publication-content {
    width: 67%;
    font-size: 0.9em;
    line-height: 200%;
    padding: 0 1em;
}

.box-publication-meta {
    border-bottom: 1px solid var(--borderColor);
    padding: 1em;
}

.box-publication-date {
    float: right;
    background: var(--secondColor);
    color: #fff;
    font-weight: bold;
    padding: .5em;
    font-size: 0.7em;
    margin-top: -2px;
}

.btn-telecharger-mini i {
    float: right;
    position: relative;
    top: 1.1em;
    font-size: 1.3em;
}

.content-publication-single {
    display: flex;
    flex-direction: row;
}

.thumbnail-publication {
    margin-right: 1em;
}

/* Box Personne */

.box-personne {
    width: 30%;
    margin: .8em .8em 2em .8em;
}

.box-personne img {
    margin-bottom: 1em;
}

.box-personne h3, 
.box-personne p {
    margin-bottom: 0;
}

.box-personne h3 {
    text-transform: none;
}

.box-personne a {
    display: block;
}

.sidebar-publication .widget-content {
    padding: 1em;
    background: var(--lightGray);
    border: 1px solid var(--borderColor);
}

@media(max-width: 980px){
    .box-publication,
    .box-personne {
        width: 45%;
    }
}

@media(max-width: 768px){
    .box-publication,
    .box-personne {
        width: 45%;
    }
}

@media(max-width: 750px){
    .content-publication-single {
        flex-wrap: wrap;
    }
}

@media(max-width: 650px){
    .box-publication {
        width: 45%;
    }

    .box-personne {
        width: 100%;
    }

    .box-publication-pitch {
        flex-direction: column;
    }

    .box-publication-full .box-publication-thumbnail {
        width: 100%;
        margin-bottom: 1em;
    }

    .box-publication-content {
        width: 100%;
    }

    .box-publication-content .elementor-widget-button {
        text-align: center;
    }

}

@media(max-width: 600px){
    .box-publication {
        width: 100%;
        text-align: center;
    }

    .box-publication-thumbnail {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .box-publication-pitch {
        padding: 1em 1em 3em;
    }

}