article{
    display: flex;
    height: 100%;
    background: #f0f3f4;
}

.conteudo{
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.titulo-area-principal{
    padding: 3rem;
    margin-bottom: 4rem;
    font-size: 3rem;
    background: #e0e7ef;
    color: #9eaeca;
    display: flex;
}

.titulo-area-principal button{
    color: #f0f7ff;
    background: #beceda;
    border: none;
    border-radius: 2rem;
    padding: .2rem .8rem .2rem .5rem;
    min-height: 0;
    font-size: 1.3rem;
    outline: none;
}

.titulo-area-principal button i{
    font-size: 1.4rem;
}


.conteudo-area-principal{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 3rem;
    overflow: hidden;
}

.sombra-listagem::after{
    height: 1rem;
    margin-top: -1rem;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, .05);
    z-index: 9999;
    transition: .5s;
}

.sombra-listagem.aberta::after{
    box-shadow: 0 0 1rem rgba(0, 0, 0, .35);
}

.fechamento,
.exame{
    position: relative;
    display: flex;
    border: solid .1rem #e2edf2;
    border-radius: .4rem;
    margin: 0 0 1rem 0;
    color: #888;
}

.fechamento{
    background: #fff;
}

.exame{
    background: rgba(255,255,255,.5);
}

.exame[data-situacao=U],
.exame[data-situacao=N]{
    background: #fff;
}

.exame[data-situacao=N]{
    border-color: #f55;
}

.exame[data-situacao=N] .rotulo-obs{
    color: #c00;
}

.exame .rotulo-tipo-exame::after{
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border: solid .1rem #0001;
    border-radius: 50%;
    font-size: 1.1rem;
    font-family: 'tmeFont' !important;
    color: #fff;
    position: absolute;
    bottom: -1rem;
    right: -1rem;
}


.dados-exame-wrapper{
    flex: 1;
    padding: 3rem 3rem 3rem 0;
    font-size: 1.2rem;
    position: relative;
}

.dados-exame-wrapper .nome-arquivo,
.dados-exame-wrapper .nome-paciente,
.conteudo-fechamento .tipo-servico{
    display: inline-block;
    margin-bottom: .2rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
}

.dados-exame-wrapper .tamanho-arquivo,
.dados-exame-wrapper .codigo-exame,
.conteudo-fechamento .preco-servico{
    font-weight: bold;
}

.dados-exame-wrapper .rotulos-exames-wrapper{
    float: right;
}

.rotulo-exame{
    display: inline-block;
    padding: 0 .5rem;
    border-radius: 1.5rem;
    background: #b9b7b7;
    border: solid .1rem #0001;
    font-size: 1.2rem;
    color: #fff;
}

.rotulo-exame.urgente{
    background: #f00;
}

.rotulo-exame.marcapasso{
    background: #f6d990;
    color: #765;
}

.motivo-recusa,
.motivo-solicitacao-informacoes {
    display: block;
    margin-top: 1rem;
    color: #888;
    text-decoration: none;
    outline: none;
}

.motivo-recusa .obs::first-letter,
.motivo-solicitacao-informacoes .informacao::first-letter {
    text-transform: capitalize;
}

#centralizador{
    flex: 1;
    padding-right: 3rem;
}

.conteudo-area-principal.envio-exames{
    flex-direction: column;
    width: 100%;
}

.mostrar-mobile{
    display: none;
}

.msg{
    padding: 1rem;
    font-weight: bold;
    position: relative;
    font-size: 1.2rem;
    border-radius: 0;
    background: #e0e7ef;
    border: solid .1rem #dee1e2;
    color: #9eaeca;
}


.msg i{
    font-size: 2rem;
    text-align: center;
    display: inline-block;
    margin-right: 1rem;
}

.msg-erro{
    background:#f16165;
    border: solid .1rem #d40000;
    color: #fff;
}

.msg-alerta{
    background: rgba(245, 216, 0, .3);
    color: rgba(0,0,0,.5);
    border: solid .1rem rgba(0,0,0,.1);
}


[data-form-field-wrapper][data-form-error].form-field input:focus,
[data-form-field-wrapper][data-form-error].form-field textarea:focus,
[data-form-field-wrapper][data-form-error].form-field select:focus,
[data-form-field-wrapper][data-form-error] .form-field input:focus,
[data-form-field-wrapper][data-form-error] .form-field textarea:focus,
[data-form-field-wrapper][data-form-error] .form-field select:focus{
    border-bottom-color: #e22424;
}


#instalar-webapp-wrapper{
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem;
    background: #000;
    color: #DDDDDD;
    font-size: 1.2rem;
    display: none;
}





@media screen and (max-width: 1024px) {
    html {
        font-size: 50%;
    }
}

@media screen and (max-width: 768px){
    /*html{*/
        /*font-size: 56.25%;*/
    /*}*/

    .mostrar-mobile{
        display: block;
    }

    .oculto-mobile{
        display: none;
    }

    article{
        flex-direction: column;
    }

    .titulo-area-principal{
        display: none;
    }

    .conteudo-area-principal{
        padding: 0 1rem;
    }

    .exame{
        margin: .5rem 0;
    }



    #form-body{
        padding: 1rem;
    }

    #form-body #salvar,
    #form-body #cancelar{
        margin: 0 auto;
    }

    #form-body #salvar{
        margin-right: 1rem;
    }

    .form-section{
        padding-bottom: 1rem;
    }
}


@media screen and (max-height: 700px) {
    html {
        font-size: 45%;
    }
}


@media screen and (max-height: 550px) {
    html {
        font-size: 40%;
    }
}
