/*
Theme Name: Avas Child
Theme URI: https://x-theme.net/avas/
Author: theme-x
Author URI: https://themeforest.net/user/theme-x
Description: Responsive Multi-Purpose WordPress Theme.
License: GNU General Public License v2 or later
License URI: http://themeforest.net/licenses
Template: avas
Version: 1.1
Text Domain: avas
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.sidebar-ventanas li.widget{
    list-style: none;
}
.sidebar-ventanas widget-block:not(:last-child) {
    margin-bottom: 40px;
}
.sidebar-ventanas .widget.widget_block .widget{
    padding: 20px 20px 40px;
    background: #FFF;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}
.sidebar-ventanas .widget.widget_block .widget .widget-title{
    margin-bottom: 25px;
    width: 100%;
}
.sidebar-ventanas .wp-block-button{
    width: 100%;
    text-align: center;
}
.sidebar-ventanas .wp-element-button{
    background: linear-gradient(90deg, #56AB2F 0%, #91C651 51%, #56AB2F 100%);
    color: #FFF;
    font-family: Lato;
    font-size: 14px;
    display: block;
    width: 100%;
    border-radius: 0;
}

.sub-header h1.entry-title, .sub-header h1.entry-title a{
    font-size: 40px;
}
.informate_ahora a, .informate_ahora .elementor-widget-container{
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.informate_ahora a:hover{
    width: 100% !important;
}
.informate_ahora_wrapper .elementor-widget-wrap {
    bottom: 10px;
}
/*#galeria-productos figure figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/
#galeria-productos figure figcaption {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#galeria-productos figure figcaption:hover {
    background: rgba(0,0,0,0.4);
}
/*#galeria-productos figure a:hover::after {
    content: '';
    background: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 6px;
    right: 0;
}*/
footer a {
    color: #BFBFBF;
    margin: 0 10px;
}

.elementor.elementor-416 > div, .elementor.elementor-416 > footer, #wpadminbar {
    max-width: 100vw;
}
#page > .row{
    margin: 0;
}

ul.main-menu>li>a:hover, ul.main-menu>li>a:focus, ul.main-menu>li.menu-item-has-children a:hover, ul.main-menu>li.menu-item-has-children a:focus, .tx-mega-menu .mega-menu-item .depth0 li .depth1.standard.sub-menu li a:hover{
    text-decoration: underline;
}
ul.main-menu.active>a:hover, ul.main-menu>li.current-menu-ancestor>a, ul.main-menu>li.current-menu-item>a, ul.main-menu>li.current-menu-parent>a, ul.main-menu>li.current-page-ancestor>a, ul.main-menu>li.current_page_ancestor>a {
    text-decoration: underline;
}

.main-menu .sub-menu .current-menu-item a{
    text-decoration: underline;
}
ul.main-menu > li > a:hover, ul.main-menu > li > a:focus, ul.main-menu > li.menu-item-has-children a:hover, ul.main-menu > li.menu-item-has-children a:focus, .tx-mega-menu .mega-menu-item .depth0 li .depth1.standard.sub-menu li a:hover{
    color: #111111 !important;
}

.cook_banner a{
    color: #ffffff;
}


.main-menu>li>a{
    border: 1px solid transparent;
}
.main-menu>li>a:focus-visible{
    border: 1px solid white;
}

#menu-item-1691 a{
    width: 200px;
    height: 48px;
    border: 2px solid #fff;
    text-align: right;
    padding: 14px 26px;
    line-height: normal;
    font-size: 15px;
    font-family: "Lato";
    font-weight: 500;
    background: url(/wp-content/themes/avas-child/assets/phone.svg) no-repeat;
    background-position-y: 12px;
    background-position-x: 18px;
    letter-spacing: 1.5px
}
#menu-item-1691 a:hover{
    background-image: url(/wp-content/themes/avas-child/assets/phone-verde.svg);
    color: #53811b;
    background-color: #ffffff;
}
#menu-item-1691 {
    /* position: absolute;
    top: 9px;
    right: -210px; */
}


.forzar-centrado .tx-hd-wrap{
    text-align: center;
}

#h-style-3 > .container{
    max-width: 1340px;
}

@media  (max-width: 1300px) {
    #menu-item-1691{
        display: none;
    }
}

@media  (max-width: 1200px) {
    .elementor-364 .elementor-element.elementor-element-58e8fba .tx-btn-align-right{
        margin-left: 20px;
    }
    .main-header > .container {
        max-width: 100%;
    }
    .home-slider {
        max-width: 650px;
        margin: 0 auto;
    }
}
@media  (max-width: 1050px) {
    ul.main-menu > li > a, .navbar-collapse > ul > li > a, .navbar-collapse > ul > li > ul > li > a, .navbar-collapse > ul > li > ul > li > ul > li > a, .navbar-collapse > ul > li > span > i, .navbar-collapse > ul > li > ul > li > span > i, .mb-dropdown-icon::before, .tx-res-menu li a {
        font-size: 14px;
        padding: 0 5px;
    }
    .tx_logo img {
        max-width: 150px;
    }
}

@media  (max-width: 900px) {
    ul.main-menu > li > a, .navbar-collapse > ul > li > a, .navbar-collapse > ul > li > ul > li > a, .navbar-collapse > ul > li > ul > li > ul > li > a, .navbar-collapse > ul > li > span > i, .navbar-collapse > ul > li > ul > li > span > i, .mb-dropdown-icon::before, .tx-res-menu li a {
        font-size: 13px;
        padding: 0 4px;
    }
    .tx_logo img {
        max-width: 120px;
    }
}
@media  (max-width: 768px) {
    #mini_form{
        height: 200px !important;
    }
}