:root {
  --bs-primary: #0070c9;
  --bs-secondary: #6c757d;
  --bs-success: #28a745;
  --bs-warning: #fe4f02;
  --bs-danger: #dc3545;
  --bs-info: ##06c;

  --bs-black: #1d1e20;
  --bs-grey: #757889;
  --bs-fundo: #f8f8f8;
  --bs-white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0px;
  -webkit-font-smoothing: antialiased;
  appearance: none;
  text-size-adjust: 100%;
  border: 0px;
  font-weight: inherit;
  outline: 0px;
  padding: 0px;
  text-rendering: optimizelegibility;
}

.h1,
h1 {
  font-size: calc(1.3rem + 1.3vw) !important;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: Graphik-Regular, 'Gotham SSm A', 'Gotham SSm B', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
}

body {
  background: var(--bs-white);
}

.area-main {
  display: flex;
  min-height: 80vh; /* altura mínima para o conteúdo principal */
}

.main-content {
  width: 100%;
  background: var(--bs-white);
}

a:hover {
  color: var(--bs-primary) !important;
  font-weight: bold !important;
}

button:hover {
  background-color: white !important;
  color: var(--bs-primary) !important;
  font-weight: bold !important;
}

.logo {
  float: left;
  width: 90px;
  height: 30px;
  background-image: url('/img/logo.svg'); /* Caminho para a imagem */
  background-size: contain; /* Certifique-se de que a imagem se ajuste ao espaço sem distorcer */
  background-repeat: no-repeat; /* Evita a repetição da imagem */
  background-position: center; /* Centraliza a imagem dentro do elemento */
}

.logo-dd {
  margin: 5px;
  float: left;
  width: 40px;
  height: 30px;
  background-image: url('/img/logo.svg'); /* Caminho para a imagem */
  background-size: contain; /* Certifique-se de que a imagem se ajuste ao espaço sem distorcer */
  background-repeat: no-repeat; /* Evita a repetição da imagem */
  background-position: center; /* Centraliza a imagem dentro do elemento */
}

.sidebar {
  transition: all 0.3s;
  min-height: 100vh;
  z-index: 100;
  min-width: 300px;
  max-width: 300px;
  background-color: var(--bs-fundo);
  color: white;

  position: relative;
  top: 0;
  right: 0;
  height: 100%;
  width: 250px;
  background-color: #f8f9fa;
  padding-top: 0px;
  border-left: 1px solid #ddd;
}

#closeMenuButton {
  display: none;
}

/* menu link */
.sidebar li i {
  color: var(--bs-primary);
}

.sidebar-label {
  color: var(--bs-black);
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: var(--bs-white);
  text-decoration: none;
}

.sidebar li.active {
  background: var(--bs-primary);
  border-radius: 8px;
}

.sidebar li.active a,
.sidebar li.active a:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

/* se for tablet ou celular */
@media (max-width: 767px) {
  .sidebar {
    position: fixed;

    display: none;
    top: 55px;
  }

  .sidebar-label {
    display: inline;
  }

  #closeMenuButton {
    display: inline;
  }
}

.sidebar-expandido {
  min-width: 300px;
  max-width: 300px;
}

.sidebar-contraido {
  min-width: 60px;
  max-width: 60px;
}

.sidebar-expandido .sidebar-label {
  display: inline;
}

.sidebar-contraido .sidebar-label {
  display: none;
}

#footer {
  position: relative;
  background-color: var(--bs-fundo) !important;
  color: var(--bs-black);
  text-align: center;
  width: 100%;
  bottom: 0px;
  z-index: 200;
  padding: 10px;
}

#footer a {
  color: var(--bs-black);
}

.card {
  background-color: var(--bs-white);
  border-radius: 28px !important;
  width: 100%;
}

.card-header {
  border-top-right-radius: 28px !important;
  border-top-left-radius: 28px !important;
}

form label {
  margin-bottom: 4px;
  font-weight: 600;
}

.table {
  background-color: #fff;
}

.card-header {
  background-color: var(--bs-primary);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  height: 3.5rem;
}

.mw-100 {
  max-width: 100px !important;
}

.mw-200 {
  max-width: 200px !important;
}

.mw-300 {
  max-width: 300px !important;
}

.mw-600 {
  max-width: 600px !important;
}

.mw-800 {
  max-width: 800px !important;
}

.mw-1200 {
  max-width: 1200px !important;
}

.mw-70-per {
  max-width: 70%;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.btn-link {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-fundo {
  background-color: var(--bs-fundo) !important;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
}

.btn-secondary {
  background-color: var(--bs-secondary) !important;
}

.btn-success {
  background-color: var(--bs-success) !important;
}

.btn-info {
  background-color: var(--bs-info) !important;
  color: white;
}

.btn-warning {
  background-color: var(--bs-warning) !important;
  color: white;
}

.btn-danger {
  background-color: var(--bs-danger) !important;
}

.nav-link {
  padding: 0.5rem 0.5rem;
}

.fs-7 {
  font-size: 0.9rem !important;
}

.fs-8 {
  font-size: 0.8rem !important;
}

.fs-9 {
  font-size: 0.7rem !important;
}

.dropdown-item {
  font-size: 0.9rem;
  margin-left: 5px;
}

.table-responsive-max-width th,
.table-responsive-max-width td {
  max-width: 300px; /* Defina o valor máximo desejado para a largura da célula */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-responsive-wrap-text th,
.table-responsive-wrap-text td {
  /* Remova as propriedades que limitam a largura */
  max-width: 100px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

/* Estilo para a sidebar fixa em telas grandes */
@media (min-width: 992px) {
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
}

.dbeats-cor {
  color: #feb615;
}
