* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@media screen {
	div#preloader {
		position: absolute;
		left: -9999px;
		top:  -9999px;
		}
	div#preloader img {
		display: block;
		}
	}
@media print {
	div#preloader, 
	div#preloader img {
		visibility: hidden;
		display: none;
		}
	}

html {
	font-size: 100%;
	font-family: Arial, Helvetica, sans-serif;
}


.page_header {
	height: 50px;
}

.page_header .container{
	display:flex;
	justify-content: space-between;
	background: #ee7623;
	height: 100%;
	align-items: center;

}

.page_header .container .left{
	display:flex;
	justify-content: space-between;
	background: #ee7623;
	height: 100%;
	align-items: center;

}

.page_header .container ul {
	display: flex;
	flex-basis: 100px;
	justify-content:space-evenly;
}

.page_header .container a {
	color: white;
	text-decoration: none;
	white-space: nowrap;
}

.page_header ul li {
	list-style: none;
	margin: 10px;
}

.page_main {
	margin: 20px;
}

.page_main .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.page_main .container form {
	display:flex;
	flex-basis: 100px;
	flex-direction: column;
}

input {
	display:inline-flex;
	align-items: center;
	height: 30px;
	border-radius: 5px;
	border: 1px solid gray;
	padding: 10px;
	margin: 10px;
}

input[type="file"] {
	height: 45px;
}

button {
	display:inline-flex;
	align-items: center;
	background-color: #CCCCCC;
	height: 30px;
	border-radius: 5px;
	border: 1px solid gray;
	padding: 0px;
	margin: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	width: 200px;
display:table-cell;
vertical-align:middle;
}

select {
	height: 30px;
	border-radius: 5px;
	border: 1px solid gray;
	margin: 10px;
}

button:hover {
	background-color: #ee7623;
}

.page_footer {
	height: 50px;
	font-size: 10px;
}

.page_footer .container {
	display:flex;
	align-items: center;
	height: 100%;
	background: #ee7623;
}

nav {
	position:absolute;
	background:grey;
	top:50px;
	width: 200px;
	left:-100%;
	transition: all .2s;
}

nav .container {
	display:flex;
	flex-direction: column;	
}

nav ul {
	display:flex;
	flex-direction: column;
	list-style: none;
}

nav ul li {
	margin:10px;
}

a {
	color:white;
	text-decoration: none;
	padding:5px;
}

.href-sub {
	font-size: 10px;
	margin:0px;
}

ul a:hover {
	border-radius: 5px;
	border: 1px solid white;
}

#check:checked ~ nav{
	left:0px;
} 


/*Form container*/

.form_container{
	background: #ee7623;
	padding: 30px 30px;
	border-radius:5px;
}

.form_container label{
	color: white;
	font-size: 12px;
}

.form_container button{
	font-size: 12px;
	margin-top: 30px;
	padding: 10px 10px;
}

.error-message {
	color: red;
}

.button_check {
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    -webkit-appearance: none;
    outline: 0;
}

.button_check:checked {
    background-image: url(../img/menu.svg);
}

.button_check:not(:checked) {
    background-image: url(../img/menu.svg);
}

.loading-bar{
	border-radius: 5px;
	border: 1px solid gray;
	height: 30px;
}

.loading-bar-fill{
	border-radius: 5px;
	height: 28px;
	background-color: #ee7623;;
}

select{ 
	height: 30px;
	border-radius: 5px;
	border: 1px solid gray;
	padding-left: 10px;
}


/*Table styling*/
table {
	border-collapse: collapse;
	box-shadow: 0 5px 10px gray;
	background-color: white;
	text-align: center;
	overflow: hidden;
}

thead {
    background-color: lightgray;
/*	box-shadow: 0 5px 10px gray;*/
}

th {
	padding:0.4rem 0.4rem;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	font-size:0.7rem;
	font-weight: 900;
}

td {
	width: 100%;
	padding:0.2rem 0.2rem;
}

#wgt-device-container{
	width: 80%;
}

.wgt-device {

	width: 100%;
	border-top: 5px solid #ee7623;
	margin-bottom: 30px;

	display: flex;
	flex-direction: column;
	align-items: center;
	list-style: none;
}

.wgt-device-btn {
	font-size:1rem;
	width: 200px;
	margin:2px;
}

.wgt-device-btn-small {
	font-size:1rem;
	width: 100px;
	margin:2px;
}

.wgt-device-header-text {
	text-transform: uppercase;
	margin:10px;
}

.wgt-device-table-text {
	margin:5px;
}

.wgt-device-table {
	margin-bottom:15px;
	table-layout: fixed;
	width: 100%;
}

.wgt-device-io {
	display: flex;
	justify-content: center;
	flex-direction: row;
}

.wgt-device-io-element {
	font-size:1rem;
	width: 200px;
	margin:2px;

}

.wgt-device-io-btn {
	width: 15px;

}

@media (max-width: 1200px){

	#wgt-device-container{
		width: 100%;
	}

} 

  
.message-box{
	background:#f0f0f0;
	width: 250px;
	box-shadow: 4px 4px 8px 0px rgba(0,0,0,0.31);
	border-radius:1em;
	top: 0%;
    left: 25%;
	overflow:hidden;
	display:flex;
	flex-wrap:wrap;
	max-width:40em;
	margin:20em auto;
	font-size:1rem;
	padding:1em;
	position: fixed;
	z-index:100;
	
}

