:root {
	--loading-bar-height: 10px;
	--loading-bar-width: 180px;
	}

#version{display: none; position: fixed; left: 10px; bottom: 5px; z-index: 99; font-size: 0.7em; font-family: var(--font-default); color: rgba(0,0,0,0.4); }

.hide{
	display: none !important;
}

#loading{
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 8000;
	opacity: 0;
	pointer-events: none;
	}
#loading.active{
	pointer-events: all;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	opacity: 1;
	}
#loading-background{
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color: var(--main-color-dark);
	opacity: 0.94;
	}
div.loading-bar {
	width: var(--loading-bar-width);
	height: var(--loading-bar-height);
	background-color: #FFF;
	border-radius: 10px;
	margin-top: 25px;
	overflow: hidden;
	position: relative;
	-moz-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.5); 
	-webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,0.5); 
	box-shadow: inset 2px 2px 2px rgba(0,0,0,0.5);
	margin: auto auto 20px auto;
	outline: 3px solid #FFF;
	outline-offset: 4px;
	opacity: 1;
	}

div.loading-bar::after {
	content: '';
	width: 80px;
	height: var(--loading-bar-height);
	position: absolute;
	background-color: var(--color-alert);
	transform: translateX(-20px);
	animation: loading_loop 2500ms ease infinite;
	-moz-box-shadow: inset 0px 2px 2px rgba(0,0,0,0.5); 
	-webkit-box-shadow: inset 0px 2px 2px rgba(0,0,0,0.5); 
	box-shadow: inset 0px 2px 2px rgba(0,0,0,0.5);
	}
@keyframes loading_loop {
  0%,100% {
    transform: translateX(-80px);
  }
  20% {
    transform: translateX(var(--loading-bar-width))
  }
}

.loading-text{
	position: relative;
	text-align: center;
	font-size: 1.1em;
	font-family: var(--font-ui);
	margin-top: 20px;
	color: #FFF;
	}