
.navbar-nav .nav-item a{
    padding: 10px 0;
}
.mw-200{
    max-width: 200px;
}
.w-60{
    width: 60px;
}
.dropdown-menu{
    padding: 10px 20px;
}
.dropdown-item.active, 
.dropdown-item:active{
background-color: transparent;
}

@media (max-width:991px){
    .overflow-mobile-hidden{
        overflow: hidden;
    }
    .navbar-toggler {
        text-align: center;
        float: right;
        padding-top: 20px;
    }
    .totop-inicio{top: 0px !important;}

}
.pointer{
    cursor: pointer;
}

.section-divider{
    position: relative;
    border-top: 3px solid #ed1c24
}
.section-divider .img-container{
   position: absolute;
   bottom: -2px;
    left: 50%;
    transform: translate(-50%);
    font-size: 2.3em;
    color: var(--gris-oscuro);
    background: #fff;
    width: 100px;
    text-align: center;
    padding: 0 15px;
}

.div-custom{
    box-shadow: 0 0 20px 3px rgba(0,0,0,.05);
    border-radius: 1em;
    padding: 2.3em 1em;
    transition: 0.3s all ease;
    min-height: 100%;
}
.div-custom:hover{
    box-shadow: 0px 10px 30px -10px rgb(0 0 0);
}

.card-section{
    border-radius: 2em;
    box-shadow: 0px 10px 30px -5px rgb(0 0 0 / 35%);
}

/*** Contact ***/

.contact1 {
        width: 100%;
        min-height: 100%;
        padding: 15px;
        padding-bottom: 50px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .container-contact1 {
        width: 1163px;
        background: #f1f1f1;
        background-image: url('../img/elements/botella-contacto.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 10px;
        overflow: hidden;

        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;

        padding: 90px 130px 88px 148px;

        box-shadow: 0px 10px 30px -5px rgb(0 0 0 / 35%);
    }

    /*------------------------------------------------------------------
[  ]*/
    .contact1-pic {
        width: 296px;
    }

    .contact1-pic img {
        max-width: 100%;
    }


    /*------------------------------------------------------------------
[  ]*/


    .contact1-form-title {
        display: block;
        font-size: 24px;
        color: #333333;
        line-height: 1.2;
        text-align: center;
        padding-bottom: 44px;
    }

    input.input1 {
        height: 50px;
        border-radius:0;
        padding: 0 30px;
        border: 1px solid rgba(105, 105, 105, 0.1);
    }

    input.input1+.shadow-input1 {
        border-radius: 25px;
    }

    textarea.input1 {
        min-height: 150px;
        padding: 12px 30px;
        border: 1px solid rgba(105, 105, 105, 0.1);
        resize: none;
    }

    textarea.input1+.shadow-input1 {
        border-radius: 25px;
    }

    /*---------------------------------------------*/
    .wrap-input1 {
        position: relative;
        width: 100%;
        z-index: 1;
        margin-bottom: 20px;
    }

    .input1 {
        display: block;
        width: 100%;
        background: #e6e6e642;
        font-size: 15px;
        line-height: 1.5;
        color: #000;
        border: none;
    }

    .shadow-input1 {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        box-shadow: 0px 0px 0px 0px;
        color: rgba(87, 184, 70, 0.5);
    }

    .input1:focus+.shadow-input1 {
        -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
        animation: anim-shadow 0.5s ease-in-out forwards;
    }

    @-webkit-keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    @keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    /*---------------------------------------------*/
    .container-contact1-form-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact1-form-btn {
        border: none;
        min-width: 193px;
        height: 50px;
        border-radius: 25px;
        background: #57b846;
        font-size: 15px;
        line-height: 1.5;
        color: #fff;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 25px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn i {
        margin-left: 7px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn:hover {
        background: #333333;
    }

    .contact1-form-btn:hover i {
        -webkit-transform: translateX(10px);
        -moz-transform: translateX(10px);
        -ms-transform: translateX(10px);
        -o-transform: translateX(10px);
        transform: translateX(10px);
    }




    /*------------------------------------------------------------------
[ Responsive ]*/

    @media (max-width: 1200px) {
        .contact1-pic {
            width: 33.5%;
        }

        /*.contact1-form {*/
        /*    width: 44%;*/
        /*}*/
    }

    @media (max-width: 992px) {
        .container-contact1 {
            padding: 90px 80px 88px 90px;
            background-position: -200px;
        }

        .contact1-pic {
            width: 35%;
        }

        .contact1-form {
            width: 55%;
        }
        .tns-nav {
            position: absolute;
            bottom: -18%!important;
        }
    }

    @media (max-width: 768px) {
        .container-contact1 {
            padding: 90px 80px 88px 80px;
            background-image: none;
        }

        .contact1-pic {
            display: none;
        }

        .contact1-form {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .container-contact1 {
            padding: 90px 15px 88px 15px;
        }
    }

    .dbox {
        width: 100%;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    @media (min-width: 768px) {
        .dbox {
            margin-bottom: 0;
            padding: 0;
        }
        .fs-65{font-size: 65px !important; }
    }

    .dbox p {
        margin-bottom: 0;
        font-size: 16px;
    }

    .dbox p span {
        font-weight: 500;
        color: #000;
    }

    .dbox p a {
        color: #2553b8;
    }

    .dbox .icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #57b846;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .dbox .icon span {
        font-size: 20px;
        color: #fff;
    }

    .dbox .text {
        width: 100%;
    }
    .negrita{font-weight: 900;}


button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
}
button.learn-more {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    padding: 1.25em 2em;
    background: #e62623cf;
    border: 2px solid #ec1c24;
    border-radius: 0.75em;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #910000;
    border-radius: inherit;
    box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
    transform: translate3d(0, 0.75em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more:hover {
    color:black ;
    background: #ffe9e9;
    transform: translate(0, 0.25em);
}
button.learn-more:hover::before {
    box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
    transform: translate3d(0, 0.5em, -1em);
}
button.learn-more:active {
    background: #ffe9e9;
    transform: translate(0em, 0.75em);
}
button.learn-more:active::before {
    box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    transform: translate3d(0, 0, -1em);
}

.nav-link {
    /*padding: .5rem !important;*/
    margin-right: 5px;
    margin-left: 5px;
}

.theme-btn:hover {
    box-shadow: 0 10px 25px rgb(244 67 54 / 39%);
}
.font-outfit-thin{     font-family: "Kanit", sans-serif  ;font-weight: 200 !important;}
.font-outfit-bold{     font-family: "Kanit", sans-serif  ;font-weight: 600 !important;}
.font-normal{     font-family: "Kanit", sans-serif;}
.lh-1_6{line-height: 1.6em;}
.linetop{position: absolute;
    top: 0;
    margin-top: -17px;
    left: 0;
    right: 0;
    font-weight: 900;
}
@media (min-width: 992px) {
.dropdown-menu2{
    top: 112px!important;
    position: fixed !important;width: 100% !important; left: 0; right: 0; border-radius:0 !important; padding-top: 0;
}
    .tns-nav {
        position: absolute;
        bottom: -30% !important;
    }
}
.heauto{height: auto !important;}
.div-img-menu{
    position: relative; margin-top: -50px;
    z-index: 3;}
.borrar{
    filter: blur(3.5px);
     position: fixed;
     height: 100%;
     width: 100%;
     backdrop-filter: blur(5px);
     z-index: -9;
 }
.borrar-show{
    z-index: 9;display:block;}
.lh-3{line-height: 3em;}

@media (min-width: 768px) {
    .banner0 {
        background-image: url("../img/slider/alimentos.webp");
        background-size: contain;
        background-position: 100% 80%;
    }
    .banner1 {
        background-image: url("../img/slider/cafe.png");
        background-size: contain;
        background-position: 100% 80%;
    }
    .banner2 {
        background-image: url("../img/slider/banner1.jpg");
        background-size: cover;
        background-position: center;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/CEREAL.jpg");
        background-size: cover;
        background-position:center;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/nosotros/fondo.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerproductos{
        background-image: url("../img/productos/fondo.jpg");
        background-size: cover;
        background-position: center;}
    .icon-contact{background: #fff; color: #16588a; width: 75px; height: 75px; font-size: 35px; padding: 5px; margin: auto;line-height: 65px; text-align: center;display: block;}
}

@media (max-width: 767px) {
    .banner0 {
        background-image: url("../img/slider/alimentos.webp");
        background-size: contain;
        background-position: bottom;
    }
    .banner1 {
        background-image: url("../img/slider/cafe.png");
        background-size: contain;
        background-position: bottom;
    }
    .banner2 {
        background-image: url("../img/slider/banner1.jpg");
        background-size: cover;
        background-position: 70% 10%;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/CEREAL.jpg");
        background-size: cover;
        background-size: cover;
        background-position: top;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/nosotros/fondo.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerproductos{
        background-image: url("../img/productos/fondo.jpg");
        background-size: cover;
        background-position: center;}
    .icon-contact{background: #fff; color: #7194cb; width:40px; height:40px; font-size: 25px; padding: 5px; margin: auto;line-height: 20px; text-align: center;display: block;}
}
.fs-19{font-size: 19px !important ;}

.box-divform{width: calc(100% - 1px) !important;
    padding: 8px 16px !important;
    box-shadow: #a5a4a4 0 0 0 1px inset !important;
    border-radius: 6px !important;
    display: inline-block !important;}
.span-form-input{
    position: relative !important;
    -webkit-flex: 1 !important;
    -ms-flex: 1 1 0% !important;
    flex: 1 !important;
    padding: 0px !important;
    color:#00000080;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: .9;
}
.form-control3{min-height: 31px !important;
    font-size: 17px;
    color: #000 !important;
    width: 100%;
    outline: transparent;
    border:none;
    background-color: transparent !important;
    font-family: "Outfit";
    font-weight:200 !important;
    line-height: inherit !important;
    -webkit-appearance: none !important;
    margin: 0px !important;
    padding: 0px !important;
}
.form-control3::placeholder {color: #4f4f4f78;
}
@media (min-width: 992px) {
    .modal-lg {
        --bs-modal-width: 582px;
    }
}
@media (max-width: 767px) {
.theme-btn{
    width: 100%;
}
    .slider-section .single-slider{
        height: 75vh;
    }

    .header {
        padding-top: 82px;
    }
    .navbar-brand img {
        max-width: 250px;
        transition: .3s;
        overflow: auto;
        margin-left: 5px;
    }
    .fs-65{font-size: 45px !important; }
}
.btn-menu{
    border: none;
    background:#fff;
    width: 56px;
    height: 50px;
    padding-top: 0;
    border-radius: 0 !important;
}
.centrar-navs{display: flex;
    margin: auto;
    flex-wrap: nowrap;
    justify-content: space-evenly;}
@media (max-width:1199px) {
    .cuadro-az{padding: 40px; }
}
@media (min-width:1200px) and (max-width: 1700px) {
    .div550 {
        height:500px;

    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 50%;}
    .img-cuadro-az{width: 50%;padding: 0; height: 500px; object-fit: cover;}
}

@media (min-width:1701px) {
    .div550 {
        height:560px;
        max-width:1550px ;
        margin: auto;
    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 40%;}
    .img-cuadro-az{width: 60%;padding: 0; height: 560px; object-fit: cover;}
}

.cuadro-az{padding-left: 40px; padding-right: 40px; }
/* The Image container */


.boton-distribuidor{
    position: absolute;
right: 0;
    background:#fff ;
    top: 0;
    padding: 1.2em;

}

.grid {
    position: relative;
    clear: both;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

.spanabajo{
    position: absolute;bottom: 92px;}
.abajo{position: absolute;bottom: 40px;}
.ml-toleft{margin-left: -15px;}
.sombreado-text{text-shadow: 6px 6px 9px black}
.img-wrapper{position: relative;
    overflow: hidden;
}

.img-shadow{    position: absolute;
    width: 130%;
    height: 120%;
    background-image: url(../img/inicio/shadow.png);
    bottom: -137px;
    left: -116px;
    z-index: -2;
    background-size: cover;
    transition: 1s;
}
.icon-wrapper {
    margin-top: 10px;
    width: 55;
    height: 55px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 43px 0px rgba(12, 12, 12, 0.16);
    box-shadow: 0px 0px 43px 0px rgba(12, 12, 12, 0.16);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /*margin-top: -120px;*/
    position: relative;
    z-index: 15;
    transition: 1s;
}
.card-inicio{box-shadow:1px 1px 0px 4px #ffffff96; border: none; background: #7194cb;}
.card2{box-shadow: 0px 5px 20px #89898929; border: none;}
.card-inicio:hover >.icon-wrapper{ background: #fff; transition: 1s;}
.card-inicio:hover >.img-wrapper >.img-shadow{z-index: 1; transition: 1s;}
/* Asegurarse de que cada slide ocupe el 100% del ancho disponible */
.carousel-inner {
    display: flex;
    overflow: hidden;
}

/* Cada "carousel-item" (slide) debe contener 7 imágenes, por lo tanto, 100% / 7 */
.carousel-item {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%; /* El contenedor ocupará todo el ancho */
}

.d-flex {
    display: flex;
    justify-content: space-between;
}

/* Establecer que cada imagen ocupe el 100% del espacio disponible dentro del slide */
.carousel-item-image {
    flex: 0 0 14.2857%; /* Esto asegura que 7 imágenes ocupen el 100% del espacio */
    padding: 5px; /* Agregar algo de espacio entre las imágenes */
}

/* Asegurarnos de que las imágenes no se distorsionen */
.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width:992px) {

    .slider-section .single-slider.interior {
        height: 33vh;
    }
    .slider-interior.slider-section .single-slider .slider-content .interior .slider-title{
        font-size: 65px;
    }

}


/*EFECTO ANTES DESPues*/


main {
    display: grid;
    place-items: center;
    /*min-height: 100vh;*/
}

.container-img {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    --position: 50%;
}

.image-container {
    /*max-width: 90%;*/
    /*max-height: 90vh;*/
    /*aspect-ratio: 1/1;*/
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
    /*filter: grayscale(100%)*/
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    /* for Firefox */
    width: 100%;
    height: 100%;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: #fff;
    /* z-index: 10; */
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    background-color: #7194cb;
    color: #fff;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* z-index: 100; */
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}
.totop-testimonio{margin-top: -160px;}
.shadow-contact{box-shadow: 0px 5px 20px #89898929;}
.bradius50{border-radius: 50px;}
.totop-inicio{top: -50px;
    position: relative;}
.borde-redn{border-radius: 30px 30px 0px; box-shadow: 0px 5px 20px #89898929;}
.borde-azul{border:4px solid #7194cb;}
.box-icon{}



/* Contenedor de la imagen */
.box-icon {
    position: relative;
    display: inline-block;
    width: 79px; /* Asegura que el contenedor tenga el tamaño adecuado */
    height: 79px; /* Tamaño del contenedor, igual que la imagen */
    background-color: transparent; /* Inicialmente sin color de fondo */
    transition: background-color 0.3s ease; /* Transición suave para el cambio de fondo */
    border-radius: 50%;
}

/* Contenedor adicional que rodea las imágenes */
.img-wrapper1 {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 6px !important;
}

/* Imagen dentro del contenedor */
.img-wrapper1 img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease; /* Transición suave para la visibilidad */
}

/* La imagen por defecto debe estar visible */
.service-inicio {
    display: block;
}

/* La segunda imagen debe estar oculta inicialmente */
.service-inicio2 {
    display: none;
}

/* Pseudoelemento ::after para crear el borde circular animado alrededor de la imagen */
.img-wrapper1::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Asegura que el borde esté detrás de la imagen */
    margin: -7px; /* Ajusta el tamaño del borde */
    border-width: 3px;
    border-style: dotted;
    border-color:#2ca893;
    border-radius: 50%; /* Hace que el borde sea circular */
    animation: rotation 5s linear infinite; /* Rotación continua */
    transition: border 0.3s ease; /* Transición suave para desaparecer el borde */
}

/* Animación de rotación continua */
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Efecto al pasar el ratón sobre .div-custom */
.div-custom:hover .box-icon {
    background-color: #126693; /* Cambia el fondo de .box-icon */
}

.div-custom:hover .box-icon .img-wrapper1 img.service-inicio {
    display: none; /* Esconde la imagen original al hacer hover */
}

.div-custom:hover .box-icon .img-wrapper1 img.service-inicio2 {
    display: block; /* Muestra la segunda imagen al hacer hover */
}

.div-custom:hover .box-icon .img-wrapper1::after {
    border: none; /* Elimina el borde punteado al hacer hover */
}
.whatsapp {
    position: fixed !important;
    z-index: 9999 !important;
    right: 20px;
    float: right;
    top: 65%;
    margin-top: -25px;
    cursor: pointer;
    width: 45px;
    height: 45px;
}