/*
 Theme Name:   The Lifestyle Child
 Theme URI:    https://themeforest.net/user/nordstudio/portfolio
 Description:  Child theme for The Lifestyle
 Author:       Nord Studio
 Author URI:   http://themeforest.net/user/nordstudio
 Template:     the-lifestyle
 Version:      1.0
 License:
 License URI:  http://themeforest.net/licenses
 Tags: one-column, flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  the-lifestyle-child
*/

@import url("../the-lifestyle/style.css");

.page-template-default .entry-content {
    padding: 1em;
}

.entry-title{
    text-transform: none;
}

:root {
    --icon-url-en: url('/wp-content/uploads/2024/04/icon_language_es.svg');
    --icon-url-es: url('/wp-content/uploads/2024/04/icon_language_es.svg');
    --icon-phone: url('/wp-content/uploads/2024/04/icon_mobile.svg');
    --icon-email: url('/wp-content/uploads/2024/04/icon_envelope.svg');
    --icon-bullet-list: url('/wp-content/uploads/2024/04/icon-bullet-list.svg');
    --button-blue: #00B3D7;
    --button-blue-hover: #1993AB;
}

.has-accent-color-links a:hover,
.accent-color-link:hover,
.accent-color-link:visited {
    color: #007690;
}

.tropical-button.elementor-button {
    font-family: var( --e-global-typography-7a76753-font-family ), Sans-serif;
    font-size: var( --e-global-typography-7a76753-font-size );
    font-weight: var( --e-global-typography-7a76753-font-weight );
    line-height: var( --e-global-typography-7a76753-line-height );
    letter-spacing: var( --e-global-typography-7a76753-letter-spacing );
    word-spacing: var( --e-global-typography-7a76753-word-spacing );
    fill: var( --e-global-color-4e0ecd3 );
    color: var( --e-global-color-4e0ecd3 );
    background-color: var( --e-global-color-a253d29 );
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var( --e-global-color-4e0ecd3 );
    border-radius: 5px 5px 5px 5px;
    padding: 0px 20px 0px 20px;
}
.tropical-button.elementor-button:visited {
    color: var( --e-global-color-4e0ecd3 );
}

.home-custom article {
    margin-bottom: 0;
}

.custom-header::before {
    content: "";
    background-image: url('/wp-content/uploads/2024/04/header_bg_shadow.png');
    background-position: top center;
    background-size: contain;
    opacity: 0 !important; /* Start fully transparent */
    transition: opacity 0.3s ease; /* Transition for opacity */
    z-index: -1; /* Ensure it does not overlap content */
}

.custom-header.elementor-sticky--effects::before {
    opacity: 1 !important;
}

.custom-header .original-logo {
    display: block; /* Show this logo initially */
    transition: opacity 0.3s ease; /* Smooth transition for opacity */
}

/* Sticky logo style */
.custom-header .sticky-logo {
    display: none; /* Hide this logo initially */
    transition: opacity 0.3s ease; /* Smooth transition for opacity */
}

/* Change styles when header becomes sticky */
.custom-header.elementor-sticky--effects .original-logo {
    display: none; /* Hide the original logo */
}

.custom-header.elementor-sticky--effects .sticky-logo {
    display: block; /* Show the sticky logo */
}

.custom-header .header-content-left, .custom-header .header-content-right {
    transition: margin-top 0.3s ease; /* Smooth transition for margin-top */
}

.custom-header.elementor-sticky--effects .header-content-left,
.custom-header.elementor-sticky--effects .header-content-right {
    margin-top: -32px; /* Moves the elements up to align with the new header style */
}

/* Language menu */
.language::before {
    margin: 0 15px 0 15px;
}

.language-es::before {
    content: var(--icon-url-es);

}

.language-en::before {
    content: var(--icon-url-en);
}

.elementor-nav-menu li.language
{
    display: inline-flex;
    align-items: center;
}

.elementor-widget-nav-menu.language-menu
{
    right: 0;
}
/* Language menu end */

.my-site-logo
{
    overflow: visible;
}


.nuestra-caravana-button .elementor-widget-container .elementor-button-wrapper .elementor-button-icon svg
{
    width: 20px;
    height: 20px;
    transform: translate(0px, 5px);
}

.home-bullet-list ul {
    margin-left: 0;
}

.home-bullet-list li {
    line-height: 45px;
    list-style-type: none;
    position: relative;
    padding-left: 30px;
}

.home-bullet-list li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: 'FontAwesome'; /* This should match the font-family used by FontAwesome */
    color: var(--button-blue);
    position: absolute;
    left: 0;
    top: 50%; /* Centers the icon vertically */
    transform: translateY(-50%); /* Aligns icon center with the list item center */
    font-size: 20px; /* Adjust the size of the icon as needed */
    width: 20px; /* Set the width of the icon */
    height: 20px; /* Set the height of the icon */
    line-height: 1; /* Ensures the icon doesn't affect its own line height */
}

.has-accent-color-links a, .accent-color-link {
    color: var(--button-blue);
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background-color:  var(--e-global-color-2700a5a);
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color:  var(--e-global-color-4e0ecd3);
    color: var(--e-global-color-a253d29);
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--e-global-color-4e0ecd3);
}

.elementor-element.copyright-links .elementor-widget-container .elementor-icon-list-item.elementor-inline-item .elementor-icon-list-text:hover{
    border-bottom: 1px solid black;
    cursor: pointer;
}

/* Form */

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-submit button,
.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-email input{
    min-height: 44px;
}

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-submit {
    margin-top: -44px;
    align-items: flex-start;
}

#form-field-email::placeholder,
.input-text::placeholder {
    font-style: normal;
    color: #C9CCD4;
    font-size: 16px;
    line-height: 24px;
}

#form-field-email:focus,
.input-text:focus {
    border-radius: 8px;
    border: 1px solid var(--button-blue);
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px #F3F8FB;
}

#form-field-email:disabled,
.input-text:disabled {
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    background: #F3F8FB;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}


input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea, select {
    background-color: #ffffff;
    border-color: #D0D5DD;
    border-width: 1px 1px 1px 1px;
    border-radius: 5px 5px 5px 5px;

    padding: 0.5em;
    
    font-family: var( --e-global-typography-a4dd1b8-font-family ), Sans-serif;
    font-size: var( --e-global-typography-a4dd1b8-font-size );
    font-weight: var( --e-global-typography-a4dd1b8-font-weight );
    font-style: var( --e-global-typography-a4dd1b8-font-style );
    line-height: var( --e-global-typography-a4dd1b8-line-height );
    letter-spacing: var( --e-global-typography-a4dd1b8-letter-spacing );
    word-spacing: var( --e-global-typography-a4dd1b8-word-spacing );
}

button.button  {
    background-color: var( --e-global-color-4e0ecd3 );
    color: #ffffff;
    padding: 1em;

    font-family: var( --e-global-typography-2bb897a-font-family ), Sans-serif;
    font-size: var( --e-global-typography-2bb897a-font-size );
    font-weight: var( --e-global-typography-2bb897a-font-weight );
    text-transform: var( --e-global-typography-2bb897a-text-transform );
    letter-spacing: var( --e-global-typography-2bb897a-letter-spacing );
    word-spacing: var( --e-global-typography-2bb897a-word-spacing );
    border-radius: 5px 5px 5px 5px;
}

.elementor-2057 .elementor-element.elementor-element-7666a6e .elementor-field-group:not(.elementor-field-type-upload) .elementor-field:not(.elementor-select-wrapper) {
    background-color: #ffffff;
    border-color: #D0D5DD;
    border-width: 1px 1px 1px 1px;
    border-radius: 5px 5px 5px 5px;
}
.elementor-2057 .elementor-element.elementor-element-7666a6e .elementor-field-group .elementor-field, .elementor-2057 .elementor-element.elementor-element-7666a6e .elementor-field-subgroup label {
    font-family: var( --e-global-typography-a4dd1b8-font-family ), Sans-serif;
    font-size: var( --e-global-typography-a4dd1b8-font-size );
    font-weight: var( --e-global-typography-a4dd1b8-font-weight );
    font-style: var( --e-global-typography-a4dd1b8-font-style );
    line-height: var( --e-global-typography-a4dd1b8-line-height );
    letter-spacing: var( --e-global-typography-a4dd1b8-letter-spacing );
    word-spacing: var( --e-global-typography-a4dd1b8-word-spacing );
}

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox{
    margin-top: 7px;
    display: inline-grid;
}

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox input[type="checkbox"]{
    opacity: 0; /* Make the checkbox invisible, but it's still functional */
    position: absolute;
    z-index: -1; /* Position it behind the label */
}

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox label {
    position: relative;
    padding-left: 30px; /* Adjust as needed, space for the custom checkbox */
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    transform: translateY(-50%);
    width: 20px; /* Width of the custom checkbox */
    height: 20px; /* Height of the custom checkbox */
    background: #fff;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    box-sizing: border-box;
}

.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox input[type="checkbox"]:checked + label::after {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: 'FontAwesome';
    position: absolute;
    left: 4px;
    top: 7px;
    transform: translateY(-50%) scale(1.2);
    color: #0084FF; /* Color of the checkmark */
    font-size: 14px;
    line-height: 20px;
}

.elementor-widget.footer-contact-details .elementor-icon-list-item {
    margin-bottom: 16px;
}

/* Form end */

/* Social */

.elementor-social-icon:hover svg path{
    fill: var(--button-blue-hover);
}

/*Caption*/

.elementor-widget-container figure figcaption{
    color: #475467;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

/*Quote*/
.elementor-element .elementor-widget-container .elementor-blockquote{
    border-left: 4px dashed #ECCF6D;
}

/*Buttons*/
#copy-link-button .elementor-button-icon svg,
#x-button .elementor-button-icon svg,
#facebook-button .elementor-button-icon svg,
#linkedin-button .elementor-button-icon svg{
    width: 20px;
    height: 20px;
    transform: translate(0px, 5px);
}
/*Tabs*/

.elementor-element .elementor-tabs-wrapper div.elementor-tab-title:first-child{
    border-radius: 8px 0 0 0;
}

.elementor-element .elementor-tabs-wrapper div.elementor-tab-title:last-child {
    border-radius: 0 8px 0 0;
}

.elementor-element .elementor-tabs-wrapper div.elementor-tab-title {
    border: 1px solid #E1EEF4 !important;
    padding: 17px 30px;
}

.elementor-widget-container .elementor-tabs-content-wrapper .elementor-tab-content.elementor-clearfix.elementor-active {
    border-radius: 0 8px 8px 8px;
}

.elementor-widget-container .elementor-tabs-content-wrapper .elementor-tab-content.elementor-clearfix.elementor-active,
.elementor-element .elementor-tabs-wrapper .elementor-tab-title.elementor-active
{
    background: #E1EEF4;
}

.elementor-element .elementor-tabs-wrapper{
    height: 45px;
    line-height: 10px;
    border-spacing: 3px 0;
    margin-left: -3px;
}

.elementor-element .elementor-tabs-wrapper .elementor-tab-title{
    border-spacing: 3px 0;
}

/*Accordion*/
.elementor-accordion-item .elementor-tab-title {
    border-radius: 8px;
}

.elementor-element .elementor-widget-container .elementor-accordion .elementor-accordion-item .elementor-tab-title.elementor-active {
    background: #E1EEF4;
}

.elementor-accordion-item .elementor-tab-content{
    border-radius: 0 0 8px 8px;
    margin-bottom: 15px;
}

/*Pagination*/

.elementor-element .elementor-widget-container nav.elementor-pagination{
    display: flex;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

.elementor-pagination .page-numbers.prev{
    justify-content: flex-start;
}

.elementor-pagination .page-numbers.next{
    justify-content: flex-end;
}

.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
    flex-grow: 1;
    color: #475467
}

.elementor-pagination .page-numbers.prev:hover,
.elementor-pagination .page-numbers.next:hover {
    color: #667085;
}

.elementor-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin: 0 5px;
    text-align: center;
    color: #667085; /* Adjust color as needed */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.elementor-pagination .page-numbers.current,
.elementor-pagination .page-numbers:not(.prev):not(.next):hover{
    color: white;
    border-radius: 8px;
}

.elementor-pagination .page-numbers.current {
    background-color: var(--button-blue);
}

.elementor-pagination .page-numbers:not(.prev):not(.next):hover {
    background-color: var(--button-blue-hover);
}


/* Pagination end */

@media (max-width: 767px)
{
    .elementor-element .home-h1 .elementor-widget-container
    {
        font-size: 48px;
        line-height: 48px;
    }

    .elementor-element .home-regular-text .elementor-widget-container,
    .home-bullet-list li
    {
        font-size: 16px;
        line-height: 24px;
    }

    .elementor-button-text{
        font-size: 13px;
        line-height: 44px;
    }

    .tag-button .elementor-button-text{
        font-size: 14px;
        line-height: 20px;
    }

    .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-submit {
        margin-top: -79px;
    }

    .elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox {
        margin-top: 65px;
        text-align: center;
        z-index: 999;
        position: relative;
    }
    .elementor-form-fields-wrapper .elementor-field-type-email.elementor-field-group.elementor-column input[type="email"]::placeholder{
        text-align: center;
    }

    .elementor-element .footer-text .elementor-widget-container
    {
        font-size: 14px;
        line-height: 20px;
    }

    .elementor-element.copyright-links .elementor-widget-container .elementor-icon-list-item.elementor-inline-item .elementor-icon-list-text{
        font-size: 10px;
        line-height: 14px;
    }

    .elementor-nav-menu--dropdown.elementor-nav-menu__container ul.elementor-nav-menu li.menu-phone-icon.menu-item a,
    .elementor-nav-menu--dropdown.elementor-nav-menu__container ul.elementor-nav-menu li.menu-email-icon.menu-item a
    {
        font-size: 0;
        line-height: 0;
    }

    li.menu-email-icon.menu-item
    {
        transform: translate(40px, 5px);
    }

    li.menu-phone-icon.menu-item,
    li.menu-email-icon.menu-item
    {
        position: absolute;
        margin-left: 20px;
        margin-top: 32px;
    }

    li.menu-phone-icon.menu-item::before {
        content: var(--icon-phone);
        margin-right: 15px;

    }

    li.menu-email-icon.menu-item::before {
        content: var(--icon-email);

    }

    .elementor-menu-toggle.elementor-active,
    .elementor-element.original-logo-container
    {
        z-index: 99999;
    }

    .full-screen-menu .elementor-nav-menu--dropdown {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
        top: 0;
        left: 0;
        z-index: 990;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-image: url("/wp-content/uploads/2024/05/mobile_menu_bg.png");
        background-position-y: bottom;
        background-repeat: no-repeat;
    }

    .elementor-element.full-screen-menu .elementor-widget-container .elementor-menu-toggle.elementor-active{
        border-radius: 50%;
        background-color: #FFF;
        width: 27px;
        height: 27px;
        margin-top: 20px;
    }

    .elementor-1096 .elementor-element.elementor-element-757ae718 div.elementor-menu-toggle .elementor-menu-toggle__icon--close{
        fill: #000000;
    }

    .original-logo-container .simple-logo-white{
        display: none;

    }

    .original-logo-container .simple-logo-white .elementor-active{
        display: inline-block;
    }
}

@media (min-width: 1200px) {

    .full-width-custom .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .full-width-custom .entry-header,
    .full-width-custom .entry-summary,
    .full-width-custom .entry-content,
    .full-width-custom .entry-footer {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .home-custom .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .home-custom .entry-header,
    .home-custom .entry-summary,
    .home-custom .entry-content,
    .home-custom .entry-footer {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .checkout-custom .entry-header,
    .checkout-custom .entry-summary,
    .checkout-custom .entry-content,
    .checkout-custom .entry-footer {
        max-width: 1200px;
    }
}

/* Yith Customization */
.yith-wcbk-booking-form {
    max-width: none !important;
}
.yith_wcbk_booking_form_shortcode_summary .yith-booking-meta,
.yith_wcbk_booking_form_shortcode_summary .price,
.yith_wcbk_booking_form_shortcode_summary .product_title,
.yith-wcbk-booking-form-block .price {
    display:none;
}
.yith-wcbk-add-to-cart-button.single_add_to_cart_button.button.alt {
    width: 100%;
}
.text-right {
    text-align: right;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    display: none !important;
}

/* Newsletter */
.elementor-form-fields-wrapper .elementor-field-group.elementor-field-type-checkbox label {
    font-size: 14px !important;
}