/* Note: some code is commented because it's correctly defined per our theme on chosen.less */

/* @group Base */
.chosen-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}
.chosen-container .chosen-drop {
  border-top: 0;
  position: absolute;
  top: 100%;
  left: -9999px;
  z-index: 1010;
  width: 100%;
  -moz-box-sizing   : border-box;
  -ms-box-sizing    : border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing : border-box;
  box-sizing        : border-box;
  line-height: 38px;
  border: 1px solid #d6d6d6;
  background-color: #fff;
  font-size: 15px;
  /* color: #000; */
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.chosen-container.chosen-with-drop .chosen-drop {
  left: 0;
}

/* @end */

/* @group Single Chosen */
.chosen-container-single .chosen-single {
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  padding: 0 20px 0 15px;
  line-height: 38px;
  border: 1px solid #d6d6d6;
  background-color: #fff;
  font-size: 15px;
  color: #343434;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  cursor: hand;
  cursor: pointer;
}
.chosen-container-single .chosen-default {
  /* color: #999; */
  color: #c0c0c0;
}
.chosen-container-single .chosen-single span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.chosen-container-single .chosen-single-with-deselect span {
  margin-right: 38px;
}

.chosen-container-single .chosen-single abbr {
  display: block;
  position: absolute;
  right: 26px;
  top: 6px;
  width: 12px;
  height: 12px;
  font-size: 1px;
}
.chosen-container-single .chosen-single abbr:hover {
  background-position: -42px -10px;
}
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
  background-position: -42px -10px;
}
.chosen-container-single .chosen-single div {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 22px;
  text-align: center;
}
.chosen-container-single .chosen-single div b {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 4px solid transparent;
  border-top: 4px solid #8c8c8c;

  /*background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAGCAYAAADzG6+8AAAAYElEQVQoz2PYtGlTDhD/AeL/RGKQ2hwGIAHCnkD8iQhNn4HYB6QHphGE9YH4MR5NIDkDmHpkjSAsBcRnsGg6D8TSyGrRNYIw9yYIgGkCAR50ddg0gjAzEPcB8SQoG0MNACCm2PvpCFX9AAAAAElFTkSuQmCC') no-repeat 0 center;*/

}
.chosen-container-single .chosen-search {
  padding: 3px 4px;
  position: relative;
  margin: 0;
  white-space: nowrap;
  z-index: 1010;
}
.chosen-container-single .chosen-search input {
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  outline: 0;
  -moz-box-sizing   : border-box;
  -ms-box-sizing    : border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing : border-box;
  box-sizing        : border-box;
  width: 100% !important;
}
.chosen-container-single .chosen-drop {
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
}
.chosen-container-single-nosearch .chosen-search {
  position: absolute;
  left: -9999px;
}
/* @end */

/* @group Multi Chosen */
.chosen-container-multi .chosen-choices {
  margin: 0;
  padding: 0;
  cursor: text;
  overflow: hidden;
  height: auto !important;
  height: 1%;
  position: relative;
  width: 100%;
  -moz-box-sizing   : border-box;
  -ms-box-sizing    : border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing : border-box;
  box-sizing        : border-box;
}
.chosen-container-multi .chosen-choices li {
  float: left;
  list-style: none;
}
.chosen-container-multi .chosen-choices .search-field {
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
.chosen-container-multi .chosen-choices .search-field input {
  background: transparent !important;
  border: 0 !important;
  height: 15px;
  padding: 5px;
  margin: 1px 0;
  outline: 0;
}
.chosen-container-multi .chosen-choices .search-field .default {
  color: #999;
}
.chosen-container-multi .chosen-choices .search-choice {
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  line-height: 13px;
  padding: 3px 20px 3px 5px;
  margin: 3px 0 3px 5px;
  position: relative;
  cursor: default;
}
.chosen-container-multi .chosen-choices .search-choice.search-choice-disabled {
  padding-right: 5px;
}
.chosen-container-multi .chosen-choices .search-choice-focus {
}
.chosen-container-multi .chosen-choices .search-choice .search-choice-close {
  display: block;
  position: absolute;
  right: 3px;
  top: 4px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  /* background: url('chosen-sprite.png') -42px 1px no-repeat;  */
}
.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover {
  background-position: -42px -10px;
}
.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close {
  background-position: -42px -10px;
}
/* @end */

/* @group Results */
.chosen-container .chosen-results {
  margin: 0 4px 4px 0;
  max-height: 240px;
  padding: 0 0 0 4px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  
}
div.countryCodeValidation .chosen-container .chosen-results {
  max-height: 160px;
}
.chosen-container-multi .chosen-results {
  margin: 0;
  padding: 0;
}
.chosen-container .chosen-results li {
  display: none;
  line-height: 15px;
  padding: 5px 6px;
  margin: 0;
  list-style: none;
  line-height: 150%;
}
.chosen-container .chosen-results li:hover {
  /* background-color: #fffbf8; */
}
.chosen-container .chosen-results .active-result {
  cursor: pointer;
  display: list-item;
}

.chosen-container .chosen-results .disabled-result {
  cursor: default;
  display: list-item;
  color: #e8e8e8;
}
.chosen-container .chosen-results .disabled-result em {
  background: transparent;
}

.chosen-container .chosen-results .disabled-result:hover {
  background-color: transparent;
  color: #e8e8e8;
}

.chosen-container .chosen-results .highlighted {

}
.chosen-container .chosen-results li em {
  
}
.chosen-container .chosen-results .highlighted em {

}
.chosen-container .chosen-results .no-results {

  display: list-item;
}
.chosen-container .chosen-results .group-result {
  cursor: default;
}
.chosen-container .chosen-results .group-option {
  padding-left: 15px;
}
/*
.chosen-container-multi .chosen-drop .result-selected {
  cursor: default;
  display: list-item;
}
*/
.chosen-container-multi .chosen-drop .result-selected em {
  background: transparent;
}
.chosen-container .chosen-results-scroll {
  background: white;
  margin: 0 4px;
  position: absolute;
  text-align: center;
  width: 321px; /* This should by dynamic with js */
  z-index: 1;
}
.chosen-container .chosen-results-scroll span {
  display: inline-block;
  height: 17px;
  text-indent: -5000px;
  width: 9px;
}
.chosen-container .chosen-results-scroll-down {
  bottom: 0;
}
.chosen-container .chosen-results-scroll-down span {
  /*background: url('chosen-sprite.png') no-repeat -4px -3px; */
}
.chosen-container .chosen-results-scroll-up span {
  /*background: url('chosen-sprite.png') no-repeat -22px -3px;    */
}
/* @end */

/* @group Active  */
.chosen-container-active .chosen-single {
  border-color: #ef7d3c;
}
.chosen-container-active.chosen-with-drop .chosen-single {
  -webkit-border-bottom-left-radius : 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomleft : 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-left-radius : 0;
  border-bottom-right-radius: 0;
  border-color: #d6d6d6;
}
.chosen-container-active.chosen-with-drop .chosen-single div {
  background: transparent;
  border-left: none;
}
.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -18px 2px;
}
.chosen-container-active .chosen-choices {
}
.chosen-container-active .chosen-choices .search-field input {      
  width: 100%;
}
/* @end */

/* @group Disabled Support */
.chosen-disabled {
  cursor: default;
  //opacity:0.5 !important;
}
.chosen-disabled .chosen-single {
  cursor: default;
  color: #797979;
}
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
  cursor: default;
}

/* @group Right to Left */
.chosen-rtl { text-align: right; }
.chosen-rtl .chosen-single { padding: 0 8px 0 0; overflow: visible; }
.chosen-rtl .chosen-single span { margin-left: 26px; margin-right: 0; direction: rtl; }
.chosen-rtl .chosen-single-with-deselect span { margin-left: 38px; }

.chosen-rtl .chosen-single div { left: 3px; right: auto; }
.chosen-rtl .chosen-single abbr {
  left: 26px;
  right: auto;
}
.chosen-rtl .chosen-choices .search-field input { direction: rtl; }
.chosen-rtl .chosen-choices li { float: right; }
.chosen-rtl .chosen-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
.chosen-rtl .chosen-choices .search-choice .search-choice-close { left: 4px; right: auto; }
.chosen-rtl .chosen-container-single-nosearch .chosen-search { left: 9999px; }
.chosen-rtl .chosen-drop { left: 9999px; }
.chosen-rtl.chosen-container-single .chosen-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
.chosen-rtl .chosen-results .group-option { padding-left: 0; padding-right: 15px; }
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div { border-right: none; }
.chosen-rtl .chosen-search input {

  padding: 4px 5px 4px 20px;
  direction: rtl;
}
.chosen-container-single.chosen-rtl .chosen-single div b {
  background-position: 6px 2px;
}
.chosen-container-single.chosen-rtl.chosen-with-drop .chosen-single div b {
  background-position: -12px 2px;
}
/* @end */

/* @group Retina compatibility */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)  {
  .chosen-rtl .chosen-search input, .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-container-single .chosen-search input, .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span {
      /*
      background-image: url('chosen-sprite@2x.png') !important;
      background-repeat: no-repeat !important;
      background-size: 52px 37px !important;
      */
  }
}
/* @end */


/* chosen.less */
.chosen-container .chosen-drop {
  color: #8c8c8c;
}
.chosen-open-up + .chosen-container .chosen-drop {
  top: auto !important;
  bottom: 40px;
  border: solid #aaa;
  border-width: 1px 1px 0 1px;
}
.chosen-container .chosen-results .highlighted {
  color: #343434;
  background-color: #e8e8e8;
}
.chosen-container .chosen-results li:hover {
  color: #343434;
  background-color: #e8e8e8;
}
/* Multiple inputs */
.chosen-container-multi .chosen-choices {
  border: 1px solid #d6d6d6;
  line-height: 36px;
}
.chosen-container-multi .chosen-choices li.search-choice {
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  background-color: #f9f9f9;
  line-height: 20px;
  margin: 4px 0 4px 4px;
  font-weight: normal;
}
.chosen-container-multi .chosen-choices .search-field input {
  height: 30px !important;
}
.chosen-container-multi .chosen-choices input.chosen-search-input {
  font-size: 15px;
}
.chosen-container-multi .chosen-choices .search-choice .search-choice-close {
  width: 14px !important;
  height: 14px !important;
  top: 5px !important;
  cursor: pointer !important;
  color: #b3b3b3;
}
.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover {
  color: #343434;
}
.chosen-container-multi .chosen-choices .search-choice .search-choice-close:before {
  content: "\F0156";
  display: inline-block;
  font: normal normal normal 24px/1 "Material Design Icons";
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  font-size: 16px;
}
.chosen-container-multi .chosen-choices .search-field .default,
.chosen-container-single .chosen-default {
  color: #c0c0c0 !important;
  padding-left: 15px;
}
.chosen-container-multi .chosen-drop .result-selected {
  cursor: default;
  display: list-item;
  color: #e8e8e8;
}
.chosen-container-multi .chosen-drop li.result-selected:hover {
  color: #e8e8e8;
  background-color: transparent;
}
/* To support options with long names on the dropdown multiple */
.chosen-container-multi .chosen-drop li {
  white-space: normal !important;
}
/* disabled */
.chosen-disabled .chosen-single div {
  display: none !important;
}
.chosen-disabled .chosen-single span {
  color: #b3b3b3;
  font-style: italic;
}
/* Loading for ajax plugin */
.chosen-container-multi .chosen-choices .search-field input.chosen-ajax-loading {
  background: url("/Content/images/gif-load-small.gif") no-repeat 100% 50% !important;
  background-size: 16px !important;
}
/* Highlight search term on ajax multiselect */
.chosen-container-multi .chosen-results:empty {
  /* Removes border of parent when we don't have any results to show so that it looks nicer */
  /* box-shadow: 0 0 0 1px white; */
  background-color: #FFF;
  height: 2px;
  margin: -1px;
}
.chosen-container-multi .chosen-results em {
  font-weight: bold;
  font-style: normal !important;
}
.chosen-container-multi .chosen-results .no-results span {
  /* search term */
  font-weight: bold;
}
.chosen-container-multi.chosen-container-active .chosen-choices {
  border: 1px solid #ef7d3c;
}
/* disabled */
.chosen-container-multi.chosen-disabled .chosen-choices input {
  font-style: italic;
  -webkit-text-fill-color: inherit;
}