/* KW7 Custom css stuff goes here */

body {
  background-color: #222;
}

.navbar.always-open,
.navbar.always-open.shrink,
.home .navbar.always-open.shrink {
    background-color: #333;  
}

.home .navbar.always-open {
  background-color: #ffffff80;
  border: 0;
}

.nav-logo {
    height: 44px;
    width: 215px;
    background-image: url('../images/logo.png');
    /* background-image: url('../images/logo.svg'); */
    /* height: 77%; */
}

.home .navbar.always-open:not(.shrink) .nav-logo {
    background-image: url('../images/logo-original.png');
}

.shrink .nav-logo {
	top: 7px;
	height: 37px;
	width: 184px;
}

.navbar.always-open li a {
    padding: 0 4px;
}

.home .navbar.always-open:not(.shrink) li a,
.home .navbar.always-open:not(.shrink) li a:hover {
    color: #333 !important;
}

.search-carousel::before {
    content: none;
}

.home .navbar-default:not(.shrink) .navbar-toggle .icon-bar {
    background-color: #333;
}

@media only screen and (max-width: 600px) {
    .nav-logo{
        /* height: 95%; */
    }
}

    
@media (max-width: 1030px) {
    .navbar.always-open li a {
        font-size: 12px;
    }
}


@media (min-width: 1140px) {
    .navbar.always-open li a {
        padding: 0 12px;
    }
}

@media (min-width: 1245px) {
    .navbar.always-open li a {
        padding: 0 20px;
    }
}
@media (min-width: 992px) {
    .nav-logo {
        top: 7px;
        width: 315px;
        height: 62px;
    }
}

h1 {
	color: #fff;
}
.content-page h2 {
	color: #fff;
}

.banner-officeagent-search {
    background-image: url('../images/blur-image.jpg');
    background-size: cover;
    text-align: center;
    min-height: 125px;
}

.banner-hero.sell {
  background-image: url("../images/sell-hero.jpg");
}
.banner-hero.sell-steps {
  background-image: url("../images/7steps_hero.jpg");
}
.banner-hero.buy {
  background-image: url("../images/buybanner.jpg");
}
.banner-hero.buy-steps {
  background-image: url("../images/8-step-banner.jpg");
}
.banner-hero.about {
  background-image: url("../images/commercial.jpg");
}
.banner-hero.careers {
  background-image: url("../images/careers.jpg");
}

.bkg-awards {
  background-image: rgba(0, 0, 0, 0) url("../images/red-background.jpg");
 }

footer {
  background-color: #222;
}
footer hr {
  border-top-color: #333;
  border-bottom: 0;
}

.news-list a,
#newsCarousel .fw-carousel-item a {
    position: relative;
    display: block;
    margin: 0 10px;
    overflow: hidden;
    border: 15px solid white;
    background: white;
}

.news-list a::before,
#newsCarousel .fw-carousel-item a::before {
    display: block;
    width: 100%;
    height: 100%;
    content: none;
    opacity: .2;
    z-index: 999;
    position: absolute;
    background-color: #000;
}

.news-list a h5,
#newsCarousel .fw-carousel-item a h5 {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    text-align: left;
    text-transform: uppercase;
    margin-top: 20px;
}

.news-list a .city-title,
#newsCarousel .fw-carousel-item a .city-title {
    transform: initial;
    background: white;
    padding: 0;
    font-weight: bold;
    text-align: left;
    min-height: 70px;
    font-size: 18px;
    color: #b40101;
}

.news-list a .city-title p,
#newsCarousel .fw-carousel-item a .city-title p {
    font-weight: normal;
    font-size: 16px;
    margin-top: 20px;
    color: #666;
}

/* #newsCarousel .fw-carousel-item a:hover img {
    transform: scale(1.05);
} */

/* #newsCarousel .fw-carousel-item a img {
    transition: .2s all linear;
    -webkit-transition: .2s all linear;
    -moz-transition: .2s all linear;
} */

.fw-carousel-container {
    width: 100%;
    display: flex;
    gap: 100px;
    padding-inline: 50px;
}

.fw-carousel-item a {
    margin: 0 !important;
    height: 100%;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 100px;
    padding-inline: 0;
}

.news-list a {
    margin: 0;
    width: calc(33.333% - 67px);
}

.news-list a img,
.fw-carousel-item a img {
    aspect-ratio: 456 / 304;
    object-fit: cover;
}

.home .fw-news-carousel:not(.slick-initialized) {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
}

.news-list
#newsCarousel:not(.slick-initialized) {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
}

#newsCarousel:not(.slick-initialized) .fw-carousel-item {
    width: 33.333%;
}

.fw-specialists-content {
    display: flex;
    gap: 40px;
}

.fw-specialists-content > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: calc(20% - 64px);
    text-align: center;
    align-items: center;
}

.fw-specialists-content img {
    width: 99px;
}

.fw-specialists-content h3 {
    font-weight: bold;
}

.fw-specialists-content h4 {
    font-weight: 500;
}

.fw-specialists-content h3,
.fw-specialists-content h4,
.fw-specialists-content h5 {
    margin: 0;
}

.carousel-control {
    width: 50px;
    background-image: none !important;
}

.home .full-bg-content h2 {
    color: #b40101;
}

.home .full-bg-content .btn-secondary,
.home .fw-grey-bg .btn-secondary {
    border-color: #b40101;
    background-color: #b40101;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 0;
}

footer .footer-links a:link,
footer .footer-links a:visited {
    margin: 0 15px !important;
    width: auto !important;
}

#page:has(.page-careers) .orchard-layouts-root,
#page:has(.page-our-company) .orchard-layouts-root {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    max-width: 1600px;
    margin: auto;
    padding: 0px;
}

#page:has(.page-careers) .orchard-layouts-root .header-img,
#page:has(.page-our-company) .orchard-layouts-root .header-img {
    margin-top: 20px;
}

.info-shade {
    display: none;
}

.fp-item-photo {
    position: relative;
}

.fp-item-photo .feature-wrapper {
    display: flex;
    gap: 20px;
    padding: 5px 10px;
    background-color: #00000080;
    height: auto;
}

.ftr-item {
    margin-right: 0;
    float: none
}

.fp-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.fp-price {
    font-weight: bold;
}

@media (max-width: 992px) {
    .fw-specialists-content {
        justify-content: center;
        flex-wrap: wrap;
    }

    .fw-specialists-content > div {
        width: 45%;
        align-items: center;
    }

    #page:has(.page-careers) .orchard-layouts-root,
    #page:has(.page-our-company) .orchard-layouts-root {
        flex-direction: column;
    }

    .news-list {
        gap: 40px;
    }

    .news-list a {
        width: calc(33.333% - 27px);
    }
}

@media (max-width: 768px) {
    .home .nav-logo {
        background-image: url("../images/logo.png");
    }
    .home .navbar.always-open {
        background-color: #333;
    }

    .home .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    #featuredListings {
        display: flex        ;
        flex-direction: column;
        align-items: center;
        padding-inline: 15px;
    }

    .fw-featured-listings:not(.slick-initialized) .fw-featured-item {
        width: 100%;
    }

    #featuredListings:not(.slick-initialized) img {
        height: auto;
    }

    .fw-carousel-container {
        flex-direction: column;
    } 

    .fw-carousel-item {
        width: 100% !important;
    }

    .fw-specialists-content h3,
    .fw-specialists-content h4,
    .fw-specialists-content h5 {
        text-align: center;
    }

    .home .offset-content {
        text-align: left;
    }
}

@media (max-width: 540px) {
    .news-list {
        gap: 40px;
    }

    .news-list a {
        width: 100%;
    }
}