body {
  background-color: #f4f4f4;
  overflow-x: hidden;
  transition: background-color 0.3s ease-out;
}

body .card {
  transition: background-color 0.5s ease-out;
}

.dark-mode {
  background-color: #29353c !important;
  color: white !important;
}

.dark-mode .card,
.dark-mode div.table-responsive,
.dark-mode .table {
  background-color: #323d44 !important;
  color: white !important;
}

.dark-mode .header-fixed th {
  background-color: #257e9d !important;
}

.dark-mode #tabela-preco {
  background: linear-gradient(to bottom, #2887a9, #257e9d00);
  padding: 2px;
  padding-top: 0;
}

.dark-mode #tabela-preco table {
  color: white;
}

.dark-mode hr {
  border-top: 0.125rem solid rgb(255 255 255 / 10%);
}

/* NAVBAR */
#mainNav {
  font-size: small;
}

#mainNav .text-secondary,
#mainNav .text-user {
  color: white !important;
}

#mainNav .fa-wifi {
  transform: rotate(-90deg);
}

#mainNav .fa-wifi:last-child {
  transform: rotate(90deg);
  margin-left: -7px;
}

.info-box div {
  margin-right: 1rem;
}

#mainNav .mercado.aberto {
  color: #1ffa36;
}

#mainNav .mercado.fechado {
  color: #ff5722;
}

.dark-mode #mainNav .mercado.fechado {
  /* color: #a20606f5; */
}

.mobile-top {
  width: 100%;
  min-height: 54.4px;
  background-color: #2c3e50;
}

.navbar-toggler.navbar-toggler-right.text-uppercase.font-weight-bold.text-white.rounded {
  position: absolute;
  right: 20px;
  top: -30px;
  z-index: 100000000;
}

.dark-mode .mobile-top {
  background-color: #257e9d;
}

.mobile-top .col-6 {
  width: 50%;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.container-fluid {
  padding-right: 0;
  padding-left: 0;
}

/* END */
/* TABELAS */
div.table-responsive {
  background-color: #fff;
  border-radius: 15px;
  text-align: center;
}

/* altura da tabela*/
.dark-mode #tabela-preco a,
.dark-mode #tabela-historico a {
  color: #27efc1;
}

#tabela-historico,
#colGraphDetail .card {
  height: 60vh;
}

#colGraph .card {
  height: 65vh;
  min-height: 60vh;
}

#tabela-preco tr td,
#tabela-historico tr td {
  vertical-align: middle;
}

#tabela-preco tbody tr:nth-of-type(odd),
#tabela-historico tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.03);
}

#tabela-preco tr td:last-child,
#tabela-historico tr td:last-child {
  word-break: break-all;
}

#tabela-preco td.nobreak,
#tabela-historico td.nobreak {
  white-space: nowrap;
}

#tabela-preco [data-varfx],
#tabela-preco [data-varpercfx] {
  padding: 5px;
  border-radius: 5px;
  background: none;
  color: #6b756f;
  font-weight: bolder;
  font-size: 90%;
  /* animation-name: desce;
  animation-duration: 1s;
  animation-iteration-count: 1; */
}

#tabela-preco .percUp {
  padding: 5px;
  border-radius: 5px;
  background: #4bfb8699;
  color: #058a33;
  /* animation-name: sobe;
  animation-duration: 1s;
  animation-iteration-count: 1; */
}

#tabela-preco .percDown {
  padding: 5px;
  border-radius: 5px;
  background: #fb656542;
  color: #d84141;
  /* animation-name: desce;
  animation-duration: 1s;
  animation-iteration-count: 1; */
}

#tabela-historico span.percUp {
  padding: 5px;
  border-radius: 5px;
  background: #4bfb8699;
}

#tabela-historico span.percDown {
  padding: 5px;
  border-radius: 5px;
  background: #fb656542;
}

@keyframes sobe {
  0% {
    background-color: #4bfb8699;
  }

  10% {
    background-color: #4bfb8699;
  }

  100% {
    background-color: #4bfb8699;
  }
}

@keyframes desce {
  0% {
    background-color: #fb656585;
  }

  10% {
    background-color: #fb656585;
  }

  100% {
    background-color: #fb656585;
  }
}

.header-fixed th {
  vertical-align: middle;
  background-color: #2e3b47;
  position: sticky;
  top: 0;
  z-index: 1;
}

.header-fixed th.fixed {
  background: black;
}

#tabela-historico .header-fixed th {
  /* background: none; */
  color: white;
  transition: all 0.3s ease-in;
}

.bg-header {
  background-color: #2e3b47;
  color: white;
}

#tabela-historico .bg-header {
  /* background: linear-gradient(to right, #4481EB, #04BEFE); */
}

/* END */
/* CALCULADORA */
.calculator .card {
  border-radius: 50px;
  white-space: nowrap;
}

.calculator .card * {
  vertical-align: middle !important;
  /* margin-right: 5px !important; */
}

.flag-wrapper {
  width: 25px;
  height: 25px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  vertical-align: middle;
}

/* END */
/* DETAILS */
#detalhes p {
  opacity: 0.5;
}

#detalhes .fa-long-arrow-alt-up {
  color: #04bb43;
  transform: rotate(45deg);
}

#detalhes .fa-long-arrow-alt-down {
  color: #f40c0c;
  transform: rotate(-45deg);
}

#detalhes p {
  margin: 0;
}

#detalhes strong {
  font-weight: 900;
  color: #257e9d;
}

.dark-mode #detalhes strong {
  color: #23a1eb;
}

#detalhes .alta,
#detalhes .alta strong {
  color: #04bb43 !important;
}

#detalhes .baixa,
#detalhes .baixa strong {
  color: #d84141 !important;
}

#detalhes .neutro,
#detalhes .neutro strong {
  color: grey !important;
}

#detalhes tr td:first-child {
  padding-right: 1rem;
}

#detalhes td {
  padding: 0.2rem 0.5rem;
}

#detalhes .bg-success {
  background-color: #0f993e !important;
  border-radius: 3px;
}

#detalhes .bg-danger {
  background-color: #f40c0c !important;
  border-radius: 3px;
}

#detalhes div.percDown {
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  background: #fb656542;
  color: #d84141;
  /* animation-name: desce;
  animation-duration: 3s;
  animation-iteration-count: 1; */
}

#detalhes div.percUp {
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  background: #4bfb8699;
  color: #058a33;
  /* animation-name: sobe;
  animation-duration: 3s;
  animation-iteration-count: 1; */
}

/* END */
/* CUSTOM */
.text-primary {
  color: #257e9d !important;
}

p a,
p a:hover {
  color: #2387eb !important;
}

/* TOGGLE */
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  display: none;
}

.btn-toggle.btn-xs {
  margin: 0 0;
  padding: 0;
  position: relative;
  border: none;
  height: 1rem;
  width: 2rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-toggle.btn-xs:focus,
.btn-toggle.btn-xs.focus,
.btn-toggle.btn-xs:focus.active,
.btn-toggle.btn-xs.focus.active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  line-height: 1rem;
  width: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}

.btn-toggle.btn-xs:before {
  content: "Off";
  left: 0;
}

.btn-toggle.btn-xs:after {
  content: "On";
  right: 0;
  opacity: 1;
}

.btn-toggle.btn-xs > .handle {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  transition: left 0.25s;
}

.btn-toggle.btn-xs.active {
  transition: background-color 0.25s;
  background-color: rgba(0, 0, 0, 0.4);
}

.btn-toggle.btn-xs.active > .handle {
  left: 1.125rem;
  transition: left 0.25s;
}

.btn-toggle.btn-xs.active:before {
  opacity: 0.5;
}

.btn-toggle.btn-xs.active:after {
  opacity: 1;
}

#currencySelectorCalculatorDetail,
#currencyConvertorCalculatorDetail {
  background-color: transparent !important;
  color: white;
  font-weight: 800;
}

#currencySelectorCalculatorDetail option,
#currencyConvertorCalculatorDetail option {
  background-color: transparent;
  color: black;
}

#calculadoraDetail #coin1,
#calculadoraDetail #coin2 {
  color: white;
  font-weight: 800;
}

/* CHART */
html,
body {
  font-family: "Trebuchet MS", Roboto, Ubuntu, sans-serif;
  background: #f1f1f1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.floating-tooltip-2 {
  width: auto;
  height: auto;
  position: absolute;
  display: none;
  padding: 8px;
  box-sizing: border-box;
  font-size: 12px;
  color: #131722;
  background-color: rgba(255, 255, 255, 1);
  text-align: left;
  z-index: 1000;
  top: 12px;
  left: 12px;
  pointer-events: none;
  border: 1px solid rgba(0, 150, 136, 1);
  border-radius: 2px;
}

/* #tradingChart {
  width: 100% !important;
}

#tradingChart a {
  display: none !important;
} */
/* END */
/* DROPDOWN */
/* The container must be positioned relative: */
.custom-select {
  position: relative;
  padding: 0;
  border: none;
}

.custom-select select {
  display: none;
  /*hide original SELECT element: */
}

.select-selected {
  background-color: white;
  color: #212529;
  font-weight: 800;
  border-radius: 10px;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #212529 transparent transparent transparent;
}

.select-selected.select-arrow-active {
  border-radius: 10px 10px 0 0;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: none;
  opacity: 0;
  /* top: 7px; */
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
  /* color: #ffffff; */
  padding: 8px 16px;
  /* border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.05) transparent; */
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 0 0 10px 10px;
  color: #212529;
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%) !important;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.custom-select {
  background: none;
}

#calc1 .custom-select,
#calc2 .custom-select {
  width: auto;
  display: inline-flex;
  align-items: center;
}

#calc1 .select-items,
#calc2 .select-items {
  width: min-content;
}

#calc1 .select-selected:after,
#calc2 .select-selected:after {
  right: 0px;
}

#calc1 .select-items div,
#calc1 .select-selected,
#calc2 .select-items div,
#calc2 .select-selected {
  padding: 0 10px 0 0;
  text-align: center;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.dark-mode .select-items,
.dark-mode .select-selected {
  background-color: #425058 !important;
  color: white !important;
}

.dark-mode .select-selected:after {
  border-color: #ffffff transparent transparent transparent;
}

.dark-mode #calc1,
.dark-mode #calc2 {
  background-color: #425058 !important;
}

/* This hides native dropdown button arrow in IE 10/11+ so it will have the custom appearance, IE 9 and earlier get a native select */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .dropdown select::-ms-expand {
    display: none;
  }

  /* Removes the odd blue bg color behind the text in IE 10/11 and sets the text to match the focus style text */
  select:focus::-ms-value {
    background: transparent;
    color: #222;
  }
}

/* Firefox >= 2 -- Older versions of FF (v2 - 6) won't let us hide the native select arrow, so we'll just hide the custom icon and go with native styling */
/* Show only the native arrow */
body:last-child .dropdown::after,
x:-moz-any-link {
  display: none;
}

/* reduce padding */
body:last-child .dropdown select,
x:-moz-any-link {
  padding-right: 0.8em;
}

/* Firefox 7+ -- Will let us hide the arrow, but inconsistently (see FF 30 comment below). We've found the simplest way to hide the native styling in FF is to make the select bigger than its container. */
/* The specific FF selector used below successfully overrides the previous rule that turns off the custom icon; other FF hacky selectors we tried, like `*>.dropdown::after`, did not undo the previous rule */
/* Set overflow:hidden on the wrapper to clip the native select's arrow, this clips hte outline too so focus styles are less than ideal in FF */
_::-moz-progress-bar,
body:last-child .dropdown {
  overflow: hidden;
}

/* Show only the custom icon */
_::-moz-progress-bar,
body:last-child .dropdown:after {
  display: block;
}

_::-moz-progress-bar,
body:last-child .dropdown select {
  /* increase padding to make room for menu icon */
  padding-right: 1.9em;
  /* `window` appearance with these text-indent and text-overflow values will hide the arrow FF up to v30 */
  -moz-appearance: window;
  text-indent: 0.01px;
  text-overflow: "";
  /* for FF 30+ on Windows 8, we need to make the select a bit longer to hide the native arrow */
  width: 110%;
}

/* At first we tried the following rule to hide the native select arrow in Firefox 30+ in Windows 8, but we'd rather simplify the CSS and widen the select for all versions of FF since this is a recurring issue in that browser */
/* @supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal) {
.dropdown select { width:110%; }
}   */
/* Firefox 7+ focus style - This works around the issue that -moz-appearance: window kills the normal select focus. Using semi-opaque because outline doesn't handle rounded corners */
_::-moz-progress-bar,
body:last-child .dropdown select:focus {
  outline: 2px solid rgba(180, 222, 250, 0.7);
}

/* Opera - Pre-Blink nix the custom arrow, go with a native select button */
x:-o-prefocus,
.dropdown::after {
  display: none;
}

/* MODAL */
.modal-body {
  padding: 2rem;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 400px;

    .modal-content {
      padding: 1rem;
    }
  }
}

.modal-header {
  .close {
    margin-top: -1.5rem;
  }
}

.modal-content {
  background-color: #f9fafb;
}

.dark-mode .modal-content {
  background-color: #323d44 !important;
}

.dark-mode .modal-content .button {
  background-color: #425058 !important;
}

.form-title {
  margin: -2rem 0rem 2rem;
}

.btn-round {
  border-radius: 3rem;
}

.delimiter {
  padding: 1rem;
}

.social-buttons {
  .btn {
    margin: 0 0.5rem 1rem;
  }
}

.signup-section {
  padding: 0.3rem 0rem;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  opacity: 0.5;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
  color: #2387eb;
  opacity: 1;
}

/* // Social button styling */
#loginModal .button {
  display: block;
  /* color: white; */
  padding: 0.7rem;
  text-decoration: none;
  margin: 1rem 0;
  transition: all 0.3s ease;
  border-radius: 50px;
  cursor: pointer;
}

#loginBut {
  background-color: #257e9d !important;
  border: none;
  color: white;
  font-weight: 600;
}

#email1 {
  border: none;
  border-radius: 50px;
  background-color: rgba(0, 0, 0, 0.3);
}

.form-control {
  padding: 1rem;
  background-color: white;
  border: none;
  border-radius: 50px;
  height: calc(1.8em + 1rem);
}

.form-group {
  margin-bottom: 0;
}

.form-group.floating > label {
  bottom: 36px;
  right: 33%;
  position: relative;
  /* background-color: white; */
  padding: 0px 5px 0px 5px;
  font-size: 1.1em;
  transition: 0.1s;
  pointer-events: none;
  font-weight: 500 !important;
}

.dark-mode .form-group.floating > label {
  color: black;
  background-color: transparent;
}

.form-control:focus {
  border-color: #fff;
}

.form-control.floating:focus ~ label {
  transform: translate(1px, -100%) scale(0.8);
  opacity: 0.8;
  color: #257e9d;
}

.form-control.floating:valid ~ label {
  transform-origin: bottom left;
  transform: translate(1px, -100%) scale(0.8);
  opacity: 0.8;
}

.dark-mode .form-control.floating:focus ~ label {
  transform: translate(1px, -135%) scale(0.8);
  color: #2387eb;
}

.dark-mode .form-control.floating:valid ~ label {
  transform: translate(1px, -135%) scale(0.8);
  color: #2387eb;
}

#loginBut:hover,
#loginBut:active {
  border: none;
}

.button--apple {
  background-color: #f1f1f1;
  filter: grayscale(100%);
}

.button--google {
  background-color: #f1f1f1;
  filter: grayscale(100%);
}

.dark-mode .button--apple {
  background-color: #f1f1f1;
  filter: grayscale(100%);
  opacity: 0.7;
}

.dark-mode .button--google {
  background-color: #f1f1f1;
  filter: grayscale(100%);
  opacity: 0.7;
}

.button--apple:hover {
  background-color: white;
  filter: grayscale(0%);
  opacity: 1;
}

.button--google:hover {
  background-color: white;
  filter: grayscale(0%);
  opacity: 1;
}

.button img {
  max-width: 25px;
}

/* DETALHES */
.bg-card-blue {
  background: linear-gradient(to right, #4481eb, #04befe);
  color: white;
}

#tabela-historico th {
  background: linear-gradient(to bottom, #4481eb, #04befe);
  color: white;
  padding: 1rem;
}

.month {
  font-size: 16px !important;
  padding-bottom: 10px !important;
  padding-top: 10px !important;
}

.start-date,
.end-date {
  border-radius: 0px !important;
}

.available:hover {
  border-radius: 0px !important;
}

.off {
  color: #eeeeee !important;
}

.off:hover {
  background-color: #eeeeee !important;
  color: #fff !important;
}

.drp-buttons {
  /* display: none !important */
}

.drp-buttons .btn:not(:disabled):not(.disabled) {
  cursor: pointer;
  background-color: #586b75;
  color: #fff;
}

.drp-buttons .btn-primary:hover,
.drp-buttons .btn-primary {
  background-color: #357ebd !important;
  border-color: transparent;
}

/* #daterangepicker {
  background-color: rgba(0, 0, 0, 0.12);
  color: #05bdfd;
  transition: all .3s ease;
} */
.dark-mode .daterangepicker.show-calendar .ranges,
.dark-mode .daterangepicker .drp-calendar.left,
.dark-mode .daterangepicker .drp-calendar.right,
.dark-mode .daterangepicker .calendar-table {
  background-color: #425058 !important;
  border: none;
}

.dark-mode .daterangepicker td.off,
.dark-mode .daterangepicker td.off.in-range,
.dark-mode .daterangepicker td.off.start-date,
.dark-mode .daterangepicker td.off.end-date {
  background-color: #2c363c5e !important;
}

.dark-mode .daterangepicker td.available:hover,
.dark-mode .daterangepicker th.available:hover {
  color: black !important;
}

#rangePicker td,
#datePicker td {
  background-color: rgba(0, 0, 0, 0.12);
  color: #05bdfd;
  transition: all 0.3s ease;
}

#datePickerPainel td {
  background-color: rgba(0, 0, 0, 0.06);
  color: #05bdfd;
  transition: all 0.3s ease;
}

#rangePicker td {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

#rangePicker td.bg-card-blue {
  color: white;
}

/* CARDS DETALHES */
table[data-currency="detalhes"] {
  margin: 0;
}

table[data-currency="detalhes"] tr td:last-child {
  text-align: center;
}

table[data-currency="detalhes"] td {
  padding: 0;
}

table[data-currency="detalhes"] td [data-currency="perc"] {
}

table[data-currency="detalhes"] td [data-currency="perc"].baixa {
  /* color: red; */
}

table[data-currency="detalhes"] td [data-currency="icon"] {
  font-size: 20px;
}

table[data-currency="detalhes"] td [data-currency="icon"] .baixa {
  transform: rotate(-45deg);
}

.dark-mode #cardPrices .table {
  background-color: transparent !important;
}

/* CUSTOM GOOGLE BUTTON */
.abcRioButton {
  width: 100% !important;
  height: auto !important;
  display: block;
  padding: 0.7rem;
  text-decoration: none;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease !important;
  border-radius: 50px !important;
}

.abcRioButtonIcon {
  float: none !important;
  padding: 0 !important;
  display: inline-block !important;
  vertical-align: middle;
}

.abcRioButtonContents {
  vertical-align: middle;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  font-weight: 400 !important;
}

.abcRioButtonContents span[id^="not_signed_"]:before {
  /* content: 'Connexion avec Google' !important; */
  color: red !important;
}

#customBtn {
  display: inline-block;
  background: white;
  color: #444;
  width: 190px;
  border-radius: 5px;
  border: thin solid #888;
  box-shadow: 1px 1px 1px grey;
  white-space: nowrap;
}

#customBtn:hover {
  cursor: pointer;
}

span.label {
  font-family: serif;
  font-weight: normal;
}

span.icon {
  background: url("/identity/sign-in/g-normal.png") transparent 5px 50%
    no-repeat;
  display: inline-block;
  vertical-align: middle;
  width: 42px;
  height: 42px;
}

span.buttonText {
  display: inline-block;
  vertical-align: middle;
  padding-left: 42px;
  padding-right: 42px;
  font-size: 14px;
  font-weight: bold;
  /* Use the Roboto font that is loaded in the <head> */
  font-family: "Roboto", sans-serif;
}

/* SELECTOR */
.custom-selector {
  cursor: pointer !important;
  border-radius: 10px !important;
  border: none !important;
}

.dark-mode .custom-selector {
  background-color: #425058;
  color: white;
}

#currencySelectorPanel.custom-selector {
  width: 100% !important;
  padding: 8px 16px !important;
}

.custom-selector:active,
.custom-selector:focus {
  outline: none !important;
  /* box-shadow: none !important; */
}

h3,
.h3 {
  font-size: 1.2rem;
}

h4,
.h4 {
  font-size: 1rem;
}

h5,
.h5 {
  font-size: 1rem;
}

.nobreak {
  white-space: nowrap;
}

#detalhes .col-12,
#detalhes .col-3,
#detalhes .col-4,
#detalhes .col-5 {
  padding: 0px 5px 0 0px !important;
}

#detalhes .var-detail {
  min-width: 33%;
  text-align: left;
}

#detalhes p {
  font-size: 0.7rem;
}

input.input-calc {
  outline: none;
  border: none;
  width: 65px;
  font-weight: 700;
  color: white;
  background: #00000021;
  border-radius: 0 50px 50px 0;
  text-align: center;
}

input.input-calc:focus {
  outline: none;
  border: none;
}

input.input-calc {
  width: 65%;
  padding: 0.5rem;
}

.dark-mode input.input-calc {
  background: #0000002e;
  color: white;
  font-weight: 700;
}

#calc1,
#calc2,
#switcher {
  width: 100%;
  text-align: right;
}

#switcher * {
  margin: 10px auto;
}

#currencyConvertorCalculatorDetail {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

#currencyConvertorCalculatorDetail[disabled] {
  color: white !important;
  opacity: 1 !important;
}

#currencyConvertorCalculator {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

#currencyConvertorCalculator[disabled] {
  /* color: white !important; */
  opacity: 1 !important;
}

.dark-mode .daterangepicker {
  background-color: #425058;
}

#hitIcon {
  z-index: 10;
  color: #2387eb;
  right: 2.5rem;
  top: 0;
  cursor: pointer;
}

#hitIconGraph {
  z-index: 10;
  color: #2387eb;
  right: 0;
  top: 5px;
  cursor: pointer;
}

#hitIcon .h4 {
  margin-left: 10px;
}

.dark-mode #hitIcon {
  color: white;
}

.iene-fix {
  min-width: 115px;
}

.percDown,
.percUp {
  white-space: nowrap;
}

/* CUSTOM TABLE SORT */
.columnSelector {
  width: 250px;
  position: absolute;
  top: 70%;
  right: -160%;
  padding: 10px;
  background: #fff;
  border-radius: 5px;
  white-space: nowrap;
  color: #4b5865;
  cursor: pointer;
}

#columnSelector label {
  color: #5797d7;
}

.columnSelectorWrapper {
  position: relative;
  margin: 10px 0;
  display: inline-block;
}

.columnSelector,
.hidden {
  display: none;
}

.columnSelectorButton {
  background: #99bfe6;
  border: #888 1px solid;
  color: #111;
  border-radius: 5px;
  padding: 5px;
}

#colSelect1:checked + label {
  background: #5797d7;
  border-color: #555;
}

#colSelect1:checked ~ #columnSelector {
  display: block;
}

.dark-mode .columnSelector {
  background: #51616b;
  color: white;
}

.columnSelector label {
  display: block;
}

.columnSelector label:nth-child(1) {
  border-bottom: #99bfe6 solid 1px;
  margin-bottom: 5px;
}

.columnSelector input {
  margin-right: 5px;
}

.columnSelector .disabled {
  color: #ddd;
}

/* END TABLE */
#hitIcon #editTable {
  border-bottom: 1px solid #2387eb !important;
  color: #2387eb !important;
}

.dark-mode #hitIcon #editTable {
  border-bottom: 1px solid white !important;
  color: white !important;
}

#hitIcon input[type="radio"] + label,
#hitIcon input[type="checkbox"] + label {
  opacity: 1 !important;
  background: none;
}

/* 10/06 CUSTOM */
.page-section {
  padding-top: 15vh !important;
}

.table th,
.table td {
  padding: 1rem 0.35rem;
}

.table thead th {
  vertical-align: middle;
}

p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

hr {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.05);
}

#currentPrice[data-current="JPY"] {
  font-size: 65%;
}

.real-time .fa-wifi {
  transform: rotate(-90deg);
  color: #1ffa36;
}

.real-time .fa-wifi:nth-child(2) {
  transform: rotate(90deg);
  margin-left: -7px;
}

.material-icons {
  vertical-align: middle;
}

.material-icons.sobe {
  color: #04bb43;
}

.material-icons.desce {
  color: #d84141;
}

#detalhes span {
  font-weight: 700;
  /* color: white; */
}

#detalhes .variation-day.sobe * {
  color: #04bb43;
}

.dark-mode #detalhes .variation-day.sobe * {
  color: #0fea5b;
}

#detalhes .variation-day.desce * {
  color: #d84141;
}

.dark-mode #tabela-preco [data-varfx],
.dark-mode #tabela-preco [data-varpercfx] {
  color: white;
  font-weight: 700;
  font-size: 90%;
}

.dark-mode #tabela-preco .percUp {
  background: #58ff90d1;
  color: #05732b;
}

.dark-mode #tabela-preco .percDown {
  background: #ffb1b1d9;
  color: #6d0303;
}

.dark-mode #detalhes div.percUp {
  background: #58ff90d1;
  color: #05732b;
}

.dark-mode #detalhes div.percDown {
  background: #ffb1b1d9;
  color: #6d0303;
}

#detalhes .smaller {
  font-size: 0.8rem !important;
}

.float-start {
  float: left;
  font-weight: bolder;
}

#detalhes .variation-day-number {
  font-weight: 900;
}

#rangePanel th,
#rangePanel td {
  padding: 0.3rem 0.3rem;
}

#currencySelectorCalculator {
  margin: 0 -5px;
}

#currencySelectorCalculator,
#currencyConvertorCalculator {
  background-color: transparent;
  color: white;
}

#currencySelectorCalculator option,
#currencyConvertorCalculator option {
  color: black;
}

.dark-mode #currencySelectorCalculator option,
.dark-mode #currencyConvertorCalculator option {
  background-color: #425058;
  color: white;
}

#currencyConvertorCalculator {
  margin-right: 10px;
}

.dados-tabela,
.dados-tabela-voltar,
.dados-grafico,
.dados-grafico-voltar {
  cursor: pointer;
}

.dados-tabela:hover,
.dados-tabela-voltar:hover,
.dados-grafico:hover,
.dados-grafico-voltar:hover {
  text-decoration: underline;
}

.logo-historico {
  margin-top: -25px;
}

.calc-content {
  width: 30%;
}

#coin2Detail {
  width: 65%;
  padding: 0.5rem;
  background: #00000021;
  border-radius: 0 50px 50px 0;
  text-align: center;
}

#columnSelector label {
  padding: 5px 0;
  border-bottom: 1px solid #80808069;
  background-color: white;
}

.dark-mode #columnSelector label {
  padding: 5px 0;
  border-bottom: 1px solid #fff4a;
  background-color: #51616b;
  color: white;
}

#columnSelector label:last-child {
  border-bottom: none;
}

#columnSelector label.ui-sortable-helper {
  box-shadow: 0 0 5px #00000021;
  padding: 7px;
  border-radius: 5px;
}

#columnSelector .material-icons {
  float: right;
  color: grey;
  background: #8080803b;
  border-radius: 4px;
  cursor: grab;
}

.dark-mode #columnSelector .material-icons {
  float: right;
  color: white;
  background: #2c363c52;
  border-radius: 4px;
  cursor: grab;
}

#columnSelectorOverlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: transparent !important;
  display: none;
  cursor: pointer !important;
}

/* MARKET RULES */
.real-time.fechado .fa-wifi {
  color: #ff5722;
}

/* END CUSTOM */
@media only screen and (min-width: 769px) {
  /* 10/06 CUSTOM */
  .page-section {
    padding-top: 10vh !important;
  }

  input.input-calc {
    width: 55%;
  }

  .calc-content {
    width: 40%;
  }

  #switcher {
    width: 4%;
  }

  #calc1,
  #calc2 {
    min-width: 48%;
    text-align: right;
  }

  #coin2Detail {
    width: 55%;
    padding: 0.5rem;
    background: #00000021;
    border-radius: 0 50px 50px 0;
    text-align: center;
  }

  #currencyConvertorCalculator {
    margin-right: 0px;
  }

  #detalhes p {
    font-size: 1rem;
    letter-spacing: -1px;
  }

  h4,
  .h4 {
    font-size: 1.2rem;
  }

  h3,
  .h3 {
    font-size: 1.75rem;
  }

  #detalhes .var-detail {
    min-width: 33%;
  }

  ::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(113, 194, 247, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }

  ::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(113, 194, 247, 0.3);
  }

  #tabela-preco {
    /* max-height: 90%; */
  }

  #mainNav {
    background-color: white !important;
  }

  #mainNav .text-secondary {
    color: #2c3e50 !important;
  }

  #mainNav .text-user {
    color: #2387eb !important;
  }

  ul.navbar-nav a {
    transition: all 200ms ease-in;
    border-bottom: 3px solid transparent;
  }

  ul.navbar-nav a:hover {
    border-bottom: 3px solid #2e3b47;
  }

  /* .mobile-top {
    background: rgb(44, 62, 80);
    background: linear-gradient(
      90deg,
      rgba(44, 62, 80, 1) 0%,
      rgba(44, 62, 80, 1) 45%,
      rgba(255, 255, 255, 1) 45%,
      rgba(255, 255, 255, 1) 100%
    );
  } */

  .dark-mode ul.navbar-nav a {
    transition: all 200ms ease-in;
    border-bottom: 3px solid transparent;
  }

  .dark-mode ul.navbar-nav a:hover {
    border-bottom: 3px solid #2387eb;
  }

  .dark-mode #mainNav .text-secondary {
    color: #fff !important;
  }

  /* .dark-mode .mobile-top {
    background: rgb(44, 62, 80);
    background: linear-gradient(90deg, rgb(37 126 157) 0%, rgb(37 126 157) 45%, #323d44 45%, #323d44 100%);
  } */
}

@media only screen and (min-width: 1024px) {
  /* .mobile-top {
    background: rgb(44, 62, 80);
    background: linear-gradient(
      90deg,
      rgba(44, 62, 80, 1) 0%,
      rgba(44, 62, 80, 1) 60%,
      rgba(255, 255, 255, 1) 60%,
      rgba(255, 255, 255, 1) 100%
    );
  } */
}

@media only screen and (min-width: 1280px) {
  /* .mobile-top {
    background: rgb(44, 62, 80);
    background: linear-gradient(
      90deg,
      rgba(44, 62, 80, 1) 0%,
      rgba(44, 62, 80, 1) 45%,
      rgba(255, 255, 255, 1) 45%,
      rgba(255, 255, 255, 1) 100%
    );
  } */
}

@media only screen and (min-width: 1600px) {
  /* .mobile-top {
    background: rgb(44, 62, 80);
    background: linear-gradient(
      90deg,
      rgba(44, 62, 80, 1) 0%,
      rgba(44, 62, 80, 1) 40%,
      rgba(255, 255, 255, 1) 40%,
      rgba(255, 255, 255, 1) 100%
    );
  } */

  .d-xxl-flex {
    display: flex !important;
  }

  h5,
  .h5 {
    font-size: 1.2rem;
  }

  #detalhes h5,
  #detalhes .h5 {
    vertical-align: bottom;
  }

  small,
  .small {
    font-size: 1rem;
    font-weight: 400;
  }

  #mainNav small,
  .small {
    font-size: 80%;
    font-weight: 400;
  }

  #tabela-panel td,
  #tabela-panel th {
    font-size: 0.9rem;
  }

  #currencySelectorCalculator {
    margin: 0 2% 0 0;
  }

  #currencyConvertorCalculator {
    margin: 0 5% 0 0;
  }
}

.vertical-bar {
  display: none;
}

@media (min-width: 992px) {
  .vertical-bar {
    display: flex;
    width: 1px;
    height: 16px;
    background: #fff;
    margin: 9px 0;
  }
}

@media (min-width: 992px) {
  .navbar-nav-custom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.fixed-top-custom {
  max-width: 100vw;
  overflow-x: hidden;
}
