/*
Theme Name:   Salient Child
Theme URI:    https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Description:  Tema hijo de Salient (18.4.2) con las personalizaciones de licired que antes estaban editadas directamente en el tema padre.
Author:       licired
Template:     salient
Version:      2.1.1
Text Domain:  salient-child
*/

/* =========================================================================
   IMPORTANTE - ORDEN DE CARGA (Salient 18.4.2)
   Salient encola este archivo como 'salient-child-style' al final de sus
   hojas de estilo (después del CSS dinámico). Las reglas de abajo repiten
   SOLO las declaraciones que se cambiaron en el style.css de Salient 10.0.1.
   ========================================================================= */


/* -------------------------------------------------------------------------
   [#1/#2] @font-face Geomanist
   Origen: style.css del padre (tras "footer, header, hgroup, menu, nav, section").
   Corregido: rutas a /fonts del hijo, nombres en minúsculas
   (geomanist-Light / geomanist-Regular fallaban en Linux) y la negrita apunta
   a geomanist-bold-webfont.* (geomanistbold-webfont.eot/.ttf/.svg no existían).
   Se añade woff2 y se omiten .eot/.svg (solo IE8 / iOS 4).
   Los pesos se mantienen: light 300, regular 400, medium 600, bold 700.
   ------------------------------------------------------------------------- */
@font-face {
	font-family: 'geomanist';
	src: url('fonts/geomanist-light-webfont.woff2') format('woff2'),
	     url('fonts/geomanist-light-webfont.woff') format('woff'),
	     url('fonts/geomanist-light-webfont.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'geomanist';
	src: url('fonts/geomanist-regular-webfont.woff2') format('woff2'),
	     url('fonts/geomanist-regular-webfont.woff') format('woff'),
	     url('fonts/geomanist-regular-webfont.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'geomanist';
	src: url('fonts/geomanist-medium-webfont.woff2') format('woff2'),
	     url('fonts/geomanist-medium-webfont.woff') format('woff'),
	     url('fonts/geomanist-medium-webfont.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'geomanist';
	src: url('fonts/geomanist-bold-webfont.woff2') format('woff2'),
	     url('fonts/geomanist-bold-webfont.woff') format('woff'),
	     url('fonts/geomanist-bold-webfont.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

/* -------------------------------------------------------------------------
   [#1] Sustitución de 'Open Sans' por Geomanist y ajustes del style.css padre
   Cada bloque indica el selector original; solo se redeclara lo que cambió.
   ------------------------------------------------------------------------- */
/* [#1] Reset inicial: font-family inherit -> geomanist.
   Se excluye 'code' porque más abajo en el style.css padre la regla
   code{font:12px "Andale Mono"...} lo sobrescribía; al cargar este archivo
   después del padre, incluirlo cambiaría su tipografía. */
html, body, div, span, applet, object, iframe, table, caption, tbody,
tfoot, thead, tr, th, td, del, dfn, em, font, img,
ins, kbd, q, s, samp, small, strike, strong, sub, sup,
tt, var, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, dl, dt, dd,
ol, ul, li, fieldset, form, label, legend {
	font-family: 'geomanist', sans-serif;
}

body {
	font-family: 'geomanist',sans-serif;
}

body {
	font-family: 'geomanist';
}

body .ui-widget {
	font-family: 'geomanist';
}

dt {
	font-family: 'geomanist';
}

/* [#1] Tamaños de h1 y h2 (antes 54/62px y 34/44px) */
h1 {
	font-size: 40px;
	line-height: 45px;
}

h2 {
	font-size: 30px;
	line-height: 35px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'geomanist';
}

.bold,
strong,
b {
	font-family: 'geomanist';
}

.uppercase {
	font-family: 'geomanist';
}

body h1.light,
body h2.light,
body h3.light,
body h4.light,
body h5.light,
body h6.light,
p.light {
	font-family: 'geomanist';
}

blockquote {
	font-family: 'geomanist';
}

body #error-404 h1 {
	font-family: 'geomanist';
}

body #error-404 h2,
.woocommerce-page .woocommerce p.cart-empty {
	font-family: 'geomanist';
}

header#top #logo {
	font-family: 'geomanist';
}

body:not([data-header-format="left-header"]) header#top nav >ul >li.megamenu >ul >li >a,
body:not([data-header-format="left-header"]) header#top nav >ul >li.megamenu >ul >li >ul >li.has-ul >a {
	font-family: 'geomanist';
}

/* [#1] Menú secundario: font-size 11px -> 16px. (En el original se quitó también el
   !important de 'padding:10px'; no tiene efecto visible: en skin material lo sigue
   anulando 'padding:0!important' de skin-material.css y en el resto vale 10px igual.) */
body #header-secondary-outer nav >ul >li >a {
	font-size: 16px;
}

#search-outer #search input[type=text] {
	font-family: 'geomanist';
}

.row .col.section-title h1,
.row .col.section-title h2 {
	font-family: 'geomanist';
}

.row .col.section-title span {
	font-family: 'geomanist';
}

.row .col.section-title p {
	font-family: 'geomanist';
}

body .vc_text_separator div {
	font-family: 'geomanist';
}

.nectar-button {
	font-family: 'geomanist',sans-serif;
}

.nectar-3d-transparent-button {
	font-family: 'geomanist';
}

.text_on_hover.product .add_to_cart_button,
.text_on_hover.product a.added_to_cart {
	font-family: 'geomanist';
}

/* [#1] Enlaces del menú con clase .menu_s en blanco (regla nueva del original) */
.menu_s a,
.menu_s a:hover {
	color: #fff;
}

/* [#1] Iconos móviles (búsqueda, usuario, carrito) con cabecera transparente permanente: blanco -> negro */
#header-outer[data-permanent-transparent="1"].transparent:not(.dark-slide) header#top #mobile-cart-link i,
#header-outer[data-permanent-transparent="1"].transparent:not(.dark-slide) .mobile-search .icon-salient-search,
#header-outer[data-permanent-transparent="1"].transparent:not(.dark-slide) .mobile-user-account .icon-salient-m-user {
	color: #000;
}

#header-outer[data-permanent-transparent="1"].transparent:not(.dark-slide) header#top #mobile-cart-link i {
	color: #000 !important;
}

.carousel-heading h2 {
	font-family: 'geomanist';
}

body .carousel-wrap[data-full-width="true"] .carousel-heading h2 {
	font-family: 'geomanist';
}

.blog-recent[data-style="minimal"] .col >span {
	font-family: 'geomanist';
}

.nectar-recent-posts-slider .container .strong {
	font-family: 'geomanist';
}

#page-header-bg h1,
.nectar-box-roll .overlaid-content h1 {
	font-family: 'geomanist';
}

#page-header-bg .subheader,
.nectar-box-roll .overlaid-content .subheader {
	font-family: 'geomanist';
}

.nectar-social .nectar-love .nectar-love-count {
	font-family: 'geomanist' !important;
}

.single-portfolio .facebook-share span,
.single-portfolio .twitter-share span,
.single-portfolio .pinterest-share span,
.single-portfolio .google-plus-share span,
.single-portfolio .linkedin-share span,
.single-post .col.section-title .facebook-share span,
.single-post .col.section-title .twitter-share span,
.single-post .col.section-title .pinterest-share span,
.single-post .col.section-title .google-plus-share span,
.single-post .col.section-title .linkedin-share span,
.pinterest-share span,
.facebook-share span,
.twitter-share span,
.google-plus-share span,
.linkedin-share span {
	font-family: 'geomanist';
}

.nectar-fancy-box .link-text {
	font-family: 'geomanist';
}

body .gform_wrapper .top_label .gfield_label {
	font-family: 'geomanist';
}

.search .row .col.section-title h1 {
	font-family: 'geomanist' !important;
}

.masonry-blog-item .post-meta .date span {
	font-family: 'geomanist' !important;
}

#search-results .result .title span {
	font-family: 'geomanist';
}

.nectar-milestone .number {
	font-family: 'geomanist';
}

.nectar-progress-bar span strong {
	font-family: 'geomanist';
}

.nectar-progress-bar span strong i {
	font-family: 'geomanist';
}

body .vc_pie_chart .vc_pie_chart_value {
	font-family: 'geomanist';
}

body .vc_pie_chart .wpb_pie_chart_heading {
	font-family: 'geomanist';
}

.toggle h3 a {
	font-family: 'geomanist';
}

.pricing-column.highlight h3 .highlight-reason {
	font-family: 'geomanist';
}

.pricing-table[data-style="default"] .pricing-column h4 .dollar-sign {
	font-family: 'geomanist';
}

#footer-outer .widget h4,
.text-on-hover-wrap .categories a {
	font-family: 'geomanist';
}

#slide-out-widget-area .inner .off-canvas-menu-container li a {
	font-family: 'geomanist';
}

#slide-out-widget-area.fullscreen .inner .widget.widget_nav_menu li a,
#slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a,
#slide-out-widget-area.fullscreen-alt .inner .widget.widget_nav_menu li a,
#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a {
	font-family: 'geomanist';
}

body[data-full-width-header="false"] #slide-out-widget-area a.slide_out_area_close {
	font-family: 'geomanist';
}

#slide-out-widget-area .menuwrapper li small {
	font-family: 'geomanist';
}

#slide-out-widget-area:not(.fullscreen):not(.fullscreen-alt) .menuwrapper li small {
	font-family: 'geomanist';
}

#nectar-ocm-ht-line-check {
	font-family: 'geomanist';
}

.widget_calendar table th {
	font-family: 'geomanist';
}

#footer-outer #footer-widgets .col .widget_calendar table th {
	font-family: 'geomanist';
}

#call-to-action {
	font-family: 'geomanist';
}

#call-to-action .container a {
	font-family: 'geomanist';
}

#call-to-action span {
	font-family: 'geomanist';
}

#sidebar h4 {
	font-family: 'geomanist';
}

#infscr-loading {
	font-family: 'geomanist';
}

#infscr-loading div {
	font-family: 'geomanist';
}

.single #single-meta ul li .nectar-love-wrap span {
	font-family: 'geomanist';
}

article.post .post-meta .month,
article.post .post-meta .year {
	font-family: 'geomanist';
}

article.post .post-meta .day {
	font-family: 'geomanist';
}

.post-area.standard-minimal article.post .post-meta .date,
.post-area.standard-minimal article.post .more-link span {
	font-family: 'geomanist';
}

#pagination span,
#pagination a,
#pagination .next.inactive,
#pagination .prev.inactive,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce .container-wrap nav.woocommerce-pagination ul li span,
.container-wrap nav.woocommerce-pagination ul li span {
	font-family: 'geomanist';
}

.nectar-love span {
	font-family: 'geomanist' !important;
}

.comment-list .comment-author {
	font-family: 'geomanist';
}

#respond h3,
h3#comments {
	font-family: 'geomanist';
}

select {
	font-family: 'geomanist';
}

body[data-is="minimal"].ascend #header-outer a.cart-contents .cart-wrap span {
	font-family: 'geomanist',sans-serif;
}

/* -------------------------------------------------------------------------
   [#10] Cabecera con fila de 4 logos (Tenerife Licita | Cámara | Licired | Cabildo)
   Origen: CSS personalizado de las opciones del tema en producción
   (licired.eu, octubre 2026). Va unido al marcado de
   includes/partials/header/header-menu.php (.licired-logo-row).
   Probado sobre Salient 18.4.2 en la web de pruebas: mismas posiciones y
   tamaños que en producción.
   Estas reglas pueden quitarse después del CSS personalizado de
   Salient → Opciones (si se dejan allí, no pasa nada: son idénticas).
   ------------------------------------------------------------------------- */

/* Cabecera reducida al hacer scroll: se ocultan los logos. */
.small-nav #logo,
.small-nav #feder,
.small-nav #camara,
.small-nav #cabildo {
	display: none !important;
}

.small-nav .col.span_3,
.small-nav {
	padding: 0 !important;
}

/* Escritorio: 4 columnas del 25%. */
@media (min-width: 1000px) {
	#top .col.span_3 {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#top .licired-logo-row {
		width: 100%;
		height: 120px;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		margin: 0;
		padding: 15px 4%;
		box-sizing: border-box;
	}

	#top .licired-logo-item {
		width: 25%;
		height: 90px;
		flex: 0 0 25%;
		display: flex;
		align-items: center;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	#top .licired-logo-1 {
		justify-content: flex-start;
	}

	#top .licired-logo-2,
	#top .licired-logo-3 {
		justify-content: center;
	}

	#top .licired-logo-4 {
		justify-content: flex-end;
	}

	#top .licired-logo-item #feder,
	#top .licired-logo-item #camara,
	#top .licired-logo-item #logo,
	#top .licired-logo-item #cabildo {
		position: static !important;
		top: auto !important;
		right: auto !important;
		bottom: auto !important;
		left: auto !important;
		float: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 !important;
		padding: 0 !important;
		transform: none !important;
	}

	#top .licired-logo-item #logo,
	#top .licired-logo-item #cabildo {
		width: 180px !important;
		height: 70px !important;
	}

	#top .licired-logo-item #camara {
		width: 40% !important;
	}

	#top .licired-logo-item #cabildo img,
	#top .licired-logo-item #logo img.stnd,
	#top .licired-logo-item #logo img.dark-version {
		position: static !important;
		display: block !important;
		width: 180px !important;
		height: 70px !important;
		min-width: 0 !important;
		min-height: 0 !important;
		max-width: 180px !important;
		max-height: 70px !important;
		margin: 0 !important;
		padding: 0 !important;
		object-fit: contain !important;
		transform: none !important;
	}

	#top .licired-logo-item #feder img,
	#top .licired-logo-item #camara img {
		position: static !important;
		display: block !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		object-fit: contain !important;
		transform: none !important;
	}

	/* Añadido: anula la regla antigua "#feder img { width: 55% !important; }" que aún
	   queda en el CSS personalizado de la web de pruebas (en producción ya no existe). */
	#top .licired-logo-item #feder img {
		width: auto !important;
	}

	#top .licired-logo-item #logo img.mobile-only-logo {
		display: none !important;
	}
}

/* Móvil y tablet: solo el logo de Licired. */
@media (max-width: 999px) {
	#header-outer {
		padding-top: 0 !important;
		background: #E0274C !important;
	}

	#top .licired-logo-row {
		display: block;
	}

	#top .licired-logo-1,
	#top .licired-logo-2,
	#top .licired-logo-4 {
		display: none !important;
	}

	#top .licired-logo-3 {
		display: block;
	}

	#top .licired-logo-3 #logo {
		margin: 0 !important;
	}

	#top .slide-out-widget-area-toggle.mobile-icon.std-menu.slide-out-from-right {
		margin-right: 10%;
	}/* =========================================================================
   [#11] Iconos de categorías de la portada (Empresa, Profesionales,
   Expertos en licitaciones, Licitaciones).
   Salient 18 (responsive.css) pone a width:100% en móvil las imágenes con
   ancho máximo móvil en %, y los PNG de 80x80 se veían a ~354 px y
   borrosos. Se dejan a su tamaño real.
   ------------------------------------------------------------------------- */
@media (max-width: 999px) {
	img[src*="/2019/10/4Empresa"],
	img[src*="/2019/10/1profesionales"],
	img[src*="/2019/10/3xp-licitaciones"],
	img[src*="/2019/10/2licitaciones"] {
		width: auto !important;
		max-width: 80px !important;
		height: auto !important;
		margin-left: auto;
		margin-right: auto;
	}

}