.breadcrumb {
  padding: 0.45rem 0.7rem;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  display: block;
}

@media (min-width: 992px)  {
    .custom-margin .custom-checkbox {
        margin-top: 31.23px;
    }
}

.inline {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
}

.btn {
  white-space: nowrap;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.input-group > .input-group-append > .btn {
    max-width: calc(100% + 1px);
}

.topbar #sidebarToggleTop {
    overflow: visible;
}

.dropdown-organization-switch {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.dt-buttons {
    text-align: left !important;
}

.dt-buttons:empty {
  margin-bottom: 0;
}


.dt-info, .dt-search {
  margin-bottom: 0.5em;
}

.dt-paging, .dt-length {
  margin-top: 0.5em !important;
}

.btn-toolbar, .dt-buttons {
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

div.dt-container>div.row {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
    div.dt-container div.row>* {
        margin-bottom: 0;
    }
}

.btn-toolbar .btn-group {
  position: initial;
}

.breadcrumb-item + .breadcrumb-item::before {
  float: none;
}

.breadcrumb-item {
  display: inline;
  padding-right: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.dataTables_scrollHeadInner, .dataTables_scrollFootInner {
  background-color: #ecedf1;
}

div.dataTables_scrollHead table.table-bordered {
  border: none;
}

table.dataTable {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
div.dt-button-collection {
  padding-left: 0;
  padding-right: 0;
}
.table-sm td,
.table-sm th {
  padding: 0.3rem 0.75rem;
}


table.dataTable > tbody > tr.selected > td > a {
  color: white !important;
}

table.dataTable > tbody > tr.selected > td > .badge a {
  color: inherit;
}

.badge a {
  color: inherit;
}

@media print {
  table.dataTable > tbody > tr.selected > td {
    color: inherit;
  }

  tr.column-filters {
      display: none;
  }

  .dt-layout-start, .dt-layout-end {
      display: none !important;
  }
}



.table-detail tbody th {
  width: 1%;
  min-width: 150px;
  padding-left: 0;
}

.col-12 > .table-responsive .table-detail tbody th {
    white-space: nowrap;
}

@media print {
    .table-detail tbody th {
      white-space: nowrap;
    }
}

.btn-toolbar > div > a:not(.btn-child) > span > span {
  display: none;
}

.dt-buttons > a:not(.btn-child) > span > span {
  display: none;
}

.breadcrumb-item.active {
  font-weight: bold;
  color: inherit;
}

.breadcrumb-item a {
  color: inherit;
}

div.dt-container div.dt-scroll-body table, div.dt-container div.dt-scroll-body tbody>tr:last-child>* {
  border-bottom: inherit;
}

div.dropdown-menu.dt-button-collection .dt-button.dropdown-toggle::after {
  top: 10px;
}

@media print {
  table.dataTable thead > tr > th.sorting::before,
  table.dataTable thead > tr > th.sorting::after {
    display: none;
  }

  table.dataTable.nowrap th,
  table.dataTable.nowrap td {
    white-space: initial !important;
  }

  .table-responsive {
    overflow-x: visible;
  }
}

@media (max-width: 990px) {
  .btn-toolbar > div > a > span > span {
    display: none;
  }

  .dt-buttons > a > span > span {
    display: none;
  }

  .breadcrumb-item span {
    display: none;
  }
  div.dataTables_wrapper span.select-info {
    display: none;
  }
}
div.dataTables_wrapper div.dataTables_info {
  line-height: 1.5;
  padding: 0.25rem 0;
}
.select2-container {
}
select + .select2-container--bootstrap4,
.select2-search--dropdown .select2-search__field {
  width: 100% !important;
  min-height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6e707e;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
select + .select2-container--open {
  border-radius: 0.35rem 0.35rem 0 0;
}
.input-group select + .select2-container--bootstrap4 {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 1% !important;
  min-width: 0;
  margin-bottom: 0;
}
.input-group:not(.has-validation)
  > select
  + .select2-container--bootstrap4:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.select2-dropdown {
  border: 1px solid #d1d3e2;
}
.select2-container--focus {
  color: #6e707e;
  background-color: #fff;
  border-color: #bac8f3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
  text-shadow: 0 0 0 #6e707e;
}
.select2-results__option--highlighted {
  background-color: #eaecf4;
}
.select2-results__option--selected {
  background-color: #4e73df;
  color: white;
}

.select2-results__option--selected span {
    color: white !important;
}

.select2-container .select2-selection--single {
  height: inherit;
  outline: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
}
.select2-container--focus
  .select2-selection--single
  .select2-selection__rendered {
  color: #6e707e;
}
.select2-container .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 10px;
    height: 100%;
    top: 0;

}
.select2-container .select2-search--inline .select2-search__field {
  margin: 0;
  height: 1.5rem;
  font-family: inherit;
}
.select2-container .select2-search--inline .select2-search__field:focus {
  outline: none;
}
.select2-container .select2-selection--multiple {
  min-height: 1rem;
}
.select2-container .select2-selection--multiple .select2-selection__clear {
  position: absolute;
  right: 10px;
  top: 0;
  height: 100%;
}
.select2-selection__choice {
  display: inline-block;
  margin-right: 0.375rem;
  margin-top: 0.1875rem;
  margin-bottom: 0.1rem;
  border-radius: 5px;
  border: 1px solid #dee0ea;
}
.select2-selection__choice__remove {
  background: none;
  border: none;
  border-right: 1px solid #dee0ea;
  padding: 0 5px;
  color: #757684;
}

.select2-selection__choice__remove:hover {
  background-color: #dee0ea;
}

.select2-selection__choice__display {
  padding: 0 5px;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
  margin: 0;
}
.select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto;
}

.is-invalid + .select2-container {
  border-color: #e74a3b;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMicgaGVpZ2h0PScxMicgZmlsbD0nbm9uZScgc3Ryb2tlPScjZTc0YTNiJyB2aWV3Qm94PScwIDAgMTIgMTInPjxjaXJjbGUgY3g9JzYnIGN5PSc2JyByPSc0LjUnLz48cGF0aCBzdHJva2UtbGluZWpvaW49J3JvdW5kJyBkPSdNNS44IDMuNmguNEw2IDYuNXonLz48Y2lyY2xlIGN4PSc2JyBjeT0nOC4yJyByPScuNicgZmlsbD0nI2U3NGEzYicgc3Ryb2tlPSdub25lJy8+PC9zdmc+);
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.input-group + .invalid-feedback {
  display: block;
}

fieldset {
  border: 1px solid #ddd;
  padding: 1rem 1rem 1rem 1rem;
  margin-bottom: 1rem;
}
legend {
  display: inline-block;
  width: initial;
  padding: 0 5px;
  font-size: 1.3rem;
}

.sidebar {
  z-index: 1000;
  position: relative;
}
table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
  text-overflow: ellipsis;
  overflow: hidden;
}

div.dataTables_wrapper div.dataTables_filter input {
  width: 100%;
  margin: 0;
}

div.dataTables_wrapper div.dataTables_filter .input-group input {
  margin-left: 0;
  width: 1%;
}
.dataTables_filter label {
  margin-bottom: 0;
}

.dataTables_filter .input-group {
  justify-content: flex-end;
}

.input-group-prepend {
  margin-right: 0;
}

@media screen and (max-width: 992px) {
  .dataTables_scrollBody {
    max-height: calc(-177px + 100vh) !important;
  }
}

div.dataTables_wrapper div.dataTables_filter label {
  width: 100%;
}

div.dataTables_wrapper span.select-info,
div.dataTables_wrapper span.select-item {
  margin-left: 0;
}

div.dataTables_wrapper div.dataTables_filter {
  display: inline;
}

@media screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
  }
}

.form-control.form-control-sm.has-value {
  border-color: #f3baba;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(223, 78, 78, 0.25);
  z-index: 10;
}

div.form-control {
  height: auto;
  min-height: calc(1.5em + .75rem + 2px);
  opacity: 0.8;
}
.sidebar .sidebar-heading {
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar .nav-item .nav-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item, .sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-header, .sidebar .nav-item .collapsing .collapse-inner .collapse-header {
    padding: .5rem 1rem;
}

table.dataTable tbody th.focus,
table.dataTable tbody td.focus {
  outline: 4px solid #5a5c69;
}

.card-body p:last-child {
    margin-bottom: 0;
}


@media print {
  * {
    color: #000;
  }

  .dtcc {
    display: none !important;
  }

  table.dataTable tbody th.focus, table.dataTable tbody td.focus {
    outline: 0 !important;
  }

  .container-fluid {
    margin: 0;
    padding: 0;
  }
  .card-body,
  .card-footer {
    padding: 0 !important;
    margin: 0 !important;
  }
  .card {
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
  .page-break {
    break-after: always !important;
    page-break-after: always !important;
  }
  #wrapper #content-wrapper {
    background: none;
  }
  .table td,
  .table th {
    background-color: inherit !important;
    font-size: smaller;
    padding: 0.35rem;
  }
}

th input {
    min-width: 60px;
}

.nav-tabs .nav-link {
  color: inherit;
  padding: 0.5rem 0.8rem;
  margin-right: 3px;
}

.sidebar .sidebar-brand {
  height: initial;
  padding: 1.2rem 1rem;
}

.sidebar .sidebar-brand .sidebar-brand-text {
  color: inherit;
  text-decoration: none;
}


.sidebar .nav-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .sidebar.toggled .nav-item:last-child {
    margin-bottom: 0;
  }
}


.table.card {
	border: 0 !important;
}
.table.card thead {
	display: none;
}

.table.card tbody tr {
	float: left;
	width: 25em;
	margin: 0.5em;
	border: 1px solid #bfbfbf;
	border-radius: 0.5em;
	background-color: transparent !important;
	box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}
.table.card tbody tr td {
	display: block;
	border: 0;
}

#wrapper {
  min-height: 100vh;
}

.asteriskField {
    color: red;
}


.list-group-item-action:focus, .list-group-item-action:hover {
  z-index: 1000;
}


#accordionSidebar_old::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #00000026;
  top: 0;
  position: fixed;
  z-index: -1;
}

/* width */
::-webkit-scrollbar {
   width: 6px;
   height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #bec4c4;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
   background: #555;
}

td > p {
    margin: 0;
}

@media print {
  @page  {
    size: auto;
  };

  table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after {
      display: none !important;
  }

  a {
    text-decoration: none;
  }

  .dataTables_scrollBody {
    max-height: inherit !important;
    height: inherit !important;
  }
}

.custom-file {
  padding: 0;
}


span.masked {
  display: inline-block;
  text-security: disc; /* IE/Safari */
  -moz-text-security: disc; /* FireFox */
  -webkit-text-security: disc; /* Chrome/Safari  */
  color: transparent;
}

.dropdown-divider + .dropdown-divider {
    display: none !important;
}


div.dataTables_wrapper div.dataTables_length label {
    margin: 0;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 0;
}

.pagination .page-link {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_length {
       text-align: left;
  }
  div.dataTables_wrapper div.dataTables_paginate {
    text-align: right;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: right !important;
  }
}


.chart-area {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-area {
    min-height: 25rem;
  }
}

.chart-polarArea {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-polarArea {
    min-height: 25rem;
  }
}

.chart-doughnut {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-doughnut {
    min-height: 25rem;
  }
}

.chart-radar {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-radar {
    min-height: 25rem;
  }
}

.chart-line {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-line {
    min-height: 25rem;
  }
}

.chart-bar {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-bar {
    min-height: 25rem;
  }
}

.chart-pie {
  position: relative;
  min-height: 35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .chart-pie {
    min-height: 25rem;
  }
}


@media (min-width: 768px) {
  .sidebar:not(.toggled) .nav-item .nav-link[data-toggle="collapse"]::after {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .sidebar:not(.toggled) .nav-item .nav-link span {
    display: block;
    margin-left: 20px;
    max-width: 9rem;
  }

  .sidebar:not(.toggled) .nav-item .nav-link i {
    margin-right: .25rem;
    position: absolute;
    top: 1.15rem;
  }

}


.dropdown-menu {
    z-index: 1001;
}



table.dataTable .thead-dark span.dtcc span.dtcc-button-icon {
  color: #fff;
}

table.dataTable .thead-dark span.dtcc button.dtcc-button:hover {
  background-color: #484a54;
}




/*
table.dataTable .thead-dark span.dtcc .dtcc-button_dropdown.dtcc-button_active span.dtcc-button-icon {
  color: red;
}
*/

.dtcc-button_dropdown .dtcc-button-icon {
  position: relative;
}

.dtcc-button_dropdown.dtcc-button_active .dtcc-button-icon::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -4px;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    border: 1px solid white;
}


.subtables-container .card-header {
    overflow-y: hidden;
    overflow-x: auto;
    border-bottom-color: #fff;
}

.subtables-container .card-header-tabs {
    flex-wrap: nowrap;
}

.subtables-container .card-header-tabs .nav-item {
    white-space: nowrap;
}

.subtables-container .card-header-tabs .nav-item:last-child .nav-link {
    margin-right: 10px;
}
