/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* global */
p:last-child {
    margin-bottom:0 !important;
}

.grecaptcha-badge {
    display: none !important;
}



/* content edge right */
.content-edge-right {
    padding-left:calc((100vw - var(--container-max-width))/2);
}



/* header */
body:not(.page-id-191) header > div:not(.elementor-sticky--effects) {
    border-color:transparent !important;
}


/* menu */
.menu-desktop .current-menu-item a:after {
    content:' ';
    display: block;
    position: absolute;
    width:80%;
    background-color:var(--e-global-color-primary) !important;
    height: 2px;
    top:calc(100% + 4px);
    left:0;
    right: 0;
    margin-left:auto;
    margin-right: auto;
}





/* variedades */

.variedades-grid .elementor-image-box-img {
    width: 100%;
}

@media (max-width:1024px) {
    .variedades-grid .elementor-image-box-img {
        order:2;
    }
}

.variedades-grid .elementor-image-box-img img {
    margin-right: 0;
    margin-left:auto;
    height: 70vh;
    min-width: inherit;
    max-width: inherit;
    width: auto;
    margin-right: -30vh;
}

.variedades-grid.canarias  .elementor-image-box-img img {
    height: 50vh;
}

@media (min-width:1025px) {
    .variedades-grid .elementor-image-box-content {
        min-height: 110px;
    }
}


@media (min-width:1025px) {
    .variedades-grid .bolleria-fresca .elementor-image-box-img img {
        margin-right: -58vh;
    }

    .variedades-grid.canarias .donuts-mini .elementor-image-box-img img {
        margin-right: -18vh;
    }
}

@media (max-width:1024px) {
    .variedades-grid .elementor-image-box-img img {
        margin-right:auto;
        max-width: 100%;
        height: auto !important;
    }

    .variedades-grid.canarias .donuts-mini .elementor-image-box-img img {
       margin-top: 2vh;
    }
}

@media (max-width:480px) {
 .variedades-grid.canarias .donuts-mini .elementor-image-box-img img {
       margin-top: 8vh;
    }
}

.variedades-grid .elementor-image-box-content {
    margin: 0 auto;
    text-align: left;
    padding:20px;
}

@media (max-width:1024px) {
    .variedades-grid .elementor-image-box-content {
        padding:0 20px;
    }
}

@media (max-width:1024px) {
    .variedades-grid > div {
        overflow: hidden;
        min-height: 33vh;
        max-height: 33vh;
    }

    .variedades-grid .elementor-image-box-wrapper {
        display: flex;
        flex-direction: column;
    }

    .variedades-grid .elementor-image-box-content {
        margin-bottom:20px;
        padding-left:0;
        padding-right:0;
    }
}



/* product */
.product_title_subtitle span {
    display: block;
    font-size: 36px;
}

.grid-productos-misma-categoria .e-loop-item > div {
    transition:opacity 0.2s;
}

.grid-productos-misma-categoria .e-loop-item:not(:hover) > div:not(.current-post) {
    opacity: 0.4;
}




/* bimbo product info nutricional */
.bimbo_product_info_nutricional_wrapper {
    display: flex;
    margin:20px auto 60px auto;
    gap:60px;
}

.bimbo_product_info_nutricional_wrapper .bimbo_product_ingredientes_title,
.bimbo_product_info_nutricional_wrapper .bimbo_product_infografico_titulo,
.bimbo_product_info_nutricional_wrapper .bimbo_product_alergenos_title,
.bimbo_product_info_nutricional_wrapper .bimbo_product_info_nutricional_title {
    font-family: "Donuts", Sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom:40px;
}

.bimbo_product_info_nutricional_wrapper .bimbo_product_ingredientes_alergenos {
    width: 26%;
    flex-basis: auto;
    font-size: 13px;
    line-height: 1.7;
}

.bimbo_product_ingredientes {
    margin-bottom:60px;
}

.bimbo_product_info_nutricional_wrapper .bimbo_product_infografico_wrapper {
    width: 40%;
    flex-basis: auto;
}

.bimbo_product_infografico_titulo {
    max-width: 300px;
}


.bimbo_product_info_nutricional_wrapper .bimbo_product_info_nutricional {
     width: 34%;
    flex-basis: auto;
     font-size: 14px;
}


.bimbo_product_info_nutricional_wrapper table td, 
.bimbo_product_info_nutricional_wrapper table th {
    padding:10px;
   
}

.bimbo_product_info_nutricional_wrapper table tr td:first-child,
.bimbo_product_info_nutricional_wrapper table tr th:first-child {
    text-align: left;
}

.bimbo_product_info_nutricional_wrapper table tr td:last-child,
.bimbo_product_info_nutricional_wrapper table tr th:last-child {
    width:110px;
}


.bimbo_product_info_nutricional_ir {
    text-align: center;
    width:110px;
    margin:0 0 0 auto;
}

.bimbo_product_info_nutricional_ir_legend {
    font-size: 12px;
}

.d-none {
    display: none;
}

#btn_close_info_nutricional {
    cursor: pointer;
}




/* icon scroll */

.icon-scroll {
    position: absolute;
    left: calc(50% - 10px);
  
}
.icon-scroll:before {
  position: absolute;
  left: 50%;
}


.icon-scroll {
  width: 30px;
  height: 50px;
  top: 50%;

  box-shadow: inset 0 0 0 2px var(--e-global-color-primary);
  border-radius: 25px;
}

.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--e-global-color-primary);
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

@keyframes scroll {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(46px);
    }
}

.history-steps-wrapper > div {
    min-height: calc(100vh - 200px);
    padding-top:200px;
}




/* bimbo connect */
.bimboapi_box form {
    background-color: transparent !important;
    padding:0 !important;
}


.bimboapi_box .form-control {
    background:transparent !important;
    border:1px solid white !important;
    border-radius: 50px;
    color:white !important;
}

.bimboapi_content .form-floating>label {
    padding: 1.35rem 1.35rem !important;
    color:white !important;
}

.form-floating>.form-control, .form-floating>.form-control-plaintext {
    padding: 1rem 1.35rem !important;
}

.bimboapi_content .form-floating>.form-control, .bimboapi_content .form-floating>.form-select {
    height: calc(3.8rem + 2px) !important;
}

.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    transform: scale(.70) translateY(-.9rem) translateX(.55rem) !important;
}

.bimbo_api_title {
    font-weight: 600 !important;
    max-width: 360px;
    margin-left:auto;
    margin-right: auto;
}

.bimboapi_content .buttons {
    margin-top:30px;
}

.bimboapi_content .btn {
   background-color: var(--e-global-color-accent) !important;
   color: var(--e-global-color-primary) !important;
   border:0 !important;
   text-transform: none !important;
   font-size: 18px !important;
   font-weight: 600 !important;
   letter-spacing: 0 !important;
}


.bimbo_gracias_por_registrate {
    font-weight: 600 !important;
    color:white;
    font-size: 24px;
    text-align: center;
}




/* img height 100% */
@media (min-width:768px) {
    .img-wrapper-100 .elementor-widget-image,
    .img-wrapper-100 .elementor-widget-image a,
    .img-wrapper-100 .elementor-widget-image img {
        height: 100%;
    }

    .img-wrapper-100 img {
        object-fit: cover;
    }

    .img-wrapper-100 a {
        display: block;
    }
}




/* recetas */
.rating .e-icon .e-icon-wrapper[style] + .e-icon-wrapper {
    opacity: 0.4;
}

.recetas_carrusel .elementor-swiper-button-prev,
.recetas_carrusel .elementor-swiper-button-next {
    left: auto !important;
    bottom: 20px;
    top: auto !important;
}

@media (max-width:767px) {
    .recetas_carrusel .elementor-swiper-button-prev,
    .recetas_carrusel .elementor-swiper-button-next {
        bottom:inherit;
        top:40px !important;
    }
}

.recetas_carrusel .elementor-swiper-button-prev {
    right:100px;
}

.recetas_carrusel .elementor-swiper-button-next {
    right: 40px !important;
}

@media (max-width:767px) {
    .recetas_carrusel .elementor-swiper-button-prev {
        right:70px;
    }

    .recetas_carrusel .elementor-swiper-button-next {
        right: 20px !important;
    }
}


@media (min-width:768px) {
    .recetas_grid .elementor-loop-container > :nth-child(4n + 1 of .e-loop-item) .e-con-inner > div:first-child {
        order:2;
    }
}


.recetas_grid .elementor-loop-container > :nth-child(4n + 2 of .e-loop-item) .receta_iteam_content {
    background: var(--e-global-color-6286009);
}

@media (min-width:768px) {
    .recetas_grid .elementor-loop-container > :nth-child(4n + 2 of .e-loop-item) .e-con-inner > div:first-child {
        order:2;
    }
}


.recetas_grid .elementor-loop-container > :nth-child(4n + 3 of .e-loop-item) .receta_iteam_content {
    background: var(--e-global-color-6286009);
}

@media (min-width:768px) {
   .recetas_grid .elementor-loop-container > :nth-child(4n + 3 of .e-loop-item) .receta_iteam_content {
        text-align: right;
    } 
}

.recetas_grid .elementor-loop-container > :nth-child(4n + 4 of .e-loop-item) .receta_iteam_content {
    background: var(--e-global-color-primary);
}

@media (min-width:768px) {
    .recetas_grid .elementor-loop-container > :nth-child(4n + 4 of .e-loop-item) .receta_iteam_content {
        text-align: right;
    }
}

.recetas_grid .elementor-loop-container > :nth-child(4n + 4 of .e-loop-item) .receta_iteam_content * {
    color:white;
}


@media (max-width:767px) {
    .recetas_grid .elementor-loop-container {
        display: block;
    }
}

.receta_content ul {
    padding:0 0 0 15px;
}




