ul#easy-recipe-filters {
  display: block;
  list-style: none;
  margin: 0 0 0 -1%;
  padding: 0;
  width: 100%;
}

#easy-recipe-filters li.erf-post {
  background: none;
  cursor: pointer;
  display: inline-block;
  float: left;
  height: 100%;
  margin: 0 0 0.55% 1%;
  padding: 0 0 3px; 
  vertical-align: top;
}

.erf-post.col-2 {
  width: 49%;
}

.erf-post.col-3 {
  width: 32.333333333333333%;
}

.erf-post.col-4 {
  width: 24%;
}

#easy-recipe-filters li.erf-post article {
  background: #eee;
  display: block;
  height: 100%;
  line-height: 0;
  position: relative;
  width: 100%;
}

.erf-post .entry-content {
  height: 100%;
  left: 0;
  margin: 0 auto;
  overflow: hidden;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
}

.erf-post .overlay-effect {
  background: rgba( 0, 0, 0, 0.75 );
  height: 100%;
  padding: 10px;
  position: relative;
  opacity: 0;
  filter: alpha(opacity=0);
  width: 100%; 
  z-index: -1;
}

.erf-post .entry-content:hover .overlay-effect {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 1;
}

.erf-post .entry-header {
  border: none;
  display: table;
  height: 100%;
  margin: 0;
  padding: 10px;
  vertical-align: middle;
  width: 100%;
}

.erf-post .entry-header h2 {
  display: table-cell;
  height: 100%;
  margin: 0;
  vertical-align: middle;
  width: 100%;
}

.erf-post .entry-header h2 a {
  display: block;
  text-align: center;
}

.erf-post .thumbnail_wrapper img {
  border: none;
}

.erf_search_form {
  margin: 0 0 20px;
}

.erf_search_form label {
  margin-right: 15px;
  font-weight: bold;
  text-transform: uppercase;
  vertical-align: middle;
}

.erf_search_form input {
  width: 35%;
}

/* 
Filters Panel
---------------------------------------------------*/

.full-width-content .sidebar-primary {
  float: none;
  width: 100%;
}

.erf-filters-wrap {
    position: relative;
}

.erf-heading {
    font-weight: bold;
    margin: 0px;
    text-transform: uppercase;
}

label.sl {
    font-size: 21px;
    letter-spacing: 1px;
    margin-right: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}

.erf-overlay-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    background: black;
    opacity: 0.75;
}

#erf-short-desc {
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.block-name {
  font-weight: bold;
  margin: 15px 0 1px;
  position: relative;
}

#erf-filters-list .erf-btn {
    background-image: url("../images/checkbox-unchecked.png");
    background-position: 0 8px;
    background-repeat: no-repeat;
    cursor: pointer;
    padding-left: 20px;
    position: relative;
}

#erf-filters-list .erf-btn.selected {
    background-image: url("../images/checkbox-checked.png");
    background-repeat: no-repeat;
}

.erf-btn.dimmed {
    cursor: default;
}

#erf-filters-list .dimmed {
    background-image: none;
    color: #aaaaaa!important;
}

#erf-filters-list .erf-btn .count {
    letter-spacing: 1px;
    padding-left: 3px;
}

.hidden,
#erf-show-all,
.erf-btn.selected .count,
.erf-mobile-tips,
.erf-mobile-menu {
  display: none;
}

.erf-mobile-menu {
  cursor: pointer;
  line-height: 19px;
  margin-right: 6px;
  vertical-align: middle;
}

.fb-toggle {
  cursor: pointer;
  display: inline-block;
  font-size: 11px;
  position: absolute;
  right: 0;
  top: 21%;
}

.fb-toggle .dashicons {
  font-size: 12px;
  line-height: 20px;
  width: 14px;
  vertical-align: middle;
}

/* 
Scrollbar
---------------------------------------------------*/

.erf_responsive .vscroll {
  width: 225px;
	overflow: auto;
}

.jspPane {
  width: 210px;
}

.erf_responsive #erf-filters-list.wrap-vscroll {
  padding: 12px 5px 10px 10px;
}

/* 
Responsive Effect
---------------------------------------------------*/

.easy-recipe-filter.erf_responsive main.content {
  margin-top: 20px;  
}

.erf_responsive .erf-mobile-menu {
  display: inline-block;
}

.erf-overlay-bg:before {
  background: #ebebeb;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
  color: #0b0b0b;
  content: "\f335";
  cursor: pointer;
  display: block;
  font-family: "dashicons";
  font-size: 28px;
  left: 230px;
  line-height: 37px;
  padding: 3px 3px 0 8px;
  position: fixed;
  top: 50%;
  width: 28px;
  z-index: 99999;
}

.erf_responsive #erf-filters-list {
  background: #f2f2f2;
  display: table;
  padding: 12px 12px 10px;     
  position: fixed;
  height: 100%;
  left: -999px;
  top: 0;
  width: 240px;
  z-index: 999;
}

.erf_responsive #erf-filters-list .erf-btn {
  background-color: #fff;
  border: 1px solid #fff;
  -webkit-box-shadow: 0 0 1px #e5e5e5;
  -moz-box-shadow: 0 0 1px #e5e5e5;
  -o-box-shadow: 0 0 1px #e5e5e5;
  box-shadow: 0 0 1px #e5e5e5;
  margin-bottom: 5px;
  padding-bottom: 4px;
  padding-top: 2px;
}

.erf_responsive #erf-filters-list .erf-btn {
  background-position: 10px 10px;
  padding-left: 30px;
}

.erf_responsive #erf-filters-list .erf-btn.selected {
  background-position: 10px 10px;
}

.erf_responsive #erf-filters-list .erf-btn.hover {
  border: 1px solid #999;
}

.erf_responsive #erf-short-desc {
  max-width: 220px;
}

.erf_responsive .erf-heading {
  margin-bottom: 3px;
}

.erf_responsive .erf-mobile-tips {
  background-image: url('../images/arrow.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  -webkit-background-size: 48px 16px;
  -moz-background-size: 48px 16px;
  -o-background-size: 48px 16px;
  -khtml-background-size: 48px 16px;
  background-size: 48px 16px;
  display: block;
  line-height: 24px;
  margin-bottom: 5px;
  height: 16px;
  padding-left: 48px;      
}

.erf_responsive #erf-iscroll {
	position: absolute;
  width: 90%;
	z-index: 5;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media only screen and (max-width: 685px ) {
  .erf-post.col-3,
  .erf-post.col-4 {
    width: 49%;
  }
}

@media only screen and (max-width: 420px ) {
  .erf-post.col-2,
  .erf-post.col-3,
  .erf-post.col-4 {
    width: 100%;
  }
  
  #easy-recipe-filters li.erf-post {
    margin-bottom: 1.5%;
  }
}