.swi1 {
  bottom: 25%;
}

#navbar-right a {
  min-height: 50px;
  line-height: 1.5;
}

.super {
  text-decoration: none;
  font-style: normal;
  vertical-align: super;
  font-size: 0.7em;
}

table em.super {
  color: black;
}

#subnavc-b1.subnav-contentClicked {
  width: 210px;
  height: 270px;
  margin-left: 2px;
  margin-right: auto;
  display: block;
  position: fixed;
  top: 54px;
  border-top-left-radius: 0px;
}

.swi2 {
  width: 45%;
  height: auto;
  margin-top: 20px;
  margin-left: 5%;
}

#inA:before {
  content: "Retain indoor heat";
  animation: changeIN 20s infinite linear;
}

#outA:before {
  content: "Exhaust air";
  animation: changeOUT 20s infinite linear;
}

@keyframes changeOUT {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  46% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  54% {
    opacity: 1;
  }
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    content: "Air supply";
  }
}

@keyframes changeIN {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  46% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  54% {
    opacity: 1;
  }
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    content: "Release heat indoors";
  }
}

.heat-savings-text {
  max-width: 21cm !important;
  margin: auto;
}

.pre-box {
  padding: 4px;
  padding-top: 19px;
  margin-top: -19px;
  border-style: solid;
  border-width: 1px;
  border-color: #666465;
  margin-left: 5px;
  margin-right: 5px;
  z-index: 1;
}

#hexaglot-p {
  margin-bottom: 10px;
}

.yellow-font-black-back {
  padding-left: 2px;
  padding-right: 2px;
}

#legend {
  display: flex;
  align-items: center;
  justify-items: center;
}

#legend img {
  height: 3vw;
  width: auto;
  margin: 0 5px 0px 15px;
}

.fgi1 {
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 3;
  grid-column: 2 / 5;
}

@media screen and (max-width: 800px) {
  .swi1 {
    bottom: 10%;
  }
  .swi2 {
    width: 70%;
  }
}

@media screen and (max-width: 580px) {
  .swi2 {
    width: 70%;
    margin-top: 80px;
  }

  #legend {
    font-size: 4vw;
  }

  #anib:disabled:after {
    content: "*";
  }

  .fgi1 {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 5;
    grid-column: 1 / 6;
  }
}
