/* Minification failed. Returning unminified contents.
(88,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-radius'
(99,39): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-radius'
(100,40): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-radius'
(137,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-radius'
(169,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-radius'
(228,30): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(229,29): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
 */
/*
    Shim temporario de compatibilidade Bootstrap 3 -> Bootstrap 5.

    Reimplementa classes/comportamentos removidos pelo Bootstrap 5 para que
    markup ainda nao migrado (a maioria das 438 views) continue renderizando
    enquanto o codemod da Fase 2 avanca modulo a modulo.

    Cada regra aqui deve ser removida assim que a ultima ocorrencia da classe
    correspondente for migrada (Fase 5 - ver docs/migracao-bootstrap5.md).
    NAO adicionar classes novas aqui - isso e divida a ser drenada, nao um
    sistema de utilitarios permanente.

    Carregar DEPOIS de bootstrap.min.css + bv-bootstrap5-vars.css.
*/

/* form-group (996 ocorrencias) - BS5 removeu, usa apenas .mb-3 no seu lugar */
.form-group {
    margin-bottom: 1rem;
}

.form-horizontal .form-group {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
}

/* control-label (71) - BS5 renomeou para .col-form-label */
.control-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

/* pull-left / pull-right (174) - BS5 renomeou para .float-start/.float-end */
.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

/* text-left / text-right (4) - BS5 renomeou para .text-start/.text-end */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* btn-default (30) - BS5 nao tem mais variante "default" */
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* btn-xs (7) - BS5 nao tem mais tamanho "xs", cai para .btn-sm */
.btn-xs {
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 0.15rem;
}

/* btn-block (24) - BS5 removeu; usar .w-100 ou .d-grid no pai */
.btn-block {
    display: block;
    width: 100%;
}

/* panel-* (18) - BS5 renomeou para .card* */
.panel {
    margin-bottom: 1.25rem;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius, 0.1875rem);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default {
    border-color: #ddd;
}

.panel-heading {
    padding: 0.625rem 0.9375rem;
    border-bottom: 1px solid transparent;
    border-top-left-radius: calc(var(--bs-border-radius, 0.1875rem) - 1px);
    border-top-right-radius: calc(var(--bs-border-radius, 0.1875rem) - 1px);
}

.panel-default > .panel-heading {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-body {
    padding: 0.9375rem;
}

.panel-footer {
    padding: 0.625rem 0.9375rem;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
}

/* input-group-addon / input-group-btn (111) - BS5 usa .input-group-text e filho direto */
.input-group-addon {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: var(--bs-border-radius, 0.1875rem);
}

.input-group-btn {
    display: flex;
}

/* has-error / has-success / has-feedback (5) - BS5 usa .is-invalid/.is-valid no input */
.has-error .form-control,
.has-error .control-label {
    border-color: #a94442;
    color: #a94442;
}

.has-success .form-control {
    border-color: #3c763d;
}

/* help-block (0 nesta base, mantido por seguranca) - BS5 usa .form-text */
.help-block {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
}

/* well (1) - BS5 removeu */
.well {
    padding: 1rem;
    margin-bottom: 1.25rem;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: var(--bs-border-radius, 0.1875rem);
}

/* label-* (2) - BS5 usa .badge text-bg-* */
.label {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: #fff;
}

.label-default { background-color: #777; }
.label-primary { background-color: #337ab7; }
.label-success { background-color: #5cb85c; }
.label-info    { background-color: #5bc0de; }
.label-warning { background-color: #f0ad4e; }
.label-danger  { background-color: #d9534f; }

/* sr-only (2) - BS5 renomeou para .visually-hidden */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* table-condensed (5) - BS5 renomeou para .table-sm */
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 0.3rem;
}

/* img-responsive (0 nesta base, mantido por seguranca) - BS5 usa .img-fluid */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* col-xs-* / col-xs-offset-* (177 + 38) - BS5 nao tem mais o breakpoint "xs"
   explicito (o equivalente sem prefixo, ex.: .col-6, ja e "extra small" por
   padrao no BS5). Reimplementa a largura fixa do BS3 aqui. */
[class*="col-xs-"] {
    position: relative;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.col-xs-1  { width: 8.33333333%; }
.col-xs-2  { width: 16.66666667%; }
.col-xs-3  { width: 25%; }
.col-xs-4  { width: 33.33333333%; }
.col-xs-5  { width: 41.66666667%; }
.col-xs-6  { width: 50%; }
.col-xs-7  { width: 58.33333333%; }
.col-xs-8  { width: 66.66666667%; }
.col-xs-9  { width: 75%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-12 { width: 100%; }

.col-xs-offset-1  { margin-left: 8.33333333%; }
.col-xs-offset-2  { margin-left: 16.66666667%; }
.col-xs-offset-3  { margin-left: 25%; }
.col-xs-offset-4  { margin-left: 33.33333333%; }
.col-xs-offset-5  { margin-left: 41.66666667%; }
.col-xs-offset-6  { margin-left: 50%; }
.col-xs-offset-7  { margin-left: 58.33333333%; }
.col-xs-offset-8  { margin-left: 66.66666667%; }
.col-xs-offset-9  { margin-left: 75%; }
.col-xs-offset-10 { margin-left: 83.33333333%; }
.col-xs-offset-11 { margin-left: 91.66666667%; }

/* col-{sm,md,lg}-offset-N (parte dos 38 "col-*-offset-") - BS5 renomeou para
   .offset-{sm,md,lg}-N. Breakpoints seguem os limites do BS3 (>=768/992/1200),
   nao os do BS5 (>=576/768/992), para casar com o markup legado. */
@media (min-width: 768px) {
    .col-sm-offset-1  { margin-left: 8.33333333%; }
    .col-sm-offset-2  { margin-left: 16.66666667%; }
    .col-sm-offset-3  { margin-left: 25%; }
    .col-sm-offset-4  { margin-left: 33.33333333%; }
    .col-sm-offset-5  { margin-left: 41.66666667%; }
    .col-sm-offset-6  { margin-left: 50%; }
    .col-sm-offset-7  { margin-left: 58.33333333%; }
    .col-sm-offset-8  { margin-left: 66.66666667%; }
    .col-sm-offset-9  { margin-left: 75%; }
    .col-sm-offset-10 { margin-left: 83.33333333%; }
    .col-sm-offset-11 { margin-left: 91.66666667%; }
}

@media (min-width: 992px) {
    .col-md-offset-1  { margin-left: 8.33333333%; }
    .col-md-offset-2  { margin-left: 16.66666667%; }
    .col-md-offset-3  { margin-left: 25%; }
    .col-md-offset-4  { margin-left: 33.33333333%; }
    .col-md-offset-5  { margin-left: 41.66666667%; }
    .col-md-offset-6  { margin-left: 50%; }
    .col-md-offset-7  { margin-left: 58.33333333%; }
    .col-md-offset-8  { margin-left: 66.66666667%; }
    .col-md-offset-9  { margin-left: 75%; }
    .col-md-offset-10 { margin-left: 83.33333333%; }
    .col-md-offset-11 { margin-left: 91.66666667%; }
}

@media (min-width: 1200px) {
    .col-lg-offset-1  { margin-left: 8.33333333%; }
    .col-lg-offset-2  { margin-left: 16.66666667%; }
    .col-lg-offset-3  { margin-left: 25%; }
    .col-lg-offset-4  { margin-left: 33.33333333%; }
    .col-lg-offset-5  { margin-left: 41.66666667%; }
    .col-lg-offset-6  { margin-left: 50%; }
    .col-lg-offset-7  { margin-left: 58.33333333%; }
    .col-lg-offset-8  { margin-left: 66.66666667%; }
    .col-lg-offset-9  { margin-left: 75%; }
    .col-lg-offset-10 { margin-left: 83.33333333%; }
    .col-lg-offset-11 { margin-left: 91.66666667%; }
}

