:root {
  --bodyHeightScale: 1;
}

html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
html body {
  -webkit-user-select: none;
  font-family: var(--font);
  font-size: calc(var(--viewportHeightRatio) * (36px / 21.6) * var(--currentPageHeight) / 100 );
  color: white;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

#highlight {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

#Electricity {
  width: 100%;
  height: 100%;
}
#Electricity[state=off] {
  display: none;
}
gfc605-element {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
gfc605-element #Mainframe {
  width: 55%;
  height: 54%;
  margin-left: 15%;
  margin-top: 2%;
  font-size: 2.5vw;
  color: white;
  /* background: linear-gradient(#00489a, #007ab5); */
}
gfc605-element #content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

gfc605-element #leftPart {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
gfc605-element #middlePart {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 43%;
}
gfc605-element #middleTopPart {
  display: flex;
  justify-content: space-between;
}
gfc605-element #middleBottomPart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
gfc605-element #armedVerticalModeAltBlock {
  display: flex;
  flex-direction: column;
}
gfc605-element #armedVerticalModeAltAlt .unit {
  padding-left: 1vw;
}

gfc605-element #rightPart {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}
gfc605-element #rightPart #message {
  text-align: right;
}

gfc605-element .separator {
  width: 0.5%;
  background-color: white;
  height: 80%;
  margin-top: 3%;
}

gfc605-element #leftPart >div, gfc605-element #middlePart #middleTopPart >div, gfc605-element #middlePart #middleBottomPart >div, gfc605-element #rightPart >div {
  padding: 0.5vw;
}

gfc605-element #activeLateralMode, gfc605-element #activeVerticalMode, gfc605-element #modeReference {
  font-size: 4vw;
}
gfc605-element #modeReference {
  display: flex;
  justify-content: flex-end;
  text-align: right;
}
gfc605-element #modeReferenceUnit {
  text-align: right;
  margin-top: -0.6vw;
}
gfc605-element #modeReferenceUpArrow, gfc605-element #modeReferenceDownArrow {
  font-size: 3vw;
  position: relative;
  top: 0.7vw;
  right: -0.4vw;
  display: none;
}
gfc605-element #modeReferenceUpArrow {
  display: inline;
}
