*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-user-select: none;
  /* Safari */
  /* IE 10 and IE 11 */
  -moz-user-select: none;
  user-select: none;
  /* Standard syntax */
}

:root {
  --largura: 600px;
  --fontFamily: "Georgia";
  --referenciaFontsize: 14px;
  --areferenciaFontsize: 13px;
}

.body {
  margin: 0;
  padding: 0;
}

.container {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto auto;
  width: var(--largura);
  margin: auto;
}

.titulo {
  padding: 15px 0px 5px 0px;
  font-size: 25px;
  text-align: center;
}

.subt {
  font-size: 18px;
  text-align: center;
}

.rotas {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  justify-content: end;
  margin-bottom: 3px;
  margin-right: 3px;
}

.lang a {
  padding: 3px 12px 3px 12px;
  text-decoration: none;
  background-color: black;
  color: white;
  font-size: 11px;
  border-radius: 5px;
  margin-right: 3px;
}

.item {
  background-color: #9eecef;
  border-bottom: 3px solid rgb(194, 240, 249);
}

.item-1 {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
}

.item:last-child {
  border-bottom: none;
}

.item-2 {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 4px;
       column-gap: 4px;
}

.backmetodo {
  position: relative;
  margin: 8px 0px;
}
.backmetodo:hover .escolha, .backmetodo:focus .escolha {
  background-color: rgb(214, 212, 212);
}

.escolha {
  display: inline-block;
  position: relative;
  background: white;
  width: 90px;
  padding: 2px 5px 2px 0px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}
.escolha div:first-child {
  display: inline;
  padding: 0;
}

.estemetodo {
  text-align: center;
  font-size: 14px;
}

.aseta {
  position: absolute;
  right: 2px;
  top: 8px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: black transparent transparent transparent;
  transform: rotate(0deg);
}

.backmetodo-content {
  display: none;
  position: absolute;
  left: 0px;
  background-color: white;
  min-width: 90px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.backmetodo-content a {
  color: black;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
  margin-top: 1px;
  font-size: 14px;
  text-align: center;
  background-color: #ebecec;
}
.backmetodo-content a:hover {
  background-color: #ddd;
}

.rodaM {
  transform: rotateX(180deg);
}

.showM {
  display: block;
}

.caixa {
  display: grid;
  grid-template-columns: 0.1fr 3fr 0.1fr;
  grid-template-rows: auto 30px;
  justify-items: center;
  align-items: center;
  padding: 5px;
  margin-bottom: 10px;
}

.visor {
  grid-area: 1/1/1/4;
}

.doVisor {
  display: flex;
  align-items: center;
  justify-items: center;
}

.slide-value {
  font-family: var(--fontFamily);
  font-size: 16px;
  background-color: white;
  width: 80px;
  text-align: center;
  border-radius: 5px;
  padding: 0px 0px 2px 2px;
  color: black;
  margin: 5px 5px;
  border: none;
}

.orange {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 12px;
}

.orange::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
}

.orange::-moz-track {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 2px;
}

.orange::-ms-track {
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
}

.orange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background: rgb(65, 194, 15);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  margin-top: -9px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  border: 1px solid white;
}

.orange::-moz-range-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background: rgb(65, 194, 15);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  margin-top: -9px;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
  border: 1px solid white;
}

.orange::-ms-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  background: rgb(65, 194, 15);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  margin-top: -9px;
  -ms-transition: background 0.2s;
  transition: background 0.2s;
  border: 1px solid white;
}

.orange::-webkit-slider-thumb:hover {
  margin-top: -12px;
  height: 26px;
  width: 26px;
}

.orange::-moz-range-thumb:hover {
  margin-top: -12px;
  height: 26px;
  width: 26px;
}

.orange::-ms-thumb:hover {
  margin-top: -12px;
  height: 26px;
  width: 26px;
}

.orange:active::-webkit-slider-thumb {
  background: white;
  border: 2px solid rgb(65, 194, 15);
}

.orange:active::-moz-range-thumb {
  background: white;
  border: 2px solid rgb(65, 194, 15);
}

.orange:active::-ms-thumb {
  background: white;
  border: 2px solid rgb(65, 194, 15);
}

.mais,
.menos {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  border: 3px solid blue;
  margin: 0px 2px;
}

.omenos,
.omais {
  position: absolute;
  background-color: black;
  width: 18px;
  height: 4px;
  border-radius: 6px;
}

.omenos {
  transform: translate(3px, 10px);
}

.omais {
  transform: translate(3px, 10px);
}

.omais:last-child {
  transform: translate(3px, 10px) rotate(90deg);
}

/* dropdown menu */
.drop {
  position: relative;
}

.dropbtn {
  position: relative;
  background: white;
  width: 50px;
  padding: 4px 0px 4px 12px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
}

.dropbtn div:first-child {
  display: inline;
  padding: 0;
}

.opcao {
  text-align: center;
}

.seta {
  position: absolute;
  right: 2px;
  top: 8px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: black transparent transparent transparent;
  transform: rotate(0deg);
}

.drop:hover .dropbtn,
.drop:focus .dropbtn {
  background-color: rgb(214, 212, 212);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: white;
  min-width: 50px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
  margin-top: 1px;
  background-color: #ebecec;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

.roda {
  transform: rotateX(180deg);
}

.item-5 {
  display: grid;
  grid-template-columns: "auto";
  grid-template-rows: "auto auto";
  justify-content: center;
  align-items: center;
  justify-items: center;
  align-content: center;
}

.area {
  margin: 3px 0px;
}

#area {
  font-family: var(--fontFamily);
  font-size: 20px;
  width: 120px;
  border: none;
  text-align: center;
  border-radius: 5px;
  padding: 2px 0px 4px 0px;
  margin: 6px 0px 10px 0px;
}

.referencia,
.areferencia {
  padding: 2px 5px 4px 20px;
  text-indent: -15px;
  font-size: var(--referenciaFontsize);
  font-weight: bold;
}

.referencia {
  font-style: italic;
  text-decoration: underline;
}

.areferencia {
  font-size: var(--areferenciaFontsize);
  font-weight: normal;
}

@media screen and (max-width: 480px) {
  :root {
    --largura: 390px;
  }
}
@media screen and (max-width: 393px) {
  :root {
    --largura: 360px;
  }
}
@media screen and (max-width: 360px) {
  :root {
    --largura: 340px;
  }
}
@media screen and (max-width: 320px) {
  :root {
    --largura: 300px;
  }
}