@font-face {
  font-family: 'Century-Bold';
  src: url(../fonts/century-gothic/centurygothic_bold.ttf);
  font-weight: bold;
  font-style: bold;
}

@font-face {
  font-family: 'Century-Normal';
  src: url(../fonts/century-gothic/centurygothic.ttf);
  font-weight: normal;
  font-style: normal;
}

/* Mapa */
#map {
  margin: auto;
  height: 550px;
  width: 100%;
  margin-top: 20px;
}

body {
  /* font-family: 'Poppins' !important; */
  margin: 0;
  padding: 0;
  font-family: 'Century-Bold' !important;
  /* font-size: 56px !important; */
  background-image: url("../images/background/backGuinda.png");
}

/* Contenedor blanco con estilo elegante */
.bg-white {
  background-color: #ffffff;
  /* Fondo blanco */
  padding: 15px;
  /* Espaciado interno */
  border-radius: 5px;
  /* Bordes redondeados */
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* Borde contorneado suave */
  box-shadow: 0 6px 20px rgb(0 0 0 / 90%);
  /* Sombra difusa */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
  /* Espacio inferior */
  width: auto !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-5 {
  margin-top: 5px !important;
}

.firstHeading {
  text-align: center;
  padding: 5px;
  color: #6b1d1d;
  text-shadow: 2px 1px 2px #000000;
  text-transform: uppercase;
}

.modulos-apoyos,
.modulos-apoyos-buttons {
  padding: 0;
  border: none;
  background: transparent;
  margin: 0px 5px;
}

.modulos-apoyos-buttons:hover{
  transform: scale(1.2);
}

.modulos-apoyos {
  width: 120px;
  height: 120px;
}

.gm-style-iw-d {
  margin-top: -40px !important;
}

/* ====================
    FILTRO APOYOS
===================== */

.modulos-apoyos-buttons {
  border-radius: 8px;
  margin: 5px;
  cursor: pointer;
  transition: 0.3s;
  color: #ffffff;
  width: 80px;
  height: 80px;
}

.modulos-apoyos-buttons.active {
  background: #6b1d1d;
  color: #ffffff !important;
  outline: 5px auto -webkit-focus-ring-color;
  transform: scale(1.1);
}

.modulos-apoyos-buttons img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.filtro-todos {
  padding: 10px;
  height: auto;
  width: auto;
  color: #000000;
  background-color: #efefef;
}

.filtro-todos.active:hover {
  color: #ffffff !important;
}



/* ====================
    MODAL APOYOS
===================== */

.modal-apoyos {
  background-image: url('../images/backgroudApoyos.png');
  background-repeat: no-repeat;
  margin: auto;
  background-position: -15px;
}

.modal-apoyos .modal-header {
  border: none !important;
}

.modal-apoyos .modal-footer {
  border: none !important;
}

.modal-apoyos hr {
  margin-top: 5px;
  margin-bottom: 0px;
  margin-right: 35px;
  border-top: 1px solid #6b1d1d;
  opacity: 0.3;
}

.modal-apoyos .close {
  margin-top: -68px !important;
  color: #6b1d1d;
  opacity: 0.8 !important;
}

.modal .modal-content {
  padding-left: 60px;
  text-align: justify;
}

.modal-title {
  text-align: center;
  padding-bottom: 5px !important;
  margin-top: 20px !important;
  color: #6b1d1d;
  font-size: 24px;
  text-transform: uppercase;
}

.contenido-resumen {
  overflow-y: auto;
  height: 260px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 20px;
  margin-bottom: 20px;
}

#contenedor-resumen {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 550;
}

.carousel-inner video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.carousel-inner {
  border-radius: 10px;
}

.carousel-control.left {
  background-image: none !important;
}

.carousel-control.right {
  background-image: none !important;
}

.carousel-control {
  color: #b69256 !important;
  width: 40% !important;
}

.carousel-tamanio {
  margin: auto !important;
  width: 62% !important;
  height: 280px !important;
}

/* Imagenes Carousel*/

/* Alto fijo para todas las diapositivas */
#myCarousel .carousel-inner .item {
  height: 280px;
  /* Cambia el valor según necesites */
  text-align: center;
  background-color: transparent;
  /* opcional: fondo negro para videos con bordes */
}

/* Imagenes centradas y escaladas */
#myCarousel .carousel-inner .item img {
  /* max-height: 100%;
  max-width: 100%; */
  margin: auto;
  /* display: block; */
  object-fit: contain;
  /* Ajusta y cubre todo el espacio */
  width: 100%;
  /* toma todo el ancho para cubrir los controles */
  border-radius: 10px;
  height: 280px;
}

/* Videos centrados y escalados */
#myCarousel .carousel-inner .item video {
  max-height: 100%;
  max-width: 100%;
  margin: auto;
  /* display: block; */
}


.carousel-control {
  border-radius: 10px;
}

/* ====================
    TABLA APOYOS
===================== */
.table {
  width: 98% !important;
}

#tablaResumen th {
  background-color: #6b1d1d;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border: 1px solid #555;
}


#tablaResumen td {
  border: 1px solid #555;
  padding: 8px 12px;
  text-align: left;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #f2f2f2 !important;
}

.descripcion {
  margin-right: 20px;
}

.modal .descripcion {
  white-space: pre-line;
  line-height: 1.5;
}

.periodo-group .btnPeriodo{
    background:#fff;
    border:1px solid #6b1d1d;
    color:#6b1d1d;
    font-weight:600;
}

/* hover */
.periodo-group .btnPeriodo:hover{
    background:#6b1d1d;
    color:#fff;
}

/* activo */
.periodo-group .btnPeriodo.active{
    background:#6b1d1d;
    border-color:#6b1d1d;
    color:#fff;
}

/* quitar focus azul bootstrap */
.periodo-group .btnPeriodo:focus,
.periodo-group .btnPeriodo:active:focus{
    outline:none;
    box-shadow:none;
}

/* Loading */
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.glyphicon-spin {
    font-size: 40px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}