@media (max-width: 991px) and (min-width: 767px){
    .header, 
	.e--ua-chrome .header {
        background: #fff;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
		/* overflow-x:hidden; */
    }
}
@media (max-width: 991px) {
	.opened .sticky-options {display:block !important;}
	.header .nav.primary .nav-wrapper { overflow-x:hidden;}
}
/* @media (max-width: 1620px) and (min-width: 767px){ */
	@media (max-width: 1620px){
	.header .nav.primary .nav-wrapper.open,
	.e--ua-chrome .header .nav.primary .nav-wrapper.open { z-index:8;}
}

#modalAyuda.opened-modal .tooltip,
#modalAyuda.d-block .tooltip,
#modalAyuda.show .tooltip { opacity: 1;}



/*------------------------------------------------------*/

@media (max-width: 1024px) {
	.images-holder .elementor-posts-container {
		display: block;
		margin: 0 !important;
	}
}
.images-holder section {
	margin-bottom: 0;
}

.images-holder.hidden {
	display: none!important;
}
.nav-holder {
	display: flex;
	/*justify-content: space-between!important;
	column-gap: 10px;*/
	row-gap: 10px;
	padding:0 20px;
	justify-content: start!important;
	column-gap: 30px;
}
.nav-container ul,
.nav-container li {
	padding: 0;
	margin: 0;
	list-style:  none;
}
.mega-nav {
	padding: 20px 0;
}
.nav-container .sub-menu {
	display: none;
}
/*.nav-container*/ .wrapper-menu-nav {
	display: none;
}
.wrapper-menu-nav.visible {
	display: block !important;
	padding: 50px 0;
	background: #27477e;
	width: 100%;
	position: absolute;
	left: 0;
	/* top: 100px; */
	/* sin .nav.secondary - primera linea*/
	top: calc(100px - 53px);
	/* min-height: 525px; 
	min-height: 460px;*/
}

.nav-container .visible .sub-menu.first-level {
	display: block;
	position: relative;
}
.second-level{
	display: none;
}
.second-level h3 {
	padding: 15px 0;
	color: #fff;
	display: block;
	cursor: pointer;
	position: absolute;
	top: -30px;
	left: 20px;
	white-space: nowrap;
	font-weight: bold;
}
.second-level h3::before {
	background-image: url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 1L1 7L7 13' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	border: 0 solid #fff;
	content: "";
	display: block;
	height: 20px;
	left: -20px;
	position: absolute;
	top: 16px;
	width: 20px;
}
.second-level.visible {
	position: absolute;
	display: block;
	background: #212121;
	width: 100%;
	z-index: 9999;
	left: 0;
	top: 0;
	padding: 30px 0;
	min-width: 300px;
}

.wrapper-menu {
	display: flex;
	max-width: 1300px;
	justify-content: space-between;
	margin: auto;
}
.nav.primary a {
	color: #595959;
	font-family: 'Source Sans Pro', sans-serif, Arial;
	text-decoration: none ;
	text-transform: none ;
}

.wrapper-menu .sub-menu a {
	font-size: 1.6rem;
}
@media (max-width: 1399px) {
	.wrapper-menu {
		max-width: 1120px;
	}
}

@media (max-width: 1300px) {
	.wrapper-menu {
		max-width: 940px;
		padding:0 20px;
	}
	a.first-level-trigger {
		/* font-size: 1.2rem; */
	}
	.second-level.visible {
		padding: 50px 0;
	}
}

.visible .images-holder {
	width: 50%;
	display: flex;
	gap: 10px;
	justify-content: end;
}

/* fuerza ancho en img de shortcode agenda*/
.nav-container.visible .images-holder > .elementor { width: 514px; }

.sub-menu.visible .menu-item {
	display: block;
	margin: auto;
	max-width: 1300px;
	margin-bottom: 10px;
}
 .sub-menu .menu-item a/*, 
.wp-megamenu .menu-jet-megamenu-container a */{ 
	text-decoration: none;
}
.megamenu-opened.wp-megamenu .menu-jet-megamenu-container .second-level a {
	color: #bebebe !important;
}
.megamenu-opened.wp-megamenu .menu-jet-megamenu-container .second-level a:not([href]) {
	color: #fff !important;
}

.jet-mobile-menu-visible header a, 
.megamenu-opened header a {
	color: #fff !important;
}
.sub-menu li.menu-item  {
	margin-bottom: 15px;
}
.nav.primary a {
	z-index: 9 !important;
}
.nav.primary h3 a {
	z-index: 10 !important;
	text-shadow: 1px 1px 2px #212121;
}
/* opacity imágenes entradas en menu */
.nav-wrapper .nav-holder .wrapper-menu-nav .block-multimedia article a img { opacity:0.75;opacity:0.85;}
/* thumbnail max-width en menu */
.wrapper-menu .images-holder .elementor-posts article.elementor-post.has-post-thumbnail { max-width:247px;}

/* ocultar nav-wrapper en móviles*/
.nav-wrapper { right: -100vw; position: absolute;}
.nav-wrapper.hidden { display: none;}
@media (min-width: 992px) { 
	.nav-wrapper { right: 0; position: unset;}
}


.menu-item-has-children a {
	display: inline-block;
	position: relative;
}
.sub-menu .menu-item-has-children a::after{
	background-image: url(http://tressisgestion.tressis.com/wp-content/uploads/2023/10/menu-arrow-despliega.png), url(https://www.tressisgestion.com/wp-content/uploads/2023/10/menu-arrow-despliega.png);
	background-repeat: no-repeat;
	border: 0 solid #fff;
	content: "";
	display: inline-block;
	height: 20px;
	left: 10px;
	margin-top: 0;
	position: relative;
	top: 3px;
	width: 20px;
}
.sub-menu.second-level .menu-item a::after{ 
	display: none!important;
}
.sub-menu.second-level a {
	color: #ffffff !important;
	white-space: nowrap;

}
.images-holder {

	display: none;
}

.images-holder img{
	max-width: 250px;
	height: 383px !important;
	object-fit: cover;
}
.third-level {
	display: block!important;
}
.third-level a {
	color: #595959!important;
	font-size: 1.6rem !important;
}

.first-level-trigger::after {
	/* background: #27477e !important; */
	background: #27477e;
	bottom: -5px;
	content: "";
	display: block;
	height: 2px;
	left: 0;
	margin: auto;
	position: absolute;
	width: 0%;
	transition: all .4s linear;
}

.megamenu-opened .first-level-trigger::after { background: #ffffff;}

.first-level-trigger:hover:after {
	width: 100%;
}
.current-menu-ancestor .first-level-trigger:after {
	width: 100%;
	background: #212121;
}

.jet-mobile-menu-visible header .current-page-ancestor > a, 
.megamenu-opened header .current-page-ancestor > a { font-weight:400 !important;}

@media (min-width: 991px) {
	header .current-page-ancestor > a::before, 
	.current-menu-ancestor .current_page_item > a::before {
		background: transparent !important;
		bottom: -3px;
		content: "";
		display: block;
		height: 1px;
		left: 0px;
		position: absolute;
		width: calc(100% - 1px);
	}
	
	header .current-page-ancestor > a::before {
		background: transparent !important;
	}
}
header .current-page-ancestor > a::before, 
.current-menu-ancestor .current_page_item > a::before  { display:none;}


.first-level-trigger.active::after {
	width: 100%;
	background: #fff;
}

.megamenu-opened .first-level-trigger:hover:after {
	width: 100%;
	background: #fff!important;
	
}
.second-level > a {
	color: #fff!important;
	margin-bottom: 15px;
}
.sub-menu.third-level {
	padding-top: 15px;
	margin-bottom: 15px;
}

.sub-menu.third-level a, 
.megamenu-opened.wp-megamenu .menu-jet-megamenu-container .sub-menu.third-level a {
	color: #bebebe !important;
	margin-bottom: 0;
}
.jet-mobile-menu-visible header menu-item-has-children a, 
.megamenu-opened header menu-item-has-children a {
	color: #fff !important;
}

.donde-menu .second-level.visible,
.fondos-menu .second-level.visible{
	column-count: 3;
}
.donde-menu .second-level li,
.fondos-menu .second-level li {
	break-inside: avoid;
}
.donde-menu .sub-menu.first-level,
.fondos-menu .sub-menu.first-level {
	width: 100%;
}
.btn-back {
	display: none;
	opacity: 0;
	pointer-events: none;
}
.hamburguer-menu {

	display: none;
}
.second-level a:not([href]){

	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	color:#fff !important;
}
.mobile-wrapper {
	display: none;
}

/* 2026 - nuevo menú TG - 3 x 1os niveles*/
.sub-menu--first-level--columnCount2 ul.sub-menu.first-level {
	column-count: 2;
}
.sub-menu--first-level--columnCount2 ul.sub-menu.first-level > li > a { display:none;}

.sub-menu--first-level--columnCount2 ul.sub-menu.first-level ul.sub-menu.second-level { 
	display:block;
	break-inside: avoid;
}
.sub-menu--first-level--columnCount2 ul.sub-menu.first-level ul.sub-menu.second-level h3 { 
	position: relative;
    top: unset;
    left: unset;
	padding-bottom:5px;
	cursor:default;
	white-space:initial;
}
.sub-menu--first-level--columnCount2 ul.sub-menu.first-level ul.sub-menu.second-level h3::before { display:none;}

.multiactivos-menu ul.sub-menu.first-level, 
.alternativas-menu ul.sub-menu.first-level { width:100%;}


.sub-menu--first-level--columnCount3 ul.sub-menu.first-level {
	column-count: 3;
}
.sub-menu--first-level--columnCount3 ul.sub-menu.first-level > li > a { display:none;}

.sub-menu--first-level--columnCount3 ul.sub-menu.first-level ul.sub-menu.second-level { 
	display:block;
	break-inside: avoid;
}
.sub-menu--first-level--columnCount3 ul.sub-menu.first-level ul.sub-menu.second-level h3 { 
	position: relative;
    top: unset;
    left: unset;
	padding-bottom:5px;
	cursor:default;
	white-space:initial;
}
.sub-menu--first-level--columnCount3 ul.sub-menu.first-level ul.sub-menu.second-level h3::before { display:none;}

@media (max-width: 992px) {
	.second-level h3 {

		top: -10px;

	}
	.donde-menu .second-level.visible {
		column-count: initial;
		height: calc(100vh - 390px);
		overflow: auto;
	}

	.fondos-menu .first-level,
	.multiactivos-menu .first-level,
	.alternativas-menu .first-level,
	.fondos-menu .first-level.visible,
	.multiactivos-menu .first-level.visible,
	.alternativas-menu .first-level.visible {	
		column-count: initial !important;
		height: calc(100vh - 390px);
		overflow: auto;

	}

	.opened .search {
		display: none;
	}
	.opened .sticky-options {
		bottom: 20px;
		display: block !important;
		left: 0;
		padding: 30px;
		position: fixed;
		width: 100%;
		z-index: 999;
	}
	.sticky-options .wrapper-butttons {
		display: flex;
		justify-content: space-between;
		padding-top: 25px;
	}
	.sticky-options .wrapper-butttons .btn{ 
		display: block;
		margin: 10x 5px;
		padding: 10px;
		width: 48% !important;
	}


	.sub-menu.visible .menu-item,
	.sub-menu li.menu-item {
		margin-bottom: 10px;
	}
	.mobile-wrapper {
		display: flex;
		gap: 0px;
		flex-direction: row-reverse;
		padding: 0 10px;
		top:10px;
		position: relative;
	}
	.search-btn {
		border: 0;
		background: none;
	}
	.search-btn .icon-search {
		background-color: transparent;
		background-repeat: no-repeat;
		background-size: 100%;
		display: inline-block;
		height: 20px;
		margin-right: 9px;
		position: relative;
		width: 20px;
		/*background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z' stroke='%23B82C2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 21L16.65 16.65' stroke='%23B82C2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");*/
		background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z' stroke='%2327477E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 21L16.65 16.65' stroke='%2327477E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	}

	.search-btn span {
		display: none;
	}
	.hamburguer {
		position:relative;
		width:15px;
		height:15px;
		cursor:pointer;
		border: 0;
		background: none;
		z-index: 9;
	}
	.hamburguer span {
		padding:0px;
		display:block;
		background:#212121;
		width:100%;
		height:1px;
		position:absolute;
		transition:all .4s linear;
		opacity:1;
        left: 0;
        top: 10px;
	}
	/**.e--ua-webkit.e--ua-chrome .hamburguer span { left: -6px; top: 3px;}
	.e--ua-webkit .hamburguer span { left: -4px; top: 3px;}**/
	.hamburguer.open span {
		opacity:0;
		background: #fff;
        left: 0;
        top: 10px;
	}
	.hamburguer.open span,
	.hamburguer.open:after,
	.hamburguer.open:before {
		background:#fff;
	}
	.hamburguer:after {
		content:'';
		position:absolute;
		left:0;
		top:5px;
		background:#212121;
		width:100%;
		height:1px; 
		display:block;
		transition:all .4s linear;
	}
	.hamburguer:before {
		content:'';
		position:absolute;
		left:0;
		top:15px;
		background:#212121;
		width:100%;
		height:1px; 
		display:block;
		transition:all .4s linear; 
	}
	.hamburguer.open:after {
		transform:rotate(45deg);
		opacity:1;
		top:10px;
		left:0px;
	}
	.hamburguer.open:before {
		transform:rotate(-45deg);
			opacity:1;
		top:10px;
		left:0px;
	}
	.nav-wrapper {
		right: -100vw;
		position: absolute;
		position:fixed;
		/* transition: all .4s linear; */
		transition: none;
		height: 100vh;
		background: #27477e;
	}
	.nav-wrapper.open {
		background: #27477e;
		position: absolute;
		left: 0;
		width: 100vw;
		height: 100vh;
		top: 0;
		display: flex;
		align-items: flex-start;
	}
	.nav-container {
		display: block;
		width: 100%;
		padding: 5px 0;
		left: 0;
		position: relative;
	}
	.nav-container:after {
		content: '';
		background-image: url(http://tressisgestion.tressis.com/wp-content/uploads/2023/10/menu-arrow-despliega.png), url(https://www.tressisgestion.com/wp-content/uploads/2023/10/menu-arrow-despliega.png);
		background-repeat: no-repeat;
		border: 0 solid #fff;
		content: "";
		display: inline-block;
		height: 20px;
		right: 10px;
		margin-top: 0;
		position: absolute;
		top: 2px;
		width: 20px;
	}
	
	.nav-container.disabled,
	.nav-container.visible {
		left: -100vw;
	}
	.nav-container.visible {
		position: absolute;
		top: 90px;
		top: 120px;
	}
	.nav-container.visible .btn-back::before {
		content: '';
		background-image: url(http://tressisgestion.tressis.com/wp-content/uploads/2023/10/menu-arrow-despliega.png), url(https://www.tressisgestion.com/wp-content/uploads/2023/10/menu-arrow-despliega.png);
		background-repeat: no-repeat;
		border: 0 solid #fff;
		content: "";
		display: inline-block;
		height: 20px;
		right: 0px;
		margin-top: 0;
		position: relative;
		top: 8px;
		width: 20px;
		transform: rotate(180deg);
	}
	.nav-container.visible .btn-back {
		display: block;
		position: relative;
		left: calc(100vw + 20px);
		display: block;
		color: #fff;
		z-index: 9;
		background: none;
		border: 0;
		padding: 0;
		opacity: 1;
		pointer-events: all;
		height: 0;
	}

	.nav-container.visible .wrapper-menu {
		position: relative;
	}

	.nav-container .visible .sub-menu.first-level {
		width: 100%;
	}
	.wrapper-menu-nav.visible {
		top: 0;
		padding:0;
	}
	.nav-holder {
		flex-wrap: wrap;
	}
	.first-level-trigger.active::after {
		display: none;
	}

	.mega-nav {
		width: 100%;
		padding-top: 90px;
		padding-top: 120px;
		margin: 0 15px;
	}

    .nav.primary.hidden {
        display: none;
    }
	.nav.primary a {
		color: #fff;
		font-size: 1.6rem !important;
		display: block;
	}
	
	.wrapper-menu-nav.visible {
		left: 100vw;
		padding: 50px 20px;
	}
	.mega-nav .visible .images-holder {
		display: none;
	}

	/*.current-menu-ancestor .wrapper-menu-nav.visible {
        position: fixed;
        top: 90px;
        z-index: 10;
        left: 20px;
        width: calc(100vw - 20px);
    }*/

}