/* Utilizado em todos os ficheiros HTML */
body {
  margin: 0%;
  background: linear-gradient(
    90deg,
    indigo 0%,
    lightgray 20%,
    lightgray 80%,
    indigo
  );
  margin: 0 10% 0% 10%;
  font-family: system-ui;
}

#wrapper {
  padding: 20px;
  background-color: lightgray;
  border: 1px;
  border-style: outset;
}

#header {
  height: max-content;
}

.content {
  margin-bottom: 2em;
}

a {
  color: darkblue;
}

ul li {
  list-style: disc;
}

ol.ordem_letras,
ul.sem_ordem {
  padding-left: 20px;
}

.nota_importante {
  border-left: 4px solid indigo;
  background-color: silver;
  padding: 5px;
  margin-top: 3em;
}

table.quadros td,
table.quadros th,
table.quadros {
  border: 2px solid black;
  text-align: center;
  padding: 2px;
  border-collapse: collapse;
  border-spacing: 0px;
}

table.quadros {
  width: 100%;
  margin-bottom: 2em;
}

tr.titulo {
  background-color: silver;
}

figure.img_in_text,
figure.img_off_text {
  float: right;
  margin: 5px 0px 5px 20px;
  background-color: silver;
  border-left: 4px solid indigo;
}

figure.img_in_text figcaption {
  padding-left: 5px;
  height: 3em;
}

figure.img_in_text img {
  height: 150px;
}

.img_linha {
  display: flex;
  flex-wrap: wrap;
}

/* Menu */
.menu {
  display: inline-block;
  margin: 2px 10px 2px 10px;
  height: 2.5em;
}

.nav_menu {
  display: inline-block;
  height: 1.5em;
}

/* Botões Menu */
.menu_button {
  background-color: azure;
  height: 2em;
  width: auto;
  padding: 5px;
  border: 0px;
  margin: 0px;
  font-family: "Courier New", Courier, monospace;
  font-weight: bolder;
  font-size: larger;
}

.nav {
  background-color: azure;
  width: auto;
  padding: 5px;
  border: 0px;
  margin: 0px;
  font-family: "Courier New", Courier, monospace;
  font-weight: bolder;
  font-size: 0.7em;
}

.menu_button:hover,
.nav:hover {
  background-color: indigo;
  color: azure;
}

.menu_button:active,
.nav:active {
  background-color: gray;
  color: azure;
}

/* Botão calcular (calculo volumes) */
#bot_calcular {
  height: 2em;
  font-size: smaller;
}

/* Formulário de volumes */
.form_vol {
  display:inline;
  border-radius: 3px;
  background-color: blanchedalmond;
  width: 5em;
}

.calculos {
  background-color: silver;
  padding: 10px;
  border-radius: 5px;
}

#resultado {
  font-style: oblique;
  text-decoration: underline;
  font-weight: 900;
}



/* Galeria Imagens/Videos */

.galeria {
  width: 100%;
}
.galeria th,
.galeria td {
  background-color: silver;
  border-radius: 5px;
  border: 2px outset lightgray;
  padding: 1ex;
  text-align: center;
  vertical-align: top;
  width: 50%;
}

.img_gal {
  max-width: 100%;
  height: auto;
}

.vid_iframe {
  width: 100%;
  height: 320px;
}

/* css para a div dos comentários ás marcas */
.marcas {
  background-color: white;
  padding: 10px;
  line-height: normal;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
}

.tabela_marcas {
  width: 100%;
}

.tabela_marcas th,
.tabela_marcas td {
  border: 1px solid black;
  padding: 1ex;
  width: 50%;
}

td {
  vertical-align: top;
}

.sub_tabela th,
.sub_tabela td,
.sub_tabela tr {
  padding-left: 0px;
  border: 0px;
  margin: 0px;
  padding: 0px;
  width: auto;
}

/* Botão flutuante contactos */

#floating_info {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: fixed;
  bottom: 50px;
  right: 50px;
  border-radius: 50px;
  border: 6px solid silver;
  background-color: dodgerblue;
  height: 80px;
  width: 80px;
  font-size: x-large;
  font-style: italic;
  font-weight: 900;
  user-select: none;
}

#floating_info:hover {
  background-color:blue;
  color:white;
}

#floating_info:active {
  border: 2px solid silver;
}
