/********** Template CSS **********/
:root {
    --primary: #1589cb;
    --light: #f3f6f8;
    --dark: #0e2e50;
}

.swal2-container {
    z-index: 99999999999999;
}

.swal2-popup {
    z-index: 9999999999999;
}

/* Link btn whatsapp */
#btn-whatsapp{
    display: flex;
    color: #fff;
    border-radius: 100%;
    background-color: #075E54;
    font-size: 4rem;
    position: fixed;
    bottom: 40px;
    left: 40px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    width: 90px;
    height: 90px;
}
#btn-whatsapp:hover{
    background-color: #fff;
    color: #075E54;
}
#btn-whatsapp i{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 124px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    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;
    border-radius: 50px;
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #ffffff;
    font-weight: 500;
    outline: none;
    transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ffffff;
}

.sticky-top.navbar .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.sticky-top.navbar .navbar-nav .nav-link:hover,
.sticky-top.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-brand h1 {
    color: #ffffff;
}

.navbar .navbar-brand img {
    max-height: 60px;
    transition: 0.5s;
}

.sticky-top.navbar .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar {
        position: relative;
        background: #ffffff;
    }

    .navbar .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #dddddd;
    }

    .navbar .navbar-nav .nav-link,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark);
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, 0.2);
        z-index: 999;
    }

    .sticky-top.navbar {
        position: fixed;
        background: #ffffff;
    }

    .navbar .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 2px;
        bottom: 10px;
        left: 0;
        background: #ffffff;
        opacity: 0;
        transition: 0.5s;
    }

    .sticky-top.navbar .navbar-nav .nav-link::before {
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link:hover::before,
    .navbar .navbar-nav .nav-link.active::before {
        bottom: -1px;
        left: 0;
        opacity: 1;
    }

    .navbar .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 6rem 0 9rem 0;
    background: url(../img/fondo.png) center bottom no-repeat;
}

.page-header {
    margin-bottom: 6rem;
    padding: 8rem 0 10rem 0;
    background: url(../img/fondo.png) center bottom no-repeat;
}

#navbarUsuario {
    color: white;
}

@media (max-width: 991.98px) {
    #navbarUsuario {
        color: #1589cb;
    }

    #navbarUsuario>span {
        display: none;
    }

    .hero-header {
        padding: 6rem 0 9rem 0;
    }

    .page-header {
        padding: 6rem 0;
    }
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(256, 256, 256, 0.5);
}

/*** Service ***/
.service-item {
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
	border: 1px solid transparent;
    border-color: var(--primary);
	transition: 0.5s;
}

.service-item:hover {
	box-shadow: none;
	border-color: var(--dark);
}

.service-item .service-icon,
.service-item .service-btn {
	margin: -1px 0 0 -1px;
	width: 65px;
	height: 65px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: var(--primary);
	border-radius: 5px 0;
	transition: 0.5s;
}

.service-item .service-btn {
	margin: -1px -1px 0 0;
	border-radius: 0 5px;
	opacity: 0;
}

.service-item:hover .service-btn {
	opacity: 1;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
	border: 1px solid transparent;
	transform: scale(0.85);
	transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
	box-shadow: none;
	border-color: var(--primary);
	transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
	width: 50px;
	height: 50px;
}

.testimonial-carousel .owl-nav {
	margin-top: 20px;
	display: flex;
	justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 45px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: var(--primary);
}

/*** Team ***/
.team-item {
    position: relative;
    padding: 30px;
    text-align: center;
    transition: 0.5s;
    z-index: 1;
}

.team-item::before,
.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 40%;
    top: 0;
    left: 0;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    transition: 0.5s;
    z-index: -1;
}

.team-item::after {
    top: auto;
    bottom: 0;
}

.team-item:hover::before,
.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item p {
    transition: 0.5s;
}

.team-item:hover h5,
.team-item:hover p {
    color: #ffffff;
}

.team-item img {
    padding: 15px;
    border: 1px solid var(--primary);
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 40px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: 0.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: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* SveetAlert Blur Backgraund */
body.swal2-shown > [aria-hidden="true"] {
    transition: 0.1s filter;
    filter: blur(10px);
}
/*Fin SveetAlert Blur Backgraund */

/* Particulas de Fondo */
.particulas {
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    overflow: hidden;
}

.particulas li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0);
    animation: animate 10s linear infinite;
    top: 380px;
}

.particulas li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.particulas li:nth-child(2) {
    left: 10%;
    width: 50px;
    height: 50px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.particulas li:nth-child(3) {
    left: 70%;
    width: 80px;
    height: 80px;
    animation-delay: 4s;
}

.particulas li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particulas li:nth-child(5) {
    left: 65%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.particulas li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.particulas li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.particulas li:nth-child(8) {
    left: 50%;
    width: 45px;
    height: 45px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.particulas li:nth-child(9) {
    left: 20%;
    width: 30px;
    height: 30px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.particulas li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.responsive {
    width: 100%;
    max-width: 2633px;
    height: auto;
}

#spam {
    display: none;
}
/* Fin Particulas de Fondo */

/* Animacion de Chat*/
.transicion-chat {
    transition: height 0.8s;
}

.height-chat {
    height: 650px !important;
}

@media screen and (max-width: 480px) {
    .height-chat {
        height: 100% !important;
    }
}

.desktop-closed-message-avatar {
    transition: opacity 0.4s;
    opacity: 1;
}

.mobile-closed-message-avatar {
    transition: opacity 0.4s;
    opacity: 1;
}

.avatar-oculto {
    opacity: 0 !important;
}
/* Fin Animacion de Chat

/* Anuncios */
#container_anuncio {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}
.boton-cerrar {
    font-size: 1.5rem;
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 9;
    color: #c92051;
    background-color: #fff;
    border-radius: 100%;
    padding: 0 11px;
}
.boton-cerrar:hover {
    cursor: pointer;
}
#ss_cafaba {
	background-color: transparent;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
}
#ss_cafaba > img {
	width: 100%;
	position: relative;
	left: 50%;
	bottom: -50%;
	transform: translate(-50%, 0%);
}

@media screen and (max-width: 480px) {
    #ss_cafaba {
        background-color: transparent;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 25%;
    }
    #ss_cafaba > img {
        width: 100%;
        position: relative;
        left: 50%;
        bottom: -50%;
        transform: translate(-50%, 0%);
    }
}

@media screen and (max-width: 480px) {
    #ss_cafaba {
        background-color: transparent;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 75%;
    }
}
/* Fin Anuncios */

.cursor-pointer{
    cursor: pointer;
}

.modal-xl{
    height: 100%;
    width: 100vw;
    margin: 0 auto;
    max-width: 100%;
}

.modal-xl .modal-content{
    height: 100%;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.modal-xl .modal-header{
    justify-content: center;
    border: none;
}

.modal-xl .modal-title{
    font-size: 3rem;
    color: #fff;
}

.container-img-niveles img{
    margin: 0 10px;
}

.slick-track{
    display: flex;
    align-items: center;
}

.slick-arrow{
    z-index: 5;
}

.slick-prev,
.slick-next{
    width: 50px;
    height: 50px;
}

.slick-prev{
    left: 0;
}

.slick-next{
    right: 0;
}

.slick-dots{
    bottom: -90px;
}

.slick-dots li.slick-active button::before{
    color: var(--primary);
}
.slick-dots li button::before{
    color: #fff;
    font-size: 1.2rem;
}

.slick-next::before,
.slick-prev::before {
    font-size: 50px;
}