body.home #content > .vc_row > div > div > div > div > figure,
body.home #content > .vc_row > div > div > div > div > figure > a,
body.home #content > .vc_row > div > div > div > div > figure > a > img {
    width: 100%;
}

body.home h3:first-of-type {
    font-size: 18px;
}

.home-product-panels {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.home-product-panels .wpb_single_image {
    padding: 0;
    padding-bottom: 2rem;
}

.home-product-panels .wpb_single_image img {
    max-width: 180px;
    width: auto;
    height: auto;
}

.homepage-panels .panel-text h2,
.homepage-panels .panel-text h2 a {
    font-size: 48px;
    font-weight: 700;
}

body.single-recipe #inner-content {
    padding-top: 90px !important;
}

#body .history-landing-page,
#body .landing-page-pic,
#body .page-banner {
    position: relative;

    /* height: 470px; */
    /* max-height: 25vw; */
    /* min-height: 200px; */
    width: 100%;

    /* overflow: hidden; */
    background-size: cover;

    /* background-position: 0 2.7rem; */
}

/* Hiding the banner overlay */
.banner-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 500px) {
    .homepage-panels .panel-text h1,
    .homepage-panels .panel-text h1 a,
    .homepage-panels .panel-text h2,
    .homepage-panels .panel-text h2 a {
        font-size: 20px !important;
        font-weight: 700;
    }

    .homepage-panels .panel-text {
        /*height: 250px !important;*/
        /*max-height: 250px;*/
    }

    body.home .homepage-panels.help-fight-hunger .panel-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    /* Mobile nav */
    .drop-menu.open {
        /*top: 310px;*/
    }

    .product-category-panels-row.wpb_row {
        margin-bottom: 0;
    }

    .product-category-panels-row .panel-text {
        height: 41.4vw !important;
        max-height: 41.4vw !important;
        min-height: unset;
    }

    .product-category-panels-row .panel-text .vc_column-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    html body.home .homepage-panels.help-fight-hunger {
        display: flex;
        align-items: center;
        justify-content: center;

        /*margin-bottom: 0;*/
        /*margin-top: 0;*/
    }

    .homepage-panels .panel-text h1,
    .homepage-panels .panel-text h1 a,
    .homepage-panels .panel-text h2,
    .homepage-panels .panel-text h2 a {
        font-size: 36px;
        font-weight: 700;
    }

    body.home .home-banner-mobile-row {
        margin-bottom: 0;
    }

    body.home .home-product-panels .wpb_column.vc_column_container {
        padding-left: 0;
        padding-right: 0;
        float: left;
        width: 50%;
    }

    body.home .home-product-panels > div:nth-child(odd) figure > a {
        text-align: right;
    }

    body.home .home-product-panels > div:nth-child(even) figure > a {
        text-align: left;
    }

    body.home .home-product-panels .wpb_column.vc_column_container:nth-child(odd) {
        margin-left: -18px;
    }

    body.home .home-products-intro-text {
        padding-top: 0 !important;
    }

    /* products page - "view all products" */
    #body .featured-txt-description p.sc-internal,
    #body .prods-firstrow .fr-link p,
    #body .featured-txt-description p {
        font-size: 17px;
        line-height: 20px;
    }

    #body .featured-txt-description p.sc-internal a,
    #body .prods-firstrow .fr-link p a,
    #body .featured-txt-description p a {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    body .wpb_wrapper .cstm-cta-link a {
        font-size: 26px !important;
    }
}

@media (min-width: 768px) {
    body.home h3:first-of-type {
        font-size: 33px;
    }

    .homepage-panels .panel-text .wpb_wrapper h2 {
        font-size: 48px;
        font-weight: 700;
        text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.65);
        color: #fff;
    }

    body.home .home-product-panels.wpb_row {
        margin-left: auto;
        margin-right: auto;
    }

    .homepage-panels .panel-text h2,
    .homepage-panels .panel-text h2 a {
        font-size: 33px;
        font-weight: 700;
    }

    .homepage-panels .panel-text h1,
    .homepage-panels .panel-text h1 a {
        font-size: 48px;
        font-weight: 700;
    }
}

@media (min-width: 1100px) {
    .homepage-panels .panel-text h2,
    .homepage-panels .panel-text h2 a {
        font-size: 48px;
        font-weight: 700;
    }

    .homepage-panels .panel-text h1,
    .homepage-panels .panel-text h1 a {
        font-size: 72px;
        font-weight: 700;
    }
}

html body.admin-bar #wpadminbar {
    height: inherit;
}

html body.admin-bar #container .sp-header {
    position: fixed;
    top: 32px;
}

html body.admin-bar #container .promo-row + .sp-header {
    top: 68px;
}

html body.admin-bar #container .promo-row,
html body:not(.admin-bar) #container .promo-row {
    height: auto;
    z-index: 15;
}

html body:not(.admin-bar) #container .promo-row + .sp-header {
    top: 34px;
}

html.has-hellobar body.admin-bar #container .promo-row {
    top: 32px;
}

html.has-hellobar body:not(.admin-bar) #container .promo-row {}

html.has-hellobar body.admin-bar #container .promo-row + .sp-header {
    top: 66px;
}

/* html body:not(.admin-bar) #content > .vc_row:nth-of-type(1) {
    top: 34px;
} */
html.has-hellobar body:not(.admin-bar) #content > .vc_row:nth-of-type(3) {
    margin-top: 0 !important;
}

html.has-hellobar body.admin-bar #content > .vc_row:nth-of-type(3) {}

html.no-hellobar body:not(.admin-bar) #content > .vc_row:nth-of-type(3) {}

html.no-hellobar body.admin-bar #content > .vc_row:nth-of-type(3) {}

html.no-hellobar body.admin-bar #content {
    top: 0;
}

html.no-hellobar body:not(.admin-bar) #content {
    /* margin-top: 40px; */
    /*top: 101px;*/
    /*position: relative;*/
    /*margin: 0 0 70px 0;*/
}

html.has-hellobar body.admin-bar #content {}

html.has-hellobar body:not(.admin-bar) #content {
    margin-top: 0;
    top: 124px;
    position: relative;
    margin-bottom: 135px;
}

html.no-hellobar body:not(.admin-bar) #container .sp-header {
    top: 0;
}

html.no-hellobar body:not(.admin-bar) #content > .vc_row:nth-of-type(1) {
    /*margin-bottom: 4rem;*/
}

#inner-content.wrap.cf .pfo-txt.froala-view.wpb_column.vc_column_container.vc_col-sm-12 {
    float: none;
}

@media (min-width: 767px) {
    body .sp-header .lego-embed-block .header-top {
        max-width: 1400px;
        padding-left: 17px;
        padding-right: 17px;
    }
}

@media (max-width: 782px) {
    html body.admin-bar #wpadminbar {
        position: fixed;
        top: 0;
    }

    html body.admin-bar #content {
        /*margin-top: 80px;*/
    }

    html.no-hellobar body.admin-bar #content {
        position: relative;

        /*top: 42px;*/
    }

    html.no-hellobar body:not(.admin-bar) #content {
        /* top: 74px; */
        top: 135px;
        position: relative;
        margin-top: 0;
    }

    html.has-hellobar body.admin-bar #content {}

    html.has-hellobar body:not(.admin-bar) #content {}

    html body.admin-bar #container .sp-header {
        position: fixed;
        top: 46px;
    }

    html body.admin-bar #container .promo-row + .sp-header {
        position: fixed;
        top: 46px;
    }

    html body.admin-bar .navigation-mobile {
        top: 68px;
    }

    html body.admin-bar .mobile-cart-search {
        top: 88px;
    }

    html body.admin-bar #container .promo-row {
        position: fixed;
        top: 156px;
    }

    html body:not(.admin-bar) #container .sp-header {
        position: fixed;
        top: 0;
        height: 110px;
    }

    html body:not(.admin-bar) #container .promo-row + .sp-header {
        position: fixed;
        top: 0;
    }

    html body:not(.admin-bar) .promo-row {
        height: auto;
    }

    html body:not(.admin-bar) #content > .vc_row:nth-of-type(3) {
        position: relative;
        top: 48px;

        /*margin-bottom: 4rem;*/
    }

    html.has-hellobar body.admin-bar #content {
        margin-top: 0;
        position: relative;

        /*top: 156px;*/
    }

    html.has-hellobar body:not(.admin-bar) #content > .vc_row:nth-of-type(3) {
        position: relative;
        top: 0;
        margin-bottom: 0;
    }

    html.has-hellobar body.admin-bar #content > .vc_row:nth-of-type(3) {
        position: relative;

        /*top: 76px;*/
        /*margin-bottom: 6rem;*/
        top: 0;
    }

    html.no-hellobar body.admin-bar #content > .vc_row:nth-of-type(3) {
        /*top: 40px;*/
        /*margin-bottom: 4rem;*/
        top: 0;
    }

    html.has-hellobar body.admin-bar #container .promo-row + .sp-header {
        top: 46px;
    }

    html.has-hellobar body.admin-bar #container .promo-row {
        top: 156px;
    }

    /*html body:not(.admin-bar) #content div:nth-child(1) {
        position: relative;
        top: 48px;
    }*/
    .home .vc_row.wpb_row.vc_row-fluid.home-products-intro-text {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    html body.admin-bar #container .sp-header {
        /*position: absolute;*/
        top: 46px;
    }
}

/* -------------------------------------------------------------
    Klaviyo styles
   ------------------------------------------------------------- */

@media screen and (max-width: 770px) {
    .sp-footer-embed .email-newsletter.grav #email_signup .klaviyo_field_group {
        width: 70%;
    }
}
