* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  color: rgba(255,255,255,1);
  background-color: rgba(0,0,0,1);
  font-family: sans-serif;
}
h1, h2, h3, h4 {
  text-align: center;
  padding: 5px;
}
img {
  width: 100%;
  max-width: 300px;
}
button:hover, a:hover, input[type='submit']:hover {
  background-color: rgba(255,255,255,1);
  color: rgba(0,0,0,1);
  cursor: pointer;
}
input:disabled, select:disabled, textarea:disabled, button:disabled {
  border-color: rgba(255,0,0,1);
}
input[type='submit']:disabled:hover, button:disabled:hover {
  background-color: inherit;
  color:  inherit;
  cursor: inherit;
}
label, input, select, textarea, button, fieldset {
  border: 1px rgba(255,255,255,1) solid;
  padding: 5px;
  display: block;
  min-width: 100px;
  min-height: 35px;
}
input {
  border: 0;
  border-bottom: 1px rgba(255,255,255,1) solid;
}
form {
  padding: 10px 15px;
  max-width: 1024px;
  margin: 0 auto;
}
form > * {
  min-width: 300px;
  min-height: 35px;
  width: 100%;
}
form:first-of-type {
  margin-top: 0;
  padding-top: 0;
}
form > p {
  margin-top: 10px;
}
textarea {
  min-height: 100px;
}
label {
  border: 0;
  min-height: min-content;
}
* + label, * + button, * + input[type='submit'] {
  margin-top: 20px;
}
header, main, footer {
  padding: 10px;
  border-bottom: 2px rgba(255,255,255,1) solid;
}
header {
  display: grid;
  grid-gap: 20px;
}
main > * {
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 5px;
}
.botao {
  display: flex;
  border: 1px rgba(255,255,255,1) solid;
  padding: 5px 10px;
  align-items:  center;
  justify-content: center;
  font-size: 0.9rem;
  min-width: 100px;
}
.selecionado {
  background-color: rgba(255,255,255,0.4);
}
#form_pedido_salvar {
  display: none;
}
#pedido_cliente > .linha {
  justify-content: start;
  margin-top: 10px;
  margin-bottom: 10px;
}
.barra_pesquisa {
  display: flex;
  align-items: center;
  padding: 5px;
  justify-content: center;
}
.barra_pesquisa > * {
  width: min-content;
  min-width: min-content;
  min-height: 40px;
  border: 1px rgba(255,255,255,1) solid;
}
.barra_pesquisa > input[type='search'] {
  border-right: 0;
  min-width: 200px;
}
.barra_pesquisa > input[type='submit'] {
  border-left: 0;
  margin: 0;
}
.lista_pesquisa {
  display: grid;
  border: 1px rgba(255,255,255,1) solid;
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
}
.lista_pesquisa > img {
  max-height: 100px;
  max-width: 100px;
  margin: auto;
}
.linha{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.linha > * {
  margin: inherit;
}
.coluna > * {
  display: block;
  padding: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.coluna > :nth-child(even) {
  background-color: rgba(100,100,200,1);
}
.coluna > :nth-child(odd) {
  background-color: rgba(100,200,100,1);
}
.alinhar_esquerda{
  justify-content: left;
}
.ocultar {
  display: none;
}
.exibir {
  display: inherit;
}
@keyframes animacao_ocultar {
  0% {
    height: 50vh;
  }
  100% {
    height: 0vh;
  }
}
@keyframes animacao_exibir {
  0% {
    max-height: 0vh;
  }
  100% {
    max-height: 100vh;
  }
}
.ocultar_animacao {
  animation: animacao_ocultar 1s alternate; // se alterado o tempo da animação, alterar também no javascript
  position: relative;
  z-index: -1;
  overflow: hidden;
}
.exibir_animacao {
  animation: animacao_exibir 1s alternate; // se alterado o tempo da animação, alterar também no javascript
  position: relative;
  z-index: -1;
  overflow: hidden;
}

#form_pedido .linha {
  justify-content: left;
  margin: 10px 0px;
}
.input_erro {
  background-color: rgba(150,0,0,1);
}
.input_sucesso {
  background-color: rgba(0,150,0,1);
}
.mensagem_erro {
  background-color: rgba(150,0,0,1);
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}
.mensagem_sucesso {
  background-color: rgba(0,150,0,1);
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}
.mensagem_alerta {
  background-color: rgba(255,150,0,1);
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.area_notificacao_temporaria {
  border: 1px solid rgba(255,255,255,1);
  border-radius: 10px;
  position: fixed;
  background-color: rgba(255,255,255,1);
  color: rgba(0,0,0,1);
  width: 200px;
  height: 100px;
  right: 20px;
  top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@keyframes animacao_ocultar_notificacao {
  0% {
    opacity: 1;
    height: 100px;
  }
  100% {
    opacity: 0;
    height: 0px;
  }
}
@keyframes animacao_exibir_notificacao {
  0% {
    opacity: 0;
    height: 0px;
  }
  100% {
    opacity: 1;
    height: 100px;
  }
}
.exibir_notificacao {
  display: flex;
}
.ocultar_notificacao {
  display: none;
}
.animacao_exibir_notificacao {
  animation: animacao_exibir_notificacao 0.5s alternate; // se alterado o tempo da animação, alterar também no javascript
}
.animacao_ocultar_notificacao {
  animation: animacao_ocultar_notificacao 0.5s alternate; // se alterado o tempo da animação, alterar também no javascript
}

.grafico_barra_vertical {
  padding: 10px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.grafico_barra_vertical > * {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
}
.grafico_barra_vertical .negativo {
  background-color: rgba(255,0,0,1);
}
.grafico_barra_vertical .positivo {
  background-color: rgba(0,255,0,1);
}

.recibo * {
  background-color: rgba(255,255,255,1);
  color: rgba(0,0,0,1);
}
.recibo img {
  width: auto;
  max-height: 100%;
}
.recibo > * {
  display: flex;
}
.recibo > * > * {
  flex: 1;
  text-align: center;
  padding: 5px;
}
.recibo > :nth-child(1) * {
  height: 100px;
  background-color: rgba(200,100,0,1);
}
.recibo > :nth-child(1) > :nth-child(1) {
  text-align: left;
}
.recibo > :nth-child(2) > * {
  border: 1px rgba(0,0,0,1) solid;
  text-align: left;
}
.recibo > :nth-child(3) {
  display: grid;
  grid-template-columns: max-content auto max-content max-content max-content;
}
.recibo > :nth-child(3) > * {
  border: 1px rgba(0,0,0,1) solid;
}
.recibo > :nth-child(3) > :nth-child(5n+7) {
  text-align: left;
}
.recibo > :nth-child(3) > :nth-child(5n+8), .recibo > :nth-child(3) > :nth-child(5n+10) {
  text-align: right;
}
.recibo > :nth-child(4) > * {
  border: 1px rgba(0,0,0,1) solid;
}
.recibo > :nth-child(5) > * {
  text-align: left;
}
@media print{
  p, div {
    font-size: 90%;
  }
}
