html {
  height: 100%;
}
body {
  position: relative;
  margin: 0;
  padding-bottom: 6rem;
  min-height: 100%;
  color: #4d4d4d;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
}

#footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  background-color: #efefef;
  color: #88837f;
}
#footer a {
  color: #88837f;
}
#footer a:hover {
  color: #999;
}
a:hover {
  text-decoration: none;
}
.static_link,
.static_link:hover {
  color: #674eec;
}
.inactive_link,
.inactive_link:hover {
  color: #674eec;
}
/* Navbar */
.navbar {
  font-weight: 400;
  -webkit-box-shadow: -1px 2px 9px 0px rgba(221, 221, 221, 1);
  -moz-box-shadow: -1px 2px 9px 0px rgba(221, 221, 221, 1);
  box-shadow: -1px 2px 9px 0px rgba(221, 221, 221, 1);
  padding-top: 20px;
  padding-bottom: 20px;
}
.navbar-light .navbar-nav .nav-link {
  color: #03363d;
}
.navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #674eec;
  text-decoration: underline;
}
/* Heading */
.heading {
  font-weight: 200;
  font-size: 42px;
  line-height: 48px;
  padding-top: 10px;
}
.sub_heading {
  font-weight: 200;
  font-size: 36px;
  margin-top: 5px;
  line-height: 35px;
  padding: 20px;
}
/* Knowledge base */
.slider-block {
  background: url("../images/slider.jpg") no-repeat;
  background-position: top;
  background-size: cover;
  color: #1b1e21;
}
.slider-block .slider-content {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
.slider-block .slider-content h1 {
  font-weight: 300;
  margin-bottom: 50px;
}
a.kb_category {
  font-weight: 400;
  font-size: 20px;
  color: #4c4c4c;
}
a.kb_category:hover {
  color: #674eec;
}
.kb_total_articles {
  color: #b3b3b3;
}
.kb_article_icon {
  color: #c7c7c7;
}
.kb_article_icon_lg {
  color: #e5e5e5;
  font-size: 40px;
}

.article_description {
  color: #999;
  font-size: 14px;
}

.pointer {
  cursor: pointer;
}
.bg-staff {
  background-color: #ccc6f4;
  box-shadow: 0 0 5px rgb(51 51 51 / 13%) !important;
}

a {
  color: #674eec !important;
  text-decoration: none !important;
  font-size: 16px;
}

.card {
  border-radius: 0.75rem;
  box-shadow: 0px 0px 20px #adadad38;
  border: 1px solid rgb(187 187 187 / 13%);
  margin: 10px;
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.75rem - 1px) calc(0.75rem - 1px);
}

.card-footer {
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.pt-5 {
  padding-top: 6rem !important;
}

.input-group-lg > .form-control {
  border-radius: 0.75rem;
}

.input-group > .input-group-append > .btn {
  border-radius: 0rem 0.75rem 0.75rem 0rem;
  background-color: #674eec;
  border-color: #674eec;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.input-group > .input-group-append > .btn:hover {
  background-color: #131313;
  border-color: #131313;
}

.input-group input {
  border: 2px solid #ced4da; /* Cor da borda padrão */
  border-radius: 8px; /* Borda arredondada */
  padding: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Suaviza a transição */
}

.input-group input:focus {
  border-color: #674eec;
  box-shadow: 0 0 6px rgba(103, 78, 236, 0.6); /* Efeito mais suave */
  outline: none;
}

.form-control {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  border: 2px solid #ced4da; /* Cor da borda padrão */
  border-radius: 8px; /* Borda arredondada */
  padding: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Suaviza a transição */
}

.form-control:focus {
  border-color: #674eec;
  box-shadow: 0 0 6px rgba(103, 78, 236, 0.6);
  outline: none;
}

.btn-primary {
  background-color: #674eec;
  border-color: #674eec;
  box-shadow: 0 0 6px rgba(103, 78, 236, 0.6);
  border-radius: 0.5rem;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.btn-primary:hover {
  background-color: #131313;
  border-color: #131313;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.btn-primary:focus {
  box-shadow: none;
  outline: none; /* Remove o contorno ao focar */
}

.btn-primary:active {
  background-color: #131313 !important;
  border-color: #131313 !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6) !important;
  transform: scale(0.96); /* Efeito de "pressionado" */
}

.btn-secondary {
  color: #fff !important;
  background-color: #292929;
  border-color: #292929;
  box-shadow: 0 0 6px rgba(36, 36, 36, 0.6);
  border-radius: 0.5rem;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.btn-secondary:hover {
  background-color: #131313;
  border-color: #131313;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.btn-secondary:focus {
  box-shadow: none;
  outline: none; /* Remove o contorno ao focar */
}

.btn-secondary:active {
  background-color: #131313 !important;
  border-color: #131313 !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6) !important;
  transform: scale(0.96); /* Efeito de "pressionado" */
}

.input-group-text {
  border: 2px solid #ced4da;
  border-radius: 0.5rem;
}

.alert {
  border: 2px solid transparent;
  border-radius: 0.5rem !important;
  border-color: none !important;
}

.alert-danger {
  box-shadow: 0 0 5px #f8d7da;
}
.alert-warning {
  box-shadow: 0 0 5px #fff3cd;
}
.alert-success {
  box-shadow: 0 0 5px #d4edda;
}
.alert-info {
  box-shadow: 0 0 5px #bee5eb;
}
.alert-primary {
  box-shadow: 0 0 5px #cce5ff;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #674eec;
  background-color: #674eec;
  box-shadow: 0 0 5pc #674eec;
}
.custom-file-label {
  border: 2px solid #ced4da;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
}

.custom-file-label:hover {
  border-color: #674eec;
}

.custom-file-label::after {
  height: auto !important;
  border-radius: 0 0.35rem 0.35rem 0 !important;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #674eec;
  box-shadow: 0 0 6px rgba(103, 78, 236, 0.6);
  outline: none;
}

.custom-file-input {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.custom-file-label input {
  display: none;
}

.card-header1 {
  padding: 0.5rem 0.5rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  /* border-bottom: 1px solid rgba(0, 0, 0, .125); */
  border-radius: 0.5rem;
  box-shadow: 0 0 5px rgb(51 51 51 / 13%);
}

blockquote {
  border-radius: 6px !important;
  border-left: 4px solid #131313b3 !important;
  padding-left: 5px;
  background: #e9e9e5 !important;
}

/* Estilização do dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 0 5px rgba(51, 51, 51, 0.13);
  border-radius: 0.75rem;
}

/* Quando um item do dropdown é clicado ou selecionado */
.dropdown-item:active,
.dropdown-item:focus {
  background-color: #674eec !important; /* Cor roxa ao selecionar */
  color: #fff !important; /* Texto branco para contraste */
}

/* Ajuste ao passar o mouse */
.dropdown-item:hover {
  background-color: rgba(235, 235, 235, 0.8); /* Roxo mais escuro */
  color: #fff;
}

/* Estilização do texto dentro do Select2 */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #333; /* Cor do texto */
  font-size: 16px; /* Ajuste do tamanho da fonte */
  padding: 2px 16px; /* Melhor espaçamento interno */
}

/* Estilização da borda e fundo do Select2 */
.select2-container--default .select2-selection--single {
  border: 2px solid #ced4da; /* Cor da borda padrão */
  border-radius: 8px; /* Bordas arredondadas */
  height: 42px; /* Ajusta a altura do campo */
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Quando o Select2 está focado */
.select2-container--default .select2-selection--single:focus,
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered:focus {
  border-color: #674eec !important; /* Cor roxa ao focar */
  box-shadow: 0 0 6px rgba(103, 78, 236, 0.6) !important;
  outline: none;
}

/* Hover no Select2 */
.select2-container--default .select2-selection--single:hover {
  border-color: #674eec;
}

/* Estilização do dropdown do Select2 */
.select2-dropdown {
  border: 2px solid #674eec; /* Borda do dropdown */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2px;
}

/* Itens do dropdown */
.select2-container--default .select2-results__option {
  transition: background-color 0.2s ease-in-out;
}

/* Hover nos itens do dropdown */
.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #674eec !important;
  color: #fff !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 41px;
}

/* Estilização do campo de pesquisa dentro do Select2 Dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 2px solid #ced4da; /* Cor da borda padrão */
  border-radius: 8px; /* Borda arredondada */
  padding: 8px 12px; /* Melhor espaçamento interno */
  font-size: 16px; /* Ajuste do tamanho da fonte */
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Quando o campo de pesquisa está focado */
.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: #674eec !important; /* Cor roxa ao focar */
  box-shadow: 0 0 6px rgba(103, 78, 236, 0.6) !important;
  outline: none;
}

/* Ajuste ao passar o mouse */
.select2-container--default
  .select2-search--dropdown
  .select2-search__field:hover {
  border-color: #674eec;
}

.nav-tabs .nav-link {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.list-group-item:first-child {
  border-top-left-radius: 0.5rem !important;
  border-top-right-radius: 0.5rem !important;
}
.list-group-item:first-child,
.list-group-item:last-child {
  border-bottom-right-radius: 0.5rem !important;
  border-bottom-left-radius: 0.5rem !important;
}

/* Estilo do preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* Cor de fundo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

/* Container da logo e animação */
.loader-container {
  position: relative;
  width: 150px; /* Tamanho ajustável */
  height: 150px;
}



/* Animação de pulsar */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Linha giratória em volta */
.rotating-line {
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 5px solid #674eec; /* Cor da linha */
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: spin 2s linear infinite;
}

/* Keyframes para a rotação da linha */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Classe para esconder o preloader */
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Evita interação com o preloader após o fade */
}

.text-muted{
  font-size: 18px;
}


@keyframes alerta {
  0% { box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.7); }
  50% { box-shadow: 0 0 5px 3px rgba(255, 0, 0, 0.5); }
  100% { box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.7); }
}

@keyframes alerta-verde {
  0% { box-shadow: 0 0 0 0px rgba(9, 255, 0, 0.7); }
  50% { box-shadow: 0 0 5px 3px rgba(9, 255, 0, 0.5); }
  100% { box-shadow: 0 0 0 0px rgba(9, 255, 0, 0.7); }
}

.circulo {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.circulo.create {
  background-color: red;
  animation: alerta 1s infinite;
}

.circulo.update {
  background-color: rgb(9, 255, 0);
  animation: alerta-verde 1s infinite;
}

.full-card-link {
  text-decoration: none; /* Remove sublinhado do link */
  color: inherit; /* Mantém a cor do texto */
  display: block; /* Faz com que o link ocupe toda a área */
}

.full-card-link .card {
  transition: background 0.3s ease-in-out;
}

.full-card-link:hover .card {
  background: #f1f1f1; /* Cor de fundo ao passar o mouse */
}
