/*
colores menu
BLANCO TEXTO MENU: #FFFFFF;
BURDEO: #BA0C2F
GRIS SEPARACION MENU: #D1D1D1
GRIS FONDO SUBMENU: #F1F1F1
LILA TEXTO SUBMENU: #9B79A3
PURPURA HOVER : #A277A6
*/


/*con este wrapper fijamos la posicion del menu*/
.amh-custom-menu-wrapper-pos {
    position: relative;
}

.amh-custom-menu-wrapper-absolute {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    z-index: 499;
}

.amh-custom-menu-li {
    display: none;
    width: 32px;
    height: 80px;
    align-items: center;
    justify-content: center;
    z-index: 999;
    margin-right: -10px;
}


.amh-custom-menu-wrapper-pos, .amh-custom-menu-wrapper-absolute{
    display: none;
}

.amh-custom-menu li {
    border-bottom: 1px solid #D1D1D1;
    margin-bottom: 0;
}

.amh-custom-menu a {
    background-color: #BA0C2F;
    color: #ffffff;
    text-decoration: none !important;
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
    line-height: 1.25em;
    font-weight: 500;
    transition: all 0.3s !important;
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
    -o-transition: all 0.3s !important;
}

.amh-custom-menu a.amh-a-touched {
    text-decoration: none  !important;
    background-color:  #A277A6  !important;
    color: #ffffff  !important;
}



.amh-custom-menu .menu-item-has-children {

    position: relative;
}


.amh-custom-menu .sub-menu {
    padding: 0 ;
    display: none !important;
}

.amh-custom-menu .sub-menu.amh-custom-submenu-activo, .amh-custom-menu .sub-menu {
   
    left: inherit;
    top: inherit;
    position: relative;
    border-top-width: 0px !important;
}

.amh-custom-menu .sub-menu.amh-custom-submenu-activo {
    display: block !important;
}

.amh-custom-menu li {
    list-style: none;
}



.amh-custom-menu .sub-menu li a {
    background-color: #F1F1F1;
    color:  #9B79A3;
    transition: all 0.3s !important;
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
    -o-transition: all 0.3s !important;
}

.amh-custom-menu .sub-menu li a.amh-a-touched {
    background-color: #A277A6 !important;
    color:  #ffffff !important;
}

.amh-custom-menu button.sub-menu-toggle {
    display: none !important;
    opacity: 0 !important;
}


.amh-custom-menu-wrapper {
    display: none;
    opacity: 0;
}

.amh-custom-menu-wrapper.amh-custom-menu-activo {
    display: block;
    opacity: 1;
}

.amh-custom-menu-icono {
    cursor: pointer;
    background-color:  #BA0C2F;
    color: #ffffff;
    width: 32px;
    line-height: 28px;
    height: 32px;
    border-radius: 100px;
    border: 2px solid transparent !important;
    transition: all 0.3s !important;
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
    -o-transition: all 0.3s !important;
    overflow: hidden;
    text-align: center;
    font-size: 14px !important;
    z-indeX: 99;
    position: relative;
    opacity: 1 !important;
    display: block !important;
}

.amh-custom-menu-icono i {
    height: 32px;
    width: 32px;
    /* background-color: blue; */
    line-height: 26px;
    font-size: 12px;
    /* border-radius: 100px; */
    /* margin: 0 auto; */
    display: inline;
}


.amh-custom-menu-icono.amh-a-touched {
    background-color: transparent;
    color: #BA0C2F;
    border: 2px solid #BA0C2F !important;

}

.amh-custom-has-children-wrapper {
    display: flex;
}

.amh-custom-menu-children-icons {
    margin-left: auto;
    width: 30px;
    text-align: center;
    position: relative;
    display: flex !important;
    justify-content: end;
    align-items: center;
    opacity: 1 !important;
}

.amh-custom-menu-children-icons i {
    text-decoration: none !important;
}

.amh-icono-submenu-inactivo {
    display: none;

}


ul.amh-custom-menu, .amh-custom-menu ul {
    display: block;
    margin: 0;
}

ul#menu-prueba li:last-child {
    border-bottom: none;
}


/*   SOBREESCRIBIR ENFOLD     */

ul#av-burger-menu-ul {
    padding: 50px 0!important;
}


@media only screen and (max-width: 767px) {
    #header_main .logo {
        max-width: 65% !important;
    }

    .amh-custom-menu-wrapper-pos, .amh-custom-menu-wrapper-absolute, .amh-custom-menu-li {
        display: block;
    }
    .amh-custom-menu-li {
        display: flex;
    }

    .amh-mobile-hidden {
        display: none !important
    }

    .amh-hamburger-menu-active {
        overflow: hidden !important;
        height: 400px;
    }
   
}