.zd-multiselect {
  min-height: 40px;
}

.multiselect__content-wrapper {
  /* display: block !important; */
  margin-top: 4px;
  border: 1px solid var(--zd-color-grey-300);
  border-radius: 4px;
  box-shadow: 0 20px 30px 0 rgba(4, 68, 77, 0.15);
  overflow-x: hidden;
}

.dokument-name-multiselect .multiselect__content-wrapper {
  /* display: block !important; */
  overflow-x: scroll;
}
.multiselect__content {
  padding: 8px 0px;
  max-width: 100%;
}

.zd-multiselect li {
  display: block;
  position: relative;
  z-index: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 20px;
  word-wrap: break-word;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 14px;
}
.zd-multiselect li:hover,
.multiselect__option--highlight {
  background-color: var(--zd-color-blue-100);
  color: var(--zd-color-grey-800);
}
.multiselect__option {
  padding: 10px 32px;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multiselect__option--selected:before {
  opacity: 1 !important;
  z-index: 1;
}
.multiselect__option--selected {
  background: unset;
  color: unset;
  font-weight: 400;
}
.multiselect__option--selected.multiselect__option--highlight {
  background: unset;
  color: unset;
}
.multiselect__tag {
  font-weight: 600;
  background-color: var(--zd-color-grey-600);
  color: var(--zd-color-white);
  font-size: 12px;
  height: 20px;
  border-radius: 2px;
  margin-right: 5px;
  padding: 4px 18px 4px 10px;
  margin-bottom: 2px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.multiselect__tag-icon,
.multiselect__tag-icon:after,
.multiselect__tag-icon:focus {
  color: var(--zd-color-white);
  background-color: var(--zd-color-grey-600);
  width: 16px;
  line-height: 20px;
}
.multiselect__tag-icon:hover {
  background-color: unset;
}
.multiselect__input,
.multiselect__single {
  font-size: 14px;
  margin-bottom: 0px;
}
.multiselect__placeholder {
  margin-bottom: 0;
}
.zd-multiselect-caret {
  position: absolute;
  right: 0;
  top: 4px;
  height: 32px;
  width: 32px;
  z-index: 1;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' color='%2368737D'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' d='M4 6.5l3.6 3.6c.2.2.5.2.7 0L12 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.71429em center;
  background-size: 12px;
  transition: background-image 0.25s ease-in-out, transform 0.25s ease-in-out,
    border-color 0.25s ease-in-out, box-shadow 0.1s ease-in-out,
    background-color 0.25s ease-in-out, color 0.25s ease-in-out,
    -webkit-transform 0.25s ease-in-out;
}
.multiselect--active .zd-multiselect-caret {
  transform: rotate(180deg) translateY(-1px);
}
span.multiselect__option:before {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.1s ease-in-out;
  opacity: 0;
  background: no-repeat 50%/16px
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' color='%231F73B7'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='M1 9l4 4L15 3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  width: 32px;
  height: 40px;
  content: '';
}

/* for small size fix */
/* .zd-multiselect-sm {
  min-height: 32px;
}
.multiselect__tags {
  min-height: 32px;
}
.multiselect__placeholder,
.multiselect__input,
.multiselect__single {
  padding-top: 0px;
  margin-top: -4px;
}
.zd-multiselect-caret {
  top: 0px;
}

.multiselect__option {
  min-height: 32px;
} */
