.filter {
  display: flex;
  width: 100%;
  max-width: 1050px;
  height: 55px;
  padding: 8px 12px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 80px;
  border: 1px solid #8398B6;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3.5px);
	z-index: 99999;
}

.hover-element.selected {
  color: #003077;
}
.dropdown-selected-value {
	display: none;
  background: #003077;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}
.filter-selects {
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: space-between;

  gap: 16px;
}

.filter-select:first-child {
  border: none;
  flex: 1;
  position: relative;
}

.filter-select:first-child::after {
  content: '';
  width: 1px;
  position: absolute;
  background: #5E6C82;
  right: -20px;
  top: -4px;
}
.filter-select:first-child .hover-elements {
  width: 100%;
}

.filter-select:nth-child(2) {
  max-width: 200px;
}

.filter-select:nth-child(3) {
  max-width: 200px;
}

.filter-select:nth-child(2)::after {
	display: none;
  content: '';
  width: 1px;
  height: 59px;
  position: absolute;
  background: #5E6C82;
  right: -20px;
  top: -4px;
}

.filter-select:nth-child(2) svg{
/*   position: absolute; */
/*   right: -3px; */
}

.filter-select:nth-child(3) {
/*   max-width: 205px; */
}

.filter-select:nth-child(3) svg {
/*   position: absolute; */
/*   right: 7px; */
}

.filter-select {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
  height: 100%;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.13);
}

.filter-select>p {
  width: 100%;
  height: 36px;
  flex-shrink: 0;
  margin: 0;
  color: #FFFFFF;
  padding-left: 12px;
  display: flex;
  align-items: center;
}

.filter-value {
  display: flex;
  align-items: center;
	justify-content: space-between;
	
  gap: 8px;
  cursor: pointer;
	height: 100%;
  padding: 0px 23px;
}

.filter-select:first-child .filter-value svg {
/*   height: 18px;
  width: 18px;
  position: absolute;
  right: 0;
  bottom: 1px; */
	position: relative;
}

.filter-value input {
  outline: none;
  outline-offset: none;
  border: none;
  font-size: 15px;
  width: 100%;
  background: transparent;
  color: #FFFFFF;
}

.filter-value p {
  color: #DEEBFF;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin: 0;
  position: relative;
}

.filter-value svg{
/*   position: absolute; */
}

.filter .search {
  display: flex;
  width: clamp(100px, 16.5vw, 212px);
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 24px;
  background: #8398B6;
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  cursor: pointer;
  line-height: 28.5px;
  margin-top: 0;
}

.hover-elements {
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 120%;
  left: 0;
  width: 100%;
  max-height: 295px;
  min-height: 42px;
  overflow: scroll;
  z-index: 2;
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
  transition: .4s;
}
.filter-select .hover-elements:first-of-type {
  width: 200%;
}

.hover-elements.active {
  opacity: 1;
  pointer-events: all;
}

.hover-element {
  display: flex;
  padding: 13px 20px;
  justify-content: space-between;
  align-items: center;
  color: #003077;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 0.5px solid #CCC;
  cursor: pointer;
  transition: .4s;
}

.hover-element:hover {
  background: #F4F4F4;
}

.hover-element:last-child {
  border: none;
}

@media (max-width: 750px) {
  .filter {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
	  height: auto;
  }

  .filter-selects {
    display: none;
  }

  .filter .search {
    width: 100%;
    height: 54px;
  }

  .hover-elements {
    width: 100% !important;
    left: 0;
  }

  .filter-select:nth-child(3) svg,
  .filter-select:nth-child(2) svg,
  .filter-select:first-child .filter-value svg {
    position: static !important;
  }
}

@media (max-width: 340px) {
  .filter-selects {
    display: none;
  }

  .filter .search {
    width: 100%;
    height: 54px;
    font-size: 14px;
  }

  .hover-element {
    font-size: 13px;
    padding: 12px 16px;
  }
}
