@media only screen and (max-width: 1000px) {
    .form-laudar .s50{
        display: inline-block;
        width: 100%;
        vertical-align: top;
    }
    
    .form-laudar .s50 .cl-checkbox{
        width: 100%;
        margin: 0;
        top: -7px;
    }
    
    .form-laudar .s50 button{
        width: 100%;
        margin: 0;
    }
    
    .form-laudar .s80{
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .form-laudar .s20{
        width: 100%;
    }
    
    .form-laudar #laudo-medico, .form-laudar #laudo{
        top: 0px;
    }

    .form-laudar #limpar-laudo{
        height: auto;
        padding: 2px;
        top: -6px;
        border-radius: 10px;
        margin: 0;
    }
    
    #repetir{
        top: -5px;
    }
    
    .prepago{
        padding: 3px 0;
        position: relative;
        text-align: center;
        width: 100%;
    }
    
    .prepago2{
        position: relative;
        right: 0;
        top: 0;
        z-index: 99;
    }
    
    .prepago2 div{
        display: inline-block;
    }
}

@media only screen and (max-width: 800px) {
    .assistencial{
        top: -30px;
        left: 115px;
    }

    .header-form-table .cl-checkbox #ocpass{
        display: block;
        width: 100%;
        top: 0;
        margin-bottom: 2px;
    }
    
    .cl-text[fatura="obs"]{
        width: 100%;
    }

    .cl-text[fatura="avulso"]{
        width: 100%;
    }

    .cl-text[fatura="pagamento"]{
        width: 100%;
    }

    .form-fatura{
        padding: 0;
        margin: 0;
    }
    
    .form-fatura input[type='text']{
        width: 100%;
    }

    .form-fatura input[type='date']{
        width: 100%;
    }

    .form-fatura input[type='month']{
        width: 100%;
    }

    .fvalidacao{
        width: 100%;
    }
    
    .cvalidacao{
        width: 100%;
        margin: 5px 0;
        border-bottom: 1px solid #CCC;
    }
    
    #header-logo{
        max-width: 120px;
    }
    
    table, thead, tbody, th, td, tr { 
        display:block;
    }
	
    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
        display:block;
    }

    tr { border-bottom: 2px solid transparent; }

    td { 
        /* Behave  like a "row" */
        border: none;
        position: relative;
    }

    td:before { 
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .table-mobile-info{
        display: inline-block;
        margin-right: 5px;
        background-color: #555;
        color: #FFF;
        padding: 0 2px;
    }
    
    th .table-mobile-info{
        display: inline-block;
        margin-right: 0;
        background-color: transparent;
        color: #AAA;
        padding: 0;
        font-weight: normal;
        font-size: 12px;
        position: absolute;
        z-index: 9;
        top: 15%;
        left: 4%;
    }

    th .table-mobile-info[alt='2']{
        top: 65%;
    }
    
    .table-filter-input{
        text-align: left;
    }
    
    table tr{
        padding: 2px 0;
    }
    
    table tr td{
        text-align: left;
        font-size: 14px;
        padding: 2px 5px;
    }
    
    .table-header th:not(.th-extrato){
        display: none;
    }
    
    td[extvalor='extvalor']{
        width: 100%;
        text-align: right;
        margin: 0;
    }
    
    .table-centrallaudos[extrato='positivo'],.table-centrallaudos[extrato='positivo'] td[nome='nome'],.table-centrallaudos-dark[extrato='positivo'],.table-centrallaudos-dark[extrato='positivo'] td[nome='nome'],.table-centrallaudos[extrato='negativo'],.table-centrallaudos[extrato='negativo'] td[nome='nome'],.table-centrallaudos-dark[extrato='negativo'],.table-centrallaudos-dark[extrato='negativo'] td[nome='nome']{
        padding-left: 5px;
    }
    
    .table-nome span{
        background-color: #cbd8e0;
        padding: 0 2px;
    }
    
    .table-nome span .parte{
        background-color: #333;
        color: #FFF;
        font-size: 10px;
        padding: 5px;
    }
    
    .form-table-data{
        width: 100%;
        margin: 0 0 2px 0;
    }
    
    .header-form-table input,.header-form-table a,.form-laudar button{
        width: 100%;
        top: 0px;
        margin: 0 0 2px 0;
        display: block;
        text-align: center;
    }
    
    h1{
        margin: 2px 0;
        text-align: center;
    }
    
    h2{
        margin: 10px 0;
        text-align: center;
    }
    
    h2 b{
        margin: 10px 0;
        text-align: center;
    }
    
    .form-laudar .s50{
        display: inline-block;
        width: 100%;
        vertical-align: top;
    }
    
    .form-laudar .s50 .cl-checkbox{
        width: 100%;
        margin: 0;
        top: -7px;
    }
    
    .form-laudar .s50 button{
        width: 100%;
        margin: 0;
    }
    
    .form-laudar .s80{
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .form-laudar .s20{
        width: 100%;
    }
    
    .form-laudar #laudo-medico, .form-laudar #laudo{
        top: 0px;
    }

    .form-laudar #limpar-laudo{
        height: auto;
        padding: 2px;
        top: -6px;
        border-radius: 10px;
        margin: 0;
    }
    
    #repetir{
        top: -5px;
    }
    
    div[alt="orText"]{
        padding: 10px 0;
    }
    
    div[alt="orText"] header b{
        padding: 0;
    }
    
    table[alt='medico'] tr th .table-filter-input[name='te_natureza'],table[alt='medico'] tr th .table-filter-input[name='te_criacao1'],table[alt='medico'] tr th .table-filter-input[name='te_criacao2']{
        display: none;
    }
    
    .header-form-table .clear-filter{
        width: 100%;
    }

    .form-report{
        margin: 8px 0px 50px 0px;
    }

    .form-report input{
        width: 100%;
    }
    
    .report-general-0-10 section{
        width: 100%;
        margin-bottom: 2px;
    }

    .form-report .report-anchor{
        width: 100%;
    }
    
    .header-nav{
        position: fixed;
        left: 0;
        width: 100%;
        top: 43px;
    }

    .header-nav ul{
        width: 100%;
    }
    
    .header-nav ul li nav{
        position: relative;
        margin-top: 1px;
        padding-right: 10px;
        margin-left: 0px;
        margin-top: 0px;
        width: 100%;
        border-top: 1px solid #EEE;
        padding-right: 0px;
        z-index: 99999999;
    }
    
    .header-nav ul li nav a{
        background-color: #EEE;
    }
    
    .screen-total{
        z-index: 9999999999999999;
    }
    
    .screen-total-data{
        margin: 50px 0 0 0;
        width: 100%;
        padding-bottom: 10px;
    }
    
    .screen-total-data header{
        font-size: 9px;
    }
    
    .screen-total-data header .table-mobile-info{
        display: none;
    }

    .screen-total-data-footer a,.screen-total-data-footer input{
        width: 100%;
        top: 0;
        margin-left: 0;
    }

    .screen-total-data-footer a{
        top: -2px;
    }
        
    .screen-total-data-options,.screen-total-data-yes-no{
        margin: 10px 0;
    }

    .screen-total-data-options a,.screen-total-data-options button,.screen-total-data-yes-no a,.screen-total-data-yes-no button{
        padding: 5px 5px;
    }

    .screen-total-data-options a img,.screen-total-data-options button img,.screen-total-data-yes-no a img,.screen-total-data-yes-no button img{
        width: 50px;
    }
    
    .report-commercial-form{
        margin: 0;
    }

    .report-commercial-form input[type='text']{
        width: 100%;
    }

    .report-commercial-submit{
        width: 100%;
    }

    .report-commercial-values{
        display: block;
        width: 100%;
    }

    .report-commercial-data{
        display: block;
        width: 100%;
        margin: 0;
    }

    .report-commercial-data[alt='acc']{
        margin: 0;
        display: block;
        width: 100%;
    }
    
    .report-commercial-data-logo{
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 25px;
    }

    .report-commercial-data-name{
        display: block;
        padding-left: 0;
        width: 100%;
        text-align: center;
        margin: 25px 0 15px 0;
    }

    .report-commercial-data-name div{
        margin-top: 15px;
    }

    .form-upload-client{
        margin: 0;
        width: 100%;
    }

    .form-upload{
        margin: 0;
        width: 100%;
    }

    #client-search{
        margin-top: 20px;
        position: relative;
        right: 0;
        top: 0;
    }

    .form-upload .red{
        min-width: 0;
        position: relative;
        left: 0;
        margin: 0;
        animation-name: none;
        display: none;
        width: 100%;
    }

    .form-alterar{
        margin: 0;
        width: 100%;
    }

    
    













    .diagram-container{
        position: absolute;
        margin-top: 10px;
        height: auto;
    }

    .diagram{
        text-align: center;
        width: 100%;
    }

    .diagram-data{
        background-color: rgba(255,255,255,0.5);
        width: 100%;
    }

    .diagram-dotted{
        display: none;
    }

    .diagram-data header{
        text-align: center;
    }

    .diagram-data footer{
        text-align: center;
        margin: 20px 0;
        visibility: visible;
    }

    .diagram-buttons a{
        display: block;
        text-align: left;
        margin: 5px 0;
        padding-left: 10px;
        width: 100%;
    }

    .diagram-buttons a img{
        width: 28px;
        display: inline-block;
    }

    .diagram-buttons a header{
        text-align: left;
        margin-top: 0;
        display: inline-block;
        width: auto;
        margin-left: 10px;
    }

    .diagram-buttons a footer{
        text-align: left;
        display: inline-block;
        width: auto;
        margin-left: 5px;
    }

    .diagram-more{
        display: none;
        margin: 10px 0 5px 0;
    }

    .diagram-img{
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .diagram-item[alt='ecg']{
        left: 0;
        display: block;
    }

    .diagram-more[alt='ecg']{
        bottom: 0;
        display: none;
        position: relative;
    }

    .diagram-img[alt='ecg']{
        right: 0;
        display: block;
        margin-top: 0;
    }

    .diagram-dotted[alt='ecg']{
        left: 0;
        top: 0;
        display: none;
    }

    .diagram-data[alt='ecg']{
        left: 0;
        display: block;
    }

    .diagram-more[alt='eeg']{
        bottom: 0;
        right: 0;
        display: none;
        position: relative;
    }

    .diagram-more[alt='eega']{
        right: 0;
        top: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='eeg']{
        left: 0;
        top: 0;
    }

    .diagram-img[alt='eeg']{
        right: 0;
    }

    .diagram-img[alt='eega']{
        right: 0;
        top: 0;
        width: 150px;
        display: none;
    }

    .diagram-dotted[alt='eeg']{
        right: 0;
    }

    .diagram-dotted[alt='eega']{
        top: 0;
    }

    .diagram-data[alt='eeg']{
        right: 0;
    }

    .diagram-more[alt='esp']{
        top: 0;
        left: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='esp']{
        top: 0;
        left: 0;
    }

    .diagram-img[alt='esp']{
        top: 0;
        right: 0;
    }

    .diagram-dotted[alt='esp']{
        top: 0;
        right: 0;
    }

    .diagram-data[alt='esp']{
    }

    .diagram-more[alt='acu']{
        top: 0;
        left: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='acu']{
        top: 0;
        left: 0;
    }

    .diagram-img[alt='acu']{
        right: 0;
    }

    .diagram-dotted[alt='acu']{
        right: 0;
    }

    .diagram-data[alt='acu']{
    }

    .diagram-more[alt='cam']{
        top: 0;
        right: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='cam']{
        left: 0;
        top: 0;
    }

    .diagram-img[alt='cam']{
        right: 0;
        bottom: 0;
    }

    .diagram-dotted[alt='cam']{
        right: 0;
    }

    .diagram-data[alt='cam']{
        right: 0;
    }

    .diagram-more[alt='oit']{
        top: 0;
        left: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='oit']{
        top: 0;
        left: 0;
    }

    .diagram-img[alt='oit']{
        top: 0;
        right: 0;
    }

    .diagram-dotted[alt='oit']{
        right: 0;
        bottom: 0;
    }

    .diagram-data[alt='oit']{
    }

    .diagram-more[alt='rx']{
        top: 0;
        right: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='rx']{
        left: 0;
        top: 0;
    }

    .diagram-img[alt='rx']{
        top: 0;
        right: 0;
    }

    .diagram-dotted[alt='rx']{
        top: 0;
        right: 0;
    }

    .diagram-data[alt='rx']{
        right: 0;
    }

    .diagram-more[alt='mam']{
        top: 0;
        right: 0;
        display: none;
        position: relative;
    }

    .diagram-item[alt='mam']{
        left: 0;
        top: 0;
    }

    .diagram-img[alt='mam']{
        top: 0;
        right: 0;
    }

    .diagram-dotted[alt='mam']{
        top: 0;
        right: 0;
    }

    .diagram-data[alt='mam']{
        right: 0;
    }

    .cl-text[name='ddd1'],.cl-text[name='ddd2'],.cl-text[name='ddd3']{
        width: 29%;
    }

    .cl-text[name='telefone1'],.cl-text[name='telefone2'],.cl-text[name='telefone3']{
        width: 69%;
        padding-left: 10px;
    }

    .cl-text[name='numero'],.cl-text[name='cep'],.cl-text[name='cpf'],.cl-text[name='cnpjcpf'],.cl-text[name='complemento'],.cl-text[name='cidade'],.cl-text[name='estado']{
        width: 100%;
    }

    .report-anchor{
        display: block;
        text-align: center;
        margin: 0 0 2px 0;
    }

    .report-general{
        padding: 10px 0;
    }

    .report-general[finance='finance']{
        padding: 2px 0;
        width: 70%;
        float: left;
    }

    .report-general header{
        width: 100%;
        text-align: center;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        margin: 20px 0 2px 0;
        padding: 7px 0;
    }

    .report-general section{
        min-width: 0;
    }

    .report-general-0-10 section{
        margin: 2px 0;
    }

    th select[style='visibility:hidden;'],th input[style='visibility:hidden;'],.table-filter-input[name='te_valor'],.table-filter-input[name='te_valormedico']{
        display: none;
    }

    input[alt='espValue']{
        width: 39%;
    }

    input[alt='fatValue']{
        width: 59%;
    }

    .table-centrallaudos[conta='pago'] .table-nome span,.table-centrallaudos-dark[conta='pago'] .table-nome span,.table-centrallaudos[conta='pagar'] .table-nome span,.table-centrallaudos-dark[conta='pagar'] .table-nome span{
        background-color: rgba(255,255,255,0.3);
    }

    .form-conta section input[alt='nome'],.form-conta section input[alt='vencimento'],.form-conta section input[alt='valor'],.form-conta section select[alt='plano'],.form-conta section input[alt='datapago']{
        width: 100%;
    }

    .conta-submit .report-anchor{
        display: block;
        width: 100%;
        min-width: max-content;
        max-width: max-content;
        text-align: center;
    }

    .form-conta section .cl-checkbox{
        width: 100%;
        top: 0;
        left: 0;
        text-align: center;
    }

    .conta-massa,.conta-massa-dark{
        padding: 25px 0;
    }

    .conta-submit[alt="parte"]{
        bottom: -1px;
    }

    .cl-text[name="complemento"]{
        width: 85%;
    }
    
    .cl-text[name="cidade"]{
        width: 85%;
    }
    
    .laudo-container-item button{
        font-size: 11px;
        margin: 0;
    }
    
    .report-general{
        width: 100%;
    }
    
    .report-general[finance='finance']{
        width: 100%;
    }
    
    .report-general header{
        width: 100%;
    }
    
    .report-general section{
        width: 100%;
    }

    .report-general section footer{
        width: 100%;
    }

}