/*
 Theme Name:	Divi Therapist
 Theme URI:		https://divitherapist.aspengrovestudio.com/
 Description:	Divi Child Theme for Therapists
 Author:		Divi Space
 Author URI:	https://divi.space
 Template:		Divi
 Version:		1.0.0
 License:		GPLv3
 License URI:	https://www.gnu.org/licenses/gpl-3.0.en.html
 Tags:			Divi, Therapist, Child Theme
 Text Domain:	divi-therapist
*/

/*
Divi Therapist Child Theme
Copyright (C) 2019  Aspen Grove Studios

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.

*/

/*
Modifications by Divi Space:
2019-11-26 Official Child Theme Launch
 */

/*
*
* Table of contest:
* 1. HEADER
* 2. GLOBAL:
- fixes
- buttons
- contact forms
- testimonials
- sidebar
- back to top button
3. PAGES
- Homepage
- 404 page
- No results page
* - Single post
* - FAQ page
* 4. FOOTER
 */




/* 1. HEADER */

/* 2. GLOBAL */

/* fixes */
div.comment_postinfo {
    padding-left: 0px!important;
}

/* buttons */

.et_pb_button {
    transition: 300ms ease 0ms;
}

.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover, .therapy-contact-form  button.et_pb_contact_submit.et_pb_button, .therapy-contact-form
button.et_pb_contact_submit.et_pb_button:hover  {
    padding: 7px 25px!important;
}

/* contact form */

.therapy-contact_form .et_contact_bottom_container {
    display: flex;
    float: none !important;
    justify-content: center;
    padding: 4.2px 20px;
}

.therapy-contact-form .et_pb_contact_message {
    margin-top: 49px;
    border-top: 1px solid rgba(1,1,1,0.45) !important;
}

.therapy-letter {
    font-size: 40px !important;
    font-family: Arapey !important;
}

.therapy-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}

/* testimonial */


.therapist-testimonial .et_pb_slider_container_inner {
    display: flex!important;
    flex-direction: column!important;
}

.therapist-testimonial  .et_pb_slide_image {
    order: 2;
    margin-top:0px!important;
    position: relative;
}

.therapist-testimonial  .et_pb_slide_description {
    order: 1;
}

.therapist-testimonial  .et_pb_slide_image, .therapist-testimonial .et_pb_slide_description, .therapist-testimonial .et_pb_slide_with_image .et_pb_slide_description {
    width: 100%;
}


/* sidebar */
#sidebar .widget_search input#s, .widget_search input#searchsubmit, #custom_sidebar .widget_search input#s{
    -moz-border-radius: 200px !important;
    -webkit-border-radius: 200px !important;
    -o-border-radius: 200px !important;
    border-radius: 200px !important;
    border-color: rgba(1,1,1,0.5) !important;
}
#sidebar .et_pb_widget h4 {
    font-size: 21px !important;
    line-height: 1.4em !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}
#sidebar .et_pb_widget a {
    font-size: 14px !important;
    color: rgba(1, 1, 1, 0.8) !important;
}
#sidebar .et_pb_widget li, #custom_sidebar .et_pb_widget li {
    border-bottom: 1px solid rgba(1,1,1,0.2) !important;
}
#sidebar .tagcloud a, #custom_sidebar .tagcloud a {
    background-color: transparent !important;
    -moz-border-radius: 100px !important;
    -webkit-border-radius: 100px !important;
    -o-border-radius: 100px !important;
    border-radius: 100px !important;
    border: 1px solid!important;
}

/* back to top button */

.widget_search input#s, .widget_search input#searchsubmit {
    background-color: transparent !important;
    border-color: rgba(1,1,1,0.5) !important;
}

/* 3. PAGES */

/* homepage */
.therapy-social-icon .et_pb_text_inner a:nth-child(1) {
    padding-right: 25px !important;
}

@media all and (min-width: 981px) and (max-width: 1300px) {
    .therapy-section-box {
        margin-top: -420px !important;
    }
}
@media all and (min-width: 981px) and (max-width: 1200px) {
    .therapy-section-box .et_pb_blurb .et_pb_module_header {
        font-size: 1.6em !important;
    }
}
@media all and (min-width: 1472px) {
    .therapy-blurbs .et_pb_module_header {
        width: 200px !important;
    }
}

/* 404 page */
.error404 #main-content .container, .error404 #content-area, .error404 #left-area {
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding: 0 !important;
}
.error404 #sidebar {
    display: none;
}
.error404 .et_pb_post:last-child {
    margin-bottom: 0;
}

/* faq page */
.therapy-toggle .et_pb_toggle_title:before {
    margin-right: 20px !important;
    position: relative !important;
    content: "\3d" !important;
}
.therapy-toggle .et_pb_toggle_title h5 {
    padding: 0 !important;
}
.therapy-toggle .et_pb_toggle_content {
    padding-left: 45px;
}

/* no results page */
.search-no-results #main-content .container, .search-no-results #content-area, .search-no-results #left-area {
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding: 0 !important;
}
.search-no-results #sidebar {
    display: none;
}
.search-no-results .et_pb_post:last-child {
    margin-bottom: 0;
}

/* single post */

.breadcrumbs span a {
    font-size: 15px!important;
    font-weight: 600!important;
}

.therapist-blog-archive-wrapper .et_pb_image_container {
    margin: 0px;
}


@media all and (max-width: 480px) {
    .therapist-blog-wrapper .et_pb_post_title.et_pb_featured_bg {
        min-height:350px;
    }
}

@media all and (min-width: 481px) {
    .therapist-blog-wrapper .et_pb_post_title.et_pb_featured_bg {
        min-height:500px;
    }
}

.therapist-blog-wrapper .et_pb_title_container{
    position: absolute;
    bottom:15px;
}


h1#comments.page_title {
    font-size: 40px;
    padding-bottom: 15px !important;
}

.et_post_meta_wrapper img {
    display: block;
    margin: 0 auto;
}

div.comment_postinfo {
    padding-left: 20px;
}
.wp-pagenavi {
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    margin-bottom: 25px !important;
    margin-left: auto;
    text-align: center;
    border: none;
}
article .therapy-first-letter blockquote {
    font-size: 32px !important;
    padding-left: 0 !important;
    line-height: 1.75 !important;
    opacity: .8 !important;
    font-weight: bold !important;
    text-align: center !important;
    color: #010101 !important;
    border: none !important;
}
article .therapy-first-letter blockquote p:first-of-type:first-letter  {
    font-size: 32px !important;
    color: #010101 !important;
    font-family: Lato !important;
}
article .therapy-first-letter blockquote::before {
    content: url('http://stablesteps.net/wp-content/themes/child-theme/images/quotation-mark-gold.png');
}
article .therapy-first-letter p:first-of-type:first-letter, span.therapy-first-letter {
    font-size: 40px !important;
    font-family: Arapey !important;
}
.breadcrumbs span a {
    font-size: 14px;
    line-height: 1.71;
    font-style: normal;
    font-weight: normal;
    color: #010101;
    font-family: Lato;
    letter-spacing: normal;
    font-stretch: normal;
}

.flexbox-wrapper {
    width: 100% !important;
    padding-bottom: 20px !important;
    display: inline-block !important;
    padding-top: 20px !important;
}

.breadcrumbs .post p.ost-post .current-item {
    font-weight: 300;
}
.breadcrumbs {
    padding-bottom: 24px !important;
}
article .et_post_meta_wrapper .entry-title {
    text-align: center;
}
article .et_post_meta_wrapper .post-meta {
    font-size: 12px;
    line-height: 2;
    font-style: normal;
    font-weight: normal;
    text-align: center !important;
    font-stretch: normal;
}
article .et_post_meta_wrapper .post-meta a {
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}
.post-navigation {
    width: 100%;
    max-width: 1440px !important;
    height: 150px !important;
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fafafa !important;
    -moz-border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -o-border-radius: 4px !important;
    border-radius: 4px !important;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto !important;
}

.et_pb_posts_nav .nav-next, .et_pb_posts_nav .nav-previous {
    position: relative;
    width: 50%;
}

.nav-next {
    text-align: right;
}


@media all and (max-width: 400px) {
    h1.entry-title {
        font-size: 40px;
    }
    .entry h1 {
        font-size: 40px;
    }}

@media (max-width: 767px) {
    .post-navigation {
        flex-wrap:wrap;
    }
    .post-navigation > * {
        width: 100%;
        text-align: center;
    }}

@media all and (max-width: 500px) {
    #et-main-area #main-content .container {
        width: 90%;
    }}

.meta-nav {
    display: none !important;
    content: none !important;
}

.post-navigation a {
    font-size: 24px;
    line-height: normal;
    font-style: normal;
    font-weight: bold;
    color: #010101;
    font-family: Arapey;
    letter-spacing: normal;
    font-stretch: normal;
}


.post-navigation .therapy-link-nav {
    font-size: 16px !important;
    font-weight: 600;
    text-transform: uppercase !important;
}
.wp-pagenavi a, .wp-pagenavi span.current {
    font-size: 14px;
    -moz-transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
    line-height: 1.3;
    background-color: transparent !important;
    -moz-border-radius: 30px !important;
    -webkit-border-radius: 30px !important;
    -o-border-radius: 30px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    padding: 5px 20px;
}
.wp-pagenavi a {
    color: #000 !important;
    border: 1px solid  rgba(0,0,0,0.1) !important;
}
.wp-pagenavi span.current {
    border-width: 1px !important;
    border-style: solid !important;
}
.wp-pagenavi a:hover {
    color: #000 !important;
}
.flexbox-wrapper article {
    width: 30% !important;
    display: inline-block !important;
    margin: 0 15px 45px !important;
}
.flexbox-wrapper .et_pb_post h2 {
    font-size: 32px;
}

#main-content .container:before {
    display: none !important;
}
.et_full_width_page #left-area {
    width: 80% !important;
    margin: 0 auto !important;
}
.therapy-blurbs .et_pb_blurb_container {
    padding-top: 25%;
}

@media all and (max-width: 768px) {
    .flexbox-wrapper .et_pb_post {
        width: 100% !important;
    }
    .post-navigation a {
        font-size: 16px;
    }
    .post-navigation .therapy-link-nav {
        font-size: 14px !important;
    }}

/* footer */

#footer-info {
    float: none !important;
    text-align: center !important;
}

.footer-widget .textwidget h1 {
    font-size: 24px !important;
}
.footer-widget .textwidget h2 {
    font-size: 32px !important;
}
.footer-widget .textwidget p {
    color: rgba(1,1,1,0.8) !important;
}

@media only screen and (max-width: 479px) {
    #et-info {
        padding-bottom: 20px !important;
        float: none !important;
        text-align: center !important;
    }}

/* END */