
@font-face {
  font-family: "OpenSans_Condensed";
  src: url("/assets/fonts/OpenSans_SemiCondensed-Medium.ttf");
  font-display: swap;
  font-weight: 300;
}

body
{
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-family: OpenSans_Condensed, sans-serif;
	font-weight: 300;
	color: rgba(40, 20, 40, 1);
	background-color: #ffffff;
}

#wrapper
{
	display: block;
	width: 100vw;
	height: 100vh;
}
#logo_holder
{
	width: 100vw;
	height: 20vh;
	background-color: #ffffff;
	display: inline-block;
  vertical-align: middle;
  text-align: center;
}
#logo_wrapper
{
	width: 100vw;
	height: 20vh;
	display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#logo_holder img
{
	display: inline-block;
	max-width: 80vw;
	height: 16vh;
}
#main
{
	width: 100vw;
	height: 50vh;
	background-color: #eeeeee;
	display: inline-block;
  vertical-align: middle;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
#footer
{
	width: 100vw;
	height: 20vh;
	background-color: #ffffff;
	display: inline-block;
  vertical-align: middle;
  text-align: center;
}

.text-h
{
	font-weight: bold;
	color: #0220AE;
	font-size: 16px;
}
#deveices_holder
{
	width: 600px;
	height: 400px;
	display: inline-block;
	padding: 0;
	text-align: left;
}
.device_holder
{
	width: 200px;
	height: 200px;
	float: left;
	display: block;
  text-align: center;
}
.device
{
	width: 180px;
	height: 180px;
	display: inline-block;
	background-color: #ffffff;
	margin: 10px;
	margin-bottom: 0px;
	box-sizing: border-box;
	border-radius: 10px;
	border: #cccccc solid 1px;
	position: relative;
	text-align: center;
	padding-top: 20px;
}
.device::before
{
	content: "";
	position: absolute;
	width: 20px;
	height: 10px;
	background-color: #ffffff;
	bottom: -10px;
	left: 50px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border: #cccccc solid 1px;
	box-sizing: border-box;
}
.device::after
{
	content: "";
	position: absolute;
	width: 20px;
	height: 10px;
	background-color: #ffffff;
	bottom: -10px;
	right: 50px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border: #cccccc solid 1px;
	box-sizing: border-box;
}
.device .led_ring
{
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #ffffff;
	display: inline-block;
	border: #CCCCCC solid 8px;
	box-shadow: 0 0 20px 5px rgba(150, 150, 150, 0.4);
	margin-bottom: 10px;
}
.device.unknown .led_ring
{
	border: #1E74CA solid 8px;
	box-shadow: 0 0 20px 5px rgba(30, 116, 202, 0.4);
}
.device.idle_ready .led_ring, .device.closed .led_ring, .device.opening .led_ring, .device.closing .led_ring, .device.open .led_ring
{
	border: #00CC00 solid 8px;
	box-shadow: 0 0 20px 5px rgba(0, 150, 0, 0.4);
}
.device.idle_progress .led_ring, .device.analyzing .led_ring
{
	border: #CC0000 solid 8px;
	box-shadow: 0 0 10px 2px rgba(150, 0, 0, 0.4);
}
.device.analyzing_done .led_ring
{
	border: #DA740E solid 8px;
	box-shadow: 0 0 10px 2px rgba(218, 116, 14, 0.4);
}


.device_text_main
{
	color: #CCCCCC;
	font-size: 19px;
	font-weight: bold;
	line-height: 32px;
}
.device.idle_ready .device_text_main, .device.closed .device_text_main, .device.opening .device_text_main, .device.closing .device_text_main, .device.open .device_text_main
{
	color: #00CC00;
}
.device.idle_progress .device_text_main, .device.analyzing .device_text_main
{
	color: #CC0000;
}
.device.analyzing_done .device_text_main
{
	color: #DA740E;
}
.device.unknown .device_text_main
{
	color: #1E74CA;
}



.device_text_second
{
	line-height: 26px;
	color: #666666;
	font-weight: bold;
}

#footer_wrapper
{
	display: table-cell;
	vertical-align: middle;
  text-align: center;
  height: 20vh;
  width: 100vw;
}
#footer_wrapper button
{
	display: inline-block;
	border: #cccccc solid 1px;
	border-radius: 10px;
	background-color: #ffffff;
	outline: none;
	padding: 14px;
	width: 600px;
}
#footer_wrapper button#back_to_devices, #footer_wrapper button#back_to_results
{
	width: 200px;
	position: relative;
	left: -200px;
}

#results_overview, #results_details
{
	width: 600px;
	display: inline-block;
}
#results_overview_table, #results_details_top_table, #results_details_middle_table, #results_details_bottom_table
{
	width: 100%;
}

#results_overview_table td, #results_overview_table th
{
	text-align: left;
}
#results_overview_table th
{
	font-weight: bold;
	color: #0220AE;
	font-size: 16px;
}

#results_details_top_table td:nth-child(odd)
{
	font-weight: bold;
	color: #0220AE;
	font-size: 16px;
}
#results_details_middle_table td:nth-child(1)
{
	font-weight: bold;
	color: #0220AE;
	font-size: 16px;
}
#results_details_bottom_table td:nth-child(2)
{
	font-weight: bold;
	color: #0220AE;
	font-size: 16px;
}

/*
#main_box
{
	width: 100vw;
	height: 100vh;
	background-color: #ffffff;
	display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#door_status
{
	min-height: 50px;
}
#main_button
{
	user-select: none;
	transition: 0.3s;
}
.disconnected
{
	border: #CC0000 solid 4px;
	box-shadow: 0 0 20px 5px rgba(150, 0, 0, 0.4);
}
.connecting
{
	border: #CCCC00 solid 4px;
	box-shadow: 0 0 20px 5px rgba(150, 150, 0, 0.4);
}
.connected
{
	border: #00CC00 solid 4px;
	box-shadow: 0 0 20px 5px rgba(0, 150, 0, 0.4);
}
*/
#sound_connect
{
	display: none;
}
/*
#output
{
	position: fixed;
	left: 0px;
	bottom: 0px;
	width: 100vw;
	height: 40vh;
	text-align: center;
	font-size: 10px;
	background-color: #000000;
	color: #00CC00;
	display: none;
}
*/
#refresh
{
	position: fixed;
	top: 50px;
	left: 50px;
	background: #FFFFFF;
	box-shadow: 0 1px 3px 0 rgba(0,0,0,0.20);
	padding: 8px;
	border: 0;
	border-radius: 4px;
	margin: 0 auto;
	display: block;
	.icon {
		fill: #323232;
	}
	&:hover {
		background: #eeeeee;
		cursor: pointer;
	}
}

#overlay
{
	position: fixed;
	z-index: 1000;
	left: 0px;
	top: 0px;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.3);
	display: none;
	transition: 0.8s;
}
#popup
{
	position: fixed;
	z-index: 1001;
	width: 800px;
	min-height: 200px;
	background-color: #ffffff;
	border-radius: 10px;
	border: #cccccc solid 1px;
	left: calc((100vw - 800px) / 2);
	top: calc((100vh - 200px) / 2);
	box-sizing: border-box;
	padding: 50px;
	text-align: center;
	display: none;
}
#buttons_holder
{
	width: 700px;
	position: relative;
}
#buttons_holder .button
{
	position: absolute;
	width: 46%;
	background-color: #cccccc;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 10px;
	cursor: pointer;
}
#buttons_holder .button_left
{
	left: 0px
}
#buttons_holder .button_right
{
	right: 0px
}