/* Final contrast layer. Loaded after all page-specific styles. */
.btn-primary,
.btn-primary:visited {
    color: #ffffff !important;
    border-color: #8ab800 !important;
    background-color: #8ab800 !important;
    background-image: none !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    color: #ffffff !important;
    border-color: #6f9400 !important;
    background-color: #6f9400 !important;
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    color: #ffffff !important;
    border-color: #5d7d00 !important;
    background-color: #5d7d00 !important;
}

.btn-secondary,
.btn-secondary:visited {
    color: #ffffff !important;
    border-color: #4f5c56 !important;
    background-color: #4f5c56 !important;
    background-image: none !important;
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-secondary:active,
.btn-secondary.active {
    color: #ffffff !important;
    border-color: #323a36 !important;
    background-color: #323a36 !important;
}

.btn-success,
.btn-success:visited {
    color: #ffffff !important;
    border-color: #246b53 !important;
    background-color: #246b53 !important;
    background-image: none !important;
}

.btn-success:hover,
.btn-success:focus-visible,
.btn-success:active,
.btn-success.active {
    color: #ffffff !important;
    border-color: #1b563f !important;
    background-color: #1b563f !important;
}

.btn-warning,
.btn-warning:visited {
    color: #38270b !important;
    border-color: #d7b96e !important;
    background-color: #f3dca8 !important;
    background-image: none !important;
}

.btn-warning:hover,
.btn-warning:focus-visible,
.btn-warning:active,
.btn-warning.active {
    color: #2f220c !important;
    border-color: #b99443 !important;
    background-color: #e8c980 !important;
}

.btn-danger,
.btn-danger:visited {
    color: #ffffff !important;
    border-color: #a13f45 !important;
    background-color: #a13f45 !important;
    background-image: none !important;
}

.btn-danger:hover,
.btn-danger:focus-visible,
.btn-danger:active,
.btn-danger.active {
    color: #ffffff !important;
    border-color: #7f3035 !important;
    background-color: #7f3035 !important;
}

.btn-info,
.btn-info:visited {
    color: #ffffff !important;
    border-color: #315b55 !important;
    background-color: #315b55 !important;
    background-image: none !important;
}

.btn-info:hover,
.btn-info:focus-visible,
.btn-info:active,
.btn-info.active {
    color: #ffffff !important;
    border-color: #244842 !important;
    background-color: #244842 !important;
}

.btn-outline-primary,
.btn-outline-primary:visited {
    color: #6f9400 !important;
    border-color: #8ab800 !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: #ffffff !important;
    border-color: #6f9400 !important;
    background-color: #6f9400 !important;
}

.btn-outline-secondary,
.btn-outline-secondary:visited {
    color: #3f4944 !important;
    border-color: #82978c !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    color: #375000 !important;
    border-color: #cde68a !important;
    background-color: #eef8d6 !important;
}

.btn-outline-success,
.btn-outline-success:visited {
    color: #1b563f !important;
    border-color: #5f987d !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus-visible,
.btn-outline-success:active,
.btn-outline-success.active {
    color: #ffffff !important;
    border-color: #246b53 !important;
    background-color: #246b53 !important;
}

.btn-outline-warning,
.btn-outline-warning:visited {
    color: #6c4b10 !important;
    border-color: #b99443 !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus-visible,
.btn-outline-warning:active,
.btn-outline-warning.active {
    color: #38270b !important;
    border-color: #c8a552 !important;
    background-color: #f3dca8 !important;
}

.btn-outline-danger,
.btn-outline-danger:visited {
    color: #8b343a !important;
    border-color: #b86b70 !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus-visible,
.btn-outline-danger:active,
.btn-outline-danger.active {
    color: #ffffff !important;
    border-color: #a13f45 !important;
    background-color: #a13f45 !important;
}

.btn-outline-info,
.btn-outline-info:visited {
    color: #315b55 !important;
    border-color: #6f9991 !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus-visible,
.btn-outline-info:active,
.btn-outline-info.active {
    color: #ffffff !important;
    border-color: #315b55 !important;
    background-color: #315b55 !important;
}

.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
    cursor: not-allowed;
    color: #66736f !important;
    border-color: #c5cfcb !important;
    background-color: #e8edeb !important;
    background-image: none !important;
    opacity: 1;
    box-shadow: none !important;
}

html[data-theme="dark"] .btn:disabled,
html[data-theme="dark"] .btn.disabled,
html[data-theme="dark"] fieldset:disabled .btn {
    color: #9eaaa4 !important;
    border-color: #445049 !important;
    background-color: #29322d !important;
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-primary:visited,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus-visible,
html[data-theme="dark"] .btn-primary:active,
html[data-theme="dark"] .btn-primary.active,
html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-primary:focus-visible,
html[data-theme="dark"] .btn-outline-primary:active,
html[data-theme="dark"] .btn-outline-primary.active {
    color: #1e2900 !important;
    border-color: #c8ec68 !important;
    background-color: #c8ec68 !important;
}

html[data-theme="dark"] .btn-danger,
html[data-theme="dark"] .btn-danger:visited,
html[data-theme="dark"] .btn-danger:hover,
html[data-theme="dark"] .btn-danger:focus-visible,
html[data-theme="dark"] .btn-danger:active,
html[data-theme="dark"] .btn-danger.active,
html[data-theme="dark"] .btn-outline-danger:hover,
html[data-theme="dark"] .btn-outline-danger:focus-visible,
html[data-theme="dark"] .btn-outline-danger:active,
html[data-theme="dark"] .btn-outline-danger.active {
    color: #2d1012 !important;
    border-color: #f0b1b5 !important;
    background-color: #f0b1b5 !important;
}

html[data-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-secondary,
html[data-theme="dark"] .btn-outline-success,
html[data-theme="dark"] .btn-outline-warning,
html[data-theme="dark"] .btn-outline-danger,
html[data-theme="dark"] .btn-outline-info {
    background-color: var(--app-panel) !important;
}

html[data-theme="dark"] .btn-outline-primary {
    color: #c8ec68 !important;
    border-color: #b6df42 !important;
}

html[data-theme="dark"] .btn-outline-secondary {
    color: #d6ddd9 !important;
    border-color: #738078 !important;
}

html[data-theme="dark"] .btn-outline-success {
    color: #a9d7c4 !important;
    border-color: #6da78c !important;
}

html[data-theme="dark"] .btn-outline-warning {
    color: #f0dcae !important;
    border-color: #a98a4f !important;
}

html[data-theme="dark"] .btn-outline-danger {
    color: #f0b1b5 !important;
    border-color: #b9787d !important;
}

html[data-theme="dark"] .btn-outline-info {
    color: #b8d5cf !important;
    border-color: #6f9991 !important;
}
