.photos-filter {
  float: left;
  width: 100%;
}
.photos-filter ul {
  list-style: none;
  margin: 0px 0px 20px 0px;
  padding: 0px;
  text-align: center;
}
.photos-filter ul li {
  display: inline-block;
  margin: 0px 3px;
}
.photos-filter ul li button,
.photos-filter ul li button:active,
.photos-filter ul li button:focus {
  padding: 5px 13px;
  width: auto;
  border-radius: 5px;
  font-size: 14px;
  color: #000;
}
.photos-filter ul li button i {
  width: auto;
  padding-left: 5px;
  font-weight: 600;
  font-size: 14px;
}
.photos-filter ul.sub-sort-options {
  min-height: 100vh;
}
.photos-filter ul.sub-sort-options li {
  border-bottom: 1px solid #e6e6e6;
  margin-left: 0;
  display: block;
}
.photos-filter ul.sub-sort-options li a {
  display: block;
  outline: none;
  padding: 17px 17px 17px 40px;
  vertical-align: top;
  word-wrap: break-word;
}
li.sort-list-item.active-list {
  margin: 0px;
  width: 100%;
}
.photos-filter .active-list .sort-popup button {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  margin: 0px;
  border-radius: 0px;
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid #e6e6e6;
  font-weight: 600;
  margin-top: 40px;
  background: #fff;
  box-shadow: none;
}
.photos-filter .active-list .sort-popup button:active {
  border: 1px solid #fff;
}
.photos-filter .active-list .sort-popup button i {
  float: right;
}
.photos-filter .active-list .sort-popup ul.sub-sort-options li {
  text-align: left;
  margin: 0px;
  width: 100%;
}
.sort-popup {
  position: absolute;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  top: 0;
  left: 0;
}
.sort-popup p {
  margin: 0px;
  text-align: right;
  padding: 5px 15px;
  background-color: #f0f0f0;
  height: 40px;
  position: fixed;
  width: 100%;
}
.sort-popup p a {
  display: block;
  text-decoration: none;
}

.selected-filter {
  color: #ff2a66;
  text-decoration: underline;
}
.sort-popup-sort {
  /* position: fixed; */
}

/* .desktop-photo-filter.photos-filter */
.desktop-photo-filter .btn:focus {
  background: #fff;
  outline: none;
  border-color: #e5e5e5;
}
/* .photos-filter ul.sub-sort-options {
  height: 100vh;
  overflow-y: auto;
} */
.desktop-photo-filter.photos-filter{ display: block;}
.desktop-photo-filter.photos-filter ul li a {
  padding: 4px 0px;
}
.desktop-photo-filter.photos-filter .dropdown-menu li {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0 5px;
}
p.popup-close-item.change {
  top: 0;
  transition: all 1s ease;
}
.desktop-photo-filter.photos-filter .dropdown-menu {
  
  max-height: 250px;
  overflow: hidden;
  overflow-y: auto;
}
.sort-popup p {
  margin: 0px;
  text-align: center;
  padding: 5px 15px;
  background-color: #f0f0f0;
  height: 40px;
  position: fixed;
  width: auto;
  right: 0;
  line-height: 28px;
}

@media screen and (max-width: 980px) {
.desktop-photo-filter.photos-filter{ display: none;}
}
