/* @group Base */

.chosen-container {
  font-size: 14px;
  position: relative;
  display: inline-block;
  zoom: 1;
  *display: inline;
  vertical-align: middle;
}

.chosen-container .chosen-drop {
  background: #fff;
  position: absolute;
  left: 0;
  z-index: 1010;
}

/* @end */

/* @group Single Chosen */

.chosen-container-single .chosen-single {
  background-color: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 25px;
  line-height: 23px;
  padding: 0 0 0 8px;
  color: #444444;
  text-decoration: none;
  vertical-align: middle;
}

.chosen-container-single .chosen-default {
  color: #999;
}

.chosen-container-single .chosen-single span {
  margin-right: 26px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.chosen-container-single .chosen-single abbr {
  display: block;
  position: absolute;
  right: 26px;
  top: 6px;
  width: 12px;
  height: 13px;
  font-size: 1px;
  background: url('../images/theme-modern/chosen/chosen-sprite.svg') right top no-repeat;
}

.chosen-container-single .chosen-single abbr:hover {
  background-position: right -11px;
}

.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
  background-position: right top;
}

.chosen-container-single .chosen-single div {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 18px;
}

.chosen-container-single .chosen-single div b {
  background: url('../images/theme-modern/chosen/chosen-sprite.svg') no-repeat 0 0;
  display: block;
  width: 100%;
  height: 100%;
}

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

.chosen-container-single .chosen-search input {
  background: #fff url('../images/theme-modern/chosen/chosen-sprite.svg') no-repeat 100% -22px;
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  outline: 0;
  border: 1px solid #aaa;
  font-family: sans-serif;
  font-size: 14px;
}

.chosen-container-single .chosen-drop {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}

/* @end */

.chosen-container-single-nosearch .chosen-search input {
  position: absolute;
  left: -9000px;
}

/* @group Multi Chosen */

.chosen-container-multi .chosen-choices {
  background-color: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: #D2E2ED;
  margin: 0;
  padding: 0;
  cursor: text;
  overflow: hidden;
  height: auto !important;
  height: 1%;
  position: relative;
}

.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 {
  color: #666;
  background: transparent !important;
  border: 0 !important;
  font-family: sans-serif;
  font-size: 100%;
  height: 14px;
  padding: 5px;
  margin: 1px 0;
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.chosen-container-multi .chosen-choices .search-field .default {
  color: #999;
}

.chosen-container-multi .chosen-choices .search-choice {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #e4e4e4;
  color: #333;
  border: 1px solid #aaaaaa;
  line-height: 140%;
  x: 12px;
  padding: 3px 20px 3px 5px;
  margin: 3px 0 3px 5px;
  position: relative;
  cursor: default;
}

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

.chosen-container-multi .chosen-choices .search-choice-focus {
  background: #d4d4d4;
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close {
  display: block;
  position: absolute;
  right: 3px;
  top: 4px;
  width: 12px;
  height: 13px;
  font-size: 1px;
  background: url('../images/theme-modern/chosen/chosen-sprite.svg') right top no-repeat;
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover {
  background-position: right -11px;
}

.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close {
  background-position: right -11px;
}

/* @end */

/* @group Results */
.chosen-results{
  width: 100% !important;
  border: 0;
}
.chosen-container .chosen-results {
  border: 1px solid #c3c3c3;
  border-top: 0;
  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;
}

.chosen-container-multi .chosen-results {
  margin: -1px 0 0;
  padding: 0;
}

.chosen-container .chosen-results li {
  display: none;
  line-height: 140%;
  x: 13px;
  padding: 5px 6px;
  margin: 0;
  list-style: none;
}

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

.chosen-container .chosen-results .highlighted {
  background-color: #428BCA;
  color: #fff;
}

.chosen-container .chosen-results li em {
  background: #feffde;
  font-style: normal;
}

.chosen-container .chosen-results .highlighted em {
  background: transparent;
}

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

.chosen-container .chosen-results .group-result {
  cursor: default;
  color: #999;
  font-weight: 600;
}

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

.chosen-container-multi .chosen-drop .result-selected {
  display: none;
}

.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('../images/theme-modern/chosen/chosen-sprite.svg') no-repeat -4px -3px;
}

.chosen-container .chosen-results-scroll-up span {
  background: url('../images/theme-modern/chosen/chosen-sprite.svg') no-repeat -22px -3px;
}

/* @end */

/* @group Active  */

.chosen-container-active .chosen-single {
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  border: 1px solid #5897fb;
}

.chosen-container-active .chosen-single-with-drop {
  border: 1px solid #aaa;
  background-color: #eee;
  -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;
}

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

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

.chosen-container-active .chosen-choices {
  /*
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
  box-shadow        : 0 0 5px rgba(0,0,0,.3);
  border: 1px solid #5897fb;*/
}

.chosen-container-active .chosen-choices .search-field input {
  color: #111 !important;
}

/* @end */

/* @group Disabled Support */

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

.chosen-disabled .chosen-single {
  cursor: default;
}

.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 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;
  background-position: right top;
}

.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-single-with-drop div {
  border-right: none;
}

.chosen-rtl .chosen-search input {
  background: #fff url('../images/theme-modern/chosen/chosen-sprite.svg') no-repeat -38px -22px;
  padding: 4px 5px 4px 20px;
  direction: rtl;
}

/* @end */