/* GRID LARGURA TOTAL */
.r-vbar-page .r-content-col .r-body > * {
  max-width: 100% !important;
}

/* CENTRALIZA VERTICALMENTE TODAS AS CÉLULAS DAS GRIDS */
tr.r-gridrow td {
  vertical-align: middle !important;
}

/* COR DOS HEADERS DAS TABELAS */
thead th {
  color: white !important;
  background-color: #17A2B8 !important;
  font-size: 85% !important;
  text-align: center !important;
  vertical-align: center !important;
}

/* TAMANHO DE FONTE NAS GRIDS */
.r-grid {
  font-size: 14px !important;
}

/* ESTILIZA CAMPOS DOS FORMULÁRIOS */
input.form-control,
select.form-control {
  height: 32px !important;
  padding: 0px 7px !important;
  font-size: 18px !important;
}

/* ESTILIZA O MULTI-SELECT */
input.chosen-search-input,
ul.chosen-choices {
  height: 70px !important;
  padding: 0px 5px !important;
  font-size: 14px !important;
}

/* ESTILIZA OS RADIOS */
input.rnr-radio-button {
  width: 18px !important;
  height: 18px !important;
}

/* ESTILIZA OS CHECKBOX */
input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
}

div.rnr-horizontal-lookup,
div.rnr-vertical-lookup {
  font-size: 18px !important;
}

span.rnr-radio-label {
  margin-left: 5px;
}

/* AJUSTES NOS PAINEIS */
.panel > .list-group,
.panel > .panel-collapse > .list-group {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-evenly !important;
}

/* FORMATA AS CAIXAS DA LANDPAGE */
.bs-welcome-item {
  text-align: center;
}

.welcome-image {
  width: 120px !important;
  height: 120px !important;
  display: inline-block;
  margin: 10px auto;
}

/* ESTILIZA O PAINEL DE FILTROS */
.filterPanelContainer {
  display:flex;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  font-size: 12px !important;
}

.panel.panel-info.filter-field {
  margin: 0px 0px 15px 0px;
}

/* APARÊNCIA DOS FILTROS */
.r-vbar-page .r-left [data-itemtype="filter_panel"] .panel .panel-heading {
  font-size: 12px !important;
  font-weight: bold !important;
  border-radius: 5px !important;
}

/* MARGEM ABAIXO DO PAINEL */
.panel-primary {
  margin-bottom: 20px !important;
}

/* COR DE CONTROLES INATIVOS */
input[type=text]:disabled,
select[multiple]:disabled,
select[size]:disabled,
input[type=password]:disabled,
input[type=number]:disabled,
input[type=email]:disabled,
textarea:disabled,
radio:disabled,
checkbox:disabled {
  background: #ababab !important;
}

/* ALINHA BOTÃO NO PAINEL DE FILTRO */
.panel-footer {
  text-align: center;
}

/* COLOCA MARGEM NOS PAINEIS */
.r-grid-vertical > .r-record-body > .panel {
  padding: 5px 5px 5px 5px !important;
}

/* AJUSTA MARGENS DOS CONTROLES INLINE */
.r-horizontal-grid .r-ori-vert [data-itemtype="grid_field"][data-editcontrol] {
  margin: auto !important;
}

/* ARREDONDA CONTROLES */
.r-horizontal-grid .r-ori-vert [data-itemtype="grid_field"][data-editcontrol] .form-control {
  border-radius: 3px !important;
}

input.form-control {
  border-radius: 3px !important;
}

/* OCULTA DRAG N' DROP EM UPLOAD */
.rnr-dragndrop-area {
  display: none !important;
}

/* REMOVE A LINHA ABAIXO DAS TABS */
.nav-tabs {
  border-bottom: 0px solid #464545 !important;
}

/* PUXA A PRIMEIRA TAB PARA DIREITA*/
.nav-tabs > li {
  margin-left: 10px;
}

/* DEIXA AS TABS COM A COR DA BARRA */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #ffffff;
  background-color: #375a7f !important;
  border: 1px solid #464545 !important;
  border-bottom-color: transparent !important;
  cursor: default;
}

/* ESTILIZA AVISOS */
.classe-avisos {
color: #e44747 !important;
font-weight: 700 !important;
font-size: 15px !important;
padding: 5px 10px;
border-radius: .30em;
border: 2px solid #e44747 !important;
float: left !important;
width: 100% !important;
}

/* FONTE NO PAINEL DE BUSCA */
.form-group.srchPanelRow.rnr-basic-search-field {
  font-size: 12px;
}

/* ALINHA HEADERS NA VERTICAL */
th.r-ori-vert {
  vertical-align: middle !important;
}

/* CORES NO PAINEL DETAILS EM ADD/EDIT */
.panel-info {
  border-color: #454545 !important;
}
.panel-info > .panel-heading {
  background-color: #454545 !important;
  border-color: #454545 !important;
}

/* FORMATA LABEL DAS TABS */
.nav-tabs {
  font-size: 80% !important;
  font-weight: bold !important;
}

/* DEIXA SELECIONADO COM FUNDO ESCURO */
.rnr-bs-dpreviewrow.rnr-bs-dpreviewrow .dpinline,
.bs-details-opened.bs-details-opened.bs-details-opened:not(.r-record-body),
.bs-details-opened.bs-details-opened.bs-details-opened.r-record-body > .panel {
  background: #303030;
}