.unique {
    color: #c8af22ff;
    font-weight: 700;
}

#immo_filter {
    margin-top: 45px !important;
}

.yellow-input {
    border: 1px solid #f3d83a;
}

.table tbody tr td {
    padding: 10px 15px;
}

h5 small {
    font-weight: 600;
}

#haeuser a,
#haeuser a:visited {
    color: #424242 !important;
}

.btn:visited,
.btn {
    background-color: #f3d83a;
    color: black;
}

.btn:visited:hover,
.btn:hover {
    color: #f3d83a;
    background-color: black;
}

#map {
    height: 800px;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
}

.marker-info {
    width: 360px;
}

.marker-list {
    list-style: none;
    padding: 0;
}

.btn-sm {
    padding: 1px 5px;
}

#page-top {
    padding-top: 115px;
}

.swiper {
    width: 100vw;
    max-width: 100%;
    height: 580px;
    border-bottom: 1px solid gray;
}

.swiper-info-left {
    padding: 25px;
    padding-left: 50px;
    padding-right: 50px;
    float: left;
    min-width: 30%;
    width: 30%;
    height: 100%;
    background-color: #424242 !important;
    color: white;
}

.swiper-info-left h2 {
    color: #f3d83a;
}

.swiper-info-content .table tr {
    background-color: #424242 !important;
    color: white;
}

.swiper-img-right {
    float: right;
    width: 70%;
    height: 100%;
}


.swiper-img-right .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.swiper-info-head p {
    font-size: 16px;
}

.swiper-img-right .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.bordered,
#filter {
    border: none;
    padding: 15px 10px;
    background-color: #e6e6e6;
}

#display_pachthoehe::before {
    content: "< ";
}

#display_pachthoehe::after {
    content: " €";
}

input[type="range"] {
    accent-color: gray;
}

#map {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.haus-image-box {
    position: relative;
    aspect-ratio: 1;
    align-items: center;
}

.haus-image-box img {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#haeuser {
    padding: 15px 25px;
    border: 1px solid #e6e6e6;
    width: 100%;
    overflow-y: scroll;
    scrollbar-color: #e6e6e6 #ffffff;
    background-color: #e6e6e6;
}

/* table.table td:first {
    text-align: center;
} */

.table tbody tr td {
    border: none;
}

.table tbody tr td:first-child {
    text-align: center;
}

.us-img {
    width: 100%;
    aspect-ratio: 1;
}

.swiper-slide {
    background-color: #424242;
}

.immo-border {
    border: none;
    background-color: #FFF;
}

.swiper-overlay {
    position: absolute;
    background-color: #424242;
    min-width: 30%;
    width: 30%;
    height: 100px;
    z-index: 5;
    color: white;
    padding: 25px 50px;
}

.swiper-overlay h2 {
    color: #f3d83a;
}

#wirtschaft_pachthoehe::after {
    content: " €";
}

#minbezug_bier::after {
    content: " HL Bier";
}

#minbezug_alkfrei::after {
    content: " HL Alkoholfrei";
}

#map {
    border: 1px solid #e6e6e6;
}

.fs-immo {
    font-size: 40px;
}

.swiper-info-content {
    font-size: 14px;
}

.swiper-info-head {
    margin-bottom: 35px;
}

.swiper-info-content {
    font-size: 18px;
    margin-bottom: 35px;
}

@media (max-width: 1399px) {
    #page-top {
        padding-top: 80px;
    }
}

@media screen and (max-width: 1299px) {
    .swiper-info-left {
        transform: scale(0.9);
    }

    .swiper {
        width: 100vw;
        max-width: 100%;
        height: 500px;
    }

    #page-top {
        padding-top: 75px;
    }

    .swiper-info-left {
        margin-top: -25px;
        padding: 0px 25px;
    }

    .fs-immo {
        font-size: 36px;
    }

    .swiper-info-head {
        margin-bottom: 20px;
    }

    .swiper-info-content {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .swiper-info-footer .btn:visited, .swiper-info-footer .btn {
        letter-spacing: 1px;
        padding: 8px 30px;
    }

    .table tbody tr td {
        padding: 10px 10px;
    }
}

@media screen and (max-width: 1099px) {
    .swiper-info-left {
        transform: scale(0.5);
        font-size: 22px;
    }

    .swiper {
        width: 100vw;
        max-width: 100%;
        height: 380px;
    }

    #page-top {
        padding-top: 75px;
    }

    .swiper-info-left {
        margin-top: -85px;
        padding: 0px 0px;
        margin-left: -35px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev {
        left: 50%;
        transform: translateX(-20px);
    }

    .swiper-button-next {
        left: 50%;
        transform: translateX(20px);
    }

    .fs-immo {
        font-size: 30px;
    }

    .swiper-info-content {
        font-size: 12px;
    }

    .swiper-info-footer .btn:visited, .swiper-info-footer .btn {
        letter-spacing: 1px;
        padding: 5px 16px;
    }

    .table tbody tr td {
        padding: 5px 10px;
    }

    .swiper-overlay {
        padding-top: 10px;
    }

    .swiper-overlay h2 {
        margin-top: 8px;
        margin-bottom: 3px;
    }

    .swiper-button-prev:after {
        font-size: 22px;
    }
    .swiper-button-next:after {
        font-size: 22px;
    }
}


@media(min-width: 768px) and (max-width: 991px) {
    .haus-image-box {
        aspect-ratio: auto;
        height: 120px;
    }

    .swiper-overlay {
        padding: 10px 25px;
        width: 35%;
    }

    .swiper-info-footer .btn:visited, .swiper-info-footer .btn {
        padding: 5px 12px;
    }
}

@media(min-width: 580px) and (max-width: 767px) {
    .haus-image-box {
        aspect-ratio: auto;
        height: 400px;
    }

    .haus-image-box {
        max-height: 400px;
    }
}


@media screen and (max-width: 767px) {
    .swiper {
        width: 100vw;
        max-width: 100%;
        height: 350px;
    }

    .swiper-info-left {
        transform: scale(0.5);
        font-size: 26px;
        margin-left: -45px;
        width: 36%;
    }

    .swiper-overlay {
        padding: 8px 10px;
        width: 36%;
    }

    .swiper-info-head,
    .swiper-info-content {
        margin-bottom: 10px;
    }

    .table tbody tr td {
        padding: 5px 7px;
    }

    .swiper-img-right {
        width: 65%;
    }

    .swiper-info-footer .btn:visited, .swiper-info-footer .btn {
        letter-spacing: 0;
        padding: 3px 8px;
    }

    .fs-immo {
        font-size: 26px;
    }
}

@media screen and (max-width: 580px) {
    .swiper {
        height: 250px;
    }

    .swiper-info-left {
        transform: scale(0.35);
        padding-top: 35px;
        width: 40%;
    }

    .swiper-overlay {
        padding: 8px 5px;
        width: 40%;
    }

    .swiper-img-right {
        width: 60%;
    }

    .swiper-info-head {
        margin-bottom: 7px;
    }

    .table tbody tr td {
        padding: 4px 4px;
        line-height: 12px;
    }

    .swiper-info-content {
        font-size: 11px;
    }

    .swiper-info-content .table {
        margin-bottom: 0;
    }

    h2.swiper-immo-ort {
        font-size: 16px;
    }

    .swiper-info-head p {
        font-size: 12px;
        line-height: 13px;
        margin-bottom: 3px;
    }

    .fs-immo {
        font-size: 18px;
    }

    .swiper-overlay h2 {
        margin-top: 0;
    }

    .swiper-info-footer .btn:visited, .swiper-info-footer .btn {
        font-size: 11px;
        line-height: 12px;
        padding: 2px 4px;
        text-transform: capitalize;
    }

    h2.swiper-immo-ort {
        letter-spacing: 2px;
        font-size: 14px;
    }
}