.grid-container {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(1, 1fr [col-start]);
  grid-template-rows: repeat(16, 250px);
}
@media screen and (min-width: 365px) {
  .grid-container {
    grid-template-rows: repeat(16, 250px);
  }
}
@media screen and (min-width: 415px) {
  .grid-container {
    grid-template-rows: repeat(16, 275px);
  }
}
@media screen and (min-width: 460px) {
  .grid-container {
    grid-template-rows: repeat(16, 325px);
  }
}
@media screen and (min-width: 560px) {
  .grid-container {
    grid-template-rows: repeat(16, 375px);
  }
}
@media screen and (min-width: 650px) {
  .grid-container {
    grid-template-rows: repeat(16, 450px);
  }
}
@media screen and (min-width: 768px) {
  .grid-container {
    grid-template-rows: repeat(6, 250px);
    grid-template-columns: repeat(3, 1fr [col-start]);
  }
}
@media screen and (min-width: 992px) {
  .grid-container {
    grid-template-rows: repeat(6, 275px);
    grid-template-columns: repeat(3, 1fr [col-start]);
  }
}
@media screen and (min-width: 1175px) {
  .grid-container {
    grid-template-rows: repeat(6, 275px);
    grid-template-columns: repeat(3, 1fr [col-start]);
  }
}
@media screen and (min-width: 56.875em) {
  .page-template-recipe-cards #secondary.sidebar {
    float: none;
    /*            margin-left: 0;*/
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
}
.paMessage {
  padding-left: 1em;
  font-size: 16px;
  font-family: "Raleway";
}
.outer {
  background: linear-gradient(141deg, #98e25f 0%, #fff 99%);
  position: relative;
}
.outer.premierAccess {
  background: linear-gradient(141deg, #eb4162 0%, #fff 99%);
}
.inner {
  position: relative;
}
@media screen and (max-width: 767px) {
  .inner {
    max-height: 210px;
    overflow: hidden;
  }
}
.outer h2 {
  position: absolute;
  top: 10px;
  left: 5px;
  z-index: 999;
  color: #fff !important;
  font-weight: bold !important;
  font-size: 24px;
  word-wrap: break-word;
  display: inline;
}
.titleWrap {
  background: rgba(0, 0, 0, 0.3);
}
.recipeInfo {
  padding: 5px;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(141deg, #3fa294 0%, #fff 99%);
}
@media screen and (min-width: 768px) {
  .recipeInfo {
    color: #676767;
  }
}
.inner .recipeInfo {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
}
.premierAccess .recipeInfo {
  color: #fff;
}

@media screen and (min-width: 768px) {
  .premierAccess .recipeInfo {
    background: linear-gradient(141deg, #e798a6 0%, #fff 99%);
  }
}
.recipeThumbnailList {
  list-style-type: none;
  font-size: 14px;
  font-family: "Open Sans";
  position: relative;
  margin-bottom: 0;
}
.goToRecipeMobile {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 3px 5px;
  border-radius: 3px;
}
.recipeThumbnailList .goToRecipe {
  position: absolute;
  right: 0;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  .inner img {
    /*        max-height: 225px;*/
  }
}
#more-posts-button {
/*        background-color: rgb(255,33,96);*/
    background-color: #3fa294;
    /* margin-top: calc( 25% - 13px ); */
}
/*spinner animation*/
.spinner {
    background-color: #3fa294;
  margin: 25px auto 0;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #fff;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #3fa294;
    min-height: 225px;
}
/*FILTERING STYLES*/
#categoryFilter {
  background-color: #e798a6;
  color: #fff;
  position: relative;
  bottom: 2px;
}

/*SEARCH STYLES*/
#searchBar {
  background-color: #e798a6;
  color: #fff;
  position: relative;
  bottom: 2px;
}
@media screen and (max-width: 767px) {
  #categoryFilter {
    margin-top: 5px;
  }
}
.categoryfilter {
  font-size: 1.5rem;
}

.searchContainer {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  min-height: 55px;
}

#searchInput {
  min-width: 300px;
  min-height: 35px;
  padding-left: 10px;
  font-size: 16px;
  text-align: left;
  border: 1px solid gray;
  border-radius: 3px;
}
#searchInput:focus {
  outline: none;
}
#searchInput::placeholder {
  font-size: 12px;
}
.searchBtn {
  background-color: #e798a6;
  color: #fff;
  position: relative;
  font-size: 14px;
  font-weight: 300;
  border-radius: 3px;
  margin: 0px 0px 0px 4px;
}
.searchBtn:hover {
  background-color: #fff;
  color: #e798a6;
  border: 2px solid #e798a6;
  border-radius: 4px;
}
.searchBtn:focus {
  background-color: #744364;
  color: #fff;
  border: 2px solid #744364;
  border-radius: 4px;
}

@media screen and (max-width: 767px) {
  .searchContainer {
    flex-wrap: wrap;
    justify-content: space-evenly;
    min-height: 90px;
    margin-bottom: 15px;
  }
  .filterContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    min-height: 90px;
    margin-bottom: 10px;
  }
  #categoryFilter{
    height: 36px;
  }
  .categoryfilter{
    padding: 7px 3px;
  }
}
