/* =============================================================================
   Tema do parceiro CEBI Informatica (cdEmpresa 9) - conjunto "login"
   Carregado em: form_login.php, antes do login - pilha Bootstrap 4 separada

   NAO EDITE A MAO. Arquivo gerado por scripts/gera_tema.py a partir do
   proprio CSS da Metabit:

       python3 scripts/gera_tema.py 30 login assets/global/css/temas/cebi-login.css

   O que ele e: o layout da Metabit, identico, com a familia de azuis da
   marca rotacionada para laranja (matiz 30). Cada regra abaixo repete o
   seletor original, com a mesma especificidade e o mesmo !important, e so
   redeclara as propriedades que carregavam cor. Como a pagina carrega este
   arquivo por ultimo, ele vence o empate de cascata e troca a cor sem
   alterar espacamento, tipografia ou comportamento.

   A troca preserva a LUMINANCIA da WCAG, nao so a claridade do HSL: azul e
   laranja de mesma claridade tem contraste bem diferente, e foi isso que
   derrubou a legibilidade da versao anterior. Aqui cada cor sai com o mesmo
   contraste que o azul tinha - a maior variacao medida foi de 0,07 ponto.

   Cores semanticas (info, success, warning, danger) e os cinzas neutros
   ficaram como estao: viraram laranja apenas os azuis de marca.

   18 cores mapeadas. Amostra:
   #002752   -> #3d2003
   #004085   -> #653505
   #0056b3   -> #894807
   #005cbf   -> #924d08
   #0062cc   -> #9c5208
   #0069d9   -> #a75809
   #007bff   -> #c4670a
   #6610f2   -> #874707
   #6f42c1   -> #87511c
   #80bdff   -> #f6a859
   #9fcdff   -> #f8bd82
   #adb5bd   -> #bbb3aa
   #b3d7ff   -> #facb9c
   #b8daff   -> #facfa3
   #cce5ff   -> #fcddbe
   rgba(0,123,255,.25) -> rgba(196, 103, 10, .25)
   rgba(0,123,255,.5) -> rgba(196, 103, 10, .5)
   rgba(128,189,255,.5) -> rgba(246, 168, 89, .5)

   Para ajustar a matiz, rode o script de novo com outro valor (0 = vermelho,
   30 = laranja, 45 = ambar). Nao corrija cores aqui dentro.
   ============================================================================= */

/* --------------------------------------------------------------------------
   origem: assets/global/bootstrap/css/4.1.3/bootstrap.min.css
   -------------------------------------------------------------------------- */

:root {
    --blue:#c4670a;
    --indigo:#874707;
    --purple:#87511c;
    --primary:#c4670a;
}
a {
    color:#c4670a;
}
a:hover {
    color:#894807;
}
.table-primary,
.table-primary>td,
.table-primary>th {
    background-color:#facfa3;
}
.table-hover .table-primary:hover {
    background-color:#f8bd82;
}
.table-hover .table-primary:hover>td,
.table-hover .table-primary:hover>th {
    background-color:#f8bd82;
}
.form-control:focus {
    border-color:#f6a859;
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .25);
}
.btn.focus,
.btn:focus {
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .25);
}
.btn-primary {
    background-color:#c4670a;
    border-color:#c4670a;
}
.btn-primary:hover {
    background-color:#a75809;
    border-color:#9c5208;
}
.btn-primary.focus,
.btn-primary:focus {
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .5);
}
.btn-primary.disabled,
.btn-primary:disabled {
    background-color:#c4670a;
    border-color:#c4670a;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    background-color:#9c5208;
    border-color:#924d08;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .5);
}
.btn-outline-primary {
    color:#c4670a;
    border-color:#c4670a;
}
.btn-outline-primary:hover {
    background-color:#c4670a;
    border-color:#c4670a;
}
.btn-outline-primary.focus,
.btn-outline-primary:focus {
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .5);
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color:#c4670a;
}
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    background-color:#c4670a;
    border-color:#c4670a;
}
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .5);
}
.btn-link {
    color:#c4670a;
}
.btn-link:hover {
    color:#894807;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color:#c4670a;
}
.custom-control-input:checked~.custom-control-label::before {
    background-color:#c4670a;
}
.custom-control-input:focus~.custom-control-label::before {
    box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(196, 103, 10, .25);
}
.custom-control-input:active~.custom-control-label::before {
    background-color:#facb9c;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color:#c4670a;
}
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before {
    background-color:#c4670a;
}
.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color:rgba(196, 103, 10, .5);
}
.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before {
    background-color:rgba(196, 103, 10, .5);
}
.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color:#c4670a;
}
.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color:rgba(196, 103, 10, .5);
}
.custom-select:focus {
    border-color:#f6a859;
    box-shadow:0 0 0 .2rem rgba(246, 168, 89, .5);
}
.custom-file-input:focus~.custom-file-label {
    border-color:#f6a859;
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .25);
}
.custom-file-input:focus~.custom-file-label::after {
    border-color:#f6a859;
}
.custom-range:focus::-webkit-slider-thumb {
    box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(196, 103, 10, .25);
}
.custom-range:focus::-moz-range-thumb {
    box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(196, 103, 10, .25);
}
.custom-range:focus::-ms-thumb {
    box-shadow:0 0 0 1px #fff,0 0 0 .2rem rgba(196, 103, 10, .25);
}
.custom-range::-webkit-slider-thumb {
    background-color:#c4670a;
}
.custom-range::-webkit-slider-thumb:active {
    background-color:#facb9c;
}
.custom-range::-moz-range-thumb {
    background-color:#c4670a;
}
.custom-range::-moz-range-thumb:active {
    background-color:#facb9c;
}
.custom-range::-ms-thumb {
    background-color:#c4670a;
}
.custom-range::-ms-thumb:active {
    background-color:#facb9c;
}
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color:#c4670a;
}
.page-link {
    color:#c4670a;
}
.page-link:hover {
    color:#894807;
}
.page-link:focus {
    box-shadow:0 0 0 .2rem rgba(196, 103, 10, .25);
}
.page-item.active .page-link {
    background-color:#c4670a;
    border-color:#c4670a;
}
.badge-primary {
    background-color:#c4670a;
}
.badge-primary[href]:focus,
.badge-primary[href]:hover {
    background-color:#9c5208;
}
.alert-primary {
    color:#653505;
    background-color:#fcddbe;
    border-color:#facfa3;
}
.alert-primary hr {
    border-top-color:#f8bd82;
}
.alert-primary .alert-link {
    color:#3d2003;
}
.progress-bar {
    background-color:#c4670a;
}
.list-group-item.active {
    background-color:#c4670a;
    border-color:#c4670a;
}
.list-group-item-primary {
    color:#653505;
    background-color:#facfa3;
}
.list-group-item-primary.list-group-item-action:focus,
.list-group-item-primary.list-group-item-action:hover {
    color:#653505;
    background-color:#f8bd82;
}
.list-group-item-primary.list-group-item-action.active {
    background-color:#653505;
    border-color:#653505;
}
.bg-primary {
    background-color:#c4670a!important;
}
a.bg-primary:focus,
a.bg-primary:hover,
button.bg-primary:focus,
button.bg-primary:hover {
    background-color:#9c5208!important;
}
.border-primary {
    border-color:#c4670a!important;
}
.text-primary {
    color:#c4670a!important;
}
a.text-primary:focus,
a.text-primary:hover {
    color:#9c5208!important;
}
@media print {
    blockquote,
    pre {
        border:1px solid #bbb3aa;
    }
}
