﻿html, body, h1, h2, h3, h4, h5 {
    font-family: Calibri,sans-serif;
}

.ui-widget {
    font-family: Calibri,sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #0080a0 !important;
    letter-spacing: 4px;
}

@media print {

    @page {
        margin-top: 120px !important;
        margin-bottom: 80px !important;
        margin-left: 100px !important;
        margin-right: 100px !important;
        size: A4;
        width: 21cm;
        height: 29.7cm;
        zoom: 100%;
    }

    #impressao span {
        font-family: Arial !important;
        font-size: 14px !important;
        color: #000 !important;
        letter-spacing: 0px !important;
        font-weight: bold;
    }

    #impressao h5 {
        font-family: Arial !important;
        font-size: 14px !important;
        color: #000 !important;
        letter-spacing: 0px !important;
        font-weight: bold;
    }

    #impressao thead span, #impressao thead br {
        line-height: 0 !important;
    }

    .impressaoSpan {
        display: inline-block !important;
        width: 130px !important;
    }

    .impressaoMarginTop {
        margin-top: 80px !important;
    }

    .impressaoBR {
        display: block !important;
    }
}

@media (max-width:600px) {
    .imgHMD {
        width: 250px !important;
    }

    .w3-left-small {
        float: left !important;
    }
/*
    .btnVerPedido {
        margin-top: 45px !important;
    }*/
}

@media (max-width:900px) {
    .tablePrivilegios {
        width: 250px !important;
    }

}

@media (max-width:1300px) {
    /*.imgHMD {
        width: 650px !important;
    }*/

    .w3-left-small {
        float: left !important;
    }
}

@media (min-width:601px) {
    .w3-show-small {
        display: none !important;
    }

    #footer {
        border-left: 1px solid #cedae3;
        border-right: 1px solid #cedae3;
    }

    header {
      /*  border-left: 1px solid #cedae3;
        border-right: 1px solid #cedae3;*/
    }
}


/*CSS DA IMAGEM DO HMD NA TELA DOS FUNCIONÁRIOS*/
@media (max-width:1300px) {
    .imgHMDFuncionario {
        width: 250px !important;
    }

    .w3-left-small {
        float: left !important;
    }
}

@media (max-width:600px) {
    .imgHMDFuncionario {
        width: 250px !important;
    }

    .w3-left-small {
        float: left !important;
    }
}
/*FIM CSS IMAGEM TELA DOS FUNCIONÁRIOS*/

/*CSS MODAL*/
/*@media(max-width:600px) {
    .modalAdicionaDocumento {
        width: 390px !important;
    }
}

@media(min-width:400px) {
    .modalAdicionaDocumento {
        width: 390px !important;
     
    }
}

@media(min-width:430px) {
    .modalAdicionaDocumento {
        width: 430px !important;
    }
}

@media(min-width:1366px) {
    .modalAdicionaDocumento {
        width: 1366px !important;
    }
}*/
/*FIM CSS MODAL*/

@media(max-width:600px){
    .ssmd-content {
        width: 400px !important;
    }
}


label, span {
    color: #0080a0 !important;
    font-size: 17px !important;
    letter-spacing: 2px;
}

.descricaoQuemSomos, .descricaoQuemSomos2 {
    color: #0080a0 !important;
    font-size: 17px !important;
    letter-spacing: 2px;
}

.ddlAutores {
    color: #0080a0 !important;
    font-size: 17px !important;
    letter-spacing: 2px;
}
/*Label dos input files*/
.labelInput {
    font-size: 15px !important;
    letter-spacing: 1px;
}

.spanNomeArquivo {
    font-size: 20px !important;
    letter-spacing: 1px;
}

/*header {
    border-bottom: 1px solid #cedae3;
}*/

#footer {
    border-top: 1px solid #cedae3;
    width: 100%;
    max-width: 1600px;
    padding-top: 5px;
    background-color: #fff;
    text-align: center;
    position: fixed;
}

#overlayWhite {
    background-color: #fff !important;
    z-index: 9;
}

#login {
    background-color: rgba(255, 255, 255, 0.98);
    padding-top: 25px;
    padding-bottom: 25px;
    z-index: 10;
}

    #login .w3-modal-content {
        box-shadow: 0 8px 20px 0 rgba(0,0,0,0.4), 0 8px 40px 0 rgba(0,0,0,0.40) !important;
    }

#divContentLaudo {
    display: none;
}

    #divContentLaudo h4 {
        color: #fff !important
    }

    #divContentLaudo b {
        color: #0080a0 !important
    }

    #divContentLaudo h5, #divContentLaudo span {
        color: #e9e9e9 !important
    }

.arrow:after, .tooltip {
    background-color: #0080a0 !important;
    opacity: 0.8;
    border-color: #fff !important;
    color: #fff !important;
}

.fas {
    margin-left: 5px;
}

#divContent .w3-ul li:first-child {
    border-bottom: none !important;
}

.w3-light-grey {
    background-color: #e8e8e8 !important
}

.w3-button {
    background-color: #0080a0;
    color: #fff !important;
    font-size: 20px !important;
}


    .w3-button i {
        margin-left: 5px;
    }

    .w3-button:hover {
        background-color: black !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;

    }

.btnNaoFinalizaCredenciamentoViaSiteComMensagemVisaoGestorEspecialidade {
    background-color: gray;
    color: #fff !important;
    font-size: 20px !important;
}

.btnNaoFinalizaCredenciamentoViaSiteComMensagemVisaoGestorEspecialidade i {
    margin-left: 5px;
}

.btnNaoFinalizaCredenciamentoViaSiteComMensagemVisaoGestorEspecialidade:hover {
    background-color: black !important;
    color: #fff !important;
    transition: all .5s;
    -webkit-transition: 0.5s;
}


.liItem:hover, .liItemExterno:hover, .liItemRamais:hover, .liItemLinks:hover, .liItemFichas:hover, .liItemOperadora:hover, .liItemMedicoCredenciamento:hover, .liItemMedicosExpiradosSCRE:hover, .liItemMedicosJubiladosMV:hover, .liItemProtocolo:hover {
    cursor: pointer;
    background-color: #0080a0 !important;
    color: #fff !important;
    transition: all 0.8s;
    -webkit-transition: 0.8s;
}

    .liItem:hover span, .liItemExterno:hover, .liItemRamais:hover span, .liItemLinks:hover span, .liItemFichas:hover span, .liItemOperadora:hover span, .liItemMedicoCredenciamento:hover span, .liItemMedicosExpiradosSCRE:hover span, .liItemMedicosJubiladosMV:hover span, .liItemProtocolo:hover span {
        color: #fff !important;
        transition: all 0.7s;
        -webkit-transition: 0.7s;
    }

.liItemMedicoMV div {
    display: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .liItemMedicoMV div:hover {
        background-color: #004b5e !important;
        padding-left: 20px;
        color: #fff !important;
        border: 1px solid #fff !important;
        transition: all 0.5s;
        -webkit-transition: 0.5s;
    }



.despesquisa {
    text-decoration: underline;
}

    .despesquisa:hover {
        color: #0080a0 !important
    }

.btnVerPedido {
    font-size: 16px !important;
    margin-top: 25px;
    margin-left: 2px;
}

.datepick {
    width: 200px;
    text-align: center;
}

.w3-input {
    outline: none;
    transition: all .5s;
    -webkit-transition: 0.5s;
    letter-spacing: 1px;
}

    .w3-input:hover {
        border: 1px solid #0080a0 !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    .w3-input:focus {
        border: 1px solid #004b5e !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

.w3-underline {
    text-decoration: underline;
    cursor: pointer;
}

    .w3-underline:hover {
        color: #004b5e !important;
    }

span.w3-btn:hover {
    color: #fff !important;
    background-color: #0080a0 !important;
    transition: all .5s;
    -webkit-transition: 0.5s;
}

.w3-btnClose {
    background-color: #fff !important;
    color: #0080a0 !important;
    font-size: 32px !important;
}

.w3-clear-both {
    clear: both;
}

.w3-font-color {
    color: #0080a0 !important;
}

    .w3-font-color:hover {
        color: #004b5e !important;
        cursor: pointer !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

.w3-text-color {
    color: #004b5e !important;
}

.w3-background {
    background-color: #004b5e !important;
}

.ui-datepicker {
    width: 22em !important;
}

.ui-datepicker-month, .ui-datepicker-year {
    color: #0080a0 !important;
}

.ui-datepicker-header {
    background-color: #0080a0 !important;
    color: #fff !important;
}

    .ui-datepicker-header span {
        color: #fff !important;
    }

.ui-datepicker-today .ui-state-highlight {
    border: 1px solid #0080a0 !important;
    background: #bbe3ed !important;
    color: #0080a0 !important;
}

.ui-icon-circle-triangle-w, .ui-icon-circle-triangle-e {
    background-image: url(../js/jquery-ui/images/ui-icons_ffffff_256x240.png) !important;
}

.ui-state-active {
    border: 1px solid #bbe3ed !important;
    background: #0080a0 !important;
    font-weight: normal;
    color: #ffffff;
}

.ui-slider-handle {
    background: #bbe3ed !important;
    border: 1px solid #bbe3ed !important;
    width: 2em !important;
}

.ui-state-hover {
    background-color: #bbe3ed !important;
}

.ui-visual-focus {
    box-shadow: none !important;
}

.ui-checkboxradio-label i {
    font-size: 20px;
}

.ui-checkboxradio-label b {
    margin-left: 5px;
}

.ui-checkboxradio-radio-label, .ui-checkboxradio-label {
    margin: 3px;
}

.ui-button.ui-checkboxradio-label, .w3-checkbox {
    border: 1px solid #ccc !important;
    border-radius: 0px !important;
    background: #fff !important;
    font-weight: normal !important;
    color: #0080a0 !important;
    outline: none !important;
}

    .ui-button.ui-checkboxradio-label.ui-state-active {
        border: 1px solid #004b5e !important;
        background: #0080a0 !important;
        font-weight: normal !important;
        color: #ffffff !important;
        outline: none !important;
        -webkit-transition: 0.5s;
    }

        .ui-button.ui-checkboxradio-label.ui-state-active:hover, .ui-button.ui-checkboxradio-label:hover {
            border: 1px solid #004b5e !important;
            background: #004b5e !important;
            font-weight: normal !important;
            color: #ffffff !important;
            outline: none !important;
            -webkit-transition: 0.5s;
        }

section.alertify {
    border: 4px solid #0080a0;
}

.alertify-button-ok {
    background-color: #0080a0 !important;
    border: 1px solid #004b5e !important;
}

#rc-imageselect {
    transform: scale(0.77) !important;
    -webkit-transform: scale(0.77) !important;
    transform-origin: 0 0 !important;
    -webkit-transform-origin: 0 0 !important;
}


.column {
    float: left;
    width: 35%;
    padding: 0 10px;
}

/* Remove extra left and right margins, due to padding in columns */
.row {
    margin: 0 -5px;
}

    /* Clear floats after the columns */
    .row:after {
        content: "";
        display: table;
        clear: both;
    }

/* Style the counter cards */
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
    padding: 16px;
    text-align: center;
    background-color: #f1f1f1;
    cursor:pointer;
}
.cardFuncionalidades {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
    padding: 1px;
    text-align: center;
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Responsive columns - one column layout (vertical) on small screens */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}


/*CSS TABLES DO AESC.SISTEMAS*/
.ssmd-content {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #d9e2e5 !important;
    min-height: 200px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 10px 10px 0 rgba(0,0,0,0.2) !important;
}

.foo {
    overflow-x: auto;
    overflow-y: auto;
}

.ssmd-content label {
    padding-left: 20px;
    color: #4d7498;
    font-weight: bold;
}

.ssmd-content .ssmd-input {
    margin-right: 5px;
}

.ssmd-div-filter {
    float: left;
}

.ssmd-grid {
    border: 1px solid #28a4c9;
    margin: 10px 20px 0px 20px;
    background-color: #fff;
    border-radius: 5px;
}

    .ssmd-grid table tbody tr:hover {
        background-color: #133f67 !important;
        color: #fff !important;
        -webkit-transition: 0.3s;
    }



/*css da table dentro do modal modalDocumentacaoNovoPortalMedico que faz o efeito cor azul quando passa o mouse na coluna da tabela */
.ssmd-gridModal table tbody td:hover {
    background-color: #133f67 !important; /*#133f67*/
    color: #fff !important;
    -webkit-transition: 0.3s;
}
.ssmd-gridModal {
    border: 1px solid #28a4c9;
    margin: 10px 20px 0px 20px;
    background-color: #fff;
    border-radius: 5px;
}
.ssmd-pagina {
    margin-bottom: 5px;
    border-bottom: 1px solid #d9d9d9;
    border-top: 1px solid #7ccee6;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    border-bottom: 1px solid #dddddd;
    color: #133f67;
}

thead {
    background-color: #28a4c9;
    color: #FFF;
    font-size: 12px;
}

#tableItens thead, .tableItens thead {
    font-weight: bold;
}

td, th {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    text-align: left;
    padding: 6px;
}

tr:nth-child(even) {
    background-color: #bdccdb;
}

#tableItens tbody tr:nth-child(odd), .tableItens tbody tr:nth-child(odd) {
    background-color: #eff2f6;
}

.ssmd-div-content {
    margin: 0px 20px 20px 20px;
}

.ssmd-title-link {
    cursor: pointer;
}

    .ssmd-title-link:hover {
        color: #4d7498 !important;
        font-style: italic;
    }


.w3-quarter {
    cursor: pointer;
}

    .w3-quarter:hover {
        color: #4d7498 !important;
        font-style: italic;
    }



.ssmd-border:focus, .ui-datepicker-month:focus, .ui-datepicker-year:focus {
    border: 1px solid #4d7498 !important;
    -webkit-transition: 0.5s;
}

.ssmd-border:hover, .ui-datepicker-month:hover, .ui-datepicker-year:hover {
    border: 1px solid #28a4c9 !important;
    -webkit-transition: 0.5s;
}

.ssmd-border, .ui-datepicker-month, .ui-datepicker-year {
    border: 1px solid #9aafc2 !important;
    outline: none;
}

.ssmd-spinner {
    outline: none;
}

#contentDocumento {
    text-align: center;
}

#botoesDoumentos {
    text-align: center;
}

.headerModal {
    background-color: #0080a0 !important;
}

.footerModal {
    background-color: #0080a0 !important;
}

.hoverModalAvisoRecadastro {
    
    margin: 10px 20px 0px 20px;
    background-color: #fff;
    border-radius: 5px;
}

    .hoverModalAvisoRecadastro table tbody tr:hover {
        background-color: #133f67 !important;
        color: #fff !important;
        -webkit-transition: 0.3s;
    }

/*TESTE*/

.column {
    float: left;
    width: 50%;
    border-style: groove;
    border-color: #0080a0 !important;
}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

input[type=file] {
    min-width: 100%;
}


.navbar {
    overflow: hidden;
    background-color: #333;
}

    .navbar a {
        float: left;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
       
    }

.required:after {
    content: " *" !important;
    color: red !important;
}


.InputCheckError, .InputCheckError:hover, .InputCheckError:focus {
    border-left-width: 4px !important;
    border-left-color: darkorange !important;
    border-left-style: solid !important;
    background-color: hsl(36.52deg 100% 50% / 50%) !important;
}

* {
    box-sizing: border-box
}

/* Slideshow container */
* {
    box-sizing: border-box
}

.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    width: 97% !important;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: #717171;
    }

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px
    }
}

::-webkit-scrollbar {
    width: 16px;
    cursor:pointer;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #9e9e9e;
    border-radius: 7px;
    cursor: pointer;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #0080a0;
    }



/* Modal */
.modalMedVerAvaliacao {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Conteúdo do modal */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Botão de fechar */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: black;
    }

/* Estilo da barra */
.grade-bar-container {
    margin-bottom: 15px;
}

.grade-barAvaliacaoPerformance {
    margin-bottom: 5px;
}

.grade-label {
    margin-bottom: 5px;
    font-weight: bold;
}
.grade-labelBI {
    margin-bottom: 10px;
    font-weight: bold;
    text-align:center;
}

.bar {
    width: 100%;
    background-color: #eee;
    border-radius: 20px;
    overflow: hidden;
}

.bar-fill {
    height: 20px;
    text-align: right;
    padding-right: 8px;
    color: white;
    line-height: 20px;
    font-size: 12px;
    border-radius: 20px 0 0 20px;
}

.green {
    background-color: #4CAF50;
}

.orange {
    background-color: #FF9800;
}

.red {
    background-color: #F44336;
}

.blue {
    background-color: #2196F3;
}

.percentual-label {
    position: absolute;
    right: 10px;
    top: 0;
    height: 100%;
    line-height: 30px;
    font-weight: bold;
    color: #333;
    display: none;
}

.barraAvaliacoes, .barraFichas, .barraCredenciamento, .barraComportamento, .barraResultadoClinico, .barraFichasCredenciamento {
    width: 100%;
    height: 30px;
    background-color: #e0e0e0;
    position: relative;
    border-radius: 6px;
    /*    overflow: hidden;*/
    overflow: visible; /* Impede corte do gráfico */
    margin-bottom: 1rem;
}

.grafico {
    width: 250px;
    height: 100px;
}

.graficoFicha {
    position: relative;
    width: 100%;
    height: 300px; /* ou o que preferir */
}

.graficoCredenciamento {
    position: relative;
    width: 100%;
    height: 300px; /* ou o que preferir */
}

#graficoFichasGeral {
    position: absolute;
    height: 100% !important;
}

#graficoCredGeral {
    position: absolute;
    height: 100% !important;
}

/*canvas#graficoAvaliacoesGeral {
    display: block;
    margin-top: 20px;
}
*/
#graficoAvaliacoesGeral {
    display: block;
    margin: 20px auto;
    max-width: 100% !important; /* Largura máxima */
    max-height: 100% !important; /* Altura máxima */
    width: 100% !important; /* Responsivo */
}

@media (min-width: 1068px) {
    #graficoAvaliacoesGeral, #graficoFichasGeral, #graficoCredGeral {
        width: 400px;
        height: 400px;
    }
}


.corNotasTotal, .corFichasTotal, .corNotaComportamento, .corNotaResultadoClinico {
    height: 100%;
    background-color: #41c746;
    width: 0%;
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    white-space: nowrap;
    padding: 0 5px;
    box-sizing: border-box;
    transition: width 1s ease;
    border-radius: 6px;
}

    .corNotasTotal:hover, .corFichasTotal:hover, .corNotaComportamento:hover, .corNotaResultadoClinico:hover {
        filter: brightness(1.1);
    }

.percentual-label {
    position: absolute;
    right: 8px;
    top: 0;
    height: 100%;
    line-height: 30px;
    font-weight: bold;
    color: #333;
    display: none;
    pointer-events: none;
}

.barra-faltante {
    height: 100%;
    background-color: #f44336; /* vermelho */
    float: left;
}

/* Responsivo para telas menores */
@media (max-width: 600px) {
    .barraAvaliacoes, .barraFichas {
        height: 24px;
    }

    .corNotasTotal, .corFichasTotal, .corNotaComportamento {
        font-size: 12px;
        line-height: 24px;
    }

    .percentual-label {
        font-size: 12px;
        line-height: 24px;
    }
}


.modalHistoricoAvaliacoesVisaoGestores {
 
    width: 100%;
    overflow: auto; /* Permite rolagem da tela se necessário */
    background-color: rgba(0,0,0,0.4);
}

/* Conteúdo do modal */
.modalGestorAvaliacoesContent {
    background-color: #fefefe;
    max-height: 70vh; /* Altura máxima */
    overflow-y: auto; /* Adiciona barra de rolagem vertical se necessário */
}

body.modo-escuro .h4Card {
    color: white !important;
}
body.modo-escuro {
    background-color: #121212 !important;
    color: #ffffff !important;
}

    body.modo-escuro .w3-bar {
        background-color: #1e1e1e !important;
        color: #ffffff !important;
    }

    body.modo-escuro .w3-button {
        background-color: #252121 !important;
        color: #ffffff !important;
    }

    body.modo-escuro a {
        color: #aad4ff;
    }

    body.modo-escuro label,
    body.modo-escuro span {
        color: white !important;
    }

    body.modo-escuro w3-background, .headerModal {
        background-color: #252121 !important;
    }

    body.modo-escuro .w3-button:hover, .liItemMedicoCredenciamento:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    body.modo-escuro .liItemOperadora:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    body.modo-escuro .liItem:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    body.modo-escuro .liItemLinks:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    body.modo-escuro .liItemRamais:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    body.modo-escuro .liItemTermosPai:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

    body.modo-escuro .liItemProtocolo:hover {
        background-color: #707070 !important;
        color: #fff !important;
        transition: all .5s;
        -webkit-transition: 0.5s;
    }

/* Hover apenas quando corpo não estiver no modo escuro */
body:not(.modo-escuro) .liItemMedicoCredenciamento:hover, .liItemOperadora:hover {
    background-color: #0080a0 !important;
}

body:not(.modo-escuro) .liItem:hover {
    background-color: #0080a0 !important;
}

body:not(.modo-escuro) .liItemLinks:hover {
    background-color: #0080a0 !important;
}

body:not(.modo-escuro) .liItemRamais:hover {
    background-color: #0080a0 !important;
}

body:not(.modo-escuro) .liItemTermosPai:hover {
    background-color: #0080a0 !important;
}

body:not(.modo-escuro) .liItemProtocolo:hover {
    background-color: #0080a0 !important;
}

body:not(.modo-escuro) .headerModal {
    background-color: #0080a0 !important;
}

/* Hover no modo escuro*/
body.modo-escuro .liItemMedicoCredenciamento:hover {
    background-color: #707070 !important;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.feed {
    flex: 1;
    padding: 20px;

  
}

.post {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #ddd;
    overflow: hidden;
    text-align:center !important;
}

  /*  .post img {
        width: 100%;
        height: auto;
    }*/
.img {
    width: 60%;
    height: auto;
}

.post {
    width: 100%;
    height: auto;
}

    .post-content h3 {
        margin: 0 0 10px;
    }

    .post-content p {
        margin: 0;
        color: #555;
    }

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

}


.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.carousel-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

/*SEPARAMENTO DOS BOTÕES MELHORANDO A SUA VISUALIZAÇÃO - VISÃO DO MÉDICO*/
.itemPage, .logoff, .fechar {
    border: 1px solid rgba(0,0,0,0.1);
    /*    border-radius: 3px;
*/ padding: 8px 16px;
    background-color: #0080a0;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 1px;
}

.itemPage:hover, .logoff:hover, .fechar:hover {
    background-color: #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}



/*=============================TABLE DAS FICHAS COM A PIZZA=================================*/
.grafico-tabela-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.graficoFicha {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.graficoCredenciamento {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tabelaFicha, .tabelaCredenciamento {
    flex: 1 1 500px;
    min-width: 300px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/*REESCREVI O SSMD-GRID ORIGINAL PARA AJUSTAS A MARGEM EM DISPOSITIVOS MENORES*/
.ssmd-gridTabelaFichaPizza {
    border: 1px solid #28a4c9;
    margin: 10px 0px 0px -8px;
    background-color: #fff;
    border-radius: 5px;
}

.ssmd-gridTabelaFichaPizzaFuncionario {
    border: 1px solid #28a4c9;
    margin: 10px 0px 0px -8px;
    background-color: #fff;
    border-radius: 5px;
}

    .ssmd-gridTabelaFichaPizza table tbody tr:hover {
        background-color: #133f67 !important;
        color: #fff !important;
        -webkit-transition: 0.3s;
    }

/* Remove largura fixa e controla pelo CSS */
.contatos {
    width: 55%;
    box-sizing: border-box;
}

/* Quando a tela for menor que 768px, o card ocupa 100% */
@media screen and (max-width: 768px) {
    .contatos {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

.gestaoMedica {
    width: 75%;
    box-sizing: border-box;
}

/* Quando a tela for menor que 768px, o card ocupa 100% */
@media screen and (max-width: 768px) {
    .gestaoMedica {
        width: 100% !important;
        margin-bottom: 10px;
    }
}


/* Em telas grandes, remova a rolagem e force o ajuste */
@media (min-width: 769px) {
    .table-responsive {
        overflow-x: hidden; /* Remove a barra */
    }

    .tableItenHistoricoFichas, .tableItenHistoricoFichasCredenciamento, .tableItenHistoricoCredenciamento {
        width: 100% !important;
        min-width: unset !important;
        table-layout: auto;
    }
}

@media (max-width: 768px) {
    .tabelaFicha, .tabelaCredenciamento, .tableItenHistoricoCredenciamento {
        width: 100%;
        overflow-x: auto;
    }

    .tableItenHistoricoFichas, .tableItenHistoricoFichasCredenciamento, .tableItenHistoricoCredenciamento {
        min-width: 600px;
    }
}
/* Responsivo para telas menores */
@media (max-width: 768px) {
    .grafico-tabela-container {
        flex-direction: column;
    }
}
@media (max-width: 450px) {
    .grafico-tabela-container {
        flex-direction: column;
    }
}

.modo-escuro-flutuante {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    background-color: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Responsivo para mobile */
@media screen and (max-width: 600px) {
    .modo-escuro-flutuante {
        top: 60%;
        right: 10px;
        padding: 6px 10px;
        font-size: 14px;
        gap: 6px;
    }
}


/*CSS PARA O NOVO MENU**/
.icone-acessibilidade {
    position: fixed;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    z-index: 10000;
    background-color: #0080a0;
    color: white;
    padding: 12px;
    border-radius: 20%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    font-size: 18px;
}

.menu-slide-acessibilidade {
    position: fixed;
    top: 0;
    right: -350px; /* escondido inicialmente */
    width: 350px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    z-index: 9999;
    padding: 20px;
    font-family: Arial, sans-serif;
}

    .menu-slide-acessibilidade.open {
        right: 0;
    }

    .menu-slide-acessibilidade .titulo-menu {
        font-weight: bold;
        margin-bottom: 20px;
        text-align: center;
        font-size: 16px;
    }

    .menu-slide-acessibilidade ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px; /* espaçamento entre os botões */
    }

        .menu-slide-acessibilidade ul li {
            display: flex;
            justify-content: center;
        }

    .menu-slide-acessibilidade .w3-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 15px;
        background-color: #0080a0;
        color: white;
        cursor: pointer;
        font-size: 14px;
        width: 100%;
        text-align: center;
        transition: background-color 0.2s ease;
    }

        .menu-slide-acessibilidade .w3-button:hover {
            background-color: #005fa3;
        }

        .menu-slide-acessibilidade .w3-button i {
            font-size: 1.2em;
        }


.btn-fechar-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/*CARD DO MAPA DO SITE*/
.cards-mapa-site {
    margin-top: 40px;
    padding: 1px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

    .cards-mapa-site .card {
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        padding: 15px;
        width: 220px;
        text-align: center;
        transition: transform 0.3s ease;
    }

        .cards-mapa-site .card:hover {
            transform: translateY(-5px);
        }

        .cards-mapa-site .card i {
            font-size: 32px;
            margin-bottom: 10px;
            color: #0078d7;
        }

        .cards-mapa-site .card h3 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .cards-mapa-site .card p {
            font-size: 14px;
            color: #555;
        }


/*CSS DOS BOTÕES PARA RESPONSIVIDADE*/

.menu-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.menu-btn {
    padding: 10px 15px;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .menu-btn:hover {
        background-color: #005fa3;
    }

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .menu-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-btn {
        width: 100%;
        font-size: 16px;
    }
}


@media (min-width: 769px) {
    #sidebar {
        display: none !important;
    }
}


/*NOVO RODAPE*/
.rodape-aesc {
    background-color: white; /*#f2f2f2*/ 
    padding: 30px 20px;
    font-family: Arial, sans-serif;
    color: #333;
    margin-top: 40px;
}

.rodape-conteudo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.redes-sociais, .unidades {
    flex: 1 1 300px;
}

    .redes-sociais h4, .unidades h4 {
        margin-bottom: 10px;
        font-size: 18px;
        color: #0078d7;
    }

.icones-redes a {
    margin-right: 10px;
    font-size: 24px;
    color: #0078d7;
    text-decoration: none;
}

    .icones-redes a:hover {
        color: #005fa3;
    }

.unidades ul {
    list-style: none;
    padding: 0;
}

.unidades li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.logo-aesc {
    text-align: center;
    margin-top: 20px;
}

    .logo-aesc img {
        max-width: 200px;
    }


.itemPageMedico, .itemPageMedicosMV, .itemPageMedicosExternos {
    margin-right: 10px; /* espaçamento entre os botões */
}

/*LAYOUT DOS NOVOS CARDS - TESTE*/

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 30%;
        border-radius: 6px;
        margin-bottom: 15px;
    }

    .card h3 {
        margin: 10px 0;
        color: #0080a0;
    }

    .card p {
        color: #555;
    }

.arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
    color: #0080a0;
}



/*CSS MODIFICADO PARA OS BOTÕES PRINCIPAIS*/

html, body {
    overflow: hidden; /* ou auto, se necessário */
}


/*CSS PARA A TABLE DAS AVALIAÇÕES DO BI*/

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
}



/*CSS PARA O DROPDOWN*/

.checkbox-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

#filtroEspecialidade {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.checkbox-list label {
    display: block;
    padding: 6px 8px;
    margin-bottom: 4px;
    font-size: 15px;
    cursor: pointer;
}

#divMaster.sem-espacamento {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: #fff;
}


/*TESTE*/

/*.w3-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;*/ /* Header em cima, imagem embaixo */
    /*background: #fff;
}

.headerModal {
    background: #007b8f;
    color: #fff;
    padding: 4px;
    flex-shrink: 0;*/ /* Não encolhe */
/*}

.modal-body {
    flex: 1;*/ /* Ocupa o restante */
    /*display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.carousel-container img {
    max-width: 95vw;
    max-height: 85vh;*/ /* Ajusta para não sobrepor header */
    /*object-fit: contain;
}*/



.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #ccc;
    border-top-color: #2c7;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.progress {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px
}

.progress-bar {
    height: 100%;
    background: #2c7;
    width: 0%;
    transition: width .2s ease
}