<div class="np-progress-filter-wrapper">
    <div class="np-progress-filter-label">
        <span data-lang="DE">Nach Fortschritt filtern:</span>
        <span data-lang="EN">Filter by progress:</span>
    </div>
    <div class="progress-filter filter-select-wrapper select-wrapper np-button" style="border-radius: 8px;" data-lang="DE">
        <select>
            <option selected disabled hidden>Alle Kurse</option>
            <option value="all">Alle Kurse</option>
            <option value="not-started">0% abgeschlossen</option>
            <option value="in-progress">Angefangen</option>
            <option value="completed">Abgeschlossen</option>
        </select>
    </div>

     <div class="progress-filter filter-select-wrapper select-wrapper np-button" style="border-radius: 8px;" data-lang="EN">
        <select>
            <option selected disabled hidden>All Courses</option>
            <option value="all">All Courses</option>
            <option value="not-started">0% completed</option>
            <option value="in-progress">In progress</option>
            <option value="completed">Completed</option>
        </select>
    </div>
</div>

<style>
body[data-lang='EN'] .progress-filter[data-lang='DE'],
body[data-lang='DE'] .progress-filter[data-lang='EN'] {
    display: none !important;
}

body[data-lang='EN'] .progress-filter[data-lang='EN'],
body[data-lang='DE'] .progress-filter[data-lang='DE'] {
    display: block !important;
}

.progress-filter[data-lang='DE'] {display:block;}
.progress-filter[data-lang='EN'] {display:none;}

  .np-progress-filter-label {
      color: rgba(0, 0, 0, 0.5);
      padding-right: 7px;
      text-transform: none;
      font-weight:500;
      font-size:0.812rem;
  }
  .np-progress-filter-wrapper {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 1rem;
      margin-top:12px;
      align-items: center;
  }
  .filter-select-wrapper {
      position: relative;
      padding:0;
      border: 2px solid  rgba(0, 0, 0, 0.5);
      color: #fff;
      height:auto;
      text-transform: none;
      background: transparent;
      border-radius:0;
      font-size:14px;
  }
  .filter-select-wrapper:hover {
      background:transparent;
      color:#fff;
  }
  .select-items {
      position: absolute;
      background-color: #E1E2E5;
      top: 105%;
      left: -2px;
      z-index: 99;
      width: 102%;
      border: 2px solid rgba(255, 255, 255, 0.25);
      border-top:none;
  }
  .select-items div {
      color: #707483;
      border-top:none;
      cursor: pointer;
      width:100%;
      padding: 12px 16px;
    }

  .select-items div:hover {  color: rgba(255, 255, 255, 1); }
  .select-selected {
      width: 100%;
      height: 100%;
      padding: 6px 50px 6px 15px;
      position: relative;
      color:rgb(0, 0, 0);
  }
  .select-selected::after {
      content:"\f078";
      font-family: "Font Awesome 5 Pro";
      position: absolute;
      width:20px;
      height:100%;
      color:rgba(0, 0, 0, 0.5);
      right:10px;
      top:0;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size:1rem;
  }
  .select-selected::before {
      content:"";
      position: absolute;
      width:20px;
      height:100%;
      border-left:2px solid rgba(0, 0, 0, 0.5);
      right:20px;
      top:0;
  }
  .select-selected.select-arrow-active::after { transform: rotate(180deg); }
  .same-as-selected,
  .filter-select-wrapper select,
  .select-hide {
      display: none;
  }
  .mo-filter-wrapper {
      display: flex;
      justify-content: center;
      list-style: none;
      margin: 0;
      padding: 0;
  }
  .select-items div:hover, 
  .same-as-selected {
    background-color: #707483;
  }

  @media (min-width:768px) {
     .np-progress-filter-wrapper {
      margin-top:0;
      font-size:16px;
    }
     .select-selected {
      padding: 9px 66px 9px 20px;
    }
  }
</style>

