/*

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

 */

 

	html { font-size:10px;}

	.upper {

		text-transform: uppercase !important;

	}

	.altOcultar {

		display: none !important;

	}

	

/* Fin de las clases genericas */



/* Estilos menú lateral */



			.fusion-vertical-menu-widget > ul > li > a {

				display: flex !important;

				padding-left: 0 !important;

				padding-right: 0 !important;

			}

			.fusion-vertical-menu-widget > ul > li.current-menu-ancestor > a {

				color: #ff5e35 !important;

			} 

				.fusion-vertical-menu-widget > ul > li > a > span.link-text {

					width: 100% !important;

				}

				.fusion-vertical-menu-widget > ul > li > a > span.arrow {

					margin-right: 20px;

				}

					.fusion-vertical-menu-widget ul ul li a {

						font-size: 1.4rem !important;

					}



/* fin de los estilos menú lateral */



/* Estilos para el Buscador general */



	#menu-menu-principal > .fusion-main-menu-search .searchandfilter > div {

		position: relative;

		z-index: 20;

	}

		#menu-menu-principal > .fusion-main-menu-search .searchandfilter > div > ul > li:nth-child(2) {

			position: absolute;

			right: 5px;

			top: 5px;

		}

		#menu-menu-principal > .fusion-main-menu-search .searchandfilter > div > ul > li:nth-child(2)::before {

			color: #ff5e35;

			content: "\f002";

			cursor: pointer;

			font-family: "Font Awesome 5 Free"; 

			font-size: 2rem;

		}

			#menu-menu-principal > .fusion-main-menu-search .searchandfilter > div input[type="submit"] {

				border: none;

				height: 0;

				outline: none !important;

				padding: 0;

				width: 0;

			}

			#menu-menu-principal > .fusion-main-menu-search .searchandfilter > div input[type="text"] {

				padding-right: 25px;

			}



/* Fin de los estilos para el buscador general */



/* Estilos para el selector de idiomas */



	#contenedorlanguageSwitcher {

		display: -moz-flex;

		display: -ms-flex;

		display: -o-flex;

		display: flex;

		-moz-flex-flow: row wrap;

		-ms-flex-flow: row wrap;

		-o-flex-flow: row wrap;

		flex-flow: row wrap;

		list-style: none;

		margin: 7px 20px 0 0;

		padding: 0;

	}

		#contenedorlanguageSwitcher > li {

			display: inline-block;

			margin-left: 10px;

		}

			#contenedorlanguageSwitcher > li > a {

				color: #fff;

				display: block;

				padding: 0 5px;

				text-decoration: none;

			}

			#contenedorlanguageSwitcher > li.activo > a,

			#contenedorlanguageSwitcher > li > a:hover {

				background: #fff;

				color: #ff5e35;

				text-decoration: none;

			}

		#contenedorlanguageSwitcher > li:nth-child(2) {

			-moz-order: -1;

			-ms-order: -1;

			-o-order: -1;

			order: -1;

		}



/* Fin de los estilos para el selector de idiomas */



/* Estilos para el buscador */



	.searchform .fusion-search-form-content .fusion-search-button input[type="submit"] {

		height: 45px !important;

		line-height: 45px !important;

		width: 45px !important;

	}

	.searchform .fusion-search-form-content .fusion-search-button input[type=submit] {

		background: #330136;

	}



	/* Estilos para el Buscador general */



	#sidebar .searchandfilter > div{

		position: relative;

		z-index: 20;

	}

		#sidebar .searchandfilter > div > ul {

			background: none !important;

			display: block;

			list-style: none !important;

		}

			#sidebar .searchandfilter > div > ul > li {

				display: block;

				margin: 0 !important;

			}

			#sidebar .searchandfilter > div > ul > li:nth-child(2) {

				border: none !important;

				font-family: 'fontAwesome';

				position: absolute;

				right: 5px;

				top: 5px;

			}

			#sidebar .searchandfilter > div > ul > li:nth-child(2)::before {

				background: url(/wp-content/themes/Avada-Child-Theme/img/interface/icoLupa.jpg) top right no-repeat;

				color: #ff5e35;

				content: " ";

				cursor: pointer;

				display: inline-block;

				font-family: "Font Awesome 5 Free"; 

				font-size: 2rem;

				width: 22px;

			}

				#sidebar .searchandfilter > div input[type="submit"] {

					border: none;

					height: 0;

					outline: none !important;

					padding: 0;

					width: 0;

				}

				#sidebar .searchandfilter > div input[type="text"] {

					font-family: 'Lato', sans-serif;

					font-size: 1.6rem;

					padding-right: 25px;

				}

				#sidebar input[type="text"]{

					color: #666;

					font-size: 1.7rem;

					height: 45px;

				}



/* Fin de los estilos para el buscador general */





/***************** MENU *****************/



.fusion-secondary-header { color: #fff !important; font-size: 1.4rem !important; text-transform: uppercase; }

    .fusion-secondary-header .fusion-contact-info { line-height: 1; padding: 10px 0;}

        .fusion-secondary-header .fusion-contact-info .selectorIdioma { float: right;}

            .fusion-secondary-header .fusion-contact-info .selectorIdioma a { color: #fff;}

            .fusion-secondary-header .fusion-contact-info .selectorIdioma a:hover { text-decoration: underline; }





.fusion-menu > .menu-item { /*max-width: 200px;*/ }

    .fusion-menu > .menu-item > a { font-weight: 600; }

    .fusion-menu > .menu-item > a:hover,

    .fusion-menu > .menu-item.current-page-ancestor { }

        .fusion-menu > .menu-item > a > span:not(.fusion-button) { text-transform: uppercase; }

        .fusion-menu > .menu-item > a > span.fusion-button { font-size: 1.4rem; font-weight: 600; }



        /* submenus */

        /*

        .fusion-menu > .menu-item > .sub-menu > .menu-item {}

            .fusion-menu > .menu-item > .sub-menu > .menu-item a {  }

            .fusion-menu > .menu-item > .sub-menu > .menu-item a:hover {  }

        */

        /* botón */

        .fusion-menu .fusion-menu-item-button > a > span {

            background: #ff5e35 !important;

        }

		.fusion-vertical-menu-widget li > ul {

			margin-left: 30px !important;

		}

			.fusion-vertical-menu-widget li > ul > li {

				margin-left: 0 !important;

				margin-right: 15px !important;

			}

        /* sticky */

        /*

        .fusion-header.fusion-sticky-shadow { min-height: 70px !important;}

        .fusion-menu > .fusion-middle-logo-menu-logo.fusion-logo img.fusion-sticky-logo { width: 132px;}

        */





@media screen and (min-width: 1279px) and (max-width: 1650px){

    .fusion-secondary-main-menu { padding: 0 10px;}

    .fusion-menu > .menu-item {  }

        .fusion-menu > .menu-item > a { font-size: 1.4rem !important; }

        .fusion-menu > .menu-item > a > span.fusion-button { font-size: 1.4rem; }

}



@media screen and (min-width: 1279px) and (max-width: 1500px){

    .fusion-menu > .menu-item { padding-right: 20px !important; }

        .fusion-menu > .menu-item > a { font-size: 1.3rem !important; }

        .fusion-menu > .menu-item > a > span.fusion-button { font-size: 1.3rem; }

}



@media screen and (min-width: 1279px) and (max-width: 1400px){

    .fusion-menu > .menu-item { padding-right: 15px !important; }

        .fusion-menu > .menu-item > a { }

        .fusion-menu > .menu-item > a > span.fusion-button { }

}



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

    .fusion-secondary-header .fusion-alignleft { padding: 0 10px !important; text-align: left !important;}

    .fusion-header { padding: 10px !important;}

    .fusion-menu > .menu-item {  }

        .fusion-menu > .fusion-middle-logo-menu-logo.fusion-logo {  }

            .fusion-menu > .fusion-middle-logo-menu-logo.fusion-logo img.fusion-mobile-logo { }

}



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

    .fusion-secondary-header .fusion-alignleft {  }

        .fusion-secondary-header .fusion-alignleft .fusion-contact-info { font-size: 1.2rem; }

    .fusion-menu > .menu-item {  }

        .fusion-menu > .fusion-middle-logo-menu-logo.fusion-logo {  }

            .fusion-menu > .fusion-middle-logo-menu-logo.fusion-logo img.fusion-mobile-logo { }

}





/* mobile menu */

.fusion-mobile-menu {}

    .fusion-mobile-menu > li {}

        .fusion-mobile-menu  > li > a { text-transform: uppercase;}

    

.fusion-mobile-menu-icons a { margin: 15px; font-size: 4rem;}

.fusion-mobile-menu-icons a:after,

.fusion-mobile-menu-icons a:before { color: #000 !important;}

.fusion-mobile-menu-icons a:hover:after,

.fusion-mobile-menu-icons a:hover:before { color: #ff5e35 !important;}



/* debug mega menu */

/*

.fusion-main-menu { overflow: visible;}

.fusion-megamenu-wrapper { visibility: visible; opacity: 1; }

.fusion-main-menu li >.fusion-megamenu-wrapper .sub-menu { visibility: visible; opacity: 1;}

*/



/**********************************************************/



/***************** Estilos de la barra de titulo *****************/

.fusion-page-title-bar {

    height: 0 !important;

    padding-bottom: 22.6% !important;

    position: relative;

    background-size: contain;

}

    .fusion-page-title-bar > .fusion-page-title-row {

        -moz-transform: translateX(-50%);

        -ms-transform: translateX(-50%);

        -o-transform: translateX(-50%);

        transform: translateX(-50%);

        height: 100% !important;

        left: 50%;

        max-height: 440px;

        position: absolute;

        top: 0;

        width: 90% !important;

    }

        .fusion-page-title-bar .fusion-page-title-row h1 { margin-bottom: 10px;}

		.fusion-page-title-captions > .entry-title > a {

			color: #fff;

		}





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

        

}



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

    .fusion-page-title-bar { padding-bottom: 30% !important; background-size: cover; }

        .fusion-page-title-bar .fusion-page-title-row h1 { margin-bottom: 5px; font-size: 2.5rem !important;}

            .fusion-page-title-bar .fusion-breadcrumbs, .fusion-page-title-bar .fusion-breadcrumbs li, .fusion-page-title-bar .fusion-breadcrumbs li a {

            font-size: 1.3rem !important;

        }

}



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

    .fusion-page-title-bar { padding-bottom: 40% !important; }

}



/**********************************************************/



/* Estilos del pie */



#contenedorExteriorPie { background: #dad9df;position: relative;  }

    #contenedorPie { display: flex; justify-content: flex-end; margin: 0 auto;  }

        #contenedorPie .colIzq { padding: 50px 40px; width: 65%; /* max-width: 680px; */}

            #contenedorPie .colIzq .separadorLogo { display: block; margin: 30px 0 25px 0;}

            #contenedorPie .colIzq .logosPie { list-style: none; margin: 0 0 20px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;}

                #contenedorPie .colIzq .logosPie li { margin-bottom: 20px;}

            #contenedorPie .colIzq > p { width: 80%; font-size: 1.4rem; color: #666666;}

            #contenedorPie .colIzq > p a { color: #330136;}

            #contenedorPie .colIzq > p a:hover { text-decoration: underline;}

        #contenedorPie .colDer { position: relative; text-align: center; width: 35%; background: url('/wp-content/themes/Avada-Child-Theme/img/interface/fnd-pie-cartel.jpg') no-repeat 50% 0; background-size: contain; /* margin-left: 5%; */  }

            #contenedorPie .colDer .logosRRSS { position: absolute; /* bottom: 60px; */ bottom: 50%;

                -moz-transform: translateX(-50%);

                -ms-transform: translateX(-50%);

                -o-transform: translateX(-50%);

                transform: translateX(-50%);                

                /*left: 50%;*/

            }

                #contenedorPie .colDer .logosRRSS span { display: block; font-size: 1.4rem; color: #ffffff; margin-bottom: 15px;}

                #contenedorPie .colDer .logosRRSS ul { list-style: none; margin: 0; padding: 0; }

                    #contenedorPie .colDer .logosRRSS ul li { display: inline-block;}

                    #contenedorPie .colDer .logosRRSS ul li + li { margin-left: 10px;}

                        #contenedorPie .colDer .logosRRSS ul li img { }

                        #contenedorPie .colDer .logosRRSS ul li img:hover {

                            -moz-transform: scale(1.1);

                            -ms-transform: scale(1.1);

                            -o-transform: scale(1.1);

                            transform: scale(1.1);

                        }





@media screen and (min-width:799px)  and (max-width: 1400px){

    #contenedorExteriorPie {  }

        #contenedorPie {  }    

            #contenedorPie .colIzq { padding: 30px 40px 0 40px; }

                #contenedorPie .colIzq .logosPie {}

                    #contenedorPie .colIzq .logosPie li { max-width: 30%; }

                #contenedorPie .colIzq > p { width: 100%; }

            #contenedorPie .colDer {  }

}



@media screen and (min-width:799px)  and (max-width: 1366px){

    #contenedorExteriorPie {  }

        #contenedorPie {  }    

            #contenedorPie .colIzq { }

                #contenedorPie .colIzq .separadorLogo { margin: 20px 0 15px 0; }

                #contenedorPie .colIzq .logosPie { margin: 0 0 10px 0; }

                    #contenedorPie .colIzq .logosPie li { margin-bottom: 10px; }

                #contenedorPie .colIzq > p { }

            #contenedorPie .colDer { }

}



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

    #contenedorExteriorPie {  }

        #contenedorPie { flex-wrap: wrap;  }    

            #contenedorPie .colIzq { width: 100%; max-width: 100%; padding: 30px 40px 0 40px; }

                #contenedorPie .colIzq .separadorLogo { margin: 20px 0 15px 0; }

                #contenedorPie .colIzq .logosPie { margin: 0 0 10px 0; }

                    #contenedorPie .colIzq .logosPie li { max-width: 30%; margin-bottom: 10px; }

                #contenedorPie .colIzq > p { width: 100%; }

            #contenedorPie .colDer { width: 100%; height: 180px; background-position: 50% 50%; }

                #contenedorPie .colDer .logosRRSS { }

}



/**********************************************************/





/* Estilos sidebar */

#main #sidebar { padding: 0px; background: none !important;}

	#main #sidebar .widget { background: #ebeaea !important; }

    #main #sidebar .heading > h4 { margin: 0 0 15px 0; padding: 15px 30px; font-size: 1.6rem; }

        #main #sidebar ul { }

            #main #sidebar ul > li { margin: 0 30px 8px 30px; padding: 0;  }

            #main #sidebar ul > li + li { padding-top: 8px; border-top: 1px solid #999;  }

                #main #sidebar ul > li > a { color: #330136; }

                #main #sidebar ul > li > a:hover,

                #main #sidebar ul > li.current-menu-item > a { color: #ff5e35; }

                #main #sidebar ul > li > a::before { display: none; }

	#main #sidebar > section {

		background: #ebeaea;

	}

		#main #sidebar ul > li {

			border: none; 

		}



/**********************************************************/



/* Estilos para textoeditor */



	.fusion-text {

		line-height: 150%;

	}

		.fusion-text *,

		.textoEditor * {

			margin: 0;

			padding: 0;

		}

		.textoEditor > * + *,

		.single .post-content > * + *,

		.archive .post-content > * + *,

		.fusion-text > * + * {

			margin: 20px 0 0 0 !important;

		}

		.textoEditor ul,

		.single .post-content > ul,

		.archive .post-content > ul {

			list-style: none;

			padding: 0;

		}

		.textoEditor ul,

		.fusion-text ul,

		.textoEditor ol,

		.fusion-text ol {

			display: inline-block !important;

			padding-left: 40px !important;

		}

		.textoEditor ul,

		.fusion-text ul {

			list-style: square;

		}

			.textoEditor ul ul,

			.textoEditor ul ol,

			.fusion-text ol ul,

			.fusion-text ol ol {

				margin: 5px 0px 5px 20px !important;

			}

			.fusion-text blockquote,

			.textoEditor blockquote {

				border-left-color: #ff5e35;

				font-family: 'Lato', sans-serif;

				font-size: 1.6rem;

				font-style: normal;

				padding: 20px;

			}

				.fusion-text ul > li + li,

				.textoEditor ul > li + li,

				.fusion-text ol > li + li,

				.textoEditor ol > li + li{

					margin-top: 10px;

				}

			

		.fusion-text a:hover,

		.textoEditor a:hover {

			text-decoration: underline;

		}



/* Fin de los estilos para textoeditor */



/* Estilos para el paginador */



	.paginador {

		margin: 30px 0 0 0;

		text-align: center;

	}

		.paginador > * {

			padding: 5px 10px;

		}

		.paginador .current,

		.paginador > .page-numbers:hover {

			background: #ff5e35;

			color: #fff;

			

		}

		.paginador > * + * {

			margin: 0 0 0 5px;

		}



/* Fin de los estilos para el paginador */



/* Media queries */



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



                #dronImagen {

                    left: 28%;

                }



}



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

            /*

            .textoEditor img.alignleft,

            .textoEditor img.alignright {

                display: block;

                float: none !important;

                margin-left: auto !important; 

                margin-right: auto !important;

            }

    

    .textoEditor,

    .fusion-text {

        -webkit-column-count: 1 !important;

        -webkit-column-gap: 0 !important;

        -webkit-column-width: 100% !important;

        -moz-column-count: 1 !important;

        -moz-column-gap: 0 !important;

        -moz-column-width: 100% !important;

        column-count: 1 !important;

        column-gap: 0 !important;

        column-width: 100% !important;

    }

    */

}



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

    /*

        .tituloH1Apartado > h1 {

            font-size: 2.2rem !important;

        }

        .tituloH2Apartado > h2 {

            font-size: 1.8rem !important;

        }

        .textoEditor > h2,

        .fusion-text > h2,

        .tituloH2Apartado > h2 {

            font-size: 2rem !important;

        }

        .textoEditor > h3,

        .fusion-text > h3,

        .tituloH3Apartado > h3,

        .textoEditor > h4,

        .textoEditor > h5,

        .textoEditor > h6,

        .fusion-text > h4,

        .fusion-text > h5,

        .fusion-text > h6,

        .tituloH4Apartado > h4,

        .tituloH5Apartado > h5,

        .tituloH6Apartado > h6 {

            font-size: 1.8rem !important;

        }

    */

}

