/*CSS to be added to SASS when pulled locally to allow grunt to compile*/

div.simple-banner {
  z-index: 98;
}

/*Homepage*/

.footer-widgets #search-4 {
  display: none;
}

#homepage-cta .widget_sp_image img {
  width: 100%;
  height: 321px;
}
#homepage-banner .wrap {
  max-width: 100%;
}
#homepage-banner article {
  background-position: bottom center;
  font-weight: bold;
  font-size: 56px;
  line-height: 56px;
  padding: 200px 0px;
  color: #fff;
  text-align: center;
}

.single-care_sheets .content .one-fourth {
  padding: 0;
}
.specials .title {
  padding: 20px 10px;
  min-height: 115px;
}

.site-inner #seasonal-banner .banner {
  display: flex;
  flex-wrap: wrap;
  padding: 0 2rem; 
  align-items: center;
}
.site-inner #seasonal-banner .banner .img {
  width: 15%;
}
.site-inner #seasonal-banner .banner .content {
  width: 60%;
  padding-right: 2rem;
}
.site-inner #seasonal-banner .banner .content--button {
  width: 25%;
  text-align: center;
}

@media screen and (max-width:1023px) {
  .site-inner #seasonal-banner .banner {
    padding: 0 2rem 2rem 2rem;
  }
  .site-inner #seasonal-banner .banner .img {
    width: 100%;
  }
  .site-inner #seasonal-banner .banner .content {
    width: 100%;
    padding-right: 0;
  }
  .site-inner #seasonal-banner .banner .content--button {
    width: 100%;
  } 
}

.sidebar #seasonal-banner .banner img {
  width: 75%;
}
.sidebar #seasonal-banner .banner .button {
  width: 100%;
  padding: 17px 5px;
}
.sidebar #seasonal-banner .banner .content {
  width: 100%;
}

/*New CPTs Plant Types & Products*/

.post-type-archive-store_products #products-bg,
.post-type-archive-plant_selection #plant_selection-bg {
  background: #ebebeb;
  padding: 50px 0px;
  padding: 3.33333rem 0rem;
}
.post-type-archive-store_products .entry,
.post-type-archive-plant_selection .entry {
  background: #fff;
  padding: 0px;
  margin-bottom: 25px;
  margin-bottom: 1.66667rem;
  text-align: center;
  height: 372px;
}
.post-type-archive-store_products .entry h2.entry-title,
.post-type-archive-plant_selection .entry h2.entry-title {
  line-height: 22px;
  color: #333333;
  margin: -7px 0px 0px;
  padding: 30px 10px;
  padding: 2rem 0.66667rem;
}
.post-type-archive-store_products .entry img,
.post-type-archive-plant_selection .entry img {
  width: 100%;
  margin-top: 0 !important;
}

.single-store_products .entry-meta,
.single-plant_selection .entry-meta {
  display: none;
}
.archive-pagination ul {
  clear: both;
}

/* Nav menu contact cta */

li#menu-item-18,
li#menu-item-81,
li#menu-item-64 {
  padding: 0.8rem;
  margin-left: 8px;
}

li#menu-item-18 .contact-btn,
li#menu-item-81 .contact-btn,
li#menu-item-64 .contact-btn {
  color: white;
  padding: 0 0.6rem;
}

/* Video Gallery Page */

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.gallery__item {
  border: 1px solid #e8e8e8;
  margin-bottom: 2rem;
  width: 48%;
}

.gallery__item__inner {
  padding: 1.5rem 2rem;
}

.gallery__item__inner h2 {
  margin-top: 0;
}

.iframe-wrapper {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

.iframe-wrapper iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}


@media only screen and (max-width: 1225px) {
  .post-type-archive-store_products .entry,
  .post-type-archive-plant_selection .entry {
    height: 320px;
  }

  .page-template-wholesale-frontpage #seasonal-banner .banner img, .page-template-garden-center-frontpage #seasonal-banner .banner img {
    width: 90%;
    margin: 1.33rem auto 0;
    max-width: 200px;
  }
}

@media only screen and (max-width: 1024px) {
  .post-type-archive-store_products .entry,
  .post-type-archive-plant_selection .entry {
    height: 270px;
  }
  .post-type-archive-store_products .entry-title a,
  .post-type-archive-plant_selection .entry-title a {
    font-size: 16px !important;
    line-height: 18px;
  }
}

@media only screen and (max-width: 800px) {
  .post-type-archive-store_products .entry,
  .post-type-archive-plant_selection .entry {
    width: 48.717948717948715%;
    height: inherit;
  }
  .post-type-archive-store_products .entry:nth-child(even),
  .post-type-archive-plant_selection .entry:nth-child(even) {
    float: left;
    margin-left: 2.564102564102564%;
  }

  .post-type-archive-store_products .entry h2.entry-title,
  .post-type-archive-plant_selection .entry h2.entry-title {
    padding: 20px 10px;
    min-height: 90px;
  }
}

/*Events*/
.row-qty,
.row-price {
  width: 5% !important;
}

.woocommerce ul.products li.product a {
  cursor: pointer;
}

.row-name {
  width: 40% !important;
  padding-left: 2% !important;
}

.row-desc {
  width: 30% !important;
}
.post-type-archive-event .main-table_3078 td {
  border-top: 1px solid #ddd !important;
}

.post-type-archive-event table {
  line-height: 1.5;
  margin-bottom: 1rem !important;
}

.genesis-nav-menu li.mega-nav:hover > .sub-menu .description {
  display: none;
}

.genesis-nav-menu li.mega-nav:hover > .sub-menu .has_description .description {
  display: block;
  padding: 0 !important;
  margin-top: 27px;
  width: 155px;
}

.genesis-nav-menu li.mega-nav:hover > .sub-menu a:hover {
  text-decoration: none !important;
}
@media only screen and (max-width: 1023px) {
  .footer-widgets #search-4 {
    display: block;
    margin-bottom: 30px;
  }

  .footer-widgets-2,
  .footer-widgets-3 {
    display: none;
  }
  .footer-widgets .search-form input[type="search"] {
    width: 90%;
  }
  .footer-widgets .search-form input[type="submit"] {
    width: 10%;
  }
}

@media only screen and (max-width: 800px) {
  .post-type-archive-store_products .entry img,
  .post-type-archive-plant_selection .entry img {
    margin: 0 auto;
    float: none;
  }
}

@media only screen and (max-width: 768px) {
  #homepage-banner .wrap {
    padding: 0;
  }

  #homepage-cta .widget_sp_image h4 {
    top: 130px;
  }

  .site-inner #seasonal-banner .banner img {
    width: 100%;
    max-width: 200px;
  }

  .site-inner #seasonal-banner .banner .content,
  .site-inner #seasonal-banner .banner .button {
    width: 90%;
    margin: 0 auto;
  }

  #homepage-banner article {
    padding: 100px 0;
    font-size: 40px;
    line-height: 48px;
  }

  .gallery__item {
    width: 100%;
  }
}

.specials_link{
  color: white;
}

.button-footer {
  color: white;
}

#button-footer:hover {
  color: white;
  text-decoration: none;
}

#homepage-cta .widget_sp_image {
  margin-right: 0;
}

#homepage-cta .widget_text{
  width: 95%;
  margin: 0 auto;
  padding-bottom: 1rem;
}

#homepage-cta .widget_text .widget-title {
  text-align: center;
  margin: 0;
}



@media only screen and (max-width: 650px) {
  .archive .content .entry, .page-template-page_blog .content .entry, .search-results .content .entry{
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
  }
}