body {
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
/* injection point to override bootstrap variables */
:root, [data-bs-theme="light"] {
    /*--bs-font-sans-serif: "Courier New", "Font Awesome 5 Pro";*/
}


.label-no-wrap {
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-label-column {
    white-space: nowrap;
    width: 1%;
}

.fixed-width-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    text-align: left;
}

.well-panel {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.2);
}

.well-panel h4 {
    margin-top: 0;
}

.panel-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 5px;
}

.input-search-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5em;
}

.input-search-item {
    border:1px solid #ddd;
    background-color: #eee;
    border-radius: 0.5em;
    padding: 0.5em;
}

#filter_references .dropdown-menu {
    max-height: 300px;
    width: 300px;
    overflow: scroll;
}

.subNavigation {
    width: 100%;
    margin-bottom: 45px;
    background-color: #f4f5f7;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #548dc6;
}

.gwoeOverviewResults {
    font-size: xx-large;
}

.columnSum {
    font-weight: bold;
}

#updaterights {
    margin-left: 30px;
}

.sdgImpact textarea {
    height: 110px !important;
}

.sdgClusterball {
    display: block;
    background: #666;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    margin: 0;
}

.sdgClusterballSmall {
    height: 10px;
    width: 10px;
}

.sdgClusterballMedium {
    height: 25px;
    width: 25px;
}

.sdgClusterballLarge {

}

.blue {
    color: #5b7e9f !important;
}

.grey {
    color: #666;
}

.node p {
    margin: 0px;
}

.invisible {
    visibility: collapse;
}





.alert {
    clear: both;
}

.alert > p, .alert > ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}


input.error, select.error, textarea.error {
    border-color: #B94A48;
}

span.required {
    color: #B94A48;
}

.muted {
    color: #999999;
}

.tooltip-inner {
    max-width: 300px;
    text-align: left;
}

.tooltip-inner ul {
    padding-left: 10px;
}


.co2figurem, .co2figurew {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 80px;
}

.co2figurem {
    background-image: url('../images/maennchen.png');
}

.co2figurew {
    background-image: url('../images/weibchen.png');
}

.co2figurehalf {
    width: 20px;
}

.bold {
    font-weight: bold;
}

#substances fieldset {
    margin-bottom: 25px;
}

#substances legend {
    margin-bottom: 10px;
}

td.missing_translation, tr.even td.missing_translation, tr.odd td.missing_translation {
    background-color: #fdffea;
}

.result-type.active {
    background-color: #2e5d8c !important;
    border: none;
}

.result-type {
    background-color: #548dc6 !important;
    border: none;
}

div.hastranslation {
    display: none;
}


.tooltip {
    z-index: 3000;
}


.jOrgChart .nodeContainer.info, #search_result .nodeContainer.info {
    background-color: #d4e2f1;
    color: #2e5d8c;
    border-color: #bec8dc;
}

.jOrgChart .nodeContainer.disabled, #search_result .nodeContainer.disabled {
    background-color: #e0e0e0;
    color: #548dc6;
    border-color: #999ea2;
}

.jOrgChart .nodeContainer.disabled.info, #search_result .nodeContainer.disabled.info {
    background-color: #d1d8e0;
    color: #548dc6;
    border-color: #8a96a2;
}

.jOrgChart .nodeContainer.warning, #search_result .nodeContainer.warning {
    color: #8a6d3b;
    background-color: #fdeec5;
    border-color: #fcd9ac;
}

.jOrgChart .nodeContainer.warning.info, #search_result .nodeContainer.warning.info {
    color: #8a6d3b;
    background-color: #dfcdc1;
    border-color: #deb8a8;
}

.jOrgChart .nodeContainer.disabled.warning.info, #search_result .nodeContainer.disabled.warning.info {
    color: #8a6d3b;
    background-color: #e0d7d1;
    border-color: #c8c3b9;
}

table tr.warning {
    color: #8a6d3b;
}

table.table-bordered.dataTable {
    border-right-width: 0;
    border-left-width: 0;
}

.warning-icon {
    color: #8a6d3b;
}

.jOrgChart td.left {
    width: 75px;
}

.jOrgChart td.right {
    width: 74px;
}

div.FixedHeader_Cloned th,
div.FixedHeader_Cloned td {
    background-color: white !important;
}

.evaluation-menu-row div {
    opacity: 1;
}

.evaluation-menu-row.disabled div {
    opacity: 0.5;
}

.evaluation-menu-row div.overlay {
    display: none;
}

.evaluation-menu-row.disabled div.overlay {
    display: block;
    opacity: 1;
    position: absolute;
    height: 40px;
    width: 100%;
    z-index: 10;
}

.evaluationColumnReferenceInfos {
    margin-top: 8px;
    font-size: 1em;
    color: #999;
    white-space: nowrap;
}

th .nodeProperties {
    max-width: 200px;
}

/* checkbox form style fixes */
input[type="checkbox"] {
    margin: 5px;
    float: left;
}

/* fix to make info icons the same color as the label color */
label a {
    color: inherit;
}

label.required:after {
    content: ' *';
    color: #B94A48;
}

.jOrgChart input[type="checkbox"] {
    float: none;
}

label {
    line-height: 24px;
    margin-bottom: 0px;
}

span.indicator, .nowrap {
    white-space: nowrap;
}

span.indicator:not(:last-child)::after {
    content: ",";
}

.inputdisabled {
    pointer-events: none;
    opacity: 0.5;
}

.buttondisabled {
    pointer-events: none;
}

.FixedHeader_Cloned input {
    margin: 0px;
    font-size: 10px;
}

.popover {
    max-width: 900px;
}

.nodeComparisonColumn {
    max-width: 100px;
}

.nodeComparisonColumn .badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nodeComparisonColumn .badge {
    margin-bottom: 3px;
}


h2 {
    font-size: 24px;
    line-height: 36px;
}

h3 {
    font-size: 18px;
    line-height: 27px;
}

/*
 Use flexbox for btn groups for multiple reasons:
 - prevents linebreaks in table-action buttons
 - keeps buttons within a group the same height (see export/visibility buttons #21191)
 - but do not use flexbox for justified groups see #21938
 - changed to inline-flex because a btn-group is usually an inline-block
 */
.btn-group:not(.btn-group-justified) {
    display: inline-flex;
}

/* CSS Hack for button dropdowns in button groups in bootstrap 2.x  see: http://stackoverflow.com/a/37409024/2424814 */
.btn-group > *:not(:first-child),
.btn-group > *:not(:first-child) .btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.btn-welcome {
    font-size: 16px;
    height: 3em;
    padding: 0 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-welcome .fa {
    margin-right: 0.5em;
}

.btn-welcome-equal {
    flex: 1 1 0;
    min-width: max-content;
}

.btn-welcome-help {
    flex: 1 1 0;
    min-width: max-content;
    max-width: 400px;
}


#data_form input {
    min-width: 50px;
}

#timeline_group_chosen .chosen-single span:not([class]) {
    display: inline;
    margin-right: 0;
}


.form-group .chosen-container {
    display: block;
}

.input-table .chosen-container, .inputcontrolTable .chosen-container {
    width: 100% !important;
    max-width: 500px !important;
}

select[name='time'], select[name='timeline_id'], select[name='company'], select[name='period'] {
    min-width: 200px;
}

.input-table .co2factor {
    display: none;
}

.input-table.co2factorenabled .co2factor {
    display: table-cell;
}



.link {
    cursor: pointer;
}

a.label-link {
    text-decoration: none;
}

a.label-link {
    color: white;
}

.next-step-nextstep {
    padding-top: 30px;
}


.npvs {
    overflow-x: auto;
    width: 100%;
}

.npvs table th,
.npvs table td {
    font-size: 11px;
    font-weight: normal;
    width: 50%;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: break-word;
}

.npvs table td {
    text-align: start;
}

#result-table {
    clear: both;
}

/* hide result warnings in table */
#result-table.hide-warnings .result-warning {
    display: none;
}


#evaluation_table {
    width: 100%;
}

.table-provided {
    width: 100%;
    margin-bottom: 2vh;
}

.table-provided tr th {
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    padding: 8px;
}

.table-provided tr th {
    width: 1vh;
}

.table-provided tr td {
    width: 50%;
}

#table-first-steps tr th {
    font-weight: normal;
    width: 3em;
    text-align: center;
    vertical-align: middle;
}

#table-first-steps tr::after {
    content: '';
    display: block;
    height: 3em;
}

td.target-col {
    width: 50%;
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .text-right-md {
        text-align: right;
    }
}

.dt-button-collection {
    max-height: 40vh;
    overflow: auto;
}

/*
usually this is set to 100%, to show the dropdown menu below floating elements (e.g. btn-group btn element)
because the dt-button-collection already is shown below, we dont need top: 100% here
*/
.dt-button-collection .dropdown-menu {
    top: auto !important;
}

.zoomInactive {
    background-color: #ccc;
    cursor: not-allowed;
}

/* prevent line breaks in evaluation debug tree views */
.webui-popover .treeview li {
    white-space: nowrap;
}

.webui-popover .treeview {
    max-height: 500px;
    overflow: auto;
}

@media print {
    a[href]:after {
        content: none !important;
    }
}

/* dropdowns need to be visible also in modals*/
.select2-dropdown {
    z-index: 1070 !important;
}

/* push modal backdrop a little back so notifications will be shown on top */
.modal-backdrop {
    z-index: 1000;
}

@media (min-width: 992px) {
    .modal-dialog-relative {
        width: 90%;
    }
}

.webui-popover {
    z-index: 990 !important;
}


a.introjs-skipbutton:not(.introjs-donebutton) {
    display: none !important;
}

.compareRow {
    background-color: #eee;
    color: #999;
}

/* primarily for column visibility buttons */
.dt-buttons .btn .badge {
    background-color: #fff;
    border: 1px solid #999;
    color: #999;
}

.dt-buttons .badge.badge-warning {
    color: #fff;
    background-color: #fad162;
    border-color: #f9ca4a;
}

.dt-button.danger:not(.disabled) {
    background-color: #f38f5e;
}
.dt-button.danger:not(.disabled) a {
    color: #fff;
}
.dt-button.danger:not(.disabled):hover, .dt-button.danger:not(.disabled) a:hover {
    color: #fff;
    background-color: #ef6e2f;
}

.mono {
    font-family: monospace;
}


.draggable {
    cursor: move;
}

.radio label, .checkbox label {
    padding-left: 0px !important;
}

.horizontal-radio .radio {
    display: inline-block;
    margin-left: 3em;
}


@media screen and (max-width: 991px) {
    .columns {
        height: 200px;
        overflow-y: scroll;
    }
}

@media screen and (min-width: 992px) {
    .columns {
        -moz-column-count: 2; /* Firefox */
        -webkit-column-count: 2; /* Safari and Chrome */
        column-count: 2;
        width: 500px;
        height: 400px;
    }
}

.dontBreakInside {
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */
}

.editable-container.editable-inline,
.editable-container.editable-inline .control-group.form-group,
.editable-container.editable-inline .control-group.form-group .editable-input,
.editable-container.editable-inline .control-group.form-group .editable-input textarea,
.editable-container.editable-inline .control-group.form-group .editable-input select,
.editable-container.editable-inline .control-group.form-group .editable-input input:not([type=radio]):not([type=checkbox]):not([type=submit]) {
    width: 100% !important;
}

.editable-inline .editable-buttons {
    margin-top: 7px;
    display: block;
    margin-left: 0px;
}

.editable-inline .form-inline .form-control {
    display: block;
}

.awarenessMarker {
    position: fixed;
    top: 20%;
    left: 85%;
    z-index: 900;
}

.awarenessMarker .panel-heading {
    cursor: grabbing;
}

.awarenessMarker .panel-body {
    cursor: pointer;
}

.mega-dropdown {
    position: static !important;
}

.mega-dropdown-menu {
    left: initial !important;
    width: 90%;
    max-width: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.mega-dropdown-menu  ul {
    padding: 0;
    margin: 0;
}

.mega-dropdown-menu ul > li {
    list-style: none;
    border-radius: 6px;
}

.mega-dropdown-menu li > a {
    display: block;
    padding: 8px 6px;
    text-decoration: none;
}

.mega-dropdown-menu li.divider,
.dropdown-menu li.divider {
    padding: 2px 0;
    text-decoration: none;
}

.mega-dropdown-menu > li ul > li:hover:not(.dropdown-header),
.mega-dropdown-menu > li ul > li:focus:not(.dropdown-header) {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.mega-dropdown-menu .dropdown-header {
    font-size: 16px;
    padding: 5px 60px 5px 5px;
    line-height: 30px;
}

.mega-dropdown-menu > li ul > li.active > a {
    color: #fff !important;
    text-decoration: none;
    background-color: #516982;
    border-radius: 6px;
    outline: 0;
}

/* submenu right-arrow caret */
.submenu-opener > a::after {
    content: '\f054';
    font-size: 0.75em;
}

.workflow-marker {
    color: #ccc;
}

.workflow-marker.markable {
    cursor: pointer;
}

.workflow-marker.active, .workflow-marker:hover {
    color: #f0ad4e;
}


.has-workflow {
    border: 1px solid #999;
    border-radius: 3px;
    border-bottom: 3px solid;
    border-bottom: 3px solid;
}

.has-workflow.state-input {
    border-color: #999;
}

.has-workflow.state-check {
    border-color: #5bc0de;
}

.has-workflow.state-admin {
    border-color: #f0ad4e;
}

.has-workflow.state-done {
    border-color: #5cb85c;
}

.has-workflow.workflow-overdue {
    border-top: 3px solid #f00;
    padding-top: 1px;
}


/* override .label styles in navbar to fix workflow status indicator labels */
.navbar-nav .label {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 2px;
    padding: 0.2em 0.5em 0.3em;
}

.tablePill {
    border-radius: 3px;
    margin: 3px;
    padding: 3px;
    text-align: center;
    border: 4px solid #EEE;
}

/* to hide button if whole field is deactivated */
tr.danger .openModal {
    display: none;
}

.highlightTd {
    background-color: #B0BED9;
}

.break-word {
    word-break: break-word;
}


.field-container {
    padding-bottom: 0px;
}

.deleted .btn, .btn.deleted {
    text-decoration: line-through;
    opacity: 0.65;
    cursor: not-allowed;
}
.deleted .delete-file {
    display: none;
}
.file-download {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jOrgChart table, .nodeContainer table {
    background-color: transparent;
    border: none;
}

a.btn {
    text-decoration: none;
}

/* in submenus the padding of the right of icons should be equal */
li span.fa {
    width: 1.5em;
}


table {
    border-radius: 5px;
}

.headerLogo {
    padding: 10px;
}

.headerLogo a:hover {
    text-decoration: none;
}

.headerLogo img {
    max-width: 200px;
    max-height: 75px;
}

.header {
    padding: 10px 20px;
}

.headerContent {
    display: flex;
    justify-content: space-between;
    padding-bottom: 23px;
    padding-top: 10px;
}

.headerContent h2 {
    margin: 0;
    padding: 0;
    line-height: normal;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    background-color: #548dc6;
}

.bootstrap-switch {
    border-width: 0 1px 4px 1px;
    font-size: 12px;
    border-color: #bbb;
}

.bootstrap-switch .bootstrap-switch-handle-on {
    border-radius: 0px;
}

/* fixes: https://github.com/Bttstrp/bootstrap-switch/issues/624#issuecomment-319625864 */
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
    vertical-align: baseline;
}

/* remove double margin/padding in wells, wells already have a padding, .alert for example dont need to add another margin */
.well > :last-child {
    margin-bottom: 0;
}

.well-xs {
    padding: 3px;
    margin-bottom: 3px;
}

.nodeHeaderContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.4em;
}

.nodeHeaderContainer a {
    text-decoration: none;
}

.finalizeNode {
    margin-left: 0.4em;
    margin-right: 0.5em;
}




.nodeLogo {
    max-width: 8em;
    max-height: 8em;
    margin-bottom: 6px;
}

.organigram-hr {
    display: none;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 8px !important;
}

.nodeContainer .organigram-hr {
    display: block;
}

.organigram_search_result .nodeLogo {
    display: none;
}

.organigram_search_result {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.organigram_search_result li {
    flex-basis: 180px;
    flex-grow: 0;
    flex-shrink: 1;
}

.panel-heading-lg {
    font-size: 18px;
}

.data_extrainfo th {
    vertical-align: top !important;
}

.evaluationFinished {
    color: #aaca4c !important;
}

.newColumnCell {
    border-left: 1px solid #eeeeee !important;
}

.consistency-overlay {
    display: inline-block;
    z-index: 1000;
    position: fixed;
    top: 10px;
    right: 175px;
}

.select2-selection__rendered {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.panel-heading .checkbox {
    margin: 0 !important;
}

.listBlock {
    max-height: 100px;
    overflow-y: auto;
}

.tableFlexContainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}


.copyRbiData, .copyRbiDatas {
    cursor: pointer;
}

.copyRbiData:before, .copyRbiDatas:before {
    content: "\f0c5";
}

.addParenthesis:before {
    content: '(';
}

.addParenthesis:after {
    content: ')';
}

/* coloris.js full color input type field */
.clr-field button {
    width: 100% !important;
    height: 100% !important;
}

.highcharts-drillup-button {
    display: none;
}

/* hides specific input elements when not-relevant checkbox is ticked */
.not-relevant .hidden-not-relevant {
    display: none;
}

input[type="file"] {
    width: 100%;
}

/* datatables stuff */
table {
    width: 100%;
}

/* do not pull organigram table to full width */
.jOrgChart table {
    width: auto;
}

#footerImgContainer {
    display: flex;
    column-gap: 60px;
    row-gap: 30px;
    justify-content: space-evenly;
    flex-flow: row wrap;
    align-items: center;
}

#footerImgContainer img {
    opacity: 70%;
    height: 70px;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

#footerImgContainer img:hover {
    opacity: 100%
}

.fixedWidthText {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* fix readability of links on selected rows */
table.dataTable>tbody>tr.selected a {
    color: #fff;
}

table.dataTable > tbody > tr.selected .btn-default {
    color: #2e5d8c;
}

table.dataTable > tbody > tr.selected .btn-primary {
    background-color: #ccd1da;
    border-color: #ccd1da;
    color: #2e5d8c;
}

table.dataTable > tbody > tr.selected div.reorderRow {
    background-color: #fff;
    border-color: #2e5d8c;
    color: #2e5d8c;
}

/* overwrite datatable select color */
table.dataTable tbody > tr.selected > td,
table.dataTable tbody > tr > .selected > td {
    background-color: #2e5d8c !important;
    box-shadow: none !important;
}

/* overwrite datatable select color */
table.dataTable tbody > tr > td.selected {
    background-color: #2e5d8c !important;
    box-shadow: none !important;
}

table.dataTable tbody > tr > td.selected.select-checkbox {
    color: #ffffff;
}

table.dataTable tbody > tr > td.selected:after {
    content: "✓";
    font-size: 20px;
    margin-top: -19px;
    margin-left: -6px;
    text-align: center;
    text-shadow: 1px 1px #b0bed9, -1px -1px #b0bed9, 1px -1px #b0bed9, -1px 1px #b0bed9;
}

/* fix readability of sub tables on selected rows */
table.dataTable > tbody > tr.selected table {
    color: #000;
}

/** fix readability of checkboxes on selected rows */
table.dataTable tbody > tr.selected .select-checkbox
{
    color: #ffffff;
}

table.dataTable>tbody>tr>td.selected.select-checkbox:before {
    border: 1px solid white;
}

tr:not(.selected) .lead-column {
    background-color: #d4e2f1 !important;
    color: #2e5d8c !important;
}

div.dtfc-right-top-blocker{
    display:none!important;
}

.dataTables_scrollHeadInner .table {
    margin-bottom: 0;
}

/* make room for before/after css of select-checkbox */
table.dataTable .select-checkbox {
    min-width: 20px;
    min-height: 3.4em;
}

tbody td.select-checkbox {
    height: 25px;
}

/* place select checkbox vertically center */
table.dataTable>tbody>tr>td.select-checkbox:before,
table.dataTable>tbody>tr>td.select-checkbox:after,
table.dataTable>tbody>tr>th.select-checkbox:before,
table.dataTable>tbody>tr>th.select-checkbox:after {
    top: 1.7em;
    /* for vertical alignment
    top: 50%;
    */
}

/* fix position of ticked checkbox on selected rows */
table.dataTable>tbody>tr.selected>td.select-checkbox:after,
table.dataTable>tbody>tr.selected>th.select-checkbox:after,
table.dataTable>tbody>tr>td.selected.select-checkbox:after {
    margin-top: -27px;
    margin-left: -7px;
    /* for vertical alignment
    margin-top: -16px;
    */
}

/* fix position of sort icons to be always aligned top */
table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:before {
    top: 8px;
}

/* fix position of sort icons to be always aligned top */
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    top: 17px
}

/* allow labels to break text to prevent tables from overflowing page width */
table.dataTable .label {
    white-space: normal;
    display: inline-block;
    text-align: left;
    margin-bottom: 3px;
}

.esgBackground {
    background-size: cover;
    background-image: url('../images/esgBackground.jpg');
}

.flashy {
    background-color: #B94A48;
    transition: background-color 500ms linear;
}

.table > thead > tr > th {
    vertical-align: top;
}

/* fix scaling of login buttons in Safari */
#login_login, #reset-password {
    white-space: normal;
}

#reset-password {
    height: fit-content !important
}

.gridItem {
    background-color: #fff;
    padding: 5px;
}

.gridContainer {
    display: grid;
    background-color: #eeeeee;
    grid-gap: 1px;
    border: 1px solid #eeeeee;
    overflow: auto;
}

.gridGroup {
    display: contents;
}

/**
used in gwoe testpoints in data input - Umwelt - Emissionen und Schafstoffe table
 */
.gridSticky {
    position: sticky; left: 0; z-index: 300;
}

.gridContainer.gridContainerStriped .gridGroup:nth-child(even) .gridItem {
    background-color: #f5f4f4;
}

.has-warning-custom.input-group-addon {
    border-color: #ffb400;
    background-color: #fdeab6;
}

.has-success-custom.input-group-addon {
    border-color: #82b857;
    background-color: #e1edd5;
}

/* overwrite autosize.js behaviour of blocking horizontal resizing */
/* max-width and max-height makes textareas dont overlap its parent https://stackoverflow.com/questions/3899463 */
textarea {
    resize: both !important;
    max-width: 100%;
    max-height: 100%;
}

.internalComment {
    border: solid 1px #eeeeee;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 5px;
}

.small {
    font-size: 0.85em;
}

.collectionItemFlex {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
}

.bigtooltip {
    max-width: 850px;
}

.showMonaCalculator {
    position: absolute;
}

.monaCalculator {
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    z-index: 1070;
    border: 1px solid #eeeeee;
    border-top: 0px;
    padding: 5px;
    width: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
}


.monaCalculatorCurrentInput {
    text-align: right;
    font-size: larger;
    word-wrap: break-word;
    margin: 5px;
    width: 100%;
    min-height: 1.25em;
    line-height: 1.25;
    padding-bottom: 3px;
    border-bottom: 1px #eeeeee solid;
}

.monaCalculatorKeypad {
    display: grid;
    grid-template-rows: repeat(5, 30px);
    grid-template-columns: repeat(4, 30px);
    grid-row-gap: 8px;
    grid-column-gap: 8px;
    padding: 10px;
}

.monaCalculatorNumBtn,
.monaCalculatorFunBtn {
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 4px;
    padding: 0;
    height: 100%;
    width: 100%;
}


.with-95 {
    width: 95%;
}

.display-flex {
    display: flex;
}

.overflow-break-word{
    overflow-wrap: break-word;
}

table th.selectColumn {
    max-width: 10px;
}

.edit-organigram-options .checkbox {
    margin: 0;
    display: inline-block;
}

.edit-organigram-options .checkbox input {
    position: relative;
    margin: 0;

}

.input-collection > div:last-child > hr, .input-collection > div:last-child > div:last-child > hr, .input-collection > div:last-child > div > div > div:last-child > hr {
    margin-bottom: 0;
}

.no-style-hr {
    display: block;
    margin: 0.5em auto;
    border-style: inset;
    border-width: 1px;
}

.panel[class*="massnahmeItem"] > .panel-body > .row {
    padding-bottom: 15px;
}

.esrs-sm-slider-container, .esrs-sm-likelihood-slider-container {
    margin: 5px 15px 40px;
    width: 90%;
    min-width: 130px;
}

.esrs-sm-detail-graph-container {
    display: block;
    overflow-x: auto;
}

.esrs-sm-analysis-badge, .esrs-sm-analysis-badge-row {
    display: inline-block;
}

.esrs-sm-detail-graph-cell {
    min-width: 120px;
}

.esrs-sm-detail-graph-cell .label {
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.evaluation-slider-container {
    margin: 5px 15px 40px;
    width: 30%;
    min-width: 130px;
}

tbody tr:not(:first-child) td.esrs-sm-detail-graph-cell {
    border-top: 2px solid #858585;
}

tbody td:not(:last-child).esrs-sm-detail-graph-cell {
    border-right: 2px solid #858585;
}

.sticky-tab-menu {
    position: sticky;
    z-index: 400;
    background-color: #ffffff;
}

.esg-breadcrumbs {
    /* Spacing & layout */
    display: flex;
    gap: 1em;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative; /* important */
}

.esg-breadcrumbs-buttons {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.breadcrumb-addons {
    position: absolute;
    top: 100%; /* place right below the main breadcrumbs */
    left: 0;
    width: 100%;

    padding: 10px;
    margin-top: 4px;

    opacity: 0;
    pointer-events: none;

    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.2);
}


.info-container {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.5;
    transition: opacity 1s; /* Adjust the timing here */
}

.info-container:hover {
    -webkit-line-clamp: unset;
    opacity: 1; /* Adjust the opacity level when hovered */
}

div[class^='overviewResult'] .modal-content, h3.overviewHeader .modal-content {
    color: #000000;
    line-height: 1.5em;
}

.black {
    color: #000000;
}

.field-and-substance-val-text {
    padding-top: 5px;
    padding-left: 10px;
}

.externalUpload img {
    max-width: 100px;
    max-height: 100px;
}

.externalUploadButton input[type='file'] {
    position: absolute;
    left: 0;
    top: 0;
    width:100%;
    height:100%;
    opacity: 0;
}

.externalUploadButton {
    position: relative;
    cursor: pointer;
}
/* https://stackoverflow.com/questions/7554845/the-cursorpointer-property-doesnt-apply-to-file-upload-buttons-in-webkit-brows */
.externalUploadButton ::-webkit-file-upload-button {
    cursor: pointer;
}

.fa-language-esg-cockpit:before {
    content: "\f1ab";
}

.bootstrap-switch .bootstrap-switch-label {
    background: #ddd;
}

#welcome-page div.information {
    display:flex;
    justify-content:space-between;
}

.bootstrap-switch {
    border: none;
    border-radius: 0;
}

.bootstrap-switch .boootstrap-switch-handle-on.bootstrap-switch-primary {
    background-color: #337ab7 !important;
}

.bootstrap-dialog .modal-header {
    border-radius: 0;
}

.bootstrap-switch.bootstrap-switch-focused {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.collection-add:hover {
    background-color: #82b857;
    border-color: #82b857;
}

#generic_node_input_heading164_field_group_0_products .col-md-1 {
    width: auto;
}

.input-group {
    border-right: none;
}

.gwoe_matrix {
    right: 3px;
    position: relative;
}

a {
    text-decoration: underline;
    text-underline-offset: 1.5px;
}

.small-label {
    color: #548dc6;
    font-size: 10px;
}

.big-label {
    color: #548dc6;
    font-size: 24px;
}

.label-lg {
    font-size: 16px;
    padding: 6px 10px;
}

.breadcrumb li.active,
.breadcrumb > li + li:before {
    color: #548dc6
}

/* fix to make info icons the same color as the label color */
.label a {
    text-underline-offset: 1.5px;
}

.zoomViewportOuter .btn-group > .btn {
    height: 36px !important;
    border: 3px solid #f4f5f7 !important;
}

/*
    SUB-SUBMENU RULES
 */
.submenu-opener {
    /* needs to be set relative for the absolute
    positioned dropdown-menu to displayed correctly */
    position: relative;
}

/* this is an alignment of a sub-sub-menu dropdown */
.submenu-opener .dropdown-menu {
    position: absolute;
    top: -21px;
    left: 100%;
}

.submenu-opener .submenu-left {
    position: absolute;
    top: -21px;
    right: 100%;
    left: auto;
}

/* show sub-submenu on parent-element hover and stay open when moving to sub-menu */
.submenu-opener:hover > .dropdown-menu,
.submenu-opener > .dropdown-menu:hover {
    display: block;
}

/* use flex to show a right-arrow caret at end */
.submenu-opener > a {
    display: flex !important;
    gap: 1em;
    align-items: center;
    justify-content: space-between;
}
/*
    SUB-SUBMENU RULES END
 */

.panel > .panel-heading + .panel-body {
    color: black;
}

.panel-success > .panel-body {
    color: #336633;
}

.panel-info > .panel-body {
    color: #756d96;
}

.panel-primary > .panel-body {
    color: #2e5d8c;
}

.panel-danger > .panel-body {
    color: #bd1018;
}

.panel-warning > .panel-body {
    color: #e67302;
}

.mega-dropdown-menu > li ul > li:hover:not(.dropdown-header),
.mega-dropdown-menu > li ul > li:focus:not(.dropdown-header),
.mega-dropdown-menu > li ul > li:not(.dropdown-header) a:hover {
    color: black !important;
    background-color: #f4f5f7;
}

.mega-dropdown-menu > li ul > li.active a,
.mega-dropdown-menu > li ul > li.active {
    color: #000 !important;
    background-color: #f4f5f7;
}

.mega-dropdown-menu-flex {
    display: flex;
    gap: 3em;
    flex-wrap: wrap;
}

/* vertically center panel-heading text when adding a button on the right */
.panel-heading.with-button {
    line-height: 36px;
}

.statisticsItem {
    box-shadow: 0 0 5px rgba(193, 193, 193, 0.5);
    margin-top: 1rem;
    border-radius: 15px;
}

.highcharts-label > text {
    font-weight: normal !important;
}

.highcharts-series-inactive {
    opacity: 0.5 !important;
}

.awareness-chart-panel {
    border: 1px solid #eee;
    border-radius: 16px;
}

.checkbox > label {
    display: contents;
}

.checkbox i.fas.fa-info-circle,
.checkbox-label,
label.required:has(.checkbox-label)::after {
    position: relative;
    top: 0.1rem;
}

/** Override default boostrap dialog colors */
.bootstrap-dialog.type-info .modal-header {
    background-color: #548dc6;
}

.label-esrs-sm-pos {
    background-color: #aaca4c;
}

.label-esrs-sm-pos-light {
    background-color: #e2edc2;
}

.label-esrs-sm-neg {
    background-color: #ef6e2f;
}

.label-esrs-sm-neg-light {
    background-color: #fad1bd;
}

.panel-heading > .btn.pull-right{
    background-color: #2e5d8c;
    border-color: #2e5d8c;
}

.esg-sidebar {
    position: fixed;
    top: 20%;
    display: flex;
    transition: 0.3s;
    z-index: 1052;
    width: 300px;
}

/* Sidebar Styles */
.esg-sidebar-left {
    left: -266px;
    flex-direction: row-reverse;
}

/* Sidebar Styles */
.esg-sidebar-right {
    right: -266px;
}

/* Sidebar body */
.esg-sidebar .esg-sidebar-body {
    width: 266px;
    padding-left: 0.25em;
    background-color: #efefef;
}

/* Sidebar links */
.esg-sidebar a {
    text-decoration: none;
}

/* Sidebar hover effect */
.esg-sidebar-right:hover,
.esg-sidebar-right:focus-within {
    right: 0;
}

/* Sidebar hover effect */
.esg-sidebar-left:hover,
.esg-sidebar-left:focus-within {
    left: 0;
}

.esg-sidebar-left .esg-sidebar-icon {
    transform: rotate(180deg);
}

.esg-sidebar-right:hover .esg-sidebar-icon ,
.esg-sidebar-right:focus-within .esg-sidebar-icon{
    transform: rotate(180deg);
}

.esg-sidebar-left:hover .esg-sidebar-icon,
.esg-sidebar-left:focus-within .esg-sidebar-icon {
    transform: rotate(0deg);
}

/* Sidebar toggle button */
.esg-sidebar .esg-sidebar-toggle {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 0;
    width: 34px;
    cursor: pointer;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(5px);
}

/* Sidebar panel label */
.esg-sidebar .esrs-panel-label {
    writing-mode: vertical-rl;
    font-size: 1.5em;
    white-space: nowrap;
}

/* List styles for the sidebar */
.esg-sidebar ol {
    padding-left: 0;
    list-style: none;
    counter-reset: item; /* Initialize counter for list numbering */
    margin: 0;
}

/* List item styles */
.esg-sidebar li {
    position: relative;
    padding: 0.5em 0.5em 0.5em 2.5em; /* Space for custom marker */
}

/* Custom list marker styles */
.esg-sidebar li::before {
    content: counter(item) ". "; /* Add number */
    counter-increment: item; /* Increment the counter */
    position: absolute;
    left: 0.5em; /* Positioning the marker */
}

/* Marker styles for specific items */
.esg-sidebar .esg-sidebar-marker-3, .esg-sidebar .esg-sidebar-marker-3 a {
    color: #2e5d8c;
    background-color: #d4e2f1;
    font-weight: bold;
}

.esg-sidebar .esg-sidebar-marker-2, .esg-sidebar .esg-sidebar-marker-2 a {
    color: #666;
    background-color: #ddd;
}

.esg-sidebar .esg-sidebar-marker-1, .esg-sidebar .esg-sidebar-marker-1 a {
    color: #fff;
    background-color: #548dc6;
    font-weight: bold;
}

.esg-sidebar .esg-sidebar-timeline {
    padding: 0.5em;
}

.w-70-percent {
    width: 70% !important;
}

.w-100-percent {
    width: 100% !important;
}

.node-info {
    color: #2e5d8c;
}

.generic-upload .btn-group {
    max-width: 100%;
}

.input-page-select-img {
    width: 0.9em;
    height: 0.9em;
}

li.select2-results__option[aria-selected="true"] {
    color: #7A7A7AFF !important;
}

li.select2-results__option[aria-disabled="true"] {
    color: #999999FF !important;
}

li.select2-results__option.select2-results__option--highlighted {
    color: #FFFFFFFF !important;
}

.sortable-collection-ghost-class {
    background-color: #fff;
    border: 2px solid #548dc6;
    padding: 2px;
}

.sortable-collection-handle {
    cursor: grab;
}

.align-center {
    vertical-align: middle;
    text-align: center;
}

/** Highlight an element by pulsating the background color */
.pulse-highlight {
    background-color: initial;
    animation-name: pulse-highlight;
    animation-duration: 500ms;
    animation-iteration-count: 5;
}

@keyframes pulse-highlight {
    0% {
        background-color: initial;
    }
    50% {
        background-color: rgba(255, 202, 10, 0.3);
    }
    100% {
        background-color: initial;
    }
}

/* Makes sure that the coloris input is in front of the bootstrap modal (z-index: 1050) */
.clr-picker {
    z-index: 1100 !important;
}
.menu-item {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0.5em 1em;
}

.menu-icon-left {
    width: 1em;
    flex-shrink: 0;
}

.menu-icon-info {
    flex-shrink: 0;
}

.skip-to-content-link {
    left: 50%;
    position: absolute;
    transform: translateY(-100%);
}

.skip-to-content-link {
    background: #2e5d8c;
    color: #fff;
    height: 30px;
    left: 50%;
    padding: 8px;
    position: absolute;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.3s;
}

.skip-to-content-link:focus {
    color: #fff;
    position: absolute;
    text-decoration: none;
    transform: translateY(0%);
}

.ai-message .ai-text {
    margin: 8px 0;
    padding: 3px 6px;
    border-radius: 3px;
    line-height: 1.5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    animation: fadeIn 0.25s ease;
    word-wrap: break-word;
}

.ai-message .ai-role {
    font-weight: bold;
}

/* AI messages */
.ai-message.assistant .ai-text {
    background: #f7f7f7;
    color: #333;
    align-self: flex-start;
    border: 1px solid #e0e0e0;
}

/* User messages */
.ai-message.user .ai-text {
    background: #eaeaea;
    color: #222;
    align-self: flex-end;
    border: 1px solid #d5d5d5;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* simple lightbox prev/next button */
.sl-wrapper .sl-navigation button {
    color: #fff !important;
}

.input-action-buttons {
    align-items: center;
    display: flex;
    gap: 0.25em;
}


.panel hr {
    border-color: #ddd;
}

.switch-column {
    min-width: 140px;
}

.overflow-auto {
    overflow: auto;
}

.dataconfBlue {
    background-color: #296d98;
}

.dataconfGreen {
    background-color: #3c763d;
}

.panel-scorecard {
    border: 0;
    box-shadow: 0 0 4px #EEEEEE;
}

.panel-scorecard .panel-heading {
    border: 0;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}

.panel-scorecard .panel-body {
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}



.simple-mode-hide,
body.simple-mode-active .hide-in-simple-mode {
    display: none !important;
}

.panel-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.panel-disabled .link {
    cursor: not-allowed;
}

.panel-disabled .list-group-item {
    opacity: 0.5;
    cursor: not-allowed;
}

.inline-block {
    display: inline-block;
}

.panel-intro .panel-heading {
    color: #548dc6;
    font-weight: normal;
    background-color: #f4f5f7;
}

.panel-intro .panel-heading + .panel-collapse > .panel-body {
    border-top: 1px solid #ddd;
}

.horizontal-form .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.horizontal-form .form-group label {
    margin-bottom: 0;
    white-space: nowrap;
}

.horizontal-form .form-group select {
    flex: 1;
}

.justify-end {
    justify-content: flex-end;
}

.approvableDeny,
.modalDiscard,
.modalRestore {
    outline: none;
}

.table-40-60 tr > :nth-child(1) {
    width: 40%;
}

.table-40-60 tr > :nth-child(2) {
    width: 60%;
}

.timeline-adapt-left {
    flex: 0 0 40%;
}

.timeline-adapt-right {
    flex: 0 0 40%;
}

.no-border {
  border: none !important;
}

.evaluation-kpi-unit {
    font-size: 0.3em;
}

.evaluation-kpi-label {
    color: #444;
}

/* Prevent empty textarea from resizing when something is typed into it - happens only in Chrome-based browsers */
textarea[name="note"] {
    overflow-y: scroll !important;
}

textarea[name="note"]::-webkit-scrollbar {
    width: 4px;
}

/* Animation for live-updating statistics in user_responsibilities */
.stat-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
  text-align: right;
}

.stat-updating {
  display: inline-block;
  animation: stat-flash 0.4s ease-out;
}

@keyframes stat-flash {
  0% {
    color: inherit;
    text-shadow: none;
  }
  30% {
    color: #5cb85c;
    text-shadow: 0 0 8px rgba(92, 184, 92, 0.8);
  }
  100% {
    color: inherit;
    text-shadow: none;
  }
}

.rank-top-1 {
    background-color: rgba(255, 215, 0, 0.6);
}
.rank-top-2 {
    background-color: rgba(192, 192, 192, 0.6);
}
.rank-top-3 {
    background-color: rgba(210, 105, 30, 0.6);
}

.rank-bottom-1 {
    background-color: rgba(139, 0, 0, 0.6);
}
.rank-bottom-2 {
    background-color: rgba(220, 20, 60, 0.6);
}
.rank-bottom-3 {
    background-color: rgba(240, 128, 128, 0.6);
}

/* custom modal stylig to match old boostrap-dialog styles */
.bootbox.modal.type-danger .modal-header {
    background-color: RGBA(var(--bs-danger-rgb));
    color:#fff;
}
.bootbox.modal.type-warning .modal-header {
    background-color: RGBA(var(--bs-warning-rgb));
    color:#fff;
}

.overview-data-col {
    background-color: rgba(0, 0, 0, 0.15);
}

.overview-compare-col {
    background-color: rgba(0, 0, 0, 0.1);
}