.tx-cn-hofber-flowfact,
.tx-cn-hofber-flowfact .estates-filter,
.tx-cn-hofber-flowfact .container-estates,
.tx-cn-hofber-flowfact .container-estates .estate,
.tx-cn-hofber-flowfact .container-estates .estate > a,
.tx-cn-hofber-flowfact .container-estates .estate > a > div,
.tx-cn-hofber-flowfact .container-estates .estate .estate-image *:not(source) {
    float: left;
    clear: both;
    width: 100%;
    margin: 0 0 0 0;
}

.tx-cn-hofber-flowfact .container-estates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: calc(100% - 50px);
    padding-left: 50px;
    /* width: 100%; */
}

.tx-cn-hofber-flowfact .container-estates .estate:nth-child(6n + 4),
.tx-cn-hofber-flowfact .container-estates .estate:nth-child(6n + 5),
.tx-cn-hofber-flowfact .container-estates .estate:nth-child(6n + 6) {
    position: relative;
    right: 50px;
}

.tx-cn-hofber-flowfact .container-estates .estate {
    width: 100%;
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.tx-cn-hofber-flowfact .container-estates .estate:hover {
    transform: scale(1.02);
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image {
    position: relative;
    width: calc(100% - 2px);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    border-bottom: 2px solid var(--weiss);
    border-right: 2px solid var(--weiss);
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image img {
    transition: 0.3s;
}

.tx-cn-hofber-flowfact .container-estates .estate:hover .estate-image img {
    transform: scale(1.05);
    transition: 5s;
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image .estate-info {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    position: absolute;
    left: 0;
    width: calc(100% - 40px);
    bottom: 0;
    padding: 15px 20px 15px 20px;
}

#inhaltsbereich .tx-cn-hofber-flowfact .container-estates .estate .estate-info > * {
    color: var(--weiss);
}

#inhaltsbereich .tx-cn-hofber-flowfact .container-estates .estate .estate-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.tx-cn-hofber-flowfact .container-estates .estate .rentblock {
    padding: 20px;
    width: calc(100% - 40px);
    position: relative;
    transition: 0.3s;
    color: var(--font);
    font-weight: bold;
}

.tx-cn-hofber-flowfact .container-estates .estate:hover .rentblock {
    color: var(--weiss);
}

.tx-cn-hofber-flowfact .container-estates .estate .rentblock::before,
.tx-cn-hofber-flowfact .container-estates .estate .rentblock::after {
    content: '';
    border-bottom-right-radius: 20px;
    position: absolute;
    top: calc(0% - 25px);
    left: 0;
    right: 2px;
    bottom: 0;
    z-index: -1;
    background: var(--grey);
    transition: 0.3s;
}

.tx-cn-hofber-flowfact .container-estates .estate .rentblock::after {
    bottom: calc(100% + 25px);
    background: var(--linkfarbe);
}

.tx-cn-hofber-flowfact .container-estates .estate:hover .rentblock::after {
    bottom: 0;
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image .estate-info > div,
.tx-cn-hofber-flowfact .container-estates .estate .rentblock > div {
    padding-left: 22px;
    position: relative;
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image .estate-info > div::before,
.tx-cn-hofber-flowfact .container-estates .estate .rentblock > div::before {
    content: '';
    height: 23px;
    width: 15px;
    position: absolute;
    top: 0;
    left: 0;
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image .estate-info > div.zip-city::before {
    background: url(/fileadmin/cn_website/images/location.svg) left center no-repeat;
    background-size: contain;
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image .estate-info > div.livingarea::before {
    background: url(/fileadmin/cn_website/images/network.svg) left center no-repeat;
    background-size: contain;
}

.tx-cn-hofber-flowfact .container-estates .estate .estate-image .estate-info > div.rooms::before {
    background: url(/fileadmin/cn_website/images/door.svg) left center no-repeat;   
    background-size: contain;
}

.tx-cn-hofber-flowfact .container-estates .estate .rentblock > div.cost::before {
    background: url(/fileadmin/cn_website/images/coin.svg) left center no-repeat;   
    background-size: contain;
}

.tx-cn-hofber-flowfact .container-estates .estate:hover .rentblock > div.cost::before {
    background: url(/fileadmin/cn_website/images/coin-hover.svg) left center no-repeat;   
    background-size: contain;
}

.tx-cn-hofber-flowfact .estates-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--grey);
}

.tx-cn-hofber-flowfact .estates-filter *,
.tx-cn-hofber-flowfact .estates-filter *::before,
.tx-cn-hofber-flowfact .estates-filter *::after {
  box-sizing: border-box;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(1),
.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(3) {
    position: relative;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(1)::before,
.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(3)::before,
.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(1)::after,
.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(3)::after {
    content: '';
    background: rgba(0,0,0,0.1);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    aspect-ratio: 1;
    border-bottom-right-radius: 10px;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(1)::after,
.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(3)::after {
    background: none;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 7px 0 7px;
    border-color: var(--weiss) transparent transparent transparent;
    top: 16px;
    right: 14px;
    z-index: 1;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(1) select,
.tx-cn-hofber-flowfact .estates-filter .filter-field:nth-child(3) select {
    position: relative;
    z-index: 1;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field > *:not(#filterSubmit) {
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    min-width: 250px;
    background: rgba(0,0,0,0.1);
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    cursor: pointer;
    padding: 10px 15px;
}

.tx-cn-hofber-flowfact .estates-filter select {
    padding: 10px 50px 10px 15px;
    &::-ms-expand {
      display: none;
    }
    &:focus {
      outline: none;
    }
    option {
      color: inherit;
      background-color: var(--option-bg);
    }
}

/*~ Detail ~*/
/* #inhaltsbereich .frame-immobilien.frame-type-list.frame-layout-3 {
    margin-top: -30px;
} */

#inhaltsbereich .frame-immobilien.frame-type-list.frame-layout-3 > .rahmen {
    width: 100%;
    margin: 0 0 0 0;
    float: left;
    clear: both;
    max-width: unset;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-stage-outer {
    padding-bottom: 10px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-stage {
    height: 100%;
    overflow: visible;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-item {
    height: 100%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    /* display: flex;
    align-items: center;
    align-content: center;
    text-align: center;
    justify-content: center; */
    background: var(--weiss);
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail {
    float: none;
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
    /* margin-top: 100px; */
    text-align: right;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info {
    float: left;
    clear: both;
    width: 100%;
    text-align: left;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > div:not(:first-of-type),
.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > table {
    float: left;
    clear: both;
    width: 100%;
    margin-top: 30px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > table {
    max-width: 600px;
    border-collapse: collapse;
    margin-top: 50px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > table td {
    padding: 5px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > table td:last-child {
    text-align: right;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > table tr {
    background: rgba(0,0,0,0.1);
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .container-estate-detail .estate-detail-info > table tr:nth-child(even) {
    background: rgba(0,0,0,0.05);
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .detail-heading {
    font-weight: bold;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1000px;
    cursor: pointer;
}

/* .tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit,
.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit::before,
.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit::after {
    border-radius: 0 !important;
    border-top-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
} */

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .link-back,
.tx-cn-hofber-flowfact .estates-filter .filter-field #filterSubmit {
    padding: 15px 50px;
    color: var(--weiss);
    text-transform: uppercase;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    border-radius: 1000px;
    overflow: hidden;
    line-height: normal;
    display: inline-block;
    clear: both;
}

.tx-cn-hofber-flowfact .estates-filter .filter-field #filterSubmit {
    margin: 0 0 0 0;
    background: none;
    border: none;
    outline: none;
    appearance: none;
    cursor: pointer;
    /* margin-top: 30px; */
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .link-back::before,
.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .link-back::after,
.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit::before,
.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--akzentfarbe);
    border-radius: 1000px;
    z-index: -1;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .link-back::after,
.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit::after {
    background: var(--linkfarbe);
    right: 100%;
    transition: right 0.3s;
}

.frame-immobilien.frame-type-list.frame-layout-3 .tx-cn-hofber-flowfact .link-back:hover::after,
.tx-cn-hofber-flowfact .estates-filter .filter-field.field-submit:hover::after {
    right: 0;
    opacity: 1;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav.disabled {
    display: block;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav button {
    position: absolute;
    top: calc(100% - 20px);
    left: 40px;
    z-index: 1;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav button span {
    height: 20px;
    width: 40px;
    background: var(--akzentfarbe);
    border-bottom-right-radius: 100px;
    text-indent: -9999px;
    display: block;
    color: transparent;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav button:nth-child(2) {
    left: auto;
    right: 40px;
    top: -10px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav button:nth-child(2) span {
    border-bottom-right-radius: 0;
    border-top-left-radius: 100px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav button span::before {
    content: '';
    z-index: -1;
    position: absolute;
    right: 100%;
    top: calc(50% - 20px);
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 20px 20px 20px 0;
    border-color: transparent var(--akzentfarbe) transparent transparent;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-nav button:nth-child(2) span:before {
    right: auto;
    left: 100%;
    top: calc(50% - 20px);
    transform: rotate(180deg);
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-dots {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    /* display: flex; */
    display: none;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-dots button {
    width: 10px;
    height: 10px;
    background: var(--grey);
    border: 2px solid rgba(0,0,0,0.3);
    margin: 0 5px;
    border-radius: 50%;
}

.frame-immobilien.frame-type-list.frame-layout-3 .owl-carousel .owl-dots button.active {
    background: var(--linkfarbe);
    border: none;
}

.frame-immobilien.frame-type-list.frame-layout-3 .estate-detail-images{
    float: left;
    clear: both;
    width: 100%;
    margin-top: 50px;
}

.frame-immobilien.frame-type-list.frame-layout-3 .backlink{
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 50px;
}