
/* Small devices (landscape phones, less than 768px) */

@media (max-width: 767.99px) {
    html {
        font-size: 14px;
    }
}


/*Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.99px) {
    html {
        font-size: 12px;
    }
}


 /*NAV*/

.bg-light {
    background-color: #fff!important;
}

.navbar {
    padding: 2rem;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled {
    padding: 1rem 2rem;
}

.hvr-underline-reveal:before {
    background: #005e8f;
    height: 2px;
}

.navbar-expand-lg .navbar-nav li {
    padding-left: 2rem;
    padding-right: 2rem;
}

.navbar-expand-lg .navbar-nav .nav-link,
.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: #2f2912;
}

.navbar-expand-lg .navbar-nav .active .hvr-underline-reveal:before {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 1199.99px) {
    .navbar-expand-lg .navbar-nav li {
        padding-left: .5rem;
        padding-right: .5rem;
    }
}

@media (max-width: 991.99px) {
    .navbar-collapse {
        text-align: center;
    }
}
 /*TOP BANER*/

#topbaner .parallax-top {
    min-height: 530px;
    padding-bottom: 2rem;
}

#topbaner .parallax-top p {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

#topbaner .parallax-top span {
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
}

.blueleft {
    border-left: #005e8f 4px solid;
    padding-left: 2rem;
}

@media (max-width: 767.99px) {
    #topbaner .parallax-top {
        min-height: 0;
        height: 100vh;
    }
    .topbaner-immobilien .parallax-top {
        height: auto!important;
        /*background: url('/image/website/img/immobilien_top.jpg?wp') no-repeat center;*/
        background-size: cover;
        padding-top: 8rem;
    }
}


@media only screen and (max-width: 425px) {
            .vanis_desktop{
                display: none;
            }
            .vanis_mobile{
                display: block;
            }

        }
        @media only screen and (min-width: 426px) {
            .vanis_desktop{
                display: block;
            }
            .vanis_mobile{
                display: none;
            }

        }
@media only screen and (min-width: 1440px) {
  .max-width-class {
          max-width: 1050px;
  }
}






 /* contact-text */

#contact-text {
    margin: 100px auto 128px;
}

#contact-text-top {
    padding: 24px 0 24px 2rem;
}

#contact-text-top>h1 {
    font-weight: 700;
    font-size: 2rem;
}

#contact-text-top>h2 {
    font-size: 2rem;
}

#contact-text-bottom {
    padding: 0 0 0 8%;
}


/* contact-bottom *//* contact */

:-ms-input-placeholder {
    font-weight: 700;
    color: #2f2912;
    opacity: 1
}

:-webkit-input-placeholder {
    font-weight: 700;
    color: #2f2912;
    opacity: 1
}

::-moz-placeholder {
    font-weight: 700;
    color: #2f2912;
    opacity: 1
}

::-ms-input-placeholder {
    font-weight: 700;
    color: #2f2912;
    opacity: 1
}

::placeholder {
    font-weight: 700;
    color: #2f2912;
    opacity: 1
}

#contact-custom-select>.custom-select>.select-selected,
#contact-form-container>h2,
#contact-right-text>p,
#contact-right-text>span {
    font-weight: 700
}

#contact-form-container input {
    color: #2f2912
}

#contact-right-text,
#contact-right-text>a,
#contact-right-text>p,
#contact-right-text>span,
#contact-right-text>strong,
#contact-submit>input {
    color: #fff
}

#contact-background,
#contact-form-container,
#contact-form-container input,
textarea {
    width: 100%
}

#contact-custom-select>.custom-select>.select-selected,
#contact-radio,
#contact-radio>div,
#contact-submit {
    display: flex
}

#contact-custom-select,
#contact-custom-select>.custom-select>.select-selected,
#contact-form-container input {
    height: 70px
}

#contact-form-container>h2,
#contact-right-text>p,
#contact-right-text>span {
    font-size: 40px
}

#contact-background,
#contact-background>div {
    height: 100%
}

#contact-background,
#contact-right-text {
    position: absolute
}

#contact,
#contact-background {
    overflow: hidden
}

#contact-custom-select>.custom-select>.select-items,
#contact-custom-select>.custom-select>.select-selected {
    background-color: #fff
}

#contact-form-container input,
textarea {
    border: 0
}

#contact-radio>div,
#contact-radio>div>input {
    width: auto
}

#contact-right-blue-rectangle,
#contact-submit>input {
    background: #005e8f;
    margin: 0 0 0 auto
}

#contact,
#contact-right {
    position: relative
}

#contact-background>div {
    background: #e6e7e8;
    width: 65%
}

#contact-custom-select .select-selected::after {
    top: 28px
}

#contact-custom-select>.custom-select>.select-items {
    top: 50%;
    -webkit-transform: translateY(100%);
    transform: translateY(100%)
}

#contact-custom-select>.custom-select>.select-selected {
    align-items: center
}

#contact-form-container .half>input:nth-child(1) {
    margin: 0 5px 0 0
}

#contact-form-container .half>input:nth-child(2) {
    float: right;
    margin: 0 0 0 5px
}

#contact-form-container .half>input {
    width: 49.1955%
}

#contact-form-container input {
    padding: 0 20px
}

#contact-form-container>.blue-line {
    margin: 27px 0 49px
}

#contact-form-container>form>div {
    margin: 5px 0
}

#contact-form-container>h3 {
    font-size: 30px
}

#contact-form-container {
    margin: 74px 1.213% 55px auto;
    max-width: 866px
}

#contact-radio>div>input {
    height: auto;
    margin: 0 8% 0 0
}

#contact-radio>div {
    float: left;
    margin: 0 1% 0 0
}

#contact-right-blue-rectangle {
    height: 112px;
    width: 73.1%
}

#contact-right-text>p {
    margin: 0
}

#contact-right-text>span {
    margin: 106px 0 0
}

#contact-right-text {
    margin: 13% 0 0 13%;
    top: 0
}

#contact-right {
    margin: 107px 0 0 auto;
    max-width: 878px
}

#contact-submit>input {
    max-width: 185px
}

#contact {
    margin: 82px 0
}

form>div#contact-radio {
    margin: 0 0 24px
}

textarea {
    height: 216px;
    margin: 5px 0 0;
    padding: 26px 20px;
    resize: none
}

@media (max-width:108em) {
    #contact-form-container .half>input {
        width: 49%
    }
    #contact-form-container {
        margin: 0;
        padding: 74px 8px 55px
    }
}

@media (max-width:91em) {
    #contact-right-text>span {
        margin: 16% 0 0
    }
}

@media (max-width:77em) {
    .white-line {
        margin: 8% 0
    }
    #contact-right-text>span {
        margin: 8% 0 0
    }
}

@media (max-width:61.9375em) {
    #contact-right-text>p,
    #contact-right-text>span {
        font-size: 30px
    }
    #contact-background>div {
        width: 100%
    }
    #contact-form-container {
        margin: auto
    }
    #contact-right-text {
        margin: 8% 0 0 8%
    }
}

@media (max-width:33em) {
    #contact-form-container .half>input:nth-child(1),
    #contact-form-container .half>input:nth-child(2) {
        margin: 0 0 5px
    }
    #contact-form-container .half>input {
        width: 100%
    }
    #contact-radio>div>input {
        margin: 0 4px 0 0
    }
    #contact-radio>div {
        margin: 0 8px 0 0
    }
}

@media (max-width:20em) {
    #contact-right-text>p,
    #contact-right-text>span {
        font-size: 20px
    }
}

@media (min-width:62em) {
    #contact .col-lg-6:nth-child(2) {
        flex: 0 0 52%;
        max-width: 52%
    }
    #contact div.col-lg-6:nth-child(3) {
        flex: 0 0 48%;
        max-width: 48%
    }
}

@media (max-width: 425px) {
    
     #contact-right-blue-rectangle {
    height: 112px;
    width: 100%
}
}
 /* contact-bottom */

#contact-bottom h2,
#contact-bottom h3,
#contact-bottom div,
#contact-bottom a,
#contact-bottom strong {
    color: #fff;
}

#contact-bottom {
    background: #005e8f;
    padding: 94px 0 103px;
}

#contact-bottom h2 {
    font-size: 40px;
    font-weight: 700;
}

#contact-bottom h3 {
    font-size: 24px;
}

.white-line {
    max-width: 111px;
    height: 4px;
    width: 100%;
    background: #fff;
    margin: 26px 0 46px;
}
 
/* map */

#map {
    position: relative;
    overflow: hidden;
    background: #005e8f;
}

#map>iframe {
    border: 0;
    transition: 1s;
    opacity: 0.45;
    filter: grayscale(100%);
}

#map>iframe:hover {
    opacity: 1;
    filter: grayscale(0%);
} /*BOTTOM*/

#bottom {
    background: #005e8f;
    padding-top: 3rem;
}

.bottom-item p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 300;
}

.bottom-item p b {
    font-weight: 700;
    color: #fff;
}

.bottom-item p a {
    color: #fff;
}

.bottom-item p a:hover {
    opacity: .8;
}

.bottom-social {
    list-style: none;
    float: right;
    margin-top: 2rem;
}

.bottom-social li {
    display: inline-block;
}

.bottom-social li img {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.bottom-social li img:hover {
    transform: scale(.9);
}

.bottom-logo {
    text-align: right;
}

@media (max-width: 991.99px) {
    .bottom-item {
        text-align: center;
    }
    .bottom-social {
        float: none;
        text-align: center;
    }
    .bottom-logo {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .class_left {
            justify-content: left;
    }
    .class_right {
            justify-content: flex-end;
    }
}   
    @media (max-width: 768px) {
    .class_left {
            justify-content: center;
    }
    .class_right {
            justify-content: center;
    }
        
    }
    
    @media (min-width: 1024px) {
        .margin-removed {
             margin-top: -10px;
        }
    }
    
 
    