/* Project legacy UI bridge for older server-rendered views after moving to Bootstrap 5. */
.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pull-left { float: left !important; }
.pull-right { float: right !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: left;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

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

@media (max-width: 575.98px) {
    .hidden-xs { display: none !important; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hidden-sm { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hidden-md { display: none !important; }
}

@media (min-width: 992px) {
    .hidden-lg { display: none !important; }
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
    display: none !important;
}

@media (max-width: 575.98px) {
    .visible-xs { display: block !important; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .visible-sm { display: block !important; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .visible-md { display: block !important; }
}

@media (min-width: 992px) {
    .visible-lg { display: block !important; }
}

.navbar-nav > li > a,
.navbar-top-links > li > a {
    display: block;
    line-height: 20px;
    padding: 15px;
    text-decoration: none;
}

.navbar-nav > li {
    position: relative;
}

.navbar-static-top {
    border-width: 0 0 1px;
}

.navbar-toggler .icon-bar {
    background: currentColor;
    border-radius: 2px;
    display: block;
    height: 3px;
    margin: 3px 0;
    width: 22px;
}

.dropdown-menu > li > a {
    clear: both;
    color: #333;
    display: block;
    font-weight: 400;
    line-height: 1.42857143;
    padding: 6px 20px;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #f5f5f5;
    color: #262626;
    text-decoration: none;
}

.dropdown-header {
    color: #777;
    display: block;
    font-size: 13px;
    line-height: 1.42857143;
    padding: 6px 20px;
    white-space: nowrap;
}

.divider {
    background-color: #e5e5e5;
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
}

.panel {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    margin-bottom: 20px;
}

.panel-heading {
    background: #f7fafc;
    border-bottom: 1px solid #dfe5ec;
    border-radius: 8px 8px 0 0;
    color: #1f2937;
    font-weight: 700;
    padding: 12px 16px;
}

.panel-body {
    padding: 16px;
}

.panel-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.panel-warning {
    border-color: #f0ad4e;
}

.panel-warning > .panel-heading {
    background: #fff8e6;
    border-color: #f0ad4e;
    color: #8a5a00;
}

.panel-info {
    border-color: #8ecae6;
}

.panel-info > .panel-heading {
    background: #eaf7fc;
    border-color: #8ecae6;
    color: #075985;
}

.btn-default {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #ccc;
    --bs-btn-color: #333;
    --bs-btn-hover-bg: #e6e6e6;
    --bs-btn-hover-border-color: #adadad;
    --bs-btn-hover-color: #333;
}

.label {
    border-radius: .25em;
    color: #fff;
    display: inline;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    padding: .2em .6em .3em;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

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

.form-horizontal .control-label {
    margin-bottom: 0;
    padding-top: 7px;
    text-align: right;
}

@media (max-width: 767.98px) {
    .form-horizontal .control-label {
        margin-bottom: 5px;
        text-align: left;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu.show > .dropdown-menu,
.dropdown-submenu > .dropdown-menu.show {
    display: block;
}

@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        left: 0;
        margin-top: 0;
    }
}
