.search-form {
  background: var(--color-text-muted);
  -webkit-box-shadow: 0 2px 4px rgba(51, 51, 50, 0.05);
  box-shadow: 0 2px 4px rgba(51, 51, 50, 0.05);
  .container {
    padding:1.875rem 0;
  }
}

.search-form .search__inner {
  display: flex;
  margin: 0 1rem;
}

.search-form .search__field {
  flex-grow: 1;
  position: relative;
  margin: 0 5px;
}

.search-form input[type=text],
.search-form input[type=search] {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 40px 0 19px;
  border: 1px solid var(--color-text-muted);
  border-radius: 2px;
  background: var(--color-bg-surface);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-body);
  appearance: none;
}

.search-form .search__field input::-webkit-input-placeholder,
.search-form .search__field input:-ms-input-placeholder,
.search-form .search__field input::-ms-input-placeholder,
.search-form .search__field input::placeholder {
  color: #BCBCBC;
}

.search-form .search__field .search__clear {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  vertical-align: middle;
  padding: 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.875rem;
  appearance: none;
}

.search-form .search__btns {
  display: flex;
  margin: 0 5px;
  .btn {
    font-size: 0.9rem;
  }
}

.search-form .btn {
  flex-shrink: 0;
  width: 250px;
  margin: 0 5px;
}

/* Tablet Portrait */
@media (max-width: 992px) {
  .search-form .btn {
    width: auto;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .search-form .search__inner {
    flex-wrap: wrap;
  }

  .search-form .search__field {
    margin-bottom: 20px;
  }

  .search-form .search__btns {
    justify-content: space-between;
    width: 100%;
    margin: 0;
  }

  .search-form .btn {
    flex-grow: 1;
  }
}

.results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.result__text {
  color: var(--color-text-body);
  font-size: 0.75rem;
  span {
    color: var(--color-brand-secondary);
  }
}

/* widgets */

.widgets .widgets__section {
  margin-bottom: 13px;
}

.widgets .widgets__section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  margin-bottom: 9px;
}

.widgets .widgets__section__title {
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--color-brand-primary);
  text-transform: uppercase;
}

.widgets .widgets__section__clear {
  background-color: #f4f4f4;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-body);
  text-decoration: underline;
  border: none;
}

.widgets .widgets__section__clear:hover {
  text-decoration: none;
  border: none;
}

.widgets .widgets__section__clear:focus,
.widgets .widgets__section__clear:focus-visible {
  text-decoration: none;
  outline: none;
}

/* Mobile */
@media (max-width: 767px) {
  .widgets .widgets__section {
    margin-bottom: 25px;
  }

  .widgets .form-search .widgets__section__head {
    display: block;
    padding: 0;
    margin: 20px 30px 15px;
  }

  .widgets .form-search .widgets__section__title {
    margin-bottom: 20px;
    font-size: 18px;
    color: #2667b0;
    letter-spacing: 0.08em;
  }

  .widgets .form-search .widgets__section__body {
    margin: 0 30px;
  }

  .results {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------ *\
	Widget
\* ------------------------------------------------------------ */
.widget {
  border-radius: 2px;
  margin-bottom: 10px;
  background: var(--color-bg-surface);
  -webkit-box-shadow: 0 2px 4px rgba(29, 63, 131, 0.08);
  box-shadow: 0 2px 4px rgba(29, 63, 131, 0.08);
}

.widget .widget__label {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 45px 20px 15px;
  border: 0;
  border-radius: 0;
  outline: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-body);
  text-align: left;
  appearance: none;
}

.widget .widget__label:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: rotate(-135deg);
  transform-origin: 66% 66%;
  width: 8px;
  height: 8px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: var(--color-brand-primary);
  margin-top: -6px;
  -webkit-transition: -webkit-transform .15s;
  transition: -webkit-transform .15s;
  transition: transform .15s;
  transition: transform .15s, -webkit-transform .15s;
}

.widget .widget__label.collapsed:after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.widget .widget__label:focus {
  outline: 2px solid black;
}

/* Mobile */
@media (max-width: 767px) {
  .widget .widget__label {
    padding: 17px 45px 10px 15px;
  }

  .widget .widget__label:after {
    margin-top: -4px;
  }
}

/* ------------------------------------------------------------ *\
	Widget Search
\* ------------------------------------------------------------ */
.widget-search {
  padding: 10px;
  background: var(--color-bg-surface);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(29, 63, 131, 0.08);
}

.widget-search .widget__inner {
  position: relative;
}

.widget-search .widget__field {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 40px 0 10px;
  border: 1px solid #ececec;
  border-radius: 2px;
  background: transparent;
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.64);
  text-transform: uppercase;
  appearance: none;
  /*  Remove clear icon on default input search  */
}

.widget-search .widget__field::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.widget-search .widget__field:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.widget-search .widget__field::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.widget-search .widget__field::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.widget-search .widget__field:focus {
  border-color: var(--color-brand-primary);
  outline: 0;
}

.widget-search .widget__field::-ms-clear,
.widget-search .widget__field::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.widget-search .widget__field::-webkit-search-decoration,
.widget-search .widget__field::-webkit-search-cancel-button,
.widget-search .widget__field::-webkit-search-results-button,
.widget-search .widget__field::-webkit-search-results-decoration {
  display: none;
}

.widget-search .widget__clear {
  position: absolute;
  top: 50%;
  right: 1px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  margin-right:0.25rem;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  color: #0e2656;
  appearance: none;
}

.widget-search .widget__clear:focus {
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #89b5e6;
}

/* Mobile */
@media (max-width: 767px) {
  .widget-search {
    margin-bottom: 10px;
  }
}


.select-results {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 10px;
  border-radius: 2px;
  background: var(--color-bg-surface);
}

.select-results:before {
  content: '';
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  right: 14px;
  width: 4px;
  height: 4px;
  border-width: 0 1px 1px 0;
  border-style: solid;
  border-color: var(--color-brand-primary);
  margin-top: -2px;
}

.select-results .select__label {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-body);
  white-space: nowrap;
}

.select-results .form-control {
  height: 30px;
  padding: 0 1.5rem 0 0;
  border: 0;
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-brand-secondary);
  appearance: none;
  background: var(--color-bg-surface);
}

.select-results .form-control::-ms-expand {
  display: none;
}

/* ------------------------------------------------------------ *\
	Select Custom
\* ------------------------------------------------------------ */
.select-custom {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.select-custom .select__current {
  position: relative;
  display: block;
  width: 100%;
  min-width: 190px;
  padding: 20px 40px 20px 20px;
  border: 1px solid var(--color-brand-primary);
  border-radius: 2px;
  background: var(--color-bg-surface);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-brand-primary);
  text-decoration: none;
  text-align: left;
  appearance: none;
}

.select-custom .select__current:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 22px;
  transform: rotate(45deg);
  transform-origin: 66% 66%;
  width: 8px;
  height: 8px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: currentColor;
  margin-top: -6px;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
}

.select-custom .select__list {
  list-style-type: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  width: 100%;
  padding: 0;
  border-radius: 0 0 2px 2px;
  background: var(--color-bg-surface);
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.select-custom .select__list li+li {
  border-top: 1px solid rgba(216, 216, 216, 0.5);
}

.select-custom .select__list a {
  display: block;
  width: 100%;
  padding: 7px 20px 8px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: .3s;
}

.select-custom .select__list a:hover {
  background: #a5b2ce;
  color: var(--color-bg-surface);
}

.select-custom .select__list a.active {
  background: rgba(216, 216, 216, 0.5);
  font-weight: 400;
  color: #BCBCBC;
}

.select-custom.active .select__current:after {
  transform: rotate(-135deg);
}

.select-custom.active .select__list {
  opacity: 1;
  visibility: visible;
}

.select-custom--small .select__current {
  padding: 22px 40px 21px 20px;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 767px) {
  .select-custom {
    display: block;
  }
}

/* ------------------------------------------------------------ *\
	Range Slider
\* ------------------------------------------------------------ */
.range-slider {
  display: flex;
  align-items: center;
  padding: 24px 15px 22px;
  line-height: 1;
}

.range-slider .range__label {
  display: block;
  margin-right: 14px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-body);
  font-style: italic;
}

.range-slider .range__bound {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-brand-primary);
}

.range-slider .range__bound--min {
  margin-right: 15px;
}

.range-slider .range__bound--max {
  margin-left: 15px;
}

.range-slider .slider {
  width: 100%;
  height: 6px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.range-slider .slider.slider-horizontal .slider-track {
  height: 100%;
  margin-top: -4px;
}

.range-slider .slider.slider-horizontal .slider-tick,
.range-slider .slider.slider-horizontal .slider-handle {
  margin-left: -8px;
}

.range-slider .slider-track {
  background: transparent;
}

.range-slider .slider-track:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: rgba(29, 63, 131, 0.2);
}

.range-slider .slider-selection {
  background: #2667b0;
}

.range-slider .slider-handle {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#2667b0), to(#1d3f83));
  background-image: -o-linear-gradient(top, #2667b0 0%, #1d3f83 100%);
  background-image: linear-gradient(180deg, #2667b0 0%, #1d3f83 100%);
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range-slider .slider-handle:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg-surface);
}

/* Tablet Portrait */
@media (max-width: 992px) {
  .range-slider {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 15px;
  }

  .range-slider .range__label {
    width: 100%;
    margin-bottom: 10px;
  }

  .range-slider .slider {
    width: 50%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .range-slider {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 24px 14px 22px;
  }

  .range-slider .range__label {
    width: auto;
    margin-bottom: 0;
  }

  .range-slider .slider {
    width: 100%;
  }
}

/* ------------------------------------------------------------ *\
	Form Search
\* ------------------------------------------------------------ */
.form-search .form__btn {
  padding: 13px 0;
  width: 100%;
  text-transform: none;
}

/* Mobile */
@media (max-width: 767px) {
  .form-search {
    margin-bottom: 30px;
  }

  .form-search .form__toggle {
    width: 100%;
    padding: 10px 0;
  }

  .form-search form {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 25;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    background: #f4f4f4;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
  }

  .form-search form.active {
    opacity: 1;
    visibility: visible;
  }

  .form-search .form__close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #0e2656;
    text-decoration: none;
  }

  .form-search .form__actions {
    padding: 30px 30px;
    background: var(--color-bg-surface);
  }

  .form-search .form__actions__inner {
    display: flex;
    margin: 0 -10px;
  }

  .form-search .form__btn {
    margin: 0 10px;
    text-transform: uppercase;
  }

  .form-search .form__btn.btn-primary {
    color: var(--color-bg-surface);
  }

  .form-search .form__btn.btn-secondary {
    border-color: var(--color-bg-subtle);
    background: var(--color-bg-subtle);
    color: var(--color-brand-primary);
  }
}

.form-select {
  padding: 0;
}

.ts-wrapper {
  background:var(--color-bg-surface);
  border: 0;
}

#edit-themes {
  display:none;
}

/* ------------------------------------------------------------ *\
	List
\* ------------------------------------------------------------ */
[class^="list-"] {
  list-style: none outside none;
}

.js-select select {
  appearance: none;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  background: #fff url("data:image/svg+xml,…") no-repeat right 1rem center;
  border: 1px solid #d1d5db;
  border-radius: 3px;
}

.select-results button[type=submit] {
  display: none;
}

.select-results .form-item-items-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
}