.sector-select--label {
  font-family: 'Raleway';
  font-weight: bold;
  font-size: 12px;
}

.sector-select + .select2 {
  width: 100% !important;
  max-width: calc(100% - 2.2em);
}

.sector-select + .select2-container--default .select2-selection--single {
  background-color: var(--grayColor-5);
  border: none;
  border-radius: 0;
}

.sector-select + .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.7em;
  font-size: 1em;
}

.sector-select + .select2-container--default .select2-selection--single {
  background-color: var(--grayColor-5);
  height: 26px;
}

.bg-grayColor-5 .sector-select + .select2-container--default .select2-selection--single {
  background-color: #fff;
}

.sector-select + .select2 .select2-selection__arrow b {
  border: none;
}

.sector-select + .select2 .select2-selection__arrow {
  background-image: url(../icons/boton_selecy.svg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 26px;
  width: 34px;
  /* background-color: var(--mainColor-8); */
  border-left: solid 6px #fff;
  box-sizing: content-box;
  top: 0;
}

.bg-grayColor-5 .sector-select + .select2 .select2-selection__arrow {
  border-left: solid 6px var(--grayColor-5);
}

.sector-select + .select2.select2-container--open .select2-selection__arrow {
  transform: rotate(180deg);
  border-left: none;
  border-right: solid 6px #fff;
}

.select-table-font-size + .select2 {
  width: 16em !important;
  text-align: left;
  border-radius: 0.3em;
  overflow: hidden;
}

.select-table-font-size + .select2-container--default .select2-selection--single {
  background-color: var(--mainColor-8);
  height: 30px;
}
.select-table-font-size + .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 30px;
  font-size: 14px;
}

.select-table-font-size + .select2 .select2-selection__arrow {
  background-image: url(../icons/boton_seleca-pf.svg);
  background-color: var(--mainColor-4);
  height: 30px;
  width: 40px;
  background-size: contain;
  background-position: center;
  border: none;
  top: 0;
  right: 0;
}

.select-table-font-size + .select2.select2-container--open .select2-selection__arrow {
  border-right: none;
}

.select-table-font-size + .select2 .select2-selection__rendered {
  color: transparent;
}

.select-table-font-size + .select2 .select2-selection__rendered::before {
  content: 'Aumentar tamaño de la letra ';
  color: #fff;
}

.btn-select,
.select2-results__option {
  font-family: 'Raleway';
  font-weight: normal;
  font-size: 13px;
  color: var(--fontColor);
  border-bottom: solid 0.25px var(--mainColor-5);
  min-height: 33px;
  position: relative;
  padding-left: 3em;
  --anchoBefore: 20px;
  --leftBefore: 0.5em;
  --topBefore: 5px;
}

.btn-select:first-child {
  border-top: solid 0.25px var(--mainColor-5);
}

.btn-select::before,
.select2-results__option::before {
  content: '';
  display: block;
  height: var(--anchoBefore);
  width: var(--anchoBefore);
  border: solid 0.25px var(--mainColor-5);
  border-radius: 50%;
  position: absolute;
  left: var(--leftBefore);
  top: var(--topBefore);
}

.btn-select::after,
.select2-results__option::after {
  content: '';
  display: block;
  height: calc(var(--anchoBefore) - 6px);
  width: calc(var(--anchoBefore) - 6px);
  border-radius: 50%;
  position: absolute;
  top: calc(var(--topBefore) + 3px);
  left: calc(var(--leftBefore) + 3px);
  background-color: var(--mainColor-5);
  transform: scale(0);
}

.btn-select:hover::after,
.btn-select.active::after,
.select2-results__option--highlighted::after {
  animation-duration: 0.3s;
  animation-name: animatedExpand;
  animation-fill-mode: forwards;
  /* animation-timing-function: ease-in-out; */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: transparent;
  color: var(--fontColor);
  font-weight: bold;
}

.select2-container--default .select2-results__option[aria-selected='true'] {
  background-color: transparent;
}

.sector-select + .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #edf9fc;
  font-weight: bold;
  color: var(--fontColor);
}

.sector-select + .select2-container--default .select2-results__option {
  border-bottom: 1px solid #00b3d7;
}

.select2-container--open .select2-dropdown--above {
  padding: 1.5em 1em 2em;
  border-radius: 12px;
  border: none;
  box-shadow: 8px 8px 20px -6px;
}

.sector-select[multiple] + .select2-container--default {
  width: calc(100% - 5em) !important;
  margin-right: 2.7em;
}

.sector-select[multiple] + .select2-container--default .select2-selection--multiple {
  background-color: var(--grayColor-5);
  min-height: 26px;
  border: none;
  border-radius: 0;
  position: relative;
}

.sector-select[multiple] + .select2-container--default .select2-selection--multiple::after {
  content: '';
  display: block;
  position: absolute;
  right: -2.7em;
  top: 0;
  width: 34px;
  height: 26px;
  background-image: url(../icons/boton_selecy.svg);
  background-size: 34px;
  background-repeat: no-repeat;
  box-sizing: content-box;
  background-position: right top;
  cursor: pointer;
}

.select2-hidden-accessible {
  width: 0;
}

.sector-select[multiple].con-comentarios + .select2-container--default {
  width: calc(100% - 7em) !important;
}

[aria-multiselectable='true'] .select2-selection__rendered {
  max-height: 100%;
  max-width: calc(100% - 3em);
}

[aria-multiselectable='true'] .select2-results__option::before {
  border-radius: 0;
}

[aria-multiselectable='true'] .select2-results__option--highlighted::after {
  animation: none;
}

[aria-multiselectable='true'] .select2-results__option::after {
  background-image: url(../icons/selected.svg);
  background-color: transparent;
  background-size: contain;
  border-radius: 0;
  height: 1.2em;
  width: 1.2em;
  background-repeat: no-repeat;
  top: 0.55em;
  left: 0.7em;
}

[aria-multiselectable='true'] .select2-results__option[aria-selected='true']::after {
  animation-duration: 0.3s;
  animation-name: animatedExpand;
  animation-fill-mode: forwards;
}

.sector-select[multiple] + .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: flex;
  flex-direction: row-reverse;
  background-color: var(--grayColor-7);
  color: var(--grayColor-6);
  border-radius: 0;
  border: none;
  align-items: center;
}

.sector-select[multiple] + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 0.5em;
  margin-right: 0;
  background-color: var(--grayColor-6);
  color: #fff;
  width: 0.8em;
  height: 0.8em;
  color: transparent;
  position: relative;
}

.sector-select[multiple]
  + .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove::before {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../icons/delete-select.svg);
  background-size: contain;
}

.btn-select,
.sideModalTR .btn-select {
  width: 100%;
  text-align: left;
  border-radius: 0;
  white-space: normal;
}

.btn-select:hover,
.btn-select.active {
  text-decoration: none;
  border-bottom: solid 0.25px var(--mainColor-5);
  font-weight: 700;
}

.checkmark--container {
  --anchoBefore: 20px;
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: var(--anchoBefore);
  width: var(--anchoBefore);
  margin-bottom: 0;
  margin-left: 1rem;
}

.checkmark--container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--anchoBefore);
  width: var(--anchoBefore);
  border: solid 1px var(--mainColor-5);
}

.table-sisconpes th .checkmark {
  border: solid 1px #fff;
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

.checkmark--container input:checked ~ .checkmark:after {
  display: block;
}

.checkmark--container .checkmark:after {
  background-image: url(../icons/selected.svg);
  background-color: transparent;
  background-size: contain;
  border-radius: 0;
  height: calc(var(--anchoBefore) - 6px);
  width: calc(var(--anchoBefore) - 6px);
  background-repeat: no-repeat;
  top: 2px;
  left: 2px;
  animation-duration: 0.3s;
  animation-name: animatedExpand;
  animation-fill-mode: forwards;
}

.table-sisconpes th .checkmark--container .checkmark:after {
  background-image: url(../icons/selected-blanco.svg);
}

.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 3em;
}

.select2-container--default .select2-results__option[role='group']::before {
  content: none;
}

/* .select2-container--default .select2-results__group {
  padding-left: 3.5em;
} */

.input-datepicker,
.input-datepicker-year,
.input-datepicker-hour {
  background-image: url(../icons/datepicker.svg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 34px;
  cursor: pointer;
}

.datepicker-dropdown:before {
  content: none;
}

.datepicker.dropdown-menu {
  background-color: #edf9fc;
  font-family: 'Raleway', 'Helvetica Neue', sans-serif;
  border: none;
  box-shadow: 6px 6px 12px 0 #aaa;
  border-radius: 1em;
  padding: 0.5em 1.5em;
  color: #000;
}

.datepicker table tr td.day:hover,
.datepicker table tr td.focused,
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active:active {
  background-color: #00b4d7;
  border-color: #00b4d7;
  color: #fff;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.3s;
}

.datepicker table tr td.today {
  background-color: #00b3d710;
  border-color: #00b3d710;
  border-radius: 0;
  transition: all 0.3s;
}

.datepicker table tr td.active.active.focus,
.datepicker table tr td.active.active:focus,
.datepicker table tr td.active.active:hover,
.datepicker table tr td.active.highlighted.active.focus,
.datepicker table tr td.active.highlighted.active:focus,
.datepicker table tr td.active.highlighted.active:hover,
.datepicker table tr td.active.highlighted:active.focus,
.datepicker table tr td.active.highlighted:active:focus,
.datepicker table tr td.active.highlighted:active:hover,
.datepicker table tr td.active:active.focus,
.datepicker table tr td.active:active:focus,
.datepicker table tr td.active:active:hover {
  color: #fff;
  background-color: #009dbd;
  border-color: #00b4d7;
}

.datepicker table > thead > tr:first-child {
  border-bottom: solid 1px #00b4d7;
}

.datepicker table > thead > tr:first-child .prev,
.datepicker table > thead > tr:first-child .next {
  color: transparent;
  background-image: url(../icons/prev-datapicker.svg);
  background-size: 1.5em;
  background-repeat: no-repeat;
  background-position: center;
}

.datepicker table > thead > tr:first-child .next {
  transform: rotate(180deg);
}

.select2-container .select2-search--inline,
.select2-container--default .select2-search--inline .select2-search__field {
  width: 100% !important;
}

@media screen and (max-width: 768px) {
  .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    overflow: auto;
  }
  .select-table-font-size + .select2 {
    width: 18em !important;
  }

  .sector-select.con-comentarios + .select2 {
    max-width: calc(100% - 5.2em);
  }

  .sector-select[multiple].con-comentarios + .select2-container--default {
    width: calc(100% - 8em) !important;
  }
}
