header {
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
}

.nav {
    display: block;
    padding: 19px 0 14px 1px;

}

.navbar {
    list-style: none;
    padding-left: 0;
    /* display: none; */
}

.navbar li {
    display: inline-block;
    padding: 10px 10px 10px;
    width: max-content;
    cursor: default;
    color: #1D3666;
    font-weight: 600;
}

.navbar li a {
    text-decoration: none;
    color: black;
}

.hero {
    background-image: url("https://dm.imagethumb.com/images/cityviews/hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mix-blend-mode: multiply;
    width: 100%;
    padding-top: 250px;
    color: #fff;
    opacity: 1;
    padding-bottom: 25px;

}

.hero-text {
    margin: 0 auto;
    text-align: left;
    font-weight: 700;
    font-size: 25px;
    position: relative;
    z-index: 90;
    margin-top: -39vw;
    max-width: 1100px;
}

.hero-text p {
    font-size: 12px;
    width: 268px;
}

.hero-content {
    display: flex;
    justify-content: center;
    font-weight: 300;
    text-align: center;
    color: #1D3666;
    padding: 2vw;
}

.content {
    display: flex;
    justify-content: center;
    font-weight: 300;
    text-align: center;
    color: #1D3666;
    padding: 2vw;
    flex-direction: column;
    max-width: 90%;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .content {
        max-width: 58%;
    }
}

.content-divider {
    width: 214px;
    height: 133px;
    background-color: #9BD2EE;
    margin: 30px 0;
}

.hero-content p {
    padding: 32px;
    text-align: initial;
    color: #1D3666;
    font-weight: 600;
}

.divider {
    width: 200px;
    height: 4px;
    background-color: #9BD2EE;
    margin: 30px 0;
}

.office_container {
    background: #F5F7F7;
    height: auto;
    padding-bottom: 30px;
}

.office_text {
    padding: 10px;
    color: #1D3666;
}

.office_image {
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.office {

    display: block;
    margin: .8vw;
    width: 33.33332%;
    height: auto;
    background-size: cover;
    background-position: center;
}

.office img {
    width: 100%;
}

.display-container.mobile {
    display: flex;
    margin-bottom: 7vw;
}

.mySlides {
    width: 100%;
    height: 206px;
    background-size: 273px;
    background-repeat: no-repeat;
    background-size: cover;
}

.arrows {
    position: absolute;
    display: block;
    width: 100%;
}


.w3-button.w3-black.w3-display-right {
    color: white;
    font-weight: normal;
    padding-top: 26vw;
    position: absolute;
    right: 0;
    left: auto;
    font-size: 40px
}

.w3-button.w3-black.w3-display-left {
    font-weight: normal;
    color: white;
    padding-top: 26vw;
    position: absolute;
    left: 0;
    font-size: 40px;
}

.welcome {
    top: 23vw;
    position: absolute;
    padding-left: 10vw;
    color: white;
}

footer {
    background: #1D3666;
    display: block;
}

.wrapper {
    display: block;
    width: 100%;
    padding: 4vw 0vw;
    color: white;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.footerlogo {
    padding: 0;

}

.contact {
    margin-left: 0;
}

.contact a {
    color: #ffffff;
    text-decoration: none;
}

.copyright {
    margin-left: 0;
}

.copyright p {
    margin-top: 0px;
}

@media (min-width: 760px) {
    .hero-text {
        margin-top: -27vw
    }

    .mySlides {
        width: 900px;
        height: 608px;
        background-size: cover;
    }

    .w3-button.w3-black.w3-display-right {
        padding-top: 30vw;
    }

    .w3-button.w3-black.w3-display-left {
        padding-top: 30vw;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .hero-text {
        margin-top: -13vw;
    }

    .footerlogo {
        margin-top: 3vw;
    }

    .mySlides {
        background-size: cover;
    }
}

@media (min-width: 1000px) {
    .mobile {
        display: none;
    }
}

.desktop {
    display: none;
}

@media (min-width: 1000px) {
    .desktop {
        display: block;
    }

    .display-container.mobile {
        display: none;
    }
}


@media (min-width: 1025px) {
    .nav {
        display: block;
        padding: 19px 0 14px 1px;
    }

    .navbar {
        list-style: none;
        display: inline-block;
        float: right;
    }

    .navbar li {
        display: inline-block;
        padding: 10px 10px 10px;
        width: max-content;
        cursor: default;
        color: #1D3666;
        font-weight: 600;
    }

    .hero {
        height: 254px;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-text p {
        font-size: 16px;
        width: 488px;
    }

    .hero-content {
        padding: 1vw;
    }

    .content-divider {
        width: 44px;
        height: 70px;
        background-color: #9BD2EE;
        margin: 30px 0;
    }

    .hero-content p {
        padding: 24px 22px 0 54px;
        width: 698px;
    }

    .divider {
        height: 3px;
    }

    .display-container.mobile {
        display: none;
    }

    .mySlides {
        display: none;
    }

    .arrows {
        display: none;
    }

    .office_container {
        background: #F5F7F7;
        height: auto;
    }

    .office_text {
        padding: 12px;
        color: #1D3666;
        font: normal normal normal 16px/24px Work Sans;
        max-width: 1100px;
        margin: 0 auto;
        background: #F5F7F7;

    }

    .office_image {
        display: flex;
        justify-content: center;
    }

    .office {

        display: inline-block;
        margin: .8vw;
        background-size: cover;
        background-position: center;
    }

    .welcome {
        top: 23vw;
        position: absolute;
        padding-left: 10vw;
        color: white;
    }

    .wrapper {
        padding: 2vw;
        color: white;
        padding-top: 35px;

    }

    .footerlogo {
        /*padding: 0;*/
        width: 33.3333332%;
        display: inline-block;
        vertical-align: top;
    }

    .contact {
        width: 33.3333332%;
        display: inline-block;
    }

    .contact h3 {
        margin-top: 0;
    }

    .copyright {
        width: 32.3333332%;
        display: inline-block;
        vertical-align: top;
    }
}

@media (max-width: 1024px) {
    .nav {
        text-align: center;
    }

    .hero-text {
        width: 90%;
    }

    .hero-content {
        padding-left: 0px;
    }

    .office_text {
        background: #F5F7F7;
        padding-left: 0px;
        padding-right: 0px;
    }

    .office_text h2,
    .office_text p {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 25px;
    }

    .office_text h2 {
        margin-top: 25px;

    }

    .wrapper {
        width: 90%;
    }
}

@media (max-width: 767.98px) {
    section.c-08-brand-cards .filters-wrap {
        overflow-x: scroll;
        height: 48px;
        position: absolute;
        top: 25px;
        left: 20px;
        z-index: 1;
        width: 100%;
    }
}

section.c-08-brand-cards .brands-filters {
    display: flex;
    margin-bottom: 30px;
}

@media (max-width: 767.98px) {
    section.c-08-brand-cards .brands-filters {
        position: absolute;
        top: 0;
        height: 40px;
        left: 0;
        padding-right: 30px;
    }
}

section.c-08-brand-cards .brands-filters .btn {
    margin-right: 10px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    word-break: keep-all;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    section.c-08-brand-cards .brands-filters .btn::before {
        display: none !important;
    }
}

section.c-08-brand-cards .brands-filters .btn.active {
    color: rgb(255, 255, 255);
    background: #00A94F;
    border-color: #00A94F;
}

section.c-08-brand-cards .brands-filters .btn:hover {
    color: #00A94F !important;
    background: transparent;
    border-color: #00A94F;
}

section.c-08-brand-cards .brands-filters .btn:hover.active {
    color: rgb(255, 255, 255) !important;
    background: #00A94F !important;
    border-color: #00A94F !important;
}

@media (min-width: 992px) {
    section.c-08-brand-cards .brands-filters .btn:hover {
        color: rgb(255, 255, 255) !important;
        background: #00A94F;
        border-color: #00A94F;
    }
}

section.c-08-brand-cards .brands-filters .btn i {
    display: none !important;
    margin-left: 9px;
    line-height: 1;
    transform: translate(0, 1px);
}

section.c-08-brand-cards .brands-filters .btn.active i {
    display: inline-block !important;
}

section.c-08-brand-cards .brand-row {
    transition: opacity 0.12s ease;
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brand-row {
        max-width: 75%;
        margin: 0 auto;
    }
}

section.c-08-brand-cards .brand-row a:hover {
    text-decoration: none !important;
}

section.c-08-brand-cards .brand-post {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    margin: 0 auto;
    text-decoration: none;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brand-post {
        width: 45%;
    }
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brand-post {
        width: 31.5%;
        margin: 0 auto 2vw;
    }
}

section.c-08-brand-cards .brandbox {
    margin-bottom: 75%;
    height: 100%;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox {
        margin-bottom: 62%;
    }
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brandbox {
        margin-bottom: 70%;
    }
}

@media (min-width: 3840px) {
    section.c-08-brand-cards .brandbox {
        margin-bottom: 40%;
    }
}

section.c-08-brand-cards .brandbox:hover .brandbox-img img {
    transform: scale(1.1) !important;
}

section.c-08-brand-cards .brandbox:hover .brandbox-link {
    text-decoration: underline !important;
}

section.c-08-brand-cards .brandbox-top {
    position: relative;
    height: 60%;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox-top {
        height: 50%;
    }
}

@media (min-width: 1024px) {
    section.c-08-brand-cards .brandbox-top {
        height: 70%;
    }
}

@media (min-width: 1200px) {
    section.c-08-brand-cards .brandbox-top {
        height: 50%;
    }
}

@media (min-width: 1266px) {
    section.c-08-brand-cards .brandbox-top {
        height: 60%;
    }
}

@media (min-width: 1720px) {
    section.c-08-brand-cards .brandbox-top {
        height: 78%;
    }
}

@media (min-width: 1920px) {
    section.c-08-brand-cards .brandbox-top {
        height: 85%;
    }
}

section.c-08-brand-cards .brandbox-btm {
    padding: 0 30px 30px;
    margin-top: -30px;
    display: flex;
    flex-direction: column;
    background: #F8F8F8;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox-btm {
        height: 23.8888888889rem;
    }
}

@media (min-width: 2560px) {
    section.c-08-brand-cards .brandbox-btm {
        height: 28rem;
    }
}

section.c-08-brand-cards .brandbox-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* padding-bottom: 76.5%; */
}

section.c-08-brand-cards .brandbox-img img {
    transition: transform 0.3s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.c-08-brand-cards .brandbox-logo {
    background: rgb(255, 255, 255);
    transform: translate(0, -25%);
    max-width: calc(60% - 20px);
    padding: 30px;
    display: flex;
    align-items: center;
    padding: 0;
    aspect-ratio: 16/10;
    position: relative;
    z-index: 1;
}

@media (max-width: 1199.98px) {
    section.c-08-brand-cards .brandbox-logo {
        max-width: calc(70% - 20px);
    }
}

section.c-08-brand-cards .brandbox-logo img {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    object-fit: contain;
    position: absolute;
    left: 60px;
    top: 60px;
    margin-left: -30px;
    margin-top: -30px;
}

@media (max-width: 1399.98px) {
    section.c-08-brand-cards .brandbox-logo img {
        width: calc(100% - 50px);
        height: calc(100% - 40px);
        left: 55px;
        top: 50px;
    }
}

section.c-08-brand-cards .brandbox-title {
    font-size: 1.3888888889rem;
    font-weight: 700;
    color: #1D2B44 !important;
    margin-bottom: 24px;
    text-decoration: none !important;
}

@media (max-width: 1399.98px) {
    section.c-08-brand-cards .brandbox-title {
        font-size: 1.366667rem;
    }
}

section.c-08-brand-cards .brandbox-text {
    color: #1D2B44 !important;
    text-decoration: none !important;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5555555556rem;
    margin: 0;
}

@media (min-width: 720px) {
    section.c-08-brand-cards .brandbox-text {
        max-height: 10.8888888889rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 720px) and (max-width: 991.98px) {
    section.c-08-brand-cards .brandbox-text {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    section.c-08-brand-cards .brandbox-text {
        margin-bottom: 0.5rem;
    }
}

section.c-08-brand-cards .brandbox-link {
    display: inline-block;
    margin-top: auto;
}