/*
Theme Name: Local American
Theme URI: #
Author: Sagar Giri
Author URI: #
Description: Custom theme for local american
Version: 1.0
Tags: white, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, post-formats, theme-options, translation-ready
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: local-american
Template: astra
*/

:root {
    --asgrey:#F4F4F4;
    --white:#fff;
    --black:#000;
    --aslightred:#E17881;
    --aslightblue:#4055B1;
    --asblue:#283B8F;
    --transition:400ms ease all;
    --asred:#C7414C;
    --bold:700;
    --regular:400;
    --medium:500;
    --semibold:600;
    --titlefont:"Playfair Display";
}
.elementor-widget-text-editor p:last-child,
p:last-child {
    margin-bottom: 0;
}
.elementor-widget-icon-list.star-wrapper .elementor-icon-list-text {
    display: none;
}
.elementor-widget.elementor-widget-icon-list.star-wrapper .elementor-icon-list-icon svg {
    margin: 0;
}
.accordion_wrapper .elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-left {
    position: absolute;
    left: 0;
}
.accordion_wrapper .elementor-accordion .elementor-tab-title {
    position: relative;
}
.accordion_wrapper .elementor-accordion .elementor-tab-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 85px;
    height: 4px;
    background-color: #E17881;
    right: 0;
}
.accordion_wrapper .elementor-accordion .elementor-accordion-item {
    margin-bottom: 30px;
}
.accordion_wrapper .elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened {
    font-size: 45px;
}
.home-post .elementor-posts-container article.elementor-post {
    background-color: var(--asgrey);
    padding: 40px;
}
.home-post .elementor-posts-container article.elementor-post:nth-child(2),
.home-post .elementor-posts-container article.elementor-post:nth-child(3) {
    background-color:var(--aslightblue) ;
}
.home-post .elementor-posts-container article.elementor-post:nth-child(2) .elementor-post__thumbnail__link,
.home-post .elementor-posts-container article.elementor-post:nth-child(3) .elementor-post__thumbnail__link {
    display: none;
}
.home-post .elementor-posts-container article.elementor-post:nth-child(2) .elementor-post__title a,
.home-post .elementor-posts-container article.elementor-post:nth-child(3) .elementor-post__title a {
    color: var(--white);
}
.elementor-posts-container article.elementor-post .elementor-post__read-more {
    background-color: var(--aslightred);
    padding: 15px 25px;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid var(--aslightred);
    display: inline-block;
}
.elementor-posts-container article.elementor-post .elementor-post__read-more:hover {
    background-color: transparent;
    color: var(--aslightred);
}
section.elementor-section .officer-title {
    color: var(--asred);
    font-size: 34px;
    font-weight: var(--bold);
}
section.elementor-section strong.font20 {
    font-size: 26px;
}
section.elementor-section p.font20 {
    font-size: 20px;
    margin-bottom: 0;
}
section .position {
    margin-bottom: 0;
}
section .about-title {
    font-family: var(--titlefont);
}
section .slogan-wrapper {
    color: var(--asred);
    font-size: 32px;
    font-weight: var(--medium);
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.2;
}
section .address-wrapper {
    margin-bottom: 0;
}
.download-button .elementor-button:hover svg path {
    stroke: var(--white);
}
.loan-cta {
    background-color: var(--asred);
    padding: 30px 40px;
}
section .detail h4 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
}
.officer-details,
.parent-wrapp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.parent-wrapp {
    padding-left: 30px;
}
.officer-details {
    width: calc(100% - 300px);
}
section.elementor-section .loan-cta .parent-wrapp .officer-details > figure {
    margin: -30px;
}
.detail {
    padding-left: 50px;
}
.cta-btn {
    width: 300px;
}
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}
section .cta-btn a {
    background-color: var(--white);
    color: var(--asblue);
    font-size: 24px;
    font-weight: var(--semibold);
    padding: 10px 50px;
    display: block;
    transition: var(--transition);
    text-align: center;
}
section .cta-btn a:hover {
    background-color: var(--asblue);
    color: var(--white);
}
.detail span {
    color: var(--white);
}
.wpcf7-form .form-inline {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.wpcf7-form .form-inline .form-group {
    padding: 0 20px;
    width: 50%;
}
.wpcf7-form .form-group {
    margin-bottom: 30px;
}
.wpcf7-form .form-group br {
    display: none;
}
.wpcf7-form .form-group input,
.wpcf7-form .form-group textarea {
    background-color: transparent;
    border: 2px solid var(--white);
    border-radius: 0;
    color: var(--white);
}
.wpcf7-form .form-group input::placeholder,
.wpcf7-form .form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
.wpcf7-form .form-group label {
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}
.wpcf7-form input[type=submit] {
    display: block;
    margin: 0 auto;
}
.wpcf7 form>p {
    margin-bottom: 0;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    color: #fff;
}
header.entry-header .entry-meta {
    display: none;
}

/* ============= responsive ============== */
@media (max-width:1024px) {
    section .slogan-wrapper {
        font-size: 26px;
    }
    .loan-cta {
        padding: 30px 25px;
    }
    section .cta-btn a {
        font-size: 18px;
        padding: 10px 30px;
    }
    .cta-btn {
        width: 170px;
    } 
    .detail {
        padding-left: 30px;
        width: calc(100% - 170px);
    }
    section.elementor-section .loan-cta .parent-wrapp .officer-details > figure {
        margin: 0;
        width: 150px;
    }
    section .detail h4 {
        font-size: 20px;
    }
    .officer-details {
        width: calc(100% - 170px);
    }
}
@media (max-width:767px) {
    section .slogan-wrapper {
        font-size: 22px;
    }
    .home-post .elementor-posts-container article.elementor-post:nth-child(2), 
    .home-post .elementor-posts-container article.elementor-post:nth-child(3),
    .home-post .elementor-posts-container article.elementor-post {
        padding: 40px 25px;
    }
    .accordion_wrapper .elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened {
        font-size: 35px;
    }
    .accordion_wrapper .elementor-accordion .elementor-tab-title::before {
        left: 60px;
    }
    .parent-wrapp {
        padding-left: 0;
    }
    .cta-btn,
    .officer-details {
        width: 100%;
    }
    .detail {
        padding-left: 0;
        margin-bottom: 25px;
        width: 100%;
    }
    section.elementor-section .loan-cta .parent-wrapp .officer-details > figure {
        margin-bottom: 25px;
        width: 100%;
    }
    .wpcf7-form .form-inline .form-group {
        width: 100%;
    }
    .wpcf7-form .form-group {
        margin-bottom: 20px;
    }
}