/* 
Theme Name: Viventa Consultores
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Conviértete en un exitoso consultor de inversión inmobiliaria y financiera. Únete a Viventa y ayuda a colombianos en el exterior a adquirir su vivienda.
Author: viventa.co
Author URI: https://viventa.co
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */
p {
    margin: 0 !important;
}

.elementor-text-editor p:last-child { 
     margin-bottom: 0px;
}

.box_icon_bar span {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box_icon_bar span svg {
    width: 18px;
    height: 80px;
}

.txt_bg_color {
    background: #EB0045;
    display: inline-block;
    color: #FFFFFF;
    margin-bottom: 5px;
}

/* STYLES HERO */
#container_hero_consultores {
    position: relative;
}

#container_hero_consultores::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: url('/wp-content/uploads/2024/10/mujer-sonriente-mirando-de-frente-viventa-consultores.webp') no-repeat;
    background-size: contain;
    background-position: 100%;
    z-index: 0;
}

@media only screen and (max-width: 1366px) {
    .txt_hero_description {
        padding-right: 8rem !important;
    }
}

@media only screen and (max-width: 1280px) {
    .txt_hero_description {
        padding-right: 10rem !important;
    }
}

@media only screen and (max-width: 1440px) {
    .txt_hero_description {
        padding-right: 6rem;
    }
}

@media only screen and (max-width: 1024px) {
    #container_hero_consultores::before {
        display: none;
    }
    
    #container_hero_consultores::after {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(250, 250, 250, 85%);
        z-index: 0;
    }
    
    .txt_hero_description {
        padding-right: 0rem !important;
    }
    
    .box_container_card_hero {
        position: relative;
        top: 30px !important;
    }
}

@media only screen and (max-width: 767px) {
    #container_hero_consultores::before {
        display: none;
    }
    
    #container_hero_consultores::after {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(250, 250, 250, 85%);
        z-index: 0;
    }
    
    .txt_hero_description {
        padding-right: 0rem;
    }
    
    .box_container_card_hero {
        position: relative;
        top: 30px !important;
    }
}

@media only screen and (max-width: 480px) {
    .box_container_card_hero {
        position: relative;
        top: 0px;
    }
}

.ul_list_items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* STYLES CTA BANNER HOME */
.box_banner_cta_home {
    position: relative;
}

.img_cta_banner_home {
    position: absolute;
    bottom: -1.85rem;
    right: 2rem;
    width: 300px;
}

@media only screen and (max-width: 390px) {
   .box_banner_cta_home {
        overflow: hidden;
    }

    .img_cta_banner_home {
        position: relative;
        bottom: -6rem;
        right: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .img_cta_banner_home {
        bottom: -1.2rem;
        right: 0;
    }
}

@media only screen and (max-width: 768px) {
   .box_banner_cta_home {
        overflow: hidden;
    }

    .img_cta_banner_home {
        position: relative;
        bottom: -2rem;
        right: 0;
    }
}

/* STYLES TESTIMONIAL SECTION */
@media only screen and (max-width: 320px) {
    .elementor-testimonial__footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .elementor-testimonial__cite {
        margin-left: 0 !important;
    }
}

/* STYLES ABOUT US */
.container_values {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.img_values_section {
    position: absolute;
    right: -2.4rem;
}

.curved-container {
    position: relative;
}

.curved-container::after {
    position: absolute;
    content: '';
    bottom: -3rem;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('/wp-content/uploads/2024/10/imagen-wave-onda-inferior.webp') no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
}

@media only screen and (max-width: 1024px) {
    .container_values {
        box-shadow: none;
    }

    .img_values_section {
        position: relative;
        right: 0;
    }
}

.img_yt_box {
    position: relative;
    left: 4rem;
}

.video_yt_box {
    position: relative;
    left: -4rem;
}

@media only screen and (max-width: 1024px) {
    .img_yt_box {
        left: 2rem;
    }

    .video_yt_box {
        left: -2rem;
    }
}

@media only screen and (max-width: 768px) {
    .img_yt_box {
        left: 0;
    }

    .video_yt_box {
        left: 0;
    }
}

@media only screen and (max-width: 411px) {
    .curved-container::after {
        bottom: -2rem;
    }
}


/* STYLES CONTACT */
@media only screen and (max-width: 1024px) {
    .elementor-101 .elementor-element.elementor-element-78c4ecd {
        width: 100% !important;
    }

    .elementor-101 .elementor-element.elementor-element-052db5e {
        width: 100% !important;
    }
}



