.view-detalhes .row:first-child {
    border-top: 1px solid #dee2e6;
}

.view-detalhes .row > div {
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75em;
}

.view-detalhes .row > div:first-child {
    border-left: 1px solid #dee2e6;
}

.error-message {
    color: #dc3545;
    font-style: italic;
}

/* SORTABLE */
.sortable {
    list-style-type: none;
}

.sortable li {
    margin-bottom: 5px;
    cursor: move;
}

.sortable.painel li {
    cursor: pointer;
}

.sortable li:before {
    border-left: 1px solid #999;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px
}

.sortable li > p > small {
    display: none;
}

.sortable li > p:hover small {
    display: inline;
}

.sortable li > ol {
    margin-top: 5px;
}

.sortable .dragged {
    border: solid 1px #000;
}

.sortable .dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

.sortable li.placeholder {
    position: relative;
    /** More li styles **/
    padding: 10px;
    border: #000 dashed 1px;
}

.sortable li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
}

.proximo-plantao label {
    padding: 0 20px;
}

.hospitais {
    border: 1px solid #C9CFD6;
    border-radius: 5px;
    margin-bottom: 20px;
}

.hospitais i {
    color: #4b545c;
}

.hospitais a {
    color: inherit;
}

.hospitais .conteudo {
    padding: 25px 5px 5px 5px;
}

.hospitais .conteudo .andar {
    padding: 5px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    min-height: 25px;

}

.hospitais .conteudo .andar .setores {
    padding: 5px 5px 5px 15px;
}

.hospitais .conteudo .andar .setores ul {
    margin-bottom: 0 !important;
    padding-left: 15px !important;
}

.hospitais .conteudo .andar .setores ul li {
    list-style: none;
}

.hospitais .conteudo .andar .titulo {
    margin-top: -18px;
    position: absolute;
    color: #4b545c;
    background: #f4f6f9;
    padding-left: 10px;
    padding-right: 10px;
}

.hospitais span.titulo {
    background: #f4f6f9;
    margin: -16px 0 0 10px;
    position: absolute;
    font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
}

.leitos a {
    color: #59636C;
}

.direct-chat-messages {
    background: url("../img/bg_mensagens.jpg");
}

.direct-chat-text-recebido {
    background-color: #6c757d;
    border: 1px solid #6c757d;
    color: #FFF;
}

.direct-chat-text-recebido:after {
    border-right-color: #6c757d;
}

.tipo_ocorrencia label {
    width: 100%;
    margin-bottom: 0 !important;
}

.tipo_ocorrencia label input {
    margin-right: 5px;
}

.link-usuario {
    background: #cfe2ff;
    padding: 0 5px;
    border-radius: 2px;
}

.link-tipo-ocorrencia {
    background: #ffe5d0;
    padding: 0 5px;
    border-radius: 2px;
}

.file-name {
    max-width: 250px;
    position: absolute;
    bottom: 70px;
    border-radius: 5px;
}

.corpo-da-mensagem {
    background: #D9FDD3;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
}

#div-mensagem {
    height: auto;
}

.excluido {
    text-decoration: line-through;
    background: #E5E5E5;
}

.excluido img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray; /* IE */
}

.excluido .card-header {
    background: #E5E5E5;
}

.observacao_plantoes {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.botao-fechar-resposta {
    right: 15px;
    position: absolute;
    margin-top: -20px;
    border: 1px solid red;
    border-radius: 50px;
    padding: 0px 5px;
    font-size: 11px;
    cursor: pointer;
}

.ui-autocomplete {
    z-index: 9999 !important;
}

.observacoes-timeline:before {
    background-color: transparent !important;
}

.observacoes-timeline > div:before {
    background-color: #dee2e6;
    display: block;
    bottom: -30px;
    content: "";
    left: 31px;
    margin: 0;
    position: absolute;
    top: 30px;
    width: 4px;
}
.d-sm-inline-block{
    display: inline-block;
}
@media screen and (max-width: 1374px) {
    .botoes-painel-profissional .btn {
        width: 100%;
    }

}

