/*
Theme Name: Total Child
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: total
Version: 1.0
*/

/* GENERAL */
#content > .post-edit, body > .post-edit {
	display: none;
}

body:not(.elementor-editor-active) .hide_front {
	display: none;
}

body:not(.elementor-editor-active) .hide_preload {
	visibility: hidden;
}

body .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1280px;
}

body.sitio_fp main > [data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner {
	 padding-top: 90px;
}

main > [data-elementor-type="wp-page"] > div {
    /*padding-top: 40px; qns*/
}

main > div > div {
    /*padding-bottom: 30px; qns*/
}

.elementor-widget-container h1, .elementor-widget-container h2, .elementor-widget-container h3, .elementor-widget-container h4, .elementor-widget-container h5, .elementor-widget-container h6 {
    margin: 0;
}

.theme-button:not(.small) {
	padding: 3px 12px;
}

.theme-button.small {
	padding: 4px 13px;
}

.theme-button.large {
    width: auto !important;
    min-width: 190px;
}

body .elementor-widget-vcex_button[class*="__width-inherit"] .theme-button {
	width: 100% !important;
}

button.fp_boton, .fp_boton a, .elementor-form button.fp_boton {
	font-family: "Source Sans 3", Sans-serif;
    background: none;
    border-radius: var(--wpex-rounded-lg);
    color: #0053A1;
    border: 2px solid #0053A1;
    padding: 3px 12px;
    font-size: 15px;
    font-weight: 600;
}

.elementor-form button.fp_boton {
    flex-basis: auto !important;
    width: auto;
    min-width: 130px;
    margin: auto;
}

button.fp_boton:hover, .fp_boton a:hover, .elementor-form button.fp_boton:hover {
    background: #0053A1;
}

.elementor-widget-vcex_button.blanco a, .elementor-widget-vcex_button.blanco a:hover {
    color: white !important;
    border-color: white !important;
}

.fx_shadow1 {
    box-shadow: 0 4px 24px 0 rgb(0 0 0 / 15%);
}

.fx_shadow2 {
    box-shadow: 0 0 15px 3px rgb(0 0 0 / 15%);
}

.fx_shadow3 {
    box-shadow: 0 0 5px 3px rgb(0 0 0 / 10%);
}

.fx_shadow4 {
    box-shadow: 0 4px 34px 0 rgb(0 0 0 / 15%);
}

.fx_shadow_btn, .theme-button:not(.vcex-navbar-link):hover, .elementor-slide-button:hover, button.fp_boton:hover, .fp_boton a:hover, .elementor-form button.fp_boton:hover {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 30%);
}

.fx_caja_redondeada {
    border-radius: 28px;
    overflow: hidden;
}

.fx_underline:after, .vcex-off-canvas-menu-nav__item-text:after {
	content: '';
    position: absolute;
    bottom: 2px;
    left: -5%;
    width: 0;
    height: 2px;
    background-color: #0053A1;
    transition: width 0.3s ease;
}

.fx_underline:hover:after, .vcex-off-canvas-menu-nav__item-text:hover:after {
    width: 115%;
}

.fx_underline, .vcex-off-canvas-menu-nav__item-text {
    position: relative;
}

.fx_transicion, .theme-button, details.wpex-m-0 ul {
    transition: all 0.3s ease;
}

details.wpex-m-0:not([open]) ul {
    opacity: 0;
}

details.wpex-m-0[open] ul {
    opacity: 1;
    padding-left: 10px;
}

p.elementor-icon-box-title {
    margin-bottom: 0;
}

.elementor-widget-video[data-settings*=youtube_url] {
	height: 100%;
}
		
.elementor-widget-video[data-settings*=youtube_url] .elementor-wrapper {
	height: 100%;
	width: 100%;
}



/* HEADER */
#site-header-inner > *:not(.custom_header), body.wpex-theme #ajaxsearchpro3_1 span.innericon svg, body.wpex-theme #ajaxsearchpro3_2 span.innericon svg {
    display: none;
}

/*monentaneo*/
#top-bar-wrap, .custom_header {
	display: none;
}

#top-bar-wrap {
    z-index: 100;
    position: relative;
}

.top-bar-full-width {
    padding: 0;
}

.vcex-off-canvas-menu__toggle span, .vcex-off-canvas-menu__toggle span:before, .vcex-off-canvas-menu__toggle span:after {
    transition: all ease-in-out .5s;
}

.vcex-off-canvas-menu__toggle[aria-expanded="true"] span {
    background: transparent;
}

.vcex-off-canvas-menu__toggle[aria-expanded="true"] span:before {
    top: 0;
    transform: rotate(45deg);
}

.vcex-off-canvas-menu__toggle[aria-expanded="true"] span:after {
    top: 0;
    transform: rotate(135deg);
}

.f_footer_menu_iconos {
    bottom: 5px;
    width: 100%;
    transform: scale(0.8);
    transform-origin: center bottom;
}

/*___Buscador Ajax*/
body.wpex-theme #ajaxsearchpro3_1, body.wpex-theme #ajaxsearchpro3_2 {
    min-width: 190px;
}

body.wpex-theme #ajaxsearchpro3_1 > .probox, body.wpex-theme #ajaxsearchpro3_2 > .probox {
	border-radius: 50px;
    border: 2.5px solid #0053A1 !important;
    padding: 0 5px 0 0;
}

body.wpex-theme #ajaxsearchpro3_1 span.innericon, body.wpex-theme #ajaxsearchpro3_2 span.innericon {
    position: relative;
}

body.wpex-theme #ajaxsearchpro3_1 span.innericon:before, body.wpex-theme #ajaxsearchpro3_2 span.innericon:before {
    content: '';
    background-image: url(../../uploads/2025/07/icono-lupa.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    margin: 7px 2px 7px -7px;
}

body.wpex-theme #ajaxsearchpro3_1 > .probox .proinput, body.wpex-theme #ajaxsearchpro3_2 > .probox .proinput {
	margin-left: 2px;
}

body.wpex-theme #ajaxsearchpro3_1 .probox .proinput input.orig, body.wpex-theme #ajaxsearchpro3_2 .probox .proinput input.orig, body.wpex-theme div.asp_m.asp_m_3 .probox .proinput input.orig {
	margin-top: -2px!important;
}



/* FOOTER */
main > [data-elementor-type="wp-page"] > div:last-child, main > #content-wrap {
	padding-bottom: 110px;
}



/* NOSOTROS pag */
.carrusel_miembros .elementor-image-box-popup {
	display: none;
}

.carrusel_miembros .elementor-image-box-popup.elementor-image-box-description {
    text-align: left;
}

.carousel-nav {
    pointer-events: none;
}

.carousel-nav > button {
    pointer-events: auto;
}

.carrusel_miembros .elementor-widget-image-box {
	cursor: pointer;
}

.carrusel_miembros .elementor-image-box-description.elementor-inline-editing {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#imgbox-popup.imgbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	z-index: 9999;
}

#imgbox-popup .imgbox-container {
	background: #fff;
	padding: 20px;
	max-width: min(500px, 90%);
	max-height: min(500px, 90%);
	width: 100%;
	height: auto;
	border-radius: 10px;
	position: absolute;
	top: 20vh;
	left: 50%;
	transform: translateX(-50%);
	overflow-x: hidden;
	overflow-y: auto;
	text-align: center;
}

#imgbox-popup .imgbox-close {
	position: absolute;
	top: 10px;
	right: 15px;
	cursor: pointer;
	font-size: 22px;
}

#imgbox-popup #imgbox-content > * {
    margin-bottom: 5px;
    text-align: left;
}

#imgbox-popup #imgbox-content > *:last-child {
	margin-bottom: 0;
}

#imgbox-popup .elementor-image-box-title {
	margin-top: 0;
}

#imgbox-popup .elementor-image-box-description:not(.elementor-image-box-popup) {
	transform: scale(1.2);
	transform-origin: 0% 50%;
	max-width: 80%;
}

#imgbox-popup .imgbox-img-wrapper {
	width: 100%;
	height: 220px;
	margin: 15px auto !important;
	overflow: hidden;
	border-radius: 20px;
}

#imgbox-popup .imgbox-img-wrapper img {
	width: 110%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	margin-left: -5%;
}



/* RESPONSIVE */
@media only screen and (max-width: 500px) {
	header {
	    box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.15);
		z-index: 100;
	}
	
	body.sitio_fp main > [data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner {
		padding-top: 40px;
	}
	
	#site-header-inner {
        max-width: 93% !important;
	}
	
	.wpex-hamburger-icon>span, .wpex-hamburger-icon>span::before, .wpex-hamburger-icon>span::after {
		height: var(--wpex-hamburger-icon-bar-height, 2px);
	}
	
	.wpex-hamburger-icon>span::before {
		inset-block-start: calc(-1 * (var(--wpex-hamburger-icon-bar-height, 2px) + var(--wpex-hamburger-icon-gutter, 3px)));
	}
	
	.wpex-hamburger-icon>span::after {
		inset-block-start: calc(var(--wpex-hamburger-icon-bar-height, 2px) + var(--wpex-hamburger-icon-gutter, 3px));
	}
	
	body .theme-button:not(.small) {
		width: auto;
	}
	
	#imgbox-popup .imgbox-img-wrapper img {
		width: 120%;
		margin-left: -10%;
	}
}








/*TEMPO*/
