/* @group Base */
.chzn-container {
  position: relative;
  display: inline-block;
  zoom: 1;
  padding:0!important;
  vertical-align:middle;
  width: 324px!important;
}

.chzn-container:not([style~="width:"]) {
	width: 100%!important;
}

.chzn-container,
.chzn-container * {
  font-family: var(--font-family)!important;
  font-size: var(--input-font-size);
  color: var(--color-text)!important;
}

.chzn-container .chzn-drop {
  width: 100%;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  border-radius: var(--border-radius);
  border: 1px solid var(--input-border-color);
  box-shadow: none;
  background: var(--input-bg-color);
  z-index: 1010;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.chzn-drop.drop-up {
  top: auto;
  bottom: calc(var(--input-height) + 4px);
  border-radius: var(--border-radius);
  border-top: 1px solid var(--input-border-color);
}
/* @end */

/* @group Single Chosen */
/* versi�n blanca */
.chzn-container-single .chzn-single,
.chzn-container-multi .chzn-choices {
  height: var(--input-height);
  width: 100%;
  border: 1px solid var(--input-border-color);
  border-radius: var(--border-radius);
  background-color: var(--input-bg-color);
  display: flex;
  align-items: center;
  padding: var(--input-padding) 36px var(--input-padding) var(--input-padding);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-main);
  text-decoration: none;
  box-shadow: none;
}

.chzn-container-multi .chzn-choices {
  margin: 0;
  padding: 0 0 0 4px;
  cursor: text;
  overflow: hidden;
  height: 1%;
  position: relative;
}

.chzn-container-single .chzn-default {
	color: var(--input-color);
}

/* versi�n gris */
/* .chzn-container-single .chzn-single {
  background-color: var(--color-grey-light3);
  display: flex!important;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 23px;
  line-height: 24px;
  padding: 16px 32px;
  color: var(--color-grey-dark3);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  box-shadow: none;
  font-family: 'Open Sans', Sans-Serif;
  font-size: 14px;
} */
/* .chzn-container-single .chzn-default {
  color: #999;
} */
.chzn-container-single .chzn-single span {
  /* margin-right: 14px; */
  height: var(--input-height);
  width: 100%;
  line-height: var(--input-height);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.chzn-container-single .chzn-single abbr {
  display: block;
  position: absolute;
	right: 30px;
	top: 9px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  background: url('/bukeala-static/images/icons/panelita/close.svg') center no-repeat;
  background-color: transparent;
  background-size: 12px;
}

/* .chzn-container-single .chzn-single abbr:hover {
  background-position: -42px -10px;
}
.chzn-container-single.chzn-disabled .chzn-single abbr:hover {
  background-position: -42px -10px;
} */

.chzn-container-single .chzn-single div {
  position: absolute;
  right: 10px;
  top: 0;
  display: block;
  height: 100%;
  width: 24px;
  margin:0!important;
  padding:0!important;
}

.chzn-container-single .chzn-single div b {
  background-image: url('/bukeala-static/images/icons/panelita/chevron-down.svg');
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 16px;
  display: block;
  width: 100%;
  height: 100%;
}

/* aunque el chosen no tenga search, lo necesita para manejar eventos del teclado */
/* .chzn-container-single-nosearch .chzn-search {
	display: none;
} */

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

.chzn-container-single-nosearch .chzn-search {
  display: contents;
}

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

.chzn-container-single .chzn-search input {
  height: 24px;
  width: 100%;
  margin: 0;
  outline: 0;
  /* FONT-WEIGHT: 100; */
  background-image: url(/bukeala-static/images/icons/panelita/search.svg);
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 6px center;
  border-radius: var(--border-radius);
  border: 1px solid var(--input-border-color);
  padding: 4px 20px 4px 5px;
  font-family: var(--font-family), sans-serif;
  font-size: 1em;
}

.chzn-container-single .chzn-drop {
  width: 100%;
	border-radius: var(--border-radius);
	background-clip: padding-box;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

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

/* @group Multi Chosen */
.chzn-container-multi .chzn-choices {
  display: block;
  height: auto;
  min-height: var(--input-height);
  margin: 0;
  padding: 0;
  cursor: text;
  position: relative;
  border-color: var(--input-border-color)!important;
  background: var(--input-bg-color);
  /* color: var(--input-text-color);
  font-family: var(--input-font-family)!important; */
  max-height: 110px;
  overflow-y: auto;
}

.chzn-container-multi .chzn-choices .search-field {
  white-space: nowrap;
  margin: 0;
  padding: 0;
  width: 100%;
}
.chzn-container-multi .chzn-choices .search-field input {
  height: calc(var(--input-height) - 2px);
  margin: 0;
  outline: 0;
  border: 0 !important;
  padding: var(--input-padding);
  background: transparent !important;
  color: var(--input-color);
  font-family: var(--input-font-family);
  box-shadow: none;
}


.chzn-container-multi .chzn-choices .search-field input.default {
  color: var(--input-text-color);
  width: 100% !important;
  padding-right: 36px !important;
  background-image: url(/bukeala-static/images/icons/panelita/chevron-down.svg) !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
}

.chzn-container-multi.chzn-container-active .chzn-choices .search-field input.default {
  background-image: url(/bukeala-static/images/icons/panelita/chevron-up.svg) !important;
}

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

.chzn-container-multi .chzn-choices .search-choice {
  position: relative;
  margin: 2px;
  padding: 2px 20px 2px 8px;
  background-color: var(--color-n100);
  border: none;
  border-radius: var(--border-radius);
  color: var(--color-text-main);
  font-size: var(--input-font-size);
  font-weight: 600;
  line-height: 18px;
}

.chzn-container-multi .chzn-choices li.search-choice {
  background: var(--color-b200);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.chzn-container-multi .chzn-choices li.search-choice span {
  color: var(--color-b500)!important;
  font-weight: 600;
  font-size: 12px!important;
  white-space: break-spaces;
}

.chzn-container-multi .chzn-choices .search-choice + .search-choice {
  margin-left: 4px;
}

.chzn-container-multi .chzn-choices .search-choice.search-choice-disabled {
  background-color: var(--color-n300);
  color: var(--color-text);
  font-weight: 600;
  padding: 0 20px 0 4px;
  border-radius: var(--border-radius);
  position: relative;
}
/*.chzn-container-multi .chzn-choices .search-choice-focus {
  background: #d4d4d4;
}*/
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
  display: block;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: url(/bukeala-static/images/icons/panelita/close.svg) 0 0 no-repeat;
  background-size: 12px;
  filter: var(--filter-b500);
}

.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
  filter: var(--filter-b400);
}

.chzn-container-multi .chzn-choices .search-field,
.chzn-container-multi .chzn-choices .search-field input {
  display: inline-block;
  /* width: auto!important; */
  width: 100%;
}

/* k */
/* @end */

/* @group Results */
.chzn-container .chzn-results {
  max-height: 240px;
  margin: 0!important;
  padding: 0!important;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chzn-container-multi .chzn-results {
  margin: -1px 0 0;
  padding: 0;
}
.chzn-container .chzn-results li {
  display: none;
  line-height: 16px;
  padding: 8px 16px;
  margin: 0;
  list-style: none;
  text-align: left;
  white-space: break-spaces;
}
.chzn-container .chzn-results .active-result:not(.hide) {
  cursor: pointer;
  display: list-item;
}
.chzn-container .chzn-results li.highlighted {
  background-color: var(--input-option-selected-bg);
}
.chzn-container .chzn-results li em {
  background: #feffde;
  font-style: normal;
}
.chzn-container .chzn-results .highlighted em {
  background: transparent;
}
.chzn-container .chzn-results .no-results {
  background: #f4f4f4;
  display: list-item;
}
.chzn-container .chzn-results .group-result {
  cursor: default;
  color: #999;
  font-weight: bold;
}
.chzn-container .chzn-results .group-option {
  padding-left: 15px;
}
.chzn-container-multi .chzn-drop .result-selected {
  display: none;
}
.chzn-container .chzn-results-scroll {
  background: white;
  margin: 0 4px;
  position: absolute;
  text-align: center;
  width: 321px; /* This should by dynamic with js */
  z-index: 1;
}
.chzn-container .chzn-results-scroll span {
  display: inline-block;
  height: 17px;
  text-indent: -5000px;
  width: 9px;
}
.chzn-container .chzn-results-scroll-down {
  bottom: 0;
}
.chzn-container .chzn-results-scroll-down span {
  background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -4px -3px;
}
.chzn-container .chzn-results-scroll-up span {
  background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -22px -3px;
}
/* @end */

/* @group Active  */
.chzn-container-active .chzn-single {
	border-color: var(--input-focus-border-color);
	box-shadow: var(--input-focus-box-shadow);
  box-sizing: border-box!important;
}

.chzn-container-active .chzn-single-with-drop {
  border-color: var(--input-focus-border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--input-focus-box-shadow);
}

.chzn-container-active .chzn-single-with-drop div {
  background: transparent;
  border-left: none;
}
.chzn-container-active .chzn-single-with-drop div b {
  background-image: url(/bukeala-static/images/icons/panelita/chevron-up.svg);
}
.chzn-container-active .chzn-choices {
  border: 1px solid var(--input-border-color);
  box-shadow: none;
}
.chzn-container-active .chzn-choices .search-field input {
  color: var(--color-text-main)!important;
}
/* @end */

/* @group Disabled Support */
.chzn-disabled {
  cursor: default;
}
.chzn-disabled .chzn-single,
.chzn-disabled .chzn-choices {
  cursor: default;
  background-color: var(--color-n100);
  color: var(--color-n600)!important;
}

.chzn-disabled *:not(.search-choice span) {
  color: var(--color-n600)!important;
}

.chzn-disabled .chzn-choices .search-choice .search-choice-close {
  cursor: default;
}
/* @end */

/*chozen con imagenes*/
.chznImage-container {
	vertical-align: top
}

/* .chzn-container-single .chzn-single {
	padding: 0 0 0 5px;
} */

.chznImage-container .chzn-results li,
.chznImage-container .chzn-single span {
	background-position: 6px 45%;
	background-size: auto 30px;
	padding-left: 40px;
}

.chznImage-container .chzn-single span {
	background-position: 0px 45%;
	padding-left: 17px;
}

.chznImage-container .chzn-results li {
	line-height: 30px
}

.chznImage-container .chzn-drop {
	margin-top: -2px
}

.chznImage-container .chzn-choices {
	max-height: 107px;
	overflow-y: auto;
	box-shadow: none
}

/* @group Retina compatibility */
/*@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)  {
  .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span {
      background-image: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite@2x.png') !important;
      background-repeat: no-repeat !important;
      background-size: 52px 37px !important;
  }
}*/
/* @end */

/* right to left support */
.chzn-rtl {
	text-align: right;
}

.chzn-rtl .chzn-single {
	padding: 0 8px 0 0;
	overflow: visible;
}

.chzn-rtl .chzn-single span {
	margin-left: 26px;
	margin-right: 0;
	direction: rtl;
}

.chzn-rtl .chzn-single div {
	left: 3px;
	right: auto;
}

.chzn-rtl .chzn-single abbr {
	left: 26px;
	right: auto;
}

.chzn-rtl .chzn-choices .search-field input {
	direction: rtl;
}

.chzn-rtl .chzn-choices li {
	float: right;
}

.chzn-rtl .chzn-choices .search-choice {
	padding: 3px 5px 3px 19px;
	margin: 3px 5px 3px 0;
}

.chzn-rtl .chzn-choices .search-choice .search-choice-close {
	left: 4px;
	right: auto;
}

.chzn-rtl.chzn-container-single .chzn-results {
	margin: 0 0 4px 4px;
	padding: 0 4px 0 0;
}

.chzn-rtl .chzn-results .group-option {
	padding-left: 0;
	padding-right: 15px;
}

.chzn-rtl.chzn-container-active .chzn-single-with-drop div {
	border-right: none;
}

.chzn-rtl .chzn-search input {
	background: #fff url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -30px -20px;
	background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
	background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
	background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
	background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
	background: url('/bukeala-static/images/custom/backoffice/template/chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
	padding: 4px 5px 4px 20px;
	direction: rtl;
}

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

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

.states-chzn:has(select option[value="ACTIVE"]:checked) .chzn-single {
	background-color: var(--color-g50);
	border-color: var(--color-g500);
}

.states-chzn:has(select option[value="INACTIVE"]:checked) .chzn-single {
	background-color: var(--color-r50);
	border-color: var(--color-r600);
}

