body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333333;
    background-color: #f7f7f72e;
    overflow-x: hidden;
}
main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 12px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}
thead.kv-table-header > tr > th > a {
    color: #212529 !important;
    text-decoration: underline;
}
.navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
}
.navbar {
    padding: 2px;
}
a.dropdown-item {
    font-size: 14px !important;
}
.kv-table-header {
    background: #f2f2f2 !important;
}
.select2-container--krajee-bs5 .select2-selection--single .select2-selection__clear, .select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__clear {
    font-size: 1.4rem !important;
    cursor: pointer;
}
.select2-container--krajee-bs5 .select2-selection--single {
    padding-right: 2rem;
}
.form-label {
    font-weight: 505;
}
.kv-grid-table {
    font-size: 0.75rem;
}
.select2-container--krajee-bs5 {
    font-size: 0.75rem !important;
}
.kv-table-header .filters .form-control {
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}
.kv-table-header .filters .select2-container--krajee-bs5 .select2-selection--single {
    height: calc(1.8rem + 2px);
}
.kv-grid-table .bi{
    font-size: 1rem;
}
.kv-grid-table .btn-sm{
    height: 24px;
    padding: 0.1rem 0.25rem;
    font-size: 0.8rem;
}
.kv-grid-wrapper {
    position: relative;
    overflow: auto;
    max-height: calc(100vh - 270px);
    height: auto;
}
.kv-float-header, .kv-float-footer {
    z-index: 9;
}
.pagination {
    padding-top: 10px;
}
.table-danger {
    --bs-table-color: #000;
    --bs-table-bg: #ccebec;
    --bs-table-border-color: #a89e9f;
    --bs-table-striped-bg: #ccebec;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #ccebec;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #ccebec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}
.table-info {
    --bs-table-color: #000;
    --bs-table-bg: #fdfdfd;
    --bs-table-border-color: #badce3;
    --bs-table-striped-color: #000;
    --bs-table-active-bg:  #fdfdfd;
    --bs-table-active-color: #000;
    --bs-table-hover-bg:  #fdfdfd;
    --bs-table-hover-color: #000;
    --bs-table-striped-bg: #fdfdfd;
    color: var(--bs-table-color);
}
.link-top {
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: calc(100% - 23px);
    right: 15px;
}

.to-top {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
    color: #00bc9c;
}

.to-top i {
    transition: .3s;
}

.to-top:hover {
    color: #00bc9c;
}

.to-top:hover i {
    opacity: .5;
}
