:root {
  /* Paleta de cores base */
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-black: #000;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;

  /* Cores temáticas do Bootstrap */
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  /* Versões RGB (úteis para transparências e gradientes) */
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;

  /*  Tipografia */
  --bs-font-sans-serif: "Roboto", sans-serif;;
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Courier New",
    monospace;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;

  /*  Layout e espaçamento */
  --bs-border-width: 1px;
  --bs-border-radius: 0.375rem;
  --bs-border-color: #dee2e6;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

  /*  Links e interações */
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a58ca;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-hover-color-rgb: 10, 88, 202;

  /*  Foco e acessibilidade */
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-focus-ring-blur: 0;
  --bs-focus-ring-opacity: 0.25;

  /*  Gradiente padrão */
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
}

/* Botões */

/* Estilo para links padrão */
a {
    color: #8e24aa; /* Roxo */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #D3149F; /* Rosa */
    text-decoration: underline;
}

/* Estilo para links com classe btn-link do Bootstrap */
.btn-primary {
    background-color: #8e24aa; /* Roxo */
    border-color: #8e24aa;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #D3149F; /* Rosa */
    border-color: #D3149F;
    color: white;
}

/* Estilo para botões secundários */
.btn-secondary {
    background-color: #D3149F; /* Rosa */
    border-color: #D3149F;
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #8e24aa; /* Roxo */
    border-color: #8e24aa;
    color: white;
}

/* Estilo para outros tipos de botão (opcional) */
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    background-color: #ab47bc; /* Tom complementar */
    border-color: #ab47bc;
    color: white;
}

.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover {
    background-color: #D3149F; /* Rosa */
    border-color: #D3149F;
    color: white;
}

.btn-link {
    color: #8e24aa;
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus {
    color: #D3149F;
    text-decoration: underline;
}

/* Links com aparência personalizada */
.link-primary {
    color: #8e24aa !important;
    text-decoration: none;
}

.link-primary:hover,
.link-primary:focus {
    color: #D3149F !important;
    text-decoration: underline;
}

.link-secondary {
    color: #D3149F !important;
    text-decoration: none;
}

.link-secondary:hover,
.link-secondary:focus {
    color: #8e24aa !important;
    text-decoration: underline;
}

/* Variações para feedback */
.link-success,
.link-info,
.link-warning,
.link-danger {
    color: #ab47bc !important; /* Tom complementar roxo */
    text-decoration: none;
}

.link-success:hover,
.link-info:hover,
.link-warning:hover,
.link-danger:hover,
.link-success:focus,
.link-info:focus,
.link-warning:focus,
.link-danger:focus {
    color: #D3149F !important;
    text-decoration: underline;
}

/* Caso esteja usando link-light */
.link-light {
    color: #f3e5f5 !important;
    text-decoration: none;
}

.link-light:hover,
.link-light:focus {
    color: #ffffff !important;
    text-decoration: underline;
}


/* Titulos */

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Sans Pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  color: var(--bs-gray-dark);
}


/* body */

body {
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-gray-dark);
  background-color: var(--bs-light);
}

/* header */

header {
  background: #d3149f ; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to right,
    #472553,
    #d3149f
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to right,
    #472553,
    #d3149f
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  margin-bottom: 20px;
  color: var(--bs-white);

  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-main {
  border-bottom: 8px solid #eb2cb9;
}

header .navbar-toggler
{
  color: rgba(255, 255, 255, 0.35);
  border: var(--bs-border-width) solid rgba(255, 255, 255, 0.35);
}

header .header-top a {
  color: var(--bs-white);
  text-decoration: none;
}

header .navbar-brand img {
  width: 100px;
}

header .nav-link {
  color: var(--bs-white);
}

header .nav-link:focus,
header .nav-link:hover {
  color: #ddd;
}

header .navbar-nav .nav-link.active,
header .navbar-nav .nav-link.show {
  color: var(--bs-white);
}
header .dropdown-item {
  white-space: normal;
}

header .dropdown-item.active,
header .dropdown-item:active {
  color: var(--bs-dropdown-link-hover-color);
  text-decoration: none;
  background-color: var(--bs-white);
}

header .dropdown-toggle::after {
  vertical-align: middle;
}

/* menu */
.dropdown-item {
  color: var(--bs-white);
}

.dropdown .dropdown-menu {
  display: none;
  background: #7C208C;
  border: none;
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
  display: block;
  margin-top: 0.1em;
  margin-left: 0.1em;
}

.dropdown-menu {
  min-width: 260px;
  box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.25);
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
}


/* news-highlight */
.news-highlight {
 position: relative;
}

.news-highlight:before {
    content: '';
    width: 90px;
    background-color: #cf149d;
    position: absolute;
    top: -26px;
    height: 10px;
    border-radius: 6px;
    margin-left: -45px;
}


/* footer */
footer {
  border-top: 8px solid #9f1e7d;
  background-color: var(--bs-dark);
  color: var(--bs-white);
}

footer a {
  color: var(--bs-white);
  text-decoration: none;
}


/* Slider */
.tns-outer {
  position: relative;
}

.tns-outer > button {
  display: none;
}

.tns-outer .tns-nav {
  position: absolute;
  bottom: -15px;
  left: 20px;
  transform: translateX(-50%);
  z-index: 9;
}

.tns-outer .tns-nav {
  display: flex;
  gap: 5px;
}

.tns-outer .tns-nav button {
  background-color: #ccc;
  height: 7px;
  width: 15px;
  border: none;
}

.tns-outer .tns-nav button.tns-nav-active {
  background-color: var(--bs-primary);
}

.tns-outer .tns-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 9;
  padding: 0 10px;
}

.tns-outer .tns-controls  button {
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 15px 10px;
}

.tns-outer .tns-ovh {
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.06);
}


.b5-events-home figure {
  height: 140px;
  width: auto;
  object-fit: cover;
}

.directory-gallery .photo {
    width: 130px;
    height: 130px;
    background-size: cover;
}

@media screen and (min-width: 769px) {
  .dropend:hover > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
  }
  .dropend .dropdown-toggle {
    margin-left: 0.5em;
  }
}
