/*
Theme Name: Emonitor
Author: Portalworks
Version: 1.0.0
*/
.svg-container {
    position: sticky;
    top: 10px; /* Adjust as needed */
    /* Ensure parent container has proper height for scrolling */
    max-height: 100vh; /* Or a suitable height */
    overflow: auto; /* Enable scrolling */
}

svg {
    max-width: 100%;
    height: auto;
}
.sortable {
    cursor: pointer;
}
.sort-arrow {
    display: inline-block;
    margin-left: 5px;
}

.asc .sort-arrow::after, .sort-arrow::after {
    content: "▲";
}
.desc .sort-arrow::after {
    content: "▼";
}

.wohnungenTable td, .wohnungenTable th {
    color: #a9a9a9;
}

.isomtery svg {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.floor {
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-transition: all .6s ease;
    -ms-transition: all .6s ease;
}

.floor.moveup {
    -ms-transform: translate(0, -350px);
    transform: translate(0, -350px);
    -webkit-transform: translate(0, -350px);
}

.floor > g.active-flat > polygon, .floor > g:hover > polygon, .floor > g:hover > polyline, .floor > g.active-flat > polyline, .floor > g:hover *, .floor > g.active-flat * {
    fill: #a9a9a9 !important;
    stroke: #fff !important;
}

.wohnungenTable tbody tr:hover td, .hovered td {
    background-color: #eeeeee;
}

.wohnungenTable tbody tr:hover {
    background-color: #eeeeee !important;
}

.wohnungenTable th {
	font-size: 12px;
}

.wohnungenTable td, .wohnungenTable td a {
	font-size: 14px!important;
}

.titles {
    font-family: inherit;
    font-size: 25px;
    font-weight: 700;
    padding: 20px 0;
    color: #a9a9a9;
}

.text {
    color: #70756f;
    font-family: inherit;
    font-size: 1.07rem;
    font-weight: 300;
    line-height: 1;
}

.ui-slider .ui-slider-range, .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    background: #a9a9a9!important;
}

#frei-input {
    appearance: none;
    border: 1px solid black;
    width: 15px;
    height: 15px;
}

#frei-input:checked {
    background-color: #70756f;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 200px;
}

.select-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: transparent;
    border: 1px solid #70756f;
    cursor: pointer;
}

.selected {
    flex-grow: 1;
}

.options {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1;
}

.options label {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.options label:hover {
    background: #f0f0f0;
}

.options input[type="checkbox"] {
    margin-right: 10px;
}

/*.chevron {*/
/*    transform: rotate(180deg);*/
/*}*/

.table-container {
    height: 700px;
    scroll-behavior: smooth;
}

.table-container {
	text-wrap: nowrap;
}
