Dropdown

AD-Produktversion
                
                
                    
<div class="stg-dropdown_wrapper">
    <div class=" stg-var2_checkbox_multi_dropdown_btn stg-cp" id="ad_produktversion" data-options="options2" onclick="toggleDropdown('filter_ad_produktversion_id')" style="width: 15%;">
        AD-Produktversion 
    </div>

    <div id="filter_ad_produktversion_id" class="stg-var2_checkbox_multi_dropdown stg-schatten" style="display: none;">
        <div class="stg-dropdown_liste">
            <label class="stg-checkbox_container stg-cp">
                <input id="alle_filterad_produktversionen" type="checkbox" class="option option-select-all" value="ALL_ad_produktversionen">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Alle</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="6">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Altkunde Blueline</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="5">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Altkunde Redline</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="1">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Blueline Basic</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="2">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Blueline Classic</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="3">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Blueline Premium</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="4">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Redline</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="7">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Redline Classic</span>
            </label>

            <label class="stg-checkbox_container stg-cp">
                <input type="checkbox" class="option" name="filter_ad_produktversion" value="8">
                <span class="stg-checkmark"></span>
                <span class="stg-fliesstext_14">Redline Premium</span>
            </label>
        </div>

        <button type="submit" class="stg-custom-select_button">Anwenden</button>
    </div>
</div>
                
            
                
                
                    

.stg-var2_checkbox_multi_dropdown_btn {
  border-radius: 30px;
  padding: 10px 25px;
  border: 1px solid var(--grau_3);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  background: url("../images/icon_arrow_down_black.png") no-repeat right 13px top 16px;
}

.stg-cp {
  cursor: pointer;
}
.stg-var2_checkbox_multi_dropdown {
  position: absolute;
  margin: 0;
  font-size: 14px;
  width: 14.5%;
  border: 1px solid var(--grau_3);
  background-color: var(--weiss);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 999;
}

.stg-schatten {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.stg-checkbox_container {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Default checkbox verstecken */
.stg-checkbox_container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

/* wenn checkbox checked */
.stg-checkbox_container input:checked ~ .stg-checkmark {
  border: 1px solid var(--schwarz);
}

/* stg-checkmark wenn checked zeigen */
.stg-checkbox_container input:checked ~ .stg-checkmark:after {
  display: block;
}

/* checkmark/indicator style */
.stg-checkbox_container .stg-checkmark:after {
  width: 12px;
  height: 12px;
  content: '';
  background-color: var(--schwarz);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Custom checkbox */
.stg-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 14px;
  width: 14px;
  border: 1px solid var(--grau_4);
}

/* stg-checkmark/indicator, wenn nicht checked hidden */
.stg-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.stg-fliesstext_14 {
  font-weight: 400;
  font-size: 14px;
}
                
            
                
                
                    
function toggleDropdown(id) {
    var elem = document.getElementById(id);
    if(elem) elem.style.display = (elem.style.display === "block" ? "none" : "block");
}
                
            
#dropdown #checkbox dropdown #mehrfachauswahl #multi select #filter #auswahlmenü #mehrfachauswahl dropdown #dropdownmenü #auswahl #select