/**
RESPONSIVO
*/
@media 
only screen and (min-device-width : 320px) and (max-device-width : 770px){
    
    #conteudo {
        font-size: 110%;
        padding: 0 !important;
        margin-left: 6px;
        margin-right: 4px;
    }
    
    #rodapeDireito, #rodapeEsquerdo{
        display: none !important;
    }

    #rodapeTexto{
        display: none !important;
    }
    
    #sistemasIntegradosHolder {
        display: none !important;
    }
    
    #sistemasIntegrados {
        display: none !important;
    }
    
    #botoesZoom {
        display: none !important;
    }
    
    #linhaMenu {
        display: block !important;
    }
    
    #divBotaoVoltarPagina, 
    #divBotaoFecharPagina{
        position: fixed;
        top: 0px;
        z-index: 1000; /*para ficar na frente dos outros elementos*/
        margin-top: 3px;
    }
    #divBotaoFecharPagina{
        width: 100%; /*para ficar na direita*/
    }
    
    #tituloPagina{
        margin-top: 0px;
    }

    .logoFormulario{
        display: none !important;
    }
    
    .logoFormulario img{
        display: none !important;
    }
    
    .formularioContainer{
        display: inherit !important;
    }
    
    .escondeResponsivo{
        display: none;
    }
    
    a:after{
        content: attr(data-label) !important;
    }
    
    
    /*
    Uma tabela responsiva
    tabelaResponsiva
    */
    /* Force table to not be like tables anymore */
    .tabelaResponsiva table,
    .tabelaResponsiva thead,
    .tabelaResponsiva tbody,
    .tabelaResponsiva th,
    .tabelaResponsiva td,
    .tabelaResponsiva tr {
        display: block; 
    }
    
    .tabelaResponsiva {
        width: 100%;
    }

    .tabelaResponsiva tr {
        border: 1px solid #ccc;
    }

    .tabelaResponsiva th {
        text-align: left;
        font-weight: bold;
        font-size: 0.7em;
    }

    .tabelaResponsiva td { 
        /* Behave  like a 'row' */
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        /*padding-left: 50%;*/
    }

    .tabelaResponsiva td:before {
        white-space: nowrap;
    }
    
    .tabelaResponsiva td:before {
        content: attr(data-label);
        font-size: 0.7em;
        font-weight: bold;
        color: gray;
    }
    
    .tabelaResponsiva.semDataLabel td:before {
        content: "";
    }
    
    .tabelaResponsiva .linhaSelecionada td:before {
        content: attr(data-label) !important;
    }
    
    .tabelaResponsiva .limitaTextoUmaLinha {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;/*...*/
        max-width: 100vw;/*100% do screen*/
    }
    
    .tabelaResponsiva .linhaSelecionada .limitaTextoUmaLinha {
        white-space: normal;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .semCabecalho th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    /*
    Tabela formulario responsiva
    Cada th ou td em uma linha
    */
    /* Force table to not be like tables anymore */
    .formulario.responsivo table,
    .formulario.responsivo thead,
    .formulario.responsivo tbody,
    .formulario.responsivo th,
    .formulario.responsivo td,
    .formulario.responsivo tr { 
        display: block !important; 
    }

    .formulario.responsivo td { 
        /* Behave  like a 'row' */
        border: none !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .formulario.responsivo th {
        text-align: left !important;
        font-size: 0.9em;
    }
    
    
    
    /*
    inputs selects e textarea responsivos
    */
    .responsivo input[type='text'],
    .responsivo input[type='email'],
    .responsivo input[type='button'],
    .responsivo input[type='submit'],
    .responsivo input[type='password'],
    .responsivo input[type='file'],
    .responsivo a.botao,
    .responsivo select,
    .responsivo textarea{
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        resize: vertical;
    }
    
    .responsivo input[type="radio"],
    .responsivo input[type="checkbox"] {
        transform: scale(1.4);/* Aumenta o tamanho em 1.5x (50% maior) */
        margin: revert;
        /*
        transform-origin: center;
        margin-right: 15px;
        width: 25px;
        height: 25px;
        */
    }
    
    .responsivo button,
    .responsivo a.botao,
    .responsivo a.botaoIcone,
    .responsivo input[type='button'],
    .responsivo input[type='file'],
    .responsivo input[type='submit']{
        width: 100%;
        margin: 0px !important;
        font-size: 100% !important;
    }
    
    .responsivo a.botao{
        display: inline-block;
    }

    /*
    sem o calendario para os campoData
    */
    .responsivo button.botaoCalendario {
        display: none;
    }
    
    img.responsivo {
        width: 100% !important;
        height: auto !important;
    }
    
    
    /*MODAL*/
    .modal, 
    .modalIframe {
        max-width: 100% !important;
        left: 0px !important;
        top: 0px !important;
        margin-left: 0px !important;
        margin-top: 0px !important;
        width: 100% !important;
    }
    
    .modal .conteudo,
    .modalIframe .conteudo {
        max-height: 100% !important;
        height: 100% !important;
        padding: 0px !important;
    }
    
    .modalIframe #conteudo {
        padding: 0px !important;
    }
    
    .modalIframe iframe{
        max-width: 100% !important;
        max-height: 100% !important;
        width: 100%;
        /*height: 100%;*/
    }
}

