/*
Theme Name: AllCare GA 2025
Template: Divi
Text Domain: https://allcare-ga.com
Author: Lenz, Inc.
Author URI: https://www.lenzmarketing.com
*/


/* General */

.container, .et_pb_row {
    width: 92%;
}
.et_pb_text ul {
    margin-left: 25px;
    margin-top: 10px;
}
ul li, ol li {
    line-height: 1.8em;
}
.image-text-sections .et_pb_row {
    width: 93%;
}
@media screen and (max-width: 980px) {
    .et-l--post,
    header {
        margin-top: 50px;
    }
}
@media only screen and (min-width: 981px) {
    ol {
        text-indent: -1.25em;
        margin-left: 2em;
    }
    ol li {
        margin-bottom: .75em;
    }
}

/* Blurb Module */

.et_pb_blurb_position_left .et_pb_main_blurb_image {
    margin-bottom: 15px;
    width: auto;
}

/* Slide Module */

.et_pb_slide_description {
    padding-right: 0 !important;
}

/* Header */

#main-header {
    -webkit-box-shadow: none;
    box-shadow: none;
}
#top-menu li {
    padding-right: 18px;
}
.cta {
    z-index: 1;
}
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li.cta {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(255, 255, 255, 0.1);
}
.et_header_style_left #et-top-navigation nav > ul > li.cta {
    margin-top: -20px;
    margin-bottom: 40px;
}
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li.cta > a,
.et_header_style_left #et-top-navigation nav > ul > li.cta > a {
    color: #fff !important;
    padding-bottom: 0;
}
@media only screen and (min-width: 981px) {
    body .et-fixed-header #top-menu li li > a,
    body .et-fixed-header #top-menu li li.current-menu-item > a {
        color: #fff !important;
    }
    .et_header_style_left .et-fixed-header #et-top-navigation{
        padding: 50px 0 0 0;
    }
    .cta-mobile {
        display: none;
    }
    #main-header .nav li ul.sub-menu {
        top: 15px;
    }
    #et_top_search {
        display: none;
    }
    .nav > li {
        line-height: 0;
    }
}
@media screen and (max-width: 980px) {
    body.et_fixed_nav #main-header {
        top:0 !important;
    }
    .et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container, .et_fixed_nav.et_show_nav #page-container {
        padding-top: 0 !important;
    }
    .cta-mobile {
        position: absolute;
        top: 0;
        width: 100%;
        background: #991f1f;
        color: #fff;
        content: '';
        display: block;
        height: 50px;
        padding: 8px;
        text-align: center;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 16px;
    }
    .cta a {
        color: #fff !important;
        text-align: center;
    }
}
@media only screen and (min-width: 981px) and (max-width: 1535px) {
    #main-header img#logo {
        height: 40%;
    }
    body.et_header_style_left #et-top-navigation {
        padding-left: 280px !important;
    }
}
@media only screen and (min-width: 981px) and (max-width: 1590px) {
    img#logo {
        height: 40%;
    }
    .et_header_style_left #et-top-navigation {
        padding-left: 300px !important;
    }
}
@media only screen and (min-width: 1434px) and (max-width: 1600px) {
    #main-header img#logo {
        height: 45%;
    }
}

/* Buttons */

.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,
.et_button_no_icon.et_button_left .et_pb_button:hover,
.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
    padding: .75em 2.25em !important;
}
@media only screen and (min-width: 981px) {
    .single-post p:not(.has-background):last-of-type + .button-wrapper a.btn.btn-primary {
        margin-top: 20px !important;
    }
    .single-post a.btn.btn-primary {
        background-color: #991f1f !important;
        border-width: 0px !important;
        border-color: rgba(255,255,255,0);
        border-radius: 25px;
        font-weight: normal;
        font-style: normal;
        padding: .4em 2.25em !important;
        margin-bottom: 25px;
        text-transform: uppercase;
        text-decoration: none;
    }
    .button-wrapper {
        margin-top: 5px !important;
    }
}

/* Services */

.acg-service-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}
.acg-service-icon-list .et_pb_blurb {
    flex: 0 1 calc(33.333% - 25px);
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    padding: 25px;
    background: rgba(255,255,255,.5);
    transition: box-shadow 0.2s ease-in-out;
}
.acg-service-icon-list .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}
.acg-service-icon-list .et_pb_main_blurb_image img {
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    width: 210px;
}
.acg-service-icon-list .et_pb_module_header {
    font-size: 26px;
    margin-bottom: 0px;
}
.acg-service-icon-list .et_pb_blurb_description {
    font-size: 15px;
    line-height: 1.5;
    margin-top: auto;
}
.all-services,
.related-services {
    margin-top: 2rem;
}
.all-services-list,
.related-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 3em;
}
.all-service-item,
.related-service-item {
    border-radius: 16px;
    list-style: none;
    width: calc(33% - 1.5rem);
    background: #070862;
    transition: all 0.25s ease;
    display: flex;
}
.all-service-item:hover,
.related-service-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.all-service-link,
.related-service-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 20px;
    width: 100%;
}
.all-service-icon,
.related-service-icon {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}
.all-service-content,
.related-service-content {
    text-align: left;
    color: #fff;
    flex: 1;
}
.all-service-title,
.related-service-title {
    color: #fff;
    font-size: 20px;
    margin: 0;
}
.all-service-excerpt,
.related-service-excerpt {
    color: #fff;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
@media (max-width: 1024px) {
    .all-service-item,
    .related-service-item {
        width: calc(50% - 1.5rem);
    }
}
@media (max-width: 980px) {
    .acg-service-icon-list .et_pb_blurb {
        flex: 0 1 100%;
    }
    .service-image-text-section .et_pb_row {
        display: flex;
        flex-wrap: wrap;
    }
    .service-image-text-section .et_pb_section:nth-child(even) .et_pb_row > .et_pb_column:nth-child(1) {
        order: 2;
    }
    .service-image-text-section .et_pb_section:nth-child(even) .et_pb_row > .et_pb_column:nth-child(2) img {
        margin-bottom: 50px;
    }
}
@media (max-width: 767px) {
    .all-service-item,
    .related-service-item {
        width: 100%;
    }
    .all-service-link,
    .related-service-link {
        flex-direction: row;
        padding: 16px;
    }
    .all-service-icon,
    .related-service-icon {
        width: 50px;
    }
    .all-service-title,
    .related-service-title {
        font-size: 18px;
    }
}

/* Accordions */

.accordion-faq .et_pb_accordion .et_pb_toggle_title::before {
    font-family: FontAwesome !important;
    font-weight: 900 !important;
    content: "\f078" !important;
    padding-right: 15px;
}
.accordion-faq .et_pb_toggle {
    border: none;
    border-radius: 15px;
}
.accordion-faq .et_pb_toggle_close .et_pb_toggle_title,
.accordion-faq .et_pb_toggle_open .et_pb_toggle_title,
.accordion-faq .et_pb_toggle_open h3.et_pb_toggle_title,
.accordion-faq .et_pb_accordion .et_pb_toggle_content p {
}
.accordion-faq .et_pb_toggle_close .et_pb_toggle_title,
.accordion-faq .et_pb_toggle_open .et_pb_toggle_title,
.accordion-faq .et_pb_toggle_open h3.et_pb_toggle_title {
    font-size: 18px;
}
.accordion-faq .et_pb_accordion .et_pb_toggle_open,
.accordion-faq .et_pb_accordion .et_pb_toggle_close {
    background-color: rgba(0,0,0,0.1) !important;
}
.accordion-faq .et_pb_accordion .et_pb_toggle {
    border: 1px solid #ddd;
    border-radius: 25px;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-faq .et_pb_accordion .et_pb_toggle_title {
    padding: 15px;
    background: #f7f7f7;
    cursor: pointer;
    font-weight: 600;
}
.accordion-faq .et_pb_accordion .et_pb_toggle_content {
    padding: 15px;
    display: none;
    background: #fff;
}
.accordion-faq .et_pb_accordion .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_content {
    display: block;
}
.faq-grid {
    display: block;
}
.faq-grid .et_pb_toggle {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease-in-out;
}
.faq-grid .et_pb_toggle:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.faq-grid .et_pb_toggle_title {
    padding: 15px 20px;
    background: #f7f7f7;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-grid .et_pb_toggle_title:hover {
    background: #efefef;
}
.faq-grid .et_pb_toggle_content {
    padding: 15px 20px;
    background: #fff;
}
@media (max-width: 980px) {
    .faq-grid {
        display: block;
    }
}



/* Locations */

.location-details {
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0;
    padding-top:0;
    width: 100%;
}
.location-details .et_pb_column_1_2 {
    padding-top: 25px;
}
.location-details .et_pb_column_1_2:nth-child(2) {
    background: #efefef;
    height: 100%;
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
}

/* Blog */

.et_pb_blog_grid .et_pb_post:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
body.home-posts #left-area .et_pb_post h2,
body.archive #left-area .et_pb_post h2,
body.search #left-area .et_pb_post h2,
body.single .et_post_meta_wrapper h1,
.wp-block-latest-posts.wp-block-latest-posts__list li {
    line-height: 1.5em !important;
}
body.single-post  #main-content > .container {
    padding-top: 0;
}
body.single-post  #main-content .container #left-area {
    padding-top: 65px;
}
.et_post_meta_wrapper img {
    border-radius: 25px;
}
ul.wp-block-latest-posts__list {
    margin-top: 10px;
}
ul.wp-block-latest-posts__list li {
    background: rgba(255,255,255,.1);
    border-radius: 20px;
    margin-bottom: 20px;
}
ul.wp-block-latest-posts__list li img {
    width: 100%;
}
.wp-block-latest-posts__list li .wp-block-latest-posts__post-title {
    color: #fff;
    display: block;
    padding: 10px 20px 20px 20px;
}
.wp-block-latest-posts__list li .wp-block-latest-posts__post-title:hover {
    color: rgba(255,255,255,.7);
}
.et_pb_widget .wp-block-search__button {
    background: #f5e8e8;
    color: #2e6cb5;
}
body.et_right_sidebar #sidebar {
    background: #070862;
    padding: 50px 40px !important;
    border-radius: 0 0 0px 50px;
    padding-right: 5%;
}
#sidebar h2 {
    color: #fff;
    font-size: 32px;
}
#main-content .container::before {
    background: transparent;
}
body.et_right_sidebar #sidebar {
    padding: 50px 40px !important;
    border-radius: 25px;
    margin-top: 15px;
}


/* Lists */

.et_pb_text ul {
    list-style-image: url('/wp-content/themes/allcare-ga/assets/icon-heart.svg');
}
.et_pb_text ul li::marker {
    font-size: 2.2em;
}

/*FacetWP */

.facetwp-input-wrap input,
.facetwp-radius {
    border: 2px solid #2e6cb5;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 15.5px;
}
.facetwp-facet .facetwp-icon {
    right: 10px;
}

.facetwp-facet {
    text-align: center;
}

/* Footer */

footer {
    border-top: 5px solid #070862;
}
#footer-widgets {
    padding-top: 5%;
}
.footer-logo img {
    max-height: 90px;
    width: auto;
}
#footer-widgets #menu-footer-menu {
    margin-left: 20px;
    margin-right: 20px;
}
footer #menu-footer-menu {
    margin-top: 10px;
}
#footer-widgets .footer-widget li {
    float: left;
}
#footer-widgets .footer-widget li a {
    font-size: 18px;
}
#footer-widgets .footer-widget .wp-block-button {
    text-transform: uppercase;
}
#footer-widgets .footer-widget .wp-block-button a:hover {
    background-color: #070862 !important;
}
#footer-widgets .wp-block-social-links {
    margin-left: 30px;
}
#footer-widgets .footer-widget ul.wp-block-social-links {
    list-style: none;
}
#footer-widgets .footer-widget li.wp-social-link {
    padding-left: 0;
}
#footer-widgets .footer-widget li.wp-social-link a {
    font-size: 36px;
}
#footer-widgets .footer-widget li::before {
    display: none;
}
#footer-widgets .footer-widget .is-layout-flex {
    gap: .2rem;
}
.footer-widget + .footer-widget > .et_pb_widget {
    float: right;
}
#footer-info {
    text-align: center;
    width: 100%;
}
ul.location-addresses {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
ul.location-addresses li {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.location-addresses li address {
    display: block;
}
body.et_pb_gutter footer .footer-widget:nth-child(1) {
    width:49%;
}
body.et_pb_gutter footer .footer-widget:nth-child(2) {
    width: 48%;
    margin-right: 0;
}
body.et_pb_gutter footer .footer-widget:nth-child(3) {
    background: #f7f7f7;
    border-radius: 25px;
    padding: 50px 25px;
    clear: both;
    width: 100%;
    margin-top: 0;
}
@media (max-width: 992px) {
    ul.location-addresses {
        grid-template-columns: repeat(2, 1fr);
    }
    body.et_pb_gutter footer .footer-widget:nth-child(3) {
        margin-top: 25px;
    }
}
@media (max-width: 600px) {
    ul.location-addresses {
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 768px) and (max-width: 1200px){
    #footer-widgets .footer-widget {
        display: flex;
        justify-content: center;
        width: 100% !important;
    }
    #footer-widgets .footer-widget .fwidget {
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 767px){
    #footer-widgets .footer-widget,
    #footer-widgets .footer-widget .wp-block-group {
        display:flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #footer-widgets .footer-widget:nth-child(n) {
        margin-bottom: 10px
            !important;
    }
    #footer-widgets .footer-widget .fwidget {
        margin-bottom: 15px !Important;
    }
    .footer-logo {
        margin-top: 25px;
        margin-bottom: 0;
    }
    #footer-widgets li.menu-item {
        padding-left: 5px;
        padding-right: 5px;
    }
    #footer-widgets .wp-block-social-links {
        margin-lefT:0 ;
    }
}
@media screen and (min-width: 981px) {
    body.et_pb_gutter footer .footer-widget {
        margin-bottom: 0;
    }
    .et_pb_gutters3 .footer-widget {
        margin-right: 2%;
    }
}
@media screen and (max-width: 981px) {
    footer .et_pb_widget {
        float: none;
        display: block !important;
        width: 100% !important;
    }
    footer * {
        text-align: center;
    }
    footer .wp-block-image {
        text-align: center;
    }
    footer .wp-block-group {
        width: 100%;
        text-align: center;
        margin: auto;
    }
    footer .wp-block-social-links {
        justify-content: center !important;
        width: 100%;
    }
    footer .wp-block-gallery {
        margin: 0 auto 25px auto;
    }
}

