/* =====================================================
   IURIS - Tema escuro / prata / dourado
   Carregar este arquivo DEPOIS do AdminLTE.css
   ===================================================== */

/* ---------- Paleta ----------
   Fundo geral:      #0F0E0D
   Fundo dos cards:  #1C1B1A
   Prata (destaque): #B8B8B8 / #D9D9D9
   Texto:            #EDEDED
   Dourado (acento): #A8894F
------------------------------------------------- */

/* Fundo geral da area principal e da barra lateral */
body.skin-blue,
.skin-blue .right-side,
.skin-blue .wrapper {
  background-color: #0F0E0D !important;
}
.skin-blue .left-side {
  background: #131211 !important;
  box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.6) !important;
}

/* Barra superior (navbar) e logo */
.skin-blue .navbar {
  background-color: #131211 !important;
  border-bottom: 1px solid #A8894F;
}
.skin-blue .navbar .nav a { color: #D9D9D9 !important; }
.skin-blue .navbar .nav > li > a:hover,
.skin-blue .navbar .nav > li > a:active,
.skin-blue .navbar .nav > li > a:focus {
  background: rgba(168, 137, 79, 0.15) !important;
  color: #EDEDED !important;
}
.skin-blue .logo {
  background-color: #0F0E0D !important;
  color: #D9D9D9 !important;
  border-bottom: 1px solid #A8894F;
  border-right: 1px solid #2a2a2a;
}
.skin-blue .logo > a { color: #D9D9D9 !important; font-weight: 600; }
.skin-blue .logo:hover { background: #1C1B1A !important; }

/* Cabecalho de cada pagina (onde aparece o titulo da tela) */
.skin-blue .right-side > .content-header {
  background: #0F0E0D !important;
  box-shadow: none !important;
}
.right-side > .content-header > h1,
.right-side > .content-header > h1 > small {
  color: #EDEDED !important;
}
.right-side > .content-header > .breadcrumb {
  background: transparent !important;
}
.right-side > .content-header > .breadcrumb > li,
.right-side > .content-header > .breadcrumb > li > a {
  color: #B8B8B8 !important;
}

/* Painel lateral do usuario logado */
.skin-blue .user-panel > .info,
.skin-blue .user-panel > .info > a {
  color: #EDEDED !important;
}

/* Menu lateral */
.skin-blue .sidebar,
.skin-blue .sidebar > .sidebar-menu > li {
  border-color: #2a2a2a !important;
}
.skin-blue .sidebar a { color: #B8B8B8 !important; }
.skin-blue .sidebar > .sidebar-menu > li > a:hover,
.skin-blue .sidebar > .sidebar-menu > li.active > a {
  color: #A8894F !important;
  background: #1C1B1A !important;
}
.skin-blue .sidebar > .sidebar-menu > li > .treeview-menu {
  background: #131211 !important;
}
.skin-blue .treeview-menu > li > a { color: #999 !important; }
.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover {
  color: #D9D9D9 !important;
}

/* Cards / caixas de conteudo */
.box {
  background: #1C1B1A !important;
  border-top: 2px solid #A8894F !important;
  color: #EDEDED !important;
}
.box .box-header { color: #EDEDED !important; border-bottom-color: #2a2a2a !important; }
.box-title { color: #EDEDED !important; }
.box .box-body { color: #D9D9D9 !important; }
.box-footer {
  background: #1C1B1A !important;
  border-top-color: #2a2a2a !important;
}

/* Titulos em geral */
h1, h2, h3, h4, h5, h6 { color: #EDEDED; }

/* Tabelas */
.table {
  color: #D9D9D9 !important;
  background: #1C1B1A !important;
}
.table > thead > tr > th {
  color: #EDEDED !important;
  border-bottom: 2px solid #A8894F !important;
}
.table > tbody > tr > td,
.table > tbody > tr > th {
  border-color: #2a2a2a !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #201f1e !important;
}
.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
  border-color: #2a2a2a !important;
}

/* Formularios (inputs, selects, textarea) */
.form-control {
  background-color: #131211 !important;
  border: 1px solid #3a3a3a !important;
  color: #EDEDED !important;
}
.form-control:focus {
  border-color: #A8894F !important;
  box-shadow: 0 0 0 0.15rem rgba(168, 137, 79, 0.25) !important;
}
label { color: #D9D9D9 !important; }
.input-group-addon {
  background: #1C1B1A !important;
  border-color: #3a3a3a !important;
  color: #B8B8B8 !important;
}

/* Links */
a { color: #C9A65E; }
a:hover, a:focus { color: #EDEDED; }

/* ---------- Tela de login ---------- */
body.login-page,
.form-box { }
.form-box .header {
  background: linear-gradient(180deg, #1C1B1A 0%, #0F0E0D 100%) !important;
  color: #D9D9D9 !important;
  border-bottom: 1px solid #A8894F;
}
.form-box .body,
.form-box .footer {
  background: #131211 !important;
  color: #D9D9D9 !important;
}

/* DataTables (busca, paginacao) */
.dataTables_wrapper,
.dataTables_length,
.dataTables_filter,
.dataTables_info {
  color: #D9D9D9 !important;
}
.dataTables_wrapper .form-control {
  background-color: #131211 !important;
}
.paginate_button {
  color: #D9D9D9 !important;
}
.paginate_button.current,
.paginate_button.current:hover {
  background: #A8894F !important;
  border-color: #A8894F !important;
  color: #0F0E0D !important;
}

/* ---------- Reforcos / pontos que passaram batido ---------- */

/* Caixa de busca e "resultados por pagina" do DataTables
   (esses campos nao usam a classe form-control, por isso precisam de regra propria) */
div.dataTables_filter input,
div.dataTables_length select {
  background-color: #131211 !important;
  border: 1px solid #3a3a3a !important;
  color: #EDEDED !important;
}

/* Reforca titulos com !important, caso outra regra mais especifica do
   tema original esteja competindo */
h1, h2, h3, h4, h5, h6,
.box-title, .box h1, .box h2, .box h3 {
  color: #EDEDED !important;
}

/* Pequenos cards do topo do dashboard (Clientes, Processos, etc.) */
.small-box.bg-aqua,
.small-box.bg-green,
.small-box.bg-yellow,
.small-box.bg-red,
.small-box.bg-blue,
.small-box.bg-light-blue,
.small-box.bg-teal-gradient,
.small-box.bg-light-blue-gradient,
.small-box.bg-blue-gradient,
.small-box.bg-aqua-gradient,
.small-box.bg-yellow-gradient,
.small-box.bg-purple-gradient,
.small-box.bg-green-gradient,
.small-box.bg-red-gradient,
.small-box.bg-black-gradient,
.small-box.bg-maroon-gradient {
  background: #2B2A28 !important;
}
.small-box h3, .small-box p {
  color: #C9A65E !important;
}
.small-box .icon {
  color: rgba(201, 166, 94, 0.18) !important;
}
.small-box > .small-box-footer {
  color: rgba(255,255,255,0.85) !important;
  background: rgba(255,255,255,0.05) !important;
}
.small-box > .small-box-footer:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Painel "Eventos" (lista de itens arrastaveis do calendario) */
.external-event {
  color: #ffffff !important;
}

/* ---------- Fundo da pagina inteira (corrige a faixa branca ao rolar ate o fim) ---------- */
html, body {
  background-color: #0F0E0D !important;
}

/* ---------- Contorno das caixas (corrige a linha clara ao redor dos cards) ---------- */
.box {
  border: 1px solid #2a2a2a !important;
  border-top: 2px solid #A8894F !important;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* ---------- Calendario do Dashboard (FullCalendar) ---------- */
.fc-widget-header,
.fc-widget-content {
  border: 1px solid #2a2a2a !important;
  background: #131211 !important;
}
.fc-state-highlight {
  background: #2a2210 !important; /* dia de hoje, tom escuro dourado em vez do amarelo claro */
}
.fc-day-number {
  color: #D9D9D9 !important;
}
.fc-toolbar h2 {
  color: #EDEDED !important;
}
.fc-button {
  background: #1C1B1A !important;
  color: #D9D9D9 !important;
  border-color: #3a3a3a !important;
}
.fc-state-active, .fc-state-hover {
  background: #A8894F !important;
  color: #0F0E0D !important;
}
.fc-event {
  border-color: rgba(0,0,0,0.3) !important;
}

/* ---------- Reforco final: contorno dos cards, com maxima prioridade ---------- */
div.box.box-primary,
div.box.box-info,
div.box.box-success,
div.box.box-warning,
div.box.box-danger,
div.box {
  border-left: 1px solid #2a2a2a !important;
  border-right: 1px solid #2a2a2a !important;
  border-bottom: 1px solid #2a2a2a !important;
  border-top: 2px solid #A8894F !important;
  background-color: #1C1B1A !important;
}

/* ---------- Fundo real por tras dos cards (achado via inspecao) ---------- */
.content,
section.content {
  background: #0F0E0D !important;
}

/* ---------- Correcao final: listras da tabela miram na celula, nao na linha ---------- */
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th,
.table-striped > tbody > tr:nth-child(even) > td,
.table-striped > tbody > tr:nth-child(even) > th {
  background-color: #1C1B1A !important;
  color: #D9D9D9 !important;
}
.table-striped > tbody > tr:nth-child(odd) > td {
  background-color: #201f1e !important;
}

/* ---------- Menus suspensos (dropdown) e botoes padrao ---------- */
.dropdown-menu {
  background-color: #1C1B1A !important;
  border: 1px solid #2a2a2a !important;
}
.dropdown-menu > li > a {
  color: #D9D9D9 !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: #131211 !important;
  color: #A8894F !important;
}
.user-footer {
  background: #131211 !important;
  border-top: 1px solid #2a2a2a !important;
}
.btn-default {
  background-color: #131211 !important;
  color: #D9D9D9 !important;
  border-color: #3a3a3a !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background-color: #A8894F !important;
  color: #0F0E0D !important;
  border-color: #A8894F !important;
}

/* ---------- Fundo azul do cabecalho do menu do usuario ---------- */
.user-header.bg-light-blue {
  background: linear-gradient(180deg, #1C1B1A 0%, #0F0E0D 100%) !important;
}

/* ---------- Paginacao estilo Bootstrap (outra variante usada em algumas tabelas) ---------- */
.pagination > li > a,
.pagination > li > span {
  background-color: #131211 !important;
  color: #D9D9D9 !important;
  border-color: #3a3a3a !important;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
  background-color: #1C1B1A !important;
  color: #A8894F !important;
}
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > span {
  background-color: #A8894F !important;
  border-color: #A8894F !important;
  color: #0F0E0D !important;
}
.pagination > .disabled > a,
.pagination > .disabled > span,
.pagination > .disabled > a:hover {
  background-color: #131211 !important;
  color: #5a5a5a !important;
  border-color: #2a2a2a !important;
}

/* ---------- Icone animado dos cards do dashboard: troca pelo simbolo Iuris ---------- */
.small-box .icon i {
  display: none !important;
}
.small-box .icon {
  background-image: url('../uploads/images/icon-watermark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 90px;
  height: 90px;
  opacity: 0.18;
}
.small-box:hover .icon {
  opacity: 0.3;
}
