/* *** GENERAL *** */
/*******************/
* {
    font-family: 'Poppins', sans-serif;
}

html,
body {
    height: 100%;
}

html {
    font-size: 14px;
}

body {
    color: #30373F;
}

h2 {
    font-size: 1.715rem;
    color: #959595;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

.pad-left {
    padding-left: 10%;
}

.pad-right {
    padding-right: 10%;
}

.pad-top {
    padding-top: 60px;
}

.pad-bottom {
    padding-bottom: 60px;
}

.dark-bg {
    background-color: #30373F;
}

.dark-bg p,
.dark-bg h3,
.dark-bg h4,
.dark-bg label {
    color: #FFFFFF;
}

@media (max-width:1365px) {
    .pad-left {
        padding-left: 5%;
    }
    
    .pad-right {
        padding-right: 5%;
    }
}

@media (max-width:1199px) {
    .pad-left {
        padding-left: 30px;
    }
    
    .pad-right {
        padding-right: 30px;
    }
}

@media (max-width:991px) {
    h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

@media (max-width:767px) {
    .pad-left {
        padding-left: 15px;
    }
    
    .pad-right {
        padding-right: 15px;
    }
}

@media (max-width:575px) {
    h3 {
        font-size: 1.125rem;
    }

    .pad-top {
        padding-top: 30px;
    }
    
    .pad-bottom {
        padding-bottom: 30px;
    }
}

/* *** HERO + NAV *** */
/**********************/

/* Hero */
#start {
    padding-right: 15px;
    overflow-x: hidden;
}

#start .slider-container,
#start .slider-container div:not(.title) {
    height: 100%;
}

#start .slider-container{
    position: relative;
}

#start .slide {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.title {
    position: absolute;
    top: 50px;
    z-index: 1;
    width: 100%;
    pointer-events: none;
}

.title h1 {
    font-size: 1.0675rem;;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

/* End Hero */

/* Hamburger Button */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger-container {
    z-index: 2;
    right: 15px;
}

.hamburger {
    padding: 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    background-color: transparent;
    font: inherit;
    color: inherit;
    text-transform: none;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #30373F;
}
  
.hamburger-box {
    width: 30px;
    height: 17px;
    display: inline-block;
    position: relative; }
  
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 0;
    position: absolute;
    transition-property: all;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -9px;
}

.hamburger-inner::after {
    bottom: -9px;
}

.hamburger--arrow-r.is-active .hamburger-inner::before {
    transform: translate3d(8px, 0, 0) rotate(45deg) scale(0.7, 1);
    top: -7px;
}
  
  .hamburger--arrow-r.is-active .hamburger-inner::after {
    transform: translate3d(8px, 0, 0) rotate(-45deg) scale(0.7, 1);
    bottom: -7px;
}

/* End Hamburger Button */

/* NAV */
#nav {
    background-color: #FFFFFF;
    transition: all .15s linear;
}

#nav .nav-menu {
    list-style-type: none;
    margin: 0;
    padding-top: 50px;
    transition: all .35s ease-out;
}

#nav .nav-menu li {
    padding-top: 8px;
    padding-bottom: 8px;
}

#nav .nav-menu li a {
    display: inline-block;
    padding-top: 4px;
    padding-bottom: 4px;
    color: #30373F;
}

#nav .nav-menu li a:hover,
#nav .nav-menu li a:focus {
    color: #30373F;
    text-decoration: none;
}

#nav .nav-menu li .active {
    font-weight: 700;
}

/* Intro text */
#intro {
    background-color: #FFFFFF;
}

#intro h2 {
    font-size: 1.0675rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.5rem;
    margin-bottom: 2rem;
}

#intro p {
    max-width: 240px;
    margin-left: auto;
}

.scroll-down-container {
    position: relative;
    -webkit-animation: bounce 1s linear infinite alternate;
            animation: bounce 1s linear infinite alternate;
}

@-webkit-keyframes bounce {
    0%   {bottom: 2rem}
    100% {bottom: 1.5rem}
}

@keyframes bounce {
    0%   {bottom: 2rem}
    100% {bottom: 1.5rem}
}

#scroll-down {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-right-color: #30373F;
    border-bottom-color: #30373F;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all .15s linear;
        -o-transition: all .15s linear;
            transition: all .15s linear;
}

@media (max-width: 991px) {
    #start {
        padding-right: 0;
    }

    #start > .row {
        position: relative;
        margin: 0;
    }

    #start > .row > div {
        padding: 0;
    }

    #start > .row > .col-lg-4 {
        position: absolute;
    }

    #start .slider-container {
        height: 60%;
    }

    #nav {
        transform: translateX(100%);
    }

    #nav.active {
        transform: translate(0);
    }

    #nav .nav-menu {
        padding-left: 30px;
        padding-right: 30px;
    }

    #intro {
        align-self: stretch;
        text-align: center;
    }

    #intro p {
        max-width: 320px;
        margin-right: auto;
    }
}

/* *** PROJECT SECTION *** */
/***************************/
.stat {
    margin-bottom: 0;
}

.stat span {
    display: block;
    margin-bottom: 0;
    font-size: 1.715rem;
    margin-top: .75rem;
}

.stats hr {
    max-width: 160px;
    border-top: 1px solid #30373F;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.project-black-panel {
    padding-top: 4rem;
    padding-left: 6rem;
    padding-bottom: 10rem;
}

.project-black-panel hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid #FFFFFF;
}

.project-row-1 {
    margin-bottom: -10rem;
}

.img-project-vertical {
    width: 60%;
    height: auto;
    min-width: 290px;
}

@media (max-width: 991px) {
    .project-black-panel {
        padding-left: 30px;
    }
}

@media (max-width: 991px) {
    .project-black-panel {
        padding-top: 3rem;
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    .project-black-panel {
        padding-bottom: 8rem;
    }

    .img-project-vertical {
        width: 85%;
    }
}

@media (max-width: 575px) {
    .project-row-1 {
        margin-bottom: -8rem;
    }

    .img-project-vertical {
        width: 100%;
    }
}

.columns {
    overflow: hidden;
    transition: height .25s;
}

.column-content {
    columns: 3;
    column-gap: 48px;
    min-height: 14.8rem; /* using min-height in js to set container height on collapse */
    max-height: 14.8rem;
}

.column-content.expanded {
    max-height: none;
}

.columns p {
    line-height: 1.85rem;
    margin-bottom: 1.85rem;
}

.btn-fmg {
    display: inline-block;
    color: #30373F;
    padding: 1rem 2rem;
    border: 1px solid #30373F;
    white-space: nowrap;
}

.btn-fmg:hover,
.btn-fmg:focus {
    color: #30373F;
    text-decoration: none;
}

@media(max-width: 1499px) {
    .column-content {
        column-gap: 16px;
    }
}

@media(max-width: 991px) {
    .column-content {
        columns: 2;
        column-gap: 32px;
    }
}

@media(max-width: 767px) {
    .column-content {
        columns: 1;
        min-height: 22.2rem; /* using min-height in js to set container height on collapse */
        max-height: 22.2rem;
    }
}

/* *** MAP SECTION *** */
/***********************/
.map-image-container {
    overflow-x: hidden;
    position: relative;
}

.map-image-container img {
    width: 100%;
    height: auto;
}

#pois {
    padding: 0;
    margin: 0;
    columns: 2;
    list-style: none;
    counter-reset: poi-counter;
}

#pois li {
    position: relative;
    counter-increment: poi-counter;
    margin-left: 56px;
    margin-bottom: 1.25rem;
    line-height: 1.375rem;
    padding: .5rem;
}

#pois li:first-child {
    column-span: all;
}


#pois hr {
    column-span: all;
    margin: 40px 0 30px;
    width: 75%;
}

.map-icon,
#pois li::before {
    background-color: #30373F;
    color: #FFFFFF;
    width: 52px;
    height: 52px;
    line-height: 52px;
    font-size: 26px;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    position: absolute;
}

.map-icon:hover,
.map-icon.hovered,
#pois li:hover::before,
#pois li.hovered::before {
    background-color: #00adef;
}

#pois li:hover,
#pois li.hovered {
    background-color: #EDEDED;
}

#pois li::before {
    content: counter(poi-counter);
    left: -64px;
}

.green-icon,
#pois li:first-child::before {
    background-color: #0DB14B;
}

#pois li:first-child::before {
    top: -8px;
}

#pois li:first-child:hover::before,
#pois li:first-child.hovered::before {
    background-color: #00adef;
}

.table-transport td {
    padding: 10px 15px;
    text-align: left;
    white-space: nowrap;
}

@media(max-width: 1999px) {
    .map-icon,
    #pois li::before {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }

    #pois li:first-child::before {
        top: -3px;
    }

    #pois hr {
        margin: 30px 0;
        width: 100%;
    }
    
}

@media(max-width: 1499px) {
    .map-icon,
    #pois li::before {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }
}

@media(max-width: 1365px) {
    .map-icon,
    #pois li::before {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }

    #pois li {
        margin-left: 52px;
    }

    #pois li::before {
        left: -52px;
    }
}

@media(max-width: 1199px) {
    #pois {
        columns: 3;
    }

    .map-icon,
    #pois li::before {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 15px;
    }
}

@media(max-width: 991px) {
    .map-image-container img {
        width: 125%;
    }

    #pois li {
        margin-left: 44px;
    }

    .map-icon,
    #pois li::before {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }
    
    #pois li::before {
        left: -44px;
    }
}

@media(max-width: 767px) {
    #pois {
        columns: 2;
    }

    .map-icon,
    #pois li::before {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 17px;
    }
}

@media(max-width: 575px) {
    .map-image-container img {
        width: 150%;
    }

    #pois {
        columns: 1;
    }

    .map-icon,
    #pois li::before {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }

    #pois li {
        margin-left: 24px;
    }
    
    #pois li::before {
        left: -52px;
    }
}

/* *** HIGHLIGHTS SLIDER *** */
/*****************************/
#highlights-slider .slick-track {
    display: flex;
}

#highlights-slider .slick-track .slick-slide {
    display: flex;
    height: auto;
}

#highlights-slider .slick-next,
#highlights-slider .slick-prev {
    position: relative;
    left: auto;
    right: auto;
}

#highlights-slider .slick-prev {
    margin-right: 30px;
}

#highlights-slider .slick-next {
    margin-left: 30px;
    right: 2px;
}

#highlights-slider .slick-prev::before,
#highlights-slider .slick-next::before {
    content: ' ';
    border-left: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    display: block;
    width: 24px;
    height: 24px;
}

#highlights-slider .slick-prev::before {
    transform: rotate(-45deg);
}

#highlights-slider .slick-next::before {
    transform: rotate(135deg);
}

#highlights-slider .slide {
    height: 100%;
    padding: 0 12px;
}

#highlights-slider .slide .slide-content {
    height: 100%;
    padding: 15px;
    border: 1px solid #FFFFFF;
}

#highlights-slider h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#highlights-slider p.highlight-desc {
    line-height: 1.85rem;
    margin-top: 1.125rem;
}

@media (max-width: 991px) {
    #highlights-slider .slick-prev {
        margin-right: 0;
    }

    #highlights-slider .slick-next {
        margin-left: 0;
    }
    
}

/* *** APARTMENTS *** */
/**********************/

#apartments p {
    line-height: 1.85rem;
}

.apartments-image-container {
    padding: 2rem;
    position: relative;
    border: 1px solid #30373F;
}

.apartments-image-container img {
    width: calc(100% + 4rem);
    z-index: -1;
    position: relative;
}

@media (max-width: 991px) {
    .apartments-image-container img {
        width: 100%;
    }
}

/* *** GALLERY *** */
/*******************/
.gallery-thumb,
.plus-container {
    height: 400px;
    height: 33vw;
}

.gallery-thumb a,
.open-gallery {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-thumb a {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.open-gallery {
    color: #FFFFFF;
}

.open-gallery:hover,
.open-gallery:focus {
    color: #FFFFFF;
    text-decoration: none;
}

.open-gallery span {
    width: 72px;
    height: 72px;
    position: relative;
    margin-bottom: 45px;
}

.open-gallery span::before,
.open-gallery span::after {
    content: ' ';
    position: absolute;
    background-color: #FFFFFF;
}

.open-gallery span::before {
    width: 1px;
    height: 72px;
    left: 50%;
    top: 0;
}

.open-gallery span::after {
    width: 72px;
    height: 1px;
    left: 0;
    top: 50%;
}

.ekko-lightbox .modal-content {
   border-radius: 0;
   border: 0;
}

.ekko-lightbox .modal-body {
    padding: 0;
}

.ekko-lightbox-nav-overlay a {
    opacity: 1;
}

.modal-backdrop.show {
    opacity: .9;
}

@media (max-width: 767px) {
    .gallery-thumb,
    .plus-container {
        height: 400px;
        height: 66vw;
    }
}

/* *** OBJEKTE TABLE *** */
/*************************/
.table-tops {
    font-size: .866rem;
    text-align: center;
}

.table-tops thead,
.table-tops tbody tr:nth-child(even) {
    background-color: #EFEFEF;
}

.table-tops thead th {
    font-weight: 600;
    vertical-align: top;
    white-space: nowrap;
}

.table-tops thead th small {
    display: block;
}

.table-tops tbody {
    font-weight: 300;
}

.table-tops tbody tr td {
    vertical-align: middle;
}

.table-tops tbody tr:nth-child(even) td {
    padding: 0.4rem .3rem;
}

.table-tops tbody tr:nth-child(odd) td {
    padding: 0.8rem .3rem;
}

.table-tops tbody td.status {
    text-transform: uppercase;
    position: relative;
}

.table-tops tbody td.status:after {
    content: ' ';
    width: 8px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.table-tops tbody tr:nth-child(odd) td.status:after {
    top: 5px;
    height: calc(100% - 10px);
}

.table-tops tbody td.status.sold:after {
    background-color: #AF2C46;
}
.table-tops tbody td.status.reserved:after {
    background-color: #808080;
}
.table-tops tbody td.status.free:after {
    background-color: #AFBC85;
}

/* *** FOOTER *** */
/******************/

#contact label {
    font-weight: 300;
    margin-bottom: 0;
}

#contact .form-group {
    margin-bottom: 2rem;
}

#contact .form-control {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #EFEFEF;
    background-color: transparent;
    height: auto;
    color: #FFFFFF;
    font-size: .92857rem;
}

#contact textarea.form-control {
    height: auto;
}

#contact .custom-control-label {
    font-size: .857rem;
}

#contact .custom-control-label a {
    color: #FFFFFF;
    text-decoration: underline;
}

#contact .custom-control-label::before {
    left: -3rem;
    background-color: transparent;
    border-radius: 0;
    width: 17px;
    height: 17px;
}

#contact .custom-control-label::after {
    left: -2.9rem;
    width: 17px;
    height: 17px;
    top: 0.35rem;
}

#contact .custom-control-input:checked~.custom-control-label::before {
    border-color: #AFBC85;
}

#contact .btn-fmg {
    border-radius: 0;
    border: none;
}

#contact label.error {
    color: #ff9292;
    font-size: .857rem;
}

.kontaktdaten h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.kontaktdaten ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.kontaktdaten a {
    margin-left: 1rem;
    color: #FFFFFF;
}

.kontaktdaten ul li a {
    margin-left: 0;
}

.modal-content {
    border-radius: 0;
}

.modal-header {
    padding-left: 3rem;
    padding-right: 3rem;
}

.modal-body {
    padding: 3rem;
}