/*
 Theme Name:	Divi Fitness
 Theme URI:		https://divifitness.aspengrovestudio.com/
 Description:	Divi Fitness Child Theme
 Author:		WP Zone
 Author URI:	https://wpzone.co/
 Template:		Divi
 Version:		1.1.3
 License:		GPLv3
 License URI:	https://www.gnu.org/licenses/gpl-3.0.en.html
 Tags:			Divi, fitness, Child Theme
 Text Domain:	divi-fitness
 GitLab Theme URI : https://gitlab.com/aspengrovestudios/divifitness/
 AGS Info: ids.aspengrove 549377 ids.divispace 653374 legacy.key agstheme_divifitness_license_key legacy.status agstheme_divifitness_license_key_status adminPage admin.php?page=AGS_child_theme docs https://wpzone.co/docs/divi-child-themes/divi-fitness/
 * Update URI:  https://wpzone.co/
 
*/


/*
Divi Fitness Child Theme
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 aspen-plugin-installer.php file for additional credit and licensing information.

See the files in the plugin's updater/ and aspen-demo-content/ directories for additional
credit and licensing information.

See the license.txt file in the theme's root directory for the text of the GPL, version 3.
See the GPL2.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
 *
 */


/*
This file modified by Anna Kurowska a and/or others; last modified 2020-05-14
 */


/* Bottom Line */
.divi-fitness-home-blurb:before,
.divi-fitness-blog .et_pb_image_container:before,
.divi-fitness-pricing-table .et_pb_pricing_table:before {
    position: absolute;
    width: 60px;
    height: 3px;
    content: "";
    bottom: 0;
    left: 50%;
    margin-left: -30px;
    z-index: 99;
}


/* slider arrows */
.et-pb-arrow-prev:before, .et-pb-arrow-next:before {
    border-radius: 50%;
    border: 2px solid!important;
    padding: 10px;
    font-size: 20px;
    text-align: center !important;
}

.et-pb-arrow-prev:hover:before, .et-pb-arrow-next:hover:before {
    color: #fff;
}

.et-pb-arrow-prev:before {
    content: "\23";
}

.et-pb-arrow-next:before {
    content: "\24";
}

/* Dotted controllers */

.et-pb-controllers a {
    background-color: transparent !important;
    border: 2px solid!important;
    border-radius: 100px;
    width: 12px;
    height: 12px;
}

/* Testimonials */
.divi-fitness-testimonials .et_pb_slider_container_inner {
    display: flex;
    align-items: center;
}

.divi-fitness-testimonials .et_pb_slide_image, .divi-fitness-testimonials .et_pb_slide_video {
    width: 200px;
    float: none;
    position: relative;
    margin: 0 !important;
    padding-right: 20px;
}

.divi-fitness-testimonials .et_pb_slide_description {
    width: auto;
    flex: 1;
    float: none;
    margin-bottom: 30px !important;
}

.divi-fitness-testimonials .et-pb-controllers {
    bottom: -20px;
}

/* Pricing table */
.divi-fitness-pricing-table .et_pb_pricing_table_wrap {
    align-items: normal;
}

.divi-fitness-pricing-table .et_pb_pricing_table {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px !important;
}

.divi-fitness-pricing-table .et_pb_button_wrapper {
    margin-top: auto;
}

.divi-fitness-pricing-table .et_pb_pricing_heading {
    padding-top: 44px;
    padding-bottom: 0;
}

.divi-fitness-pricing-table .et_pb_pricing_content {
    padding-top: 50px;
}

/* Social icon */
.fitness-social-icon {
    display: flex;
    width: 45%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

/* Blog Module */
.divi-fitness-blog .et_pb_post {
    margin-bottom: 25px !important;
}

.divi-fitness-blog .et_overlay {
    width: 80% !important;
    height: 80% !important;
    border: none !important;
    top: 10% !important;
    left: 10% !important;
}

.divi-fitness-blog .et_overlay:before {
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 12px 0 rgba(26, 26, 26, 0.13);
    top: 50% !important;
    left: 50% !important;
    margin: 0;
    transform: translate(-50%, -50%);
}

/* Sidebar widgets */

.et_pb_widget.widget_recent_entries ul li {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.et_pb_widget.widget_recent_entries ul li:before {
    position: absolute;
    width: 55px;
    height: 2px;
    content: "";
    bottom: 0;
}

.et_pb_widget.widget_recent_entries a {
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 8px;
}



.et_pb_widget.widget_recent_entries span.post-date {
    display: block;
}

.widget_search input#s, .widget_search input#searchsubmit {
    border-radius: 200px;
}

.widget_search input#searchsubmit {
    color: #ffffff;
}

.tagcloud a {
    background: none !important;
    text-transform: capitalize;
    border: 1px solid;
    color: #656565 !important;
    font-size:15px!important;
    padding:2% 5%;
    margin-bottom:10px;
    font-weight:800;
}


/* contact form */
.et_pb_contact_field_2 {
    clear: initial !important;
}

.et_contact_bottom_container {
    float: none !important;
    justify-content: center;
}

/* About */
.divi-fitness-person .et_pb_member_position {
    margin-bottom: 20px;
    padding-bottom: 10px !important;
    position: relative;
}

.divi-fitness-person .et_pb_member_position:before {
    content: '';
    border-top: 2px solid;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
}

.divi-fitness-person .et_pb_team_member_image {
    float: none;
    width: 100%;
    width: calc(100% + 50px);
    max-width: none;
    margin: 0 -25px 30px;
    display: block !important;
    text-align: center;
}

.divi-fitness-person .et_pb_team_member_description {
    display: block !important;
}

/* Toggle */

.divi-fitness-toggle .et_pb_toggle_title:before {
    content: '\50';
    font-size: 25px;
}

.divi-fitness-toggle.et_pb_toggle_open .et_pb_toggle_title:before {
    content: '\4f';
}

/* Yoast Breadcrumbs */

.yoast-breadcrumbs {
    font-size: 17px;
    color: #1a1a1a;
    font-weight: 600;
}

.yoast-breadcrumbs a {
    color: inherit;
}


.yoast-breadcrumbs span.breadcrumb_last {
    font-weight: normal;
    color: rgba(26, 26, 26, 0.54);
}

/* Blog Newsletter */

.divi-fitness-newsletter .et_pb_newsletter_description {
    max-width: 450px;
}

@media (min-width: 1200px) {
    .divi-fitness-newsletter .et_pb_newsletter_fields .et_pb_newsletter_field {
        flex-basis: calc(100% - 200px) !important;
    }

    .divi-fitness-newsletter .et_pb_newsletter_fields .et_pb_newsletter_button_wrap {
        flex-basis: 190px !important;
    }
}

/* Blurb */

.divi-fitness-home-blurb-row .et_pb_column {
    display: flex;
}

.divi-fitness-home-blurb,
.divi-fitness-home-blurb .et_pb_blurb_content,
.divi-fitness-home-blurb .et_pb_main_blurb_image,
.divi-fitness-home-blurb .et_pb_image_wrap,
.divi-fitness-home-blurb .et_pb_module_header {
    transition: all 0.2s ease-in-out;
}

.divi-fitness-home-blurb {
    padding-bottom: 0;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.divi-fitness-home-blurb .et_pb_blurb_content {
    max-width: none;
    width: 100%;
    padding: 0 15px 50px;
    position: relative;
}

.divi-fitness-home-blurb .et_pb_main_blurb_image {
    border-radius: 50%;
    border: 15px solid rgba(255, 255, 255, 0.5);
    margin: 0 auto 10px;
    display: inline-block !important;
    width: 125px !important;
    height: 125px !important;
}

.divi-fitness-home-blurb .et_pb_image_wrap {
    width: 95px !important;
    height: 95px !important;
    border-radius: 50%;
    background-color: #fff;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.divi-fitness-home-blurb:hover {
    z-index: 999 !important;
}

.divi-fitness-home-blurb:hover .et_pb_main_blurb_image {
    box-shadow: 0 4px 12px 0 rgba(26, 26, 26, 0.5);
}

.divi-fitness-home-blurb:hover:before {
    background: #fff;
}

.divi-fitness-home-blurb:hover .et_pb_module_header {
    color: #fff;
}

@media (min-width: 980px) {
    .divi-fitness-home-blurb:hover .et_pb_main_blurb_image {
        margin-top: -55px !important;
        margin-bottom: 30px;
    }

    .divi-fitness-home-blurb:hover {
        margin-top: -20px;
    }

    .divi-fitness-home-blurb:after {
        content: '';
        width: 1px;
        height: 50%;
        position: absolute;
        top: 25%;
        right: 0;
        border-right: 1px solid #e4e4e4;
    }

    .et-last-child .divi-fitness-home-blurb:after {
        display: none;
    }
}

/* WP PageNavi */

.wp-pagenavi {
    padding: 15px;
    line-height: normal;
    width: 100%;
    background: #f5f5f5;
    border: none;
}

.wp-pagenavi span.current, .wp-pagenavi a, .wp-pagenavi .nextpostslink, .wp-pagenavi .previouspostslink {
    display: inline-block;
    color: #fff !important;
    margin: 0 3px;
    padding: 0 10px !important;
    line-height: 30px !important;
    font-size: 16px !important;
    font-weight: 500;
    text-align: center;
    min-width: 30px;
}

.wp-pagenavi .pages {
    margin-right: 30px;
    font-size: 15px !important;
    color: #1a1a1a;
    float: left;
    padding-top: 5px;
}

.wp-pagenavi a {
    background: #2d2d2d;
    color: #fff;
}

.wp-pagenavi span.current, .wp-pagenavi a:hover {
    color: #fff !important;
}

@media (max-width: 600px) {
    .wp-pagenavi {
        text-align: center;
    }

    .wp-pagenavi .pages {
        display: block;
        margin-bottom: 12px;
        margin-right: 0 !important;
        float: none;
    }

    .wp-pagenavi a {
        float: none;
        display: inline-block;
        margin-bottom: 5px !important;
    }

    .wp-pagenavi span.current, .wp-pagenavi span.extend {
        float: none;
        display: inline-block;
        margin-bottom: 5px !important;
    }
}
