/* reduce height of configurator iframe to account for height of <header> */

.rml-fill {
  height: 100%;
}

header {
  background-color: #fff;
  width: 100%;
  height: 50px;
}
#top {
  display: block;
  position: sticky;
  top: 0;
  z-index: 9999;
}

#logo img {
  height: 50px;
}

label {
  color: #444;
  font-family: "Gotham SSm A", "Gotham SSm B", "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700;
  margin-bottom: 5px !important;
}
div.submit button {
  font-family: "Gotham SSm A", "Gotham SSm B", "Montserrat", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 2px;
  width: auto;
  text-transform: uppercase;
}
div.submit button:hover {
  color: white !important;
}
.btn {
  background-color: #00457c !important;
  padding: 8px 18px 6px 18px;
}

iframe {
  border: none !important;
}

/* mobile friendly header */

.wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: white;
}

#menuToggle {
  position: relative !important;
  z-index: 1 !important;
  -webkit-user-select: none;
  user-select: none !important;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  -webkit-touch-callout: none;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: absolute;
  width: 200px;
  margin: -95px 0 0 -50px;
  padding: 20px 40px;
  background: white;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transition: right 0.5s;
  right: -300px;
  top: 80px;
  border: 1px solid lightgrey;
}

#menu li {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 500;
}

#menu li:hover {
  text-decoration: underline;
}

#menuToggle input:checked ~ ul {
  right: 0;
}

@media screen and (min-width: 769px) {
  #menuToggle {
    display: flex;
    align-items: center;
  }

  #menuToggle input,
  #menuToggle span {
    display: none;
  }

  #menu {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
    display: flex;
    flex-direction: row;
    border: none;
  }

  #menu li {
    padding: 0 10px;
    font-size: 16px;
  }

  #menu a {
    color: #232323;
  }
}
