/*

Theme Name: Avada Child

Description: Child theme for Avada theme

Author: ThemeFusion

Author URI: https://theme-fusion.com

Template: Avada

Version: 1.0.0

Text Domain:  Avada

*/



/* codigo para ocultar el espacio dejado por el iframe de remarketing */

iframe[name='google_conversion_frame'] { 

    height: 0 !important;

    width: 0 !important; 

    line-height: 0 !important; 

    font-size: 0 !important;

    margin-top: -13px;

    float: left;

}



/* Estilos para la función propia que envuelve los vídeos de youtube en un div y los hace responsivos */

div.flex-video {

    position: relative;

    padding-bottom: 56.25%;

    padding-top: 30px;

    height: 0;

    overflow: hidden;

    margin: 20px 0; /* esto es opcional */

    clear: both;

  }

   

  div.flex-video iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

  }





/**

 * Clases genericas

 */

.oculto { display: none !important;}

#wrapper,

.fusion-is-sticky .fusion-header-v1 .fusion-header,

.fusion-is-sticky .fusion-header-v2 .fusion-header,

.fusion-is-sticky .fusion-header-v3 .fusion-header,

.tfs-slider {

  margin: 0 auto !important;

  max-width: 1900px !important;

}

#wrapper > div > div > .tfs-slider {

    left: 50% !important;

    transform: translateX(-50%) !important;

}



/* Estilos estructurales */



html {

  box-sizing: border-box;

  text-rendering: geometricPrecision;

  font-size:10px;

}

*,

*:before,

*:after {

  box-sizing: inherit;

  margin: 0;

  padding: 0;

  text-rendering: geometricPrecision;

}



header,

		hgroup

	  nav,

section,

	  article,

			  figure,

			  time,

main,

footer {

		display: block;	

}

h1,

h2,

h3,

h4,

h5,

h6 {

		margin: 0;

		padding: 0;

}

.altOcultar {

		clip: rect(0 , 0 , 0 , 0);

		position: absolute !important;

}

.upper {

		text-transform: uppercase;

}

.flotarIzq {

  	float: left;

}

.flotarDch {

		float: right;

}

.fusion-mobile-menu-icons {

    margin-top: 22px !important;

}

.fusion-mobile-menu-icons a {

  font-size: 3.2rem !important;

}

body:not(.mobile-menu-design-flyout) .fusion-mobile-nav-item a {

    height: auto !important;

}

.fusion-mobile-nav-item a {

    line-height: normal !important;

}

.fusion-mobile-nav-item + .fusion-mobile-nav-item {

    border-top: 1px solid #ececec;

}

.fusion-mobile-nav-item:last-child {

    padding-bottom: 20px !important;

}

.fusion-secondary-menu>ul>li>a>span {

    font-family: 'Montserrat', sans-serif !important;

}

.fusion-secondary-menu>ul>li {

    border: none !important;

}

/* Fin de los estilos estructurales */



/* Estilos para el pie */



    #textoEditorPie {

        color: #292b37;

        font-size: 1.4rem;

        font-weight: 500;

        margin: 24px 0 0 0;

    }

        #textoEditorPie a {

            color: #292b37;

            text-decoration: none;

        }

        #textoEditorPie a:hover {

            color: #ED1C24;

        }



/* Fin de los estilos para el pie */



@media only screen and (max-width: 640px) {



    .fusion-secondary-menu>ul>li>a {

        padding: 0 6px !important;

    }

    .fusion-secondary-menu>ul>li>a>span {

        font-family: 'Montserrat', sans-serif !important;

        font-size: 1.1rem !important;

    }



}



@media only screen and (min-width: 240px) and (max-width: 450px) {



    #menu-top-navegacion a {

        padding: 0 8px !important;

    }

        #menu-top-navegacion a > span {

            padding: 9px 12px !important;

        }



}
.fusion-header-wrapper > .fusion-header-v2 > .fusion-header  > .fusion-row > .fusion-header-has-flyout-menu-content > .fusion-main-menu > ul#menu-menu-principal > li:nth-child(4) >  a:hover{
    background-color: #fff !important;
}