div#enabled_filters ul {
    padding: 0;
}
#enabled_filters .layered_subtitle {
  font-weight: bold;
  font-size: 12px; 
}

#enabled_filters li a {
  cursor: pointer;
  transform: translateY(-50%);
  top: 50%;
  right: 6px;
  position: absolute;
}

#enabled_filters li > span > span { 
  margin-right: 10px;
}

#layered_block_left ul li label {
  cursor: pointer; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#layered_block_left ul li:last-child {
    margin-bottom: 10px;
}
#layered_block_left ul li {
  list-style-type: none; 
  font-size: 14px;
}

#layered_block_left #enabled_filters, #layered_url_filter_block {
  margin-top: 0px;
  border-bottom: 1px dotted #CCC; 
}

/* Style moved form the template to the css  */
#layered_block_left #enabled_filters ul li:hover {
  background: inherit;
  color: inherit; 
}

#layered_block_left ul li input.checkbox, #layered_block_left ul li input.radio {
  vertical-align: middle;
  margin: 0 5px; 
  height: 16px;
  width: 16px;
}

#layered_block_left ul li .disabled {
  color: #666; }

#layered_block_left .color-option {
  border: 1px solid #666666;
  height: 16px;
  margin-left: 0;
  margin-right: 5px;
  padding: 0;
  width: 16px; }

#layered_block_left .color-option.disable {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5; }

#layered_form .color-option {
  margin-left: 0;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid #666; }

#layered_form .color-option.on {
  border: 2px solid black; }

.layered_price_range {
  margin-left: 7px; }

.layered_price_range_unit {
  margin-right: 7px; }

.layered_slider_container {
  margin: 6px 0 6px 10px;
  width: 91%; }

.layered_slider {
  margin-top: 5px; }

.layered_list_selected {
  font-weight: bold; }

.layered_list {
  display: block;
  cursor: pointer; }

.layered_list:hover {
  font-weight: bold; }

.layered_ajax_loader p {
  margin: 20px 0;
  text-align: center; }

.hide-action {
  text-align: center;
  text-align: right;
  display: block;
  cursor: pointer; }

.hide-action:hover {
  font-weight: bold; 
}


/*REMOVIDO DO GLOBAL.CSS*/

@media (max-width: 768px){
  #layered_block_left .block_content.list-block {
    display: none;
  }
}
#layered_block_left .layered_close {
    float: right;
    font-size: 10px;
}
#layered_block_left .layered_subtitle {
    display: block;
    font-size: 16px !important;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
}
#layered_block_left ul li {
    padding: 2px 0;
    width: 100%;
    color: #303030;
    display: flex;
    align-items: flex-end
} 
#layered_block_left #enabled_filters ul li:hover {
    background: inherit;
    color: inherit
}
#layered_block_left .color-option {
    border: 1px solid;
    height: 16px;
    margin-left: 0;
    margin-right: 5px;
    padding: 0;
    width: 16px
}
#layered_block_left .color-option.disable {
    opacity: .5;
    -moz-opacity: .5
}
#layered_block_left .nomargin a {
    display: inline
}

#layered_form .color-option {
    margin-left: 0;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid;
    border-radius: 10px
}
#layered_form .color-option.on {
    border: 2px solid #000
}
#layered_form input[type=radio] {
    display: unset;
}

/*Novo layout dos filtros*/

.layered_subtitle_heading {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 5px 10px;
  margin: 5px 0;
  border-radius: 3px;

  background: #f0f0f0;
  color: #333;
}

#layered_block_left {
  position: relative;
}

button.showFilters, button.showFilters:hover,button.showFilters:focus {
  color: #fff;
  width: 50%;
}

.slide_filters {
  left: 15% !important;
}
#layered_block_left > div.show_filters::-webkit-scrollbar {
  width: 5px;
  background: #ccc;
}
 
#layered_block_left > div.show_filters::-webkit-scrollbar-thumb, div#enabled_filters ul::-webkit-scrollbar-thumb{
  background: #7d7d7d;
  border-radius: 10px;
}

div#enabled_filters ul::-webkit-scrollbar {
  height: 8px;
  background: #ccc;
}

.close_filters {
  background-color: rgba(18, 18, 18, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 5556;
  cursor: pointer;
}
.close_filters::after {
    position: absolute;
    width: 32px;
    height: 32px;
    font: normal normal normal 16px FontAwesome;
    content: "\f00d";
    background: #FFF;
    top: 12px;
    right: 12px;
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

#layered_block_left #enabled_filters ul li > span {
    border: 1px solid;
    border-radius: 4px;
    padding: 4px 12px 6px;
    white-space: nowrap;
    position: relative;
    color: #333;
}

.show_filters div[class^=layered_] {
    cursor: pointer;
}

ul[id^=ul_layered_price_] {
  margin-bottom: 15px;
}

@media (max-width: 500px) {
  /*div#enabled_filters ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding: 5px 0 0px;
    margin-bottom: 10px;
  }*/
  #layered_block_left #enabled_filters ul li {
    margin: 5px;
    padding: 0;
  }
  #layered_block_left > div.show_filters {
    position: fixed;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transform: translateX(-50%);
    left: -100%;
    top: 0;
    transition: 600ms;
    overflow-y: scroll;
    z-index: 5557;
    width: 85%;
    padding: 15px;
  }
  .slide_filters {
    left: 42.5% !important;
  }
  .content_sortPagiBar .sortPagiBar {
    border: 0;
    background: 0 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  #layered_block_left ul li {
    width: unset;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }
  #layered_block_left ul li input.checkbox, #layered_block_left ul li input.radio {
    height: 20px;
  }
  .layered_subtitle_heading {
    padding: 16px 10px;
  }
}

.layered_subtitle_heading.colorTheme {
    border: 1px solid;
}
@media (min-width: 768px) {
  #layered_block_left .layered_filter ul {
  max-height: 300px;
  overflow-y: scroll;
  }

  #layered_block_left .layered_filter ul::-webkit-scrollbar {
    width: 5px;
  }

  #layered_block_left .layered_filter ul::-webkit-scrollbar-track {
    background: #fff;
  }

  #layered_block_left .layered_filter ul::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  #layered_block_left .layered_filter ul::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}
#layered_block_left .color-group span.color{
  width: 17px;
  height: 17px;
  border-radius: 2px;
  margin: 0 5px;
  position: relative;
  z-index: 1;
}
#layered_block_left .color-group span.color input{
  margin: 0;
  vertical-align: top;
  opacity: 0;
  z-index: 2;
  position: relative;
}
#layered_block_left .color-group span.color.checked:after{
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -11.5px;
  margin-top: -11.5px;
  content: " ";
  width: 23px;
  height: 23px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
}