/**
 *
 **/

 @media only screen and (min-width: 769px) {
   .is-blog.page-layout-1column .column.main {
       max-width: 1030px;
       margin: auto;
   }
   .is-blog.page-layout-2columns-left .columns {
       max-width: 970px;
       margin: auto;
   }
   .is-blog.page-layout-2columns-left .column.main {
       width: 73.33333333%;
   }

   .is-blog.page-layout-2columns-left .sidebar-main {
       width: 23.66666667%;
   }
 }

 /* @media only screen and (max-width: 768px) {

   .is-blog .page-wrapper > .breadcrumbs {
     margin-bottom: 0;
   }
} */

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

ol.post-list,
ol.comment-list { list-style: none; padding: 0; margin: 0; }

.post-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

@media only screen and (max-width: 768px) {

  .post-list {
    justify-content: space-around;
  }

}

.post-list li {
  margin:0;
}

/* General Post Styles */
.post-list li:after { content: ' '; clear: both; display: block; }
.post-entry { /*overflow: hidden;*/ margin: 0 0 10px; }
.post-date { margin: 0; }
.post-image { float: left; margin-right: 10px; }
.post-meta { clear: both; margin: 0 0 30px; text-align: center; }
.post-meta .post-meta-item { display: inline-block; margin-right: 10px; }
.post-readmore { margin-top: 10px; }
.post-list-item {margin-bottom: 5px;}
.post-list .post-meta {text-align: left;font-size: 12px;}

.post-entry iframe { max-width: 100%; }
/* Comments */
.comment-list-item { margin: 0 0 20px; }
.comment-list.children { margin-top: 20px; }
.comment-image { float: left; margin: 0 10px 10px 0; }
.comment-meta {}
.comment-author { font-weight: bold; display: block; }
.comment-date {}
.comment-entry { clear: both; margin: 0 0 20px; }

/* Widgets */
.block-blog .block-title { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #c6c6c6; }
.block-blog .block-title > strong { font-size: 18px; font-weight: 300; }
.block-blog ul, .block-blog ol { list-style: none; margin: 0; padding: 0; }
.block-blog-cloud li { display: inline; margin: 0; }
.block-blog-categories ul.level1 { margin-top: 1rem; }

.wordpress-post-view .page-title-wrapper {display:none;}
/* .wordpress-post-view .page-wrapper > .breadcrumbs {margin-bottom:0;} */

.wordpress-homepage-view .page-title-wrapper {display:none;}

.post-list-item h2 {
      font-weight: 400;
    font-size: 2.2rem;
}

.block-recent-posts ul li {
  margin-bottom: 15px;
}

/* #recipe-list .post-list {
display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	justify-content:center;
} */

.page-layout-1column #recipe-list .post-list .item {
    /* flex: 1 0 30%; */
    max-width: 340px;
    width: 100%;
}

#blog-search-form button {
      height: 40px;
    line-height: 40px !important;
    width: 100%;
}

.block-blog-search .block-title {
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: none;
}


@media only screen and (min-width: 768px) {
  .cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* .card {
    -ms-flex-preferred-size: 15em;
    flex-basis: calc(30%);
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    margin: 1em auto;

  } */
}

.card {
  text-align: left;
  background: #ffffff;
  border: 1px solid #d4dadb;
  margin: 1em;
  position: relative;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-size: 12px;
  box-shadow: 0 5px 30px rgba(212,218,219,0.7);
}
.card .card-image {
  background-color: #fff;
  overflow: hidden;
}
.card .card-image img {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  width: 100%;
}
.card .card-header {
  padding: 1em;
  -webkit-transition: all 0.2s ease-in-out;
  border-bottom: 1px solid #d4dadb;
}
.card .card-header h2 {
  margin: 0 0 5px;
  color: #009bdf;
  font-size: 1.8rem;
}
.card .servings {font-weight: 600;color: #333;}
.card .card-copy {
  display: flex;
  flex-direction: column;
}
.card .card-copy h4 {
  font-weight: 500;
}
.card .card-directions {
  order: 1;
  padding: 0.5em 1em;
}
.card .card-ingredients {
  flex: 0 0 15em;
  padding: 0.5em 1em;
  border-bottom: 1px solid #d4dadb;
}
.card .card-directions ol {
  font-size: 12px;
  line-height: normal;
}
.card li {
  margin-bottom: 1em;
}
.card .card-ingredients li {
  margin-bottom: .5em;
}

.card a,.card a:hover,.card a:visited {
  text-decoration: none;
}



.card-filters {
  padding: 1em 0;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}


.card-filters .btn-filters:hover, .card-filters .btn-filters.active {
    background: #009bdf !important;
    color: #fff !important;
    border-color: #009bdf !important;

}

.page-layout-2columns-left .card-filters {
  display: none;
}

.btn-filters,
.btn-filters:visited {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #c2cacc !important;
    border-radius: 40px !important;
    height: auto;
    line-height: normal !important;
    padding: .5em 1em !important;
}

.btn-filters:hover,
.btn-filters.active {
  background: #009bdf !important;
  color: #fff !important;
  border-color: #009bdf !important;
}

@media only screen and (min-width: 768px) {
  .cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* .card {
    -ms-flex-preferred-size: 15em;
    flex-basis: calc(30%);
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    margin: 1em;
  } */

  .card .card-image {
    width: 100%;
    max-width: 280px;
    margin: auto;
    display: flex;
    max-height: 180px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
  }

  .card .card-header {
    transition: all 0.2s ease-in-out;
    display: -webkit-flex;
    -webkit-justify-content: space-between;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .card .card-copy {
    flex-direction: column;
  }

  .card .card-ingredients {
    border: none;
    border-right: 1px solid #d4dadb;
  }
}



@media only screen and (max-width: 768px) {

  .card-filters {
    flex-flow: row wrap;
    padding-bottom: 0;
    padding-left: 1em;
    padding-right: 1em;
  }
    .card-filters .btn-filters {
      margin: .5em 0;
      width: 18%;
    }

  .card {
        margin: 2em 1em;
    }
    .card .card-header {
      text-align:center;
    }

    .card .card-image {
      display: flex;
      max-height: 180px;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -ms-flex-align: center;
      -webkit-align-items: center;
      -webkit-box-align: center;
      align-items: center;
    }
}

@media only screen and (max-width: 767px) {
    .recipe .recipe-image {
      height: 100%;
      max-height: 220px;
    }

}


@media only screen and (min-width: 480px) and (max-width: 767px) {

  .cards {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
  }

    .card-filters .btn-filters {
      margin: .5em 0;
      width: 38%;
    }

}

@media only screen and (max-width: 480px) {

  .card-filters .btn-filters {
      width: 100%;
    }


}
