/* ASCOTA navigation and icon fixes */

/* Font Awesome (override dead claudeassets @font-face in theme CSS) */
@font-face {
	font-family: 'FontAwesome';
	src: url('/assets/www.comerciotafalla.com/fonts/font-awesome/fontawesome-webfont.woff2') format('woff2'),
		url('/assets/www.comerciotafalla.com/fonts/font-awesome/fontawesome-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

.fa,
[class^="fa-"],
[class*=" fa-"] {
	font-family: FontAwesome !important;
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	line-height: 1;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.nspInfo .fa,
.nspHits .fa {
	margin-right: 4px;
	color: #999;
}

/* NSP prev/next controls */
.nspTopInterface .nspPrev,
.nspTopInterface .nspNext {
	position: relative;
	display: inline-block;
	width: 20px !important;
	height: 20px !important;
	line-height: 20px !important;
	text-indent: 0 !important;
	color: #fff !important;
	background: #272727 !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-align: center;
	cursor: pointer;
}

.nspTopInterface .nspPrev:before,
.nspTopInterface .nspNext:before {
	content: "" !important;
	border: none !important;
	margin: 0 !important;
	float: none !important;
	display: inline-block;
	font-family: FontAwesome !important;
	font-size: 14px;
	line-height: 20px;
	width: auto;
	height: auto;
}

.nspTopInterface .nspPrev:before {
	content: "\f104" !important;
}

.nspTopInterface .nspNext:before {
	content: "\f105" !important;
}

.nspTopInterface .nspPrev:hover,
.nspTopInterface .nspNext:hover {
	background: #008acc !important;
}

/* Top bar */
.ts-topbar {
	height: auto;
	min-height: 36px;
	padding: 0;
}

.ts-topbar .t3-spotlight.t3-topbar {
	display: block;
}

.menuAscotaTop .nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}

.menuAscotaTop .nav > li,
.menuAscotaTop .nav.nav-stacked > li {
	display: inline-block !important;
	float: none !important;
	width: auto !important;
	margin: 0;
}

.menuAscotaTop .nav > li + li {
	border-left: 1px solid #ddd;
}

.menuAscotaTop .nav > li > a,
.menuAscotaTop .nav > li > .separator {
	display: inline-block;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
}

.menuAscotaTop .nav > li > a:hover {
	color: #008acc;
	background: transparent;
}

.menuAscotaTop .nav > li.divider > .separator {
	cursor: default;
	color: #555;
}

.menuAscotaTop li.item-119,
.menuAscotaTop .item-165.divider,
.menuAscotaTop .item-166.divider {
	display: inline-block !important;
}

/* Main navigation */
.t3-mainnav {
	background: #008acc;
	border: 0;
	box-shadow: 0 5px 8px -1px rgba(0, 0, 0, 0.2);
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 > li {
	display: flex;
	align-items: stretch;
	border-right: 1px solid rgba(0, 0, 0, 0.16);
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 18px;
	margin: 0;
	line-height: 1.3;
	font-size: 15px;
	font-weight: 400;
	color: #fff;
	white-space: nowrap;
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 > li > a .fa {
	display: inline-block;
	margin-right: 0;
	width: 1.15em;
	text-align: center;
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 > li > a em.caret {
	display: inline-block;
	vertical-align: middle;
	margin-top: 0;
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 > li > a .caret {
	margin-left: 2px;
	border-top-color: rgba(255, 255, 255, 0.85);
	border-bottom-color: rgba(255, 255, 255, 0.85);
}

.t3-mainnav .t3-megamenu .navbar-nav.level0 > li.active > a,
.t3-mainnav .t3-megamenu .navbar-nav.level0 > li > a:hover,
.t3-mainnav .t3-megamenu .navbar-nav.level0 > li > a:focus {
	background: rgba(0, 0, 0, 0.1) !important;
	color: #fff;
}

/* Footer background fallback when archive image is unavailable */
.t3-footer {
	background: #272727 !important;
}

/* Home showcase */
html.home .ts-showcase {
	margin-bottom: 10px;
}

html.home .ts-showcase .t3-showcase.row {
	display: block;
}

html.home .ts-showcase .t3-showcase.row::before,
html.home .ts-showcase .t3-showcase.row::after {
	content: " ";
	display: table;
}

html.home .ts-showcase .t3-showcase.row::after {
	clear: both;
}

html.home #ascota-hero-slider {
	min-height: 320px;
}

html.home #ascota-hero-slider .ascota-slide {
	min-height: 320px;
}

html.home #nsp-4itemsInicio {
	display: block !important;
}

html.home #nsp-4itemsInicio .nspArt img.nspImage {
	width: 100% !important;
	height: 152px !important;
	object-fit: cover;
}

@media (max-width: 900px) {
	html.home .ts-showcase .col-lg-7,
	html.home .ts-showcase .col-lg-5 {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Header */
.t3-header {
	padding: 15px 0 20px;
}

.t3-header > .container > .row {
	display: block;
}

.t3-header > .container > .row::before,
.t3-header > .container > .row::after {
	content: " ";
	display: table;
}

.t3-header > .container > .row::after {
	clear: both;
}

.t3-header .header-left {
	display: block !important;
}

.t3-header .ts-date {
	margin-bottom: 8px;
}

.t3-header .logo {
	text-align: center;
	margin: 0;
}

.t3-header .logo-image a {
	display: inline-block;
}

.t3-header .logo-image img.logo-img {
	display: block;
	width: 250px !important;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	background: none !important;
}

.t3-header .logo-image span,
.t3-header .logo-image .site-slogan {
	display: none;
}

.t3-header .header-right .headNews.moduletable,
.t3-header .header-right .headNews.nspMain {
	position: relative;
	background: #f7f7f7;
	box-shadow: inset 0 0 0 1px #e5e5e5;
	padding: 8px 10px 28px;
	min-height: 110px;
}

.headNews.nspText .nspArts .nspArt {
	overflow: hidden;
}

.headNews.nspText .nspArts .nspArt .nspImageWrapper {
	float: left;
	margin: 0 10px 0 0 !important;
}

.headNews.nspText .nspArts .nspArt img.nspImage {
	max-width: 100px;
	max-height: 75px;
	width: auto !important;
	height: auto !important;
}

.headNews.nspText .nspArts .nspArt h4.nspHeader {
	line-height: 1.35 !important;
	padding: 0 0 6px !important;
	overflow: hidden;
}

.headNews.nspText .nspArts .nspArt h4.nspHeader a {
	line-height: 1.35 !important;
	font-size: 12px !important;
	display: block;
}

.headNews.nspText .nspArts .nspArt .nspInfo {
	font-size: 11px;
	color: #999;
	margin: 0;
}

.headNews .nspTopInterface {
	position: absolute !important;
	right: 8px !important;
	bottom: 6px !important;
	top: auto !important;
}

/* Login button */
#btl .btl-panel span {
	background: #6d850a !important;
	color: #fff !important;
	border-color: #6d850a !important;
}

#btl .btl-panel span .fa-lock {
	color: #fff !important;
}

/* Content mid news grids */
.nspGap.nspMain .nspArtPage {
	overflow: hidden;
}

.nspGap.nspMain .nspArtPage .nspArt.nspCol2 {
	width: 50%;
	float: left;
	box-sizing: border-box;
}

.nspGap.nspMain .nspArt {
	overflow: hidden;
	margin-bottom: 12px;
}

.nspGap.nspMain .nspArt .nspImageWrapper {
	float: left;
	margin: 0 12px 8px 0 !important;
}

.nspGap.nspMain .nspArt img.nspImage {
	width: 180px !important;
	height: 100px !important;
	object-fit: cover;
}

.nspGap.nspMain .nspArt h4.nspHeader {
	line-height: 1.35 !important;
	padding: 0 0 6px !important;
	overflow: hidden;
}

.nspGap.nspMain .nspArt h4.nspHeader a {
	font-size: 13px !important;
	line-height: 1.35 !important;
}

.nspGap.nspMain .nspArt .nspInfo {
	font-size: 11px;
	color: #999;
	margin: 0;
}

@media (min-width: 992px) {
	.t3-header .header-left {
		float: left;
		width: 25%;
	}

	.t3-header .logo {
		float: left;
		width: 41.66666667%;
	}

	.t3-header .header-right {
		float: left;
		width: 33.33333333%;
	}
}

@media (max-width: 991px) {
	.t3-header .header-left,
	.t3-header .logo,
	.t3-header .header-right {
		float: none;
		width: 100%;
		margin-bottom: 15px;
	}
}

/* LO ÚLTIMO breaking news ticker */
.ts-hotnews {
	background: #272727;
	margin: 0 0 25px;
	overflow: hidden;
}

.ts-hotnews .gkHighlighterGK5 {
	overflow: hidden;
}

.ts-hotnews .gkHighlighterInterface {
	background: #0079b3 !important;
}

.ts-hotnews .gkHighlighterInterface:after {
	border-left-color: #0079b3 !important;
}

.ts-hotnews .gkHighlighterWrapper {
	overflow: hidden;
	min-height: 36px;
	padding-top: 9px;
}

.ts-hotnews .gkHighlighterWrapperSub {
	opacity: 1 !important;
	position: relative;
	min-height: 36px;
}

.ts-hotnews .gkHighlighterItem {
	position: absolute !important;
	top: 0 !important;
	left: 0;
	right: 0;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.ts-hotnews .gkHighlighterItem.is-active {
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
	pointer-events: auto;
}

.ts-hotnews .gkHighlighterItem a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Comercio / establecimientos listing */
.catItemAuthor a:before {
	content: "\f007";
	font-family: FontAwesome !important;
	margin-right: 5px;
	color: #999;
}

.catItemCategory a {
	display: inline-block;
	padding: 2px 8px;
	background: #008acc;
	color: #fff !important;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
}

.catItemImage img.img-responsive {
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
}
