html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling in both directions */
    height: 100%; /* Limits the height to the viewport */
    width: 100%; /* Limits the width to the viewport */
}

* {

    font-family: Arial, sans-serif;
}

.popupContainer {
    max-width: 90%; 
    max-height: 80%; 
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(247, 255, 248, 0.674);
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 10px 10px 10px;
    z-index: 1;
    visibility: hidden;
}

@media only screen and (max-width: 768px) {
    .popupContainer {
        max-width: 90%; 
        max-height: 75%;
        width: 100%; 
        overflow-y: auto; /* Enable vertical scrolling */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: rgba(247, 255, 248, 0.674);
        border-radius: 10px;
        position: fixed;
        top: 51%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0; /* Reduced padding */
        z-index: 1;
        visibility: hidden;

    }
} 

.popupContainerPOI {
    max-width: 90%; 
    max-height: 80%; 
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(247, 255, 248, 0.674);
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 10px 10px 10px;
    z-index: 1;
    visibility: hidden;
    font-size: 0.9em;
    font-family: Arial, sans-serif;
}

@media only screen and (max-width: 768px) {
    .popupContainerPOI {
        max-width: 90%; 
        max-height: 75%;
        width: 100%; 
        overflow-y: auto; /* Enable vertical scrolling */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: rgba(247, 255, 248, 0.674);
        border-radius: 10px;
        position: fixed;
        top: 51%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px; /* Reduced padding */
        z-index: 1;
        visibility: hidden;
        font-size: 0.85em;
        font-family: Arial, sans-serif;

    }
} 

.popupContainerPOEM {
    max-width: 90%; 
    max-height: 80%; 
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(247, 255, 248, 0.674);
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 10px 10px 10px;
    z-index: 1;
    visibility: visible;
    font-size: 0.9em;
    font-family: Arial, sans-serif;
}

@media only screen and (max-width: 768px) {
    .popupContainerPOEM {
        max-width: 90%; 
        max-height: 75%;
        width: 100%; 
        overflow-y: auto; /* Enable vertical scrolling */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: rgba(247, 255, 248, 0.674);
        border-radius: 10px;
        position: fixed;
        top: 51%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px; /* Reduced padding */
        z-index: 1;
        visibility: visible;
        font-size: 0.85em;
        font-family: Arial, sans-serif;

    }
} 

.popupContainerPOEM input[type="text"], 
.popupContainerPOEM select, 
.popupContainerPOEM button {
    font-size: 1em; /* Larger font size */
    padding: 10px 20px; /* Increased padding */
    width: auto; /* Adjust width as needed */
    height: auto; /* Adjust height as needed */
    border: 1px solid #ccc; /* Optional: adjust border as needed */
    border-radius: 5px; /* Optional: rounded corners for aesthetics */
}

.popupContainerPOEM button {
    background-color: #31b931; /* Example background color */
    color: white; /* Text color */
    cursor: pointer; /* Cursor indicates clickable */
}

/* Hover effects for buttons */
.popupContainerPOEM button:hover {
    background-color: #28a745; /* Darker shade on hover */
}

.contentTable{
    width: 100%;
    border-collapse: collapse;
    margin: 0px 0;
    font-size: 0.85em;
    font-family: Arial, sans-serif;
}
.contentTable thead tr {
    background-color: #31b931;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}
.contentTable th,
.contentTable td {
    padding: 3px 5px;
    text-align: left;
}
.contentTable tbody tr {
    border-bottom: 1px solid #dddddd;
}
.contentTable tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
.contentTable tbody tr:nth-of-type(odd) {
    background-color: rgb(247, 255, 248);
}
.contentTable tbody tr:last-of-type {
    border-bottom: 2px solid #31b931;
}

.input-container {
    position: absolute;
    top: 10px;
    left: 48%;
    transform: translateX(-70%);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.input-container input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    width: calc(100% - 110px);
}

.input-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #31b931;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.input-container button:hover {
    background-color: #09a098;
}

.input-container button:disabled {
    background-color: #90a3a2;
    color: #ffffff;
    cursor: not-allowed;
}

.button-left-bottom-container {
    position: absolute;
    bottom: 20px;
    left: 10px;
    display: flex;
    flex-direction: row;
}

.button-right-up-container {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    flex-direction: row; 
}

.toggle-button {
    bottom: 10px;
    left: 10px;
    padding: 10px 20px;
    margin-right: 4px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #ffffff;
    cursor: pointer;
    z-index: 1000;
}

.toggle-button:hover {
    background-color: #0056b3;
}

.live-button {
    position: relative;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #ffffff;
    cursor: pointer;
    z-index: 1000;
}

.live-button:hover {
    background-color: #0056b3;
}
.live-button:disabled { /* Stil für deaktivierte Live-Button */
    background-color: #90a3a2;
    color: #ffffff;
    cursor: not-allowed;
}

.ok-button-popup {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #31b931;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.ok-button-popup:hover {
    background-color: #09a098;
}

.ok-button-popup:disabled {
    background-color: #90a3a2;
    color: #ffffff;
    cursor: not-allowed;
}



.container_map {
    height: 100%;
    width: 100%;
}
