.news-filter {
  padding-top: 40px;
  padding-bottom: 40px;
}

.news-filter__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.news-filter__content > div {
  color: white;
  background: #063354;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .news-filter__content {
    align-items: center;
  }
}

.news-filter__content-top {
  color: white;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-filter__content-top ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
}
@media (min-width: 768px) {
  .news-filter__content-top ul {
    gap: 60px;
  }
}
.news-filter__content-top a {
  color: white;
}

.news-filter__content-top ul li:hover a {
  color: #90D9F9;
}

.news-filter__content-bottom {
  font-size: 16px;
  color: white;
  line-height: 24px;
  justify-content: center;
  align-items: flex-end;
  padding: 10px 0px;
}

@media (min-width: 992px) {
  .news-filter__content-bottom {
    display: flex;
  }
}

.news-filter__content-bottom ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  list-style: none;
  width: 100%;
}


@media (max-width: 992px) {
  .news-filter__content-bottom ul ul {
    border: 1px solid #FFF;
  }

  .news-filter__content-bottom ul {
    flex-direction: column;
    align-items: flex-start;
  }
}
.news-filter__content-bottom a {
  color: white;
}

#attribute-filters {
  list-style: none inside;
  margin: 0;
  padding: 0;
  text-align: center;
}

#attribute-filters li {
  display: block;
  position: relative;
  text-align: left;
}

#attribute-filters li ul li {
  padding-bottom: 0.5rem;
}

#attribute-filters li a {
  display: block;
  padding: 0px 15px;
  text-decoration: none;
  line-height: 20px;
}

#attribute-filters li li a {
  font-size: 90%;
  color: #fff;
}


/* smaller font size for sub menu items */

#attribute-filters li:hover {
  /* background: #003f20; */
}


/* highlights current hovered list item and the parent list items when hovering over sub menues */

#attribute-filters ul {
  position: absolute;
  padding: 20px 0;
  left: 0;
  display: none;
  width: 20rem;
}

#attribute-filters li:hover ul ul {
  display: none;
}

#attribute-filters li ul li:hover a {
  color: #90D9F9;
}

/* hides sub-sublists */

#attribute-filters li:hover ul {
  display: block;
  z-index: 9999999;
  background-color: #063354;
  color: #fff;
}


/* shows sublist on hover */

#attribute-filters li li:hover ul {
  display: block;
  margin-left: 200px;
  margin-top: -35px;
}

.mobile-news-filter select {
  background: none;
  padding: 12px 16px;
  cursor: pointer;
  color: #fff;
  border: none;
  outline: none;
  position: relative;
}

.mobile-news-filter select:hover {
  background-color: #063354;
}

.desktop-news-filter {
  display: none;
}

.mobile-news-filter {
  display: none;
  padding: 0px 16px;
}

@media (max-width: 480px) {
  .mobile-news-filter {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .news-filter__content-top ul {
    display: none;
  }
}

.news-filter .dropdown .dropdown-menu {
    background-color:#f4fbfe;
    border-radius: 10px;
    position: absolute;
    z-index: 98;
    left: 10px;
}

.news-filter .dropdown .dropdown-toggle {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px 35px;
  border-radius: 4px;
  transition: all ease-in-out 0.2s;
}


.news-filter .dropdown .dropdown-toggle.show {
  text-decoration: underline!important;
}

@media (max-width: 992px) {
  .news-filter__content > div {
    width: 100%;
  }
  .news-filter .dropdown .dropdown-menu {
      left: -1rem;
      right: -1rem;
  }
  .news-filter .dropdown .dropdown-toggle {
    padding-left: 0px;
  }
}
@media (min-width: 993px) {
  .news-filter .dropdown .dropdown-toggle{
    padding: 5px 22px;
  }
  .news-filter .dropdown:first-child .dropdown-toggle {
    padding-left: 0px;
  }
  .news-filter .dropdown:first-child  .dropdown-menu {
    left: -40px;
  }
  .news-filter .dropdown:last-child .dropdown-toggle { 
    padding-right: 0px;
  }
  .news-filter .clear-filters {
    margin-left: 100px!important;
  }
}
@media (min-width: 1500px) {
  .news-filter .dropdown .dropdown-toggle{
    padding: 5px 50px;
  }
  .news-filter .clear-filters {
    margin-left: 400px!important;
  }
}

.news-filter .clear-filters {
  min-height: 32px;
  margin-left: 1rem;
}

