#map {
    position:absolute;
    bottom:0px;
    left: 0px;
    right:0px;
    width : 100%
}
#topToolbar {
    height: auto; /* set the height you want */
    width: 100%; /* take up the whole width of the main container */
    background-color: var(--primary); /* set any background color you want */
    border-top-width: 3px;
    border-top-color: #86b7fe;
    border-style: solid;
}
#buttonsToolbarWrapper {
    background-color: transparent; /* set any background color you want */
    border-style: none;
    z-index: 900;
    position: absolute;
    transition: transform .3s ease-in-out;
}

#buttonsToolbarWrapper.closed {
    transform: translateX(-100%);
}

#btnToolbarToggle i {
    transition: transform .2s ease-in-out;
    transition-delay: .15s;
}

#btnToolbarToggle i.closed {
    transform: rotateY(180deg);
}

#buttonsToolbar {

}

#btnToolbarToggle {
    width: 47px;
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0.8rem;
    margin-top: 1rem;
}

.main-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, fit-content(300px)) 47px;
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: .8rem;
    grid-row-gap: .4rem;
    justify-content: stretch;
}

div.main-buttons_projects { grid-area: 1 / 1 / 2 / 3; }
div.main-buttons_project-parts { grid-area: 2 / 1 / 3 / 3; }

#buttonsToolbarWrapper.details-active {
    transform: translate(400px);
}

#parking {
    display: none;
}

.hidden0h {
    display: none;
    height: 0px;
}

@media screen and (min-width: 1600px) and (max-width: 1920px) {
    .overlayDetail {
        width: 400px; /* Apply this style for small screens (max-width: 600px) */
        max-width: 400px;
        overflow-y: auto;
    }

    .overlayDetailLarge {
        width: 50vw;
        max-width: 50vw;
        overflow-y: auto;
    }

    .overlayTable {
        width: 50%; /* Apply this style for small screens (max-width: 600px) */
    }
}

@media screen and (min-width: 1920px) and (max-width: 2500px) {
    .overlayDetail {
        width: 400px; /* Apply this style for small screens (max-width: 600px) */
        max-width: 400px;
        overflow-y: auto;
    }

    .overlayDetailLarge {
        width: 50vw;
        max-width: 50vw;
        overflow-y: auto;
    }

    .overlayTable {
        width: 50%; /* Apply this style for small screens (max-width: 600px) */
    }
}

@media screen and (min-width: 2500px) {
    .overlayDetail {
        width: 400px; /* Apply this style for small screens (max-width: 600px) */
        max-width: 400px;
        overflow-y: auto;
    }

    .overlayDetailLarge {
        width: 50vw;
        max-width: 50vw;
        overflow-y: auto;
    }

    .overlayTable {
        width: 50%; /* Apply this style for small screens (max-width: 600px) */
    }
}

.overlay-buttons {
    display: flex;
    justify-content: space-evenly;
}
.overlay-buttons40 {
    display: flex;
    justify-content: space-evenly;
}
.overlay-buttons button {
    width: 30%;
    margin-right: 15px;
}

.overlay-buttons40 button {
    width: 40%;
    margin-right: 5px;
}
/* Style for the content within the overlay */
.overlay-content {
    padding: 10px;
    color: var(--primary);
}

.overlayDetail {
    position: fixed;
    /*top: 60px;*/
    left: 0;
    height: calc(100vh - 58px);
    max-width: 400px;
    overflow-y: auto;
    width: 400px;/* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}

.overlayDetailLarge {
    position: fixed;
    /*top: 60px;*/
    left: 0;
    height: calc(100% - 60px);
    max-width: 50vw;
    overflow-y: auto;
    width: 50vw;/* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}

.overlayGraphStandard {
    position: fixed;
    left: 0;
    height: calc(100vh - 58px);
    width: 50%; /* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}

.overlayTable, .overlayGraphStacked {
    position: fixed;
    top: 58px;
    right: 0;
    height: calc(100% - 58px);
    width: 50%; /* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}

.overlayTableFull,
div.overlayGraphStandard.overlayTableFull,
div.overlayGraphStacked.overlayTableFull{
    position: fixed;
    top: 58px;
    left: 0;
    height: calc(100% - 58px);
    width: 100%; /* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}


.overlayTable.overlayInfo,
div.overlayGraphStandard.overlayTableFull.overlayInfo,
div.overlayGraphStacked.overlayTableFull.overlayInfo,
div.overlayGraphStandard.overlayTable.overlayInfo,
div.overlayGraphStacked.overlayTable.overlayInfo{
    position: fixed;
    top: 58px;
    left: 400px;
    height: calc(100% - 58px);
    width: calc(100% - 400px);; /* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}

.overlayTableFull.overlayInfo {
    position: fixed;
    top: 58px;
    left: 400px;
    height: calc(100% - 58px);
    width: calc(100% - 400px); /* Adjust as needed */
    background-color: var(--white); /* Adjust the opacity as needed */
    z-index: 999; /* Ensure it's on top of other content */
}

.taskTableButton {
    background-color: var(--primaryBG) !important;
    color: var(--white) !important;
    border-color: var(--primaryBG) !important;
}
.taskTableButton:hover {
    background-color: var(--primaryBG) !important;
    color: var(--white) !important;
    border-color: var(--primaryBG) !important;
}
.taskTableButton.active {
    color: var(--red) !important;
}
.taskTableSelectBoxButton {
    background-color: var(--primaryBG) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    border-right: transparent !important;
}
.taskTableSelectBoxButton:hover {
    background-color: var(--primaryBG) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    border-right: transparent !important;
}
.taskTableSelectButton {
    background-color: var(--primaryBG) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    border-left: transparent !important;
    opacity: initial !important;
    border-bottom-right-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}
.taskTableSelectButton:hover {
    background-color: var(--primaryBG) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    border-left: transparent !important;
    opacity: initial !important;
}

.titleSubRow {
    background-color: var(--primaryLite);
    color: var(--white);
    font-size: 0.58rem; /*align icons with tasktable*/
    font-weight: normal;
    padding: 0;
    /*margin-left: 0px;*/
}
/* For the Ajax loading spinner */
.modalSpinner {
    display:    none;
    position:   fixed;
    z-index:    10000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .2 )
    url('https://www.diplalogin.eu/cdn/static/images/spinner.gif')
    50% 50%
    no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modalSpinner {
    display: block;
}

.xscrol {
    padding: 0px;
}

.xscrol input[type="search"] {
    border: 1px solid var(--primary);
    border-radius: 5px;
    font-weight: bold;
    color: var(--primary);
}

.xscrol .select-checkbox::before {
    min-width: 1.3em;
    min-height: 1.3em;
}

.xscrol .select-checkbox::after {
    min-width: 1.3em;
    min-height: 1.3em;
    margin-left: -8px !important;
}

.xscrol .tableFieldSearch {
    max-width: 75% !important;
}

.xscrol input[type="search"]:focus-visible {
    outline: initial;
}

.xscrol input[type="search"]::placeholder {
    font-weight: bold; /* Make the placeholder text bold */
    text-align: center; /* Center-align the placeholder text */
}

.xscrol table.dataTable thead th, table.dataTable thead td {
    border-bottom: 1px solid var(--whiteBG);
}

.xscrol table.dataTable.table-striped tbody tr.selected * {
    box-shadow: inset 0 0 0 9999px var(--primary);
}

.xscrol table.dataTable.table-striped tbody tr.odd.selected * {
    box-shadow: inset 0 0 0 9999px var(--primary);
}

.xscrol table.dataTable tbody tr:nth-child(odd) {
    background-color: var(--tablePrimaryExtraLite);
}

.xscrol table.dataTable tbody tr:nth-child(even) {
    background-color: white;
}

.xscrol th.sorting_asc {
    background-color: var(--tablePrimaryLite);
}

.xscrol th.sorting_desc {
    background-color: var(--tablePrimaryLite);
}

.xscrol th.sorting_disabled {
    background-color: var(--white) !important;
}

/*custom modal styling*/

.modal {
    z-index: 1060 !important;
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 10px;
}

.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 400px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left.fade .modal-dialog {
    /*left: -320px;*/
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color) !important;
    border-radius: var(--bs-modal-border-radius) !important;
}


.diplaModalType1 .modal-header {
    background-color: var(--primary);
    border-bottom: var(--bs-modal-footer-border-width) transparent var(--primary);
    font-size: 18px;
    font-weight: normal;
    height: 3em;
}

.diplaModalType1 .modal-content {
    background-color: var(--primary);
    color: var(--white);
}

.diplaModalType1 a {
    font-size: 24px;
}

.diplaModalType1 .modal-title {
    font-size: 16px;
}

.diplaModalType1 .modal-header {
    border-bottom: var(--bs-modal-footer-border-width) transparent var(--primary);
    padding-bottom: 0px;
}

.diplaModalType1 .modal-footer {
    border-top: var(--bs-modal-footer-border-width) transparent var(--primary);
    padding-top: 8px;
    padding-bottom: 8px;
}

.diplaModalType2 .modal-content {
    background-color: var(--primaryLite);
    color: var(--white);
}

.diplaModalType2 a {
    /*font-size: 24px;*/
}

.diplaModalType2 .modal-title {
    font-size: 16px;
}

.diplaModalType2 .modal-header {
    background-color: var(--primary);
    border-bottom: var(--bs-modal-footer-border-width) transparent var(--primary);
    font-size: 18px;
    font-weight: normal;
    height: 3em;
}

.diplaModalType2 .modal-footer {
    border-top: var(--bs-modal-footer-border-width) transparent var(--primary);
    padding-top: 8px;
    padding-bottom: 8px;
}


/*OL Controls*/

/*.ol-control button {*/
/*    background-color: rgb(0,150,136);*/
/*    border: none;*/
/*    border-radius: 2px;*/
/*}*/

.ol-control button {
    scale: 125% !important;
    color: var(--primary);
    background-color: var(--white);
    /*border-color:  var(--primaryLite) !important;*/
    /*border-width: 1px !important;*/
    border: 1px solid var(--primaryLite) !important;
    border-radius: var(--bs-border-radius)!important;
    /*margin:0.5rem!important;*/
    font-weight: 400;
    font-size: 18px;
    /*width: 47px;*/
    /*height: 41px;*/
}
.ol-control button:active{
    color: white !important;
    background-color: var(--primary);
}
.ol-control button:hover {
    color: var(--primary);
    background-color: var(--white);
    border-color:  var(--white);
}
.ol-control button:focus {
    color: var(--primary);
    background-color: var(--white);
    border-color:  var(--white);
}
.ol-control button:disabled {
    color: var(--primary);
    background-color: var(--white);
    border-color:  var(--white);
}
.ol-control.ol-bar.ol-top.ol-left, .ol-control.ol-bar.ol-top.ol-right {
    top: 0.5rem!important;
}

.ol-control {
    //scale: 125% !important;
    background-color: transparent !important;
    border-width: 1px !important;
    border-radius: var(--bs-border-radius)!important;
}

.ol-search .search {
    height: 30px;
}

.toggle.ios,
.toggle-on.ios,
.toggle-off.ios {
    border-radius: 5rem;
}

.filter-toggle {
    border-radius: 5rem;
    width: 100% !important;
    height: 36px;
}

.btn-outline-basic {
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--bs-light);
    --bs-btn-hover-color: var(--bs-light);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--bs-light);
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--bs-light);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-light);
    --bs-gradient: none;
}

.btn-outline-expert {
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--bs-light);
    --bs-btn-hover-color: var(--bs-light);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--bs-light);
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--bs-light);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-light);
    --bs-gradient: none;
}

.btn-outline-all-values {
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--primaryLite);
    --bs-btn-border-color: var(--bs-light);
    --bs-btn-hover-color: var(--bs-light);
    --bs-btn-hover-bg: var(--primaryLite);
    --bs-btn-hover-border-color: var(--bs-light);
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-bg: var(--primaryLite);
    --bs-btn-active-border-color: var(--bs-light);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-light);
    --bs-gradient: none;
}

.btn-outline-last-value {
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--primaryLite);
    --bs-btn-border-color: var(--bs-light);
    --bs-btn-hover-color: var(--bs-light);
    --bs-btn-hover-bg: var(--primaryLite);
    --bs-btn-hover-border-color: var(--bs-light);
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-bg: var(--primaryLite);
    --bs-btn-active-border-color: var(--bs-light);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-light);
    --bs-gradient: none;
}

.toggle.ios .toggle-handle {
    border-radius: 5rem;
}

.roundedboxDrawDefaults {
    border-radius: 20px;
    border: 2px solid var(--primary);
    background-color: var(--primaryLite);
    padding: 10px;
    max-width: 600px
}

.extra-select {
    background-color: var(--primaryBG);
    padding-right: 8px;
    color: white;
    font-size: 18px;
    border-radius: 10px;
}

#mainGraphSelector,
.graph-selector {
    background-color: var(--primaryBG);
    padding: 16px 8px;
    color: white;
    font-size: 18px;
    outline: none;
}

.stats-box {
    /*border: 1px solid var(--primary);*/
    background-color: white;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 12px;
    flex: 1;
    gap: 8px;
}

.stats-box h2 {
    text-align: center;
    font-size: 18px;
}

.btn-panel-open {
    background-color: var(--primary);
    border: 1px solid white;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 16px;
    width: 100%;
}

.btn-panel-close {
    background-color: transparent;
    color: inherit;
    font-family: inherit;
    border: 0;
    padding: 0;
    margin: 0;
}

.title-dynamic-filter {
    font-size: 18px;
}

.info-dynamic-filter {
    font-size: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.btn-add-filter {
    margin-top: 1.5rem;
    background-color: white;
    border-radius: 10px;
    border: 1px solid var(--primaryLite);
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    padding: 8px;
    width: 100%;
}

.filter-item {
    background-color: var(--primary);
    border: 1px solid white;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

#newPropSelect {
    margin-bottom: 1rem;
}

.stats-box-text {
    padding: 2rem 0;
}

.stats-title {
    text-align: center;
    font-size: 16px;
    color: black;
    font-weight: 500;
}

.stats-text {
    text-align: center;
    font-size: 26px;
    font-weight: 500;
}

.btn-toggle-legend {
    position: absolute;
    top: 12px;
    right: 40px;
    color: #666666;
    border: none;
    background-color: transparent;
    font-size: 16px;
}

.btn-toggle-legend:hover {
    background-color: #e6e6e6;
}

.btn-toggle-legend-active {
    color: var(--primary);
}

.capakey-list {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.capakey-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    padding: 0.4rem;
}

.capakey-list li > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

.capakey-list li > input {
    transform: scale(1.4);
    margin-top: 0.4rem;
}

.capakey-list li > div > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.capakey-name {
    font-size: 14px;
}

.capakey-percent {
    font-size: 20px;
    font-weight: 600;
}

.capakey-owner {
    font-size: 18px;
    font-weight: 500;
}

.crm-panel {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid black;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.sov-item {
    display: flex;
    padding-bottom: 1rem;
    align-items: flex-start;
}

.sov-item:last-child {
    padding-bottom: 0;
}

.errors {
    font-size: .875rem;
    color: #aa0000;
    text-shadow: 1px 1px 2px #ffffff;
    font-weight: 600;
    padding: 0.125rem 1.2rem 0.5rem 1.2rem;
}
.error input, .error select, .error textarea {
    background: #fff3f3;
    border-color: #ffaaaa;
    color: #cc0000;
}
.error input:focus, .error select:focus, .error textarea:focus {
    -moz-box-shadow: 0 0 0.5em #ffaaaa;
    -webkit-box-shadow: 0 0 0.5em #ffaaaa;
    box-shadow: 0 0 0.5em #ffaaaa;
}


.tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
}

.tooltip-measure {
    opacity: 1;
    font-weight: bold;
}

.tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
}

.tooltip-measure:before,
.tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}

.tooltip-static:before {
    border-top-color: #ffcc33;
}



.highcharts-data-table {
    background-color: white;
    padding: 1.5rem;
}

.highcharts-data-table * {
    border-collapse: unset;
}

.highcharts-data-table table {
    width: 100%;
}

.highcharts-data-table td {
    padding: 0.5rem;
}

.highcharts-data-table table {
    border: 1px solid #f9f9f9;
}

.highcharts-data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.link-crm-section {
    padding: 12px;
    position: sticky;
}

.link-crm-section > button {
    padding: 12px;
    width: 100%;
}

.crm-disabled {
    color: var(--bs-gray-500);
}
.crm-unlink {
    background-color: var(--bs-red);
}

.searchBtn {
    border: 0;
    background: white;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
}

.table-list {
    list-style-type: none;
    padding: 0;
}

.magnify-cell {
    padding-top: 10px !important;
}
.expand-cell {
    padding: 4px 0 !important;
}

.expander > i {
    pointer-events: none;
    transition: transform .3s;
}

.expander.expanded > i {
    transform: rotate(90deg);
}
