/* GENERAL */
body {
    font-family: 'Poppins' !important;
    height: 100vh;
}

.loader {
    position: fixed; /* Esto hace que el spinner tenga posición fija */
    top: 0; /* Lo posiciona en la parte superior */
    left: 0; /* Lo posiciona en la parte izquierda */
    width: 100vw; /* Ocupa el ancho completo de la pantalla */
    height: 100vh; /* Ocupa la altura completa de la pantalla */
    display: flex; /* Usa flexbox para centrar vertical y horizontalmente */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    background-color: rgba(255, 255, 255, 0.5); /* Fondo semitransparente */
    z-index: 9999; /* Asegura que esté por encima de todos los demás elementos */
}

    .loader::after {
        content: "";
        width: 50px;
        aspect-ratio: 1;
        border-radius: 50%;
        border: 8px solid rgba(61, 134, 241, 1);
        animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
    }

/*.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: 0;
    }*/

@keyframes l20-1 {
    0% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0% )
    }

    12.5% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0% )
    }

    25% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100% )
    }

    50% {
        clip-path: polygon(50% 50%,0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )
    }

    62.5% {
        clip-path: polygon(50% 50%,100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100% )
    }

    75% {
        clip-path: polygon(50% 50%,100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100% )
    }

    100% {
        clip-path: polygon(50% 50%,50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100% )
    }
}

@keyframes l20-2 {
    0% {
        transform: scaleY(1) rotate(0deg)
    }

    49.99% {
        transform: scaleY(1) rotate(135deg)
    }

    50% {
        transform: scaleY(-1) rotate(0deg)
    }

    100% {
        transform: scaleY(-1) rotate(-135deg)
    }
}

.bg-biochem {
    background-color: #5289da !important;
}

.text-biochem {
    color: #5289da !important;
}

.fs-15 {
    font-size: 15px;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.card-subTitle {
    font-size: 0.9rem;
}

.btn-no-toggle {
    display: inline-flex;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

    .btn-no-toggle:hover {
        color: rgba(0, 0, 0, .85);
    }

.bg-primary-gradient {
    background: rgb(17,57,117);
    background: linear-gradient(270deg, rgba(17,57,117,1) 0%, rgba(13,110,253,1) 26%, rgba(13,110,253,1) 72%, rgba(17,57,117,1) 100%);
}

.bg-greace {
    background-color: #EAEAEA !important;
}

.bg-greace-light {
    background-color: #f6f6f6 !important;
}



.contenedor {
    width: auto;
    height: auto;
    background-image: url(../img/nosotros/container/about_bg.webp);
    background-size: 100% 100%;
    background-position: center;
}

.btn-insta {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 154px;
    right: 10px;
    background-image: url(../img/button/insta-button.webp);
    background-size: 100% 100%;
    background-position: center;
    border-radius: 50px;
    z-index: 100;
}

.btn-face {
    position: fixed;
    width: 50px;
    height: 50px;
    /*line-height: 55px;*/
    bottom: 92px;
    right: 10px;
    background-image: url(../img/button/face-button.webp);
    background-size: 100% 100%;
    background-position: center;
    border-radius: 50px;
    z-index: 100;
}

.btn-wtsp {
    position: fixed;
    width: 50px;
    height: 50px;
    /*line-height: 55px;*/
    bottom: 30px;
    right: 10px;
    background-image: url(../img/button/wtspp-button.webp);
    background-size: 100% 100%;
    background-position: center;
    border-radius: 50px;
    z-index: 100;
}

.btn-insta:hover {
    text-decoration: none;
    /* color: #fff;*/
}

.btn-face:hover {
    text-decoration: none;
    /* color: #fff;*/
}

.btn-wtsp:hover {
    text-decoration: none;
    color: #fff;
}

.popover-header {
    color: #fff;
    background-color: #208f45;
    font-size: 0.9rem !important; /* Cambia el tamaño del título del popover según sea necesario */
}

.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(0, 0, 0, .85);
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-toggle[aria-expanded="true"] {
        color: rgba(0, 0, 0, .85);
    }

        .btn-toggle[aria-expanded="true"]::before {
            transform: rotate(90deg) !important;
        }

.btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
    width: 100%;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: #0d6efd;
        color: #fff;
    }
/* END GENERAL */


/* HEADER */
.nav-logo {
    width: 160px;
}

.contact-top {
    font-size: 0.9rem !important;
    font-weight: 500;
}

.social-top {
    font-size: 1.2rem !important;
}


/**** CLASES DEL NAV BAR *****/
.navbar-brand {
    margin: 0 !important;
}

.navbar-nav .nav-link {
    color: #fff;
}

.dropend .dropdown-toggle {
    margin-left: 1em !important;
}

/*.nav-link.dropdown-toggle {
    color: #1e2125 !important;
}
*/

.nav-enlace {
    font-size: 1rem;
    font-weight: 800;
}

.nav-link.nav-enlace:hover {
    background-color: #0d6efd !important;
    color: #fff !important;
}

    .nav-link.dropdown-toggle:hover {
        background-color: #0d6efd !important;
        color: #fff !important;
    }

.dropdown-item:hover {
    background-color: #0d6efd;
    color: #fff;
}

.dropdown .dropdown-menu {
    display: none;
}

.dropend .dropdown-toggle {
    margin-left: 0em !important;
}

.dropdown:hover > .dropdown-menu, .dropend:hover > .dropdown-menu {
    display: block;
    margin-top: .0em;
    margin-left: .125em;
}

.nav-enlace-dropdown {
    color: #212529 !important;
    padding: .25rem 1rem !important;
}

@media screen and (min-width:992px) {
    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    .dropend .dropdown-toggle {
        margin-left: .5em;
    }
}

/**** END CLASES NAV BAR *****/

/*.search {
    position: relative;
}

    .search input {
        height: 40px;
        text-indent: 25px;
        border: 1px solid #d6d4d4;
        border-radius: 20px;
    }

        .search input:focus {
            box-shadow: none;
            border: 2px solid #0d6efd;
        }

    .search .button-search {
        position: absolute;
        top: 8px;
        left: 6px;
        border: 0;
    }*/

#search1 {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-color: #0d6efd !important;
}

#search1:focus,
#search1:focus-visible,
#btnSearch:focus,
#btnSearch:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

#btnSearch {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 40px;
    width: 50px;
    border-right: none;
}

/* END HEADER */
/* Banner secciones */
.contenedor-banner {
    position: relative;
    width: 100%; /* Ancho de la imagen */
    height: 100px; /* Altura de la imagen */
    overflow: hidden; /* Para recortar la imagen */
}

.imagen-banner {
    width: 100%;
    height: 200px;
    display: block;
}

.texto-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Color de fondo semi-transparente */
    color: white;
    padding: 10px;
    /* text-align: center; */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD PRODUCTOS */
.card-product {
    position: relative;
    overflow: hidden; /* Asegúrate de que la imagen no se salga del contenedor al hacer zoom */
}

    .card-product:hover {
        /*background-color: #0d6efd !important;*/
        border-color: #0d6efd !important;
    }

        .card-product:hover > .card-body {
            background-color: #0d6efd !important;
        }

        .card-product:hover .card-img-scale {
            transform: scale(1.2);
        }

        .card-product:hover > .card-body * {
            color: #f0f0f0 !important;
        }

.card-img-scale {
    /* height: 250px !important; */
    position: relative;
    transition: all 300ms;
}

.card-contain-img {
    overflow: hidden;
    /*cursor: pointer;*/
    height: 350px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-contain-desc {
    height: 150px !important;
}

.card-description {
    color: gray;
    font-size: 15px;
}

/* MODAL */
.thumbnail {
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

    .thumbnail:hover {
        border-color: #007bff;
    }

    .thumbnail.active {
        border-color: #007bff;
    }

.modal-body {
    display: flex;
}

    .modal-body .img-container {
        /*flex: 1;*/
        text-align: center;
    }

    .modal-body .description {
        /*flex: 1;*/
        padding: 20px;
    }

    .modal-body .img-container img {
        width: 100%;
        max-height: 500px;
        object-fit: cover;
    }

/* END CARD PRODUCTOS */
@media (min-width: 820px) and (max-width: 950px) {
    .nav-enlace {
        font-size: 0.8rem;
    }
    .nav-logo {
        width: 150px;
    }
}
    @media (min-width: 767px) and (max-width: 819px) {
        .nav-enlace {
            font-size: 0.65rem;
        }
    }

    @media (max-width: 766.98px) {
        .nav-enlace {
            font-size: 0.85rem;
        }

        .nav-logo {
            width: 110px;
        }
    }