/* ==================================================================== */
/*                              GLOBAIS                                 */
/* ==================================================================== */
main { min-height: calc(100vh - 133px); }

@media Screen and (min-width: 577px) and (max-width: 992px) {
    main { min-height: calc(100vh - 122px); }
}

@media Screen and (max-width: 576px) {
    main { min-height: calc(100vh - 112px); }
    .w-auto { width: 100% !important; }
}

.btn-primary {
    color: #f8f9fa !important;
}

.not-shadow:focus {
    outline: 0 !important;
    box-shadow: 0 !important;
    /* border: 0 none; */
}

.bg-gray { background: #5c5c5c !important; }
.bg-gray-light { background: #e0e0e0 !important; }

/* Eliminar o spin up e down do input date */
input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

/* Troca a cor cinza do input que tem a tag readonly pela cor branca */
.form-control:disabled.not-block, .form-control[readonly].not-block {
    background-color: #fff !important;
}

.add-check-left::before {
    content: " ";
    width: 10px;
    height: 10px;
    border: 1px solid black;
    display: inline-block;
    margin-right: 8px;
}

a {
    color: white !important;
    cursor: pointer !important;
}

a.ui-state-default {
    color: black !important;
    cursor: pointer !important;
}

.btn {
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.form-control {
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* ==================================================================== */
/*                               GENÉRICOS                              */
/* ==================================================================== */
.require::after { content: " *"; color: #dc3545; }

.box-shadow { box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05), 0 4px 8px 0 rgba(0, 0, 0, .05); }

.hover:hover { background: #f8f9fa; }

.gradiente {
    background: #3b74a6;
    background: linear-gradient(45deg, #3b74a6 0%, #042f55 38%, #021e38 89%);
}

.ativo::after, .inativo::after {
    content: "";
    display: inline-block;
    position: relative;
    top: 2px;
    width: 1em;
    height: 1em;
    background: #28a745;
    border-radius: 50%;
    margin-right: 5px;
}

.inativo::after { background: #dc3545; }

.lead-mini { font-size: .95rem; font-weight: 300; }

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

@media screen and (max-width: 576px) {
    .display-5 {
        font-size: 1.5rem;
    }
}

.a-none { text-decoration: none !important; }

.mx-m-15 {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.img-btn {
    max-width: 110px;
    max-height: 126px;
}

.hover-light:hover {
    background: #e6e8e9 !important;
}

.hover-green:hover {
    background: #199737 !important;
}

.no-decoration {
    text-decoration: none !important;
}

tr.no-hover > td,
.no-hover {
    background: none !important;
}

@media (min-width: 1200px){
	.modal-xl {
		max-width: 1000px;
	}
}

/* ==================================================================== */
/*                           PÁGINA - SAIR                              */
/* ==================================================================== */
.page-sair {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

/* ==================================================================== */
/*                           PÁGINA - LOGIN                             */
/* ==================================================================== */
.page-login {
    width: 100vw;
    height: 100%;
    overflow-x: hidden;
}

.login {
    width: 350px;
    min-height: 280px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 50px;
    background-color: #ffffff;
    border-radius: 5px;
}

@media screen and (max-width: 576px) {
    .login {
        width: 340px;
        margin: 20px auto;
    }
}

.page-login body {
    background: transparent;
}

.login form {
    padding: 30px;
}

.logo-login {
    display: block;
    max-height: 120px;
    margin: 0 auto;
}

.bg-login {
    display: block;
    max-height: 83px;
    margin: 0 auto;
}

/* ==================================================================== */
/*                           PÁGINA - MENU                              */
/* ==================================================================== */
.img-menu {
    min-height: 100px;
}

.size-img {
    max-height: 80px;
    padding: 10px;
    margin-top: 10px;
}

.menu {
    width: 100%;
}

@media screen and (max-width: 576px) {
    .none {
        display: none !important;
    }
}

/* ==================================================================== */
/*                               BOTÕES                                 */
/* ==================================================================== */
.btn-adm {
    background: #f8f9fa !important;
}

.btn-adm:hover {
    background: #f0f0f0 !important;
    text-decoration: none !important;
}

.btn-mini {
    padding: .15rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

@media screen and (max-width: 767px) {
    .btn-mobile {
        padding: .5rem .75rem !important;
        margin-bottom: 8px !important;
    }
}

/* ==================================================================== */
/*                           IMPRIMIR                                   */
/* ==================================================================== */
.show-only-print {
    display: none !important;
}

@media print {
    .not-print {
        display: none !important;
    }

    /* -------------- MODAL --------------- */
    body.modal-open main {
        opacity: 0;
    }

    body.modal-open main.main-print {
        opacity: 1;
    }
    
    .modal-open .modal {
        overflow-x: visible;
        overflow-y: visible; 
    }

    .modal {
        position: absolute !important;
        top: -30px;
        right: auto;
    }
    
    .modal-content {
        border: none !important; 
        border-radius: 0 !important;
        outline: none !important;
    }
    
    .modal-dialog {
        width: 100vw !important;
    }
    
    .modal-backdrop.show {
        opacity: 0 !important;
    }
    
    /* -------------- TABELA --------------- */
    .tabela th,
    .tabela td {
        white-space: normal !important;
    }

    /* -------------- GLOBAIS --------------- */
    .bg-print {
        color: #000 !important;
        background: #fff !important;
    }

    .container-print {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .border-print { border: 1px solid #c9c9c9 !important; }

    .show-only-print { display: inherit !important; }

    .print-remove-mx { margin-left: 0; margin-right: 0; }

    .print-small-60 small { font-size: 60%; }
    
    hr.cut { border-top: 1px dashed #202020; }

    .bg-dark-print { background: #202020; }
    
    /* --- GRID PARA IMPRESÃO --- */
    .col-12-print   { flex-basis: 25% !important; }
    .col-6-print    { flex-basis: 50% !important; }
    .col-4-print    { flex-basis: 33.33% !important; }

    .d-print-flex {
        display: flex !important;
    }

    .d-print-block {
        display: block !important;
    }
}

/* ==================================================================== */
/*                           OVERFLOW ESTILO                            */
/* ==================================================================== */
@media screen and (max-width: 1230px) {
    .overflow-list { overflow-x: scroll; }
}

@media screen and (max-width: 991px) {    
    .indicador-dir-lg {
        margin-top: 30px;
    }

    .indicador-dir-lg::before {
        content: '\2192';
        font-size: 1.2em;

        position: absolute;
        display: block;
        margin-top: -30px;
        margin-left: calc(100% - 70px);

        color: #dc3545;

        -webkit-animation: indicador-direita 1s ease-in-out infinite;
        animation: indicador-direita 1s ease-in-out infinite;
    }
}

.overflow-not { overflow-x: initial; }
.overflow { overflow-x: scroll !important; }

.overflow.limit-800,
.overflow-list.limit-800 {
    max-height: 800px;
}

@keyframes indicador-direita {
    0%, 100% { transform: translate(4px, 0); }
    50% { transform: translate(-4px, 0); }
}

/* ----------------------------------------- */
/* ESTILOS BTN Loading                       */
/* ----------------------------------------- */
.btn-loading > svg {
    width: 16px;
    fill: #f8f9fa;
    animation: loading 2s linear infinite;
}

@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-ms-keyframes loading {
    0% { -ms-transform: rotate(0deg); }
    100% { -ms-transform: rotate(360deg); }
}

@-moz-keyframes loading {
    0% { -moz-transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); }
}

@-webkit-keyframes loading {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

/* ----------------------------------------- */
/* ESTILOS BTN FLOAT TOP                     */
/* ----------------------------------------- */
.float-btn {
    right: 0;
    bottom: 0;
    margin: 40px 15px;
    width: 45px;
    height: 45px;
    z-index: 99;
    position: fixed;
    cursor: pointer;
    border-radius: 50%;
    background-size: cover;
    display: flex;
    justify-content: center;
    background: #252525; /* IE */
}

svg.arrow {
    width: 25px;
    height: 25px;
    margin-top: 9px;
    fill: #f0f0f0;
}

.float-btn:hover {
    background: #111111; /* IE */
}

/* ==================================================================== */
/*                               SVG                                    */
/* ==================================================================== */
.btn-icon {
    padding: 0.01rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 1rem;
}

.btn-svg {
    width: 8px;
    fill: #f8f9fa;
    margin-top: -4px;
}

.icon-svg {
    width: 25px;
    cursor: pointer;
    fill: #67a2dd;
}

.icon-svg:hover {
    fill: #3775b3;
}

.icon-svg-text {
    width: 13px;
    fill: #FFF;
    margin: -4px 2px 0 0;
}

/* ==================================================================== */
/*                               TABELA                                 */
/* ==================================================================== */

/* Tabela Simples */
.tabela {
    background: #ffffff;
    width: 100%;
    /* min-width: 600px; */
    margin: 0 auto;
    border-collapse: collapse !important;
}

.tabela caption {
    font-size: 0.9em;
    padding: 0 2px; 
    margin-bottom: 5px;
}

.tabela td,
.tabela th {
    padding: 5px;
    font-weight: normal;
	border: 1px solid #c9c9c9;
    white-space: nowrap !important;
}

.tabela th.warp,
.tabela td.warp {
    white-space: normal !important;
}

.tabela tr:hover > td {
    background: #f0f0f0;
}

.tabela tr.not-hover:hover > td {
    background: initial;
}

.tabela tr.tr-success > td {
    background: #4bda6c;
}

.tabela tr.tr-success:hover > td {
    background: #28a745;
}

.tabela tr.tr-success.not-hover:hover > td {
    background: initial;
}

/* Tabela dentro de Tabela */
.tabela-inside {
    text-align: left;
    padding: 0 !important;
    background: transparent;
}

.tabela-inside table {
    border-collapse: collapse !important;
}

.tabela-inside table {
    width: 100% !important;
}

.tabela-inside th:first-child,
.tabela-inside td:first-child {
    border-left: none;
}

.tabela-inside th:last-child,
.tabela-inside td:last-child {
    border-right: none;
}

.tabela-inside th,
.tabela-inside td {
    padding: 5px 5px;
    border-top: none;
    border-bottom: none;
    box-sizing: content-box;
    white-space: nowrap !important;
}

.tabela-inside th.warp,
.tabela-inside td.warp {
    white-space: normal !important;
}

.tabela-inside thead + thead,
.tabela-inside tbody + tbody,
.tabela-inside tfoot + tfoot,
.tabela-inside tr + tr {
    border-top: 1px solid #c0c0c0;
}

/* Se houver algum título antes da tabela */
.tabela-inside > p,
.tabela-inside > span {
    display: block;
    padding: 2px 5px;
    text-align: center;
    border-bottom: 1px solid #c0c0c0;
}

/* Remover Bordas das tabelas */
.tabela-bottom-0 td, 
.tabela-bottom-0 th {
    border-bottom: none !important;
}
.tabela-top-0 td, 
.tabela-top-0 th {
    border-top: none !important;
}
.tabela-left-0 td, 
.tabela-left-0 th {
    border-left: none !important;
}
.tabela-right-0 td, 
.tabela-right-0 th {
    border-right: none !important;
}
.tabela-y-0 td, 
.tabela-y-0 th {
    border-bottom: none !important;
    border-top: none !important;
}
.tabela-x-0 td, 
.tabela-x-0 th {
    border-left: none !important;
    border-right: none !important;
}

tr.td-not-border td,
tr.td-not-border th {
    border: none !important;
}

/* Pintar a linha */
tr.bg-light-1 > td {
    background: #bbfff4 !important;
}

tr.bg-light-1:hover > td {
    background: #99e7da !important;
}

/* Tirando as bordar das tabelas */
.tabela.odd tr > td,
.tabela.even tr > td {
    border-color: transparent;
}

/* Addicionando cores em linhas pares ou impares */
.tabela.odd tr:nth-child(odd) > td,
.tabela.even tr:nth-child(even) > td {
    background: #dfdfdf !important;
}

/* mudando a cor do evento hover */
.tabela.odd tr:hover > td,
.tabela.even tr:hover > td {
    background: #a3a3a3;
}

/* ==================================================================== */
/*                               MP CARD                                */
/* ==================================================================== */
/* Mini Carde de Apresentação */
.card-mp {
    width: 250px;
    max-width: 230px;
    
    background: #e7e7e7;
    color: #cac6c6;
    margin: 3px;
    padding: 5px;
    border-radius: .25rem;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
}

.card-mp span {
    width: 100%;
    display: block;
}

.card-mp p {
    width: 100%;
    margin: 0 !important
}
.frameConteudo{
	border:0;	
}

.cursor-pointer {
    cursor: pointer !important;
}

.feedback {
    position: fixed;
    bottom: 0px;
    z-index: 100;

    -webkit-animation: show_msg 1s ease-in-out;
    animation: show_msg 1s ease-in-out;
}

.feedback-card {
    right: 20px !important;
    bottom: 25px !important;
}

@keyframes show_msg {
    /* Efeito de Mover o icone SVG */
    0% { transform: translate(0, 120px); }
    100% { transform: translate(0, 0); }
}

/* ==================================================================== */
/*  ESTILOS BOTÃO PARA LOADING                                          */
/* ==================================================================== */
.btn-loading > svg {
    /* Para este elemento, usa se uma função java script na qual adiciona o elemento SVG e a classe btn-loading para realizar a animação. */
    width: 16px;
    fill: #141414;
    animation: loading 2s linear infinite;
}

svg.loading {
    animation: loading 2s linear infinite;
}

.icon-svg-load {
    fill: #141414;
    width: 20px;
    display: inline-block;
    margin-right: 10px;
    animation: loading 2s linear infinite;
}

/* Animação do icone SVG de loading */
@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-ms-keyframes loading {
    0% { -ms-transform: rotate(0deg); }
    100% { -ms-transform: rotate(360deg); }
}

@-moz-keyframes loading {
    0% { -moz-transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); }
}

@-webkit-keyframes loading {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

.custom-file-label::after { 
    content: "Pesquisar"; 
}