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

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

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

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: 600px;
    /* 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;
}

.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: 15px;
    margin-bottom: 1px;
}

.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: 550px;
}

.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 tbody tr td {
    border: none;
}

.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 40px;
}

.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: 50px;
}

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

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

.swiper-info-content {
    font-size: 10px;
    margin-bottom: 25px;
}

.form-control {
    padding: 0 10px;
    height: 26px;
    font-size: 11px;
}

@media(min-width: 320px) and (max-width: 1023px) {
    .swiper-wrapper {
        height: 60%;
    }
    .swiper-overlay {
        display: block;
        width: 100%;
        height: calc(40vh);
        top: 60%;
        padding: 2px 5px;
    }
    .swiper-overlay h2 {
        margin-top: 5px;
    }
    .swiper-immo-ort,
    .swiper-immo-address {
        text-align: center;
    }
    .swiper-immo-ort {
        margin-top: 2px;
        font-size: 20px;
        margin-bottom: 2px;
    }
    .swiper-img-right {
        width: 100%;
    }
    .swiper {
        height: calc(100vh - 75px);
    }
    .swiper-button-prev {
        left: calc(50% - 30px);
        bottom: calc(40% + 29px);
        width: 30px;
        height: 30px;
    }
    .swiper-button-next {
        right: calc(50% - 30px);
        bottom: calc(40% + 29px);
        width: 30px;
        height: 30px;
    }
    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 24px;
    }

    .immo-table {
        display: block;
        width: 100%;
    }

    .immo-table tbody {
        display: block;
        width: 100%;
    }

    .immo-table tbody tr {
        display: inline-block;
        width: 49%;
    }
    .immo-table tbody tr td {
        min-width: 33px;
        padding: 5px;
        line-height: 1.2;
    }
    .fs-immo {
        font-size: 18px;
    }
    .swiper-info-footer {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
    .swiper-info-button {
        padding: 2px 6px;
        font-size: 12px;
        letter-spacing: 1px;
    }
}

@media(min-width: 374px) {
    .swiper-info-content {
        font-size: 12px;
    }
    .swiper-button-prev {
        left: calc(50% - 40px);
        bottom: calc(40% + 29px);
        width: 40px;
        height: 40px;
    }
    .swiper-button-next {
        right: calc(50% - 40px);
        bottom: calc(40% + 29px);
        width: 40px;
        height: 40px;
    }
}

@media(min-width: 413px) {
    .immo-table tbody tr {
        margin-bottom: 10px;
    }
}

/** 
Tablett Größen
*/
@media(min-width: 600px) {
    .fs-immo {
        font-size: 30px;
    }
    .swiper-info-content {
        padding: 10px 16px;
        font-size: 14px;
    }
    .immo-table tbody tr td {
        min-width: 44px;
        padding: 5px;
        line-height: 1.4;
    }
}

/* 2. Kleine Tablets im Hochformat - wichtig für dich! */
@media (min-width: 600px) {
    .fs-immo {
        font-size: 30px;
    }
    .swiper-info-content {
        padding: 10px 16px;
        font-size: 14px;
    }
    .immo-table tbody tr td {
        min-width: 44px;
        padding: 5px;
        line-height: 1.4;
    }
}

@media(min-width: 700px) and (max-width: 767px) {
    .fs-immo {
        font-size: 40px;
    }
    .swiper-info-content {
        padding: 10px 16px;
        font-size: 18px;
    }
    .immo-table tbody tr td {
        min-width: 55px;
        padding: 15px;
        line-height: 1.4;
    }
    .swiper-info-button {
        padding: 8px 20px;
        font-size: 14px;
        bottom: 20px;
    }
}

/* 3. Standard-Tablets */
@media (min-width: 768px) {
    .fs-immo {
        font-size: 40px;
    }
    .swiper-info-content {
        padding: 10px 16px;
        font-size: 16px;
    }
    .immo-table tbody tr td {
        min-width: 60px;
        padding: 5px;
        line-height: 1.4;
    }
    .immo-table tbody tr {
        margin-bottom: 15px;
    }
    .swiper-info-button {
        padding: 8px 20px;
        font-size: 14px;
        bottom: 20px;
    }
}

/* Desktop */
@media(min-width: 1024px) {
    .swiper-wrapper {
        height: 100vh;
    }
    .swiper {
        height: calc(100vh - 74px);
    }
    .swiper-img-right {
        width: 65vw;
    }

    .swiper-overlay {
        display: block;
        width: 35vw;
        height: calc(100vh - 74px);
        bottom: 0;
        left: 0;
        padding: 8px 20px;
    }
    .swiper-overlay h2 {
        margin-top: 5px;
    }
    .swiper-immo-ort,
    .swiper-immo-address {
        text-align: left;
    }
    .swiper-immo-ort {
        margin-top: 2px;
        font-size: 16px;
        margin-bottom: 2px;
    }
    .swiper-info-head p {
        font-size: 13px;
    }
    .swiper-info-footer {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .swiper-button-prev {
        left: calc(50% - 44px);
        bottom: -1px;
        width: 44px;
        height: 44px;
    }
    .swiper-button-next {
        right: calc(50% - 44px);
        bottom: -1px;
        width: 44px;
        height: 44px;
    }
    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 26px;
    }

    .immo-table tbody tr {
        margin-bottom: 0;
    }
    .immo-table tbody tr td {
        padding: 10px 0;
    }
    .swiper-info-head {
        margin-bottom: 30px;
    }

    .fs-immo {
        font-size: 30px;
    }
    
    #filter {
        margin-bottom: 10px;
        font-size: 12px;
    }
    .bordered, #filter {
        border: none;
        padding: 1px 10px;
        background-color: #e6e6e6;
    }
    #filter h4 {
        margin-top: 6px;
        margin-bottom: 4px;
        font-size: 14px;
    }
    #immo_filter {
        margin-top: 20px !important;
    }
    #map {
        height: 420px;
    }
    #haeuser {
        padding: 10px 25px;
        padding-bottom: 0;
    }
    .last-haus {
        margin-bottom: 10px;
    }

    .immo-form {
        height: 34px !important;
    }
}

@media(min-width: 1150px) {
    #map {
        height: 370px;
    }
}

@media(min-width: 1280px) {
    .swiper-overlay h2 {
        margin-top: 5px;
    }
    .swiper-immo-ort,
    .swiper-immo-address {
        text-align: left;
    }
    .swiper-immo-ort {
        margin-top: 2px;
        font-size: 22px;
        margin-bottom: 2px;
    }
    .swiper-info-head p {
        font-size: 18px;
    }

    .immo-table tbody tr td {
        padding: 12px 0;
    }
    .swiper-info-head {
        margin-bottom: 15px;
    }
    .swiper-info-content {
        padding: 20px 20px;
        font-size: 18px;
    }

    .fs-immo {
        font-size: 36px;
    }
    #map {
        height: 450px;
    }
}

@media(min-width: 1400px) {
    .swiper {
        height: calc(100vh - 115px);
    }

    .swiper-overlay {
        height: calc(100vh - 120px);
    }

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

    .swiper-info-content {
        font-size: 20px;
    }
    .fs-immo {
        font-size: 42px;
    }

    .swiper-button-prev {
        left: calc(50% - 52px);
        bottom: -1px;
        width: 52px;
        height: 52px;
    }
    .swiper-button-next {
        right: calc(50% - 52px);
        bottom: -1px;
        width: 52px;
        height: 52px;
    }
    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 40px;
    }

    #filter {
        margin-bottom: 10px;
        font-size: 14px;
    }
    .bordered, #filter {
        border: none;
        padding: 1px 10px;
        background-color: #e6e6e6;
    }
    #filter h4 {
        margin-top: 8px;
        margin-bottom: 6px;
        font-size: 14px;
    }
    #immo_filter {
        margin-top: 20px !important;
    }
    #map {
        height: 500px;
    }

    .immo-form {
        height: 34px !important;
    }
}

@media(min-width: 1650px) {
    .swiper-info-head {
        margin-bottom: 35px;
    }
    .swiper-info-content {
        font-size: 22px;
    }
    .fs-immo {
        font-size: 46px;
    }

    .swiper-immo-ort {
        margin-top: 2px;
        font-size: 28px;
        margin-bottom: 2px;
    }
    .swiper-info-head p {
        margin-top: 2px;
        font-size: 22px;
    }

    .immo-table tbody tr td {
        padding: 16px 0;
    }

    .swiper-info-button {
        font-size: 20px;
    }

    .form-control {
        font-size: 14px;
        padding: 6px 12px;
        height: 40px;
        border: 1px solid #ddd;
        border-radius: 0;
        box-shadow: none;
        line-height: 22px;
        letter-spacing: 0.5px;
        -webkit-transition: border-color 0.5s;
        transition: border-color 0.5s;
    }

    #map {
        height: 630px;
    }
}