/*
Version: 3.4.8 Timestamp: Thu May  1 09:50:32 EDT 2014
*/
.select2-container {
  margin: 0;
  position: relative;
  display: inline-block;

  width: 100% !important;
}

.select2-container,
.select2-drop,
.select2-search,
.select2-search input {
  /*
  Force border-box so that % widths fit the parent
  container without overlap because of margin/padding.
  More Info : http://www.quirksmode.org/css/box.html
*/
  -webkit-box-sizing: border-box; /* webkit */
  -moz-box-sizing: border-box; /* firefox */
  box-sizing: border-box; /* css3 */
}

.select2-container .select2-choice {
  display: flex;
  justify-content: space-between;
  height: 100%;
  padding-left: 50px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  line-height: 26px;
  color: #444;
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* background-color: transparent; */
}

.select2-container .select2-choice::after {
  /* content: ""; */
  position: absolute;
  top: 0;
  left: 0;

  margin-top: 20px;
  margin-left: 20px;
  margin-right: 8px;

  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 7px 7px 0 7px !important;
  height: 0;
  width: 0;
}

.select2-container .select2-choice abbr {
  width: 12px;
  height: 12px;
  margin: auto 5% auto 0px;
  color: black;
  background: url(../img/x.svg) right top no-repeat;
  background-size: contain;
}

.select2-container .select2-choice abbr:hover {
  filter: invert(46%) sepia(95%) saturate(3595%) hue-rotate(322deg) brightness(96%) contrast(84%); /* inverte a cor do SVG para vermelho */
}

.select2-container.open .select2-choice::after {
  transform: rotate(180deg);
}

.select2-container.select2-drop-above .select2-choice {
  border-bottom-color: #aaa;

  border-radius: 0 0 4px 4px;
}

.select2-container .select2-choice .select2-chosen {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  padding-right: 15%;
}

/* .select2-container .select2-choice > .select2-chosen[ng-show] {
  display: block;
  margin: 0 !important;
  padding: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  top: 0;
  border-top-width: 0px;
  border-right-width: 0px;
  padding-top: 9px;
} */

.select2-container .select2-chosen .select2-selection__rendered {
  overflow: hidden;
}

.select2-container .select2-chosen .select2-selection__rendered span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select2-container .select2-choice .select2-chosen span {
  text-overflow: ellipsis;
  overflow: hidden;
}

.select2-negate {
  height: var(--height-input-default);
  width: min-content;
  display: flex;
  align-items: center;

  position: absolute;
  top: 0;
  right: max(5%, 30px);
  cursor: default;
}

.select2-negate b {
  height: 20px;
  width: 20px;
  border-radius: 50%;

  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.select2-negate b:hover {
  background-color: #ccc;
}

.select2-drop {
  width: 100%;
  margin-top: -1px;
  position: absolute;
  z-index: 500;
  top: 100%;

  background: #fff;
  color: #000;

  margin-top: 10px !important;
  border: 1px solid var(--secondary-color) !important;
  border-radius: 10px !important;
}

.select2-drop.select2-drop-above {
  margin-top: 1px;
  border-top: 1px solid #aaa;
  border-bottom: 0;

  border-radius: 4px 4px 0 0;
}

.select2-drop-active {
  border-top: none;
  box-shadow: none !important;
}

.select2-drop-auto-width {
  border-top: 1px solid #aaa;
  width: auto;
}

.select2-container .select2-choice .select2-arrow {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.select2-container .select2-choice .select2-arrow b {
  position: absolute;
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 7px 7px 0 7px !important;
}

.select2-container.open .select2-choice .select2-arrow b {
  transform: rotate(180deg);
}

.select2-search {
  display: inline-block;
  width: 100%;
  min-height: 26px;
  margin: 0;
  padding: 10px;

  position: relative;
  /* z-index: 500; */

  white-space: nowrap;
}

.select2-search input {
  width: 100%;
  height: 34px;
  min-height: 26px;
  padding: 4px;
  margin: 0;

  outline: 0;
  font-family: sans-serif;
  font-size: 1em;

  border: 1px solid #aaa;
  border-radius: 0;
}

.ui-select-container[theme="select2"] {
  padding: 0;
  margin: 0 !important;

  height: var(--height-input-default) !important;
  border-radius: var(--border-radius) !important;
  border: 1px solid var(--secondary-color);
}

.ui-select-container.select2-container-disabled[theme="select2"] {
  overflow: hidden;
}

.input-field.form .ui-select-container[theme="select2"] {
  margin-bottom: 20px !important;
}

.ui-select-offscreen {
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  outline: 0 !important;
  left: 0px !important;
  top: 0px !important;
}

.select2-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* results */
.select2-results {
  max-height: 200px;
  padding: 0 4px;
  margin: 4px 4px 4px 0;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.select2-results ul.select2-result-sub {
  margin: 0;
  padding-left: 0;
}

.select2-results li {
  list-style: none;
  display: list-item;
}

.select2-results .select2-result-label {
  padding: 3px 7px 4px;
  margin: 0;
  cursor: pointer;

  min-height: 1em;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-height: 30px;
}

.select2-results .select2-highlighted {
  background-color: var(--primary-color);
  color: #fff;
}

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

.select2-results .select2-highlighted em {
  background: transparent;
}

.select2-results .select2-highlighted ul {
  background: #fff;
  color: #000;
}

.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-selection-limit {
  background: #f4f4f4;
  display: list-item;
  padding-left: 5px;
}


.select2-results .select2-disabled.select2-highlighted {
  color: #666;
  background: var(--bg-field-disabled);
  display: list-item;
  cursor: default;
}
.select2-results .select2-disabled {
  background: var(--bg-field-disabled);
  display: list-item;
  cursor: default;
}

.select2-results .select2-selected {
  display: none;
}

.select2-more-results {
  background: #f4f4f4;
  display: list-item;
}

/* disabled styles */

.select2-container.select2-container-disabled .select2-choice {
  background-color: var(--bg-field-disabled);
}

.select2-result-selectable .select2-match,
.select2-result-unselectable .select2-match {
  text-decoration: underline;
}

.select2-offscreen,
.select2-offscreen:focus {
  clip: rect(0 0 0 0) !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  outline: 0 !important;
  left: 0px !important;
  top: 0px !important;
}

.select2-display-none {
  display: none;
}

.select2-measure-scrollbar {
  position: absolute;
  top: -10000px;
  left: -10000px;
  width: 100px;
  height: 100px;
  overflow: scroll;
}

/* Retina-ize icons */

/* angular-ui-select2 componente */
.select2-container {
  margin: 0 !important;
}

/* angular-ui-select2 componente */
.select2-container-table {
  height: 40px !important;
  margin: 0 0 20px 0 !important;
}

/* angular-ui-select2 componente */
.ui-select-search.select2-input.ng-valid.ng-touched.ng-dirty.ng-valid-parse.ng-empty::after {
  content: "â†’";
}

/* angular-ui-select2 componente */
input.ui-select-search.select2-input.ng-pristine.ng-valid.ng-empty.ng-touched {
  margin: auto !important;
}

/* angular-ui-select2 componente */
.ui-select-search.select2-input.ng-valid {
  width: 100% !important;
}

/* angular-ui-select2 componente */
ul.select2-result-single {
  padding: 0 !important;
}

ul.select2-result-single:empty::after {
  content: "Digite mais caracteres" !important;
  padding-left: 6px;
}

.ui-select-container.select2-container-active {
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
  border-color: #80bdff;
}

.ui-select-container.field-invalid.select2-container-active {
  box-shadow: 0 0 0 0.25rem rgba(237,142,151,.25);
}

.ui-select-highlight {
  font-weight: bold;
}

.select2-drop
  .ui-select-choices.ui-select-choices-content.select2-results::-webkit-scrollbar {
  background: #ccc !important;
  width: 8px;
  border-radius: 4px;
  padding: 2px !important;
}

.select2-drop
  .ui-select-choices.ui-select-choices-content.select2-results::-webkit-scrollbar-thumb {
  background: #525861;
  border-radius: 4px;
}

.ui-select-choices-row {
  padding: 5px;
}

.ui-select-choices-row:not(.select2-highlighted):hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.select2-selection__clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-45%);

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 20px !important;
  width: 20px !important;
  border-radius: 50%;
}

.select2-selection__clear:hover {
  background-color: #ccc !important;
}

.select2-selection__clear span {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
