.charts {
  margin-top: 2rem;
}

.metal-selector.buttonList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 1rem;
}
.metal-selector .btn {
  color: #fff;
  margin: 0 0.5rem 0.75rem;
}
.metal-selector .cobre {
  background-color: #be5715;
}
.metal-selector .zinco {
  background-color: #64b0ac;
}
.metal-selector .aluminio {
  background-color: #6b777d;
}
.metal-selector .chumbo {
  background-color: #3f505c;
}
.metal-selector .estanho {
  background-color: #8f8f4f;
}
.metal-selector .niquel {
  background-color: #18497a;
}
.metal-selector .dolar {
  background-color: #3a7e27;
}
.charts .title {
  font-size: 2rem;
  margin: 3rem;
  text-align: center;
}
#backOverlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.5;
  display: none;
  z-index: 998;
}
.boShow {
  display: block !important;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 5em;
  height: 5em;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.translator {
  position: fixed;
  bottom: 0;
  right: 10em;
  background-color: #212121;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
  padding: 0.5em;
  color: #fff;
  cursor: pointer;
  box-shadow: 2px 2px 8px #444;
}
.translator .language {
  padding: 0.5em;
  display: none;
}
.translator .active {
  display: block;
}
.translator:hover .language {
  display: block;
}
.translator .language .l-btn {
}
.translator .language .l-btn img {
}
.translator .language .l-btn span {
}

.column-container {
  display: flex;
  flex-wrap: nowrap;
}
.column-container > div {
  flex: 1 1 0;
  min-width: 0;
}
.column-container.expandir {
  flex-direction: column;
  align-items: center;
}
.column-container.expandir > div {
  flex: 0 0 75%;
  width: 75%;
}

.alterarGraficosBtn {
  position: fixed;
  left: 15px;
  bottom: 10%;
  z-index: 15;
}
.alterarGraficosBtn button {
  background: #50c878;
  color: #fff;
  border-color: transparent;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 16px;
}

.month-selector {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2em;
  align-items: center;
}
.month-selector select {
  margin-left: 1em;
  padding: 1em;
  border: none;
  background-color: #e4e1ce;
  cursor: pointer;
}

.table-container {
  width: 100%;
  overflow-x: scroll;
}
table {
  border-collapse: collapse;
  text-align: center;
  width: 100%;
}
table tr {
  transition-duration: 0.2s;
}
table tr:nth-child(odd) {
  background-color: #e4e1ce;
}
table .media {
  font-weight: bold;
  display: table-row;
}
table .media-mensal {
  background-color: #ed7d31 !important;
  color: #fff;
  font-weight: bold;
}
table .no-data {
  color: #c00;
}
table .title {
  background-color: #000 !important;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}
table .title .br,
table .title .en {
  font-size: 1rem;
}
table .title span {
  font-size: 1rem;
}
table .title td {
  padding-top: 1em;
  padding-bottom: 1em;
}
table tr:hover {
  background-color: #f5bd98 !important;
}
table .media-mensal:hover {
  background-color: #494737 !important;
}
table .title:hover {
  background-color: #000 !important;
}
td {
  padding: 0.5em 0.5em;
}

.fixed {
  position: absolute !important;
  bottom: 5em;
}

.charts .rate-container {
  display: flex;
  text-align: center;
  width: 100%;
  justify-content: space-between;
  gap: 1em;
}
.rate-container > div {
  flex: 1 1 0;
  border-radius: 0.3em;
  overflow: hidden;
  box-shadow: 2px 2px 5px #666;
}
.rate-block h3 {
  margin: 0;
  padding: 0.6em 0;
  background-color: #50c878;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
}
.rate-block .variation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  padding: 0.75em 0.5em;
  font-size: 1.1em;
}
.rate-block .variation > div {
  display: flex;
  flex-direction: column;
}
.rate-block .variation > div span {
  font-weight: bold;
}
.rate-block .rate {
  background-color: #e4e1ce;
  padding: 0.5em 0;
  border-bottom-left-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
  font-size: 1.5em;
}
.rate-block .down {
  color: #ac4147;
}
.rate-block .up {
  color: #070;
}
.rate-block .rate .fas {
  margin-right: 0.5em;
}

@media only screen and (max-width: 900px) {
  .column-container {
    flex-wrap: wrap;
  }
  .column-container > div {
    flex: 1 1 100%;
  }

  table tr td {
    padding: 1em 1.5em;
  }

  .rate-block .variation {
    font-size: 1em;
  }

  .fixed {
    bottom: unset;
  }
}

@media only screen and (max-width: 600px) {
  .charts .rate-container {
    flex-wrap: wrap;
  }
}
