/* Grid panel rendered customizado */


/* Padrão */
.customgridpanel .x-grid-table .x-grid-rowbody .easygridcontrol-header-container {
    display: flex;
    flex-direction: row;
}

.customgridpanel .x-grid-table .x-grid-rowbody .easygridcontrol-item {
    display: flex;
    flex-direction: row;
    padding: 0px 0px 0px 0px !important;
}

.customgridpanel .x-grid-table .x-grid-rowbody .easygridcontrol-item:hover {
    background-color: #bce4ff !important;
}

.customgridpanel .x-grid-table .x-grid-rowbody .easygridcontrol-item.x-subgrid-menu-open {
    background-color: #bce4ff !important;
}

.customgridpanel .x-grid-table .x-grid-rowbody .easygridcontrol-item .easygridcontrol-col {
    margin-right: 0;
    padding: 6px 6px 6px 12px !important;
}

.customgridpanel .x-grid-table .x-grid-rowbody .easygridcontrol-item .easygridcontrol-col.spacing-column {
    padding: 0px !important;
}

#pnMain-body .customgridpanel .x-docked-top {
    padding-top: 0px !important;
}

#pnMain-body .customgridpanel .x-docked-top .x-box-inner {
    height: 37px !important;
}

#pnMain-body .customgridpanel .x-column-header {
    height: 37px !important;
    background-color: #FbFbFb !important;
    padding: 0;
}

#pnMain-body .customgridpanel .x-column-header.spacing-column-header,
#pnMain-body .customgridpanel .x-column-header.last-column-header {
    border-right: none !important;
}

#pnMain-body .customgridpanel .x-column-header.spacing-column-header .x-column-header-over {
    background-color: transparent !important;
}

#pnMain-body .customgridpanel .x-column-header .x-column-header-inner {
    padding: 14px 6px 10px 6px !important;
}

#pnMain-body .customgridpanel .x-grid-with-row-lines .x-grid-table {
    border-top: none;
    padding-top: 8px;
}

#pnMain-body .customgridpanel .x-grid-with-row-lines .x-grid-td {
    border: none;
}

#pnMain-body .customgridpanel .x-grid-row-selected {
    background-color: transparent !important;
}

#pnMain-body .customgridpanel .x-grid-row-over {
    cursor: pointer;
}

#pnMain-body .customgridpanel .x-grid-cell-inner {
    padding: 0 !important;
}

#pnMain-body .customgridpanel .x-grid-row-over td,
#pnMain-body .customgridpanel .x-grid-menu-open td {
    background-color: #f7f3f7 !important;
    cursor: pointer;
}

#pnMain-body .customgridpanel .x-grid-row-over .spacing-left,
#pnMain-body .customgridpanel .x-grid-row-over .spacing-right,
#pnMain-body .customgridpanel .x-grid-menu-open .spacing-left,
#pnMain-body .customgridpanel .x-grid-menu-open .spacing-right {
    background-color: white !important;
    cursor: default !important;
}

#pnMain-body .customgridpanel .x-grid-row-focused .x-grid-td {
    border: none !important;
}

#pnMain-body .customgridpanel .x-grid-table tbody td {
    padding: 0 !important;
}

#pnMain-body .customgridpanel .x-grid-table tbody td .td-div-container,
#pnMain-body .customgridpanel .x-grid-table tbody td .x-grid-cell-inner-action-col {
    border-bottom: 1px solid #efefef;
    border-top: 2px solid transparent;
    height: 45px;
    padding: 4px 6px !important;
    align-content: center;
}

#pnMain-body .customgridpanel .x-grid-table tbody td .x-grid-cell-inner-action-col img {
    margin: 0 3px;
}

/* List Tratamento */
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .x-docked-top {
    background-color: #FbFbFb !important;
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnNovoProcedimentoFichaClinica,
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnOrcamentoFichaClinica,
#pnMain-body .ficha_clinica .customgridpanel.fc-receberlistdb #btnOrcamentoFichaClinicaFin,
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnFinalizarFichaClinica,
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnInterromperFichaClinica,
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnReabrirFichaClinica,
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnExcluirFichaClinica {
    top: 9px !important;
    margin: auto !important;
    border: none !important;
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .icon-procedimento-novo {
    background-image: url(../images/ico_novo_paciente_transp.png);
    border-radius: 50%;
    background-size: 20px;
}

#pnMain-body .ficha_clinica .customgridpanel.fc-receberlistdb .icon-orcamento,
#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .icon-orcamento {
    background-image: url(../images/ico_ficha_clinica_tratamento_orcamento.svg);
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .icon-finalizar {
    background-image: url(../images/ico_ficha_clinica_tratamento_finaliza.svg);
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .icon-interromper {
    background-image: url(../images/ico_ficha_clinica_tratamento_interrompe.svg);
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .icon-reabrir {
    background-image: url(../images/ico_ficha_clinica_tratamento_reabre.svg);
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .icon-excluir {
    background-image: url(../images/ico_ficha_clinica_tratamento_exclui.svg);
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento .unna-toolbar {
    background: url("../images/unna_toolbar.svg") center -4px no-repeat;
    background-size: 120px;
    width: 120px;
    height: 32px
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnUnnaFichaClinica {
    border: none !important;
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnUnnaFichaClinica-btnEl {
    height: 32px;
}

#pnMain-body .ficha_clinica .customgridpanel.fc-listtratamento #btnUnnaFichaClinica-btnWrap {
    background-image: url("../images/icon_spinner_down.png") !important;
    background-size: 12px;
}

.customgridpanel.fc-listtratamento .box-procedimento .icone {
    float: left;
    padding: 0 4px 0 0;
    margin-top: 3px;
    margin-right: 4px;
}

.customgridpanel.fc-listtratamento .box-procedimento .procedimento {
    font-weight: normal;
    font-family: arial, tahoma, verdana, sans-serif;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 15px;
    margin-top: 1px;
}

.customgridpanel.fc-listtratamento .box-procedimento .status {
    padding: 2px 0 4px 0;
    font-family: arial,tahoma,verdana,sans-serif;
    font-size: 11px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customgridpanel.fc-listtratamento .box-procedimento .status .pendente {
    font-weight: bold;
    color: rgb(207, 122, 87);
}

.customgridpanel.fc-listtratamento .box-procedimento .status .finalizado {
    font-weight: bold;
    color: blue;
}

.customgridpanel.fc-listtratamento .box-procedimento .status .observado {
    font-weight: bold;
    color: green;
}

.customgridpanel.fc-listtratamento .tx-observacoes {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: break-spaces;
}

.customgridpanel.fc-listtratamento .cd_glosa {
    font-size: 11px;
    color: darkred;
}



/* List de agendamentos diarios na ficha clinica */
#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-body {
    top: 32px !important;
    border: none !important;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-view {
    background-color: transparent !important;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-table tbody td .td-div-container {
    height: auto;
    border: none;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-row-over td,
#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-menu-open td {
    background-color: #1B8C8F !important;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .opcoes-agendamento,
#pnMain-body .customgridpanel.fc-calendariolistdiario .opcoes-agendamento-over,
#pnMain-body .customgridpanel.fc-calendariolistdiario .opcoes-agendamento-focus,
#pnMain-body .customgridpanel.fc-calendariolistdiario .opcoes-agendamento-pressed {
    background: url("../images/ico_ficha_clinica_painel_novo.svg") center no-repeat;
    left: 213px !important;
    background-size: 16px;
    margin: 0 0 0 9px !important;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .pesquisar-agendamento,
#pnMain-body .customgridpanel.fc-calendariolistdiario .pesquisar-agendamento-over,
#pnMain-body .customgridpanel.fc-calendariolistdiario .pesquisar-agendamento-focus,
#pnMain-body .customgridpanel.fc-calendariolistdiario .pesquisar-agendamento-pressed {
    background: url("../images/ico_ficha_clinica_painel_search.svg") center no-repeat;
    background-size: 16px;
    margin: 0 8px 0 0 !important;
}

#pnMain-body .customgridpanel .fc-calendariodatepicker-label {
    color: white;
    text-align: left !important;
    right: auto !important;
    left: 6px !important;
}

.customgridpanel.fc-calendariolistdiario .box-vl-cor {
    width: 13px;
    height: 13px;
    margin: 10px 4px 4px 6px;
}

.customgridpanel.fc-calendariolistdiario .box-foto {
    width: 24px;
    height: 24px;
    background-size: 24px !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    margin: 4px auto;
}

.customgridpanel.fc-calendariolistdiario .box-foto.circlePacFoto {
    border-radius: 50%;
}

.customgridpanel.fc-calendariolistdiario .box-hora {
    color: white;
    text-align: center;
    font-size: 11px;
}

.customgridpanel.fc-calendariolistdiario .box-nome {
    color: white;
    margin-top: 4px;
    white-space: break-spaces;
}

.customgridpanel.fc-calendariolistdiario .box-motivo {
    margin-top: -2px;
    color: white;
    font-size: 11px;
    white-space: normal;
    padding-right: 3px;
    padding-top: 3px;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-view::-webkit-scrollbar {
    width: 4px;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-view::-webkit-scrollbar-thumb {
    background: #1a6a6d; /*#1B8C8F;*/
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-grid-view::-webkit-scrollbar-track {
    background: transparent;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-toolbar-docked-bottom {
    border: none !important;
    background-color: transparent !important;
    background-image: none;
}

#pnMain-body .customgridpanel.fc-calendariolistdiario .x-toolbar-docked-bottom label {
    color: white;
}

/* List Financeiro */
#pnMain-body .ficha_clinica .customgridpanel.fc-receberlistdb .x-docked-top {
    background-color: #FbFbFb !important;
}

#pnMain-body .customgridpanel.fc-receberlistdb > .x-docked-top .x-box-inner {
    height: 37px !important;
}

#pnMain-body .customgridpanel.fc-receberlistdb #btnNovoRecebimentoFichaClinica {
    top: 9px !important;
    margin: auto !important;
    border: none !important;
    left: 14px !important
}

#pnMain-body .customgridpanel.fc-receberlistdb .icon-recebimento-novo {
    background-image: url(../images/ico_novo_paciente_transp.png);
    border-radius: 50%;
    background-size: 20px;
}

#pnMain-body .customgridpanel.fc-receberlistdb #btnExcluirRecebimentoFichaClinica {
    top: 9px !important;
    margin: auto !important;
    border: none !important;
}

#pnMain-body .customgridpanel.fc-receberlistdb .icon-recebimento-excluir {
    background-image: url(../images/ico_ficha_clinica_tratamento_exclui.svg);
}

#pnMain-body .customgridpanel.fc-receberlistdb #sbReceberDBPesquisa {
    margin-top: 2px !important;
    height: 32px;
}

#pnMain-body .customgridpanel.fc-receberlistdb .easygridcontrol-container {
    font-size: 12px;
}

/*#pnMain-body .customgridpanel.fc-receberlistdb .x-grid-table .x-grid-rowbody .easygridcontrol-item:last-child .easygridcontrol-col {
    padding-bottom: 7px !important;
}*/

#pnMain-body .customgridpanel.fc-receberlistdb .x-grid-header-ct {
    top: 37px !important;
}

#pnMain-body .customgridpanel.fc-receberlistdb .x-grid-with-row-lines .x-grid-rowwrap .x-grid-table {
    padding-top: 0;
    background: white;
}

#pnMain-body .customgridpanel.fc-receberlistdb .x-grid-row-focused.x-grid-row-collapsed .x-grid-cell.x-grid-td {
    border-bottom: none !important;
}

#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-over .x-grid-td,
#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-menu-open .x-grid-td {
    background-color: #f7f3f7 !important;
}

#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-over .x-grid-td.spacing-left,
#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-over .x-grid-td.spacing-right,
#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-menu-open .x-grid-td.spacing-left,
#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-menu-open .x-grid-td.spacing-right,
#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-selected .x-grid-td.spacing-left,
#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-selected .x-grid-td.spacing-right {
    background-color: white !important;
    cursor: default !important;
}

#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-selected .x-grid-td {
    background-color: #EFEFEF !important;
}


#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row-focused .x-grid-rowbody-tr .easygridcontrol-container {
    border-bottom: none !important;
}


#pnMain-body .easygridexpandrow.customgridpanel.fc-receberlistdb .x-grid-row .x-grid-table .x-grid-rowbody {
    background-color: #dff2ff;
}

.customgridpanel.fc-receberlistdb .box-cat-desc div {
    font-family: arial,tahoma,verdana,sans-serif;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customgridpanel.fc-receberlistdb .box-cat-desc .descricao {
    font-size: 11px;
}

.customgridpanel.fc-receberlistdb .box-par-pagto {
    display: flex;
    justify-content: space-evenly;
}

.customgridpanel.fc-receberlistdb .box-par-pagto .cd-tipo-checkout {
    width: 16px;
    height: 16px;
}

.customgridpanel.fc-receberlistdb .box-par-pagto .status-checkout {
    border-radius: 3px;
    font-size: 11px;
    width: 31px;
    padding: 1px 1px 1px 6px;
    height: 15px;
}