/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.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
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* global */
.grecaptcha-badge {
    display: none;
}

.otgs-development-site-front-end {
    display: none;
}

p:last-child {
    margin-bottom:0;
}

/* menu */
.menu ul ul {
    padding-left:30px;
}

.menu ul ul a {
    text-transform: none !important;
    font-size:24px !important;
    font-weight: 500 !important;
    padding-top:15px !important;
    padding-bottom:15px !important;
}

.menu ul ul a:before {
    content:' ';
    width:20px;
    height: 1px;
    border-bottom:1px solid white;
    position: relative;
    margin-right: 7px;
}

.menu a {
    transition:all 0.3s;
    padding-left:35px !important;
}


.menu .elementor-nav-menu > li:hover > a,
.menu .elementor-nav-menu > .current-menu-item > a {
    background-image:url('assets/img/menu_arrow.svg');
    background-repeat: no-repeat;
    background-position: center left;
    background-size:20px auto;
}

@media (min-width:1001px) {
    .menu .menu-contacto {
        display: none;
    }
} 



/* header */
.elementor-location-header > .elementor-element.elementor-sticky--effects {
    background:var(--e-global-color-primary);
}

body.home .elementor-location-header > .elementor-element.elementor-sticky--effects *,
body:not(.home) .elementor-location-header > .elementor-element * {
    color:white;
    fill:white;
}

.elementor-location-header > .elementor-element.elementor-sticky--effects .elementor-button:hover {
    background:var(--e-global-color-8de7169);
    border-color:var(--e-global-color-8de7169);
}



/* header home */
body.home .elementor-location-header > .elementor-element:not(.elementor-sticky--effects) .logo_blanc {
    display: none;
}

body.home .elementor-location-header > .elementor-element.elementor-sticky--effects .logo_color {
    display: none;
}



/* header other pages */
body:not(.home) .elementor-location-header > .elementor-element .logo_color {
    display: none;
}




/* buttons */
.elementor-button {
    position: relative;
}

.elementor-button:hover {
    background-color:transparent !important;
}
.elementor-button::before{
    content:'';
    position: absolute;
    background: var(--e-global-color-primary); /*<-- Change fill color here*/
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    top: -2px;
    left: -2px;
    transform: scaleX(0);
    transform-origin: right; /*<-- Change fill out direction*/
    transition: transform .4s ease; /*<-- Change fill speed */
    border-radius: 3px;
}

.btn-light .elementor-button::before{
    background: var(--e-global-color-secondary);
}




/*Hover class*/
.elementor-button:hover::before{
    transform: scaleX(1);
    transform-origin: left; /*<-- Change fill in direction*/
}

.elementor-button-text{
    z-index: 1;
}

.elementor-button:hover .elementor-button-icon{
    color: white; /*<-- Change Icon color here*/
    z-index: 1;
    transition: color .5s ease
}

.elementor-button .elementor-button-icon{
    transform: scale(1.3); /*<-- Change icon size*/
    padding-left: 5px;
}