html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    -webkit-box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


.main-header {
    background-color: #65266d;
    color: white;
    width: 100%;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 30px;
}

.header-left, .header-right {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.header-center {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
    text-align: center;
}

.header-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.header-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.header-logo {
    height: 40px;
    width: auto;
}

.header-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.legend-title {
    font-size: 20px;
    font-weight: normal;
    color: #6c3483;
    margin-bottom: 0.5rem;
    font-family: Arial, Helvetica, sans-serif;
}

.btn-fdc {
    background-color: #FF834F;
    color: white;
    border-color: #FF834F;
}

.btn-fdc:hover {
    background-color: #e66e3a;
    border-color: #e66e3a;
    color: white;
}

.btn-calcular-condicoes {
    background-color: #6c3483;
    color: white;
    border-color: #6c3483;
}

.btn-calcular-condicoes:hover,
.btn-calcular-condicoes:focus,
.btn-calcular-condicoes:active {
    background-color: #5a2b6d;
    border-color: #5a2b6d;
    color: white;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

@media (max-width: 768px) {
    .coluna-tabela {
        min-width: 70px;
    }

    .table thead th {
        font-size: 0.85rem;
    }
}

input[readonly],
input[readonly]:focus,
input[readonly][required],
input[readonly][required]:focus {
    background-color: #e9ecef !important;
    opacity: 1 !important;
    cursor: not-allowed;
}
