.custom-multi-select {
  position: relative;
  border: 1px solid #242424;
  border-radius: 10px;
  height: 50px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.custom-multi-select .original {
  display: none;
}
.custom-multi-select .selected {
  cursor: pointer;
  height: 100%;
  font-size: 21px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: bold;
  width: 320px;
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
}
.custom-multi-select .selected span {
  display: block;
  overflow: hidden;
  padding: 0 48.974px 0 22px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-overflow: ellipsis;
}
.custom-multi-select .selected:after {
  content: "";
  display: block;
  width: 16.974px;
  height: 9.901px;
  position: absolute;
  top: 50%;
  right: 22px;
  -moz-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-image: url("/files/theme/i/icons/select2-arrow-down.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.custom-multi-select .dropdown {
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  height: auto;
  -moz-transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  z-index: 999;
  /*max-height:100vh; overflow:auto;*/
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #f0f0f0;
  border: 1px solid #242424;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.custom-multi-select .dropdown .option {
  position: relative;
  padding: 18px 22px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #242424;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 15px;
}
.custom-multi-select .dropdown .option.search-hidden {
  display: none;
}
.custom-multi-select .dropdown .option:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("/files/theme/i/icheck/multiselect-unchecked.svg");
}
.custom-multi-select .dropdown .option:after {
  content: "";
  display: block;
  width: calc(100% - 22px - 22px);
  height: 1px;
  background-color: #9D9D9D;
  position: absolute;
  bottom: 0;
  left: 50%;
  -moz-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
.custom-multi-select .dropdown .option.active {
  color: #e31725;
}
.custom-multi-select .dropdown .option.active:before {
  background-image: url("/files/theme/i/icheck/multiselect-checked.svg");
}
.custom-multi-select .dropdown .button-wrap {
  text-align: right;
  margin: 22px 0;
  padding: 0 22px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.custom-multi-select .dropdown .button-wrap button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  height: 40px;
  cursor: pointer;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 16px;
  background-color: #e31725;
  border: 1px solid #e31725;
  color: #ffffff;
  border-radius: 26px;
  padding: 0 22px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .custom-multi-select .dropdown .button-wrap button {
    font-size: 18px;
  }
}
@media screen and (max-width: 767px) {
  .custom-multi-select .dropdown .button-wrap button {
    font-size: 18px;
  }
}
.custom-multi-select .dropdown .button-wrap button:hover {
  background-color: transparent;
  color: #e31725;
}
.custom-multi-select.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.custom-multi-select.open .selected:after {
  -moz-transform: translate(0, -50%) rotate(-180deg);
  -webkit-transform: translate(0, -50%) rotate(-180deg);
  -o-transform: translate(0, -50%) rotate(-180deg);
  -ms-transform: translate(0, -50%) rotate(-180deg);
  transform: translate(0, -50%) rotate(-180deg);
}
.custom-multi-select.open .dropdown {
  opacity: 1;
  pointer-events: all;
}
.custom-multi-select.has_search .dropdown .search {
  position: relative;
  padding: 18px 22px 0 22px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.custom-multi-select.has_search .dropdown .search input {
  display: block;
  width: 100%;
  height: 32px;
  border: 1px solid #242424;
  background: transparent;
  padding: 0 11px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.92307692;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.custom-multi-select.has_search .dropdown .search input::-webkit-input-placeholder {
  opacity: 1;
  color: #9D9D9D;
}
.custom-multi-select.has_search .dropdown .search input:-moz-placeholder {
  opacity: 1;
  color: #9D9D9D;
}
.custom-multi-select.has_search .dropdown .search input::-moz-placeholder {
  opacity: 1;
  color: #9D9D9D;
}
.custom-multi-select.has_search .dropdown .search input:-ms-input-placeholder {
  opacity: 1;
  color: #9D9D9D;
}
.custom-multi-select.has_search .dropdown .inner {
  max-height: calc(var(--vh)*50 - 40px - 40px);
  overflow: auto;
}
