input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}
input[type=text], select, textarea{
	border: 1px solid gray;
}
html{
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}
body {
	margin: 0px;
	padding: 0px;
	font-size: 11px;
	font-family: verdana;
	color: #444444;
	overflow: hidden;
	width: 100%;
	height: 100%;

}
table{
	border-collapse: collapse;	
}
@media (orientation: landscape) {
	#content{
		display: flex;
		flex-direction: row;
	}
	#menu{
		display: flex;
		flex-direction: column;
		background-color: #2B82D4;
		border-right: 1px solid #FFFFFF;
	}
	#device_data{
		padding: 2px 2px 2px 2px;
		overflow-y: scroll;
	}
	#switchMaps{
		position: absolute;
		right: 10px;
		top: 10px;
		z-index: 1000;
	}
}

@media (orientation: portrait) {
	#content{
		display: flex;		
		flex-direction: column;
	}
	#menu{
		display: flex;
		flex-direction: row;
		background-color: #2B82D4;
	}
	#device_data{
		padding: 2px 2px 2px 2px;
		overflow-y: scroll;
	}
	#switchMaps{
		position: absolute;
		right: 2px;
		z-index: 1000;
	}
}
#follow{
	width:32px;
	height: 32px;
	background-image: url("../../img/follow-silver.svg");
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: 4px 4px;
	background-color: white;
	border: 1px solid gray;
	position: fixed;
	z-index: 1000;		
}

.device_data_panel{
	display: none;
}
.menu_button{
	background-color: #2B82D4;	
	display: flex;
	justify-content: center;
	cursor: pointer;
	margin: 4px auto 4px auto;
}

#select_object{
	background-image: url('../../img/search2.svg');
	background-repeat: no-repeat;
	background-size: 3vh 3vh;
	background-position: top right;
	border: none;
	border-bottom: 1px solid #2B82D4;
	font-size: 3vh;
	
}
#select_object-content{
	max-height: 100vh;
	max-height: calc(100 * var(--vh, 1vh));
	width: 90vw;
	width: calc(90 * var(--vw, 1vw));
	overflow-y: auto;
	position: absolute;
	z-index: 10000;
	background-color: white;
	border: 1px solid black;
	box-shadow: 0px 0px 3px #0F0F0F;
	border-radius: 3px 3px 3px 3px;
}
.select_object-group{
	padding: 3px 2px 2px 2px;
	border-bottom: 1px solid gray;
	font-weight: bold;
	color: gray;
}
.select_object-item{
	padding: 2px 2px 2px 2px;
	cursor: pointer;
}
#object_settings, #object_status{
	padding: 5px 5px 5px 5px;
	margin-top: 10px;
}
#object_settings table{
	width: 100%;
}
#object_settings table th, #object_settings table td{
	padding: 2px 2px 2px 2px;
}
#object_settings table th{
	text-align: left;
	vertical-align: top;
}
#object_settings table td input{
	width: 200px;
}
#object_settings table td select{
	width: 204px;	
}
#object_settings table td textarea{
	width: 200px;	
}
#save_object_settings{
	margin-left: 5px;
	margin-top: 3px;
}
#history table{
	width: 220px;
	margin: 10px auto 0px auto;
}
#history table th{
	text-align: left;
}
.object_detail_item{
	width: 300px;
	margin: 0px auto 0px auto;
	padding: 4px 2px 4px 2px;
	border-bottom: 1px solid silver;
}
.object_detail_item_caption{
	font-weight: bold;
	float: left;
	width: 150px;
}
.datetime-field{
	text-align: center;
}
#menu-settings, #menu-info, #menu-history, #menu-bell, #menu-sms{
	opacity: 0.2;
}
#show_history, #hide_history{
	width: 84px;
}
#events table, #sms table{
	width: 90%;
	margin: 10px auto 0px auto;
}
#events table th, #events table td, #sms table th, #sms table td{
	padding: 2px 4px 2px 4px;
}
#events table th, #sms table th{
	background-color: gray;
	color: white;
	text-align: center;
	border-bottom: 1px solid black;
}
#events table td, #sms table td{
	border-bottom: 1px solid gray;
}
#sms table td img{
	width: 24px;
	height: 24px;
}
#events table tr:nth-child(odd) td, #sms table tr:nth-child(odd) td{
	background-color: #EAEAEA;
}
.sms-request{
	margin: 5px 5px 5px 5px;
}