@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../assets/fonts/OpenSans-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playball'; /* Mantén el nombre de la fuente como 'Playball' */
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/Happy Work.otf') format('truetype'); /* Apunta a Happy Work */
}


body {
    background-color: rgba(255, 252, 248, 0.64); /* Background color of the page */
}

.text-right {
    text-align: right;
}

.carousel-indicators [data-bs-target] {
    background-color: white;
}

#custom-pagination {
    color: white;
    font-size: 1.2rem;
}

.admin-menu {
    margin-top: 50px;
}
.admin-menu .btn {
    width: 80%;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
}
.btn-icon i {
    font-size: 110px; /* Tamaño grande para el ícono */
    margin-bottom: 10px;
}
.btn-icon {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    color: #333;
}
.btn-primary {
    color: #fff;
    background-color: #c2c2c2;
    border-color: #c2c2c2;
}
.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.custom-pagination .page-link {
    color: #52688A;
}

.custom-pagination .page-link:hover {
    color: #ffffff;
    background-color: #52688A;
    border-color: #52688A;
}

.custom-pagination .page-item.active .page-link {
    background-color: #52688A;
    border-color: #52688A;
    color: #FFF;
}


/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: 'Playball', cursive !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.my-6 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.py-6 {
    padding-top: 4rem;
    margin-bottom: 4rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Button Start ***/
.btn.btn-primary {
    border: 0;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Custom Button */
.custom-btn {
    background-color: #EB6906; /* Color de fondo */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    padding: 0.75rem 1.5rem; /* Padding para el botón */
    color: white; /* Color del texto */
    font-size: 1rem; /* Tamaño de la fuente */
    text-align: center; /* Alinear el texto al centro */
    text-decoration: none; /* Sin subrayado */
    display: inline-block; /* Permite usar padding y margin */
    transition: background-color 0.3s ease; /* Transición de color de fondo */
}

.custom-btn:hover {
    background-color: rgba(245, 124, 0, 0.5);
    color: #D15806;
}

.btn-red-cancel {
    background-color: #C8102E; /* Color de fondo rojo */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    padding: 0.75rem 1.5rem; /* Padding para el botón */
    color: white; /* Color del texto */
    font-size: 1rem; /* Tamaño de la fuente */
    text-align: center; /* Alinear el texto al centro */
    text-decoration: none; /* Sin subrayado */
    display: inline-block; /* Permite usar padding y margin */
    transition: background-color 0.3s ease; /* Transición de color de fondo */
}

.btn-red-cancel:hover {
    background-color: #A00A2F; /* Rojo más oscuro en hover */
    color: white; /* Mantener el texto en blanco */
    text-decoration: none; /* Asegura que no tenga subrayado */
}
/* Estilo para el botón de WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    padding: 0.75rem 1.5rem; /* Padding para el botón */
    font-size: 1rem; /* Tamaño de la fuente */
    text-align: center; /* Alinear el texto al centro */
    text-decoration: none; /* Sin subrayado */
    display: inline-block; /* Permite usar padding y margin */
    transition: background-color 0.3s ease; /* Transición de color de fondo */
}

.btn-whatsapp:hover {
    background-color: #1DA955;
    color: white;
}

/* Botón principal personalizado */
.btn-primary-custom {
    background-color: #EB6906; /* Color de fondo */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    padding: 0.75rem 1.5rem; /* Padding para el botón */
    color: white; /* Color del texto */
    font-size: 1rem; /* Tamaño de la fuente */
    text-align: center; /* Alinear el texto al centro */
    text-decoration: none; /* Sin subrayado */
    display: inline-block; /* Permite usar padding y margin */
    transition: background-color 0.3s ease; /* Transición de color de fondo */
}


.btn-primary-custom:hover {
    background-color: rgba(245, 124, 0, 0.5);
    color: #FFF;
    text-decoration: none; /* Asegura que no tenga subrayado */
}

/* Custom Admin Button Styles */
.admin-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px; /* Aumentado el padding para hacer los botones más altos */
    border-radius: 10px;
    background-color: #EB6906;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-height: 200px; /* Altura mínima para los botones */
}

.admin-btn .icon {
    font-size: 100px; /* Tamaño del ícono */
    margin-bottom: 10px; /* Espacio entre ícono y texto */
}

.admin-btn .btn-text {
    font-size: 1.2rem; /* Tamaño del texto */
}

/* Hover Effects */
.admin-btn:hover {
    background-color: rgba(245, 124, 0, 0.5);
    color: white;
    transform: scale(1.05); /* Efecto de escala en hover */
    text-decoration: none; /* Sin subrayado en hover */
}

.admin2-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px; /* Aumentado el padding para hacer los botones más altos */
    border-radius: 10px;
    background-color: #52688A;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-height: 200px; /* Altura mínima para los botones */
}

.admin2-btn:hover {
    background-color: rgba(82, 104, 138, 0.5);
    color: white;
    transform: scale(1.05); /* Efecto de escala en hover */
    text-decoration: none; /* Sin subrayado en hover */
}

.admin-btn.btn-primary:hover {
    background-color: #cf2e1188; /* Color de fondo en hover */
}

.admin-btn.btn-success:hover {
    background-color: #28a745; /* Color de fondo en hover */
}

.admin-btn.btn-danger:hover {
    background-color: rgba(220, 53, 69, 0.5); /* Color de fondo en hover */
}

/*** Button End ***/

/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: .5s;
    position: relative;
}

.navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #EB6906;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #EB6906;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .navbar .search-container {
        width: 100% !important; /* Ajustar el ancho al 100% */
        font-size: 12px;
    }

    .navbar .search-container input {
        width: 100% !important; /* Ajustar el ancho del input al 100% */
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}

.nav-link.active {
    font-weight: bold;
    color: #007bff; /* Cambia el color según sea necesario */
}

/*** Navbar End ***/

/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}
/*** Events End ***/


/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/


/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}
/*** Menu End ***/



/*** Footer Start ***/
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/


/* formato para iconos */
.image_iconos{
    height: 24px;
    width: 24px;
}

/* formato para etiquetas de formularios */
.etiqueta_formulario{
    padding-top: 5px;
    font-weight: bold;
    font-size: 16;
    color: #000000;
}

/* formato para etiquetas de modales */
.etiqueta_modal{
    font-weight: bold;
    font-size: 14;
}

.notas_modal{
    display: flex;
    align-items: center;
    justify-content: center;
    color:#dc3545;
}

/* Estilos para las alertas */
.divAlertas{
    display: flex; 
    justify-content: center;  
    align-items: center; 
    position:absolute; 
    z-index: 100000; 
    padding-top:15px;
   }
  
   .alert {
    position: relative;
    padding: 0.9375rem 0.9375rem;
    margin-bottom: 1rem;
    border: 0 solid transparent;
    border-radius: 0.375rem;
  }
  
  .alert-success {
    display: flex; 
    justify-content: center;  
    align-items: center; 
    width: 35%;
    background-color: #e8fadf;
    border-color: #d4f5c3;
    color: #000000;
    }
  
    .alert-error {
      display: flex; 
      justify-content: center;  
      align-items: center; 
      width: 35%;
      background-color: #fa000093;
      border-color: #cc0a0adc;
      color: #fafafaf8;
      }
  
    .alert-dismissible {
      padding-right: 2.8125rem;
    }

    .whatsapp-float {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #25d366;
        color: white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: background-color 0.3s, transform 0.3s;
    }

    .whatsapp-float:hover {
        background-color: #128c7e;
        transform: translateY(-50%) scale(1.1);
    }

    .whatsapp-icon {
        font-size: 20px;
    }

    .custom-tooltip {
      --bs-tooltip-bg: rgba(82, 104, 138, 0.95);
      --bs-tooltip-color: #fff;
      font-size: 14px;
      animation: fadeOut 4s forwards;
      padding: 8px 12px;
    }

    .custom-tooltip .tooltip-arrow {
        display: none !important;
    }

    @media (max-width: 992px) {
        .col-md-3 {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    @media (max-width: 576px) {
        .col-md-3 {
            flex: 0 0 50%;
            max-width: 50%;
        }

        body {
            margin-top: 50% !important;
        }
    }

    @media (min-width: 576px) and (max-width: 600px) {
        body {
            margin-top: 15% !important;
        }
    }

    @media (min-width: 600px) and (max-width: 992px) {
        body {
            margin-top: 5% !important;
        }
    }

    @media (min-width: 341px) and (max-width: 575px) {
        body {
            margin-top: 10% !important;
        }
    }

    .custom-btn:disabled {
        background-color: #ccc; /* gris para disabled */
        color: #666;
        cursor: not-allowed;
}