﻿@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko&display=swap');

/*The css and media was added from the custom page. It maybe overwritten by the regular css under these media querys.
    When adding new media, add it to the media section lower down on this page.
*/
.real-estate .main-section {
    padding:0 0px 50px;
}
.row.first-row {
    padding:0 35px 0 70px;
}
.real-estate .one-to-three div div {
    font-family: 'Teko', sans-serif !important;
}
.images-container img {
    max-width:100%;
}

@media(min-width:1424px) {
    .real-estate .header-caption {
        padding: 4px 24px 4px 72px;
    }

}

@media(max-width:1424px) {

    /*.real-estate .main-section .row.one-to-three {
        flex-direction: column;
        margin: auto;
        max-width: 100%;
    }
*/

    /*.real-estate .one-to-three div div:last-child {
        margin-right: 33px;
        margin-left: 30px;
        font-size: 27px;
        width: 275px;
    }
*/
   /* .real-estate .main-section .row.one-to-three > div {
        padding-bottom: 50px;
    }*/

    .real-estate .header-caption div:first-child {
        font-size: 43px;
    }

    .real-estate .header-caption div:not(:first-child) {
        font-size: 28px;
    }

    .real-estate .header-caption {
        padding: 30px 0px 30px 65px;
    }

        .real-estate .header-caption div:first-child {
            font: 3.3125rem/1.2 "proximanova-semibold","Open Sans",Arial,sans-serif;
            max-width: 558px;
        }

        .real-estate .header-caption div:not(:first-child) {
            font-size: 25px;
            max-width: 521px;
            line-height:1.2
        }


    .real-estate .clients hr {
        margin-left: auto;
    }

    .real-estate .clients div:first-child {
        text-align:right;
        padding-right: 34px;
    }

        .real-estate div.more-info-contact {
            margin-top: 32px;
            margin-bottom: 32px;
        }

}

@media(max-width:1424px) and (min-width:1021px) {
    
}

@media(min-width:1025px){
    .real-estate .main-section {
        margin-bottom: 8px;
    }
}


@media(max-width:1024px) {
    .real-estate .partners-div {
        margin-left: auto;
    }
}

@media screen and (max-width: 870px) {



    .real-estate .header-caption div:first-child {
        font-size: 19px;
        max-width: 190px;
    }

    .real-estate .header-caption div:not(:first-child) {
        margin: auto;
    }

    .real-estate .header-caption div:not(:first-child) {
        font-size: 12px;
        max-width: 271px;
        line-height: 20px;
    }
}

@media (max-width:767px) {
    .real-estate .header-caption {
        position: relative !important;
        margin-top: 63px;
        padding: 0px !important;
    }

    .real-estate .img-left {
        margin-bottom: 56px;
    }

    .real-estate .top-section {
        flex-wrap: wrap;
    }

    .real-estate .header-caption div:first-child {
        text-align: center;
        margin: auto;
    }

    .real-estate .header-img {
        overflow: hidden;
    }

    .real-estate .header-caption div:not(:first-child) {
        font-size: 14px !important;
        text-align: center;
        padding-bottom: 10px;
    }
}

@media(max-width:570px) {
    .real-estate .main-section .row.one-to-three > div {
        justify-content: start !important;
        padding-left: 35px;
    }

    .real-estate .one-to-three div div:last-child {
        margin-right: 0px;
        margin-left: 0px;
        font-size: 25px;
        padding-left: 25px;
    }


    .real-estate .info div, .real-estate .partners-col span {
        font-size: 21px;
    }

    .real-estate .info li {
        font-size: 14px;
        margin-left: 38px;
    }


    .real-estate .specialist-contact {
        overflow-wrap: break-word;
        font-size: 16px;
        line-height: 30px;
        padding: 5px 13px 36px 13px;
    }
}

.real-estate img.map {
    max-width:100%;
}

.siteHeader .headerTopBar div.d-flex.align-items-center.justify-content-between {
    background-color: black;
    padding-bottom: 15px;
}

.headerTopBar {
    padding-bottom: 0px !important;
}

.header-caption {
    color: white;
    background-color: rgba(78, 150, 149, 90%);
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

    .header-caption div:first-child {
        font-size: 50px;
        text-transform: uppercase;
        font-weight: bold;
        display: table;
        max-width: 419px;
    }

    .header-caption div:not(:first-child) {
        font-size: 30px;
        max-width: 613px;
        line-height: 36px;
    }

.top-section {
    position: relative;
}

.main-section {
    padding-bottom: 90px;
    margin-top: -11px;
    padding-top: 11px;
    background-image: url(/images/Partnerspage_background.png);
    background-size: cover;
}

.partners-div {
    text-align: right;
    background: white;
    /*margin-top: -84px;*/
    margin-top: -78px;
    box-shadow: 0px 0px 2px 1px #CDCDCD;
    padding: 25px 34px 27px 45px;
    color: #6C6C6C;
}

.info div {
    margin-top: 24px;
    margin-bottom: 11px;
}

.info div, .partners-col span {
    color: rgb(78, 150, 149);
    font-size: 33px;
    letter-spacing: 1.5px;
}

.specialist-contact .mobile, .header-img.mobile {
    display: none;
}


.info {
    margin: auto;
    color: #6C6C6C;
}

    .info i.fa-check {
        font-size: 14px;
        color: rgb(78, 150, 149);
        margin-left: -28px;
        position: absolute;
        margin-top: 9px;
    }


    .info li {
        margin-left: 52px;
        font-size: 18px;
    }

.partners-col hr {
    width: 88px;
    border: none;
    border-bottom: 1px solid rgb(78, 150, 149);
    margin-left: auto;
    margin-right: 0;
    border-bottom-width: 2.9px;
    margin-bottom: 20px;
    clear: both;
    padding-top: 0;
}

.clients hr {
    width: 101px;
}

img.map {
    width: 516px;
    margin-left: -9px;
}

div.clients {
    clear: both;
    margin-top: 36px;
}


.clients img {
    height: 64px;
    margin-left: 10px;
    margin-right: 10px;
    object-fit: contain;
}

.clients div {
    display: flex;
    justify-content: center;
    margin-bottom: 7px;
}

.clients > div:first-of-type {
    display: block;
}

.clients div:nth-of-type(5) img {
    height: 95px;
    object-fit: contain;
}

div.more-info-contact {
    background: linear-gradient(180deg, rgba(46,157,157,1) 0%, rgba(15,96,108,1) 100%);
    color: white;
    font-size: 14.3px;
    text-align: center;
    border-radius: 0px 29px;
    padding: 20px;
    margin-top: 26px;
    letter-spacing: normal;
}

    div.more-info-contact a, .specialist-contact a {
        color: white;
    }

    div.more-info-contact div {
        font-weight: bold;
        font-size: 16px;
        color: white;
        letter-spacing: normal;
        padding-bottom: 4px;
    }

.main-section .row.one-to-three {
    background: linear-gradient(180deg, rgba(254,254,254,1) 0%, rgba(232,232,232,1) 100%);
    box-shadow: 0px -2px 15px #c0c0be;
    padding-right: min(15vw, 360px);
    padding-left: min(15vw, 360px);
    margin-bottom: 70px;
    margin: auto;
}

.one-to-three div div:first-child {
    display: block;
    background: linear-gradient(180deg, rgba(46,157,157,1) 0%, rgba(15,96,108,1) 100%);
    color: white;
    font-size: 63px;
    width: 95px;
    min-height: 58px;
    text-align: center;
    border-radius: 50%;
}

.partners-col.mobile {
    display: none;
}

.one-to-three div div:last-child {
    margin-top: 27px;
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    margin: auto;
}

.specialist-contact {
    background: linear-gradient(180deg, rgba(46,157,157,1) 0%, rgba(15,96,108,1) 100%);
    color: white;
    text-align: center;
    border-radius: 0px 29px;
    clear: both;
    padding: 10px 50px 23px 50px;
    width: min(85vw, 1464px);
    margin: auto;
    margin-top: 42px;
    font-size: 16px;
    max-width: 95vw;
}

    .specialist-contact div {
        font-weight: bold;
        letter-spacing: 4.3px;
        font-size: 26px;
        margin-bottom: -26px;
        padding-top: 11px;
        padding-bottom: 6px;
    }

.images-container img {
    max-width: 100%;
}

i.fa-1 {
    display: none;
}

.one-to-three .mobile {
    display: none;
}

@media(max-width:1199px) {
    .one-to-three > .col {
        max-width: unset;
    }
}
@media(max-width: 1180px) and (min-width: 600px){
    .one-to-three div div:last-child {
        font-size: 21px;
    }
}

@media(max-width:775px) and (min-width: 760px){
    .one-to-three div div:last-child {
        font-size: 20px;
    }
}

@media(min-width:1434px) {
    .main-section {
        background-position: bottom -29px right;
    }
}

@media(min-width:991px) {
    .main-section {
        padding-bottom: 40px;
        margin-top: -11px;
        padding-top: 11px;
        background-image: url(/images/Partnerspage_background.png);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .real-estate .main-section .images-container .row {
        display: inline-flex;
        margin: auto;
        padding-bottom: 22px;
    }

    .images-container {
        max-width: 77% !important;
        margin: auto;
    }

    .specialist-contact {
        width: 89%;
        margin-top: 25px;
    }

}


    @media(min-width:697px) {

       /* .real-estate .main-section .images-container .row {
            display: inline-flex;
            margin: auto;
        }
*/
        .real-estate .main-section .row.one-to-three {
            padding: 22px 3px 22px 3px !important;
            margin-top: 50px !important;
            margin: 0 0 74px;
            justify-content: center;
            flex-direction: row !important;
        }

        .one-to-three div div:first-child {
            display: block;
            background: linear-gradient(180deg, rgba(46,157,157,1) 0%, rgba(15,96,108,1) 100%);
            color: white;
            font-size: 63px;
            width: 98px;
            min-height: 58px;
            text-align: center;
            border-radius: 50%;
            height: 96px;
            line-height: 100px;
            font-weight: 100;
        }

        .one-to-three > .col {
            max-width: 27.7%;
        }
    }


    @media(max-width: 1076px) {
        .specialist-contact {
            width: 100%;
        }


        .one-to-three > .col {
            max-width: unset;
        }
    }

    @media(min-width:480px) {
        img.map {
            padding-right: 30px;
            padding-left: 30px;
        }
    }

    @media(max-width: 697px) and (min-width:570px) {
        .real-estate .one-to-three div div:last-child {
            margin-left: 0px
        }
    }

    @media(max-width:767px) {

        .one-to-three div div:first-child {
            width: 73px;
            min-height: 58px;
            height: 75px;
            line-height: 86px;
        }

        .one-to-three div div:last-child {
            font-size: 20px;
        }

        .header-img.mobile {
            display: inherit;
        }

        .header-img.large, .header-caption {
            display: none;
        }

        .siteHeader .headerTopBar div.d-flex.align-items-center.justify-content-between {
            background-color: rgb(15,96,108);
        }
    }

    @media(max-width:750px) {
    }

    @media(max-width:697px) {
        .real-estate .main-section .row.one-to-three {
            flex-direction: column;
            padding-bottom: 0px;
            justify-content: center !important;
            display: grid;
        }

        .real-estate .one-to-three div div:first-child {
            width: 89px !important;
            font-size: 72px !important;
            line-height: 101px;
            max-height: 121px;
            height: 91px;
            font-weight: 100;
        }

        .real-estate .one-to-three div div:last-child {
            text-align: left;
            width: unset;
            padding-left: 20px;
            font-size: 41px;
            line-height: 37px;
        }

        .real-estate .main-section .row.one-to-three > div {
            padding: 0px;
            padding-bottom: 25px;
        }
    }

    @media(max-width:480px) {

        .header-img.mobile {
            display: inherit;
        }

        .partners-col.mobile {
            display: grid;
        }

        .specialist-contact:first-child div, .specialist-contact div.large, .partners-col.large, .header-img.large, .header-caption {
            display: none;
        }

        .specialist-contact .mobile {
            display: block !important;
            letter-spacing: 1px;
            line-height: 37px;
            margin-bottom: -23px;
        }


        .real-estate .info li {
            font-size: 16px;
            margin-left: 38px;
        }

        .info i.fa-check {
            font-size: 11px;
            margin-left: -30px;
            margin-top: 6px;
        }


        .info .trusted {
            font-size: 25px !important;
        }


        .real-estate .info div {
            text-align: center;
            font-size: 34px;
        }

        .real-estate .info li br {
            display: none;
        }

        .partners-col {
            padding: 0px;
        }

        .partners-div div {
            display: table;
            margin: auto;
            width: 100%;
            font-size: 22px;
            font-weight: bold;
        }

        .real-estate .partners-div {
            margin-top: 79px;
            font-size: 24px;
            margin-bottom: 42px;
        }

        .real-estate .partners-col span {
            text-align: right;
            font-size: 33px;
            width: 100%;
        }

        .partners-col hr {
            padding-top: 14px;
            width: 178px;
        }


        .real-estate .specialist-contact {
            font-size: 20px;
            border-radius: 10px 25px;
        }

            .real-estate .specialist-contact span {
                font-weight: bold;
                font-size: 22px;
            }


        .real-estate .img-left {
            margin-bottom: 21px;
        }

        .real-estate .main-section .row.one-to-three {
            padding: 0px;
            padding-top: 19px;
        }
    }

    @media (max-width:366px) {
        .real-estate .one-to-three div div:last-child {
            font-size: 37px;
        }
    }

    @media(max-width:311px) {

        .real-estate .one-to-three div div:last-child {
            font-size: 18px !important;
        }
    }
    @media(max-width:991px) {
        .real-estate .main-section {
            padding: 0 15px 50px;
        }
        .real-estate .header-caption div:first-child {
            font: 2.5rem / 1.2 proximanova-semibold, "Open Sans", Arial, sans-serif;
            max-width: 358px;
        }
        .row.first-row {
            padding: 0px 15px 0px 15px;
        }
        .clients img {
            height:50px;
        }
        .clients div:nth-of-type(5) img {
            height:65px;
        }
    }
    @media(max-width:767px) {
        .real-estate .partners-div {
            margin-top:0px;
        }
        .images-container img {
            margin-bottom:20px;
        }
    }


