/*
 Theme Name:   The7 Child
 Theme URI:    https://the7.io/
 Description:  Tema hijo de The7 (dt-the7) para personalizaciones
 Author:       Relevo Generacional
 Author URI:   https://relevogeneracional.com/
 Template:     dt-the7
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Tags:         the7, child theme
 Text Domain:  dt-the7-child
*/

/* ==========================================================================
   Estilos personalizados del tema hijo
   ========================================================================== */

.top-bar.top-bar-empty,
.top-bar.hide-top-bar {
	position: relative !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.masthead.fixed-masthead.sticky-on,
body.admin-bar .masthead.fixed-masthead.sticky-on,
body .masthead.fixed-masthead.sticky-on {
	top: 0 !important;
}

.top-bar {
	overflow: hidden;
}

.top-bar.top-bar-scroll-hidden {
    display: none !important;
}

.top-bar .mini-widgets {
	position: relative;
	z-index: 1;
	font-size: 13px;
	color: #ffffff;
}

.top-bar .mini-widgets.left-widgets {
	font-weight: 600;
}

.top-bar .mini-widgets.right-widgets {
	font-size: 12px;
}

.top-bar .mini-widgets a {
	color: #ffffff !important;
	text-decoration: underline;
}

.top-bar .mini-widgets a:hover {
	opacity: 0.8;
}

.top-bar-separator {
	margin: 0 10px;
	opacity: 0.6;
}

.top-bar a {
    text-decoration: none !important;
}

@media (max-width: 768px) {
	.top-bar {
		flex-direction: column !important;
		gap: 4px;
		padding: 5px 10px;
	}
	.top-bar .mini-widgets {
		font-size: 11px;
		justify-content: center !important;
	}
	.top-bar-separator {
		display: none;
	}
}

.top-bar-bg,
#footer.solid-bg,
#bottom-bar.solid-bg {
    background: #374998 !important;
}

.masthead:not(.side-header):not(.side-header-menu-icon) .top-bar {
    max-width: none !important;
}

.masthead .header-bar,
.masthead:not(.side-header):not(.side-header-menu-icon) .header-bar {
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.header-bar .branding {
    flex: 0 0 auto;
    margin-right: 20px;
}

.header-bar .main-nav-wrap,
.header-bar nav {
    margin-left: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.header-bar > .mini-widgets {
    flex: 0 0 auto;
    margin-left: 0;
}

.main-nav > li:not(.act):not(.wpml-ls-item) > a:hover,
.main-nav > li.dt-hovered:not(.act):not(.wpml-ls-item) > a {
    color: #374998 !important;
}

.main-nav > li > a .menu-text {
    text-transform: none !important;
    white-space: nowrap !important;
}

.main-nav > li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

a.trx_addons_scroll_to_top.trx_addons_icon-up.inited.show {
    display: none !important;
}

.wf-container-bottom {
    text-align: center !important;
    color: #ffffff !important;
}

.l-to-r-line > li > a i.underline {
    bottom: -6px !important;
    background: #374998 !important;
    height: 2px !important;
}

.dt-priority-more-item i.underline {
    display: none !important;
}

.relevo-negrita {
    font-weight: bold !important;
}

.masthead:not(.sub-downwards) .main-nav .sub-nav > li:not(.act):not(.dt-mega-parent):not(.no-link):not(.wpml-ls-item):hover > a,
#bottom-bar .sub-nav li:not(.act):not(.dt-mega-parent):not(.no-link):not(.wpml-ls-item):hover > a,
.masthead:not(.sub-downwards) .main-nav .sub-nav li.dt-mega-parent:not(.act):not(.no-link):not(.wpml-ls-item) > a:hover,
.sub-downwards .sub-nav li:not(.act):not(.wpml-ls-item):not(.dt-mega-parent) > a:hover {
    color: #374998 !important;
}

.top-header .sub-nav.hover-style-bg > li:not(.dt-mega-parent):not(.act):hover > a,
.top-header .sub-nav.gradient-hover.hover-style-bg > li:not(.dt-mega-parent):not(.act):hover > a {
    background: none !important;
}

.masthead:not(.sub-downwards) .main-nav .sub-nav > li:not(.act):not(.dt-mega-parent):not(.no-link):not(.wpml-ls-item):hover > a .menu-text {
    color: #374998 !important;
    background: none !important;
}

.inline-header.center .main-nav {
    justify-content: flex-end !important;
    margin-right: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.mec-event-footer .mec-booking-button,
.dt-form button,
#page .widget .dt-form .dt-btn,
.widget .dt-form .dt-btn,
input[type="reset"],
.wpcf7-submit,
.nsu-submit,
.dt-wc-btn,
input#place_order,
.woocommerce-Reviews .submit:not(.box-button),
input.button,
input[name="save_address"],
.wc-layout-list .woo-buttons a,
.post-password-form input[type="submit"],
.mc4wp-form input[type="submit"],
div.mc4wp-form button[type="submit"],
.tml-submit-wrap input[type="submit"],
.wpcf7-form input[type="submit"],
input[type="submit"]:not([name="update_cart"]),
.woocommerce-widget-layered-nav-dropdown__submit,
.give-btn.give-btn-reveal,
.give-submit.give-btn,
.wc-block-filter-submit-button {
    background: #374998 !important;
}

.wpb_column.vc_column_container.vc_col-sm-12 .vc_custom_1633164716490 {
    margin-top: 0px !important;
}

#fancy-header {
    margin-top: 36px !important;
}

.relevo-colaboradores .upb_row_bg {
    box-shadow:
            inset 0 8px 8px -6px rgba(55, 73, 152, 0.3),
            inset 0 -8px 8px -6px rgba(55, 73, 152, 0.3);
}

.relevo-colaboradores h5 {
    font-weight: 400 !important;
}

.accent-gradient .description-under-image .post .entry-title a:hover,
.accent-gradient .post .blog-content .entry-title a:hover,
.accent-gradient .project-list-content .entry-title a:hover {
    background: none !important;
    color: #374998 !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.registro-acceso-menu a {
    background: #384997 !important;
    padding: 12px !important;
    border-radius: 4px !important;
    color: white !important;
}

.registro-acceso-menu a:hover .menu-text {
    color: white !important;
}

.main-nav > li.registro-acceso-menu:not(.wpml-ls-item) > a .menu-text {
    color: white !important;
}

.sticky-on .main-nav > li.registro-acceso-menu:not(.wpml-ls-item) > a .menu-text, 
#phantom .main-nav > li.registro-acceso-menu:not(.wpml-ls-item) > a .menu-text {
    color: white !important;
}

#fancy-header .fancy-title,
#fancy-header ol.breadcrumbs.text-small.start-animation-done.start-animation {
    color: #42464e !important;
}

.main-nav .sub-nav > li.act:not(.dt-mega-parent):not(.wpml-ls-item):not(.wpml-ls-item) > a, 
.main-nav .sub-nav > li.act:not(.dt-mega-parent):not(.wpml-ls-item) > a i[class^="fa"], 
.main-nav .sub-nav > li.act:not(.dt-mega-parent):not(.wpml-ls-item) > a i[class^="dt-icon"], 
.main-nav .sub-nav > li.dt-mega-parent.current-menu-item:not(.wpml-ls-item) > a {
    color: #374998 !important;
    background: none !important;
}
.main-nav .sub-nav > li.act:not(.dt-mega-parent):not(.wpml-ls-item) > a .menu-text {
    color: #374998 !important;
    background: none !important;
}

.top-header .sub-nav.hover-style-bg > li:not(.dt-mega-parent).act > a, .top-header .sub-nav.gradient-hover.hover-style-bg > li:not(.dt-mega-parent).act > a {
    background: none !important;
    color: #374998 !important;
}

.single-post #footer > .wf-wrap {
    display: none !important;
}

.single-post .post-meta.wf-mobile-collapsed {
    display: none !important;
}

.single-post .author-info.entry-author {
    display: none !important;
}

.fancy-header-child {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fancy-header-child .fancy-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fancy-header-child .wf-wrap {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 40px 20px;
}

.fancy-header-child .fancy-title {
    color: #ffffff !important;
    font-size: 2em;
    font-weight: 700;
    margin: 0;
}

.fancy-header-child .fancy-title span {
    color: #42464e !important;
}

.fancy-header-child .breadcrumbs {
    margin-top: 10px;
}

.fancy-header-child .breadcrumbs,
.fancy-header-child .breadcrumbs a,
.fancy-header-child .breadcrumbs span {
    color: rgba(255, 255, 255, 0.85) !important;
}

.fancy-header-child .breadcrumbs a:hover {
    color: #ffffff !important;
}

#footer .wf-container-footer {
    display: none !important;
}

@media (max-width: 768px) {
    .fancy-header-child {
        min-height: 140px;
    }
    .fancy-header-child .fancy-title {
        font-size: 1.4em;
    }
    .fancy-header-child .wf-wrap {
        padding: 25px 15px;
    }
}

@media screen and (min-width: 992px) {
    .sidebar-right .wf-container-main {
        grid-template-columns: none !important;
    }
}

/** MOVIL **/
.accent-gradient.mobile-hamburger-close-bg-enable .dt-close-mobile-menu-icon:before,
.accent-gradient.mobile-hamburger-close-bg-hover-enable .dt-close-mobile-menu-icon:after {
    background: #374998 !important;
}
.mobile-main-nav li.act > a .menu-text,
.mobile-main-nav li.act > a .subtitle-text,
.dt-mobile-header .mobile-main-nav .sub-nav > li.act > a .subtitle-text,
.dt-mobile-header .mobile-main-nav .sub-nav > li.act > a .menu-text {
    color: #374998 !important;
    background: none !important;
}
@media screen and (max-width: 992px) {
    .masthead:not(.side-header):not(.side-header-v-stroke):not(.side-header-menu-icon) .header-bar, .ph-wrap {
        display: none !important;
    }
    li.registro-acceso-menu.menu-item.menu-item-type-custom.menu-item-object-custom {
        margin-bottom: 8px;
    }
    .mobile-main-nav li.registro-acceso-menu > a .menu-text {
        color: white !important;
    }
    .top-bar.full-width-line.top-bar-line-hide.top-bar-empty.top-bar-scroll-hidden {
        display: none !important;
    }
    .show-mobile-logo .mobile-branding img,
    .show-mobile-logo.show-device-logo .mobile-branding img {
        display: block !important;
    }
    .mobile-header-bar .mobile-branding .same-logo .preload-me {
        display: none !important;
    }
    .mobile-branding img.mobile-logo, .mobile-branding img.mobile-desktop-logo, .show-device-logo .branding img, .show-device-logo .mobile-branding img, .sticky-mobile-logo-first-switch, .sticky-mobile-on .mobile-branding * {
        display: none;
    }
    .sticky-mobile-logo-second-switch {
        display: block !important;
    }
}

.wp-singular .has-large-font-size {
    line-height: 40px;
}

/** PAGINA HOME Y JORNADAS **/
.jornada-item .contenedor-imagen {
    position: relative;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.jornada-item .contenedor-imagen img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.jornada-item {
    box-shadow: 0 0 5px 0px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 5px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 5px 0px rgba(0,0,0,0.4);
    border-radius: 5px;
    padding: 12px;
    margin: 20px 0;
}

.jornada-item .material-icons {
    font-size: 22px;
    margin-right: 3px;
}

.jornada-item-imagen br {
    display: none;
}

.jornada-item-imagen img {
    width: 100%;
    margin: 0;
    padding: 0;
}

.jornada-item-titulo {
    font-weight: bold;
    text-align: center;
}

.jornada-item-fecha,
.jornada-item-hora {
    display: flex;
    margin: 5px 0;
}

.jornada-badge {
    display: inline-block;
    padding: 7px 13px;
    font-size: inherit;
    font-weight: normal;
    line-height: 1;
    color: gray;
    background: #f1f1f1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 15px;
    margin: 2px 0;
}

/** PAGINA SIMPLE **/
.jornada-simple-titulo {
    background: #374998;
    color: #FFFFFF;
    font-weight: 400;
    padding: 6px 10px;
    margin-top: 20px;
    display: flex;
}

.jornada-simple-titulo .material-icons {
    margin-right: 8px;
}

.jornada-simple-titulo br {
    display: none;
}

.jornada-simple-valor {
    background: #efefef;
    color: #8c8c8c;
    font-weight: 400;
    padding: 8px 12px;
}

.oculto {
    display: none;
}

.nav-links a:hover {
    color: #374998 !important;  
}
.accent-gradient #page .post-navigation .nav-links a .post-title:hover,
.accent-gradient #page .items-grid .post-content a:hover, 
.accent-gradient #page .post-content a:hover {
    background: none !important;
    color: #374998 !important;
}

/** PAGINADO **/
.paginator {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.paginator .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 4px;
    text-decoration: none;
    color: #374998;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.paginator .page-numbers.act,
.paginator .page-numbers:hover {
    background: #374998;
    color: #fff;
    border-color: #374998;
}

.paginator .page-numbers.dots {
    border: none;
    cursor: default;
}

.paginator .page-numbers.dots:hover {
    background: none;
    color: #374998;
}

.paginator .nav-prev,
.paginator .nav-next {
    border: none;
}

.paginator .nav-prev.disabled,
.paginator .nav-next.disabled {
    opacity: 0.3;
}

/** FORMULARIOS **/
.fondo-formulario input[type="text"], 
.fondo-formulario input[type="number"], 
.fondo-formulario input[type="email"], 
.fondo-formulario input[type="tel"], 
.fondo-formulario input[type="search"], 
.fondo-formulario input[type="password"], 
.fondo-formulario textarea, 
.fondo-formulario select {
    color: #9da0a3 !important;
    border-color: #f7f8f9 !important;
    background-color: #f7f8f9 !important;
    -webkit-border-radius: 3px !important;
    -ms-border-radius: 3px !important;
    border-radius: 3px !important;
    font-size: 1em !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.5em !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    padding: 1em 1.4em !important;
    border: 1px solid #ddd !important;
    -webkit-transition: all 0.3s ease !important;
    -ms-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    outline: none !important;
    resize: none !important;
    -webkit-box-sizing: border-box !important;
    -ms-box-sizing: border-box !important;
    box-sizing: border-box !important;
    -webkit-transition: all 0.3s ease !important;
    -ms-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.fondo-formulario .select_container {
    color: #9da0a3 !important;
    border-color: #f7f8f9 !important;
    background-color: #f7f8f9 !important;
    padding: 1em 1.4em !important;
    border: 1px solid #ddd !important;
    width: 100% !important;
    position: relative !important;
}

.fondo-formulario .select_container:hover {
    color: #42464e !important;
    border-color: #374998 !important;
    background-color: #f7f8f9 !important;
}

.fondo-formulario button, 
.fondo-formulario input, 
.fondo-formulario optgroup, 
.fondo-formulario select, 
.fondo-formulario textarea {
    font-family: inherit !important;
    font-size: 1em !important;
    margin: 0 !important;
    vertical-align: baseline !important;
}

.fondo-formulario textarea {
    overflow: auto !important;
    vertical-align: top !important;
    min-height: 10em !important;
}

.fondo-formulario .select_container select {
    background: none !important;
    border-color: transparent !important;
    width: 100% !important;
    padding-right: 2em !important;
    -webkit-box-sizing: border-box !important;
    -ms-box-sizing: border-box !important;
    box-sizing: border-box !important;
    transition: all ease .3s !important;
}

.fondo-formulario select {
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.fondo-formulario button {
    background: #374998;
    padding: 14px 40px;
    border-radius: 5px;
    color: white;
}

.fondo-formulario button:disabled {
    background: gray;
}

/* PRIORITY MENU */
.header-bar .main-nav,
#phantom .main-nav {
    flex-wrap: nowrap !important;
    overflow: visible;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.main-nav.dt-measuring {
    overflow: hidden !important;
}

#phantom .ph-wrap {
    flex-wrap: nowrap !important;
}

#phantom .ph-wrap .menu-box {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

#phantom .ph-wrap .menu-box .main-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
}

#phantom .widget-box {
    flex: 0 0 auto !important;
}

.dt-priority-more-item {
    position: relative;
    white-space: nowrap;
}

.dt-priority-more-item > a {
    display: flex !important;
    align-items: center;
    padding: 0 15px;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none !important;
}

.dt-priority-more-item > a .menu-text {
    font-weight: 700;
}

.dt-priority-sub {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 9999 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 10px 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dt-priority-more-item:hover > .dt-priority-sub {
    visibility: visible !important;
    opacity: 1 !important;
}

.dt-priority-sub > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.dt-priority-sub > li > a {
    display: flex !important;
    align-items: center;
    padding: 8px 20px !important;
    white-space: nowrap;
    text-decoration: none !important;
    color: #333 !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.dt-priority-sub > li > a:hover {
    background: #f5f5f5 !important;
    color: #374998 !important;
}

.dt-priority-sub > li > a .menu-text {
    color: inherit !important;
    text-transform: none !important;
}

.dt-priority-sub > li.act > a,
.dt-priority-sub > li.act > a .menu-text {
    color: #374998 !important;
}

.dt-priority-sub > li > .sub-nav,
.dt-priority-sub > li > .dt-mega-menu-wrap {
    display: none !important;
}

@media screen and (max-width: 992px) {
    .dt-priority-more-item {
        display: none !important;
    }
}

.mini-search.show-on-desktop.near-logo-first-switch.near-logo-second-switch.popup-search.custom-icon.first.last {
    margin: 0 70px 0 20px;
}
li.menu-item.menu-item-has-children.dt-priority-more-item li.registro-acceso-menu.menu-item.menu-item-type-custom.menu-item-object-custom {
    width: 80% !important;
    margin: 6px auto;
}
li.menu-item.menu-item-has-children.dt-priority-more-item li.registro-acceso-menu.menu-item.menu-item-type-custom.menu-item-object-custom a {
    color: white !important;
}