.bg {
	background: linear-gradient(to top, #242424, #414141);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	min-height: 100vh;
	width: 100%;
	margin: 0;
}

body {
	font-family: "Roboto", sans-serif;
	padding: 2em;
	margin: 0;
	box-sizing: border-box;
	overflow-x: hidden;
}

.table_main {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
	overflow: hidden;
	box-shadow: 1px 2px 4px 3px rgba(0, 0, 0, .33);
	box-sizing: border-box;
}

/* Desktop: fixed max-width so page width never changes */
@media (min-width: 1025px) {
	.table_main {
		max-width: 1200px;
	}
}

.content_main {
	padding: 20px;
	overflow-x: auto;
	overflow-y: visible;
	box-sizing: border-box;
	min-width: 0;
	border-top: 1px;
	border-bottom: 0px;
	border-left: 0px;
	border-right: 0px;
	border-color: #000000;
	border-style: solid;
	background-color: #3a3e44;
	font-family: "Roboto", sans-serif;
	font-size: small;
	color: rgb(124, 124, 124);
}

/* Header */
.header_with_bg_image {
	position: relative;
	height: 52px;
	min-height: 52px;
	max-height: 52px;
	padding: 0;
	vertical-align: middle;
	overflow: hidden;
}

.header_bg_image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	transition: filter 0.2s ease;
}

.header_gradient_overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
	z-index: 0;
	pointer-events: none;
}

.header_inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 10px;
	height: 100%;
	box-sizing: border-box;
}

.header_left {
	flex-shrink: 0;
}

.header_color {
	background-color: transparent;
}

.header_cell_left {
	vertical-align: middle;
}

.header_home_link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.header_home_link:hover {
	text-decoration: none;
}

.header_name {
	display: block;
	height: 100%;
	max-height: 40px;
	width: auto;
	object-fit: contain;
	object-position: left bottom;
	padding-bottom: 6px;
}

.header_link {
	color: rgb(140, 140, 140);
	text-decoration: none;
	margin-right: 12px;
	font-size: small;
	vertical-align: middle;
}
.header_link:hover {
	color: rgb(200, 200, 200);
}

.imglinkas {
	border: 2px solid rgb(32, 32, 32);
	margin-left: 4px;
	transition: filter 0.25s;
	border-radius: 7px;
}

/* Header socials: follow header (desaturate as mouse down); start full color at top */
/* Footer icon: saturate as mouse down; start desaturated at top */
.footer_bar .imglinkas {
	filter: grayscale(100%);
	margin-left: 0;
	width: 20px;
	height: 20px;
	object-fit: cover;
	border-radius: 4px;
}
.footer_bar .imglinkas:hover {
	padding: 0px;
	filter: grayscale(0%);
	border: 2px solid #777777;
	border-radius: 5px;
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.5);
}

a.image:link {
	color: #111111;
	text-decoration: none;
}

a.image:visited {
	color: #111111;
	text-decoration: none;
}

a.image:active {
	color: #111111;
	text-decoration: none;
}

.footer_bar {
	background-color: #000000;
	padding: 0;
	vertical-align: middle;
	line-height: 0;
}

.footer_bar_inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 36px;
	padding: 0 10px 0 0;
	box-sizing: border-box;
}

.footer_bar_inner .image {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
}

.footer_bar_inner .imglinkas {
	display: block;
	vertical-align: middle;
}

/* Mobile: ensure padding on all sides, allow layout to shrink */
@media (max-width: 1024px) {
	body {
		padding: 1rem;
	}
	.table_main {
		min-width: 0;
		width: 100%;
	}
	.content_main {
		padding: 1rem;
	}
}
