.am_ajax_post_grid_wrap {
    box-sizing: border-box;
  }
  
  .asr-filter-div .asr_texonomy {
    display: inline-block;
    cursor: pointer;
    background: transparent;
    padding: 5px 10px;
    margin: 1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .asr-filter-div ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .asr_texonomy.active,
  .asr_texonomy:hover {
    background: rgba(0, 0, 0, 0.1);
  }
  
  .asr-ajax-container {
    position: relative;
    z-index: 0;
  }
  
  .asr-ajax-container .asr-loader {
    display: none;
  }
  
  /*****************
   * New Design
   *****************/
  .asr-filter-div {
    margin-bottom: 30px;
  }
  
  
  .am_post_grid {
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: 22% 22% 22% 22%;
    grid-column-gap: 33px;
  }

  .am__col-3 .am_grid_col.shown {
    width: 100% !important;
  }

  @media(max-width: 991px){
    .am_post_grid{
      grid-template-columns: 48% 48%;
    }
  }
  @media(max-width: 629px){
    .am_post_grid{
      grid-template-columns: 100%;
    }
  }
  
  /*Loading*/
  .asr-loader {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    z-index: 9;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
  }
  
  .lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 1px solid #333;
    border-color: #333 transparent #333 transparent;
    -webkit-animation: lds-dual-ring 1.2s linear infinite;
            animation: lds-dual-ring 1.2s linear infinite;
  }
  
  @-webkit-keyframes lds-dual-ring {
    0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  
  @keyframes lds-dual-ring {
    0% {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  /*Layout 1*/
  .am__col-3 .am_grid_col {
    margin-bottom: 30px;
    width: 100%;
    margin-right: 5.9%;
    text-align: center;
    border-style: solid;
    border-width: 0;
    background-clip: border-box;
    border-color: #707070;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 0px 5px 0px #d3d3d3;
}
.am__col-3 .am_grid_col:nth-child(3n) {
  margin-right: 0;
}
  
  .am_thumb  {
    text-align: center;
    min-height: 150px;
  }
  .am__title {
    color: #333;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    margin-top: 10px;
  }
  
  .am_thumb img {
    height: auto;
    width: 80%;
  }
  
  .am_cont {
    padding: 10px;
    display: flex ;
    justify-content: center;
    align-items: center;
    height: 100px;
  }

  .am_grid_col.yes_excerpt.active .am_cont .am__title {
    display: none;
  }  

  .am_grid_col .am_cont .excerpt {
    display: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 26px;
    margin-top: 10px;
  }

  .am_grid_col.yes_excerpt.active .am_cont .excerpt {
    display: flex;
  } 

  .am__excerpt {
    display: none;
    align-items: center;
    height: 100%;
    cursor: pointer;
    padding: 8px;
    min-height: 220px;
  }

  .active .am__excerpt {
    display: flex;
    justify-content: center;
  }

  .am__excerpt p {
    font-size: 24px;
    line-height: 1;
  }

  /*Paginaion*/
  
  #am_posts_navigation_init {
      margin: 30px 0;
      text-align: center;
  }
  #am_posts_navigation_init .page-numbers {
      width: 30px;
      display: inline-block;
      height: 30px;
      text-align: center;
      line-height: 1.2;
      border: 1px solid #c6c6c6;
      padding: 4px;
      text-decoration: none;
  }
  #am_posts_navigation_init .page-numbers.current,
  #am_posts_navigation_init .page-numbers:hover {
      background: #f0f0f0;
  }
  .am_ajax_post_grid_wrap form label {
      display: block;
  }

  .asr-filter-div {
    visibility: hidden;
    z-index: 9999;
    opacity: 0;
    position: absolute;
    width: 100%;
    display: block;
    float: none;
    height: auto;
    right: auto;
    top: 65px;
    background: #eeeeee;
    border-top: none;
    width: 295px;
    padding: 20px;
    font-family: core_sans,Lucida,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(34,25,36,.2);
    font-size: 18px;
    line-height: 1.3333;
    z-index: 2004;
    border: 1px solid #d9d8db;
    animation: fadeIn cubic-bezier(.22,.61,.36,1) .25s;
    transition: opacity .25s cubic-bezier(.22,.61,.36,1);
    outline: 0;

  }

  .builder_filters {
    width: 29%;
    float: left; margin-right: 2%;
    border: 1px solid black;
    padding-left: 20px;
  }

  .builder_filters p {
    margin-top: 10px;
  }
  .builder_filters span {
    float: right;
    padding-right: 10px;
  }
  .asrafp-filter-result.showing {
    padding-top: 60px;
  }

  .clear_filters {
    padding-top: 20px;
  }

  .clear_filters .results:hover {
  cursor: pointer;
}
.clear_filters .results {
    float: left;
    margin-right: 20px;
    margin-top: 20px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 20px;
    position: relative;
    z-index: 9;
  }

  .clear_filters .closeMe {
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
  }

  .builder_filters:hover {
    cursor: pointer;
  }

.builder_filters span i {
  position: relative;
    transition: transform .25s cubic-bezier(.65,.05,.36,1);
}

.builder_filters.is-open i {

  transform: rotate(180deg);

}

.asr-filter-div form {
  margin-left: 10px;
}

.asr-filter-div form label {
  font-size: 16px;
}

.am__col-3 .am_grid_col.type-builders.last-in-row {
  margin-right: 0 !important;
}
#filterbuilders {
  width: 69%; padding: 11.5px; border: 1px solid black; border-radius: 0; background: white;
}

.ws_ajax_post_grid_wrap {
  width: 65%;
  margin: 0 auto;
}

.ws_ajax_post_grid_wrap .custom_filters .custom_filter .dropdown {
   width: 100%;
   padding: 10px;
}


.custom_filters .custom_filter.update_filters:hover .dropdown, .custom_filters .custom_filter.filter_by_builder:hover .dropdown { 
  display: block; 
  z-index: 20;
}

#dialog-updates .filter-wrap.custom_filters .custom_filter {
  width: 32%;
  margin-right: 2%;
  float: left; 
  border: 1px solid black;
  padding: 10.5px 0 10.5px 0;
}

#updates-container .update-container {
  grid-template-columns: 32% 32% 32%;
  gap: 25px 2%;
}
.live.fa-search {
  float: right;
    margin-top: -30px;
    margin-right: 10px;
}


.favorite_builder {
  float: left;
  width: 155px;
  height: 155px;
  margin-right: 15px;
  border-style: solid;
  border-width: 0;
  background-clip: border-box;
  border-color: #707070;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0px 0px 5px 0px #d3d3d3;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.favorite_builder_container {
  position: relative;
  text-align: center;
}

.favorite_builder_container .favorite-builder-button {
  border:0; background: none; font-size: 25px; position:absolute; top: 0; left: 0; padding: 0;
}

.favorite_builder img {
  max-width: 90%;
  width: 135px;
  height: 135px;
  text-align: center;
}


/* Get Quote Pop-up */
.pop-up-wrapper {
  background:rgba(0,0,0,.4);
  display:none;
  height:100%;
  position:fixed;
  text-align:center;
  top:0;
  left: 0;
  right: 0;
  bottom: 0;
  width:100%;
  z-index:999999999;
}

.pop-up-wrapper .pop-up-content {
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 70%;
  min-height: 100px;
  vertical-align: middle;
  width: 50%;
  position: relative;
  padding: 25px 5%;
  cursor: default;
  max-height: 95%;
}
.pop-up-wrapper .helper{
  display:inline-block;
  height:100%;
  vertical-align:middle;
}
.popupCloseButton {
  background-color: #fff;
  border: 3px solid #999;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font-family: arial;
  font-weight: bold;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 20px;
  line-height: 25px;
  width: 30px;
  height: 30px;
  text-align: center;
}
/* End Get Quote Pop-up */


.home .addingFaves {
  position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
}

.favorite-builder-button {
  border: 0;
  background: none;
  font-size: 25px;
  position: absolute;
  top: 9px;
  left: 6px;
}

.favorite-builder-star {
  color: #626262;
}

.favorite-builder-star:hover, .favorite-builder-star.favorited {
  font-weight: 900;
}

.preferred-dealer-reminder {
  font-weight: 600;
  color: #9ba366;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 17px;
  text-align: center;
}
/* Favorite Builder End */


@media (max-width: 980px) {

  .ws_ajax_post_grid_wrap {
    width: 85%;
  }

  .builder_filters {
    margin-right: 5.9%; 
  }
  .am__col-3 .am_grid_col, .builder_filters, #filterbuilders {
    width: 47.05%;
  }
  .am__col-3 .am_grid_col:nth-child(3n) {
    margin-right: 60px;
  }

  .am__col-3 .am_grid_col:nth-child(even) {
    margin-right: 0;
  }

  #dialog-updates .filter-wrap.custom_filters .custom_filter {
    width: 100%;
    margin-right: 0;
    margin-top: 10px;
  }

  .page-id-341937 .manage-email-button {
    width: 100% !important;
    margin-top: 10px;
  }

}

@media (max-width: 768px) {
  .builder_filters, #filterbuilders {
   width: 100% !important;
   float: none !important;
   display: block;
   margin-right: 0 !important;
  }
  
  #filterbuilders {
    margin-top: 20px;
  }
  .am__col-3 .am_grid_col {
    width: 75%;
    margin: 20px auto !important;
  }
  
  .am__col-3 .am_grid_col.type-builders.last-in-row {
    margin-right: auto !important;
  }
}