.banner-bg {
    width: 100%;
    height: 100% !important;
    background: url('../img/residential-m.png') no-repeat center center / 150%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomOutBg2 2.5s ease forwards;
}
.inner-content h1 {
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    color: white;
    margin-top: 30px;
}
.nav-wrapper {
    padding: 30px 0;
}
.nav-wrapper h2 {
    font-size: 22px;
    text-align: center;
    color: #333;
    font-weight: 400;
}
.nav-wrapper .field {
    margin: 15px 0;
}
#desktop-site {
    display: none;
    opacity: 0;
    animation: fadeleft 0.8s ease forwards;
}
#mobile-site {
    opacity: 0;
    animation: fadeup 0.8s ease forwards;
}
/* Custom select 2 */
.select2.select2-container--default {
    width: 100% !important;
    height: 45px;
}
.select2-selection,
.select2-selection__rendered,
.select2-selection__arrow {
    height: 100% !important;
}
.select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
}
.select2-selection__arrow b {
    width: 15px !important;
    height: 15px !important;
    border: none !important;
    margin-left: -10px !important;
    margin-top: -10px !important;
    background: url('../../header-footer/img/utilities/arr-down-red.png') no-repeat center center / 100%;
    transition: transform 0.3s ease;
    left: 30% !important;
    top: 52% !important;
}
.select2-container--open .select2-selection__arrow b {
    transform: rotate(180deg);
    margin-top: -11px !important;
}
.select2-selection__clear {
    display: none !important;
}
.select2-selection__placeholder,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
    font-size: 16px;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #999;
}
.select2-results__options li {
    line-height: 2rem !important;
}
.grid-content {
    padding: 20px 0 40px;
}

/* Card */
.card-wrap {
    margin-bottom: 30px;
    cursor: pointer;
    opacity: 0;
}
.card-img {
    width: 100%;
    height: 370px;
    position: relative;
}
.card-img.upcoming::before,
.card-img.soldout::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(147, 157, 91, 0.8);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.card-img.upcoming::after,
.card-img.soldout::after {
    content: 'UPCOMING';
    color: white;
    font-size: 22px;
    text-transform: uppercase;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
    width: 200px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid white;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.card-img.soldout::after {
    content: 'SOLD OUT';
}
.card-img.upcoming:hover::before,
.card-img.soldout:hover::before,
.card-img.upcoming:hover::after,
.card-img.soldout:hover::after {
    opacity: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-img p {
    font-size: 12px;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
    color: white;
    position: absolute;
    bottom: 0;
    left: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}
.card-text {
    padding: 15px;
    border-left: 1px solid #D9DEE2;
}
.card-text .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.card-text a {
    font-size: 12px;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
    color: #133957;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-decoration: none;
    margin-bottom: 10px;
}
.card-text a.locate-link::before {
    content: '';
    width: 15px;
    height: 15px;
    display: inline-block;
    background: url('../img/locate-icon.png') no-repeat center center / 80%;
    margin-right: 10px;
    margin-bottom: -2px;
}
.card-text a.direction-link::before {
    content: '';
    width: 15px;
    height: 15px;
    display: inline-block;
    background: url('../img/direction-icon.png') no-repeat center center / 85%;
    margin-right: 10px;
    margin-bottom: -3px;
}
.card-text .body a {
    font-size: 18px;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
    color: #030F20;
    text-transform: uppercase;
    line-height: 1.8rem;
    text-decoration: none;
}
.card-text .body a:hover,
.card-text .body a:visited {
    color: #030F20;
}
/* destop nav */
.property-list-1 {
    padding-left: 0;
}
.property-list-1 li {
    list-style: none;
    line-height: 2rem;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
}
.property-list-1 li a {
    color: #333;
    text-decoration: none;
}
.property-list-1 li.header-li .title-link {
    color: #133957;
    font-weight: bold;
}
.property-list-1 > li::before {
    content: '';
    width: 0;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin: 2px 0 2px 0;
    background-color: #A5312D;
    visibility: hidden;
    transition: margin-right 0.3s ease;
    overflow: hidden;
}
.property-list-1 > li:hover::before {
    visibility: visible;
    margin-right: 5px;
    width: 8px;
}
.property-list-1 li.header-li::before {
    content: '';
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin: 2px 5px 2px 0;
    background-color: #A5312D;
    visibility: visible;
}

.property-list-2 {
    padding-left: 1.2rem;
    margin: 10px 0;
}

/* Mobile switch page */
.mobile-sw-wrap {
    background-color: #D8DEE3;
    padding: 5px 0;
}

.mobile-sw-wrap ul {
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.mobile-sw-wrap ul li.active::before {
    content: '';
    width: 120%;
    height: 4px;
    display: block;
    background-color: #A5312D;
    position: absolute;
    top: -15px;
    left: -7px;
}

.mobile-sw-wrap ul li {
    list-style: none;
    margin: 10px 0;
    position: relative;
}

.mobile-sw-wrap ul li a,
.mobile-sw-wrap ul li a:hover {
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
    font-weight: bold;
    color: #123956;
    font-size: 14px;
}

.mobile-sw-wrap ul li.active a,
.mobile-sw-wrap ul li.active a:hover {
    color: #B42225
}

@media screen and (min-width: 768px) {
    .banner-bg {
        background: url('../img/residential-m.png') no-repeat center center / 100%;
        animation: zoomOutBg2 2.5s ease forwards;
    }
    #mobile-site {
        display: none;
    }
    #desktop-site {
        display: block;
    }
    .grid-content {
        display: grid;
        grid-template-columns: 200px 1fr;
        padding: 50px 0;
    }
    #desktop-site .title {
        font-size: 22px;
        font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
        line-height: 2rem;
        margin-bottom: 25px;
        font-weight: 400;
    }
    .cardList {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
    .card-img {
        height: 260px;
    }
    .card-wrap {
        margin-bottom: 0;
    }
    .mobile-sw-wrap {
        display: none;
    }
}
@media screen and (min-width: 992px) {
    .banner-bg {
        animation: zoomOutBg2 2.5s ease forwards;
    }
}
@media screen and (min-width: 1024px) {
    .banner-bg {
        height: 330px;
    }
    .inner-content h1 {
        font-size: 42px;
    }
    .grid-content {
        grid-template-columns: 0.4fr 1fr;
    }
}
@media screen and (min-width: 1200px) {
    .grid-content {
        grid-template-columns: 0.3fr 1fr;
    }
    .cardList {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .property-list-1 li {
        font-size: 18px;
    }
}
@media screen and (min-width: 1400px) {
    .banner-bg {
        height: 400px;
    }
    .card-img {
        height: 370px;
    }
}
@keyframes zoomOutBg2 {
    0% {
        background-size: 190%;
    }
    100% {
        background-size: 140%;
    }
}
@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeleft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes faderight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
