/*
 Theme Name:   Soledad Child Theme
 Theme URI:    http://pencidesign.com/
 Description:  Soledad Child Theme - Made by PenciDesign
 Author:       Pencidesign
 Version:      1.0
 Author URI:   http://pencidesign.com/
 Template:     soledad
 Text Domain:  soledad
*/

/* = Theme customization go here
-------------------------------------------------------------- */
@media (min-width: 768px) {
    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/3) {
        width: 63%;
        margin-right: 2.6%;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/4) {
        width: 34%;
        clear: none;
        margin-right: 0;
        margin-bottom: 0 !important;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/4) article {
        margin-bottom: 22px !important;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/5) {
        width: 34%;
        clear: none;
        margin-right: 0;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/4) .cat > a.penci-cat-name,
    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/5) .cat > a.penci-cat-name {
        font-size: 18px;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/4) .penci-entry-title.entry-title.grid-title a,
    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/5) .penci-entry-title.entry-title.grid-title a {
        font-size: 16px;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/4) .item > .thumbnail,
    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/5) .item > .thumbnail {
        margin-bottom: 10px;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/4) .cat,
    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/5) .cat {
        font-size: 18px;
        margin-bottom: 0;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(/*5n+*/3) .thumbnail .penci-image-holder {
        aspect-ratio: 160 / 121;
    }

    /*.home .penci-grid li.grid-2-style:nth-of-type(5n+1) {
        clear: both;
        margin-right: 3.9%;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(5n+2) {
        margin-right: 0;
        clear: none;
    }*/
    .home .penci-grid li.grid-2-style:nth-of-type(6n):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+1):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+2):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+3):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+4):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+5):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)) {
        width: /*calc(94.8% / 3)*/ 48.05% !important;
        margin-right: /*2.6%*/ 3.9% !important;
        clear: none !important;
    }

    /*.home .penci-grid li.grid-2-style:nth-of-type(6n+2):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+5):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5))*/
    .home .penci-grid li.grid-2-style:nth-of-type(6n+1):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+3):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+5):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)) {
        margin-right: 0 !important;
    }

    .home .penci-grid li.grid-2-style:nth-of-type(6n):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
        /*.home .penci-grid li.grid-2-style:nth-of-type(6n+3):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5))*/
    .home .penci-grid li.grid-2-style:nth-of-type(6n+2):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)),
    .home .penci-grid li.grid-2-style:nth-of-type(6n+4):not(:nth-of-type(1)):not(:nth-of-type(2)):not(:nth-of-type(3)):not(:nth-of-type(4)):not(:nth-of-type(5)) {
        clear: both !important;
    }
}

body {
    counter-reset: compteurSlider;
}


@media (min-width: 768px) {
    .elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .owl-item:not(.cloned)::after {
        color: #00ce8e;
        font-size: 5rem;
        font-weight: bold;
        top: 20px;
        right: 20px;
        position: absolute;
        counter-increment: compteurSlider;
        content: "0" counter(compteurSlider);
    }
}
@media (max-width: 767px) {
    .elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .owl-item:not(.cloned) .feat-text h3::before {
        color: #00ce8e;
        font-size: 3rem;
        font-weight: bold;
        top: 0;
        left: 0;
        position: absolute;
        counter-increment: compteurSlider;
        content: "0" counter(compteurSlider);
        font-size: 2rem;
        top: .5rem;
    }
    .elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .owl-item:not(.cloned) .feat-text h3 {
        padding-left: 3.5rem;
    }
    .elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .owl-item:not(.cloned) .penci-featured-content,
    .elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .owl-item:not(.cloned) .penci-featured-content .feat-text {
        padding-left: 0;
        padding-right: 0;
    }
}

.elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .penci-featured-content {
    position: static;
    transform: none;
}

.elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .penci-featured-content .feat-text {
    max-width: calc(100% - 100px);
}

.elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .penci-owl-carousel .owl-nav .owl-prev,
.elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .penci-owl-carousel .owl-nav .owl-next {
    bottom: 10%;
    top: auto;
    opacity: 1 !important;
    background-color: transparent;
    color: #fff;
    font-size: 30px;
}

.elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .penci-owl-carousel .owl-nav .owl-prev {
    left: 0;
}

.elementor-section.elementor-section-boxed > .elementor-container .elementor-widget-penci-featured-sliders .penci-owl-carousel .owl-nav .owl-next {
    right: 0;
}

/*.single .pc-wrapbuilder-header {
    margin-bottom: 0;
}

.single .post-image {
    margin-bottom: 0;
}*/

.single .penci-standard-cat {
    position: absolute;
    bottom: 30px;
    left: 15px;
}

.penci-fancy-heading .inner-tit {
    display: block;
}

.penci-fancy-heading-inner {
    position: relative;
}

.mois-annee {
    position: absolute;
    top: 15px;
    right: 0;
    color: #fff;
    background-color: #00ce8e;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 0 5px;
}

@media (max-width: 767px) {
    .elementor-769 .elementor-element.elementor-element-2e54242 .penci-owl-carousel .owl-nav .owl-prev, .elementor-769 .elementor-element.elementor-element-2e54242 .penci-owl-carousel .owl-nav .owl-next {
        transform: translateY(calc(-50% - 25px)) !important;
    }
}

@media (min-width: 1200px) {
    .elementor-widget-penci-featured-sliders .owl-nav .owl-prev {
        left: calc((100vw - 1140px) / 2);
    }

    .elementor-widget-penci-featured-sliders .owl-nav .owl-next {
        right: calc((100vw - 1140px) / 2);
    }
}

@media (max-width: 768px) {
    .header-standard .author-post span {
        display: block;
        font-size: 14px;
    }

    .post-box-meta-single > span::before {
        display: none;
    }

    .header-standard .post-box-meta-single span {
        font-size: 14px;
    }

    .post-box-meta-single {
        margin-bottom: -73px !important;
    }

    .tags-share-box.social-align-right {
        text-align: right !important;
    }

    .container-single .tags-share-box.social-align-right {
        text-align: right !important;
    }

    .tags-share-box.tags-share-box-2_3 .penci-social-share-text {
        margin-right: 0 !important;
    }

    .tags-share-box.tags-share-box-2_3 .post-share-item {
        height: 27px;
        line-height: 27px;
        padding: 0;
        width: 27px;
        text-align: center;
    }

    .penci-faicon.fa.fa-facebook {
        font-size: 20px !important;
    }

    .penci-faicon.fa.fa-twitter {
        font-size: 22px !important;
        margin-left: 0 !important;
        margin-top: 2px;
    }

    .tags-share-box.tags-share-box-2_3 .penci-social-share-text {
        font-size: 17px !important;
        padding-top: 5px !important;
        padding-bottom: 2px !important;
    }
}

