.TabLayout {
  display: flex !important;
  justify-content: space-around;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch !important;
}


.TabBtns {
  flex: 1;
  display:inline-flex;
  box-sizing: border-box;
  float: left;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  clear: left;
  margin: 6px 5px 0 0;
  overflow: hidden;
  text-align: center;
  justify-content: center;
  container-type: inline-size;
}

.TabContents {
  flex: 6;
  text-align: center;
  overflow: hidden;
}

.TabCont {
  display: block;
  opacity: 0;
}

.TabBtn,
.TabBtn:link {
  background-color: deepskyblue;
  color: black !important;
  text-decoration: none;
  padding: 8px 8px;
  height: 2em;
  width: 100%;
  line-height: 1;
  float: left;
  /*border-bottom: 1px solid black;*/
  /*outline: solid;*/
  font-family: monospace;
  font-size: calc((100cqi - 6px) / 18);
  /*font-size: 1cqi;*/
  /*font-size: var(--btnFntSze);*/
  display: flex;
  justify-content: center; /* Centers text horizontally (X) */
  align-items: center; /* Centers text vertically (Y) */

  text-align: left;
  vertical-align: middle;
  cursor: pointer;
  box-sizing: border-box;
  margin: 1px 4px 0px 8px;
}

  /* Change background color of buttons on hover */
  .TabBtn:hover {
    background-color: #ddd;
    box-sizing: border-box
  }

  /* Create an active/current "tab button" class */
  .TabBtn.active {
    background-color: #ccc;
    box-sizing: border-box
  }


