body {
    background-color: #f4f7fa !important;
    overflow-x: hidden;
}

#collapseNavbar * {
    color: #a9b7d0 !important;
}

#collapseNavbar a:hover {
    background: #3C557AFF;
}

#collapseNavbar {
    background: #3f4d67;
}

.custom-tooltip {
    white-space: pre-line;
}

.is-active {
    border-radius: 0.375rem;;
    background: rgba(60, 85, 122, 0.6);
}

#elements .table-striped > tbody > tr:nth-child(odd) > td,
#elements .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #e8f4ff;
}

#elements .table-striped > tbody > tr:nth-child(even) > td,
#elements .table-striped > tbody > tr:nth-child(even) > th {
    background-color: #e0f0ff;
}

#technologies .table-striped > tbody > tr:nth-child(odd) > td,
#technologies .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #ffffd0;
}

#technologies .table-striped > tbody > tr:nth-child(even) > td,
#technologies .table-striped > tbody > tr:nth-child(even) > th {
    background-color: #ffffe0;
}

#technology-attributes .table-striped > tbody > tr:nth-child(odd) > td,
#technology-attributes .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #ffe8d0;
}

#technology-attributes .table-striped > tbody > tr:nth-child(even) > td,
#technology-attributes .table-striped > tbody > tr:nth-child(even) > th {
    background-color: #fff0e0;
}

#combination-attributes .table-striped > tbody > tr:nth-child(odd) > td,
#technologies #combination-attributes .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #d0ffd0;
}

#combination-attributes .table-striped > tbody > tr:nth-child(even) > td,
#combination-attributes .table-striped > tbody > tr:nth-child(even) > th {
    background-color: #e0ffe0;
}

.no-hover:hover {
    --bs-table-bg-state: #ffffff !important;
}

.bootstrap-table .fixed-table-container .table tfoot th .sortable, .bootstrap-table .fixed-table-container .table thead th .sortable {
    padding-right: 20px !important;
}

#body-col {
    margin-left: 300px;
}

.button-size {
    width: 30px;
    height: 30px;
}

.button-link {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.accordion-button:after {
    order: -1;
    margin-left: 0;
    margin-right: 0.5em;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
    transition: all 0.5s;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M0 8a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
}

@media (max-width: 1399px) {
    #content-col {
        width: 100% !important;
    }

    #collapseNavbar {
        display: none;
    }

    #nav-button {
        display: block !important;
    }

    #main-container {
        margin-left: 0;
    }

    #body-col {
        margin-left: 0 !important;
    }
}

#collapseNavbar::-webkit-scrollbar {
    width: 12px;
}

#collapseNavbar::-webkit-scrollbar-track {
    border-radius: 4px;
}

#collapseNavbar::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #4d5f81;
    -webkit-box-shadow: inset 0 0 4px #5b7098;
}

.description-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ifc-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 1999px) {
    .description-cell {
        max-width: 400px;
    }

    .ifc-cell {
        max-width: 150px;
    }
}

@media (min-width: 2000px) {
    .description-cell {
        max-width: none;
    }

    .ifc-cell {
        max-width: 150px;
    }
}

.highlighted {
    --bs-table-bg: #d4edda;
}

.modal-dialog {
    transition: none !important;
    transform: none !important;
}

@media (min-width: 768px) {
    .custom-size-modal {
        max-width: 80%;
    }
}

@media (min-width: 768px) {
    .custom-size-modal-smaller {
        max-width: 50%;
    }
}

.level-1 {
    font-weight: bold;
    font-size: 1.1em;
}

.level-2 {
    font-weight: bold;
    font-size: 1.0em;
}

.bootstrap-table .fixed-table-container .table tfoot th .sortable, .bootstrap-table .fixed-table-container .table thead th .sortable {
    cursor: pointer;
    background-position: left;
    background-repeat: no-repeat;
}

.highlighted-input {
    color: red;
}

.draggable-item {
    white-space: nowrap;
}

.flash-container {
    margin-top: 10px;
    position: fixed;
    opacity: 0.9;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}
