/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.10
*/

/** GENERAL **/
* {transition: all 0.3s ease-out allow-discrete !important;}
#masthead {padding-left: 20px; padding-right: 20px;}
p:last-child {margin-bottom: 0px;}

textarea {padding: 15px!important;}
ol {margin: 0; margin-left: 17px;}

.main-navigation, .main-navigation ul ul {background-color: transparent!important;}
.main-navigation#sticky-navigation,
#mobile-header.sticky-nav-scrolling-up .inside-navigation {background-color: var(--contrast-2)!important;}
.site-logo {z-index: 9999;}

#pruebanivel .elementor-field-type-step:first-child label {display: none;}
#pruebanivel .elementor-field-type-step:last-child .elementor-field-type-radio > label {font-weight: 600!important; margin-bottom: 10px!important; margin-top: 20px!important; line-height: 1.2; display: flex;}
#pruebanivel .elementor-field-type-step:last-child .elementor-field-type-radio > label > span {display: inline-flex; width: 25px!important;}
#pruebanivel .elementor-field-type-step:last-child .elementor-field-type-radio .elementor-field-subgroup {gap: 5px!important;}
#pruebanivel .elementor-field-group-field_95888a1 {margin-top: 30px!important;}
#pruebanivel .e-form__buttons {margin-top: 20px!important;}
#pruebanivel .e-form__buttons .elementor-field-type-previous,
#pruebanivel .e-form__buttons .elementor-field-type-submit {margin: 0px!important;}
#pruebanivel .e-form__buttons .elementor-field-type-previous {}
#pruebanivel .e-form__buttons .elementor-field-type-submit {}

.icos-agenda i {margin-top: 3px;}
/**/

/** Desplegable LSSICE primera capa **/
.desp-toggle-button {cursor: pointer; padding:0!important; border: none; border-width: 0px!important; background-color: transparent!important; color: var(--e-global-color-114428e)!important; text-transform: none!important; letter-spacing: normal!important; font-size: 12px!important; padding: 0; font-weight: 500!important; opacity: .75; display: flex; gap: 3px;}
.desp-toggle-button .mega-indicator::after {content: ""; font-family: dashicons; font-weight: 400; height: 100%; align-content: center;}
.desp-toggle-content {display: none; margin-top: 5px; margin-bottom: 10px; font-size: 11px; line-height: 1.3!important; color: var(--e-global-color-text); opacity: .75;} 
.desp-toggle-content > a {color: var(--e-global-color-text)!important; text-decoration: underline!important;}
.desp-toggle-content.active,
.desp-toggle-content.in-checkout {display: block;}
.elementor-field-type-html:has(.desp-toggle-container) {margin-bottom: 0px!important;}
.elementor-field-type-acceptance {margin-bottom: 3px!important; margin-top: 1px!important;}
.elementor-field-option {display: flex; align-items: flex-start; gap: 5px;}
.elementor-field-option label {line-height: 1.2!important;}
.elementor-field-type-submit {margin-top: 15px!important;}
/**/

/** HEADER **/
#ample-mega-menu {max-width: calc(1920px-40px);}

#mega-menu-primary>li {padding: 0px 15px!important;}
#mega-menu-primary>li>a {background: transparent; padding: 0px!important;}
#mega-menu-primary>li:hover>a,
#mega-menu-primary>li.mega-current-menu-item>a {text-underline-offset: 15px;}

a.mega-menu-link .mega-indicator::after {position: absolute; top: 1px;}
a.mega-menu-link:has(>.mega-indicator) {margin-right: 5px!important;}

#mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu,
.main-navigation#sticky-navigation li.mega-menu-item > ul.mega-sub-menu {background-color: #fff!important;}
#mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu {gap: 10px;}
#mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item {background: linear-gradient(90deg, rgb(227 227 227 / 50%) 0%, rgb(177 177 177 / 10%) 30%, rgb(205 205 205 / 10%) 100%) !important; border-radius: .6em!important; align-items: center; line-height: 1.2em!important; display: flex!important; gap: 5px; text-wrap: balance; cursor: pointer;}
#mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item:hover {background: linear-gradient(90deg, rgb(227 227 227 / 40%) 0%, rgb(177 177 177 / 20%) 30%, rgb(205 205 205 / 20%) 100%) !important;}
#mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item:hover > a {font-weight: 500!important;}

.mega-menu-ico > a::before {content: ""; display: inline-block; width: 30px; height: 30px; background-size: contain; background-repeat: no-repeat; margin-right: 3px; vertical-align: middle;}

.mega-menu-ico.mega-menu-microsoft > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-microsoft-365.webp);}
.mega-menu-ico.mega-menu-powerautomate > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-power-automate.webp);}
.mega-menu-ico.mega-menu-excel > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-excel.webp);}
.mega-menu-ico.mega-menu-powerbi > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-power-bi.webp);}
.mega-menu-ico.mega-menu-indesign > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-adobe-indesign-cc.webp);}
.mega-menu-ico.mega-menu-illustrator > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-adobe-illustrator.webp);}
.mega-menu-ico.mega-menu-photoshop > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-adobe-photoshop.webp);}
.mega-menu-ico.mega-menu-autocad > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-autocad.webp);}
.mega-menu-ico.mega-menu-autodesk > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-autodesk-inventor.webp);}
.mega-menu-ico.mega-menu-powerpoint > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-microsoft-powerpoint.webp);}
.mega-menu-ico.mega-menu-word > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/09/cursos-microsoft-word.webp);}
.mega-menu-ico.mega-menu-copilot > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/10/cursos-copilot.webp);}
.mega-menu-ico.mega-menu-chatgpt > a::before {background-image: url(https://learning-house.com/wp-content/uploads/2025/10/cursos-chatgpt.webp);}

.mega-menu-todos {justify-content: flex-end!important; padding-top: 0px!important; padding-bottom: 0px!important;}
.mega-menu-todos > a {margin-bottom: 0px!important; font-size: 12px!important; text-transform: uppercase!important; letter-spacing: 0.5px; font-weight: 500!important; float: right!important;}

@media (max-width: 1024px) {
	.navigation-branding img, .site-logo.mobile-header-logo {height: auto!important;}
	.main-navigation .site-logo.navigation-logo img, .mobile-header-navigation .site-logo.mobile-header-logo img, .navigation-search input[type="search"] {width: auto; height: 70px;}
	
	.menu-toggle,
	.mega-close {display: none!important;}
	
	#mega-menu-wrap-primary > .mega-menu-toggle {margin-right: 15px;}
	
	#mobile-header #mega-menu-primary {padding: 10px;}
	
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {width: 100%; border-bottom: 1px solid #e5e5e5;}
	
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link  {border-bottom: 1px solid;}
	
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu {margin-top: 3px;}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu,
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-grid>ul.mega-sub-menu>li.mega-menu-row>ul.mega-sub-menu>.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {padding: 0px;}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {margin-top: 10px; margin-bottom: 5px; font-size: 12px!important;}
	.mega-menu-todos>a {float: left!important; margin-top: 20px!important; margin-bottom: 20px!important;}
	.mega-menu-ico > a::before {width: 15px; height: 15px;}
	.mega-menu-ico.mega-menu-microsoft>a::before {margin: 0px;}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link {padding: 7px 9px!important;}
	#mega-menu-wrap-primery #mega-menu-primery a.mega-menu-link {line-height: 1;}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {gap: 5px;}
	
	
}