.navbar ul>li {
  padding: 10px 15px;
  border-right: solid 1px #004A80;
}

.navbar ul>li:first-child {
  border-left: solid 1px #004A80;
}

.navbar ul>li:hover {
  background-image: linear-gradient(#02518a 30%, #01385f 95%);
  background-color: var(--color-default);
}

.navbar .nav-item a,
.navbar a.login {
  margin: 0 10px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-default);
}

.navbar a.login>i {
  font-size: 1.8rem;
  padding-right: 10px;
}

.navbar-toggler {
  font-size: 2rem !important;
}

.bg-navbar {
  /* background-image: linear-gradient(#002D4D, #023c66, #002D4D); */
  background-image: linear-gradient(#004A80 30%, #002D4D 95%);
  background-color: var(--color-default);
  padding: 0;
}

.color-default {
  color: var(--color-default);
}

.color-default-soft {
  color: var(--color-default-soft);
}

.color-secondary {
  color: var(--color-secondary);
}

.color-complementary {
  color: var(--color-complementary);
}

.color-tertiary {
  color: var(--color-tertiary);
}

.color-white {
  color: white;
}

#banner {
  /* background-image: linear-gradient(#1e415e 10%, #2b5b84 90%);*/
  background-color: #1e415e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
  min-height: 330px;
  position: relative;
}

#banner .row>div {
  height: 250px;
}

#banner h1 {
  font-weight: 200;
}

#banner p {
  font-size: 1.1rem;
}

#banner-md {
  min-height: 250px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
}

@media screen and (max-width:575px) {
  #banner {
    min-height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

#carousel2025 .carousel-item>div {
  min-height: 400px;
}

#declaracion .col .card {
  min-height: 160px;
}


/* calendar */
.fc-button {
  padding: 5px 10px !important;
  font-size: 0.85rem !important;
}

.fc-toolbar h2 {
  font-size: 1.2rem !important;
}

.fc table {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}

.fc table a {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  padding: 5px;
}

.fc table a .fc-content>span {
  font-size: 0.85rem !important;
}

/*
.fc table .fc-time{
  display: none;
} */

@media screen and (max-width:767px) {
  .fc-dayGridMonth-button {
    display: none !important;
  }
}

.gcal-01 .fc-event-dot,
.fc-event.gcal-01 {
  background-color: #5F82B3;
}

.gcal-02 .fc-event-dot,
.fc-event.gcal-02 {
  background-color: #66B35F;
}

.gcal-03 .fc-event-dot,
.fc-event.gcal-03 {
  background-color: #B35F93;
}


/* modal */
.modal h4 {
  margin: 0 !important;
}

.modal a.inmodal {
  font-size: 1rem;
}

/* footer */
footer {
  background-color: var(--color-gray);
  color: var(--color-default);
  font-size: 0.8rem;
}

footer a {
  color: black;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.7rem;
}

footer h5 {
  color: var(--color-default-soft);
}

footer .social-links a {
  font-size: 1.1rem;
  margin: 7px;
}

footer .copyright a {
  font-size: 0.7rem;
  line-height: 1rem;
}

footer .copyright {
  border-top: 1px solid lightgrey;
}

footer .logotipo {
  width: 200px;
}

/* effect */
#faq a {
  font-size: 1rem;
  font-weight: 800;
}

#church a {
  font-size: 1rem;
  font-weight: 800;
}

#church .card {
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
  display: table-cell;
}

#church>div {
  display: table;
}

#church h4 {
  margin: 3px;
}

#dvTransmisiones p,
#dvTransmisiones h5 {
  margin: 0;
  padding: 0;
}

#dvTransmisiones .small {
  font-size: 11px;
  color: gray;
}

#dvTransmisiones .serie {
  font-size: 0.9rem;
}

#dvTransmisiones .predicador {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 700;
}

#dvTransmisiones img {
  width: 100%;
}


.hamburger {
  cursor: pointer;
}

.hamburger .line {
  width: 26px;
  height: 1px;
  background-color: black;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}

.hamburger.active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
  right: 30%;
  position: absolute;
  z-index: 9999;
}

.hamburger.active .line:nth-child(2) {
  width: 0px;
}

.hamburger.active .line:nth-child(1),
.hamburger.active .line:nth-child(3) {
  transition-delay: 0.2s;
}

.hamburger.active .line:nth-child(1) {
  transform: translateY(12px);
  -webkit-transform: translateY(12px);
  -moz-transform: translateY(12px);
  -ms-transform: translateY(12px);
  -o-transform: translateY(12px);
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
  -webkit-transform: translateY(-5px) rotate(90deg);
  -moz-transform: translateY(-5px) rotate(90deg);
  -ms-transform: translateY(-5px) rotate(90deg);
  -o-transform: translateY(-5px) rotate(90deg);
}


.menu-lateral {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  width: 300px;
  height: 100vh;
  padding: 100px 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 2;
  box-shadow: rgba(33, 60, 124, 0.5) 5px 4px 7px;
}

.menu-lateral.active {
  left: 0;
  box-shadow: rgba(33, 60, 124, 0.5) 0px 8px 24px;
}

.menu-lateral ul {
  padding: 0;
  list-style: none;
  width: 100%;
}

.menu-lateral ul li {
  padding: 0 10px;
}

.menu-lateral ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 10px 20px;
}

.menu-lateral .dropdown a {
  padding: 10px 0 10px 50px;
  display: block;
  margin: auto;
  font-size: 0.95rem;
}

.rrss {
  font-size: 3rem
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #6c757d;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 10px 20px;
}

.timeline-item:nth-child(odd) {
  text-align: right;
}

.timeline-item:nth-child(even) {
  text-align: left;
  margin-left: 50%;
}

/* Agregar bullets a cada item */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  /* Posición vertical */
  left: -6px;
  /* Desplazamiento horizontal para centrarlos */
  width: 16px;
  height: 16px;
  background-color: #007bff;
  /* Color del bullet */
  border-radius: 50%;
  /* Hacerlo redondo */
  border: 4px solid #fff;
  /* Borde blanco para hacerlo más visible */
}

/* Ajustar bullets para los items impares (de izquierda a derecha) */
.timeline-item:nth-child(odd)::before {
  left: auto;
  right: -10px;
  /* Posición en el lado derecho */
}


.custom-tooltip .tooltip-inner {
  background: linear-gradient(135deg, #fde457, #fdb837);
  color: black;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 400;
  text-align: left;
  max-width: 350px;
}

.custom-tooltip .tooltip-arrow::before {
  border-top-color: #FFD700;
}

#baseDoctrinal [data-bs-toggle="tooltip"] {
  color: #007bff;
  text-decoration: underline dotted;
  cursor: pointer;
}

#groups a {
  font-size: 0.9rem;
  color: #0d6efd;
}

h2 a {
  font-size: 0.9rem;
  color: #0d6efd;
  padding-bottom: 10px;
}

h2 a i {
  font-size: 16px;
}

#accordion .nav .nav-item,
#accordion .nav .nav-item button {
  min-width: 100%;
}

#accordion .nav .nav-item button.active {
  background-color: rgba(255, 216, 87, 0.20);
  color: var(--color-default) !important;
}

#accordion .nav .nav-item button.active::after {
  content: "";
  border-right: 4px solid rgba(252, 103, 73, 0.75);
  height: 100%;
  position: absolute;
  right: -1px;
  top: 0;
  border-radius: 5px 0 0 5px;
}

@media (max-width: 768px) {

  #accordion .nav .nav-item,
  #accordion .nav .nav-item button {
    min-width: auto;
  }

  #accordion .nav .nav-item button {
    min-width: 150px;
    background-color: #efefefe5;
    font-size: 0.9rem;
  }

  #accordion .nav .nav-item button.active {
    background-color: rgba(255, 216, 87, 0.20);
    color: var(--color-default) !important;
  }

  #accordion .nav .nav-item button.active::after {
    content: "";
    border-bottom: 4px solid rgba(252, 103, 73, 0.75);
    border-right: none;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    /* Asegura que la barra ocupe todo el ancho de la pestaña */
    border-radius: 0 0 5px 5px;
    /* Redondear la parte inferior */
  }
}