/********** Template CSS **********/
:root {
    --primary: #1E60AA;
    --secondary: #fedd00;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

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


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

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


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

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

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

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

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

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


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-nf {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg-planificacion-funeraria.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-traslados {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/traslados-funeraria.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-convenios {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/convenios-corporativos.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-contacto {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/contacto-funeraria-azocar.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-cremacion {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/servicios-cremacion-santiago.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-nosotros {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/nosotros.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-planes {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/planes.jpg) center center no-repeat;
    background-size: cover;
}
.page-header-salon-velatorio {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/salon-velatorio-santiago.jpg) center center no-repeat;
    background-size: cover;
}


.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/landing-urgencias-funeraria-azocar.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

/*** Urgencias ***/
#header-phone {
  width: 100%;
  top: 0px;
  left: 0;
  right: 0;
  background: rgb(0, 29, 81);
  text-align: center;    
  font-family: Font Awesome 5 Free;
  color: #FFFFFF;
  font-size: large;
}

.link { color: #FFFFFF; } /* CSS link color */
a:hover {
  color: rgb(254, 221, 0);
}


/*** Chat Floating ***/
.fixed-tabs-Whats {
  position: fixed;
  right: 0px;
  bottom: 100px;
  z-index: 100;
}
.aba-whatsphone {
  background: #2cb741;
  height: 60px;
  width: 70px;
  border-radius: 30px 0 0 30px;
  transition: 0.7s ease;
}
.aba-whatsphone:hover {
  width: 280px;
  transition: 0.7s ease;
}
.aba-whatsphone-icone {
  background-image: url(https://mailmarketing.cl/clientes-2024/azocar/img/whatsapp-funeraria.png);
    background-repeat: no-repeat;
    width: 280px;
    background-size: 44px;
    background-position: 16px 7px;
    padding: 7px;
}
.aba-whatsphone-icone a {
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  margin-left: 70px;
  text-decoration: none;
  height: 60px;
  font-family: sans-serif;
}
.aba-whatsphone-icone a strong {
  display: block;
  font-size: 21px;
  margin-left: 70px;
}


.nav-link-phone  {
        color: #fedd00;
		font-size: 22px;
		font-family: sans-serif;
    }
.nav-link-phone:hover {
    color: #ffffff;
}	
.nav-link-phone-emergencias  {
        color: #fedd00;
		font-size: 31px;
		font-family: sans-serif;
    }
.nav-link-phone-emergencias:hover {
    color: #ffffff;
}	


/* Contenedor principal */
.banner {
  background-color: #001d51; /* Azul claro */
  color: #fff;
  text-align: center;
  padding: 10px 20px; /* Padding general */
  display: flex; /* Flex para alinear los elementos en una fila */
  justify-content: center; /* Centra el contenido */
  align-items: center; /* Alinea verticalmente */
  white-space: nowrap; /* Evita saltos de línea */
  overflow: hidden; /* Asegura que no haya desbordamientos */
  flex-wrap: wrap; /* Permite que los elementos se ajusten en una nueva línea si es necesario */
  font-size: 20px;
}

.banner a {
  color: #fedd00;
  text-decoration: none;
  margin: 0 10px; /* Márgenes entre enlaces */
}

.banner a:hover {
  color: #fff; /* Color al pasar el mouse */
}

/* Tamaños y colores de +569 9818 8978 | +562 2364 6000 */

.banner-principal a {
  color: #fedd00; /* Color del texto y el icono */
  font-size: 20px;
}

.banner-secundario a {
  color: white; /* Color base del texto */
  font-size: 17px;
  text-decoration: none;
}

.banner-secundario a:hover {
  color: #fedd00; /* Color al pasar el mouse */
  text-decoration: none;
}


/* Media Query para pantallas medianas (hasta 768px de ancho) */
@media (max-width: 768px) {
  .banner {
    font-size: 1rem; /* Ajuste de tamaño de fuente */
    padding: 1rem; /* Ajuste de padding */
    flex-direction: column; /* Cambia a columna en pantallas pequeñas */
  }

  .banner a {
    margin: 0.5rem; /* Ajuste de márgenes en pantallas pequeñas */
  }
}

/* Media Query para pantallas pequeñas (hasta 480px de ancho) */
@media (max-width: 480px) {
  .banner {
    font-size: 0.8rem; /* Reducir el tamaño de la fuente en dispositivos más pequeños */
    padding: 0.8rem; /* Reducir el padding */
  }

  .banner a {
    font-size: 0.9rem; /* Ajuste del tamaño de fuente de los enlaces */
  }
}

/* Estilo específico para el texto "Llámanos" */
.Estilo-Llamanos {
  color: #fedd00; /* Color amarillo para el texto "Llámanos" */
}

/* Para evitar que los enlaces tengan subrayado */
a {
  text-decoration: none;
}

/* Estilos para listas */
ul {
  margin: 0px;
  padding: 0px;
}

h1#main_title{
    text-align: center;
}

.sliders {
  display: none;
  width:100%;
}
img {vertical-align: middle;}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.prev, .next{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  background-color: #ffffff5e;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next{
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover, .am-slider-prev:hover, .am-slider-next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-slider, .dot:hover {
  background-color: #717171;
}

/* Estilos para la sección incluye (equivalente a la sección de equipo) */
.incluye {
  background-color: #ffffff; /* Fondo suave */
  padding: 60px 0; /* Espaciado superior e inferior */
}

/* Título y subtítulo */
.incluye .text-center {
  max-width: 800px;
  margin: 0 auto;
}

.incluye .fs-4 {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.incluye h1.display-4 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #878889;
}

/* Estilos para cada item de equipo */
.incluye-item {
  background: #fff; /* Fondo blanco para cada bloque de miembro */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
  transition: transform 0.3s ease; /* Transición suave al pasar el mouse */
}

.incluye-item:hover {
  transform: translateY(-10px); /* Efecto hover para elevar el cuadro */
}

/* Imagen del miembro del equipo */
.incluye-img img {
  width: 100%; /* Imagen a todo lo ancho */
  border-bottom: 5px solid #f1f1f1; /* Separación entre imagen y texto */
}

/* Texto debajo de la imagen */
.incluye-text {
  padding: 20px;
  background-color: #878889; /* Fondo azul */
  color: white;
  text-align: center;
}

.incluye-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.incluye-text p {
  font-size: 1rem;
  margin-top: 5px;
}

/* Estilo para los iconos sociales */
.incluye-social {
  text-align: center;
  padding: 10px;
  background-color: #f1f1f1; /* Fondo gris claro */
}

.incluye-social .btn {
  margin: 5px;
  font-size: 1.2rem;
}

.incluye-social .btn:hover {
  background-color: #878889; /* Cambio de color en hover */
  color: white;
  border-color: #878889;
}

/* Estilos responsivos para pantallas pequeñas */
@media (max-width: 768px) {
  .incluye .row {
    grid-template-columns: 1fr 1fr; /* 2 columnas en pantallas más pequeñas */
  }

  .incluye h1.display-4 {
    font-size: 2rem; /* Reducir tamaño de título */
  }

.volver {
  background-color: #4CAF50;  /* Color de fondo */
  color: white;               /* Color del texto */
  padding: 10px 20px;         /* Espaciado */
  border: none;               /* Sin borde */
  cursor: pointer;            /* Cambio de cursor */
  font-size: 16px;             /* Tamaño de fuente */
  margin-top: 10px;            /* Espaciado superior */
  border-radius: 5px;         /* Bordes redondeados */
}

.volver:hover {
  background-color: #45a049;  /* Color cuando se pasa el mouse sobre el botón */
}

.image-container {
  position: relative;
}

.ver-mas-button {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.image-container:hover .ver-mas-button {
  display: block;
}

