.promo a {
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 60;
    padding-top: 20px;
}

.promo a:hover {
    color: #fff;
    text-decoration: none;
}

.promo a.edit {
    margin: 0.5em;
    width: auto;
    height: auto;
    padding: 0.8em 1em 1em 0.8em;
    display: block;
    left: 78%;
    top: 10px;
}
.wdyfl-menu a.edit, .sustainability-section .section-title a.edit {
    position: absolute;
    right: 0;
}
.sustainaiblity-section .section-title a.edit {
    top: 0;
}
.flex-viewport a.edit {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: none;
}


/* EDIT BUTTON */
.edit a,
a.edit,
.edit-link a,
.product-details-page .inner-container.headline a,
.node-public-notification .field-name-body + a {
    font-size: 0.8rem;
    padding: 5px 10px;
    color: #fff;
    background: #bd0017;
    float: right;
    clear: both;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    -webkit-transition: background 0.4s ease-in-out;
    transition: background 0.4s ease-in-out;
}
.view-public-notification a {
    text-decoration: underline;
    white-space: nowrap;
}

.edit a:hover,
a.edit:hover,
a.edit:active,
.product-details-page .inner-container.headline a:hover,
.product-details-page .inner-container.headline a:active {
    background: #a90116;
    color: #fff;
    opacity: 1;
}

#content-section .edit {
  left: initial;
  right: 0;
  z-index: 9;
}
.offer-apps .edit-link,
.pickup-wrap .edit-link {
    position: absolute;
    top: -10px;
}
.offer-apps .edit-link {
    right: -100px;
}
.pickup-wrap .edit-link {
    right: 0;
}
.header-extra-links .pickup-wrap .edit-link {
    right: -68px;
}

.burger-menu .edit-link {
    position: absolute;
    top: 0;
    left: 0;
}

.four-key-menus .edit-link {
    position: absolute;
    top: 0;
    left: 101%;
}

.gallery2 a.edit {
    position: absolute;
    top: 0;
    left: 50%;
}

.view-public-notification span.edit {
    top: 15px;
}

/*a.edit,
span.edit a {
    border-radius: 0px;
    top: 0;
    margin: 0em 0 1em 0;
}*/

a.edit:before,
span.edit a:before,
.edit-link a:before,
.product-details-page .inner-container.headline a:before,
.node-public-notification .field-name-body + a:before,
.view-public-notification span.edit a:before {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    content: "\e650";
    padding: 0 0.5em 0 0;
    font-size: 0.9em;
}

/*.col-md-12~.edit,
.col-md-12>.edit {
    opacity: 1;
    position: absolute;
    left: 110%;
}*/

span.edit,
.product-details-page .inner-container.headline a {
    position: absolute;
    top: 25em;
    z-index: 999;
    right: 0;
}

/*.item>.video>.edit {
    position: absolute;
    top: 9.5em;
    left: 10em;
    z-index: 9999;
}*/

/* Carousel Dots */
/*.flex-container {*/
    /*font-size: 12px;*/
/*}*/

.flex-container .icon {
    position: absolute;
    top: 42%;
    padding: 20px 15px;
    /*background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, .9);
    color: #000;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;*/
}

.flex-container .icon.icon-icon-angle-right {
    right: 90px;
}

/*.flex-container .left .icon {
    padding: 10px 10px 0 5px;
    text-shadow: none;
}

.flex-container .right .icon {
    padding: 10px 10px 0 15px;
    text-shadow: none;
}*/

/*.flex-control-paging {
    font-size: 12px;
}*/

#promo-slider .flex-control-paging {
    cursor: pointer;
    pointer-events: all;
    top: 31rem;
    z-index: 99;
    max-height: 20px;
}

#promo-slider .icon-icon-angle-left:before,
.farming-special-ingredients .icon-icon-angle-left:before,
.pane-gallery .icon-icon-angle-left:before {
    transform: scale(2.7);
}
#promo-slider .icon-icon-angle-right:before,
.farming-special-ingredients .icon-icon-angle-right:before,
.pane-gallery .icon-icon-angle-right:before {
    transform: scale(2.7) rotate(180deg) translateY(-36%);
}

/*.flex-control-paging li {
    overflow: hidden;
}*/

.flex-control-paging li a.flex-active,
.flex-control-paging li a.flex-active:hover,
.flex-control-paging li a:hover {
    border: 1px solid #000;
    background: #fff;
}

.flex-control-paging li a {
    border: 1px solid #fff;
    background: #000;
}

.loader {
    background: #fff url('../images/loader.gif') no-repeat 10px 50%;
    position: absolute;
    top: 550px;
    left: 45%;
    padding: 10px 10px 10px 50px;
    font-weight: 400;
}

.windowLoaded .loader {
    display: none;
}

/* hero social */

.hero-social {
    overflow: hidden;
}

.product-details-page .hero-social {
    top: 0;
}

.back-btn {
    display: block;
    text-align: left;
    max-width: 150px;
}

.gallery2 {
    overflow: hidden;
    position: relative;
    z-index: 500;
    height: auto;
}

.gallery2 .flex-active-slide .copy {
    line-height: 1;
    padding: 0
}

.gallery2 .flex-direction-nav {
    display: none !important;
}


#main-nav .inner-container {
    /*max-width: 1170px;*/
    position: static;
}

#other-products {
    padding-bottom: 50px;
    clear: both;
}

.product span.othersize {
    display: inline;
}

#promoBox {
    line-height: 0;
    margin: 0 auto
}

.promo.darkCopy h4,
.promo.darkCopy h5 {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #000;
    font-weight: 400;
}

.promo.darkCopy.hover h4,
.promo.darkCopy.hover h5 {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75)
}

.othersize,
.product-thumb-view .name .othersize {
    display: none;
}

#product-bank {
    display: none;
}


/* gallery */

.gallery2 iframe {
    z-index: 100
}

.gallery2 .video {
    z-index: 100
}

.gallery2 .closeBtn {
    display: none;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    position: absolute;
    top: -9px;
    right: -106px;
    text-decoration: none;
    z-index: 900
}

.gallery2 .flex-viewport {
    height: 400px;
}

.gallery2 .pane-video .copy {
    margin-top: 20px;
}

.scaleVideo {
    position: relative;
    overflow: visible;
}

.scaleVideo .noclick {
    display: none;
}

.scaleVideo .closeBtn,
.scaleVideo a.closeBtn:active {
    display: block;
    color: #000 !important
}

.scaleVideo .pane-video {
    position: relative;
}

.scaleVideo .pane-video i {
    color: #000;
    background: #fff;
    border-radius: 60px;
    padding: 0px;
    font-size: 1.3em;
    margin-right: -20px;
    margin-bottom: 0px;
    position: absolute;
    bottom: -29px;
}

.content .item.scaleVideo .pane-video iframe {
    /*position: absolute;top: 0;left: 0;*/
    width: 500px !important;
    max-width: 500px !important;
    height: 281px !important;
    margin-left: -71px !important;
    margin-top: 10px !important;
    transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    /* IE 9 */
    -webkit-transform-origin: 50% 0;
    /* Safari and Chrome */
    -moz-transform-origin: 50% 0;
    /* Firefox */
    -o-transform-origin: 50% 0;
    /* Opera */
}

.scaleVideo .copy {
    display: none !important
}

.pane-gallery {
    position: relative;
}

.pane-gallery .flex-control-nav {
    bottom: 0px !important;
    position: relative;
    clear: both;
}

.pane-gallery .captionfirst {
    font-weight: 700;
    text-transform: none;
    position: relative;
    bottom: 0;
    margin: 0;
    background: none;
    text-transform: normal;
    border-width: 0;
    line-height: 1;
    width: 100%;
    text-align: center;
    height: auto;
}

.pane-gallery .captionfirst span {
    margin: 0
}

.pane-gallery .captionfirst a {
    color: #000;
    text-decoration: none;
}

.pane-gallery .captionfirst a:hover {
    color: #bd0017;
}

.copyheader {
    font-weight: 700
}

/* maps */
/* #facilities .checks { temporarily hide for Restaurant Page
    width: 50%
} */

.filter-wrapper {
    margin-bottom: 20px
}

.map-info .content {
    padding-bottom: 0
}

/* Time visibility. */
.visible-time-morning,
.visible-time-other,
.visible-time-afternoon,
.visible-time-night {
    display: none;
}

.time-morning .visible-time-morning {
    display: block;
}

.time-afternoon .visible-time-afternoon {
    display: block;
}

.time-other .visible-time-other {
    display: block;
}

.time-night .visible-time-night {
    display: block;
}

/* Weather visibility. */
.visible-weather-cold,
.visible-weather-hot {
    display: none;
}

.weather-cold .visible-weather-cold {
    display: block;
}

.weather-hot .visible-weather-hot {
    display: block;
}


/* .mobile-map-content {
    padding: 0 20px;
} */

.view-empty {
    margin: 20px 0
}

@media (min-width: 320px) and (max-width: 767px) {
    #hero h1 {
        font-size: 2.5em
    }

    .promo {
        margin-top: 2px;
        margin-bottom: 0
    }

    .full-menu-page #hero .item {
        background-size: 100%;
        min-height: 400px
    }

    #mobile-product-nav #view-toggle {
        z-index: 1100
    }

    .gallery2 .slides {
        height: 400px !important;
    }

    .gallery2 .item img {
        min-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .gallery2 {
        height: auto;
    }

    /*#promo-slider .flex-viewport,
    #promo-slider .flex-viewport .slides[style] {
        height: 560px !important;
    }*/

    /*#promo-slider .item {
        height: 420px
    }*/

    .nav-tabs>li {
        margin-bottom: -5px;
    }

    .nav-tabs>li>a {
        padding: 10px 8px
    }

    /* .mobile-mapInfo {
        padding-top: 60px;
    } */

    .mobile-mapInfo .content {
        padding-bottom: 0;
    }

    .searchResults {
        padding: 0
    }

    .searchHeader,
    .searchResults ul {
        padding: 15px
    }

}

@media (min-width: 768px) {
    .promo.col-sm-3 {
        width: 24.9%;
    }
}

@media all and (device-width: 768px) and (device-height: 1024px) {
    .search-nav form {
        position: relative;
    }

    .search-nav button {
        display: none !important;
    }

    .search-nav .social-subnav {
        left: auto;
        right: 35px
    }

    .findus-nav form {
        position: relative;
    }

    .findus-nav button {
        display: none !important;
    }

    #social-nav li .icon-remove {
        right: 7px;
        top: 7px;
        z-index: 300
    }

    .findus-nav .social-subnav {
        left: auto;
        right: 30px
    }

    #findBox,
    #searchBox {
        padding-right: 25px;
        z-index: 100
    }

}

@media (min-width: 948px) {
    .promo.col-sm-3 {
        width: 24.9%;
    }

}