

.filter {
  list-style-type: none;
  padding: 4px 0 5px 0;
  margin: 0;
  color: #333;
  text-align: left;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 5;
  font-size: 13px;
  line-height: 21px; 
  font-weight: 700;
  top:8px;
  float: right;
  border: 1px solid #7f7f7f; 
  max-width: 250px;
  width: 90%;
  letter-spacing: 0.05em;
  
}

.filter li span {position: relative; top: 1px; }


.filter li {
  padding: 0 30px 0 0;
  text-indent: 1em;
  position: relative;
  
}



.filter li .portfolio {
  display: block;
  list-style-type: none;
  padding: 0;
  background: transparent;
  position: absolute;
  width: 100%;
  max-height: 0px;
  overflow: hidden;
  top: 26px;
  left: -1px;
  font-size: 15px;
  
}
.filter li .portfolio li {
  padding: 4px 10px 4px 0;
  color: #333;
  font-size: 13px;
  background-color: #FFF;
  border-bottom: 1px solid #7f7f7f;
}


.filter li .portfolio li:hover {
  background-color: #7f7f7f;
  color: #FFF;
}
.filter li .portfolio li:last-of-type {
  border-bottom: 0;

}

.filter li .portfolio.open {
  background: rgba(0, 0, 0, 0.8);
  max-height: 10000%;
  border: 1px solid #7f7f7f;

  
  
}
.filter:before {
  content: url('/images/down-arrow.svg');
  width: 13px;
  height: 16px;
  padding: 5px 4px 9px 10px;
  border-left: 1px solid #7f7f7f;
  border-right: 0.5em solid transparent;
  position: absolute;
  right: 0;
  top: 0;
  transition: all ease 0.25s;
}
.filter.open:before {
  content: url('/images/up-arrow.svg');
  width: 13px;
  height: 16px;
  padding: 5px 4px 9px 10px;
  border-left: 1px solid #7f7f7f;
  border-right: 0.5em solid transparent;
  position: absolute;
  right: 0;
  top: 0;

}


/***** iPad Smaller than 959px *****/
@media only screen and (min-width: 720px) and (max-width: 1024px) {


.filter {

  letter-spacing: 0em;
  
}

}






.sort {
  list-style-type: none;
  padding: 4px 0 5px 0;
  margin: 0;
  color: #333;
  text-align: left;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 5;
  font-size: 13px; 
  line-height: 21px; 
  font-weight: 700;
  top:8px;
  float: right;
  border: 1px solid #7f7f7f; 
  max-width: 250px;
  width: 90%;
  letter-spacing: 0.05em;
  
}



.sort li {
  padding: 0 30px 0 0;
  text-indent: 1em;
  position: relative;
  
}

.sort li span {position: relative; top: 1px; }


.sort li .options {
  display: block;
  list-style-type: none;
  padding: 0;
  background: transparent;
  position: absolute;
  width: 100%;
  max-height: 0px;
  overflow: hidden;
  top: 26px;
  left: -1px;
  font-size: 15px;
  
}
.sort li .options li {
  padding: 4px 10px 4px 0;
  color: #333;
  font-size: 13px;
  background-color: #FFF;
  border-bottom: 1px solid #7f7f7f;
}


.sort li .options li:hover {
  background-color: #7f7f7f;
  color: #FFF;
}
.sort li .options li:last-of-type {
  border-bottom: 0;

}

.sort li .options.open {
  background: rgba(0, 0, 0, 0.8);
  max-height: 10000%;
  border: 1px solid #7f7f7f;

  
  
}
.sort:before {
  content: url('/images/down-arrow.svg');
  width: 13px;
  height: 16px;
  padding: 5px 4px 9px 10px;
  border-left: 1px solid #7f7f7f;
  border-right: 0.5em solid transparent;
  position: absolute;
  right: 0;
  top: 0;
  transition: all ease 0.25s;
}
.sort.open:before {
  content: url('/images/up-arrow.svg');
  width: 13px;
  height: 16px;
  padding: 5px 4px 9px 10px;
  border-left: 1px solid #7f7f7f;
  border-right: 0.5em solid transparent;
  position: absolute;
  right: 0;
  top: 0;

}


/***** iPad Smaller than 959px *****/
@media only screen and (min-width: 720px) and (max-width: 1024px) {


.sort {

  letter-spacing: 0em;
  
}

}





.distance {
  list-style-type: none;
  padding: 4px 0 6px 0;
  margin: 0;
  color: #333;
  text-align: left;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 5;
  font-size: 13px; 
  line-height: 21px; 
  font-weight: 700;
  float: left;
  border: 1px solid #7f7f7f; 
  max-width: 150px;
  width: 100%;
  letter-spacing: 0.05em;
  
}



.distance li {
  padding: 0 30px 0 0;
  text-indent: 1em;
  position: relative;
  
}

.distance li span {position: relative; top: 1px; }

.distance li .options {
  display: block;
  list-style-type: none;
  padding: 0;
  background: transparent;
  position: absolute;
  width: 100%;
  max-height: 0px;
  overflow: hidden;
  top: 27px;
  left: -1px;
  font-size: 15px;
  
}
.distance li .options li {
  padding: 10px 10px 10px 0;
  color: #333;
  font-size: 13px;
  background-color: #FFF;
  border-bottom: 1px solid #7f7f7f;
}


.distance li .options li:hover {
  background-color: #7f7f7f;
  color: #FFF;
}
.distance li .options li:last-of-type {
  border-bottom: 0;

}

.distance li .options.open {
  background: rgba(0, 0, 0, 0.8);
  max-height: 10000%;
  border: 1px solid #7f7f7f;

  
  
}
.distance:before {
  content: url('/images/down-arrow.svg');
  width: 13px;
  height: 16px;
  padding: 5px 4px 10px 10px;
  border-left: 1px solid #7f7f7f;
  border-right: 0.5em solid transparent;
  position: absolute;
  right: 0;
  top: 0;
  transition: all ease 0.25s;
}
.distance.open:before {
  content: url('/images/up-arrow.svg');
  width: 13px;
  height: 16px;
  padding: 5px 4px 10px 10px;
  border-left: 1px solid #7f7f7f;
  border-right: 0.5em solid transparent;
  position: absolute;
  right: 0;
  top: 0;

}


/***** iPad Smaller than 959px *****/
@media only screen and (max-width: 1024px) {


.distance {

  letter-spacing: 0em;
  
}

}



