/*
 * Fix para iPhone X en adelante en horizontal
 */
body:not(.apo-page-dark-skin) {
    background-color: #000000;
}

body:not(.apo-page-dark-skin) > .apo-page,
body:not(.apo-page-dark-skin) > .apo-footer {
    background-color: transparent;
}

body:not(.apo-page-dark-skin) > .apo-page:has(.apo-section:only-child),
body:not(.apo-page-dark-skin) > .apo-page > .apo-section:has(.apo-testimonials),
body:not(.apo-page-dark-skin) > .apo-page > .apo-section:has(.apo-isotope) {
    background-color: #f5f5f5;
}

/*
 * Loader
 */
.apo-loader img {
    margin-left: -1px;
    height: 44px !important;
    width: auto;
    max-width: inherit;
}

/*
 * Header - Navbar
 */
.apo-header-item img {
    max-height: 30px;
}

/*
 * "Presentation" but is just an img bg
 */
.apo-section.apo-fullheight-section.bbcf-bg-img {
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.5);
}
.bbcf-index p,
.bbcf-index h1,
.bbcf-index h2,
.bbcf-index h3,
.bbcf-index h4,
.bbcf-index h5,
.bbcf-index h6 {
    color: #fff;
    text-align: left;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
}
.bbcf-index p {
    font-size: 3rem;
    line-height: 4rem;
}
.bbcf-index h1 {
    margin-bottom: 20px;

    img {
        width: 30%;
    }

    @media all and (max-width: 767px) {
        img {
            width: 40%;
        }
    }
}

/*
 * Modal
 */
.apo-modal a.apo-fullscreen-nav-title {
    color: white;
}

/*
 * Parallax effect
 */
.apo-content-logo {
    max-height: 75px;
}

/*
 * Masonry
 */
.apo-project-media img {
    object-fit: cover;
    aspect-ratio: 1/1;
}

/*
 * Testimonials
 */
.apo-testimonials.apo-style-3 .apo-testimonial::before {
    content: none;
}

.apo-testimonials.apo-style-3 .owl-dots {
    margin-top: 0px;
}

.apo-testimonials.apo-style-3 .owl-dot img {
    height: 100px;
    width: 100px;
}

/*
 * Services > ...
 */
.bbcf-list > li {
    margin-bottom: 15px;
}
.list-decimal {
    list-style-type: decimal;
}
.list-disc > li::before {
    content: "•";
    padding-right: 5px;
}
hr.apo-divider-small.apo-divider-thin {
    margin: 5% 0px;
}
@media all and (max-width: 767px) {
    .bbcf-flex > div {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media all and (min-width: 768px) {
    .apo-fixed-content-fixed-col {
        position: absolute;
        padding: 40px 5%;
    }
    .apo-fixed-content-fixed-col::after {
        top: 50vh;
        right: 2%;
    }

    .bbcf-flex {
        flex-direction: row !important;
        gap: 2%;
    }
    .bbcf-flex > div {
        padding-left: 20px;
        padding-right: 20px;
        width: 50%;
    }
}
.apo-fixed-content-scroll-col .apo-project-images img {
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 5px;
}
/*
 * Nuestro proceso
 */
body.apo-fp-photo-stream:has(div#fp-nav) {
    .apo-section-title,
    .apo-photo-stream-category {
        padding-left: 10vw !important;
        padding-right: 10vw !important;
    }
}
.apo-photo-stream-hidden-img {
    top: calc(1px * -infinity);
}

/*
 * Contacto
 */
#contact .apo-contact-info,
.apo-footer .apo-contact-info {
    li:first-child {
        font-size: 3rem;
    }

    font-size: 2.5rem;

    li:last-child {
        font-size: 2rem;
    }
}

#contact,
.apo-footer {
    @media all and (max-width: 991px) {
        .container-fluid {
            padding-left: 25px;
            padding-right: 25px;
        }
    }
}

/*
 * Footer
 */
.apo-footer[data-bg-img-src]:not([data-bg-img-src=""]) {
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.5);
}

@media all and (min-width: 768px) and (max-width: 1199px) {
    .apo-widget-area.apo-cols-4 .apo-widget.apo-widget-size-3x {
        width: 100%;
    }
}
@media all and (min-width: 1200px) {
    .apo-widget-area.apo-cols-4 .apo-widget.apo-widget-size-3x {
        width: 75%;
    }
}
