#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 {
}

header {
  width: 100%;
  background-color: #fff;
}
header .mob-btn {
  display: none;
}
header .details {
  background-color: #918c65;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
}
header .details .item {
  color: #fff;
  text-decoration: none;
  margin-right: 2em;
}
header .details .item i {
  margin-right: 0.5em;
}
header .navigation {
  display: flex;
  justify-content: center;
  padding: 1em 0;
}
header .navigation .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}
header .navigation .container .menu {
  padding-left: 0;
  display: flex;
  flex-wrap: nowrap;
}
header .navigation .container .menu .item {
  list-style: none;
  margin-right: 2em;
}
header .navigation .container .menu .item .sub-menu {
  display: none;
  background-color: #fff;
  padding: 0.7em;
  position: absolute;
  box-shadow: 2px 2px 6px #888;
}
header .navigation .container .menu .item .sub-menu .item {
  margin: 0.7em 0;
}
header .navigation .container .menu .item:hover .sub-menu {
  display: block;
}
header .navigation .container .menu .item a {
  color: #444;
  text-decoration: none;
}
header .navigation .container .menu .item a:hover {
  color: #2d5c88;
}


.column-container {
  display: flex;
  flex-wrap: nowrap;
}
.column-container > div {
  width: 50%;
}

.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 {
  display: table-row;
  font-weight: bold;
}
table .media-mensal {
  background-color: #494737 !important;
  color: #fff;
  font-weight: bold;
}
table .no-data {
  color: #c00;
}
table .title {
  background-color: #a1c250 !important;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}
table .title .br,
table .title .en {
  font-size: 1.2em;
}
table .title span {
  font-size: 0.6em;
}
table .title td {
  padding-top: 1em;
  padding-bottom: 1em;
}
table tr:hover {
  background-color: #c7c198 !important;
}
table .media-mensal:hover {
  background-color: #494737 !important;
}
table .title:hover {
  background-color: #a1c250 !important;
}
td {
  padding: 0.5em 0.5em;
}

.charts-container {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  justify-content: space-between;
}
.metal-selector {
  display: flex;
  height: 100%;
  flex-direction: column;
  /* padding: 0 2em; */
  position: sticky;
  top: 50px;
  transition-duration: 0.2s;
  /* max-width: 150px; */
  margin-right: 10px;
  border-radius: 4px;
}
/* .fixed {
  position: absolute !important;
  bottom: 5em;
} */
.metal-selector .btn {
  padding: 1rem 1rem;
  margin-bottom: 0.5em;
  background-color: #a4a39e;
  /* width: min-content; */
  cursor: pointer;
  transition-duration: 0.1s;
  width: 100%;
  text-align: center;
  border-radius: 4px;
}
.metal-selector .active {
  background-color: #a1c250;
  color: #fff;
  font-weight: bold;
}
.metal-selector .btn:hover {
  transform: scale(1.1);
}
.charts-container .charts {
  width: calc(100% - 10em);
  /* margin-left: 10em; */
}

.charts-container .column-container {
  margin-top: 2em;
}
.charts-container .column-container > div {
  /* margin-right: 2em; */
  padding: 0 5px;
}
.charts-container .charts .title {
  display: flex;
  justify-content: flex-end;
  margin: 1em 0;
}
.charts-container .charts .title span {
  background-color: #918c65;
  color: #fff;
  padding: 0.5em 1em;
  font-size: 1.2em;
  font-weight: bold;
  width: 100%;
}

.charts .rate-container {
  display: flex;
  text-align: center;
  width: 100%;
  justify-content: space-between;
}
.rate-container > div {
  width: 31%;
  /* margin-right: 1em; */
  border-radius: 0.2em;
  box-shadow: 2px 2px 5px #666;
}
.rate-block h3 {
  margin: 0;
  padding: 0.5em 0;
  background-color: #a1c250;
  color: #fff;
  border-top-left-radius: 0.2em;
  border-top-right-radius: 0.2em;
}
.rate-block .variation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
  font-size: 1.1em;
}
.rate-block .variation > div {
  display: flex;
  flex-direction: column;
  margin: 0 1em;
}
.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) {
  header .mob-btn {
    display: block;
    font-size: 2em;
  }
  header .navigation .container .menu {
    position: fixed;
    flex-direction: column;
    background-color: #fff;
    height: 110vh;
    top: 0;
    right: -50em;
    padding: 2em;
    box-shadow: -3px -3px 8px #666;
    margin: 0;
    font-size: 1.5em;
    z-index: 999;
    transition-duration: 0.2s;
  }
  header .navigation .container .menu-open {
    right: 0;
  }
  header .navigation .container .menu .item {
    margin-bottom: 1em;
  }
  header .navigation .container .menu .item .sub-menu {
    display: block;
    position: relative;
    box-shadow: none;
    margin-top: 0.5em;
    border-left: solid 2px #918c65;
  }

  .column-container {
    flex-wrap: wrap;
  }
  .column-container > div {
    width: 100%;
  }


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

  .charts-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .metal-selector {
    position: relative;
    flex-direction: row;
  }
  .metal-selector .btn {
    height: min-content;
    width: 100%;
    margin: 0 0.5em;
  }
  .charts-container .charts {
    width: 100%;
    margin-left: 0;
    margin-top: 2em;
  }
  .charts .rate-container {
    width: 100%;
    justify-content: space-around;
  }
  .rate-container > div {
    width: 30%;
    overflow: hidden;
    margin: 0;
  }
  .rate-block .variation {
    font-size: 1em;
  }

  .fixed {
    bottom: unset;
  }
}

@media only screen and (max-width: 600px) {
  header .details .container {
    flex-direction: column;
    display: flex;
  }
  header .navigation .container .menu {
    font-size: 1em;
  }

  .metal-selector {
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0;
  }
  .metal-selector .btn {
    width: 35%;
    margin-bottom: 0.5em;
  }

  .charts .rate-container {
    flex-wrap: wrap;
  }
  .rate-container > div {
    width: 100%;
    margin-bottom: 1em;
  }
}

.mt-120 {
  margin-top: 120px;
}
