/*
Theme Name:   Grand Rapids Therapy Group
Theme URI:    http://grtherapy.com/
Description:  Child theme of Divi theme by Elegant Themes.
Author:       Swamp-Side Studio
Author URI:   http://swampsidestudio.com/
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*
Typography
*/
body {
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 300;
    color: #000;
}
h1, h2, h3 {
    padding-bottom: 20px;
}
h1 {
    font-size: 46px;
}
.et_pb_slide_content h1,
.et_pb_title_container h1,
.et_pb_fullwidth_header_container h1,
.et-db #et-boc .et-l .et_pb_title_container h1 {
    font-size: 66px;
}
.category .et_pb_title_container h1,
.author .et_pb_title_container h1 {
    margin-bottom: 0.5em;
}
h2,
.et_pb_post h2 {
    font-size: 34px;
    margin-top: 1em;
}
.et_pb_portfolio_item h2 {
    font-size: 34px;
    margin-top: 0.5em;
}
h3 {
    font-size: 26px;
}
@media all and (max-width: 479px) {
    .et_pb_post h2,
    .et_pb_blog_grid h2,
    .et_pb_post h3,
    .et_pb_blog_grid h3 {
        padding-bottom: 20px;
    }
}
.et_pb_blurb h4 a:hover {
    text-decoration: underline;
}
p:last-of-type {
    padding-bottom: 1em;
}
.entry-content blockquote {
    border-color: #eee;
    font-style: italic;
}
blockquote p {
    font-size: 120%;
    padding-bottom: 1em;
}
blockquote p:last-of-type {
    padding-bottom: 0;
}
blockquote cite {
    font-style: normal;
    font-size: 80%;
}
#left-area ol,
.entry-content ol,
.comment-content ol,
body.et-pb-preview #main-content .container ol,
#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul{
    list-style-position: initial;
    padding-left: 0;
    margin-left: 2em;
}
.et_pb_widget_area ul {
    margin-left: 0;
}
@media all and (max-width: 767px) {
    #left-area ol,
    .entry-content ol,
    .comment-content ol,
    body.et-pb-preview #main-content .container ol {
        margin-left: 0;
    }
}
#left-area ol li,
.entry-content ol li,
.comment-content ol li,
body.et-pb-preview #main-content .container ol li,
#left-area ul li,
.entry-content ul li,
.comment-content ul li,
body.et-pb-preview #main-content .container ul li {
    padding-bottom: 0.4em;
}
.et_pb_text ol li > ol,
.et_pb_text ul li > ul {
    padding-top: 0.4em;
    padding-bottom: 0;
}
.et_pb_text ol li > ol li:last-child,
.et_pb_text ul li > ul li:last-child {
    padding-bottom: 0;
}


/*
Layout
*/
.center {
    text-align: center;
}
.therapist-grid-module-text-bottom-margin .et_pb_column .et_pb_text {
    margin-bottom: 4em;
}
.overflow-hidden {
    overflow: hidden;
}
.margin-bottom-zero {
    margin-bottom: 0;
}
.padding-bottom-zero,
    h4 .padding-bottom-zero {
    padding-bottom: 0;
}


/*
Header
*/
#et-top-navigation {
    padding-left: 0 !important;
}
#top-menu li {
    padding-right: 14px;
}
@media (max-width: 1300px) {
    #top-menu li {
        padding-right: 6px;
    }
}
@media (max-width: 1200px) {
    /* https://www.elegantthemes.com/blog/divi-resources/fixing-your-responsive-navigation-menu-in-divi */
    #et_mobile_nav_menu {
        display: block;
    }
    #top-menu {
        display: none;
    }
}
@media (max-width: 1199px) {
    #et-top-navigation .et-cart-info {
        margin-top: 5px;
    }
    #et_top_search {
        margin: 0 35px 0 0;
        float: left;
    }
    #et_search_icon:before {
        top: 7px;
    }
}


/*
Headers with background images
*/
.et-pb-active-slide .et_pb_slide_description {
    animation-delay: 0.5s;
}
.fullwidth-header-taller-fixed .header-content {
    animation-delay: 0.5s;
    animation-duration: 0.7s;
    animation-fill-mode: both;
    animation-name: fadeBottom;
    animation-timing-function: ease-in-out;
}
.fullwidth-header-taller-fixed {
    padding: 120px 0;
}
.et_pb_fullwidth_header_subhead {
    font-weight: 300;
}


/*
Menu
*/
#top-menu a {
    font-family: "Roboto Condensed",Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}
#et-top-navigation {
    font-weight: normal;
}
.et_header_style_left #et-top-navigation nav > ul > li.menu-button > a,
.et_header_style_split #et-top-navigation nav > ul > li.menu-button > a {
    padding: 0.5em 1em;
}


/*
Widgets
*/
#sidebar,
.et_pb_column_1_4 .et_pb_widget_area_left {
    font-size: 90%;
}
.et_pb_widget ul li {
    line-height: 1.4em;
}
.et_pb_column_1_4 .et_pb_widget_area_left { /* blog page sidebar */
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 30px;
}
.et_pb_column_1_4 .et_pb_widget_area_left { /* blog page sidebar */
    border-right: none;
    padding-right: 0;
}
#sidebar h4,
.et_pb_column_1_4 .et_pb_widget_area_left h4 { /* blog page sidebar */
    font-size: 26px;
}
@media (max-width: 980px) {
    .et_right_sidebar #sidebar {
        margin-top: 8em;
        padding-top: 2em;
        border-top: solid 1px #e2e2e2;
    }
}


/*
Search Results
*/
.search-results .type-page .post-meta {
    display: none;
}

/*
Therapists
*/
.et_pb_jt_filterable_grid_item_text h2 a {
    color: #109625;
}
.entry-content .et_pb_jt_filterable_grid_item_text {
    margin-top: 0;
    margin-bottom: 40px;
}


/*
Posts
*/
#left-area .post-meta a:hover {
    color: #109625;
}
.single-post .entry-content {
    padding-bottom: 1em;
}


/*
Yoast Local SEO, Locations Archive
*/
.post-type-archive-wpseo_locations .post-meta {
    display: none;
}


/*
Footer
*/
.footer-widget .et_pb_widget {
    float: none;
    text-align: center;
    font-size: 90%;
    line-height: 1.4em;
}
.footer-widget h3 {
    padding-bottom: 6px;
    color: #fff;
}
.footer-widget input[type="email"] {
    margin: 0;
    width: 90%;
    border: none;
}
@media all and (max-width: 980px) {
    .footer-widget h4 {
        font-size: 26px;
    }
}
@media all and (min-width: 981px) {
    .footer-widget input[type="email"] {
        width: 60%;
    }
}
#footer-bottom {
    padding: 0;
}
.footer-widget .et-social-icons {
    float: none;
}
#footer-widgets .footer-widget .et-social-icons li {
    padding-left: 0;
    margin-left: 0;
}
#footer-widgets .footer-widget .et-social-icons li:before {
    display: none;
}
#footer-widgets .et-social-icon a {
    font-size: 34px;
}
#footer-widgets .footer-widget .et-social-icons li a:hover {
    color: rgba(255, 255, 255, 0.8);
}


/*
Links
*/
.entry-content a {
    text-decoration: underline;
}
.entry-content .et_pb_widget a:hover,
.entry-content a.et_pb_button,
.entry-content a.et_pb_button:hover,
.entry-content a.more-link,
.entry-content .et_pb_widget a,
.entry-content .et_pb_jt_filterable_grid a {
    text-decoration: none;
}
h2.entry-title a,
#left-area .post-meta a,
.et_pb_bg_layout_light .et_pb_post .post-meta a {
    color: #109625;
}
h2.entry-title a:hover,
#left-area .post-meta a:hover,
.single-product #content-area a:hover {
    text-decoration: underline;
}


/*
Buttons
*/
input[type="submit"],
.more-link {
    background: transparent none repeat scroll 0 0;
    border: 2px solid #109625;
    border-radius: 3px;
    color: #109625;
    cursor: pointer;
    display: inline-block;
    font-family: "Roboto Condensed",Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1;
    margin-top: 1em;
    padding: 0.5em 1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease 0s;
}
input[type="submit"]:hover,
.entry-content a.more-link:hover {
    background: #109625 none repeat scroll 0 0;
    color: #fff;
    text-decoration: none;
}
.et_pb_posts a.more-link {
    display: inline-block;
}
.grtg-more-articles-by-wrapper {
    margin: 3em 0 4em 0;
    text-align: center;
}
body.et_pb_button_helper_class .grtg-more-articles-by-wrapper .et_pb_button:hover {
    color: #fff !important;
    padding: 0.3em 1em;
}
body.et_pb_button_helper_class .grtg-more-articles-by-wrapper .et_pb_button::after {
    display: none;
}
.footer-widget input[type="submit"] {
    border: 2px solid #fff;
    color: #fff;
    margin-top: 0;
}
.footer-widget input[type="submit"]:hover {
    border-color: #109625;
}
.et_pb_sum,
.et_pb_pricing li a,
.et_pb_pricing_table_button,
.et_overlay:before,
.et_pb_member_social_links a:hover,
.woocommerce-page #content input.button:hover .et_pb_widget li a:hover,
.et_pb_bg_layout_light .et_pb_promo_button,
.et_pb_bg_layout_light.et_pb_module.et_pb_button,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active,
.et_pb_gallery .et_pb_gallery_pagination ul li a.active,
.et_pb_contact_submit,
.et_pb_bg_layout_light .et_pb_newsletter_button {
    color: #109625;
}
body .button-hover-keep-border .et_pb_button:hover {
    border-color: #ffffff !important;
}
body .button-hover-bkgnd-blue .et_pb_button:hover {
    background-color: #0c1247 !important;
}
.h2-no-margin-top h2 {
    margin-top: 0;
}


/*
Images
*/
img.alignleft {
    margin-bottom: 20px;
    margin-right: 20px;
}
.et_post_gallery {
    margin-top: 2em;
    margin-bottom: 2em;
}


/*
Forms
*/
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input.text,
input.title,
textarea, select {
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 6px 0 4px;
    padding: 12px;
    width: 100%;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
    border-color: #aaa;
    color: #3e3e3e;
    background-color: #fff;
    transition: background 0.1s ease-in 0s;
}
.wpcf7-radio .wpcf7-list-item {
    float: left;
    clear: left;
}


/*
MailChimp
*/
.grtg-mc4wp-form-after-post {
    margin-top: 2em;
    padding: 1em;
    border: none;
    border-radius: 3px;
    background-color: #109625;
    text-align: center;
}
.grtg-mc4wp-form-after-post-heading,
p.grtg-mc4wp-form-after-post-heading:last-of-type {
    padding-top: 0.5em;
    padding-bottom: 0.7em;
    font-family: "Roboto Condensed",Helvetica,Arial,Lucida,sans-serif;
    font-size: 2em;
    color: #fff;
}
.grtg-mc4wp-form-after-post input[type="email"] {
    border: none;
}
.grtg-mc4wp-form-after-post input[type="submit"] {
    border: 2px solid #fff;
    color: #fff;
    margin-top: 0;
}
.grtg-mc4wp-form-after-post input[type="submit"]:hover {
    border: 2px solid #0c1247;
    background-color: #0c1247;
}
@media all and (max-width: 980px) {
    .grtg-mc4wp-form-after-post-heading,
    .grtg-mc4wp-form-after-post-heading:last-of-type {
        font-size: 1.6em;
        line-height: 1.2em;
    }
    .grtg-mc4wp-form-after-post input[type="email"] {
        width: 80%;
    }
}
@media all and (min-width: 981px) {
    .grtg-mc4wp-form-after-post .mc4wp-email,
    .grtg-mc4wp-form-after-post .mc4wp-submit {
        display: inline-block;
    }
    .grtg-mc4wp-form-after-post .mc4wp-email {
        padding-right: 8px;
        position: relative;
        top: -3px;
    }
    .grtg-mc4wp-form-after-post .mc4wp-email input[type="email"] {
        width: 300px;
        line-height: 1.7em;
    }
}


/*
Home
*/
.home .fullwidth-header-taller-fixed {
    padding: 60px 0;
}
.et_pb_blurb h4 a {
    color: #109625;
}
@media all and (min-width: 981px) {
    .home .et_pb_fullwidth_header .header-content img {
        max-width: 400px;
        margin: 0 auto;
    }
}
@media all and (max-width: 479px) {
    .home .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
        width: 100%;
    }
}
.home-description.et_pb_fullwidth_header p {
    padding-bottom: 1em;
    font-weight: 300;
    line-height: 1.5em;
}
#home-training .woocommerce ul.products li.product {
    margin-bottom: 5em;
}
#home-training .woocommerce ul.products li.product a:not(.button):hover {
    text-decoration: underline;
}
#home-training .woocommerce ul.products li.product {
    text-align: center;
}
@media (max-width: 980px) {
    #home-training .woocommerce ul.products li.product {
        width: 100% !important;
    }
}


/*
WooCommerce
*/
.woocommerce a.button.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page button.button.alt.disabled:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce #content input.button.alt:hover,
.woocommerce-page #content input.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce-page a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce #content input.button:hover,
.woocommerce-page #content input.button:hover {
    color: #ffffff !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.6em;
}
.product-loop-tag {
    font-size: 14px;
}
.woocommerce ul.products li.product .button {
    font-family: "Roboto Condensed",Helvetica,Arial,Lucida,sans-serif;
    font-weight: 300;
}
.woocommerce-checkout .woocommerce .col2-set .col-1 {
    width: 100%;
}
.woocommerce-checkout .woocommerce .col2-set .col-2 {
    float: left;
    width: 100%;
}
.woocommerce-additional-fields h3,
#order_review_heading {
    margin-top: 2em;
}
/* temporarily hide cart in menu
.et-cart-info { display:none; } */
.return-to-shop {
    margin-bottom: 2em;
}


@media print {
    #main-header,
    #main-footer,
    #sidebar,
    .ssbp-wrap,
    .grtg-more-articles-by-wrapper,
    .grtg-mc4wp-form-after-post,
    .et_post_meta_wrapper:last-of-type {
        display: none;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
    #left-area {
        font-size: 90%;
        line-height: 140%;
    }
    .et_pb_post .entry-content {
        padding-top: 0;
    }
    .single .et_pb_post {
        margin-bottom: 0;
    }
    .single .post {
        padding-bottom: 0;
    }
}


/*
Treating Complex Trauma Product Page
 */
.et-db .outofstock #et-boc .et-l .et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content a.et_pb_button {
    display: none;
}
.display-when-outofstock {
    display: none;
}
.outofstock .display-when-outofstock {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.outofstock .display-when-outofstock span {
    font-weight: bold;
    font-size: 160%;
}
.outofstock .display-when-outofstock a {
    text-decoration: underline;
}


/*
Polyvagal Theory Product Page
 */
.woocommerce div.product form.cart .variations td {
    padding: 0.857em 0.587em !important;
}
.single-product .variations .reset_variations {
    display: none !important;
}
.single-product .woocommerce-variation-price {
    margin-bottom: 1em;
}
@media (min-width: 981px) {
    .column-polyvagal-title {
        margin-left: 3%;
    }
}


/*
Past Trainings Page
*/
.grtg_past_training h2 {
    margin-top: 0;
}
.grtg_past_training h2 a {
    color: #109625;
    text-decoration: none;
}
.grtg_past_training h2 a:hover,
.grtg_past_training h2 a:focus,
.grtg_past_training h2 a:active {
    text-decoration: underline;
}
.grtg_past_training p {
    padding-bottom: 0.5em;
}