table.innerlist {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1.1vw;
}
table.innerlist th {
  background-color: #aaa;
}
table.innerlist tr:nth-child(even) {
  background-color: #efefef;
}
table.innerlist th span,
table.innerlist td span{
  display: block;
  padding: .2em;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
table.innerlist th span.left,
table.innerlist td span.left {
  text-align: left;
}
table.innerlist th span.right,
table.innerlist td span.right {
  text-align: right;
}
table.innerlist td span.box{
  margin: .2em;
}
table.innerlist td span select {
  width: 100%;
  text-overflow: ellipsis;
  font-size: 1.0vw;
}
table.innerlist td span button{
  font-size: 1.0vw;
  line-height: 1.5vw;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
}
table.innerlist a {
  display: inline-block;
  height: 100%;
  width: 100%;
}
table.innerlist a:hover {
  background-color: #2d80be55;
}

table.innerlist.alarms th, table.innerlist.alarms td{
  border: none;
}
table.innerlist.alarms th:not(:first-child), table.innerlist.alarms td:not(:first-child){
  border-left: solid 1px #777;
}
table.innerlist.alarms th:not(:last-child), table.innerlist.alarms td:not(:last-child){
  border-right: solid 1px #777;
}

.table-toolbar {
  display: block;
  background-color: #efefef;
  text-align: right;
}
.table-toolbar button{
  font-size: 1vw;
  padding: .5vw;
  margin: .5vw;
  border: 1px solid #bbb;
  background-color: #ccc;
  cursor: pointer;
}
.table-toolbar button i{
  margin-right: 5px;
}


.alarm{
  background-color: #ad1e1e;
  color: white;
}
.stop{
  background-color: #ad1e1e;
  color: white;
}
.warning {
  background-color: #dba902 !important;
  color: white;
}
.run,
.ok {
  background-color: #14a007;
  color: white;
}
.offline{
  background-color: #7c7c7c;
  color: white;
}
.info{
  background-color: #7c7c7c;
  color: white;
}
.cloud,
.maintenance{
  background-color: #dba902;
  color: white;
}
.available{
  background-color: #00ccff;
  color: black;
}

.electrical {
  background-color: #21a815;
  color: white;
}
.gas {
  background-color: #b8ab00;
  color: black;
}
.hotwater {
  background-color: #ff0000;
  color: black;
}
.oil {
  background-color: #bd5c0c;
  color: white;
}
.coldwater {
  background-color: #0000ff;
  color: white;
}
.steam {
  background-color: #454545;
  color: white;
}

.fg_ok {
  color: #14a007 !important;
}
.fg_warning {
  color: #dba902 !important;
}
.fg_error {
  color: #ad1e1e !important;
}
.fg_offline {
  color: #7c7c7c !important;
}

.settings {
  background-color: #fae152 !important;
}

.plant-detail div[class^="detail-"] {
  border: 1px solid #888;
  position: relative;
}
.plant-detail div.svg-container {
  height: auto;
  width: 100%;
  border: 0px solid black;
}
.plant-detail *:after {
  position: absolute;
  top: 0;
  left: 0;
}
.plant-detail {
  display: grid;
  grid-gap: 6px 6px;
  grid-template-columns: 24% 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "vert box1 box2" "vert box3 box4";
}
.detail-vert {
  grid-area: vert;
}
.detail-box1 {
  grid-area: box1;
}
.detail-box2 {
  grid-area: box2;
}
.detail-box3 {
  grid-area: box3;
}
.detail-box4 {
  grid-area: box4;
}

.plant-detail header {
  width: 100%;
  height: 3vh;
  line-height: 3.1vh;
  text-align: center;
  vertical-align: top;
  color: white;
  font-weight: bold;
  font-size: 2.4vh;
}

.grid-graphic_echarts{
  width: 100%;
  height: 100%;
}

/******************************************
** HISTORICAL GRAPHIC PAGE
*******************************************/
#no-graphic{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-align: center;
}

.graphic-container{
  height: 100%;
  width: 100%;
}

.download-buttons {
  position: absolute;
  color: #5c5d5e;
  bottom: .5vh;
  right: .5vw;
}

.download-buttons i{
  cursor: pointer;
}

.data-table {
  visibility: hidden;
}

/******************************************
** PERIOD
*******************************************/
.period {
  display: flex!important;
  text-align: center;
  line-height: 2vh;
  font-size: .8vw;
}

.period .period-column {
  width: 40%;
  margin: 2px 5px;
}

.period .period-arrow {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.period .period-arrow:before {
  font-family: 'FontAwesome';
  content: '\f061'; 
  color: #5c5d5e;
}


/******************************************
** CONFIGURATOR
*******************************************/
.configurator .configurator-item{
  clear: both;
  display: block;
}

.configurator .configurator-item-toggle,
.configurator .configurator-item-body {
  display: none;
}

.configurator .configurator-item-toggle:checked ~ .configurator-item-body {
  display: flex!important;
}

.configurator .configurator-item-toggle-text {
  display: block;
  text-align: center;
  background-color: #a16850;
  color: #fff;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  padding: 2px;
  line-height: 2.2vh;
  font-size: 1.8vh;
  font-weight: bold;
}

.configurator .configurator-item-toggle:checked + .configurator-item-toggle-text{
  background-color: #4c1903;
}

.configurator .configurator-item-body-column {
  width: 50%;
  margin: 0 5px 2px;
}

.configurator .configurator-item-body-column.right{
  width: 70%;
}

.configurator .configurator-item-body-column.left{
  width: 30%;
}

.configurator .configurator-item-body-column label {
  display: inline-block;
  text-align: left;
  font-size: 2vh;
  color: #5c5d5e;
  width: 100%;
}

.configurator .configurator-item-body-column input {
  font-size: 2vh;
  color: #5c5d5e;
  border: 1px solid #999;
  width: 100%;
}

.configurator .configurator-item-body-column input:disabled {
  font-size: 2vh;
  color: #5c5d5e;
  border: 0;
  width: 100%;
}




select.my_select{
  background: white;
  width: 100%;
  font-size: 2vh;
}


/******************************************
** REALTIME PAGE
*******************************************/
.gauge-container{
  display: flex;
  flex-wrap: wrap;
}

.gauge-group {
  margin: 5px;
  width: 250px;
  padding: 10px;
  border: 1px dashed #cacaca;
}

.svg-container {
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 2px;
  height: 50px;
}

.svg-container .label {
  display: block;
  font-size: 0.75em;
}

svg {
  float: left;
}

svg rect,
svg line {
  fill: transparent;
  stroke-width: 1;
  stroke: black;
}
svg rect.gauge {
  stroke-width: 0;
  stroke: transparent;
/*  transition: width 0.8s ease-out;*/
}
.yellow {
  fill: #f8e913;
}
.green {
  fill: #21a815;
}
.red {
  fill: #bd0c0c;
}
.orange {
  fill: #f5ab00;
}
.cobalt {
  fill: #0f7c7c;
}
.blue {
  fill: #0f1a7c;
}
.gray {
  fill: gray;
}
.cyan {
  fill: cyan;
}

svg .axis {
  font-size: 0.55em;
  text-anchor: middle;
}
svg .value {
  font-size: 0.8em;
  text-anchor: middle;
}
div[data-page="page_11"] table {
  border-collapse: collapse;
  width: 100%;
  height: 90%;
}
div[data-page="page_11"] table td {
  border: 0px solid purple;
  width: 50%;
  vertical-align: middle;
}
.anag-plant {
  margin: 2px;
  font-size: 1.2vw;
  color: #2f2e35;
  line-height: 4vh;
}
.plant-details span.label {
  color: #a16850;
  font-style: italic;
  text-align: right;
  margin-right: 1vw;
}

.odd{
   background-color: #eee;
}

#spareparts-table-container{
  margin: 5px;
}


/******************************************
** PROGRESS BAR
*******************************************/
.progress {
  width: 100%;  
  border: 1px solid black;
  text-align: center;
  background: white;
}
.progress .text { 
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.progress.full{
  background: linear-gradient(to right, #14a007 var(--p, 50%), white 0);
}
.progress.full .text{
  background: linear-gradient(to right, white var(--p, 50%), #14a007 0);
  background-clip: text;
  -webkit-background-clip: text;
}
.progress.half{
  background: linear-gradient(to right, #dba902 var(--p, 50%), white 0);
}
.progress.half .text{
  background: linear-gradient(to right, white var(--p, 50%), #dba902 0);
  background-clip: text;
  -webkit-background-clip: text;
}
.progress.empty{
  background: linear-gradient(to right, #ad1e1e var(--p, 50%), white 0);
}
.progress.empty .text{
  background: linear-gradient(to right, white var(--p, 50%), #ad1e1e 0);
  background-clip: text;
  -webkit-background-clip: text;
}


/******************************************
** TABS
*******************************************/
.tabs {
  position: relative;
  margin-top: 1vw;
  background: #ccc;
}
.tabs::before,
.tabs::after {
  content: "";
  display: table;
}
.tabs::after {
  clear: both;
}
.tab {
  float: left;
  width: 12%;
}
.tab-switch {
  display: none;
}
.tab-label {
  font-size: 1.2vw;
  position: relative;
  display: block;
  height: 4.25vw; 
  padding: 0.5vw 1vw; 
  background: #ccc;
  border-right: 2px solid #bbb;
  cursor: pointer;
  top: 0;
}
.tab-label:hover {
  top: -0.5vw;
  transition: top 0.25s;
}
.tab-content {
  position: absolute;
  z-index: 1;
  top: 3.75vw;
  left: 0;
  display: none;
  border-width: 1vw 0.5vw 0.5vw 0.5vw;
  border-color: #efefef;
  border-style: solid;
}
.tab-switch:checked + .tab-label {
  background: #efefef;
  border-bottom: 0;
  border-right: 2px solid #efefef;
  z-index: 1;
  top: -0.25vw;
}
.tab-switch:checked + label + .tab-content {
  z-index: 2;
  display:block;
}
.tab-template {
  display: none;
}


.input-body{
  margin-left: 30px;
}
.input-body select{
  padding: 2px 5px;
}