/*
Theme Name:  Divi All Purpose
Theme URI:   https://dap.aspengrovestudio.com/
Description: Top All Purpose Child Theme for Divi
Author:      WP Zone
Author URI:  https://wpzone.co/
Template:    Divi
Version:     1.0.3
License:     GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Tags:        Divi, Child Theme
Text Domain: divi-all-purpose
GitLab Theme URI: https://gitlab.com/aspengrovestudios/diviallpurpose/
Update URI:  https://wpzone.co/
*/

/*
Divi All Purpose
Copyright (C) 2023 WP Zone

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.


==========

CREDITS:

Parts of this theme are based on and/or copied from WordPress, copyright 2011-2018
by the contributors. Licensed under the GNU General Public License (GPL), version
2 or later.

Parts of this theme are based on and/or copied from Divi by Elegant Themes. Licensed
under the GNU General Public License (GPL), version 2.

See the license.txt file in the theme's root directory for the text of the GPL, version 3.
See the gpl-2.0.txt file in the theme's root directory for the text of the GPL, version 2.

*/

/*
 *
 * IMPORTANT: UTILIZING THE AUTOMATIC UPDATE FEATURE OF THIS CHILD THEME WILL OVERWRITE
 * ANY CUSTOM CODE PLACED WITHIN THIS FILE. IF YOU WISH TO AUTOMATICALLY UPDATE, PLEASE
 * PLACE YOUR CODE IN THEME OPTIONS >> CUSTOM CSS OTHERWISE YOU CAN MANUALLY UPDATE
 * THE THEME FILES
 *
 */

/* Header color on other homepages */

.page-id-4891 #main-header {
    background : #416BBF !important; /* Travel homepage */
}

.page-id-4653 #main-header {
    background : #211a1a !important; /* Coffee homepage */
}

.page-id-4893 #main-header {
    background : #363636 !important; /* Yoga homepage */
}

/* Basics */

#page-container {
    overflow : hidden !important;
}

#main-content .container:before {
    width : 0;
}

.et_pb_gutters4.et_pb_row_fullwidth.true-fullwidth-row,
.et_pb_gutters3.et_pb_row_fullwidth.true-fullwidth-row,
.et_pb_gutters2.et_pb_row_fullwidth.true-fullwidth-row,
.et_pb_row_fullwidth.true-fullwidth-row {
    width     : 100% !important;
    max-width : 100% !important;
}

@media (min-width : 981px) {
    .centered-row {
        display     : flex;
        align-items : center;
    }
}

/* Rounded bg image row */

@media (min-width : 981px) {
    .rounded-bg-row.rounded-bg-left .content-col {
        margin-left  : 0 !important;
        margin-right : auto !important;
    }

    .rounded-bg-row.rounded-bg-right .content-col {
        margin-left  : auto !important;
        margin-right : 0 !important;
    }
}

@media (max-width : 981px) {
    .rounded-bg-row.rounded-bg-right .content-col,
    .rounded-bg-row.rounded-bg-left .content-col {
        margin-left  : auto !important;
        margin-right : auto !important;
        float        : none;
    }

    .rounded-bg-row .image-col {
        max-width : 95%;
        float     : none;
    }

    .rounded-bg-row.rounded-bg-right .image-col {
        margin-left  : auto !important;
        margin-right : 0 !important;
    }
}

/* Services - Logo section */

@media (min-width : 767px) {
    .services-logo-row.services-logo-3-col .services_logo {
        width : 33%;
    }
}

@media (min-width : 500px) and (max-width : 767px) {
    .services-logo-row.services-logo-3-col .services_logo {
        width : 50%;
    }
}

@media (min-width : 500px) {
    .services-logo-row.services-logo-3-col .services_logo {
        display : inline-block;
        padding : 10px;
    }
}

.services-logo-row .services_logo img {
    width           : auto;
    height          : 75px;
    object-fit      : contain;
    object-position : center;
}

/* Services - Testimonial Slider */

.services_testimonial_slider p.author {
    font-size    : 17px;
    font-weight  : bold;
    padding-left : 5px;
    position     : relative;
}

.services_testimonial_slider p.author span {
    display     : block;
    font-size   : 14px;
    font-weight : normal;
    opacity     : 0.75;
}

.services_testimonial_slider .et_pb_slide_description,
.services_testimonial_slider .et_pb_slide_image {
    display  : block;
    float    : none;
    width    : 100%;
    position : relative !important;
}

.services_testimonial_slider .et_pb_slide_image {
    margin-top : 15px !important;
}

.services_testimonial_slider .et_pb_slide_image img {
    width         : 60px;
    height        : 60px;
    object-fit    : cover;
    border-radius : 50%;
}

.services_testimonial_slider .et_pb_slide_description {
    padding-top : 20px;
}
 