:root {
  --blue: #516480;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #516480;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

.btn-primary {
  color: #fff;
  background-color: #516480;
  border-color: #6E86A9;
  box-shadow: none;
}

.btn-primary:hover {
  color: #fff;
  background-color: #6E86A9;
  border-color: #516480;
}

.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #516480;
  border-color: #6E86A9;
  box-shadow: 0 0 0 0 rgba(38, 143, 255, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #6E86A9;
  border-color: #6E86A9;
}

.btn-default:focus, .btn-default.focus {
  color: #444;
  background-color: #f8f9fa;
  border-color: #aaaaff;
  /* border: 2px solid #aaaaff; */
  /*box-shadow: 0 0 0 0 rgba(38, 143, 255, 0.5);*/
}
input:focus {
  border-color: #aaaaff !important;
}

.icheck-primary > input:first-child:checked + input[type="hidden"] + label::before, .icheck-primary > input:first-child:checked + label::before {
  background-color: #516480;
  border-color: #6E86A9;
}
.icheck-primary > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before, .icheck-primary > input:first-child:not(:checked):not(:disabled):hover + label::before {
  border-color: #516480;
}
.icheck-primary > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before, .icheck-primary > input:first-child:not(:checked):not(:disabled):focus + label::before {
  border-color: #516480;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
  background-color: #516480;
  color: #fff;
}

a {
  color: #516480;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #6E86A9;
  text-decoration: none;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #516480;
  border-color: #516480;
}

.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #516480;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #6E86A9;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

div.dataTables_wrapper div.dataTables_processing {
  z-index: 99999;
}

.was-validated .select2:invalid + .select2 .select2-selection{
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: 3rem !important;
    background-position: right 1.5rem center;
}

.was-validated .select2:valid + .select2 .select2-selection{
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' 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");
  background-repeat: no-repeat;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  padding-right: 3rem !important;
  background-position: right 1.5rem center;
}

.btn-close {
  top: 1px;
  right: 1px;
  line-height: 10px;
  position: absolute;
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e\ ") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: .5;
}
.btn-close:hover {
  color: #000;
  text-decoration: none;
  opacity: .75;
}

.card-primary:not(.card-outline) > .card-header {
  background-color: #516480;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #516480;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #516480;
  border-color: #6E86A9;
  color: #fff;
  padding: 0 10px;
  margin-top: .31rem;
}

.btn-link {
  font-weight: 400;
  color: #212529;
  text-decoration: none;
}

.btn-link:hover {
  color: #6E86A9;
  text-decoration: none;
}

.btn-edit-confirm-datatable, .btn-edit-confirm-datatable:hover {
    padding: 5px 10px;
    font-size: 12px;
    color: white;
    text-align: center;
    vertical-align: middle;
    border-radius: 4px;
    background-color: #337ab7;
    text-decoration: none;
}

.btn-edit-cancel-datatable, .btn-edit-cancel-datatable:hover  {
    padding: 5px 10px;
    font-size: 12px;
    color: white;
    text-align: center;
    vertical-align: middle;
    border-radius: 4px;
    background-color: #a94442;
    text-decoration: none;
}

.bs-stepper-pedidos {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 2em;
  padding: .5em .5em;
  margin: .25rem;
  line-height: 1em;
  color: #fff;
  background-color: #6c757d;
  border-radius: 1em;
}
.active .bs-stepper-pedidos {
  background-color: #516480;
}
.span_input {
  display: table !important;
}

.info-footer {
  border: 1px solid #aaa;
  /* background: #fff; */
  z-index: 100;
  height: 200px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}


.box {
  background-color: #fff;
  border: 1px solid #aaa;
  padding: 15px;
  position: fixed;
  z-index: 4;
  left: 75px;
  right: 0;
  bottom: 0;
  transition: opacity 1s linear;
  height: 350px;
}

.box .card {
  height: 100%;
}
.box .card .card-body {
  overflow-y: auto;
}

.button-open {
	background-color:#fff;
  border: solid 1px #dee2e6;
  border-radius: 10px 10px 0 0;
	cursor:pointer;
  width: 50px;
  height: auto;
  text-align: center;
  padding: 3px;
}

.button-close {
	background-color:#fff;
  border: solid 1px #aaa;
  border-radius: 10px 10px 0 0;
	cursor:pointer;
  width: 50px;
  height: 25px;
  margin-top: -40px;
  margin-bottom: 10px;
  text-align: center;
  /* background-color: #00A8EA;
  color: #fff;
  border: solid 1px #0095cc;
  float: right;
  padding: 3px;
  border-radius: 3px; */
}

#datatable-produtos .produto_tr td:has(span.produtos_preco), 
#datatable-produtos .produto_tr td:has(span.produtos_p_desc), 
#datatable-produtos .produto_tr td:has(span.produtos_desc), 
#datatable-produtos .produto_tr td:has(span.produtos_total),
td:has(span#produtos_desc), 
td:has(span#produtos_total) {
  text-align: right;
}

.select2-selection__rendered li[title="Em andamento"] {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #212529 !important;
}
.select2-selection__rendered li[title="Aprovado Parcial"] {
  background-color: #6ef06e !important;
  border-color: #6ef06e !important;
  color: #212529 !important;
}
.select2-selection__rendered li[title="Aprovado Integral"] {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}
.select2-selection__rendered li[title="Faturado Parcial"] {
  background-color: #007bff !important;
  border-color: #007bff !important;
}
.select2-selection__rendered li[title="Faturado Integral"] {
  background-color: #ca8300 !important;
  border-color: #ca8300 !important;
}
.select2-selection__rendered li[title="Cancelado"] {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}
.badge-warning-light {
  color: #fff;
  background-color: #f39c12;
}
.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
  font-size: 12px;
}
.nav-treeview > .nav-item > .nav-link {
  font-size: 12px;
}

.kanban-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.kanban-column {
  flex: 1 1;
  margin: 10px;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}
.kanban-column h4 {
  text-align: center;
}
.kanban-container .card {
  margin-bottom: 10px;
}
.kanban-container .card p {
  margin: 0px;
}
.kanban-container .card .btn {
  margin-top: 10px;
}