/*this is all of the css that is used for the front page*/
/*content main*/
#region-preface-first {
    margin-top: 5px;
}
#region-sidebar-first {
    margin-top: 15px;
}

#zone-content {
    padding-bottom: 15px;
}

.views-content-counter {
    display: block;
    float: left;
    margin-right: 0px;
    width: 10px;
    height: 10px;
}

.front .region-lower-region4 {
    margin-top: 15px;
}

.region-lower-region1 img,
.region-lower-region2 img,
.region-lower-region3 img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

/* REWARDS BLOCK
___________________________________________________________*/

.block-block-18 .enroll-learn {
    text-align: center;
    margin-top: 10px;
}

.block-block-18 .enroll-btn a {
    font-size: 16px;
    color: #2e2e2e;
    font-weight: bold;
    text-decoration: none;
}

.block-block-18 .enroll-btn img {
    width: 30px;
    height: 30px;
    top: 9px;
    padding-left: 7px;
    position: relative;
    padding-right: 20px;
}

/* END OF REWARDS BLOCK __________________________________*/

#region-content {
    margin-top: 15px;
}
#zone-content.zone-content {
    padding-bottom: 10px;
}
.mobile-app-ad {
    margin-top: 15px;
    width: 220px;
    border: 3px solid #d12b2b;
}
.mobile-app-ad-img img {
    width: 210px;
    padding-left: 5px;
    padding-bottom: 2px;
}
.views-slideshow-cycle-main-frame-row-item img {
    height: auto;
    width: 100%;
}

/*lower content*/
.front #zone-lower-content h2 {
    display: block;
    color: #4c9e45;
    border-top: 1px solid #d3d3d3;
    text-align: center;
    text-transform: uppercase;
    padding: 5px 0 5px 0;
    margin-top: 0;
    margin-bottom: 2px;
    font-weight: 500;
}
.region-sidebar-first-inner p {
    margin: 0;
}
#zone-content {
    background-color: #fff;
}
#zone-lower-content {
    background-color: #fff;
    padding-bottom: 15px;
}
#first-time {
    display: none;
}
#block-views-specials-block-1 p a {
    text-decoration: none;
    color: #4c9e45;
}
#block-views-specials-block-1 p a:hover {
    text-decoration: underline;
    color: #4c9e45;
}
.view-display-id-block_1 a {
    text-decoration: none;
    color: #4c9e45;
}
.view-display-id-block_1 a:hover {
    color: #4c9e45;
}
#block-views-specials-block-1 p {
    margin-top: 8px;
    margin-bottom: 8px;
}
#block-views-news-block-1 .fp-events {
    margin-bottom: 15px;
}
.fp-events {
    border: 1px solid #4d4d4d;
    padding: 10px;
}

.fp-events-link {
    display: inline-block;
    background-color: #4d4d4d;
    color: #fff;
    width: 150px;
    height: 37px;
    margin-top: 8px;
    text-decoration: none;
}
.fp-events-link a {
    display: block;
    float: left;
    padding: 10px 15px 10px 15px;
    font-size: 11pt;
    color: #fff;
    text-decoration: none;
}
.fp-daily-deal-link a {
    display: block;
    float: left;
    padding: 10px 15px 10px 15px;
    font-size: 11pt;
    color: #fff;
    text-decoration: none;
}
.fp_price {
    margin-bottom: 10px;
}
#region-lower-region3 .grid-4 .fp-events {
    margin-bottom: 15px;
}
.view-content .nivo-controlNav {
    position: absolute;
    bottom: 1.5em;
    left: 10%;
}
.view-content .views-nivo-slider-view {
    padding: 0;
}
#region-lower-region3 .block-8 p {
    margin: 0;
}

.front .block-32 {
    background-image: url("/sites/default/files/new/smallShopper.jpg");
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: -94px;
    margin-top: 7px;
    height: 109px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #4c9e45;
    transition: all 300ms;
}

.front .block-32 .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}

.front .block-32 .content .going-green-title {
    font-size: 2.2em;
}
.front .block-32 .content .going-green-text {
    font-size: 14px;
     padding: 5px;
}

@media (min-width: 576px) {
    /*  Front 3 Blocks */
    .front .zone-lower-content .grid-4 {
        transition: all 300ms;
        width: calc(33.333% - 10px);
        float: left;
        margin: 0 5px;
    }
}

@media (min-width: 768px) {
    /* Going Green Styles */
    .front .block-32 .content {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row;
        flex-flow: row;
    }
    .front .block-32 .content .going-green-title {
        font-size: 3.8em;
        font-weight: 700;
    }
    .front .block-32 .content .going-green-text {
        margin-left: 10px;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .front .block-32 {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        height: 60px;
    }
}

/* LOWER CONTENT REGION 4
______________________________________________________________________*/

/* .front .region-lower-region4 {
    border: 1px solid #b4b4b4;
    padding-top: 3px;
}

.front .block-block-27 {
    width: 100%;
    height: 170px;
    min-height: 170px;
    margin-bottom: 15px;
    text-align: center;
    color: #4c9e45;
    font-size: 1.33em;
    float: left;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-image: url("/sites/default/files/new/healthyLivingKiwi.jpg");
    background-size: 50%;
}
.front .block-block-27 h3 {
    font-size: 2em;
    margin-bottom: 0px;
}

@media (min-width: 576px) {
    .front .block-block-27 {
        margin-top: 15px;
    }
}
@media (min-width: 992px) {
    .front .block-block-27 {
        width: 25%;
        text-align: center;
        height: 245px;
        min-height: 235px;
        margin-bottom: 0px;
    }
} */

/* .front .block-block-35,
.front .block-block-44,
.front .block-block-36,
.front .block-block-34,
.front .block-block-54,
.front .block-block-56{
    width: 100%;
    max-width: calc(33.33% - 10px);
    height: auto;
    min-height: 157px;
    color: #4c9e45;
    border: 1px solid #d3d3d3;
    float: left;
    margin: 12px 5px 0 5px;
    text-align: center;
}

@media (min-width: 992px) {
    .front .block-block-35,
    .front .block-block-44,
    .front .block-block-36,
    .front .block-block-34,
    .front .block-block-54,
    .front .block-block-56 {
        max-width: calc(25% - 10px);
    }
}

.front .block-block-34 img,
.front .block-block-35 img,
.front .block-block-36 img,
.front .block-block-44 img,
.front .block-block-54 img,
.front .block-block-56 img {
    width: 100%;
    height: auto;
}

.front .lowerBlockTitle {
    padding: 3px;
    font-size: 14px;
}

.front .lowerBlockTitle a,
.front .block-27 .health-living a {
    text-decoration: none;
    color: #4c9e45;
}

.health-living {
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
} */

/** New code lower content region 4 **/

#region-lower-region4{
    clear: both;
}

#region-lower-region4 .region-inner{
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    #region-lower-region4 .region-inner{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    #region-lower-region4 .region-inner{
        grid-template-columns: repeat(4, 1fr);
    }
    #region-lower-region4 .region-inner .lower-block:hover .title{
        display: none;
    }
}

#region-lower-region4 .region-inner .lower-block{
    position: relative;
}

#region-lower-region4 .region-inner .lower-block .title{
    position: absolute;
    font-size: 2em;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

#region-lower-region4 .region-inner .lower-block img{
    width: 100%;
    height: auto;
    vertical-align: top;
}

/** EOF New code lower content region 4 **/

/*  VIEWS FRONT SLIDESHOW PAGER
_________________________________________________________*/

.front .views-slideshow-pager-field-item {
    float: left;
    color: #ffffff;
    background: #ffffff;
    border: 1px solid #2c2c2c;
    border-radius: 100%;
    text-align: center;
    margin: 3px;
    padding-left: 0px;
}

/* Previous and Next Buttons
_____________________________________________________________________*/

.front .views-slideshow-controls-top {
    position: absolute;
    z-index: 50;
}

.front .vscc_controls_next a {
    position: absolute;
    background-image: url("/sites/default/files/white_arrow_right_new.png");
    background-repeat: no-repeat;
    background-size: contain;
    left: 890px;
    height: 51px;
    top: 187px;
    width: 51px;
    white-space: nowrap;
    text-indent: -9999px;
    opacity: 0.3;
}

.front .vscc_controls_next a:hover {
    opacity: 1;
}

.front .vscc_controls_previous a {
    white-space: nowrap;
    position: absolute;
    background-image: url("/sites/default/files/white_arrow_left_new.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 51px;
    top: 187px;
    width: 51px;
    text-indent: -9999px;
    opacity: 0.3;
}

.front .vscc_controls_previous a:hover {
    opacity: 1;
}

.front .vscc_controls_pause,
.front .vscc-pause-processed {
    display: none;
}

/* HIDE THE PAGER TEXT  - TEMP
________________________________________________________________*/
.front .views-slideshow-pager-field-item a {
    color: #ffffff;
    text-align: center;
    visibility: hidden;
}
.front .views-slideshow-pager-field-item.active a {
    color: #4c9e45;
    text-align: center;
}

.front .views-slideshow-pager-field-item.active {
    background: #4c9e45;
    border: 1px solid #2c2c2c;
    border-radius: 100%;
    color: #4c9e45;
}

.views-slideshow-controls-bottom {
    width: 100%;
    position: absolute;
    top: 405px;
    z-index: 10000;
}

/* NEW HOVER EFFECT 
________________________________________________________________*/
.front.responsive-layout-mobile #block-block-33 h2.block-title,
.front.responsive-layout-mobile #block-block-19 h2.block-title,
.front.responsive-layout-mobile #block-block-45 h2.block-title {
    display: block;
}

.front.responsive-layout-mobile #block-block-33 .title,
.front.responsive-layout-mobile #block-block-19 .title,
.front.responsive-layout-mobile #block-block-45 .title {
    display: none;
}

.front.responsive-layout-mobile #zone-lower-content {
    padding-top: 0;
}

.front #zone-lower-content {
    padding-top: 15px;
}

.front #block-block-33 h2.block-title,
.front #block-block-19 h2.block-title,
.front #block-block-45 h2.block-title {
    display: none;
}

.front #block-block-33 .front-block,
.front #block-block-19 .front-block,
.front #block-block-45 .front-block {
    position: relative;
}

.front #block-block-33 .title,
.front #block-block-19 .title,
.front #block-block-45 .title {
    position: absolute;
    font-size: 2em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.front #block-block-33 .front-block:hover .title,
.front #block-block-19 .front-block:hover .title,
.front #block-block-45 .front-block:hover .title {
    display: none;
}

/** Back to top **/
#backtotop {
    background: url(../images/backtotop.png) no-repeat center center;
    opacity: 1 !important;
    -webkit-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
}

#backtotop:hover {
    opacity: 0.6 !important;
}

#backtotop:active,
#backtotop:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}
