/* =============================================================================
   ja_playstore_ng — main stylesheet
   Joomla 5 / 6 site template for 5gringos.net
   Palette mirrors the original less/variables.less:
     brand-primary   #67c1f5  (Steam blue)
     brand-secondary #9cc509  (Steam green)
     body-bg         #1b2838
     text-color      #ffffff
     block-text      #7a828b
   ============================================================================= */

:root {
	--bg:        #15212e;
	--bg2:       #1b2838;
	--panel:     #1f2d3f;
	--panel2:    #26384c;
	--line:      #2c3e54;
	--ink:       #ffffff;
	--muted:     #7a828b;
	--accent:    #67c1f5;
	--accent2:   #9bd6f8;
	--secondary: #9cc509;
	--warn:      #f0ad4e;
	--good:      #5cb85c;
	--bad:       #d9534f;
	--gold:      #ffcc00;
	--container-w: 1560px;
	--radius:    10px;
	--radius-sm: 6px;
	--shadow-1:  0 4px 14px rgba(0,0,0,.25);
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; }

/* ---------- container ---------- */
.jpng-container {
	max-width: var(--container-w) !important;
	width: 100%;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}

/* Global nav list reset — catches mod_menu wherever it's rendered */
.tpl-ja-playstore-ng nav ul,
.tpl-ja-playstore-ng .mod-menu,
.tpl-ja-playstore-ng ul.mod-menu,
.tpl-ja-playstore-ng ul.menu,
.tpl-ja-playstore-ng nav ul li,
.tpl-ja-playstore-ng .mod-menu li,
.tpl-ja-playstore-ng ul.menu li {
	list-style: none !important;
	padding-left: 0 !important;
}
.tpl-ja-playstore-ng .mod-menu,
.tpl-ja-playstore-ng nav > ul,
.tpl-ja-playstore-ng nav > div > ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 !important;
}
.tpl-ja-playstore-ng .mod-menu a,
.tpl-ja-playstore-ng nav ul a {
	text-decoration: none;
}

/* ---------- topbar ---------- */
.t3-topbar {
	background: #0a1018;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	color: var(--muted);
}
.t3-topbar .topbar-inner {
	display: flex;
	align-items: center;
	height: 34px;
	gap: 18px;
}
.t3-topbar .topbar-status .dot {
	display: inline-block;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--secondary);
	margin-right: 6px;
	vertical-align: middle;
}
.t3-topbar .topbar-left {
	display: flex;
	align-items: center;
	gap: 22px;
}
.t3-topbar .topbar-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 14px;
}
/* Topbar menu — flat inline list, NOT the megamenu */
.t3-topbar .topbar-menu ul,
.t3-topbar .topbar-right ul {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.t3-topbar .topbar-menu li,
.t3-topbar .topbar-right li {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	position: relative;
}
.t3-topbar .topbar-menu a,
.t3-topbar .topbar-right a {
	display: inline-block;
	padding: 0 12px;
	line-height: 34px;
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .8px;
	text-decoration: none;
	border-right: 1px solid rgba(255,255,255,.06);
	transition: color .15s;
}
.t3-topbar .topbar-menu li:first-child a,
.t3-topbar .topbar-right li:first-child a {
	padding-left: 0;
}
.t3-topbar .topbar-menu li:last-child a,
.t3-topbar .topbar-right li:last-child a {
	border-right: none;
}
.t3-topbar .topbar-menu a:hover,
.t3-topbar .topbar-menu li.current > a,
.t3-topbar .topbar-menu li.active > a,
.t3-topbar .topbar-right a:hover {
	color: var(--accent);
}

/* ---------- header ---------- */
.t3-header {
	background: var(--bg2);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(8px);
}
.t3-header .header-inner {
	display: flex;
	align-items: center;
	height: 72px;
	gap: 24px;
}
.t3-header .logo a {
	display: flex;
	align-items: center;
	gap: 10px;
}
.t3-header .logo img {
	height: 42px;
	width: auto;
}
.t3-header .site-slogan {
	color: var(--muted);
	font-size: 12px;
	margin-left: 12px;
}
.t3-header .head-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 14px;
}
.t3-header .head-search input[type="search"],
.t3-header .head-search input[type="text"] {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	padding: 9px 14px;
	min-width: 240px;
	font-size: 13px;
}
.t3-header .head-cart,
.t3-header .head-login {
	display: flex;
	align-items: center;
}

/* ---------- main nav (native megamenu) ---------- */
.t3-mainnav {
	background: var(--bg2);
	border-bottom: 1px solid var(--line);
	position: relative;
	z-index: 40;
}
.t3-mainnav .mainnav-inner {
	display: flex;
	align-items: center;
	min-height: 56px;
	gap: 16px;
}
.jpng-mobile-toggle {
	display: none;
	width: 38px;
	height: 38px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	cursor: pointer;
	padding: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.jpng-mobile-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink);
}

/* root level */
.jpng-mainmenu {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.jpng-mainmenu > .jpng-mi {
	position: relative;
	list-style: none;
}
.jpng-mainmenu > .jpng-mi > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 18px 18px;
	color: #cfd5e2;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	transition: color .15s, border-color .15s, background .15s;
}
.jpng-mainmenu > .jpng-mi > a:hover {
	color: var(--accent2);
	background: rgba(255,255,255,0.03);
}
.jpng-mainmenu > .jpng-mi.is-active > a,
.jpng-mainmenu > .jpng-mi.in-active-trail > a {
	color: var(--accent);
	border-bottom-color: var(--accent);
}
.jpng-caret {
	font-style: normal;
	font-size: 10px;
	opacity: 0.7;
	margin-left: 2px;
}

/* submenus */
.jpng-submenu {
	list-style: none;
	padding: 8px;
	margin: 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow-1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 60;
}
.jpng-mi.has-children:hover > .jpng-submenu,
.jpng-mi.has-children:focus-within > .jpng-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
/* nested submenu (3rd level) flies out to the right */
.jpng-submenu .jpng-submenu {
	top: -1px;
	left: 100%;
	border-top: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.jpng-submenu .jpng-mi {
	position: relative;
	list-style: none;
}
.jpng-submenu .jpng-mi > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	color: #cfd5e2;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: background .12s, color .12s;
}
.jpng-submenu .jpng-mi > a:hover {
	background: var(--panel2);
	color: var(--accent2);
}
.jpng-submenu .jpng-mi.is-active > a {
	background: var(--accent);
	color: #0a1018;
}

/* separator + heading items */
.jpng-mi.type-separator .jpng-sep,
.jpng-mi.type-heading .jpng-heading {
	display: block;
	padding: 8px 14px 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	color: var(--muted);
	pointer-events: none;
}

.mainnav-extras {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}
.mainnav-extras .moduletable > h3 { display: none; }

/* ---------- breadcrumbs ---------- */
.t3-breadcrumbs {
	padding: 14px 0;
	font-size: 12px;
	color: var(--muted);
}
.t3-breadcrumbs a { color: var(--muted); }
.t3-breadcrumbs a:hover { color: var(--accent2); }

/* ---------- main body / sidebars ---------- */
.t3-mainbody {
	padding: 24px 0 48px;
}
.mainbody-row {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
.mainbody-row .col-main.has-one-sidebar {
	/* paired with one sidebar — wrap below */
}
.mainbody-row:has(.col-sidebar-left) {
	grid-template-columns: 280px 1fr;
}
.mainbody-row:has(.col-sidebar-right):not(:has(.col-sidebar-left)) {
	grid-template-columns: 1fr 280px;
}
.mainbody-row:has(.col-sidebar-left):has(.col-sidebar-right) {
	grid-template-columns: 260px 1fr 280px;
}

.col-sidebar > * + * { margin-top: 18px; }

/* ---------- footer ---------- */
.t3-footer {
	background: #0a1018;
	border-top: 1px solid var(--line);
	padding: 50px 0 20px;
	color: var(--muted);
	font-size: 13px;
	margin-top: 50px;
}
.t3-footer .footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}
.t3-footer .footer-col h3,
.t3-footer .footer-col h4 {
	color: var(--ink);
	font-size: 13px;
	margin-bottom: 14px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}
.t3-footer .footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.t3-footer .footer-col li {
	padding: 4px 0;
	font-size: 13px;
}
.t3-footer .footer-col a:hover { color: var(--accent2); }
.t3-footer .footer-bottom {
	border-top: 1px solid var(--line);
	padding-top: 20px;
	display: flex;
	align-items: center;
	gap: 20px;
}
.t3-footer .footer-brand img { height: 36px; }
.t3-footer .footer-copy {
	margin-left: auto;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ---------- generic Joomla module wrapper polish ---------- */
.t3-wrapper .moduletable,
.t3-wrapper .module {
	margin-bottom: 24px;
}
.t3-wrapper .moduletable > h3,
.t3-wrapper .module > h3 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
	padding-bottom: 8px;
	margin-bottom: 14px;
}

/* card module style — used by sidebars and footer columns */
.t3-wrapper [data-module-style="card"] .moduletable,
.t3-wrapper aside .moduletable {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
}

/* ---------- buttons ---------- */
.btn,
.btn-primary,
button.btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .5px;
	cursor: pointer;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--ink);
	transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--accent2); color: var(--accent2); }
.btn-primary {
	background: var(--accent);
	border-color: var(--accent);
	color: #0a1018;
}
.btn-primary:hover {
	background: var(--accent2);
	border-color: var(--accent2);
	color: #0a1018;
}

/* ---------- error / offline shells ---------- */
.error-page, .offline-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	background: var(--bg);
}
.error-shell, .offline-shell {
	max-width: 540px;
	margin: 40px auto;
	padding: 0 24px;
}
.error-card, .offline-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 36px;
	text-align: center;
}
.error-code {
	font-family: "Oswald", "Impact", sans-serif;
	font-size: 96px;
	color: var(--accent);
	line-height: 1;
}
.offline-logo { height: 48px; margin: 0 auto 18px; }
.error-trace {
	text-align: left;
	background: #000;
	color: var(--bad);
	padding: 16px;
	font-size: 11px;
	overflow: auto;
	max-height: 280px;
	margin-top: 18px;
	border-radius: var(--radius-sm);
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
	.mainbody-row:has(.col-sidebar-left):has(.col-sidebar-right) {
		grid-template-columns: 1fr 280px;
	}
	.mainbody-row .col-sidebar-left { display: none; } /* primary sidebar wins on tablet */
	.t3-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
	.jpng-container { padding: 0 18px; }

	/* Collapse the megamenu into the off-canvas drawer on mobile */
	.jpng-mobile-toggle { display: flex; }
	.t3-mainnav .jpng-mainmenu { display: none; }
	.t3-mainnav .mainnav-extras { margin-left: auto; }

	.t3-header .header-inner { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 14px; }
	.t3-header .head-right { width: 100%; justify-content: flex-end; }
	.t3-header .head-search input[type="search"],
	.t3-header .head-search input[type="text"] { min-width: 0; width: 100%; }

	.t3-mainnav { overflow-x: auto; }
	.t3-mainnav .mainnav-inner { white-space: nowrap; }

	.mainbody-row { grid-template-columns: 1fr !important; }
	.mainbody-row .col-sidebar { order: 2; }

	.t3-footer .footer-grid { grid-template-columns: 1fr 1fr; }
	.t3-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
	.t3-footer .footer-copy { margin-left: 0; }

	.t3-topbar .topbar-right { display: none; }
}

@media (max-width: 480px) {
	.t3-footer .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Article override (com_content) ===== */
.jpng-article {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 10px;
	padding: 28px 32px;
	margin-bottom: 24px;
}
.jpng-article .article-title {
	font-size: 1.9rem;
	margin: 0 0 14px;
	color: #fff;
	line-height: 1.2;
}
.jpng-article .article-title a { color: inherit; text-decoration: none; }
.jpng-article .article-title a:hover { color: var(--brand-primary, #67c1f5); }
.jpng-article .article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	font-size: 0.82rem;
}
.jpng-article .meta-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(103,193,245,0.12);
	color: var(--brand-primary, #67c1f5);
	border: 1px solid rgba(103,193,245,0.25);
}
.jpng-article .meta-pill.category {
	background: rgba(156,197,9,0.12);
	color: var(--brand-secondary, #9cc509);
	border-color: rgba(156,197,9,0.3);
}
.jpng-article .meta-pill a { color: inherit; text-decoration: none; }
.jpng-article .article-body { color: #c7d5e0; line-height: 1.7; }
.jpng-article .article-body h2,
.jpng-article .article-body h3 { color: #fff; margin-top: 1.6em; }
.jpng-article .article-body a { color: var(--brand-primary, #67c1f5); }
.jpng-article .article-tags {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,0.06);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.jpng-article .tag-pill {
	padding: 3px 9px;
	border-radius: 4px;
	background: rgba(255,255,255,0.05);
	color: #c7d5e0;
	font-size: 0.78rem;
	text-decoration: none;
}
.jpng-article .tag-pill:hover { background: var(--brand-primary, #67c1f5); color: #1b2838; }

/* ===== jpng_card module chrome ===== */
.jpng-card {
	background: var(--panel, #16202d);
	border: 1px solid var(--line, rgba(255,255,255,0.06));
	border-radius: 8px;
	padding: 18px 22px;
	margin-bottom: 18px;
	box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.jpng-card-title {
	margin: 0 0 14px;
	padding: 0 0 10px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
	border-bottom: 1px solid var(--line, rgba(255,255,255,0.08));
	position: relative;
}
.jpng-card-title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 42px; height: 2px;
	background: var(--accent, #67c1f5);
}
.jpng-card-body { color: var(--text, #c7d5e0); font-size: 0.92rem; line-height: 1.55; }
.jpng-card-body a { color: var(--accent, #67c1f5); text-decoration: none; }
.jpng-card-body a:hover { text-decoration: underline; }
.jpng-card-body ul { padding-left: 18px; margin: 0; }
.jpng-card-body table { width: 100%; border-collapse: collapse; }
.jpng-card-body table th,
.jpng-card-body table td {
	padding: 6px 8px;
	border-bottom: 1px solid var(--line, rgba(255,255,255,0.05));
	text-align: left;
}

/* ===== Defensive: hide stray search overlays / orphan finder forms ===== */
/* JA / Kunena / mod_finder sometimes inject a fixed overlay that depends on
   T3 plugin JS to stay hidden. Hide by default and only show inside head-search. */
body > .finder,
body > .search,
.t3-mainbody > .finder,
.t3-mainbody > .search,
.search-overlay,
#search-overlay,
.finder-search-overlay,
.ja-search-overlay,
.t3-search-overlay {
	display: none !important;
}
.head-search .finder,
.head-search .search,
.head-search .search-overlay { display: block !important; }

/* Force any unwrapped finder/search form to fit a card */
.t3-mainbody .finder,
.t3-mainbody .search {
	background: var(--panel, #16202d);
	border: 1px solid var(--line, rgba(255,255,255,0.06));
	border-radius: 6px;
	padding: 10px 14px;
}

/* ===== Stray full-width module rows (Kunena stats / forum widgets) ===== */
/* If a module ships its own full-width "row" element with no card wrapper,
   give it card spacing so it stops hugging the viewport edges. */
.t3-mainbody > div:not(.jpng-container):not([class*="jpng-"]),
.t3-mainbody > section:not(.jpng-container):not([class*="jpng-"]),
.t3-mainbody > table {
	max-width: var(--container-w, 1560px);
	margin: 18px auto;
	padding: 0 32px;
	box-sizing: border-box;
}

/* ============================================================
 * OFF-CANVAS DRAWER FIX
 * ja_playstore_ng inherits an empty <aside id="t3-off-canvas">
 * from the original T3 template but no JS toggle is wired up.
 * On every page it renders inline as a stranded mobile menu
 * (the floating "Forum / Community / Blog" strip + the broken
 * search bar with an X button). Hide it.
 * ============================================================ */
#t3-off-canvas,
#t3-off-canvas[aria-hidden="true"] {
	display: none !important;
}

/* ============================================================
 * EASYDISCUSS (com_easydiscuss) DARK OVERRIDES
 * The wireframe forum theme bundles only PHP templates - the
 * compiled CSS lives in /media/com_easydiscuss/themes/wireframe/
 * which we can't ship from a theme zip. Override here.
 * ============================================================ */

/* EasyDiscuss attachment composer input */
.ed-attachment-item-input,
.ed-attachment-item-input input,
.ed-attachment-form input,
.ed-attachment-form input[type="file"],
.ed-attachment-form input[type="text"] {
	background-color: #0f1a26 !important;
	color: #c7d5e0 !important;
	border: 1px solid #2a3a4d !important;
}

/* EasyDiscuss editor / composer surfaces */
.ed-editor-widget,
.ed-editor-tab,
.ed-editor-tab__content,
.ed-editor-tab__tab-content,
.ed-composer-wrapper,
.ed-composer,
.ed-composer__bd,
.ed-composer__hd,
.ed-composer__ft {
	background-color: #16202d !important;
	border-color: #2a3a4d !important;
	color: #c7d5e0 !important;
}

/* EasyDiscuss textarea / inputs */
.ed-editor-widget textarea,
.ed-editor-widget input[type="text"],
.ed-editor-widget input[type="email"],
.ed-editor-widget input[type="url"],
.ed-form-control,
.ed input.o-form-control,
.ed textarea.o-form-control,
.ed select.o-form-control {
	background-color: #0f1a26 !important;
	color: #c7d5e0 !important;
	border: 1px solid #2a3a4d !important;
}
.ed-editor-widget textarea::placeholder,
.ed-form-control::placeholder { color: #5d6b7d !important; }

/* EasyDiscuss generic buttons */
.ed-btn,
.o-btn--default-o,
.o-btn--default {
	background-color: #1f2c3d !important;
	color: #c7d5e0 !important;
	border: 1px solid #2a3a4d !important;
}
.ed-btn:hover,
.o-btn--default-o:hover,
.o-btn--default:hover {
	background-color: #2a3a4d !important;
	color: #67c1f5 !important;
}

/* EasyDiscuss listings / cards */
.ed-list,
.ed-list__item,
.ed-post,
.ed-post__bd,
.ed-post__hd,
.ed-post__ft,
.ed-post-item,
.ed-thread,
.ed-card,
.ed-card__bd,
.ed-card__hd,
.ed-card__ft {
	background-color: #16202d !important;
	border-color: #2a3a4d !important;
	color: #c7d5e0 !important;
}

/* EasyDiscuss forum nav (categories tabs) */
.ed-tabs,
.ed-tabs__link,
.ed-nav,
.ed-nav__item,
.ed-nav__link {
	background-color: transparent !important;
	color: #c7d5e0 !important;
	border-color: #2a3a4d !important;
}
.ed-tabs__link.is-active,
.ed-tabs__link:hover,
.ed-nav__link.is-active,
.ed-nav__link:hover {
	background-color: #1f2c3d !important;
	color: #67c1f5 !important;
}

/* ============================================================
 * KOMENTO (com_komento) DARK OVERRIDES
 * Same situation as EasyDiscuss - CSS is shipped under
 * /media/com_komento/themes/wireframe/ outside any theme zip.
 * ============================================================ */
.kmt-wrap,
.kmt-container,
.kmt-comments,
.kmt-comment,
.kmt-comment__bd,
.kmt-comment__hd,
.kmt-comment__ft,
.kmt-form,
.kmt-form-wrap,
.kmt-editor,
.kmt-textarea {
	background-color: #16202d !important;
	border-color: #2a3a4d !important;
	color: #c7d5e0 !important;
}
.kmt-form textarea,
.kmt-form input[type="text"],
.kmt-form input[type="email"],
.kmt-textarea {
	background-color: #0f1a26 !important;
	color: #c7d5e0 !important;
	border: 1px solid #2a3a4d !important;
}

/* ============================================================
 * EASYBLOG (com_easyblog) DARK OVERRIDES
 * Same situation as EasyDiscuss - the simplistic theme ships
 * its CSS via /components/com_easyblog/themes/simplistic/styles/
 * Override here from the template instead of forking the theme.
 * ============================================================ */

/* EasyBlog entries / listings */
.eb-entry,
.eb-entry-body,
.eb-entry-article,
.eb-entry-author-recents,
.eb-entry-author,
.eb-entry-author__bd,
.eb-entry-author__ft,
.eb-image,
.eb-post-image,
.eb-post-thumb,
.eb-post,
.eb-post__bd,
.eb-post__hd,
.eb-post__ft,
.eb-image-popup-button,
#eb,
.eb-mod,
.eb-mod-search,
.eb-mod-blogs,
.eb-mod-categories,
.eb-mod-tags,
.eb-mod-archive {
	background-color: #16202d !important;
	border-color: #2a3a4d !important;
	color: #c7d5e0 !important;
}

/* EasyBlog form controls (search inputs etc) */
#eb .form-control,
#eb input.form-control,
.eb-mod .form-control,
.eb-mod input.form-control,
.eb-mod-search .form-control {
	background-color: #0f1a26 !important;
	color: #c7d5e0 !important;
	border: 1px solid #2a3a4d !important;
}
#eb .form-control::placeholder,
.eb-mod .form-control::placeholder { color: #5d6b7d !important; }

/* EasyBlog buttons (incl. nested in input-group-btn) */
#eb .btn,
#eb .btn-default,
#eb .input-group-btn .btn,
#eb .input-group-btn > .btn,
.eb-mod .btn,
.eb-mod .btn-default,
.eb-mod .input-group-btn .btn,
.eb-mod .input-group-btn > .btn {
	background-color: #1f2c3d !important;
	color: #c7d5e0 !important;
	border: 1px solid #2a3a4d !important;
}
#eb .btn:hover,
#eb .btn-default:hover,
.eb-mod .btn:hover,
.eb-mod .btn-default:hover {
	background-color: #2a3a4d !important;
	color: #67c1f5 !important;
}

/* EasyBlog tabs / nav */
#eb .nav-tabs,
#eb .nav-tabs__link,
#eb .eb-nav,
#eb .eb-nav__link,
.eb-mod .nav-tabs,
.eb-mod .nav-tabs__link {
	background-color: transparent !important;
	border-color: #2a3a4d !important;
	color: #c7d5e0 !important;
}
#eb .nav-tabs__link.is-active,
#eb .nav-tabs__link:hover { background-color: #1f2c3d !important; color: #67c1f5 !important; }
