.dropdown-facet .dropdown-wrapper, 
.dropdown-facet .dropdown-text, 
.dropdown-facet ul { 
  margin: 0px; 
  padding: 0px; 
}

.dropdown-facet {
  max-width: 400px;
  margin-bottom: 10px;
}

.dropdown-facet .dropdown-wrapper { 
  position: relative; 
}

.dropdown-facet a { 
  text-decoration: none; 
  outline: none;
  color: #000000;
}

.dropdown-facet .dropdown-text a {
  display: block;
  padding: 7px 10px;
  border: 1px solid #ddd;
  background-color: #fff;
  line-height: 25px;
}

.dropdown-facet .dropdown-text a i {
  border-left: 1px solid #ddd;
  padding-left: 10px;
  line-height: 25px;
}

.dropdown-facet .dropdown-text a:hover { 
  color: #555;
}

.dropdown-facet .dropdown-wrapper ul { 
  background: #fff; 
  border: 1px solid #ddd; 
  border-top: none;
  color: #000000; 
  display: none;
  left: 0px; 
  position: absolute; 
  top: 0px; 
  width: 100%; 
  min-width: 170px; 
  list-style: none;
  max-height: 130px;
  overflow: auto;
  z-index: 10;

  box-shadow: 1px 1px 3px #ddd;
}

.dropdown-text a > span {
  display: inline-block;
  width: 90%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dropdown-text strong {
  max-width: 80%;
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  float: left;
  margin-right: 5px;
}

.dropdown-facet .dropdown-wrapper ul li:not(:last-child) a {
  border-bottom: 1px solid #ddd;
}

.dropdown-facet .dropdown-wrapper ul li a { 
  padding: 7px; 
  display: block;
}

.dropdown-facet .dropdown-wrapper ul li a:hover { 
  background-color: #f2f2f2;
}

@media (max-width: 768px) {
  .modal-section.modal {
    text-align: center;
    padding: 0!important;
    background-color:rgba(0, 0, 0, 0.5);
  }

  .modal-section.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
  }

  .modal-section .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: 90%;
    max-height: 90%;
    margin: auto;
  }

  .dropdown-facet .dropdown-wrapper ul {
    position: inherit;
    width: 100%;
    display: block;
    box-shadow: none;
    border: 1px solid #bbb;
  }


  .dropdown-facet .dropdown-wrapper {
    position: inherit;
  }

  .modal-close {
    background: #ddd;
    opacity: 1;
    padding: 10px;
    border-bottom: 3px solid #bbb;
  }

  .modal-close span[data-dismiss="modal"] {
    cursor: pointer;
    width: 25px;
    text-align: center;
    display: block;
  }

  .modal-name {
    font-weight: bold;
    font-size: 18px;
  }

  .dropdown-facet .dropdown-wrapper ul li a {
    padding: 18px 10px;
  }

  #filtersModal .modal-dialog {
    height: 97%;
    padding: 0;
  }

  #filtersModal .modal-content {
    height: 100%;
  }
}