*,
*::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 */
}

body {
  margin: 0;
  padding: 0;
}

:root {
  --largura: 600px;
  --tituloFontsize: 25px;
  --subtituloFontsize: 20px;
  --subsubtit: 20px;
  --larguraOpcao: 300px;
  --co2: 0px;
  --noco2: 159px;
  --referenciaFontsize: 16px;
  --areferenciaFontsize: 15px;
}

.container {
  position: relative;
  width: var(--largura);
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto var(--noco2) var(--co2) auto auto auto auto auto auto;
  margin-left: auto;
  margin-right: auto;
}

.titulo {
  padding: 15px 0px 5px 0px;
  font-size: var(--tituloFontsize);
  text-align: center;
}

.subt {
  font-size: var(--subtituloFontsize);
  text-align: center;
}

.rotas {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  justify-items: start;
  align-items: start;
  margin-bottom: 3px;
  margin-right: 3px;
}

#reset {
  margin-left: 5px;
  font-size: 11px;
}

.lang {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.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);
  overflow: hidden;
}

.grade {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  row-gap: 5px;
  justify-items: center;
  align-items: center;
  padding: 10px;
}

.subsubtit {
  font-size: var(--subsubtit);
}

#resp,
#oxigen,
#co2,
#satNco2,
#satCo2,
#temp,
#bp,
#pulse,
#consciousness {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: var(--larguraOpcao);
}

.ui-selected {
  background: #FECA40;
  color: white;
}

li {
  margin: 3px;
  padding: 2px;
  font-size: 1em;
  height: 24px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
}

.parameter {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  row-gap: 2px;
  justify-items: center;
  align-items: center;
  margin-bottom: 2px;
  background-color: white;
  border-radius: 6px;
  width: var(--larguraOpcao);
  padding: 3px 0px;
}

.parameter:first-child {
  grid-template-rows: auto auto auto;
}

.fator {
  font-weight: bold;
}

.oresult {
  text-align: center;
}

#tres span {
  font-weight: bold;
  font-size: 20px;
  margin: 0px 3px;
}

#escoreVal {
  font-size: 20px;
  font-weight: bold;
}

.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: 100%;
    --tituloFontsize: 25px;
    --subtituloFontsize: 20px;
    --subsubtit: 20px;
    --larguraOpcao: 300px;
    --co2: 0px;
    --noco2: 159px;
    --referenciaFontsize: 16px;
    --areferenciaFontsize: 15px;
  }
}