
.navbar {
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #fff;
    color: #000;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(101, 109, 119, .16);
    max-height: 120px;
}

#sidebar ul.components {
    padding: 20px 0;
}
#sidebar ul {
    list-style: none; /* Remove os marcadores de lista */
    padding-left: 0; /* Remove o padding padrão */
}
#sidebar ul p {
    color: #fff !important;
    padding: 10px;
}

#sidebar ul li a {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: #6c757d; /* Cor padrão do texto */
    transition: background-color 0.3s ease, color 0.3s ease; /* Otimiza a transição para propriedades específicas */
    display: block; /* Faz o link preencher todo o espaço do li */
    text-decoration: none; /* Remove o sublinhado dos links */
}

.icon-size {
    width: 16px; /* Exemplo de tamanho do ícone */
    height: 16px; /* Exemplo de tamanho do ícone */
    vertical-align: middle; /* Alinha verticalmente o ícone com o texto */
    margin-right: 8px; /* Espaço entre o ícone e o texto */
}

#sidebar ul li a:hover {
    color: #fff !important; /* Cor do texto no hover */
    background: #198754; /* Cor de fundo no hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra para um efeito sutil de elevação */
    transform: scale(1.05); /* Aumenta ligeiramente o tamanho para dar uma sensação de elevação */
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 0px 10px;
    min-height: 100vh;
    transition: all 0.3s;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}



.text-truncate {
    max-width: 130px;
}

/*--------------------------------------------------------------------------*/

/* Customizando o Tooltip do Bootstrap */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #5A6268; /* Cor da seta */
}

.tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #5A6268;
}

.tooltip-inner {
    background-color: #5A6268; /* Cor de fundo do tooltip */
    color: #fff; /* Cor do texto */
    border-radius: 6px; /* Bordas arredondadas */
    padding: .5em 1em; /* Espaçamento interno */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra */
}

/* Adicionando transição suave */
.tooltip.show {
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

/* Customizando o Tooltip "danger" */
.tooltip-danger .tooltip-inner {
    max-width: 300px;
    background-color: #dc3545; /* Cor de fundo do tooltip */
    color: #fff; /* Cor do texto */
}

.tooltip-danger .tooltip-arrow::before {
    border-top-color: #dc3545 !important; /* Cor da seta para tooltip no topo */
}



.detail {
    text-align: center;
  }

  .detail-span {
    font-weight: bold;
    font-size: 18pt;
  }

  .detail-p {
    font-size: 10pt;
  }

  .border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
  }

  .border-bottom-primary {
    border-bottom: 0.25rem solid #4e73df !important;
  }

  .border-left-secondary {
    border-left: 0.25rem solid #858796 !important;
  }

  .border-bottom-secondary {
    border-bottom: 0.25rem solid #858796 !important;
  }

  .border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
  }

  .border-bottom-success {
    border-bottom: 0.25rem solid #1cc88a !important;
  }

  .border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
  }

  .border-bottom-info {
    border-bottom: 0.25rem solid #36b9cc !important;
  }

  .border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
  }

  .border-bottom-warning {
    border-bottom: 0.25rem solid #f6c23e !important;
  }

  .border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
  }

  .border-bottom-danger {
    border-bottom: 0.25rem solid #e74a3b !important;
  }

  .border-left-light {
    border-left: 0.25rem solid #f8f9fc !important;
  }

  .border-bottom-light {
    border-bottom: 0.25rem solid #f8f9fc !important;
  }

  .border-left-dark {
    border-left: 0.25rem solid #5a5c69 !important;
  }

  .border-bottom-dark {
    border-bottom: 0.25rem solid #5a5c69 !important;
  }

  .no-gutters {
    margin-right: 0;
    margin-left: 0;
  }

  .no-gutters > .col,
  .no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .mr-2,
  .mx-2 {
    margin-right: 0.5rem !important;
  }

  .text-xs {
    font-size: 0.7rem;
  }

  .font-weight-bold {
    font-weight: 700 !important;
  }

  .text-gray-800 {
    color: #5a5c69 !important;
  }

  .text-gray-300 {
    color: #dddfeb !important;
  }

  .table-custom {
    font-size: 0.8rem;
    /* Reduz o tamanho da fonte */
  }

  .table-custom thead th {
    background-color: #28a745;
    /* Cor de fundo para o cabeçalho da tabela, exemplo: verde do Bootstrap */
    color: white;
    /* Cor do texto para o cabeçalho da tabela */
  }

  .table-custom td,
  .table-custom th {
    padding: 0.75rem;
    /* Ajusta o espaçamento interno */
    vertical-align: middle;
    /* Centraliza verticalmente o conteúdo das células */
    border-top: 1px solid #e3e6f0;
    /* Cor da borda das células */
  }

  .text-wrap {
    white-space: normal;
    /* Permite que o texto quebre em mais de uma linha */
  }

  .width-200 {
    width: 200px;
    /* Define uma largura máxima para a célula */
  }
  
  #pageHeaderTitle {
    margin: 2rem 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
  }

  /* Cards */
  .postcard {
    flex-wrap: wrap;
    display: flex;

    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: black;

    &.dark {
      background-color: #ffffff;
    }

    h1,
    .h1 {
      margin-bottom: 0.5rem;
      font-weight: 500;
      line-height: 1.2;
    }

    .small {
      font-size: 80%;
    }

    .postcard__title {
      font-size: 1.75rem;
    }

    .postcard__img {
      max-height: 180px;
      width: 100%;
      object-fit: cover;
      position: relative;
    }

    .postcard__img_link {
      display: contents;
    }

    .postcard__bar {
      width: 50px;
      height: 10px;
      margin: 10px 0;
      border-radius: 5px;
      background-color: green;
      transition: width 0.2s ease;
    }

    .postcard__text {
      padding: 1.5rem;
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .postcard__preview-txt {
      text-overflow: ellipsis;
      text-align: justify;
      height: 100%;
    }

    .postcard__tagbox {
      display: flex;
      flex-flow: row wrap;
      font-size: 14px;
      margin: 20px 0 0 0;
      padding: 0;
      justify-content: center;
    }
  }

  @media screen and (min-width: 769px) {
    .postcard {
      flex-wrap: inherit;

      .postcard__title {
        font-size: 2rem;
      }

      .postcard__tagbox {
        justify-content: start;
      }

      .postcard__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
      }

      .postcard__text {
        padding: 3rem;
        width: 100%;
      }

      .media.postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        background: #18151f;
        top: -20%;
        height: 130%;
        width: 55px;
      }

      &:hover .postcard__img {
        transform: scale(1.1);
      }

      &:nth-child(2n+1) {
        flex-direction: row;
      }

      &:nth-child(2n+0) {
        flex-direction: row-reverse;
      }

      &:nth-child(2n+1) .postcard__text::before {
        left: -12px !important;
        transform: rotate(4deg);
      }

      &:nth-child(2n+0) .postcard__text::before {
        right: -12px !important;
        transform: rotate(-4deg);
      }
    }
  }

  @media screen and (min-width: 1024px) {
    .postcard__text {
      padding: 2rem 3.5rem;
    }

    .postcard__text:before {
      content: "";
      position: absolute;
      display: block;

      top: -20%;
      height: 130%;
      width: 55px;
    }
  }

