body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
}

body.modal-open.drawer-open *:not(.drawer *) {
  overflow: hidden !important;
}

#wrapper {
  display: block;
}

app-menu {
  background: #43c654;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
  display: flex;
  height: 100%;
  flex-direction: column;
  width: 16rem;
  float: left;
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  transition: width 0.5s ease-in-out;
}

app-menu::-webkit-scrollbar {
  display: none;
}

app-menu,
app-menu .sidebar .nav-item .nav-link span i,
#content-wrapper,
#content-wrapper app-header > nav.topbar {
  transition: all 0.5s ease-in-out;
}

#content-wrapper,
#content-wrapper app-header > nav.topbar {
  width: calc(100% - 16rem) !important;
}

.close-side-menu > app-menu {
  width: 4rem !important;
}

.close-side-menu > #content-wrapper,
.close-side-menu > #content-wrapper app-header > nav.topbar {
  width: calc(100% - 4rem) !important;
}

.close-side-menu > app-menu .sidebar .nav-item .nav-link span {
  white-space: nowrap;
}

.close-side-menu > app-menu .sidebar .nav-item .nav-link span i {
  width: 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.component-fullscreen {
  overflow: hidden;
}

.component-fullscreen .row {
  margin: 0 !important;
  justify-content: center;
}

.component-fullscreen .offset-lg-4 {
  margin: 0 !important;
  width: 100% !important;
  max-width: 480px !important;
  flex: none !important;
}

.avatar-row {
  display: grid;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .avatar-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

app-button-load button {
  text-transform: capitalize;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 300;
}

.h5,
h5 {
  font-size: 1rem;
}

footer.sticky-footer .copyright {
  font-size: 0.7rem;
}

.form-control {
  outline: none;
  font-weight: 300;
}

.form-control:focus {
  /* border-color: #43C6545d;  */
  /* background-color: #43C65427; */
  -webkit-box-shadow: none;
  box-shadow: none;
  /* border: solid 2px #43C6545d; */
  border: solid 1px #43c654;
}

.form-control:disabled,
.form-control:disabled:focus,
.form-control[readonly],
.form-control[readonly]:focus {
  cursor: default;
  background-color: #d1d3e230;
  border-color: #d1d3e2;
}

select.form-control,
.form-control.input-bs {
  cursor: pointer;
}

input[type='date'].form-control {
  cursor: text;
}

.form-text {
  font-size: 0.7rem;
  margin: 0.2rem 0;
}

.input-search-menu,
.input-search-menu + .input-group-append {
  border: none;
  transition-property: box-shadow;
  transition-duration: 0.25s;
}
.input-search-menu:focus,
.input-search-menu:focus + .input-group-append {
  border: none;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.15);
}

.form-check {
  padding-left: 1.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

.dashboard-link {
  color: inherit;
}

.dashboard-link:hover {
  text-decoration: none;
  color: inherit;
}

.login {
  background-image: url(../../themes/login_fundo.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  padding-top: 65px;
}

.bg-gradient-primary {
  background-color: #43c654;
  background-image: linear-gradient(180deg, #43c654 10%, #43c654 100%);
  background-size: cover;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  font-weight: 400;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
  color: #43c654 !important;
}

.close-side-menu .sidebar .nav-item .collapse {
  display: none !important;
}

.navbar-brand {
  text-align: center;
}

.navbar-brand img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 15px;
  margin: auto;
}

.btn-danger {
  color: #fff !important;
}

.notification-box {
  overflow: auto !important;
  max-height: 400px;
}

.topbar .dropdown-list .dropdown-header {
  background-color: #43c654;
  border: 1px solid #43c654;
}

.component-root {
  width: 100%;
}

.btn-info {
  color: #fff !important;
}

.tr-browserseek {
  cursor: pointer;
}

.tr-browserseek img {
  max-width: 120px;
}

.img-thumbnail-list {
  width: 100px;
}

.page-header {
  font-size: 24px !important;
  font-weight: 500;
}

.comments-list {
  font-size: 12px;
}

#wrapper #content-wrapper {
  /* background-color: #f8f9fc; */
  background-color: #fcfcfc;
  overflow-x: hidden;
  float: right;
  min-height: 100vh;
}

.sidebar .nav-item .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 1rem;
}

.sidebar-dark .nav-item .nav-link i,
.dropdown-header.menu-item i {
  width: 1rem;
  margin-right: 1rem;
}

.sidebar .nav-item .nav-link i {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar .nav-item .nav-link span,
.dropdown-header.menu-item span {
  /* font-size: .85rem; */
  font-size: 0.95rem;
  /* font-weight: bold; */
  font-weight: 400;
  color: #ffffff;
  display: inline;
  /* text-transform: uppercase; */
  text-transform: initial;
  font-family: sans-serif;
}

.sidebar .nav-item .nav-link span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.filter-buton-text {
  display: none;
}

.tab-content {
  margin-top: 20px;
}

.collapse-inner {
  min-width: initial !important;
}

.sidebar {
  width: initial !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.nav-pills .nav-link:hover {
  background-color: #858796;
  color: #ffffff !important;
  cursor: pointer;
}

.nav-pills .nav-link {
  padding: 0.25rem 0.5rem;
  color: #43c654 !important;
  border: 1px solid #43c654;
  margin: 0 0.25em 0.5em;
}

.container,
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

.img-modal {
  max-width: 100%;
}

.modal-dialog-xb {
  max-width: 1100px;
}

.modal-body-file-reader {
  max-height: 600px;
  overflow: scroll;
}

.btn-blocked {
  cursor: not-allowed;
}

@media (max-width: 800px) {
  app-menu {
    display: none;
    width: 100%;
  }

  app-header nav {
    background-color: #43c654 !important;
    color: #fff !important;
  }

  .nav-item .text-gray-600 {
    color: #fff !important;
  }

  #content-wrapper,
  #content-wrapper app-header > nav.topbar,
  .close-side-menu > #content-wrapper,
  .close-side-menu > #content-wrapper app-header > nav.topbar {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  .filter-buton-text {
    display: inline;
  }
}

@media (min-width: 768px) {
  .sidebar {
    width: 100% !important;
  }
}

.inative_row {
  text-decoration: line-through;
  color: #999ff9;
}

.now-row {
  color: #1b5ac3;
}

.paied-row {
  color: #43c654;
}

.overdue-row {
  color: red;
}

.warning-row {
  color: #ffcb00;
}

.required:after {
  content: '*';
  color: red;
  /*padding-left: 1%;*/
}

.order-inactive {
  display: none;
}

.td-checkbox,
.td-grip,
.td-control {
  width: 40px;
  text-align: center;
  vertical-align: middle !important;
}

.td-grip i {
  cursor: grab;
}

.th-ordered {
  cursor: pointer;
}

.img-table {
  max-width: 250px;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.nav-tabs li a {
  color: #43c654;
}

.modal-content {
  border: none;
}

.th-md {
  width: 100px;
}

.th-sm {
  width: 100px;
}

.nav-tabs .nav-link {
  color: #9fa3af;
}

.nav-tabs .nav-link.disabled {
  color: #c9cbda;
}

.breadcrumb-item a,
.breadcrumb-item a:hover {
  color: #6e707e;
}
.breadcrumb {
  background-color: #fff;
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.info-pane p {
  color: blue;
  font-weight: bold;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-weight: bold;
}

label {
  margin-bottom: 0rem;
  /* font-weight: bold; */
}

.table-sm th {
  /* height: 50px; */
  padding: 0.5rem;
}

.table-sm th,
.table-sm td,
.table-bordered th,
.table-bordered td {
  vertical-align: middle !important;
}

.table thead th {
  font-weight: 600;
  border-bottom: none;
  vertical-align: top !important;
}

.modal-dialog-bg {
  max-width: 900px;
}

.modal-dialog-extend {
  max-width: 90%;
}

.responsive-column {
  display: none;
}

.responsive-column dl {
  margin: 0;
  font-size: 0.9rem;
}

.responsive-column dt,
.responsive-column dd {
  display: inline-block;
  margin: 0;
}

.responsive-column dt {
  margin-right: 0.25rem;
  font-weight: 600;
}

.responsive-column dd:empty::after {
  content: '-';
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #43c654;
  background-color: #43c654;
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: none !important;
}

.custom-control-label {
  cursor: pointer;
}

.btn-success {
  background-color: #43c654;
  border-color: #43c654;
}

.btn-success:hover {
  background-color: #3a963a;
  border-color: #3a963a;
}

.btn-outline-success {
  color: #43c654;
  border-color: #43c654;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:not(:disabled):not(.disabled):active,
.show > .btn-outline-success.dropdown-toggle,
.btn-outline-success:active {
  background-color: #3a963a;
  border-color: #3a963a;
  box-shadow: inherit !important;
  color: #fff;
}

.my-bt-search-menu {
  border: solid 1px #fff;
}

.my-input-search-menu,
.my-input-search-menu ~ .input-group-append,
.my-input-search-menu ~ .input-group-append button {
  transition: all 0.5s ease-in-out;
}

.my-input-search-menu {
  border: solid 1px #fff;
}

@media (min-width: 801px) {
  .close-side-menu .my-input-search-menu {
    width: 0;
    border: none;
    padding: 0;
    flex: none;
  }

  .close-side-menu .my-input-search-menu ~ .input-group-append {
    margin: 0;
  }

  .close-side-menu .my-input-search-menu ~ .input-group-append > button.btn.btn-search-menu {
    border-radius: 0.35rem !important;
  }
}

.collapse-item {
  white-space: initial !important;
}

.dropdown-item {
  cursor: pointer;
}

.input-color-picker {
  max-width: 50px !important;
}

.form-control-range {
  margin-top: 0.5em;
}

@media (max-width: 800px) {
  .table-sm th,
  .table-sm td,
  .table-select-submodule th,
  .table-select-submodule td {
    display: none;
  }

  .table-sm .td-checkbox,
  .table-sm .td-grip,
  .table-sm .td-control,
  .table-select-submodule .td-checkbox,
  .table-select-submodule .td-grip,
  .table-select-submodule .td-control {
    display: table-cell;
  }

  .table-sm .th-md,
  .table-select-submodule .th-md {
    display: table-cell;
  }

  .table-sm .responsive-column,
  .table-select-submodule .responsive-column {
    display: table-cell;
  }
}

google-chart {
  margin: 0 auto;
}

.card-body-dashboard {
  overflow: auto;
}

.btn-clear {
  border-top-right-radius: 0.35rem !important;
  border-bottom-right-radius: 0.35rem !important;
  margin-left: 4px;
}

/* .btn-group.dropdown>.dropdown-toggle.btn:not(:last-child) {
    border-radius: 0 !important;
} */

.btn-outline-secondary:hover {
  color: #fff !important;
}

.selected-items-label {
  padding-top: 10px;
  padding-bottom: 10px;
  height: 40px;
}

.dropdown-item.active {
  background-color: #9fa3af;
  color: #fff !important;
}

.dropdown-filter-group {
  max-height: 400px;
  overflow: auto;
}

.dropdown-menu.main {
  top: 68px;
  min-width: 20rem;
}

.force-append {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.force-prepend {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* @media screen and (min-width: 576px) and (max-width: 800px) {
  .dropdown-menu {
    width: 300px !important;
  }
} */

.navbar i.header-icon,
.navbar i.menu-icon {
  color: white;
  font-size: 20px;
  line-height: 70px;
  vertical-align: middle;
}

.navbar i.menu-icon {
  font-size: 2rem;
}

@media screen and (min-width: 768px) {
  .navbar i.fa-bell,
  .navbar i.fa-question {
    color: #ccc;
  }

  .navbar i.fa-bell:hover,
  .navbar i.fa-question:hover {
    color: #777;
  }
}

#dropdownMenuButton {
  background: none !important;
}

#dropdownMenuButton:after {
  display: none;
}

@media (max-width: 800px) {
  #dropdownMenuButton {
    display: block !important;
  }
}

.btn.rounded-circle {
  padding-block: 0;
  padding-top: 0;
  border-radius: 0 !important;
  border: 0;
}

.dropdown-menu i {
  font-size: 15px;
  line-height: 30px;
  vertical-align: middle;
}

.card {
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.card.shadow {
  transition: all 0.25s ease-in-out;
}

.card-shadow-login {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: none;
}

.card.shadow:hover {
  box-shadow: 1px 1px 10px 3px #ccc !important;
  transform: scale(1.025);
}

nav.topbar {
  position: fixed;
  z-index: 1040;
}

#page-wrapper {
  padding-top: 94px;
}

.show .dropdown-toggle:after {
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}

.overdue-row {
  color: #c64743 !important;
}

.table-hover tr:hover {
  background: rgba(0, 0, 0, 0.1) !important;
}

/* Comentado pois quebrava a exibição na listagem */
/* .btn-outline-secondary.btn-blocked {
    background: #ddd !important;
    border-color: #f4dcdc;
    border-radius: 5px !important;
    color: #d07976 !important;
    width: 44px;
    cursor: not-allowed !important;
} */

.dropdown-menu.main {
  background: #43c654;
  overflow: scroll;
  height: calc(100vh - 70px);
  border: 0;
  border-radius: 0;
}

.dropdown-menu.main .dropdown-header {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-decoration: none;
}

.dropdown-menu.main .dropdown-header::after {
  width: 1rem;
  text-align: center;
  float: right;
  vertical-align: 0;
  border: 0;
  font-weight: 900;
  content: '';
  font-family: 'Font Awesome 5 Free';
  transform: rotateZ(-90deg);
}

.dropdown-menu.main .dropdown-header:hover {
  color: white;
}

.dropdown-menu.main .dropdown-header.selected {
  color: white;
}

.dropdown-menu.main .dropdown-header.selected:after {
  transform: rotateZ(0deg);
}

.dropdown-menu.main .dropdown-item {
  box-sizing: border-box;
  color: #2e2f37;
  white-space: nowrap;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition-duration: 0.5s;
}

.dropdown-menu.main .dropdown-header.selected ~ .white-bg .dropdown-item {
  max-height: 2.5rem;
  padding-top: 8px;
  padding-bottom: 8px;
}

.white-bg {
  background: white;
  border-radius: 0.35rem;
  margin: 0 1rem;
}

.header-info {
  text-align: right;
}

.tab-pane .btn.btn-outline-success.dropdown-toggle::after {
  transform: rotateZ(180deg);
}

.btn.btn-outline-success.dropdown-toggle[aria-expanded='true']::after {
  transform: rotateZ(0deg);
}

.page-item {
  cursor: pointer;
}

.page-link,
.page-item.dropup > .page-link,
.page-link:hover,
.page-link:focus {
  color: #858796;
  box-shadow: none;
}

@media (max-width: 600px) {
  .page-text {
    display: none;
  }
}

.page-item.disabled {
  cursor: initial;
}

.page-item.disabled .page-link {
  cursor: initial;
  color: #b8bac9;
}

.page-dropdown {
  top: auto !important;
  bottom: calc(100% + 3px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* .page-item.dropup>.page-link{
    color: #43c654;
} */

.total-card {
  width: 180px;
  margin-left: 15px;
  margin-bottom: 10px;
}

.total-card:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.total-card .card-body {
  padding: 5px 10px;
}

@media (min-width: 768px) {
  .total-card {
    width: 210px;
  }
}

/* .dropup .dropdown-toggle::after {
    display: none;
} */

@media print {
  * {
    color: black;
  }

  app-menu,
  app-header,
  app-footer,
  .bi-result-buttons {
    display: none;
  }

  .bi-box {
    width: auto !important;
  }

  #page-wrapper {
    padding-top: 30px !important;
  }
}

.badge-slug {
  white-space: pre-wrap;
  text-align: left;
}

.badge-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.badge-col .badge {
  margin: 2px;
}

.modal-sm {
  width: 400px !important;
  max-width: 400px !important;
}

.treeview-label {
  cursor: pointer;
}

.table-calendar {
  text-align: center;
}

.badge-calendar {
  color: #fff;
  background-color: #1cc88a;
  cursor: pointer;
  padding: 5px;
  margin-bottom: 5px;
  font-weight: inherit;
}

.badge-calendar:hover {
  background-color: #43c654;
}

.dropdown-toggle::after {
  margin-left: 0;
}

.btn-group--responsive {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media screen and (max-width: 800px) {
  .btn-group--responsive {
    flex-direction: column-reverse;
  }
}

.spinner-border {
  vertical-align: baseline;
}

/* checkbox */

.checkbox-field {
  display: block;
  user-select: none;
}

.checkbox-field input[type='checkbox'] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

.checkbox-field input[type='checkbox']:checked ~ .checkbox-field__checkmark {
  background-color: #43c654;
  border: 1px solid #43c654;
}

.checkbox-field input[type='checkbox']:checked ~ .checkbox-field__checkmark::after {
  opacity: 1;
}

.checkbox-field__checkmark {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
  border: 1px solid #858796;
  background-color: transparent;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  transform: translateY(2px);
}

.checkbox-field__checkmark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  transform: translateX(-50%) translateY(-60%) rotate(45deg);
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  opacity: 0;
}

.checkbox-field__label {
  margin-left: 0.25rem;
}

/* btn */
.btn:hover,
.btn:active,
.btn:focus {
  box-shadow: none !important;
}

.input-group > .input-group-append > .btn {
  border: 1px solid #d1d3e2;
  border-left-color: #ffffff !important;
  border-right-color: #ffffff !important;
  color: #858796;
}

.input-group > .input-group-append > .btn:last-of-type {
  border-right: 1px solid #d1d3e2 !important;
}

.input-group > .input-group-append > .btn.btn-outline-success:hover,
.input-group > .input-group-append > .btn.btn-outline-success:focus,
.input-group > .input-group-append > .btn.btn-outline-success:active {
  background-color: transparent !important;
  background: none !important;
  border: 1px solid #d1d3e2;
  color: var(--dark-color);
}

.input-group > .input-group-append > .btn.btn-outline-danger:hover,
.input-group > .input-group-append > .btn.btn-outline-danger:focus,
.input-group > .input-group-append > .btn.btn-outline-danger:active {
  background-color: transparent !important;
  background: none !important;
  border: 1px solid #d1d3e2;
  color: #cc4135;
}

/* btn */

.btn-danger {
  color: #fff;
  background-color: #858796;
  border-color: #858796;
}

.btn-danger:focus,
.btn-danger:active,
.btn-danger:hover,
.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #717384;
  border-color: #6b6d7d;
}

.btn-outline-danger {
  color: #858796;
  border-color: #858796;
}

.btn-outline-info:hover,
.btn-outline-info:active,
.btn-outline-info:not(:disabled):not(.disabled):active,
.btn-outline-info:not(:disabled):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
  color: #ffffff !important;
  background-color: transparent !important;
  /* border-left-color: #ffffff !important;
    border-right-color: #ffffff !important; */
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:not(:disabled):not(.disabled):active {
  background-color: #858796;
  border-color: #858796;
  color: #ffffff;
}

.btn-info {
  color: #858796 !important;
  background-color: transparent;
  border-color: #858796;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
  background-color: #858796;
  border-color: #858796;
  color: #ffffff !important;
}

.input-group > .input-group-append > .btn.btn-search-menu,
.input-group > .input-group-append > .btn.btn-search-menu:focus,
.input-group > .input-group-append > .btn.btn-search-menu:hover,
.input-group > .input-group-append > .btn.btn-search-menu:active {
  border: none !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  z-index: 3 !important;
}

/* table */

.table-striped tbody tr {
  background-color: transparent !important;
}

.table-striped tbody tr.table-success {
  background-color: #ebf9ed !important;
}

.table-striped tbody tr.table-success:hover {
  background-color: #d8e6da !important;
}

.table-success,
.table-success > th,
.table-success > td {
  background-color: transparent;
}

.table-hover .table-success:hover {
  background-color: transparent;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
  background-color: transparent;
}

.table-scroll {
  max-height: 30rem;
  overflow-y: auto;
}

td {
  white-space: pre-wrap;
}

@media (max-width: 800px) {
  td {
    word-break: break-all;
  }
}

/* toastr */

.toast-info {
  background-color: #858796 !important;
}

/* pdf-reader */

.modal-pdf-reader {
  max-width: calc(100% - 4rem);
}

.modal-body-pdf-reader {
  max-height: calc(100vh - 12rem);
  overflow: auto;
}

@media (max-width: 575px) {
  .modal-pdf-reader {
    max-width: none;
  }
}

/* search menu */

.topbar .navbar-search {
  width: 100%;
}

app-search-menu .navbar-search .input-group {
  flex-wrap: nowrap;
}

/* DRAG & DROP */

.cdk-drag td {
  height: 5rem;
}

.cdk-drag-preview {
  z-index: 1040;
  background-color: #ffffff;
  height: auto !important;
  border-radius: 0.35rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
}

tr.cdk-drag-preview td {
  vertical-align: middle !important;
  padding: 0.3rem;
}

tr.cdk-drag-preview td .btn-group {
  display: none;
}

.cdk-drag-placeholder {
  opacity: 0;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

@media (max-width: 800px) {
  tr.cdk-drag-preview td {
    display: none;
  }

  tr.cdk-drag-preview td.responsive-column,
  tr.cdk-drag-preview td.td-checkbox,
  tr.cdk-drag-preview td.td-grip,
  tr.cdk-drag-preview td.td-control {
    display: table-cell;
  }
}

/* Table Container */

.table-container {
  max-height: 100vh;
  min-height: 6rem;
  overflow-y: auto;
  width: 100%;
}

.table-container table {
  width: 100%;
}

.table-container thead {
  position: sticky;
  z-index: 1;
  top: -1px;
  background-color: #ffffff;
  box-shadow: inset 0px -1px 0px 0px #e3e6f0;
}

.dashboard-dado-triplo-label-subdado {
  font-size: 0.7rem;
}

.dropdown .dropdown-menu {
  z-index: 1040;
  max-width: calc(100vw - 1rem);
}

.dropdown .dropdown-menu a {
  white-space: break-spaces;
}

@keyframes green-pulse {
  0% {
    color: inherit;
    transform: scale(1);
  }

  30% {
    transform: scale(0.8);
  }

  70% {
    color: #43c654;
    transform: scale(1.2);
  }

  100% {
    color: inherit;
    transform: scale(1);
  }
}

.btn-action-success i {
  animation: green-pulse 0.75s;
}

.btn-copy-textarea {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.25rem;
}

.line-break {
  white-space: pre-line;
}

/* business flow */

.business-flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.5rem 0;
  list-style: none;
  padding: 0;
}

.business-flow__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: none;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  clip-path: polygon(calc(100% - 0.5rem) 0, calc(100%) 50%, calc(100% - 0.5rem) 100%, 0% 100%, 0.5rem 50%, 0% 0%);
  -webkit-clip-path: polygon(
    calc(100% - 0.5rem) 0,
    calc(100%) 50%,
    calc(100% - 0.5rem) 100%,
    0% 100%,
    0.5rem 50%,
    0% 0%
  );
  line-height: 1;
  color: #ffffff;
  background-color: #858796;
  cursor: pointer;
}

.business-flow__item.active {
  background-color: #43c654;
}

.business-flow__icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  margin-right: 0.25rem;
}

.business-flow__progress {
  font-size: 0.8rem;
}

.business-flow__next-button {
  min-width: 10rem;
}

/* reverse custom switch */

.custom-switch__reverse {
  padding: 0 2.25rem 0 0;
}

.custom-switch__reverse input {
  left: auto;
  right: 0;
}

.custom-switch__reverse label {
  display: block;
}

.custom-switch__reverse label::before {
  left: auto !important;
  right: -2.25rem;
}

.custom-switch__reverse label::after {
  left: auto !important;
  right: calc(-1.5rem + 2px);
}

/* Kanban */

.kanban {
  width: 100%;
  min-height: 25rem;
  max-height: calc(100vh - 25rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kanban__body {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 20rem;
  gap: 0.5rem;
}

.kanban__section {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.5rem;
  margin: 0.25rem;
  padding: 1rem;
}

.kanban__heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  border-left: 0.25rem solid;
  padding-left: 0.5rem;
}

.kanban__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kanban__item {
  padding: 1rem;
  font-size: 14px;
  line-height: 1.25;
  cursor: grab;
}

.kanban__item:hover {
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.kanban__item:active {
  cursor: grabbing;
}

.kanban__item dl {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 !important;
}

.kanban__item dt,
.kanban__item dd {
  display: inline;
  margin: 0 !important;
}

.kanban__item dt {
  font-weight: 500;
}

/* progress-bar-loader */

.progress-bar-loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0.25rem;
  background-color: #aaaaaa;
  transform: translateY(-150%);
  transition: transform 0.75 ease-in-out;
}

.progress-bar-loader.active {
  transform: translateY(0);
}

.progress-bar-loader::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #555555;
  animation: progressbarloader 0.75s infinite linear;
  transform-origin: 0% 50%;
}

@keyframes progressbarloader {
  0% {
    transform: translateX(0) scaleX(0);
  }
  50% {
    transform: translateX(0) scaleX(0.5);
  }
  100% {
    transform: translateX(100%) scaleX(0.5);
  }
}

.angular-editor-textarea::after {
  display: none !important;
}
