.header-container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 20px;
  min-height: 65px;
}

.site-logo {
  max-width: 165px;
  position: absolute;
  top: 15px;
  left: 15px;
}

.nav-column {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
}

.main-nav div {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
}


.fluke-gptie {
  max-height: 400px;
}

footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: small;
  color: #aeaeae;
  background: #eee;
  height: 75px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

header.header-container.fluke {
  background-color: #212121;
}

header.header-container.fnet {
  background-color: #0f3a6e;
}

header.header-container.fpi {
  background-color: #212121;
}

header.header-container.fcal {
  background-color: #000;
}

.main-nav {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.main-nav p,
.sub-nav p {
  margin-bottom: 10px;
}

.main-nav div {
  display: flex;
  justify-content: space-around;

}

.main-nav a {
  box-sizing: border-box;
  color: #6f6f6f;
  background-color: #ccc;
  border: 1px solid #ccc;
  padding: 10px;
  flex-grow: 1;
  cursor: pointer;
}

.main-nav a:hover {
  color: #6f6f6f;
  background-color: #aeaeae;
  border-color: #aeaeae;
}

.main-nav a.active {
  background-color: #ffc20e;
  border-color: #ffc20e;
  color: white;
  font-weight: bold;
}

#nav-endpoint a.active {
  background-color: #369;
  border-color: #003b78;
  color: white;
  font-weight: bold;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 10px;
  padding-top: 15%;
  margin: 0 auto;
  max-width: 1080px;
  flex-grow: 1;
  padding-bottom: 75px;
}

.main-content .left-column {
  flex: 1;
  padding: 10px;
}

.left-column p {
  font-size: small;
}

.main-content .right-column {
  flex: 3;
  padding: 10px;
  max-width: 50%;
}

header {
  padding: 0;
  text-align: center;
  position: fixed;
  width: 97%;
  height: 50px;
  ;
}

header nav {
  display: flex;
  justify-content: space-around;
}

header nav a {
  color: #333;
  text-decoration: none;
}


#last-message,
#response-time,
#data-layer,
#payload-sent {
  font-weight: bold;
}

#last-message-right,
#last-response-right,
#data-layer-right,
#payload-right {
  font-weight: normal;
}



/* Swapping endpoints is being troublesome */
#nav-endpoint {
  /*display: none; */
}

#language-select,
#country-select {
  width: 100%;
  padding: 10px;
  margin: 0 0 15px;
  border: none;
  border-radius: 5px;
  background-color: #f2f2f2;
  font-size: 16px;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Adds a custom dropdown arrow */
#language-select::after,
#country-select::after {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  /* Makes the arrow non-clickable */
}

#ui_update {
  width: 100%;
  font-weight: bold;
  box-sizing: border-box;
  color: #333;
  background-color: #ffc20e;
  border: 1px solid #ffc20e;
  padding: 10px;
  flex-grow: 1;
  cursor: pointer;
  margin-bottom: 15px;
}

/* Darke uiUpdate 10% on hover */
#ui_update:hover {
  background-color: #ffc20e;
  opacity: 0.9;
}

/* Add testing portal specific adjustments */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

.promo-pill {
  margin-bottom: 20px;
}

.promo-pill a {
  text-decoration: none;
}

body {
  font-family: 'Open Sans', sans-serif;
}

#chatbox {
  font-family: 'Open Sans', sans-serif;
  border-bottom: 10px solid #ADADAD;
  line-height: 1.5;
}

#user-input {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 20px;
  box-sizing: border-box;
  color: #212121;
  font-size: 16px;
  float: left;
  padding-right: 55px;
  /* Additional padding because the send button now sits over the input box */
}

@media screen and (min-width: 527px) {
  #chatbox {
    border-bottom: 0 solid #5A5A5A;
    line-height: 1.5;
  }

  #user-input {
    width: 85%;
    padding-right: 10px;
    max-width: 350px;
    max-height: 48px;
  }
}

.chat-button {
  right: 25px;
}

/* Back to top override only found on Fluke.com */
#backtotop {
  bottom: 9rem !important;
  z-index: 10 !important;
}