@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@keyframes fadeIn {
  from {
	opacity: 0;
  }
  to {
	opacity: 1;
  }
}

/* Root */
:root {
	color-scheme: light only;
}

/* Font Definitions */
@font-face {
    font-family: "Lato-Light";
    src: url("fonts/Lato-Light.ttf") format('truetype');
}
@font-face {
    font-family: "Lato-Bold";
    src: url("fonts/Lato-Bold.ttf") format('truetype');
}
@font-face {
    font-family: "Lato-Thin";
    src: url("fonts/Lato-Thin.ttf") format('truetype');
}
@font-face {
    font-family: "Lato-Regular";
    src: url("fonts/Lato-Regular.ttf") format('truetype');
}

.Lato-Thin {
  font-family: "Lato-Thin", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.Lato-Light {
  font-family: "Lato-Light", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.Lato-Regular {
  font-family: "Lato-Regular", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.Lato-Bold {
  font-family: "LatoLato-Bold", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* General Styles */
body {
    margin: 0;
    font-family: 'Lato-Light', Arial, sans-serif;
    overflow-y: scroll;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -moz-text-size-adjust: none;
	color: black;
    background-color: white;
	background-image: url("../images/12bg.jpg");
	background-repeat:repeat-y;
	background-position: top 0px left 50%;
	background-size: auto;
}

/* background Text*/
.background-text {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	pointer-events: none;
	color: rgba(255, 255, 255, 1);
	font-size: 10px;
	font-weight: bold;
	white-space: pre-wrap;
	padding: 2vh;
	line-height: 1.4;
	letter-spacing: 12px;
}

/* Headings */
h1, h2 {
    font-style: normal;
    color: black;
    text-decoration: none;
    font-weight: bold;
}

h1 {
    font-size: 1em;
    line-height: 16.8px;
    padding: 0;
	text-transform: uppercase;
	font-family: 'Lato-Light', Arial, sans-serif;
}

h2 {
	font-size: 1.5em;
	line-height: 0;
	padding-bottom: 10px;
}

h3 {
	font-size: 0.7em;
	line-height: 0;
	text-transform: uppercase;
}

h4 {
	font-size: 1em;
	line-height: 0;
	text-transform: uppercase;
	font-family: 'Lato-Light', Arial, sans-serif;
	padding-bottom: 5px;
}

/* Paragraphs and Lists */
.box p, ul {
    line-height: 18px;
    text-decoration: none;
    padding: 0 15px;
}

.box ul {
	padding-left: 30px;
}

/* Images */
img {
  color-scheme: light only;
}

/* Links */
.q-l:link, .q-l:visited {
	text-decoration: none;
	color: black;
    border: none;
	font-size: 13px;
}

.q-l:hover, .q-l:focus-visible {
	font-family: 'Lato-Regular', Arial, sans-serif;
	color: orange;
	outline: none;
}

/* Symbols */
.symb {
    width: 12px;
    height: 12px;
	padding-right: 10px;
}

.symb-menu {
    width: 12px;
    height: 12px;
	cursor: pointer;
	padding-right: 5px;
	padding-left: 15px;
	padding-top: 3px;
	display: none;
}

/* Menu */
.menu {
    display: flex;
    justify-content: center;
	gap: 19px;
	font-family: 'Lato-Regular', Arial, sans-serif;
}

.menu a {
    text-decoration: none;
    transition: background 0.3s;
    font-size: 13px;
    min-width: fit-content;
	border-bottom: 3px rgba(0, 0, 0, 0) solid;
	cursor: pointer;
	/*text-transform: uppercase;*/
	padding-bottom: 0px;
}

.menu a:hover {
	border-bottom: 2px black solid;
	color: orange;
}

/* Page Visibility */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Header & Footer */
.header, .footer {
    position: fixed;
    width: 100%;
	/* background-image: url("../images/1bg.jpg"); */
	background-repeat: no-repeat;
	background-size: cover;
	background-color: white;
    text-align: center;
	left: 0;
	min-width: 380px;
}

.header {
    top: 0;
	/*background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 100%, rgba(0, 0, 0, 0) 100%);*/
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	padding-top: 10px;
    padding-bottom: 10px;
}

.header-tool-box {
	min-width: 100px;
	position: fixed;
	top: 7px;
	right: 0px;
    padding: 0px;
	background-color: rgba(0, 0, 0, 0);
	color: orange;
}

.header-logout {
	min-width: 80px;
	position: fixed;
	top: 5px;
	right: 80px;
}

.logo-img {
	position: fixed;
	height: 30px;
	top: 2px;
	left: 8px;
}

.footer {
    bottom: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	/*background: linear-gradient(to top, rgba(255, 255, 255, 1) 100%, rgba(0, 0, 0, 0) 100%);*/
    font-size: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	display: flex;
	justify-content: center;
}

.footer-discord-ico {
	color: black;
}

.footer-discord-ico:hover {
	color: orange;
}

/* Layout */
.tb-links {
    width: 100%;
    margin: 0 auto;
}

.content {
    margin-top: 71px;
    padding: 0;
    height: 100%;
    margin-bottom: 50px;
}

.box {
    margin-bottom: 35px;
    padding: 10px;
    background: linear-gradient(to right, transparent 0%, white 25%, white 75%, transparent 100%);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	padding-left: 30%;
    padding-right: 30%;
	font-size: 13px;
	font-weight: bold;
}

.news {
	font-family: 'Lato-Thin', Arial, sans-serif;
}

.news a {
	text-decoration: none;
	color: orange;
}

.news a:hover {
	text-decoration: none;
	color: black;
}

.news-title {
	padding-left: 15px;
}

.hw {
	font-family: 'Lato-Light', Arial, sans-serif;
}

.hw-div {
	display: none;
}

.hw-overview {
	margin: 10px;
	margin-bottom: 30px;
	padding-left: 5px;
	text-align: left;
	/* font-size: 8px; */
	border-spacing: 0;
	width: fit-content;
	display: none;
}

.hw-overview td {
	vertical-align: top;
	padding-right: 10px;
	padding-bottom: 8px;
	padding-top: 8px;
}

.hw-point {
	color: orange;
}

.hw-title {
	padding-bottom: 5px;
}

.hw-title td {
	font-family: 'Lato-Bold', Arial, sans-serif;
	border-bottom: 1px black solid;
	padding-bottom: 8px;
}

.hw-foot td {
	border-bottom: 1px black solid;
	padding-bottom: 8px;
}

.device-overview {
	display: flex;
	justify-content: center;
	/* padding-top: 10px; */
	padding: 10px;
}

.device-inventory {
	display: flex;
	/* justify-content: center; */
	/* padding-top: 10px; */
	padding-bottom: 15px;
}

.device-reserve {
	display: flex;
	padding-bottom: 15px;
}

.device {
	font-size: 11px;
}

.device-img {
	justify-content: center;
	display: flex;
	font-size: 50px;
}

.network {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	display: none;
}

.network-img {
	border-radius: 10px;
	height: 350px;
}

.ip-img {
	border-radius: 10px;
	height: 500px;
}

#box-vis {
	display: none;
}

.toggleDarkMode {
	position: fixed;
	top: 7px;
	left: 7px;
	width: 20px;
	height: 20px;
	padding: 0px;
	display: block;
	cursor: pointer;
	color: orange;
}

.toggleDarkMode:hover {
	color: black;
}

/* Login Form */
.login {
	margin: auto;
	position: absolute;
	height: fit-content;
	padding: 20px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	font-family: 'Lato-Bold', Arial, sans-serif;
	font-size: 16px;
    text-decoration: none;
	color: black;
	background: linear-gradient(to right, transparent 0%, white 30%, white 70%, transparent 100%);
	box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
	/*border-bottom: 2px white solid;
	border-top: 2px white solid;*/
	opacity:1;
    z-index: 1;
}

.login-btn {
	background-color: white;
	color: black;
	font-family: 'Lato-Regular', Arial, sans-serif;
	margin-top: 10px;
	margin-bottom: 10px;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
}

.login-btn:hover {
	color: orange;
	border-bottom: 2px solid black;
}

.login-logo {
	width: 100px;
	height: 100px;
	border: 6px white solid;
    border-radius: 100px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.body-login-page {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden;
	background-position: top 0px left 50%;
}

.signin {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 28px;
}

.login-fields {
	border: 1px solid white;
	border-radius: 5px;
	text-align: center;
	margin: 10px;
	background-color: white;
}

.login-fields:focus-visible {
    outline: none;
}

.logout-btn {
	/*background-color: rgba(0, 0, 0, 0);*/
	color: black;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 10px;
    min-width: fit-content;
	font-family: 'Lato-Light', Arial, sans-serif;
	border-bottom: 3px rgba(0, 0, 0, 0.5) solid;
	cursor: pointer;
	text-transform: uppercase;
	padding: 0;
	border: none;
	background: none;
	margin: 0 15px;
}

.logout-btn:hover {
	border-bottom: 2px black solid;
	color: orange;
}

/* Search */
.search {
    padding: 0;
}

.search-bar {
    width: 200px;
	height: 12px;
    border-radius: 4px;
    border: 1px solid white;
	font-family: 'Lato-Light', Arial, sans-serif;
	margin-top: -1px;
	position: fixed;
	font-size: 13px;
	top: 12px;
	left: 50px;
	/*text-transform: uppercase;*/
}

.search-bar:focus-visible {
    outline: none;
}

.search-results-table {
	width: 225px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: left;
	color: black;
	overflow-y: auto;
    display: block;
	max-height: 240px;
	/*border: 2px black solid;
	border-top: 2px black solid;
	border-bottom: 2px black solid;*/
}

.search-results-table::-webkit-scrollbar { 
    display: none;
}

.search-results-title {
    font-size: 13px;
    text-align: left;
	font-family: 'Lato-Bold', Arial, sans-serif;
	color: black;
	padding-bottom: 2px;
}

.search-results {
	top: 30px;
	left: 40px;
	position: fixed;
	background-color: white;
	opacity: 1;
	border-radius: 5px;
	border-bottom: 2px solid orange;
	/*background: linear-gradient(to right, transparent 0%, white 30%, white 70%, transparent 100%);*/
	box-shadow: 0px 8px 5px -5px rgba(0, 0, 0, 0.5);
}

/* Upload */
.upload-browse {
  border: 2px solid black;
  border-radius: 3px;
  padding: 5px 20px 5px 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: .5s;
  cursor: pointer;
  display: block;
  max-width: fit-content;
}

.upload-browse:hover {
  border: 2px solid orange;
}

#progressBar {
	width: 98%;
	background-color: #f3f3f3;
	margin-top: 10px;
	border-radius: 25px;
}

#progress {
	width: 0%;
	background-color: orange;
	color: white;
	border-radius: 25px;
	text-align: center;
}

#status {
	font-size: 14px;
	padding-bottom: 15px;
}

#uploadForm {
    text-decoration: none;
}

/* Dark Mode */
body.dark-mode {
	background-color: black;
	color: white;
	background-image: url("../images/11bg.jpg");
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p,
body.dark-mode .menu a,
body.dark-mode .search-results-title,
body.dark-mode .search-results-table,
body.dark-mode .box ul,
body.dark-mode .q-l,
body.dark-mode .header,
body.dark-mode .footer,
body.dark-mode .footer-discord-ico,
body.dark-mode .toggleDarkMode,
body.dark-mode .logout-btn,
body.dark-mode .signin {
	color: white;
}

body.dark-mode .menu a:hover,
body.dark-mode .footer-discord-ico:hover,
body.dark-mode .logout-btn:hover {
	color: orange;
	border-bottom: 2px white solid;
}

body.dark-mode .header,
body.dark-mode .footer {
	background-color: black;
	background-image: none;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

body.dark-mode .box,
body.dark-mode .login {
	background: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

body.dark-mode .search-results {
	background-color: black;
	border-color: orange;
}

body.dark-mode .login-btn,
body.dark-mode .search-bar {
	background-color: black;
	color: white;
}

body.dark-mode .search-bar {
	border: 1px solid black;
}

body.dark-mode .site-title,
body.dark-mode .q-l:focus-visible {
	color: orange;
    font-family: 'Lato-Regular', Arial, sans-serif;
	outline: none;
}

body.dark-mode .upload-browse {
    border: 2px solid white;
}

body.dark-mode .background-text {
	color: rgba(0, 0, 0, 1);
}

body.dark-mode .toggleDarkMode:hover,
body.dark-mode .q-l:hover {
	color: orange;
}

body.dark-mode .hw-title td {
	border-bottom: 1px white solid;
}

body.dark-mode .hw-foot td {
	border-bottom: 1px white solid;
}

/* Media Queries */
@media (max-width: 1200px) {
	.header-user-box, .header-user-info, .header-tool-box, .men-ico, .logo-img {
		display: none;
	}
    .header {
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 0px;
		padding-bottom: 10px;
		/*background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 100%, rgba(0, 0, 0, 0) 100%);*/
    }
	.header-logout {
		top: 33px;
		left: -10px;
		right: unset;
	}
	.search-bar {
		position: unset;
		margin-top: 10px;
		width: 255px;
		padding-left: 12px;
		margin-right: 18px;
	}
	.search-results {
		top: auto;
		left: auto;
	}
	.search-results-table {
		width: 270px;
		padding-left: 10px;
	}
    .menu {
        gap: 15px;
		padding-top: 7px;
    }
    .content {
        margin-top: 65px;
        margin-left: 0px;
        padding-top: 25px;
		margin-bottom: 50px;
    }
    .tb-links {
        width: auto;
    }
	.symb-menu {
		width: 20px;
		height: 20px;
		padding: 0px;
		display: block;
	}
	.symb-menu:hover {
		color: orange;
	}
	.box {
		background: linear-gradient(to right, transparent 0%, white 20%, white 80%, transparent 100%);
		margin-bottom: 25px;
		padding-left: 20%;
		padding-right: 20%;
	}
	body.dark-mode .box {
		background: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
	}
	.network {
		display: none;
	}
}

/* Media Queries */
@media (max-width: 800px) {
	.hw-overview {
		/* font-size: 6px; */
		display: none;
	}
	.hw-div {
		display: block;
	}
	.device-overview {
		display: none;
	}
}