/********************************************************************************
 * Copyright (c) 2024 Contributors to the Eclipse Foundation
 * 
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * https://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
 * v1.0 which is available at
 * https://www.eclipse.org/org/documents/edl-v10.php.
 * 
 * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
 ********************************************************************************/

#logo {
	display: inline-block;
	vertical-align: middle;
}

#logosvg {
	height: 40px;
	width: 40px;
	padding-right: 0.3em;
}

#title {
	display: inline-block;
	vertical-align: middle;
}

#devicestatus {
	font-size: x-small;
}

#devicestatuspage {
	font-size: x-small;
}

#deviceconfig {
	font-size: x-small;
}

#deviceconfigpage {
	font-size: x-small;
}

#deviceconfigpage tr.changed {
	background-color: lightyellow;
}

#devicechart {
	font-size: x-small;
}

#devicechartpage {
	font-size: x-small;
}

#diagnose {
	font-size: x-small;
}

#period,
#perioddec,
#periodinc,
#periodoutput,
#periodlabel {
	vertical-align: middle;
	font-size: small;
}

#periodlabel {
	padding: 2px 15px 2px 1px;
}

#period {
	padding: 2px 5px 2px 5px;
	width: 40%
}

#periodoutput {
	padding: 2px 1px 2px 15px;
}

#devicelist {
	text-align: left;
	vertical-align: middle;
	font-size: small;
}

#devicelist button.tb2,
#devicelist button.tb1 {
	background: lightgrey;
	border-radius: 0.2em;
	border: none;
	width: 100%
}

#devicelist button.tb2d,
#devicelist button.tb1d {
	background: gainsboro;
	border-radius: 0.2em;
	border: none;
	width: 100%
}

#devicelist tr.changed {
	background-color: LightYellow;
}

#devicelist tr.new {
	background-color: yellow;
}

#devicelist tr.warn {
	background-color: LightSalmon;
}

#devicelist tr.miss {
	background-color: red;
}

#devicelist tr.changed button.tb1 {
	background: Khaki;
}

#devicelist tr.new button.tb1 {
	background: orange;
}

#diagnose button.tb1 {
	background: lightgrey;
	border-radius: 0.2em;
	border: none;
	font-size: x-small;
}

#diagnose tr.current button.tb1{
	background: lightyellow;
}

#diagnose.button.tb1:focus,
#diagnose button.tb1:hover,
#devicelist button.tb1:focus,
#devicelist button.tb1:hover {
	box-shadow: .1em .1em 0.2em rgb(0 0 0 / .8) inset;
}

#error {
	font-size: small;
}

#loadview {
	font-size: small;
}

#progresstext {
	display: inline-block;
	width: 13em;
}

#loadprogress {
	display: inline-block;
	width: 50%;
	accent-color: lightyellow;
}

#loadprogress.ready {
	accent-color: lightgreen;
}

#version {
	text-align: center;
	font-size: x-small;
}

#tablist {
	list-style: none;
	margin: 0;
	padding: 0;
}

#tablist li {
	background-color: gainsboro;
	border: 1px solid black;
	border-bottom: none;
	border-radius: 0.2em 0.2em 0 0;
	display: inline;
	font-weight: bold;
	font-size: small;
	height: 1em;
	padding: 0.3em 0.5em 0.4em;
}

#tablist li:focus,
#tablist li:hover {
	background-color: #fffbc7;
}

#tablist li[aria-disabled="true"] {
	color: grey;
}

#tablist li[aria-selected="true"] {
	background-color: white;
	padding: 0.3em 0.5em 0.5em;
}

#tablist li[aria-hidden="true"] {
	display: none;
}

#tabcontent {
	background-color: white;
	border: 1px solid black;
	border-radius: 0 0.2em 0.2em 0.2em;
	margin-top: 0.3em;
	padding: 1em;
}

[aria-hidden="true"] {
	display: none;
}

[aria-hidden="false"] {
	display: block;
}