.ml-5{margin-left: 5px;}
.ml-10{margin-left: 10px;}
.mr-10{margin-right: 10px;}

.text-right {
  text-align: right !important;
}
.align-right{
  justify-content: right !important;
}

.text-center {
  text-align: center !important;
}

.link{cursor: pointer;}

/**********************************************/
/*  COLOCANDO SETA NOS SELECTS                */
/**********************************************/
select,
select.form-select,
select.modern-input,
.form-select {
  background: white url(/imagens/select-icon.svg) no-repeat right !important;
  background-position-x: calc(100% - 15px) !important;
  background-position-y: center !important;
  background-size: 12px !important;
  min-width: 80px;
  padding-right: 40px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/*********************************************/

/**********************************************/
/* Formatação do Datatable */
.dataTables_wrapper .dataTable tbody tr.active th,
.dataTables_wrapper .dataTable tbody tr.active td,
.dataTables_wrapper .dataTable tbody tr.selected th,
.dataTables_wrapper .dataTable tbody tr.selected td,
.dataTables_wrapper .dataTable tbody tr.active,
.dataTables_wrapper .dataTable tbody tr.selected {
  --fa-primary-color: #181c32;
  --fa-secondary-color: #181c32;
  color: #181c32 !important;
  background-color: #d1d3e0 !important;
  --bs-table-accent-bg: inherit !important;
}
.dataTables_wrapper
  table.dataTable.dtr-inline.collapsed
  > tbody
  > tr
  > td:first-child:before {
  top: 52% !important;
  left: 19.5px !important;
}
.tb-group::before {
  content: "" !important;
}
.tb-group {
  background: #b5b5c3 !important;
  text-align: center;
}
.tb-group .text-muted {
  color: #fff !important;
}
.dataTables_wrapper
  table.dataTable.dtr-inline.collapsed
  > tbody
  > tr
  > td:first-child:before {
  color: #3f4254 !important;
}
.dataTables_wrapper .dataTable th.sorting_desc {
  color: #3f4254 !important;
  font-weight: 700;
}
.dataTables_wrapper .dataTable th.sorting_asc {
  color: #3f4254 !important;
  font-weight: 700;
}
table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:before,
table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:after {
  bottom: 1.3em !important;
}
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_desc_disabled:after {
  content: "↑" !important;
  bottom: 1.8em !important;
  color: #0095e8;
}
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_asc_disabled:after {
  content: "↓";
  bottom: 1.8em !important;
  color: #0095e8;
  opacity: 1;
}

table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:after {
  background-image: none !important;
}
.table th,
.table td {
  padding: 1rem !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  border-radius: 3px;
  background-color: var(--bs-gray-200);
}
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > th.dtr-control:before {
  background-color: var(--bs-gray-200);
}

@media (min-width: 992px) {
  table.dataTable > thead .sorting:before,
  table.dataTable > thead .sorting_asc:before,
  table.dataTable > thead .sorting_desc:before,
  table.dataTable > thead .sorting_asc_disabled:before,
  table.dataTable > thead .sorting_desc_disabled:before,
  table.dataTable > thead .sorting:after,
  table.dataTable > thead .sorting_asc:after,
  table.dataTable > thead .sorting_desc:after,
  table.dataTable > thead .sorting_asc_disabled:after,
  table.dataTable > thead .sorting_desc_disabled:after {
    bottom: 1em !important;
  }
  table.dataTable > thead .sorting_desc:after,
  table.dataTable > thead .sorting_desc_disabled:after {
    content: "↑" !important;
    bottom: 1.8em !important;
    color: #0095e8;
  }
  table.dataTable > thead .sorting_asc:after,
  table.dataTable > thead .sorting_asc_disabled:after {
    content: "↓";
    bottom: 1.8em !important;
    color: #0095e8;
    opacity: 1;
  }
  table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    height: 0.8em;
    width: 0.8em;
    margin-left: -10px;
  }
}
@media (max-width: 991px) {
    .dataTables_wrapper
    table.dataTable.dtr-inline.collapsed
    > tbody
    > tr
    > td:first-child:before {
        top: 52% !important;
        left: 10.5px !important;
    }
}
div.dataTables_wrapper div.dataTables_paginate {
  padding: 0;
}

td{
    display: table-cell;
    vertical-align: middle
}
.td-center   {
    display: flex;
    justify-content: space-evenly;
}

/* XXX */




/*  XXX   */


/* FIM - Formatação do Datatable */
/**********************************************/


.logo-transportadora{
    max-width: 180px !important;
    max-height: 50px !important;
}
.card .card-header .card-toolbar {
    margin: 0 !important;
}
label:not(.form-check-label){font-weight: 500;margin-bottom: 5px;}
.form-control{font-weight: 400;}

.div-center{position: relative;}
.div-center .breadcrumb{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}


/**********************************************/
/**********************************************/
/**********************************************/
/* Validação de campos */
.labelerro {
  color: var(--bs-danger) !important;
}
.form-control.is-invalid,
.was-validated .form-control:valid {
  border-color: var(--bs-danger);
  padding-right: calc(1.1em + 1.6rem);
  box-shadow: 0px 0px 10px 1px var(--bs-light-danger) !important;
  background-size: calc(.5em + .5rem) calc(.5em + .5rem);
}
.form-control.is-invalid:focus,
.was-validated .form-control:valid:focus {
  border-color: var(--bs-danger);
  box-shadow: 0px 0px 10px 1px var(--bs-light-danger) !important;
}
.inputInvalido {
  color: var(--bs-danger);
  font-size: 11px;
  margin-top: 5px;
  text-align: right;
}
.btn-invalid {
  border: 1px solid var(--bs-danger) !important;
}

.labelsucesso {
  color: var(--bs-primary) !important;
}
.form-control.is-valid,
.was-validated .form-control:valid {
  border-color: var(--bs-primary);
  padding-right: calc(1.1em + 1.6rem);
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%230095E8' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  box-shadow: 0px 0px 10px 1px var(--bs-light-primary) !important;
  background-size: calc(.5em + .5rem) calc(.5em + .5rem);
}
.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
  border-color: var(--bs-primary);
  box-shadow: 0px 0px 10px 1px var(--bs-light-primary) !important;
}
.btn-valid {
  border: 1px solid var(--bs-primary) !important;
}
label.obrigatorio:after {
  content: "*";
  position: relative;
  font-size: inherit;
  color: var(--bs-danger);
  padding-left: .25rem;
  font-weight: 700;
}
.passview{
  margin-right: 0 !important;
}
.is-valid ~ span.passview,
.is-invalid ~ span.passview{
  margin-right: 20px !important;
}
/* FIM - Validação de campos */
/**********************************************/
/**********************************************/
/**********************************************/


.swal2-styled.swal2-confirm {background-color: var(--bs-primary)}
.swal2-styled.swal2-cancel {background-color: var(--bs-danger)}

@media (min-width: 992px) {
  .header-fixed.toolbar-fixed .wrapper {
    padding-top: 137px;
  }
}

table.dataTable > tbody > tr.child span.dtr-title {
  min-width: 150px;
}

/*.dt-buttons.btn-group.flex-wrap{
  display: none;
}*/

.menu-state-bg-light-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here), .menu-state-bg-light-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) > .fad {
  transition: color .2s ease,background-color .2s ease;
  background-color: #f1faff;
  color: #009ef7;
}

/* Mover modal */
.ui-draggable-handle {
  cursor: move;
  cursor: grab;
  cursor: -webkit-grab;
}

.menu-item .menu-link-rodape {
  cursor: pointer;
  display: flex;
  align-items: right !important;
  flex: 0 0 100%;
  padding: .65rem -1rem;
  transition: none;
  outline: 0 !important;
}