/*UI-SELECT2*/

.ui-select-highlight {
  font-weight: bold;
}

.ng-not-empty.ui-select-search {
  background-image: none;
}

.ui-select-search {
  background-image: url("../img/search-icon.png");
  background-repeat: no-repeat;
  background-position: 98%;
  outline: 0;
  font-weight: 300;
}

.ui-select-offscreen {
  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;
}

.ui-select-choices.ui-select-choices-content {
  margin-bottom: 0;
}

.ui-select-choices-row:hover {
  background-color: #f5f5f5;
}

.ui-select-choices-row-inner {
  color: #555;
}

.ui-select-dropdown.dropdown-menu {
  width: 100%;
  max-height: 225px;
  overflow-y: auto;
  box-shadow: var(--bs-box-shadow);
  padding: 0;
  border: 0;
  margin-top: 1px;
}

/* Select2 theme */

/* Mark invalid Select2 */
.ng-dirty.ng-invalid > a.select2-choice {
  border-color: #d44950;
}

.select2-result-single {
  padding-left: 0;
}

.select2-locked > .select2-search-choice-close {
  display: none;
}

.select-locked > .ui-select-match-close {
  display: none;
}

body > .select2-container.open {
  z-index: 9999; /* The z-index Select2 applies to the select2-drop */
}

/* Handle up direction Select2 */
.ui-select-container[theme="select2"].direction-up .ui-select-match,
.ui-select-container.select2.direction-up .ui-select-match {
  border-radius: 4px; /* FIXME hardcoded value :-/ */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ui-select-container[theme="select2"].direction-up .ui-select-dropdown,
.ui-select-container.select2.direction-up .ui-select-dropdown {
  border-radius: 4px; /* FIXME hardcoded value :-/ */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-width: 1px; /* FIXME hardcoded value :-/ */
  border-top-style: solid;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
  margin-top: -4px; /* FIXME hardcoded value :-/ */
}

.ui-select-container[theme="select2"].direction-up .ui-select-dropdown .select2-search,
.ui-select-container.select2.direction-up .ui-select-dropdown .select2-search {
  margin-top: 4px; /* FIXME hardcoded value :-/ */
}

.ui-select-container[theme="select2"].direction-up.select2-dropdown-open .ui-select-match,
.ui-select-container.select2.direction-up.select2-dropdown-open .ui-select-match {
  border-bottom-color: #5897fb;
}

.ui-select-container[theme="select2"] .ui-select-dropdown .ui-select-search-hidden,
.ui-select-container[theme="select2"] .ui-select-dropdown .ui-select-search-hidden input {
  opacity: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

/* Selectize theme */

/* Helper class to show styles when focus */
.selectize-input.selectize-focus {
  border-color: #007fbb !important;
}

/* Fix input width for Selectize theme */
.selectize-control > .selectize-input > input {
  width: 100%;
}

/* Fix dropdown width for Selectize theme */
.selectize-control > .selectize-dropdown {
  width: 100%;
}

/* Mark invalid Selectize */
.ng-dirty.ng-invalid > div.selectize-input {
  border-color: #d44950;
}

/* Handle up direction Selectize */
.ui-select-container[theme="selectize"].direction-up .ui-select-dropdown {
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
  margin-top: -2px; /* FIXME hardcoded value :-/ */
}

.ui-select-container[theme="selectize"] input.ui-select-search-hidden {
  opacity: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  width: 0;
}

.select2-container--default .select2-selection--single {
  border: 2px solid #eaeaea;
  outline: 0;
  font-size: 13px;
  color: #6d88ab;
  font-weight: 600;
}

/* Bootstrap theme */

.btn-default-focus {
  box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(122, 152, 191, 0.6);
}

.ng-invalid .btn-default-focus {
  box-shadow: none;
}

.ng-invalid.ng-touched .btn-default-focus {
  box-shadow: none;
}

.ui-select-bootstrap .ui-select-toggle {
  position: relative;
}

.ui-select-bootstrap .ui-select-toggle > .caret {
  position: absolute;
  top: 15px;
  right: 10px;
  color: #797979;
}

/* Fix Bootstrap dropdown position when inside a input-group */
.input-group > .ui-select-bootstrap.dropdown {
  /* Instead of relative */
  position: static;
}

.input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
  border-radius: 4px; /* FIXME hardcoded value :-/ */
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
  border-radius: 4px !important; /* FIXME hardcoded value :-/ */
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.ui-select-bootstrap .ui-select-search-hidden {
  opacity: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.ui-select-bootstrap > .ui-select-match > .btn {
  /* Instead of center because of .btn */
  text-align: left !important;
  padding: 5px 6px 16px 12px;
  background-color: #fff !important;
  border: 1px solid #dee2e6 !important;
  text-shadow: none;
}

form.form-enviado .ui-select-container.ng-invalid .ui-select-toggle.btn {
  padding: 4px 6px 16px 11px;
}

fieldset[disabled] .ui-select-bootstrap > .ui-select-match > .btn {
  background-color: #eee !important;
}

.ng-invalid.ng-touched.ui-select-bootstrap > .ui-select-search:focus {
  border: 1px solid rgba(241, 121, 121, 0.41) !important;
  box-shadow: inset 0 1px 1px rgba(241, 121, 121, 0.075), 0 0 5px rgba(241, 121, 121, 0.6);
}

.form-enviado .ui-select-container.ui-select-bootstrap.dropdown.ng-invalid.open {
  box-shadow: inset 0 1px 1px rgba(241, 121, 121, 0.075), 0 0 5px rgba(241, 121, 121, 0.6);
}

.form-enviado .ui-select-container.ui-select-bootstrap.dropdown.ng-invalid.open .form-control.ui-select-search {
  border: 1px solid rgba(241, 121, 121, 0.41) !important;
  box-shadow: inset 0 1px 1px rgba(241, 121, 121, 0.075), 0 0 5px rgba(241, 121, 121, 0.6) !important;
}

.ui-select-bootstrap .ui-select-match .btn:active {
  box-shadow: none !important;
}

.ui-select-bootstrap > .ui-select-match > .caret {
  position: absolute;
  top: 45%;
  right: 15px;
}

/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
.ui-select-bootstrap > .ui-select-choices,
.ui-select-bootstrap > .ui-select-no-choice {
  width: 100%;
  height: auto;
  max-height: 350px;
  overflow-x: hidden;
  line-height: 1.42857143;
  /* z-index: 999999; */
  cursor: pointer;
  top: 101% !important;
  left: 0;
}

.ui-select-bootstrap > .ui-select-no-choice {
  --bs-dropdown-border-width: 1px;
  --bs-dropdown-border-color: #dfe5ef;
  margin: 2px 0 0;
  font-weight: 300;
  padding: 0.5rem 0.75rem;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
}

.ui-select-multiple.open {
  color: #575962;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  /* box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25); */
}

body > .ui-select-bootstrap.open {
  z-index: 99999; /* Standard Bootstrap dropdown z-index */
}

.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
  background-color: transparent !important; /* To prevent double background when disabled */
  border: none;
  font-weight: 300;
  background-position: calc(100% - 10px) 21%;
}

.ui-select-multiple .ui-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin-top: 1px;
  display: block;
}

.ui-select-multiple .ui-select-match-item {
  color: #395a7a !important;
  border: 1px solid #e3e3e3 !important;
}

.ui-select-multiple .ui-select-match-item.btn-primary,
.ui-select-multiple .ui-select-match-item.btn-primary:focus {
  background-color: rgba(0, 0, 0, 0.01);
  border-color: #eaeaea;
  text-shadow: none;
  color: #555;
}

.ui-select-multiple .ui-select-match-item.btn-primary:hover {
  background-color: transparent !important;
  border-color: #d1d1d1;
}

.ui-select-multiple .ui-select-match-item.dropping .ui-select-match-close {
  pointer-events: none;
}

.ui-select-multiple:hover .ui-select-match-item.dropping-before:before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  margin-right: 2px;
  border-left: 1px solid #428bca;
}

.ui-select-multiple:hover .ui-select-match-item.dropping-after:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  margin-left: 2px;
  border-right: 1px solid #428bca;
}

.ui-select-bootstrap .ui-select-choices-row > span {
  display: flex;
  align-items: center;
  clear: both;
  font-weight: 400;
  padding: 8px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.ui-select-bootstrap .ui-select-choices-row > span:hover,
.ui-select-bootstrap .ui-select-choices-row > span:focus {
  text-decoration: none;
  background-color: #f5f5f5;
}

.ui-select-bootstrap .ui-select-choices-row.active > span {
  text-decoration: none;
  outline: 0;
  background-color: rgba(122, 152, 191, 0.3);
}

.ui-select-bootstrap .ui-select-choices-row.disabled > span,
.ui-select-bootstrap .ui-select-choices-row.active.disabled > span {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
}

/* fix hide/show angular animation */
.ui-select-match.ng-hide-add,
.ui-select-search.ng-hide-add {
  display: none !important;
}

/* Mark invalid Bootstrap */
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
  border-color: #d44950;
}

/* Handle up direction Bootstrap */
.ui-select-container[theme="bootstrap"].direction-up .ui-select-dropdown {
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
}

.ui-select-bootstrap .ui-select-match-text {
  width: 100%;
  padding-right: 2em;
}

.ui-select-multiple.ng-valid {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.ui-select-bootstrap .ui-select-match-text > span {
  width: 100%;
  overflow: hidden;
  font-weight: 400;
  color: #395a7a;
  display: block;
}

.ui-select-bootstrap .ui-select-toggle > a.btn {
  position: absolute;
  right: 25px;
  top: 6px;
  padding: 0;
  color: #555;
  margin: 0 !important;
}

.ui-select-multiple .btn-xs {
  text-shadow: none;
  min-height: 26px !important;
}

.ui-select-multiple .btn-xxs {
  min-height: 20px !important;
  font-weight: 400;
  /*font-size: .9rem !important;*/
}

/*TOASTER*/
.toast-title {
  font-weight: 200;
  font-size: 1.8rem;
  margin-left: 35px;
}

.toast-body p {
  margin: 0;
}

.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  padding-top: 10px;
  font-size: 18px;
  font-weight: 200;
}

.toast-message a,
.toast-message label {
  color: #fff;
}

.toast-message a:hover {
  color: #ccc;
  text-decoration: none;
}

.toast-close-button {
  position: relative;
  float: right;
  top: -15px;
  font-size: 35px;
  font-weight: 200;
  color: #fff;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  -ms-filter: alpha(Opacity=80);
  filter: alpha(opacity=80);
}

.toast-close-button:focus,
.toast-close-button:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
  -ms-filter: alpha(Opacity=40);
  filter: alpha(opacity=40);
}

button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
}

.toast-top-center {
  top: 8%;
  right: 0;
  width: 100%;
}

.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%;
}

.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%;
}

.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%;
}

.toast-top-left {
  top: 7%;
  left: 12px;
}

.toast-top-right, .toast-top-right > .ngx-toastr {
  top: 7%;
  right: 12px;
  position: absolute !important;
}

.toast-bottom-right {
  right: 12px;
  bottom: 12px;
}

.toast-bottom-left {
  bottom: 12px;
  left: 12px;
}

#toast-container {
  position: fixed;
  z-index: 999999;
}

#toast-container ul {
  padding: 10px 0 10px 19px;
}

#toast-container > div {
  position: relative;
  min-width: 30rem;
  overflow: hidden;
}

#toast-container > :hover {
  opacity: 1;
  -ms-filter: alpha(Opacity=100);
  filter: alpha(opacity=100);
  cursor: pointer;
}

#toast-container.toast-bottom-center > div,
#toast-container.toast-top-center > div {
  margin: auto;
}

#toast-container.toast-bottom-full-width > div,
#toast-container.toast-top-full-width > div {
  width: 96%;
  margin: auto;
}

.toast {
  background-color: #030303;
}

.toast-success {
  background-color: #68c5b5 !important;
}

.toast-error {
  background-color: #d44950 !important;
}

.toast-info {
  background-color: #698bb7 !important;
}

.toast-warning {
  background-color: #d89b46 !important;
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000;
  opacity: 0.4;
  -ms-filter: alpha(Opacity=40);
  filter: alpha(opacity=40);
}

#toast-container .toast-error:before {
  font-family: "Line Awesome Free";
  font-weight: 900;
  content: "\f071";
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 30px;
  line-height: 1;
}

#toast-container .toast-success:before {
  font-family: "Line Awesome Free";
  font-weight: 900;
  content: "\f00c";
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 30px;
  line-height: 1;
}

#toast-container .toast-warning:before {
  font-family: "Line Awesome Free";
  font-weight: 900;
  content: "\f071";
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 30px;
  color: white;
  line-height: 1;
}

#toast-container .toast-info:before {
  font-family: "icomoon";
  content: "\e956";
  position: absolute;
  left: 35px;
  top: 30px;
  font-size: 22px;
  line-height: 1;
}

@media all and (max-width: 240px) {
  #toast-container > div {
    padding: 8px 8px 8px 50px;
    width: 11em;
  }

  #toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
}

@media all and (min-width: 241px) and (max-width: 480px) {
  #toast-container .toast-close-button {
    right: -0.2em;
    top: -0.2em;
  }
}

/*.datetime-picker-dropdown {
    padding: 10px;
    z-index: 99999;
}*/

.uib-datepicker-popup li table .btn-outline-light,
.uib-datepicker .btn-outline-light {
  border: 0 !important;
  padding: 5px 10px;
  font-weight: 300;
  justify-content: center;
  color: #000;
}

.uib-datepicker .btn-outline-light.active {
  background: #dddddd;
  color: #fff;
}

.uib-datepicker-popup li table tr.uib-months td.uib-month .btn-outline-light,
.uib-datepicker li table tr.uib-months td.uib-month .btn-outline-light {
  padding: 12px;
}

.uib-datepicker-popup li table thead,
.uib-datepicker thead {
  background-color: #fff !important;
  line-height: 1.5em;
}

.uib-datepicker-popup .text-muted,
.uib-datepicker .text-muted {
  color: #ccc !important;
  font-weight: 200;
}

.multiSelect label {
  margin: 10px;
}

.multiSelect .btn {
  margin: 10px;
}

.multiSelect .first-pool:after {
  content: "\e94f";
  font-family: "icomoon" !important;
  font-size: 19px;
  color: #ccc;
  position: absolute;
  top: calc(50% - 19px);
  right: -10px;
}

.multiSelect .pool {
  border: 1px solid #dfe5ef;
  border-radius: 4px;
  padding: 5px 10px;
  height: 150px;
  overflow-y: auto;
}

.multiSelect .pool ul {
  list-style: none;
  padding-left: 0px;
}

.multiSelect .pool ul li {
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px dotted #cfcfcf;
}

.multiSelect .pool ul li a:hover {
  text-decoration: none;
}

/*
    Common
*/

/*
Tabcontrol
*/

.tabcontrol > .steps {
  position: relative;
  display: block;
  width: 100%;
}

.tabcontrol > .steps > ul {
  position: relative;
  margin: 6px 0 0 0;
  top: 1px;
  z-index: 1;
}

.tabcontrol > .steps > ul > li {
  float: left;
  margin: 5px 2px 0 0;
  padding: 1px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.tabcontrol > .steps > ul > li:hover {
  background: #edecec;
  border: 1px solid #bbb;
  padding: 0;
}

.tabcontrol > .steps > ul > li.current {
  background: #fff;
  border: 1px solid #bbb;
  border-bottom: 0 none;
  padding: 0 0 1px 0;
  margin-top: 0;
}

.tabcontrol > .steps > ul > li > a {
  color: #5f5f5f;
  display: inline-block;
  border: 0 none;
  margin: 0;
  padding: 10px 30px;
  text-decoration: none;
}

.tabcontrol > .steps > ul > li > a:hover {
  text-decoration: none;
}

.tabcontrol > .steps > ul > li.current > a {
  padding: 15px 30px 10px 30px;
}

.tabcontrol > .content {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 35em;
  overflow: hidden;
  border-top: 1px solid #bbb;
  padding-top: 20px;
}

.tabcontrol > .content > .body {
  float: left;
  position: absolute;
  width: 95%;
  height: 95%;
  padding: 2.5%;
}

.tabcontrol > .content > .body ul {
  list-style: disc !important;
}

.tabcontrol > .content > .body ul > li {
  display: list-item;
}

.card-footer {
  --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0);
}

/* Novo */

.ui-select-choices:not(.ng-hide) {
  display: block !important;
}
