main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

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

.footer > .container, .footer > .container-fluid {
    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,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.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 */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* - - - - - - - - - - - ESIV - additional items below this line - - - - - - - - - - - */

.btn-orange {
    color: #ffffff !important; /* white chars in orange button */
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #f27f0a;
    --bs-btn-border-color: #f27f0a;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #f27f0a;
    --bs-btn-hover-border-color: #f27f0a;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #f27f0a;
    --bs-btn-active-border-color: #f27f0a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f27f0a;
    --bs-btn-disabled-border-color: #f27f0a;
}

.btn-blue {
    color: #ffffff !important; /* white chars in blue button */
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #161ff3;
    --bs-btn-border-color: #161ff3;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #161ff3;
    --bs-btn-hover-border-color: #161ff3;
    --bs-btn-focus-shadow-rgb: 22, 31, 243;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #161ff3;
    --bs-btn-active-border-color: #161ff3;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #161ff3;
    --bs-btn-disabled-border-color: #161ff3;
}

/* Make links inside blue buttons white for better readability */
.btn-blue a {
    color: #ffffff !important;
}

.btn-blue a:hover {
    color: #ffffff !important;
}

.btn-blue a:visited {
    color: #ffffff !important;
}

.btn-blue a:active {
    color: #ffffff !important;
}

.btn-green {
    color: #ffffff !important; /* white chars in green button */
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #28a745;
    --bs-btn-border-color: #28a745;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #28a745;
    --bs-btn-hover-border-color: #28a745;
    --bs-btn-focus-shadow-rgb: 40, 167, 69;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #28a745;
    --bs-btn-active-border-color: #28a745;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #28a745;
    --bs-btn-disabled-border-color: #28a745;
}


a {
    color: blue; /* Normal state */
}

a:hover {
    color: blue; /* Mouse over link */
}

a:active {
    color: red; /* Selected link */
}

a:visited {
    color: blue; /* Visited link */
}

.card-header-orange {
    background-color: #f27f0a;
    color: white;
}

.card-header-green {
    background-color: #068c48;
    color: white;
}

.card-header-blue {
    background-color: #161ff3;
    color: white;
}

.float-right {
    float: right;
}

.c-btn__view{
    width: fit-content;
    @media screen and ( max-width: 768px) {
        width: 50%;
    }
}

/*.support-icon {*/
/*    color: #ffffff;*/
/*    margin-left: 10px;*/
/*    font-size: 1.2em;*/
/*}*/

/* Modern UI styling improvements */

/* Card styling */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header {
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.card-body {
    padding: 1.5rem;
}

/* Button styling */
.btn {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-color: #ffffff;
}

/* Make links inside primary buttons white for better readability */
.btn-primary a {
    color: #ffffff !important;
}

.btn-primary a:hover {
    color: #ffffff !important;
}

.btn-primary a:visited {
    color: #ffffff !important;
}

.btn-primary a:active {
    color: #ffffff !important;
}

.btn-secondary {
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-color: #ffffff;
}

.btn-success {
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-color: #ffffff;
}

.btn-danger {
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-color: #ffffff;
}

.btn-warning {
    color: #000000 !important;
    --bs-btn-color: #000000;
    --bs-btn-hover-color: #000000;
    --bs-btn-active-color: #000000;
    --bs-btn-disabled-color: #000000;
}

.btn-info {
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-color: #ffffff;
}

.btn-light {
    color: #000000 !important;
    --bs-btn-color: #000000;
    --bs-btn-hover-color: #000000;
    --bs-btn-active-color: #000000;
    --bs-btn-disabled-color: #000000;
}

.btn-dark {
    color: #ffffff !important;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-color: #ffffff;
}

/* Form styling */
.form-control, .form-select {
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group {
    border-radius: 0.375rem;
    overflow: hidden;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

/* Table styling */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table th, .table td {
    padding: 0.75rem;
    vertical-align: middle;
}

/* Pagination styling */
.pagination {
    border-radius: 0.375rem;
    overflow: hidden;
}

.pagination .page-item .page-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Highlight styling */
.highlight {
    background-color: yellow;
}

/* Breadcrumb styling */
.breadcrumb {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
}
