/* 
Theme Name: child-cp-aarprealestatebenefits
Theme URI: https://github.com/elementor/hello-theme-child/
Description: A custom child theme for Hello Elementor, designed for the AARP Real Estate Benefits website. Includes tailored styles for hero sections, testimonials, FAQs, calculators, and responsive layouts.
Author: Anywhere team
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
    --primary-color: #030330;
    --secondary-color: #418FDE;
    --tertiary-color:#e95525;
    --text-color: #000000;
    --white: #ffffff;
    --background-light: #f9f9f9;
}
/* Add your custom styles here */
a {
    color: var(--text-color);
    text-decoration-color: var(--text-color);
}
/* Hero section Css Start here */
.hero-full {
    overflow: hidden;
}
.hero-full .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    margin: 15px;
}
.hero-slider-wrap .swiper-pagination-clickable {
    bottom: 35px !important;
}

.hero-slider-wrap .elementor-swiper-button {
    background: var(--white);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
}

.hero-slider-wrap .swiper-slide {
    border-radius: 8px;
}
/* Hero section Css End here */

/* Header section Css Start here */
.cp-hamburger-img img{
    width: 18px;
    height: 20px;
}
.header-shadow {
  box-shadow: 0 9px 9px rgba(0, 0, 0, 0.1); /* Black shadow */
  transition: box-shadow 0.3s ease;
}
.header-right-nav .elementor-inline-item span a {
    display: inline;
    color: var(--primary-color);
    font-weight: 600;
}
/* Header section Css End here */

/* FAQ section Css Start here */
.faq-block .e-n-accordion .e-n-accordion-item {
    border-bottom: 1px solid hsla(0, 0%, 51%, .5);
}

.faq-block .e-n-accordion-item-title {
    padding-left: 0;
    padding-right: 32px;
}

.faq-block .e-n-accordion-item .e-child {
    padding-left: 0;
}

.faq-block .e-n-accordion-item-title-icon svg path {
    fill: var(--white);
}

.faq-block .e-n-accordion-item .e-n-accordion-item-title-icon {
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
}

.faq-block.elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-icon .e-opened {
    display: flex;
    transform: rotate(90deg);
}
/* FAQ section Css End here */

/* Testimonial section Css Start here */
.testimonial-wrapper .elementor-swiper-button-next,
.testimonial-wrapper .elementor-swiper-button-prev {
    position: absolute;
    bottom: -12px; /* Adjust as needed */
    cursor: pointer;
    font-size: 25px;
    top : inherit !important;
    opacity: 1 !important;
    z-index: 1 !important;
    transform: inherit !important;
}
.testimonial-wrapper .elementor-swiper-button-prev{
    left: 46% !important;
}
.testimonial-wrapper .elementor-swiper-button-next {
    left: 52% !important;
}
.testimonial-wrapper  .elementor-swiper-button svg{
    fill: var(--secondary-color) !important;
}

.testimonial-wrapper .elementor-testimonial {
    position: relative;
    height: 100%;
}
.testimonial-wrapper .elementor-testimonial .elementor-testimonial__footer {
    position: absolute;
    bottom: -56px;
}
.testimonial-wrapper .swiper-slide.swiper-slide-active {
    background: var(--white) !important;
    border: 1px solid var(--primary-color);
}
.testimonial-wrapper .elementor-testimonial__content {
    background: transparent !important;
}
.testimonial-wrapper .elementor-swiper-button {
    border: 1px solid var(--secondary-color) !important;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color) !important;
}
.testimonial-wrapper .swiper-slide-active .elementor-testimonial__name {
    color: #012169;
}
.mob-menus-signup-btn .elementor-button{
    width: 100%;
}
.testimonial-wrapper .swiper-pagination-fraction{
    z-index: 1 !important;
}
/* Testimonial section Css End here */

/* Additional Programs section Css Start here */
.additional-program-block-img .elementor-image-box-img img{
    height: 230px;
    object-fit: cover;
    object-position: 50% 80%;
}
/* Additional Programs section Css End here */

/* How it Works section Css Start here */
.how-it-work-content-block .elementor-image-box-img {
    text-align: center;
}
/* How it Works section Css End here */

/* Calculator section Css Start here */
.slidecontainer {
    width: 100%;
}
.calculator-slider-input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 1px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 10px;
}
.calculator-slider-input:hover {
    opacity: 1;
}
.calculator-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--white);
    cursor: pointer;
    border: 1px solid var(--tertiary-color);
    border-radius: 50%;
}
.calculator-slider-input::-webkit-slider-thumb:hover {
    box-shadow: 0px 0px 0px 14px rgba(233, 85, 37, 0.078);
}
.calculator-slider-input::-moz-range-thumb {
    width: 25px;
    border-radius: 50%;
    height: 25px;
    background: var(--white);
    cursor: pointer;
    border: 1px solid var(--tertiary-color);
}
#calculator-slider {
    color: var(--primary-color);
    padding: 4px 12px;
    position: absolute;
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}
#calculator-slider:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 1px;
    top: -1px;
    left: 50%;
}
.slide-list-price p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
    margin-left: -8px;
    margin-top: 0;
}
/* Calculator section Css End here */

/* Footersection Css Start here */
.footer-bottom-nav a {
    text-decoration-color: var(--primary-color) !important;
}
/* Footer section Css End here */

/* accordion section Css Start here */
#aarp-faq-block .e-n-accordion-item.last-item {
    display: none;
}
/* Show when active */
#aarp-faq-block .e-n-accordion-item.last-item.active {
    display: block;
}
/* accordion section Css End here */

@media screen and (min-width: 1270px) {
    .testimonial-wrapper .swiper-pagination-fraction{
        bottom: -12px !important;
   }
}
@media screen and (max-width:1270px) {
    .testimonial-wrapper .swiper-pagination-fraction{
        bottom: -10px !important;
   }
}
@media  screen and (max-width:1200px) {

 .footer-bottom-nav ul {
    display: flex;
    flex-direction: column;
 }
    
}
@media screen and (max-width:1099px){
   .testimonial-wrapper .elementor-swiper-button-next{
        left: 52.5% !important;
    }
    .testimonial-wrapper .elementor-swiper-button-prev{
        left: 45% !important;
    }
}
@media screen and (max-width:820px){
   .testimonial-wrapper .elementor-swiper-button-next{
        left: 53% !important;
    }
    .testimonial-wrapper .elementor-swiper-button-prev{
        left: 44% !important;
    }
}
@media screen and (max-width: 767px) {
    .testimonial-wrapper .elementor-swiper-button-prev {
        left: 42% !important;
    }
    .testimonial-wrapper .elementor-swiper-button-next {
        left: 55% !important;
    }
    .footer-bottom-nav .elementor-icon-list-items {
        flex-direction: column;
    }
    .footer-copyright .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }
    .footer-copyright .elementor-image-box-wrapper .elementor-image-box-img {
        margin-right: 15px !important;
    }
    .d-block {
        display: block;
        line-height: 1;
    }
    .nsl-sub-block .elementor-image-box-wrapper {
        display: flex;
    }
    .nsl-sub-block .elementor-image-box-wrapper .elementor-image-box-img {
        margin-right: 15px !important;
    }
    .how-it-work-mob-wrap .elementor-image-box-wrapper {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }
    .how-it-work-mob-wrap .elementor-image-box-img {
        width: 52px !important;
        margin-right: 5px !important;
    }
    .how-it-work-mob-wrap .elementor-image-box-title {
        margin: 0 !important;
    }
    .brand-logos-wrapper .gallery {
        box-sizing: border-box;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: 100%;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .brand-logos-wrapper .gallery-item {
        box-sizing: border-box;
        margin: 0;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }
    .hero-slider-wrap .swiper-slide-bg {
        min-height: 200px;
    }
    .hero-slider-wrap .elementor-slide-heading,
    .hero-slider-wrap .elementor-slide-description {
        color: var(--primary-color) !important;
    }
    .hero-slider-wrap .swiper-slide-inner {
        position: static !important;
    }
    .hero-slider-wrap .elementor-swiper-button {
        top: 100px !important;
    }
    .hero-slider-wrap .elementor-background-overlay {
        background: none !important;
    }
    .bg-none {
        background: none !important;
        box-shadow: none !important;
    }
   
    .calculator-area {
        background: var(--background-light);
        overflow: hidden;
    }
    .calculator-area .shadow-none {
        box-shadow: none !important;
        position: relative;
        background: var(--background-light) !important;
        padding: 30px 30px 0 30px;
    }
    .calculator-area .shadow-none:after,
    .calculator-area .shadow-none:before {
        content: '';
        width: 100vw;
        height: 100%;
        position: absolute;
        top: 0;
        margin: 0;
        display: block;
        background: var(--background-light);
    }
    .calculator-area .shadow-none:after {
        background: inherit;
        right: -50vw;
    }
    .calculator-area .shadow-none:before {
        background: inherit;
        left: -50vw;
    }
    .slide-list-price p {
        font-size: 14px !important;
    }
    .elementor-element .swiper .elementor-swiper-button {
        top: calc(100% + 10px);
        transform: translateY(-50%);
    }
}
@media screen and (max-width: 655px) {
    .testimonial-wrapper .elementor-swiper-button-next {
        left: 54% !important;
    }
    .testimonial-wrapper .elementor-swiper-button-prev {
        left: 42% !important;
    }
}
@media screen and (max-width: 520px) {
    .testimonial-wrapper .elementor-swiper-button-next {
        left: 56% !important;
    }
    .testimonial-wrapper .elementor-swiper-button-prev {
        left: 38% !important;
    }

}
@media screen and (max-width: 375px) {
    .testimonial-wrapper .elementor-swiper-button-next {
        left: 58% !important;
    }
    .testimonial-wrapper .elementor-swiper-button-prev {
        left: 34% !important;
    }

}