/* Menu a tendina ricercabile (js/searchable-select.js) */

.ss-wrap { position: relative; float: left; }
.ss-native { display: none !important; }

/* il pulsante eredita la classe del select (es. .witch): qui solo le aggiunte */
.ss-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}
.ss-label { overflow: hidden; text-overflow: ellipsis; }
.ss-caret {
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  transition: transform .15s;
}
.ss-open .ss-caret { transform: rotate(180deg); }

.ss-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1000;
  width: 240px;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  overflow: hidden;
}
.ss-open .ss-panel { display: block; }

.ss-search {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  color: #333;
  outline: none;
  background: #fafafa;
}
.ss-search:focus { background: #fff; }

.ss-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 280px;
  overflow-y: auto;
}
.ss-list li {
  margin: 0;
  padding: 6px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
  background: none;
}
.ss-list li.ss-active { background: #eaf4dc; color: #3d6316; }
.ss-list li.ss-selected { font-weight: 700; }
.ss-empty { display: none; padding: 10px 12px; font-size: 13px; color: #999; }

/* ricerca dominio della homepage: a 1280px la riga ha solo 8px liberi oltre agli 80px del select originale */
.domain_search .left .search_section .witch.ss-button {
  width: 86px;
  padding: 10px 6px 10px 10px;
  font-size: 14px;
  text-transform: none;
}
