/*faz com que os títulos das páginas não fiquem cobertos pelo TOPNAV quando se redimensiona a página*/
@media (min-width: 992px) and (max-width: 1280px) {
    header {
        top: -30px;
    }
}

@media (min-width: 890px){
    .botao-importar {
        float: right;
        margin-left: 2px;
    }
}
@media  (min-width: 574px) {
    .botao-importar-sozinho {
        float: right;
    }
}
@media (max-width: 900px) {
    .botao-importar {
        margin-top: 8px;
        float: right;
    }
    .botao-importar-sozinho {
        margin-top: 8px;
    }
}
@media (max-width: 574px) {
    .botao-importar, .botao-novo, .botao-recalcular {
        margin-top: 8px;
        /*margin-right: 4px;*/
        float: right;
    }
    .botao-importar {
        float: right;
        margin-right: 2px;
    }
    .botao-importar-sozinho {
        margin-top: 8px;
        float: right;
    }
    .form-row li {
        list-style-type: none;
    }
}
@media (max-width: 448px) {
    .botao-importar-esquerdo  {
        margin-top: 8px;
    }
    ul.pagination li.page-item {
        margin: 1px;
    }
}

ul.pagination {
    flex-wrap: wrap;

}


.icon-middle {
    vertical-align: middle;
}

.table td, .table th {
    padding: .2rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/*HOVER SOBRE AS LINHAS */
.table-hover tbody tr:hover {
    color: #000000;
    background-color: #F6F6F6;
    /*background-color: #d5d5d5;*/
}
.table-hover tbody tr:hover a {
    color: #000;
}

a {
    color: #000;
}

.bg-danger a {
    color: #fff;
}

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

.select2-results__option.select2-results__option--highlighted[aria-selected] {
    background-color: #566676;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-results__option[aria-selected="true"]:hover {
    color: white;
    background-color: #6c757d;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    color: white;
    background-color: #6c757d;
}

input.select2-search__field-w100 {
    width: 100px;
}

.left-side-menu-sm .left-side-menu {
    width: 200px;
    text-align: center;
}

.left-side-menu-sm .left-side-menu + .content-page {
    margin-left: 200px;
}

.left-side-menu-sm .left-side-menu #sidebar-menu > ul ul a {
    padding: 3px 20px;
}

body {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: #6c757d;
    text-align: left;
    background-color: #f5f5f5;
}

.line-height-150 {
    line-height: 1.5 ;
}

.form-control-xs {
    height: calc(1em + .5rem + 2px);
    padding: .28rem .8rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.form-control-xs-number {
    display: block;
    width: 40%;
    height: calc(.5em + .9rem + 2px);
    padding: .4rem .4rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .2rem;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    float: right;
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding-top: .45rem;
    padding: .45rem;
    padding-bottom: .45rem;
    margin-bottom: 0;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-width: 1px;
}

.form-control-plaintext-filter {
    display: block;
    width: 100%;
    padding-top: .45rem;
    padding: .45rem;
    padding-bottom: .45rem;
    margin-bottom: 0;
    line-height: 1rem;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-width: 1px;
}

.col-form-label-filter {
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.form-group-filter {
    margin-bottom: .5rem;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .45rem .9rem;
    font-size: .875rem;
    line-height: 0.8;
    border-radius: .15rem;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

.font-10 {
    font-size: 10px !important;
}


.bg-gray-custom {
    background-color: #566676;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    color: #fff;
    border-color: #566676;

}

/* AJUSTA AREA DE CONTEUDO PARA 99% DA AREA DO MONITOR */
.container-fluid {
    max-width: 99%;
}

/*AQUI MUDA A COR DE FUNDO DAS LINHAS QUANDO SELECIONADAS PELO FOCUS*/
.responsive-table-plugin .sticky-table-header, .responsive-table-plugin table.focus-on tbody tr.focused td, .responsive-table-plugin table.focus-on tbody tr.focused th, .responsive-table-plugin table.focus-on tbody tr.focused a{
    background-color: #566676;
    /*background-color: #566676;*/
    color: #fff !important;
    border-color: #566676;
}
/*COR DO FINGER PRINT DE AUTENTICAÇÃO QUANDO DESTACADO*/
.responsive-table-plugin table.focus-on tbody tr.focused td .mdi-fingerprint.text-success {
    color: white !important;
}
/*Deixando o badge de "Ativo" da coluna Status branco quando destacado*/
.responsive-table-plugin table.focus-on tbody tr.focused td .badge.bg-soft-success.text-success, .responsive-table-plugin table.focus-on tbody tr.focused td .badge.bg-soft-danger.text-danger{
    color: white !important;
}

.responsive-table-plugin table.focus-on tbody tr.focused td .btn.btn-info.btn-xs {
    color: #fff !important;
    /*background-color: #fff;*/
    border-color: #fff;
}

td .text-danger {
    color: #fff;
}

/*Ele corrige a altura das linhas que tinham o botão de EDIT deslocado*/
tbody .btn-toolbar {
    margin-bottom: 0;
}

.checkbox label::before {
    transform: translateY(-2.5px);
}

/*AQUI MUDA A COR DE FUNDO DO botão "DESTACAR" FOCUS*/
.responsive-table-plugin .btn-default.btn-primary {
    background-color: #566676;
}

/* OCULTA BARRAS DE ROLAGEM DA TABELA */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: unset; /* OCULTAR */
}

/*Botão de "+" adicionar*/
.btn.btn-primary.btn-xs {
    background-color: #1abc9c;
}

.btn-info, .bg-success, .btn-success:hover {
    background-color: #1abc9c;
}

.table-hover .btn-info:hover {
    color: #fff;
}

.btn-info:hover, .bg-success:hover, .btn-success:hover {
    /*background-color: white;*/
    background-color: #159a80;
    border-color: #148f77;
    color: #fff;
    /*color: black;*/
}

.btn-dark:hover {
    background-color: #566676;
    color: #fff;
}

/*Botão que aparece no modal  */
.btn.btn-primary.waves-effect.waves-light {
    background-color: #1abc9c;
    float: right;
}

.select2-search__field {
    width: 100%;
}

.border-bottom.unfocused.focused {
    color: white !important;
}

/*.mdi-fingerprint.text-success {*/
/*    color: #323a46 !important;*/
/*}*/


.sticky-table-header {
    background-color: #fff;
    border: none;
    border-radius: 0;
    border-top: 0px solid #ddd;
    border-bottom: 0px solid #ddd;
    visibility: hidden;
    z-index: 990;
    overflow: hidden;
}

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

.table-responsive[data-pattern="priority-columns"] > .table {
    margin-bottom: 0;
    overflow: hidden;
}

.w-10{
    max-width: 10%;
}

.custom-file-label::after {
    content: "Procurar";
}

.form-control-no-border {
    display: block;
    width: 100%;
    height: calc(1.5em + .9rem + 2px);
    padding: .45rem .9rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid transparent;
    border-radius: .2rem;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}


.btn-no-shadow {
    color: #fff;
    /* -webkit-box-shadow: 0 2px 6px -2px rgba(0,0,0,.16), 0 2px 6px 0 rgba(0,0,0,.12); */
    /* box-shadow: 0 2px 6px -2px rgba(0,0,0,.16), 0 2px 6px 0 rgba(0,0,0,.12); */
}

.navigation-menu > li > a {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    font-family: Roboto, sans-serif;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    line-height: 14px;
    padding: 8px;
    position: relative;
    padding-right: 20px;
}

.wrapper {
    padding: 100px 12px 0 12px;
}

body {
    font-size: 14px;
}

.invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: .25rem;
    font-size: .75rem;
    color: #f1556c;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

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

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

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

.responsive-table-plugin .fixed-solution .sticky-table-header {
    top: 100px!important;
}

.card-header-white {
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 0 solid #eceff1;
}