:root {
  --secondaryDarken: #8F9DA6;
  --secondaryLighten: #F2F4F6;
  --greyBase: #495057;
  --primary2: #224DCB;
  --accentRed: #C72C3D;
}

.chosen-container {
  position: relative;
  display: table;
  vertical-align: middle;
  font-size: 14px;
  width: 100% !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.chosen-container * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.chosen-container .chosen-drop {
  position: absolute;
  top: 100%;
  z-index: 100;
  width: 100% !important;
  border: 1px solid #aaa;
  border-top: 0;
  background: #fff;
  -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(100% 100%);
  clip-path: inset(100% 100%);
}

.chosen-container.chosen-with-drop .chosen-drop {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
}

.chosen-container a {
  cursor: pointer;
}

.chosen-container .search-choice .group-name,
.chosen-container .chosen-single .group-name {
  margin-right: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: normal;
  color: #999999;
}

.chosen-container .search-choice .group-name:after,
.chosen-container .chosen-single .group-name:after {
  content: ":";
  padding-left: 2px;
  vertical-align: top;
}

/* Single Chosen */
.chosen-container-single .chosen-single {
  display: block;
  width: 100% !important;
  height: calc(1.5em + 0.75rem + 4px);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #5c6873;
  background-color: white;
  background-clip: padding-box;
  border: 2px solid #ebebeb;
  border-radius: 10px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.chosen-default {
  color: #999;
}

.chosen-container-single .chosen-single span {
  display: block;
  overflow: hidden;
  margin-right: 26px;
  width: 100% !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chosen-container-single .chosen-single-with-deselect span {
  margin-right: 38px;
}

.chosen-container-single .chosen-single abbr {
  position: absolute;
  top: 6px;
  right: 26px;
  display: block;
  width: 12px;
  height: 12px;
  background: url("../img/chosen-sprite.png") -42px 1px no-repeat;
  font-size: 1px;
}

.chosen-container-single .chosen-single abbr:hover {
  background-position: -42px -10px;
}

.chosen-container-single .chosen-single div {
  position: absolute;
  top: 0;
  display: block;
  width: 18px;
  height: 100%;
  right: 5px;
  transform: translateY(20%);
}

.chosen-container-single .chosen-single div b {
  display: block;
  width: 100%;
  height: 100%;
  background: url('../img/chosen-sprite.png') no-repeat 0px 2px;
}

.chosen-container-active.chosen-with-drop .chosen-single div {
  border-left: none;
  background: transparent;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -18px 2px;

}

.chosen-rtl.chosen-container-single .chosen-single div b {
  background-position: 6px 2px;

}

.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
  background-position: -12px 2px;

}

.chosen-container-single .chosen-search {
  position: relative;
  z-index: 50;
  margin: 0;
  padding: 3px 4px;
  white-space: nowrap;
}

.chosen-container-single .chosen-search input[type="text"] {
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  width: 100%;
  height: auto;
  outline: 0;
  border: 1px solid #aaa;
  background: url("../img/chosen-sprite.png") no-repeat 100% -20px;
  font-size: 1em;
  line-height: normal;
  border-radius: 10px;
}

.chosen-container-single .chosen-drop {
  margin-top: 1px;
  border-radius: 0 0 10px 10px;
  background-clip: padding-box;
}
.chosen-container-multi .chosen-drop {
  margin-top: 1px;
  border-radius: 0 0 10px 10px;
  background-clip: padding-box;
}

.chosen-container-single.chosen-container-single-nosearch .chosen-search {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(100% 100%);
  clip-path: inset(100% 100%);
}

/* Results */
.chosen-container .chosen-results {
  color: #444;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 4px 4px 0;
  padding: 0 0 0 4px;
  max-height: 240px;
  -webkit-overflow-scrolling: touch;
}

.chosen-container .chosen-results li {
  display: none;
  margin: 0;
  padding: 5px 6px;
  list-style: none;
  line-height: 15px;
  word-wrap: break-word;
  -webkit-touch-callout: none;
}

.chosen-container .chosen-results li.active-result {
  display: list-item;
  cursor: pointer;
}

.chosen-container .chosen-results li.disabled-result {
  display: list-item;
  color: #ccc;
  cursor: default;
}

.chosen-container .chosen-results li.highlighted {
  background-color: var(--secondaryLighten);
  color: #444;
}

.chosen-container .chosen-results li.no-results {
  color: #777;
  display: list-item;
  background: #f4f4f4;
}

.chosen-container .chosen-results li.group-result {
  display: list-item;
  font-weight: bold;
  cursor: default;
}

.chosen-container .chosen-results li.group-option {
  padding-left: 15px;
}

.chosen-container .chosen-results li em {
  font-style: normal;
  text-decoration: underline;
}

/* Multi Chosen */
.chosen-container-multi .chosen-choices {
  position: relative;
  overflow: hidden;
  display: table;
  height: calc(1.5em + 0.75rem + 4px);
  margin: 0;
  padding: 0.375rem 0.75rem;
  width: 100% !important;
  border: 2px solid #ebebeb;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
  color: #5c6873;
  background-clip: padding-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.chosen-container-multi .chosen-choices li {
  float: left;
  list-style: none;
}


.chosen-container-multi .chosen-choices li.search-field {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0 !important;
  background: transparent !important;
  color: #5c6873;
  font-size: 0.875rem !important;
  line-height: normal;
}

.chosen-container-multi .chosen-choices li.search-choice {
  position: relative;
  margin: 2px 5px 2px 0;
  padding: 3px 20px 3px 5px;
  max-width: 100%;
  border-radius: 3px;
  background-color: #eeeeee;
  color:black;
  line-height: 13px;
  cursor: default;

}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  position: absolute;
  top: 4px;
  right: 3px;
  display: block;
  width: 12px;
  height: 12px;
  background: url("../img/chosen-sprite.png") -42px 1px no-repeat;
  font-size: 1px;
}

.chosen-container-multi .chosen-choices li.search-choice-disabled {
  padding-right: 5px;
  border: 1px solid #ccc;
  background-color: #e4e4e4;
  color: #666;
}

/* Active */
.chosen-container-active .chosen-single {
  color: #5c6873;
  background-color: #fff;
  border-color: var(--secondaryDarken);
  outline: 0;
  /* box-shadow: 0 0 0 0.2rem rgba(255, 95, 38, 0.25); */
}

.chosen-container-active .chosen-choices {
  color: #5c6873;
  background-color: #fff;
  border-color: var(--secondaryDarken);
  outline: 0;
  /* box-shadow: 0 0 0 0.1rem rgba(255, 95, 38, 0.25); */
}

/* Disabled Support */
.chosen-disabled {
  opacity: 0.5 !important;
  cursor: default;
}

/* Right to Left */
.chosen-rtl .chosen-single span {
  margin-right: 0;
  margin-left: 26px;
  direction: rtl;
}

.chosen-rtl .chosen-single-with-deselect span {
  margin-left: 38px;
}

/* Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {

  .chosen-container .chosen-results-scroll-down span,
  .chosen-container .chosen-results-scroll-up span,
  .chosen-container .chosen-single div b {
    background-image: url("../img/chosen-sprite@2x.png") !important;
    background-size: 52px 37px;
  }
}