/* @import url("menu.css");
@import url("form.css");
@import url("widgets.css");
@import url("special_widgets.css");
@import url("graph.css"); */

@font-face {
	font-family: 'digital-7';
	src: url('../fonts/digital-7.ttf');
}

@font-face {
	font-family: 'main_font';
	src: url('../fonts/Archivo-VariableFont_wdth,wght.ttf');
	font-weight: 500;
}

:root {
	--widget_and_content_bg: #04090dee;
	--widget_and_content_inner_bg: #02050787;
	--widget_and_content_border: 1px solid #000000;
	--sub_content_bg: #04090d;
	--menu_background_color: #D9b98c;
	--sub_menu_background_color: #b88031;
	--button_bg_color: #000000;
	--button_bg_color_hover: #b88031;
	--button_text_color: #FFFFFF;
	--button_text_color_inactive: #222222;
	--button_border: 1px solid var(--menu_background_color);
	--h2_color: #49c5b6;
}

html {
	height: 100.0%;
}

body {
	background-image: url("../images/modern-6230891.ai.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	font-size: clamp(0.3rem, 1.1vw, 5vh);
	font-family: 'main_font';
	margin: 0%;
}

@media (max-aspect-ratio: 1.4) {
	body {
		font-size: clamp(0.3rem, 1.3vw, 5vh);
	}
}

.body_fullscreen {
	box-sizing: border-box;
	height: 100%;
	padding-top: 0.5%;
	padding-bottom: 0.5%;
}

#main {
	display: block;
	width: 99%;
	margin: auto;
	height: 100%;
}

a,
a:link,
a:active,
a:visited {
	color: #111;
	text-decoration: underline;
}

a:hover {
	color: #555;
}


#content {
	height: 100%;
}

#footer {
	position: fixed;
	bottom: 0;
	z-index: 10000;
	width: 100%;
	padding: 1em;
	text-align: center;
	font-size: 0.7em;
	background: var(--menu_background_color);
	border-bottom: 1px solid #141414;
	overflow: hidden;
	height: 1.5em;
}

#header_block {
	display: block;
	height: 5.5em;
	clear: both;
}

#footer_block {
	display: block;
	height: 3.5em;
	clear: both;
}

.horizontal_flex {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.large_margin {
	margin: 0px 15px;
}

.vertical_flex {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.horizontal_grid {
	display: grid;
	grid-gap: 2.5px;
	grid-template-rows: 100%;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
}

.vertical_grid {
	display: grid;
	grid-gap: 2.5px;
	grid-template-columns: 100%;
	grid-auto-rows: 1fr;
	grid-auto-flow: row;
}

.grow {
	flex-grow: 1;
}

.center_text {
	text-align: center;
}

.flex_distribute_center {
	justify-content: center;
}

.box_content {
	background-color: var(--widget_and_content_bg);
	border: var(--widget_and_content_border);
	border-radius: 0.2em;
	font-size: 1em;
	padding: 0.8em;
	color: #fff;
}

.box_content a,
.box_content a:link,
.box_content a:active,
.box_content a:visited {
	color: var(--h2_color);
	text-decoration: none;
}

.box_content a:hover {
	color: #ccc;
}

.sub_content_box {
	box-sizing: border-box;
	margin: 0.2em;
	border-radius: 0.2em;
	border: 1px solid black;
	background-color: var(--sub_content_bg);
	padding: 0.5em;
}

.box_relative {
	position: relative;
}

.form_login_box {
	width: clamp(300px, 40%, 90%);
	margin-left: auto;
	margin-right: auto;
}

.logger_line {
	background-color: #eee;
	border: 1px solid #CCC;
	border-radius: 5px;
	font-size: 0.8em;
	margin-bottom: 5px;
	padding: 5px;
}

/** depracated: table in widget **/
.table_info_box {
	width: 100%;
	font-size: 0.7em;
	table-layout: fixed;
}

/** depracated: table in widget **/
.table_info_box tr td:first-child {
	font-weight: bold;
}

.div_table_info_box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 1em 1em;
	font-size: 0.8em;
}

.div_table_info_box div:nth-child(2n-1) {
	font-weight: bold;
}

.div_single_column_table_info_box {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	font-size: 0.8em;
}

table.data_table {
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}

table.data_table td,
table.data_table th {
	border-bottom: 1px solid #444444;
	padding: 0.5em;
}

table.data_table thead {
	background: #070707;
	border-top: 2px solid #444444;
	border-bottom: 2px solid #444444;
}

table.data_table thead tr {
	font-size: 1em;
	font-weight: bold;
	color: #FFFFFF;
}

table.data_table tbody {
	background: #232323;
	border-top: 2px solid #444444;
	border-bottom: 2px solid #444444;
}

table.data_table tbody td {
	font-size: 0.6em;
}

table.data_table tr:nth-child(even) {
	background: #1a1a1a;
}

table.data_table tr td:first-child {
	font-weight: bold;
}

.data_table a,
.data_table a:visited,
.data_table a:active,
.data_table a:link {
	display: flex;
	align-items: center;
	height: 1.5em;
	border: var(--button_border);
	border-radius: 0.3em;
	background: var(--button_bg_color);
	color: var(--button_text_color);
	padding: 0.3em;
	text-decoration: none;
	margin-bottom: 0.3em;
	justify-content: center;
}

.data_table a:last-child {
	margin-bottom: 0;
}

.data_table a:hover {
	background: var(--button_bg_color_hover);
}

.table_cell_red_backgroud {
	background-color: rgb(77, 19, 19);
}

.table_cell_yellow_backgroud {
	background-color: rgb(148, 144, 28);
}

.table_cell_green_backgroud {
	background-color: rgb(18, 66, 18);
}

.smaller_text {
	font-size: 0.8em;
}

.data_table_description {
	font-size: 0.8em;
	font-weight: bold;
	padding-left: 0.5em;
}

.green_text {
	color: #008000;
}

.light_green_text {
	color: #80ff80;
}

.yellow_text {
	color: #ffff80;
}

.red_text {
	color: red;
}

.dark_red_text {
	color: #800040;
}

h1 {
	font-size: 1.5em;
	font-weight: bold;
	margin-left: 0.4em;
}

h2 {
	font-size: 1.3em;
	font-weight: bold;
	margin-top: 0.7em;
	margin-bottom: 0.5em;
	color: var(--h2_color);
}

h2:first-of-type {
	margin-top: 0em;
}

pre {
	overflow-x: auto;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}

.info {
	border: 1px solid #002b48;
	background-color: #1C6EA4;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding: 0.5em;
	color: #fff;
	font-weight: bold;
}

.warn {
	border: 1px solid #b1960f;
	background-color: #e6d308;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding: 0.5em;
	color: #000;
	font-weight: bold;
}

.error {
	border: 1px solid #480000;
	background-color: #a41c1c;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding: 0.5em;
	color: #fff;
	font-weight: bold;
}

.paginator {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 1em;
	margin-bottom: 1em;
}

.paginator_current_page,
.paginator_page *,
.paginator_page a,
.paginator_page a:visited,
.paginator_page a:active,
.paginator_page a:link {
	border: var(--button_border);
	background: var(--button_bg_color);
	color: var(--button_text_color);
	justify-content: center;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
	box-sizing: border-box; /* Ensures padding does not affect overall dimensions */
	width: 2em; /* Set a specific dimension or use a variable */
	height: 2em; /* Height matches the width */
	display: inline-block; /* Allows width and height to take effect */
	text-align: center; /* Centers text horizontally */
	line-height: 2em; /* Centers text vertically */
}

.paginator_page .inactive {
	color: var(--button_text_color_inactive);
}

.paginator_current_page {
	background: var(--button_bg_color_hover);
}

.paginator_page a:hover {
	background: var(--button_bg_color_hover);
}

.left_margin {
	margin-left: 1em;
}

.vertical_center {
	margin-top: auto;
	margin-bottom: auto;
}

.text_align_left {
	text-align: left;
}

.no_overflow {
	overflow: hidden;
}

.vertical_spacer {
	height: 1em;
}

.width_33 {
	width: 33%;
}

.auto_height {
	height: auto !important;
}

.help_text {
	background-image: url("../images/216643_help_icon.svg");
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.5em;
}

.help_text:hover .help_text_popup {
	visibility: visible;
}

.help_text_popup {
	width: 40em;
	text-wrap: wrap;
	display: block;
	visibility: hidden;
	position: absolute;
	top: 125%;
	left: 50%;
	background-color: var(--button_bg_color);
	border: var(--button_border);
	padding: 0.5em;
	text-align: center;
	font-size: 0.7em;
}
