@charset "utf-8";

@import url('fonts.css');

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}
p {
    margin-bottom: 1rem;
    line-height: 1.5;
}
h1, .h2, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 600;
    line-height: 1.5;
}
h1, .h1 {
    font-size: 2rem;
}
h2, .h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
h3, .h3 {
    font-size: 1.117rem;
}
h4, .h4 {
    font-size: 1rem;
}
h5, .h5 {
    font-size: 0.83rem;
}
h6, .h6 {
    font-size: 0.75rem;
}
a {
    text-decoration: none;
    color: #0066cc;
}
a:hover {
    text-decoration: none;
    color: #022986;
}
b, strong {
    font-weight: bolder;
}
td {
    line-height: 1.5;
}
ul {
    padding-left: 40px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style-type: disc;
}
li {
    line-height: 1.5;
}
table, tbody, tr, th, td {
    position: static;
}

#get {
    background: url('https://http-get.de/get.gif') no-repeat;
}

/* general classes */
.container {
    max-width: 1470px;
    padding: 0 15px;
    margin: 0 auto;
}
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
.mb-4 {
    margin-bottom: 2rem !important;
}
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.row.no-gutter {
    margin: 0;
}
.col, .col-auto, .col-4, .col-12, .col-md-2, .col-md-3, .col-md-5, .col-md-6, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-7 {
    padding: 0 15px;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.col-auto {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    max-width: 100%;
}

.col-4 {
    -ms-flex: 0 0 33.3333333%;
    flex: 0 0 33.3333333%;
    max-width: 33.3333333%;
}

.order-1{
    order: 1 !important;
}
.order-2 {
    order: 2 !important;
}

.text-right {
    text-align: right !important;
}

.custom-btn {
    display: inline-block;
    background-color: #0066cc;
    border: 2px solid #fff;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, .75);
    padding: 5px;
    color: #fff !important;
    font-size: 1rem;
    transition: all .4s;
}
.custom-btn:hover {
    cursor: pointer;
    box-shadow: none;
    background-color: #fff;
    color: #0066cc !important;
    border-color: #0066cc;
}
.custom-btn img {
    height: 16px;
    width: 16px;
    position:relative;
    top: 2px;
}
.custom-btn .img-no-hover {
    transition: all .4s;
    opacity: 1;
}
.custom-btn .img-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    opacity: 0;
    transition: all .4s;
}
.custom-btn:hover  .img-no-hover{
    opacity: 0;
}
.custom-btn:hover  .img-hover{
    opacity: 1;
}

.has-border {
    padding: .5rem 15px;
    border: 1px solid #858585;
}

.myContainer {
    padding: 150px 15px;
    margin: 0 auto;
    line-height: 1.25;
}

.mb-0 {
    margin-bottom: 0 !important;   
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-30px {
    margin-top: 30px !important;
}

.no-shadow {
    box-shadow: none !important;
}

#totop {
    position: fixed;
    right: 0;
    bottom: 0;
    border: 2px solid #fff;
    width: 34px;
    height: 34px;
    background-color: #0066cc;
    color: #fff;
    transition: all .4s;
}
#totop i {
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.previous-object, .next-object {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 50;
    color: #0066cc;
    opacity: 0.7;
    transition: all .4s;
    font-size: 1.5rem;
    visibility: hidden;
}
.previous-object {
    left: 0;
}
.next-object {
    right: 0;
}
.previous-object:hover, .next-object:hover {
    cursor: pointer;
    opacity: 1;
}
.previous-object > span, .next-object > span {
    padding: 10px;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.title {
    font-weight: bold;
}

.text-indent-none {
    display: inline-block;
    text-indent: -9999px;
}

/* tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext, .tooltip .tooltiptext2 {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltip .tooltiptext2 {
    top: calc(100% + 10px);
    bottom: auto;
}
.tooltip .tooltiptext::after, .tooltip .tooltiptext2::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.tooltip .tooltiptext2::after {
    top: auto;
    border-color: transparent transparent #555 transparent;
    bottom: 100%;
}
  
.tooltip:hover .tooltiptext, .tooltip:hover .tooltiptext2 {
    visibility: visible;
    opacity: 1;
}

/* colors */
.white {
    color: #fff !important;
}

/* Top Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0066cc;
    z-index: 1000;
}
.contact-information {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
label.top-header-btn:hover {
    cursor:pointer;
}

.contact-information > .top-header-btn {
    padding: 10px 25px;
    color: #fff;
}
.contact-information > .top-header-btn:first-child {
    border-left: 2px solid #fff;
}
.contact-information > .top-header-btn:not(:last-child) {
    border-right: 2px solid #fff;
}
.logo-container {
    position: absolute;
    top: 0;
    left: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .75);
    transition: all 1s;
    width: 75px;
}
.logo-container.scrolled {
    top: -25px;
}
.logo-container img {
    vertical-align: top;
}

/* Content */
.head-images {
    padding-top: 90px;
}
.head-images h1, .head-images h2 {
    color: #022986;
    font-weight: 300;
    z-index: 11;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, .5);
    max-width: 1470px;
    padding: 0 15px;
    margin: 0 auto;
    text-align: center;
}
.head-images h1 {
    text-transform: uppercase;
    margin-bottom: 10px;
}
.head-images h2 {
    margin-bottom: 39px;
    font-size: 1.25rem;
}
.immobilien {
    max-width: 1470px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 15px;
    padding-bottom: 15px;
}
.immobilien > div {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
    height: calc(100vw - 30px);
    max-height: 350px;
}
.immobilien > div img {
    position: absolute;
    max-width: none;
}
.immobilien .img-container {
    height: 100%;
    overflow: hidden;
}
.immobilien > div img.portrait {
    height: auto;
    width: 100%;
    top: 50%;
    left: 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.immobilien > div img.landscape {
    height: 100%;
    width: auto;
    top: 0;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.overlay-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: 0;
    background-color: rgba(0, 102, 203, .75);
    overflow: hidden;
    transition: all .5s;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
}
.overlay-text span {
    display: block;
    text-align: center;
    color: #fff;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}
.immobilien > div:hover .overlay-text{
    height: calc(100% - 30px);
}

/* Details Section */
#details-section {
    background-color: #f1f1f1;
}
.details-container {
    max-width: 1540px;
    margin: 0 auto;
}
.details-content {  
    overflow: hidden;
    line-height: 1.25;
    height: auto;
    max-height: 0px;
    color: #858585;
    padding:0 50px;
}
.details-content > div {
    padding: 65px 0;
}
.detail-img-container {
    overflow: hidden;
    height: calc(100vw / 983 * 509);
    max-height: 509px;
    margin: 15px auto 0;
    max-width: 983px;
}
.detail-img-container a {
    display: block;
    height: 100%;
}
.detail-img {
    position: absolute;
    height: auto;
    width: 100%;
    top: 50%;
    left: 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: none;
}
.details-content h2 {
    color: #022986;
    font-weight: 400;
    font-size:1.4rem;
    text-transform: uppercase;
}

#radio-dorstener-strasse:checked ~ #details-dorstener-straße {
    max-height:2000px
}
#radio-muensterstrasse:checked ~ #details-muensterstraße {
    max-height:2000px
}
#radio-urbanusstrasse:checked ~ #details-urbanusstraße {
    max-height:2000px
}
#radio-horster-strasse:checked ~ #details-horster-straße {
    max-height:2000px
}
#radio-hagenstrasse:checked ~ #details-hagenstraße {
    max-height:2000px
}
#radio-de-la-chevallerie-strasse:checked ~ #details-de-la-chevallerie-straße {
    max-height:2000px
}
#radio-margarethe-zingler-platz:checked ~ #details-margarethe-zingler-platz {
    max-height:2000px
}
#radio-haunerfeld:checked ~ #details-haunerfeld {
    max-height:2000px
}

#radio-dorstener-strasse:checked ~ #details-dorstener-straße .previous-object, #radio-dorstener-strasse:checked ~ #details-dorstener-straße .next-object {
    visibility: visible;
}
#radio-muensterstrasse:checked ~ #details-muensterstraße .previous-object, #radio-muensterstrasse:checked ~ #details-muensterstraße .next-object {
    visibility: visible;
}
#radio-urbanusstrasse:checked ~ #details-urbanusstraße .previous-object, #radio-urbanusstrasse:checked ~ #details-urbanusstraße .next-object {
    visibility: visible;
}
#radio-horster-strasse:checked ~ #details-horster-straße .previous-object, #radio-horster-strasse:checked ~ #details-horster-straße .next-object {
    visibility: visible;
}
#radio-hagenstrasse:checked ~ #details-hagenstraße .previous-object, #radio-hagenstrasse:checked ~ #details-hagenstraße .next-object {
    visibility: visible;
}
#radio-de-la-chevallerie-strasse:checked ~ #details-de-la-chevallerie-straße .previous-object, #radio-de-la-chevallerie-strasse:checked ~ #details-de-la-chevallerie-straße .next-object {
    visibility: visible;
}
#radio-margarethe-zingler-platz:checked ~ #details-margarethe-zingler-platz .previous-object, #radio-margarethe-zingler-platz:checked ~ #details-margarethe-zingler-platz .next-object {
    visibility: visible;
}
#radio-haunerfeld:checked ~ #details-haunerfeld .previous-object, #radio-haunerfeld:checked ~ #details-haunerfeld .next-object {
    visibility: visible;
}

/* Contact us */
.contact-us {
    padding: 50px 0;
    background-color: #3e3e3e;
    color: #a1a1a1;
    line-height: 1.25;
}

/* Footer */
.footer-main {
    padding: 50px 0;
    background-color: #313131;
    color: #a1a1a1;
    line-height: 1.25;
}
.footer-main a {
    color: #a1a1a1;
}

/* Mandatory Buttons */
#mandatory {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Impressum */
.impressum-content, .powered-by {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}
#contactDataImpressum p, #contactDataImpressum table {
    font-size: inherit;
}



/* phone modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .75);
    z-index: 1500;
}
.modal-dialog {
    width: 90%;
    max-width: 500px;
    margin: 20px auto 0;
}
.modal-content {
    background-color: #0066cc;
    padding: 15px;
    color: #fff;
    border: 1px solid #fff;
}
.modal-header {
    padding: 0 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    display: -ms-flexbox;
    display: flex;
}
.modal-title {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 1.5rem;
}
.close {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    border: none;
    background: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0;
    margin: 0;
    line-height: 1;
}
.close:hover {
    opacity: .7;
    cursor: pointer;
}
.modal-body {
    padding-top: 15px;
}
#modal-phone, #modal-phone2 {
    font-size: 1.5rem;
    line-height: 1.25;
}
#modal-phone .modal-dialog, #modal-phone2 .modal-dialog {
    max-width: 350px;
}
#modal-phone .modal-body table, #modal-phone2 .modal-body table {
    margin: 0 auto;
}
#phoneModal:checked ~ #modal-phone {
    display: block;
}
#phoneModal2:checked ~ #modal-phone2 {
    display: block;
}

@media screen and (max-width: 460px) {
    .footer-main {
        padding-bottom: 75px;
    }
}

@media screen and (min-width: 400px) {
    .d-xs-table-cell {
        display: table-cell !important;
    }
}

@media screen and (min-width: 480px) {
    .immobilien > div {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        height: 50vw;
    }
}

@media screen and (min-width: 576px) {
    .myContainer {
        max-width: 530px;
    }
}

@media screen and (min-width: 768px) {
    .myContainer {
        max-width: 730px;
    }
    .mb-md-0 {
        margin-bottom: 0 !important;
    }
    .col-md-2 {
        -ms-flex: 0 0 16.6666667%;
        flex: 0 0 16.6666667%;
        max-width: 16.6666667%;
    }
    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-md-5 {
        -ms-flex: 0 0 41.6666667%;
        flex: 0 0 41.6666667%;
        max-width: 41.6666667%;
    }
    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .logo-container {
        width: auto;
        max-width: 150px;
    }

    .logo-container.scrolled {
        top: -50px;
    }

    .logo-container img {
        width: 150px;
        max-width: none;
    }

    .head-images h1, .head-images h2 {
        display: block;
        font-weight: 500;
        width: 60%;
    }
    .title {
        font-size: 2.5vw;
    }
    .street {
        font-size: 2.5vw;
    }
    .plus {
        font-size: 2.5vw;
    }
}

@media screen and (min-width: 1024px) {
    .immobilien > div {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
        height: 25vw;
        max-height: 275px;
    }
    .detail-img-container {
        width: 100%;
        max-width: 983px;
        height: 509px;
        max-height: none;
    }

    /* Impressum */
    .impressum-content {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }
}

@media screen and (min-width: 1200px) {
    .myContainer {
        max-width: 1140px;
    }
    .d-xl-none {
        display: none !important;
    }
    .d-xl-inline-block {
        display: inline-block !important;
    }
    .d-xl-block {
        display: block !important;
    }
    .mb-xl-0 {
        margin-bottom: 0 !important;
    }
    .col-xl-3 {
        -ms-flex: 25%;
        flex: 25%;
        max-width: 25%;
    }
    .col-xl-4 {
        -ms-flex: 33.3333333%;
        flex: 33.3333333%;
        max-width: 33.3333333%;
    }
    .col-xl-5 {
        -ms-flex: 41.6666667%;
        flex: 41.66666673%;
        max-width: 41.6666667%;
    }
    .col-xl-7 {
        -ms-flex: 58.3333333%;
        flex: 58.3333333%;
        max-width: 58.3333333%;
    }

    .order-xl-1 {
        order: 1 !important;
    }
    .order-xl-2 {
        order: 2 !important;
    }

    .border-xl-right {
        border-right: 2px solid #fff;
    }
    .border-gray {
        border-color: #a1a1a1 !important;
    }

    .logo-container {
        left: 46px;
    }

    .contact-information > .top-header-btn:not(:last-child) {
        border-right: none;
    }

    .head-images h1, .head-images h2 {
        white-space: nowrap;
        width: auto;
    }
    .head-images h1 {
        font-size: 3.5vw;
    }
    .head-images h2 {
        font-size: 1.75vw;
    }

    .title {
        font-size: 1.25vw;
    }
    .street {
        font-size: 1.25vw;
    }
    .plus {
        font-size: 1.25vw;
    }

    .detail-img-container {
        height: 400px;
    }

    /* Impressum */
    .impressum-content {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .powered-by{
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }

}
@media screen and (min-width: 1600px) {
    .myContainer {
        max-width: 1470px;
    }

    /* Impressum */
    .impressum-content {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
    .powered-by{
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}