:root {
  --customer-blue: #2295ac;
  --customer-blue-hover: #176b7c;
  --custom-ui-background-default-color: #2295ac;
}

.tabela-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabela-scroll table {
  min-width: 1000px; /* largura mínima da tabela para ativar scroll */
  table-layout: fixed; /* força colunas com larguras iguais */
}

.tabela-scroll th,
.tabela-scroll td {
  width: 230px; /* 100% dividido igualmente entre 9 colunas */
}

html {
  margin: 0px;
  padding: 0px;
  height: 100vh;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  background-color: #eee;
}

body {
  padding: 0px;
  margin: 0px;

  display: flex;
  flex-direction: column;

  height: 100%;
  width: 100%;
  font-family: "Product Sans", Calibri, Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none !important;
}

i {
  cursor: pointer;
  color: var(--customer-blue);
}

.box-linha-janela {
  padding: 8px 0px;
  margin: 0 4px;
}

.box-linha-janela.com-linha {
  border-bottom: 1px solid #ccc;
}

.panel > .panel-heading {
  color: #ffffff !important;
  background-color: var(--customer-blue) !important;
}

.panel > .panel-heading i {
  color: #ffffff !important;
}

.md-toolbar-tools {
  color: #ffffff !important;
  background-color: var(--customer-blue) !important;
}

.md-toolbar-tools i {
  color: #ffffff !important;
}

.text-white {
  color: #ffffff !important;
}

.toast-top-center {
  margin-top: 20px;
}

.show-print {
  display: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px;
  height: 60px;
  width: 100%;

  position: sticky;
  z-index: 8;
  top: 0;
  left: 0;

  background-color: #ffffff;
}

.btn-close-sidebar {
  position: absolute;
  top: 15px;
  right: 15px;

  color: var(--customer-blue);
}

.btn-close-sidebar:hover {
  color: var(--customer-blue-hover);
}

.main {
  display: flex;
  width: 100%;

  background-color: #ffffff;
}

.panel > .panel-heading {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel > .panel-heading div {
  gap: 16px;
  display: flex;
  align-items: center;
}

.icone-click {
  cursor: pointer;
}

.icone-click-modal {
  cursor: pointer;
  margin: 0 6px;
}

.row label {
  padding-top: 8px !important;
}

/* Menu Lateral */
.sidebar {
  position: sticky;
  z-index: 9;
  top: 0;

  height: 100vh;
  width: 60px;

  overflow-y: auto;
  transition: 0.3s ease-in-out;

  background-color: #ffffff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.sidebar > a img {
  padding: 8px;
}

.sidebar.active > a img {
  padding: 30px;
}

.sidebar.active {
  width: 300px;
}

.sidebar ul {
  list-style: none;
  padding: 0px;
  margin: 0px;

  width: 100%;
}

.sidebar ul li a {
  height: 55px !important;
  text-decoration: none;
  font-size: 1.6rem;
  padding: 0px 18px;
  height: 100%;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--customer-blue);
}

.sidebar ul li a:hover {
  color: var(--customer-blue-hover);
  background-color: #ededed;
}

.sidebar.active ul li a {
  justify-content: left;
}

.sidebar ul li a span {
  display: none;
}

.sidebar.active ul li a span {
  display: block;
}

.sidebar ul li ul li a {
  padding-left: 35px !important;
}

.sidebar ul li ul {
  display: none;
  background-color: #ebebeb4a;
}

.sidebar ul li ul.active {
  display: block;
}

.sidebar ul li a.active {
  color: var(--customer-blue-hover);
  background-color: #ededed;
}

.conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;

  position: relative;
  min-height: 100vh;
  width: 85%;

  background-color: #f2f2f2;
}

.conteudo.active {
  width: 97%;
}

.conteudo > fieldset {
  padding: 15px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0px 20px;
  width: 100%;
  height: 60px;

  position: absolute;
  bottom: 0;
  left: 0;

  color: #ffffff;
  background-color: #333333;
}

/* Custom */
.d-flex {
  display: flex;
  align-items: center;
}

.data-loading {
  z-index: 1000;
  width: 100%;
  height: 100%;

  text-align: center;
  position: fixed;
  left: 0;
  top: 0;

  background-color: rgba(32, 32, 32, 0.3);
}

.data-loading i {
  position: relative;
  font-size: 144px;
  top: 45%;

  color: var(--customer-blue);
}

.fundo-trader {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  height: 100vh;
  width: 100%;

  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.tooltip {
  position: fixed !important;
}

/* Fale Conosco */
.sidebar.active .box-suporte > li {
  display: none;
}

.sidebar .box-suporte > li {
  display: block;
}

.sidebar.active .box-suporte > div {
  display: block;
}

.sidebar .box-suporte > div {
  display: none;
}

.box-suporte {
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.box-suporte > div {
  margin: 20px;
  padding: 2px 2px 20px 2px;
  border-radius: 8px;
  background-color: rgba(100, 100, 111, 0.2);
}

.box-suporte > div a {
  color: #ffffff;
  text-decoration: none !important;

  padding: 8px 16px;
  border-radius: 50px;
  background-color: var(--customer-blue);
}

.box-suporte > div a:hover {
  color: #f2f2f2f2;
  background-color: var(--customer-blue-hover);
}

.hidden-desktop {
  display: none;
}

md-tabs.md-default-theme .md-tab.md-active,
md-tabs .md-tab.md-active,
md-tabs.md-default-theme .md-tab.md-active md-icon,
md-tabs .md-tab.md-active md-icon,
md-tabs.md-default-theme .md-tab.md-focused,
md-tabs .md-tab.md-focused,
md-tabs.md-default-theme .md-tab.md-focused md-icon,
md-tabs .md-tab.md-focused md-icon {
  color: var(--customer-blue) !important;
}

md-tabs.md-default-theme md-ink-bar,
md-tabs md-ink-bar {
  background: var(--customer-blue) !important;
  color: var(--customer-blue) !important;
}

@media (max-width: 820px) {
  .sidebar {
    position: fixed;
    width: 0px;
  }

  .sidebar.active {
    width: 300px;
  }

  .hidden-desktop {
    display: block;
  }
}

/* PRINT */
@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }

  tr {
    font-size: 0.8em !important;
  }

  .show-print {
    display: flex !important;
  }

  .toast {
    display: none !important;
  }
}
