@media (min-width: 768px) {
	body {
		background-color: #111;
		background: url(../../img/Catalyst_4k_Clean.jpg) no-repeat center center fixed;
		background-size: cover !important;
	}
}


@media (max-width: 767px) {
	body {
        background-color: #000;
		overflow-x: hidden;		
	}
}

.nobackground, .navbar {
       background: #000;
       box-shadow: 0 0 5px 5px rgba(6,6,6,0.95);
}

#navibar {
	background: #000;
	padding-bottom: 1em;
	position: relative;
	z-index: 1030;
}

#detail-navibar {
	background: #000;
	padding-bottom: 1em;
}

/* Normalize Bootstrap 5 typography closer to historical site baseline (BS3-era). */
:root {
	font-size: 14px;
	--zk-color-green: #008000;
	--zk-color-red: #ff0000;
}

body {
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #888;
	font-size: 1rem;
	line-height: 1.42857143;
}

.float-end {
	float: right !important;
}

.float-start {
	float: left !important;
}

h1, .h1 {
	font-size: 2.57142857rem;
	line-height: 1.1;
}

h2, .h2 {
	font-size: 2.14285714rem;
	line-height: 1.1;
}

h3, .h3 {
	font-size: 1.71428571rem;
	line-height: 1.1;
}

h4, .h4 {
	font-size: 1.28571429rem;
	line-height: 1.1;
}

h5, .h5 {
	font-size: 1rem;
	line-height: 1.1;
}

h6, .h6 {
	font-size: 0.85714286rem;
	line-height: 1.1;
}

#navibar .navbar {
	--bs-navbar-padding-y: 0;
	--bs-navbar-nav-link-padding-x: 15px;
	--bs-nav-link-padding-y: 15px;
	--bs-nav-link-font-size: 14px;
}

#navibar .navbar > .container {
	padding-left: 15px;
	padding-right: 15px;
}

#navibar .navbar-brand {
	font-size: 18px;
	line-height: 20px;
	padding: 15px;
	margin-left: -15px;
	margin-right: 0;
	color: #fff;
}

#navibar .navbar-brand:hover,
#navibar .navbar-brand:focus {
	color: #fff;
}

#navibar .navbar-expand-lg .navbar-nav .nav-link,
#navibar .navbar-expand-lg .navbar-nav .dropdown-toggle {
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	font-size: 14px;
	line-height: 20px;
}

#navibar .navbar-nav .btn.nav-link {
	padding: 15px;
	color: #888;
	line-height: 20px;
	background: transparent;
	border: 0;
	box-shadow: none;
	text-decoration: none;
}

#searchbox {
	line-height: 20px;
}

#navibar .navbar-nav .nav-search-item {
	display: flex;
	align-items: center;
}

#navibar .navbar-nav > li.nav-item:has(> #search) {
	display: flex;
	align-items: center;
}

#navibar #search {
	margin: 0;
}

#navibar #search .form-control,
#navibar #search .input-group-text {
	padding-top: 8px;
	padding-bottom: 8px;
	line-height: 20px;
}

#navibar .navbar-nav .btn.nav-link:hover,
#navibar .navbar-nav .btn.nav-link:focus {
	color: #888;
}

#navibar .dropdown-menu .dropdown-item {
	font-size: 14px;
}

.dropdown-menu {
	--bs-dropdown-header-color: #d6e0e6;
}

.table>:not(caption)>tr.error>td, .table>:not(caption)>tr.winwin>td {
	box-shadow: none;
}

#killmailstobdy tr.tr-killmail.error > td {
	background-color: #2F0202;
}

#killmailstobdy tr.tr-killmail.error:hover > td {
	background-color: #210101;
}

#killmailstobdy tr.tr-killmail.winwin > td {
	background-color: #001600;
}

#killmailstobdy tr.tr-killmail.winwin:hover > td {
	background-color: #000F00;
}

.table tbody tr.error td
{
  background-color: #2F0202;
}

.table tbody tr.winwin td
{
  background-color: #001600;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input
{
color: black;
 }

.table .item_dropped_row > * {
	background-color: #001600;
	color: #d7ead9;
}
.table .item_dropped_row .item_dropped,
.table .item_dropped_row .price {
	color: #d7ead9;
}
.item_dropped,
td.item_dropped,
.table .item_dropped {
	color: var(--zk-color-green);
}
.item_dropped_qty,
td.item_dropped_qty,
.table .item_dropped_qty {
	color: var(--zk-color-green);
}
.item_destroyed,
td.item_destroyed,
.table .item_destroyed,
.red {
	color: var(--zk-color-red);
}
.item_dropped a,
.item_destroyed a {
	color: inherit;
}
#itemsTable .fa-check,
#itemsTable .fa-times {
	display: inline-block;
	font-size: 0.8em;
	margin-left: 2px;
	text-align: left;
	width: 1em;
}
#itemsTable .item_row > td {
	vertical-align: middle;
}
.green {
	color: var(--zk-color-green);
}

.item_row:has(td.item_destroyed) td.price {
	color: var(--zk-color-red) !important;
}
#tracked_items td.green {
	color: var(--zk-color-green);
}

#tracked_items td.red {
	color: var(--zk-color-red);
}

#statsbox .green,
#statsbox td.green,
#statsbox th.green {
	color: var(--zk-color-green);
}

#statsbox .red,
#statsbox td.red,
#statsbox th.red {
	color: var(--zk-color-red);
}

.rank-table td.green,
.rank-table th.green,
.rank-table .green {
	color: var(--zk-color-green);
}

.rank-table td.red,
.rank-table th.red,
.rank-table .red {
	color: var(--zk-color-red);
}

#war-eligible .datatable td.green,
#war-eligible .datatable th.green,
#war-eligible .datatable .green {
	color: var(--zk-color-green);
}

#war-eligible .datatable td.red,
#war-eligible .datatable th.red,
#war-eligible .datatable .red {
	color: var(--zk-color-red);
}

#war-eligible .datatable thead tr:last-child th:nth-child(1),
#war-eligible .datatable tbody td:nth-child(1) {
	width: 33.3333% !important;
	max-width: 33.3333% !important;
}

#war-eligible .datatable thead tr:last-child th:nth-child(2),
#war-eligible .datatable tbody td:nth-child(2) {
	width: 12% !important;
}

.war-page,
.war-detail-hero {
	margin: 0.5rem 0 1.25rem;
}

.war-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
	padding: 0.8rem 0.9rem;
	background: #101010;
	border: 1px solid #282828;
	border-left: 3px solid #2a9fd6;
	border-radius: 0.25rem;
}

.war-page-header h1,
.war-page-header h2 {
	margin: 0;
	color: #f1f5f8;
	font-size: 1.65rem;
	line-height: 1.15;
}

.war-page-kicker {
	margin: 0 0 0.2rem;
	color: #98a8b7;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.war-page-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.4rem;
}

.war-page-actions .btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
}

.war-page-intro {
	margin: 0 0 1rem;
	color: #a9b0b8;
}

.war-table-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.war-section {
	min-width: 0;
	background: #060606;
	border: 1px solid #282828;
	border-radius: 0.25rem;
	overflow: hidden;
}

.war-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem 0.65rem;
	background: #101010;
	border-bottom: 1px solid #282828;
}

.war-section-header h3 {
	margin: 0;
	color: #e7edf2;
	font-size: 1.05rem;
	line-height: 1.2;
}

.war-section-header span {
	flex: 0 0 auto;
	min-width: 2.2rem;
	padding: 0.15rem 0.45rem;
	border-radius: 0.25rem;
	background: #151515;
	color: #aaa;
	font-size: 0.78rem;
	text-align: center;
}

.war-list {
	display: flex;
	flex-direction: column;
}

.war-row {
	display: grid;
	grid-template-columns: minmax(125px, 1fr) minmax(52px, max-content) minmax(72px, max-content) minmax(28px, max-content) minmax(52px, max-content) minmax(72px, max-content) minmax(125px, 1fr);
	align-items: center;
	column-gap: 0.5rem;
	min-height: 44px;
	padding: 0.35rem 0.55rem;
	color: #c7cdd3;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(0, 0, 0, 0.08);
}

.war-row:hover,
.war-row:focus-within {
	background: rgba(42, 159, 214, 0.09);
}

.war-row:last-child {
	border-bottom: 0;
}

.war-row-head {
	min-height: 28px;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
	background: rgba(0, 0, 0, 0.36);
	color: #aaa;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

.war-row-head:hover {
	background: rgba(0, 0, 0, 0.36);
}

.war-entity-cell {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}

.war-defender-cell {
	justify-content: flex-end;
	text-align: right;
}

.war-entity-cell img {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 0.2rem;
	background: #111;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.war-entity-link span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.war-entity-link:hover,
.war-entity-link:focus {
	text-decoration: underline;
}

.war-num-cell {
	display: block;
	min-width: 0;
	font-weight: 700;
	line-height: 1.1;
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.war-info-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #66BFFF;
	font-size: 1rem;
}

.war-info-link:hover,
.war-info-link:focus {
	color: #66BFFF;
	text-decoration: underline;
}

.war-row a.war-num-cell:hover,
.war-row a.war-num-cell:focus {
	text-decoration: underline;
}

.war-empty {
	padding: 1rem;
	color: #9da7b0;
	text-align: center;
}

.war-detail-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: -0.2rem 0 0.75rem;
}

.war-detail-dates span,
.war-flags span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.55rem;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	color: #aeb7bf;
}

.war-detail-dates strong {
	color: #eef2f6;
}

.war-detail-score {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(210px, auto) minmax(0, 1fr);
	align-items: stretch;
	gap: 0.75rem;
	margin-bottom: 0.6rem;
}

.war-detail-side,
.war-detail-metrics {
	padding: 0.8rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.45rem;
}

.war-detail-side {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	border-top: 3px solid #5db7ff;
}

.war-detail-side-defender {
	align-items: flex-end;
	text-align: right;
	border-top-color: #f2a36a;
}

.war-detail-side a {
	overflow: hidden;
	color: #f3f6f9;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.war-detail-metrics {
	display: grid;
	gap: 0.45rem;
	align-content: center;
	background: rgba(0, 0, 0, 0.3);
}

.war-detail-metrics div {
	display: grid;
	grid-template-columns: minmax(4.5rem, 1fr) auto minmax(4.5rem, 1fr);
	align-items: baseline;
	gap: 0.5rem;
}

.war-detail-metrics strong {
	font-size: 1.18rem;
	line-height: 1.1;
	text-align: center;
}

.war-detail-metrics span {
	color: #98a4af;
	font-size: 0.72rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.war-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.war-flags span {
	opacity: 0.62;
}

.war-flags span.is-active {
	border-color: rgba(91, 183, 255, 0.45);
	background: rgba(42, 159, 214, 0.16);
	color: #d8effb;
	opacity: 1;
}

.war-eligible-section {
	margin-bottom: 1rem;
	padding-bottom: 0.1rem;
	overflow: visible;
}

.war-eligible-section .dataTables_wrapper {
	padding: 0.65rem;
}

.war-eligible-section table.datatable {
	margin-bottom: 0 !important;
}

@media only screen and (max-width: 991px) {
	.war-table-grid {
		grid-template-columns: 1fr;
	}

	.war-detail-score {
		grid-template-columns: 1fr;
	}

	.war-detail-side-defender {
		align-items: flex-start;
		text-align: left;
	}
}

@media only screen and (max-width: 767px) {
	.war-page-header {
		align-items: flex-start;
		flex-direction: column;
		padding: 0.7rem;
	}

	.war-page-header h1,
	.war-page-header h2 {
		font-size: 1.35rem;
	}

	.war-page-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.war-row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: stretch;
		margin: 0.45rem 0.45rem 0;
		row-gap: 0.4rem;
		padding: 0.55rem;
		background: #080808;
		border: 1px solid #282828;
		border-radius: 0.25rem;
	}

	.war-row-head {
		display: none;
	}

	.war-row:last-child {
		margin-bottom: 0.45rem;
		border-bottom: 1px solid #282828;
	}

	.war-entity-cell {
		grid-column: 1 / -1;
		min-height: 36px;
	}

	.war-defender-cell {
		grid-column: 1 / -1;
		justify-content: flex-start;
		text-align: left;
		order: 5;
	}

	.war-defender-cell img {
		order: -1;
	}

	.war-entity-link span {
		white-space: normal;
	}

	.war-num-cell {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.32rem 0.45rem;
		background: #101010;
		border: 1px solid #282828;
		border-radius: 0.2rem;
		text-align: right;
	}

	.war-num-cell::before {
		color: #aaa;
		font-size: 0.68rem;
		font-weight: 400;
		text-transform: uppercase;
	}

	.war-row > .war-num-cell:nth-child(2) {
		order: 2;
	}

	.war-row > .war-num-cell:nth-child(2)::before {
		content: "Kills";
	}

	.war-row > .war-num-cell:nth-child(3) {
		order: 3;
	}

	.war-row > .war-num-cell:nth-child(3)::before {
		content: "ISK";
	}

	.war-info-cell {
		grid-column: 1 / -1;
		order: 4;
	}

	.war-row > .war-num-cell:nth-child(5) {
		order: 6;
	}

	.war-row > .war-num-cell:nth-child(5)::before {
		content: "Kills";
	}

	.war-row > .war-num-cell:nth-child(6) {
		order: 7;
	}

	.war-row > .war-num-cell:nth-child(6)::before {
		content: "ISK";
	}

	.war-detail-dates,
	.war-flags {
		align-items: stretch;
		flex-direction: column;
	}

	.war-detail-metrics div {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.war-detail-side a {
		white-space: normal;
	}
}

.overview-top .progress {
	--bs-progress-height: 20px;
}

.no-stripe {
	background-color: black;
}

.table-no-hover tbody tr:hover td, .table tbody tr:hover th {
	background-color: transparent;
}

.alert-danger {
	background-color: #800000;
}

a {
	text-decoration: none;
}

table a, .table a {
	color: #66BFFF;
}

tr.heading {
	background-color: #000;
}

.nav .caret, .nav a:hover .caret {
	border-top-color: #888;
	border-bottom-color: #888;
}

input.datepicker {
	cursor: pointer !important;
	outline: none;
	color: #FFF; 
	width: 70px;
	background-color: #222;
	border: 1px solid #282828;	
	margin-right: 10px;
	margin-top: 0px !important;
	text-align: center;
}

pre {
	background-color: #000;
	font-weight: bold;
	color: #6E6E6E;
	border-color: #333;
}

.alltime-ranks {
    background-color: #060606;
}

.overview-top .table {
	--bs-table-bg: #000;
	--bs-table-accent-bg: #000;
	--bs-table-striped-bg: #000;
	--bs-table-hover-bg: #000;
}

.overview-top,
.overview-top table,
.overview-top tr,
.overview-top th,
.overview-top td,
.overview-top .table > :not(caption) > * > *,
.overview-top .alltime-ranks,
.overview-top .recent-ranks,
.overview-top .weekly-ranks {
	background-color: #000 !important;
}

.alert-success {
	background-color: green;
	border-color: green;
}

.alert-info {
	background-color: purple;
	border-color: solid 1px purple;
}

/*html, body {
    scrollbar-gutter: stable both-edges;
}*/

.table {
	--bs-table-color: #ababab;
	--bs-table-striped-color: #ababab;
	color: #ababab;
}

#usermenu-dropdown {
	display: flex;
	align-items: center;
	padding: 11px 15px;
}

#usermenu-dropdown #char-image {
	border-radius: 3px;
	border: 1px solid #333;
	background-color: #111;
	object-fit: cover;
}
