/*!
Theme Name: bergen-reliqus
Author: Reliqus
Version: 1.0.0
Requires PHP: 8.3
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --theme: #0B6EA9;
    --white: #ffffff;
    --black: #000000;
    --black-1: #111116;
    --black-2: #222222;
    --navy: #24314E;
    --alice-blue: #EDF9FF;
    --sky-blue: #F5FAFF;
    --grey: #E7E7E7;
    --dark-grey: #98A2B3;
    --bg-light: #F8F8F8;
    --theme-body: #535364;
    --charcoal-blue: #272E38;
    --transition: .3s ease-in-out;
    --theme-font: "Inter", sans-serif;
    --yellow: #FFC107;
    --bg-green: #50D67E;
    --bg-orange: #FFB94D;
    --bg-sky: #B5C6FF;
    --bg-red: #F48E8E;
}


html {
    font-size: 16px;
}

body {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem;
    color: var(--theme-body);
}

.container,
body.woocommerce-page .site-main>.woocommerce {
    max-width: 90rem !important;
    width: 100% !important;
}
body.woocommerce-page .site-main>.woocommerce{
    margin: auto;
    padding-inline: .75rem;
}

.bg-theme {
    background-color: var(--theme)
}

.bg-navy {
    background-color: var(--navy)
}

.bg-green {
    background-color: var(--bg-green)
}

.bg-orange {
    background-color: var(--bg-orange)
}
.bg-red {
    background-color: var(--bg-red);
}

.bg-sky {
    background-color: var(--bg-sky)
}
.bg-sky-blue {
    background-color: var(--sky-blue)
}


a {
    text-decoration: none;
}

/* .large-title {
    padding-bottom: 8rem
} */


:is(.large-title) :is(h2, h1, h3) {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

:is(.large-title) :is(h3) {
    font-size: 1.5rem;
    line-height: 1.35;
}

:is(.large-title)+ :is(p) {
    line-height: 1.5;
    font-weight: 400;
    max-width: 42.875rem;
    margin-bottom: 2.5rem;
}

.content-formatting :is(.large-title)+ :is(p) {
    max-width: 100%;
    margin-bottom: 1rem;
}
.text-center :is(.large-title)+ :is(p) {
    margin-inline: auto;
}

.border-bottom {
    border-bottom-color: var(--grey);
}

.py-space {
    padding-block: 5rem;
}

.pt-space {
    padding-block-start: 5rem;
}

.pb-space {
    padding-block-end: 5rem;
}

.py-100 {
    padding-block: 9rem
}

.py-60 {
    padding-block: 6rem
}

.pt-40 {
    padding-top: 2.5rem;
}

.py-40 {
    padding-block: 2.5rem;
}

.p-40{
    padding: 2.5rem;
}

.mb-40 {
    margin-bottom: 2.5rem;
}

.mb-20 {
    margin-bottom: 1.25rem;
}

.btn {
    font-weight: 700;
    line-height: 1.5;
    font-size: 1rem;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
}

.btn-border {
    border-color: var(--theme);
    color: var(--theme);
}

.btn-border:hover {
    background-color: rgb(11 110 169 / 10%);
    color: var(--theme);
}

.header .btn {
    padding: 0.825rem 2rem;
}

.btn-default {
    background-color: var(--theme);
    color: var(--white);
    border: 1px solid var(--theme);
    transition: all 0.5s ease-in-out;
}

.btn-default:hover,
.btn-default:active,
.demo-form .field-wrap input[type=submit]:hover {
    color: var(--theme);
    background-color: var(--white);
    border: 1px solid var(--theme);
}

.btn-primary {
    background-color: var(--theme);
    color: var(--white);
    border-color: var(--theme);
}

.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), #0B6EA9;
}
.btn-primary:focus{
    box-shadow: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), #0B6EA9;
}

.btn-light {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--white);
    color: var(--black);
    padding: 0.825rem 3.5rem;
    transition: all 0.3s ease-in-out;
}

.btn-light:hover,
.btn-light:active {
    background-color: var(--theme);
    color: var(--white);
    border: 1px solid var(--theme);
}

.news-wrapper+p {
    margin: 0;
}

/* header css start */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.custom-nav-list {
    gap: 1.75rem;
}

.navbar-light .navbar-nav .custom-nav-item>.nav-link{
    padding: 1.751rem 0;
    color: var(--black-1);
}
.user-logged-in>.nav-link{
    padding: 1.09rem 0;
}
.user-logged-in .dropdown-menu[data-bs-popper]{
    right: 0 !important;
    left: auto;
}
.user-logged-in{
    margin-left: 1.75rem;
}
.user-logged-in .user-img>.photo{
    width: 2.813rem;
    height: 2.813rem;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--grey);
}

.navbar-light .navbar-nav .custom-nav-item>.nav-link:hover {
    color: var(--theme);
}

.custom-dropdown-menu {
    border: 1px solid #CDCDD3;
    border-radius: 0;
}

.custom-dropdown-menu .dropdown-item {
    padding: 0.625rem 0.938rem;
    background: transparent !important;
}

.custom-dropdown-menu .dropdown-item.active,
.custom-dropdown-menu .dropdown-item:active,
.custom-dropdown-menu .dropdown-item:hover {
    color: var(--theme);
}

.custom-nav-item>.btn-grp {
    display: flex;
    gap: 0.75rem;
}

.custom-nav-item>.btn-grp .btn {
    padding: 0.625rem 1rem !important;
    border-radius: 0.5rem;
}

.custom-nav-item>.btn-grp .btn-primary {
    color: var(--white) !important;
}

.custom-nav-item>.btn-grp .btn-border {
    color: var(--theme) !important;
}

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

.custom-offcanvas-close {
    padding: 0.406rem !important;
    font-size: 1.188rem;
    background: none;
    opacity: 1;
    margin-top: -4rem !important;
}

.menu-btn>a {
    padding: 0 !important;
    color: inherit !important;
}

.menu-btn.btn-primary {
    margin-right: -1rem;
}


/* header css end */

/* breadcrumb css start */
.breadcrumb-wrapper {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    min-height: 10.625rem;
    padding-block: 2.5rem;
}

.breadcrumb-wrapper.news-single {
    min-height: auto;
}

.breadcrumb-wrapper h1 {
    font-size: 2.625rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.breadcrumb-wrapper .breadcrumb-trail span,
.breadcrumb-wrapper .breadcrumb-trail span strong,
.breadcrumb-wrapper .breadcrumb-trail span a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 400 !important;
    transition: var(--transition);
}

.breadcrumb-wrapper.news-single .breadcrumb-trail span,
.breadcrumb-wrapper.news-single .breadcrumb-trail span strong,
.breadcrumb-wrapper.news-single .breadcrumb-trail span a {
    color: var(--black-2);
}

.breadcrumb-wrapper .breadcrumb-trail span a:hover {
    text-decoration: underline;
}

.breadcrumb-wrapper .breadcrumb-trail span {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* breadcrumb css end */

/* Home */

.hero-banner {
    position: relative;
    height: 25.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(33, 33, 33, 0.70) 0%, rgba(33, 33, 33, 0.00) 100%);
}

/* .hero-banner .hero-video {
    height: 25.75rem;
}

.hero-banner .hero-video>video {
    height: 25.75rem;
    object-fit: cover;
} */
.hero-slider {
    position: relative;
}
.hero-slider img {
    height: 25.75rem;
    width: 100%;
    object-fit: cover;
    object-position: 100%;
}
.hero-slider .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 1;
}
.hero-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--theme);
}
.hero-content-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    padding-block: 3rem;
    z-index: 1;
}

.hero-content {
    max-width: 64rem;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--white);
}


.hero-content .asl_w_container {
    max-width: 32.25rem;
    margin-top: 2rem;
}

.hero-content .asl_w_container .probox {
    padding: 0 !important;
    height: auto !important;
    border-radius: 0.75rem !important;
    border: none !important;
}

.hero-content .asl_w_container .probox .proinput {
    padding: 0;
    margin: 0;
}

.hero-content .asl_w_container #ajaxsearchlite1 .probox .proinput input.orig {
    height: 4.5rem;
    padding-inline: 1rem !important;
    font-size: 1rem !important;
    color: var(--theme-body) !important;
    font-family: var(--theme-font) !important;
}

.hero-content .asl_w_container #ajaxsearchlite1 .probox .proinput input.autocomplete {
    opacity: 0;
}

.hero-content .asl_w_container .probox .promagnifier {
    width: 6.125rem;
    height: 4.5rem;
    border-left: 1px solid var(--grey);
    background-color: var(--white);
}

.hero-content .asl_w_container .probox .promagnifier .innericon svg {
    fill: var(--black-1);
    width: 1.75rem;
}

.hero-content .asl_w_container .probox .proclose {
    height: 4.5rem;
}

.hero-content .asl_w_container .probox .proloading {
    top: 1.3rem;
    position: relative;
}


:is(.town-listing, .agent-listing ) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) {
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--grey);
    position: relative;
    background-color: var(--theme);
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item):hover .thumbnail>img,
.news-list .news-item .news-item-wrapper .thumbnail-link:hover img,
.cta-blocks-grid.grid-4 .cta-blocks-item>.cta-blocks-item-wrapper:hover .thumbnail>img,
.news-card .news-item>.news-item-wrapper:hover .thumbnail>img {
    transform: scale(1.08);
}


:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item)>a {
    display: block;
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .thumbnail>img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .thumbnail {
    aspect-ratio: 1 / 1.025;
    width: 100%;
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 1;
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .content h3 {
    color: var(--white);
    font-weight: 700;
    line-height: 1.5;
    font-size: 1.125rem;
    margin-bottom: 0;
}
:is(.agent-listing)>:is(.town-item, .agent-item) .content h3 {
    font-size: 1.5rem;
    font-weight: 400;
}
:is(.agent-listing)>:is(.town-item, .agent-item) .content h6 {
    font-size: 1rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 0;
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) :is(.town-item-wrapper, .agent-item-wrapper) {
    position: relative;
}

:is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) :is(.town-item-wrapper, .agent-item-wrapper)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: linear-gradient(0deg, rgb(33 33 33 / 20%), transparent); */
    background: linear-gradient(0deg, rgba(33, 33, 33, 0.72) 0%, rgba(33, 33, 33, 0) 100%);
    z-index: 1;
}

.all-towns-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 1.25rem;
}

.all-towns-list>.towns-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.all-towns-list+p {
    margin: 0;
}

.all-towns-list>.towns-list>li {
    margin-bottom: 0.75rem;
}

.all-towns-list>.towns-list>li a {
    color: var(--theme-body);
    transition: var(--transition);
    line-height: 1.5;
}

.all-towns-list>.towns-list>li a:hover {
    color: var(--theme);
    text-decoration: underline;
}

/* Town details */

.town-single-wrapper {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.town-single-wrapper>.town-single-sidebar {
    width: 11.25rem;
    position: sticky;
    top: 5rem;
}

.town-single-wrapper>.town-single-sidebar>ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    list-style: none;
}

.town-single-wrapper>.town-single-sidebar>ul>li>a {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 400;
    transition: var(--transition);
}

.town-single-wrapper>.town-single-sidebar>ul>li>a:hover {
    color: var(--theme);
}

.town-single-wrapper>.town-single-sidebar>ul>li>a.active {
    color: var(--theme);
    font-weight: 700;
}

.town-single-wrapper>.town-single-content {
    width: calc(100% - 13.75rem);
}

.card-box {
    padding: 2.5rem;
    border: 1px solid var(--grey);
    border-radius: 1.125rem;

}

.town-single-content>.card-box {
    margin-bottom: 2.5rem;
}

.town-single-about {
    display: flex;
    gap: 1.25rem;
}

.town-single-about .content {
    width: 100%;
}
.town-single-about .content .float-img {
    float: right;
    margin-left: 2.5rem;
    margin-bottom: 1rem;
    width: 50%;
    border-radius: 0.5rem;
}
.town-single-about .content .card-title p {
    max-width: 100%;
}

.town-map iframe{
    width: 100%;
    height: 35rem;
}

.town-single-about .featured-image {
    width: 50%;
}

.town-single-about .featured-image img {
    width: 100%;
    border-radius: 0.5rem;
    aspect-ratio: 1 / 0.67;
    object-fit: cover;
    object-position: top;
}

.card-title h2 {
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
.card-title.sm h2 {
    font-size: 1.5rem;
}
/* .card-title p {
    max-width: 35rem;
} */

.grid-box {
    display: grid;
    gap: 1.25rem;
}

.grid-box.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-box.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-box.grid-2{
    grid-template-columns: repeat(2, 1fr);
}
.grid-box.grid-2 > * {
  min-width: 0; 
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.grid-box.grid-2 .full-width {
  grid-column: span 2;
}


:is(.home-value, .demographics) .card-box {
    text-align: center;
    padding: 2rem 3rem;
    height: 100%;
}

.home-value .card-box h3 {
    color: var(--black-1);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.home-value .card-box h5 {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--black-1);
    line-height: 1.4;
}

.demographics .card-box .icon img {
    width: 5rem;
}

.demographics .card-box h3 {
    color: var(--black-1);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    min-height: 3.063rem;
    margin-top: 1.25rem;
}

.demographics .card-box h5 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black-1);
}

.grades-box {
    display: flex;
    gap: 1.25rem;
}

.grades-box>.grades-box-item.over-all {
    width: 30%;
    text-align: center;
}

.grades-box>.grades-box-item.over-all .card-box .icon,
.grades-list .grades-list-item .icon {
    width: 5.625rem;
    aspect-ratio: 1;
    border-radius: 50%;
    align-content: center;
    font-size: 2.625rem;
    color: var(--black-1);
    margin: 0 auto;
    text-align: center;
}

.grades-box>.grades-box-item.over-all .card-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black-1);
    margin-top: 1.25rem;
}

.grades-box>.grades-box-item.over-all .card-box h5,
.grades-list .grades-list-item h5 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.grades-box>.grades-box-item:last-child {
    width: 70%;
}

.grades-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 3rem;
}

.grades-list .grades-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.grades-list .grades-list-item .icon {
    width: 2.5rem;
    font-size: 1.125rem;
}

.grades-list .grades-list-item h5 {
    width: calc(100% - 3.75rem);
}

.tabs-wrapper .nav-tabs {
    gap: .75rem;
}

.tabs-wrapper .nav-tabs .btn-border {
    border-color: var(--grey);
    color: var(--theme-body);
    font-weight: 400;
}

.tabs-wrapper .nav-tabs .btn-border:hover {
    border-color: var(--theme);
    color: var(--theme);
}

.tabs-wrapper .nav-tabs .btn-border.active {
    font-weight: 700;
    border-color: var(--theme);
    color: var(--theme);
}

.tabs-wrapper .tab-content {
    padding-top: 1.25rem;
}

.table-card {
    text-align: left;
}

.table-card thead {
    border-bottom: 1px solid var(--grey);
}

.table-card thead>tr>th {
    color: var(--navy);
    font-size: 1rem;
    border: none;
    padding-bottom: 1.5rem;
}

.table-card td .pills {
    background-color: #F4F4F4;
    width: 2.5rem;
    display: flex;
    aspect-ratio: 1;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.table-card td {
    color: var(--navy);
    font-size: 1rem;
    border: none;
    vertical-align: middle;
}

.table-card .rating .fa-star {
    color: var(--grey);
    font-size: 1.125rem;
}

.table-card .rating .fa-star.active {
    color: var(--yellow);
}

#schools .table-card thead th:nth-child(1) {
width: 15%;
}
#schools .table-card thead th:nth-child(2) {
width: 50%;
}
#schools .table-card thead th:nth-child(3) {
width: 15%;
}
#schools .table-card thead th:nth-child(4) {
width: 20%;
}
#amenities .table-card tbody td:nth-child(1) {
width: 80%;
}
#amenities .table-card tbody td:nth-child(2) {
width: 20%;
}
.agent-data-wrapper {
    display: flex;
    gap: 2.5rem;
}

.agent-data-wrapper>.agent-detail {
    width: 45%;
}

.agent-data-wrapper>.agent-detail .agent-profile,
.agent-single .agent-profile
{
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-block: 1.25rem;
}

.agent-data-wrapper>.agent-detail .agent-profile .profile-img {
    min-width: 5rem;
    max-width: 5rem;
}
.agent-single .agent-profile .profile-img {
    min-width: 10rem;
    max-width: 10rem;
    position: relative;
    padding: 1rem;
    z-index: 0;
}

.agent-data-wrapper>.agent-detail .agent-profile .profile-img>img,
.agent-single .agent-profile .profile-img>img
{
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    height: auto;
}

.agent-data-wrapper>.agent-detail .agent-profile .content h3,
.agent-single .agent-profile .content h3
{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}
.agent-single .agent-profile .content h3 {
     font-size: 2.5rem;
}

.agent-data-wrapper>.agent-detail .agent-profile .content h6,
.agent-single .agent-profile .content h6
{
    font-weight: 400;
    font-style: italic;
}

.agent-data-wrapper>.agent-detail .contact-details ul,
.agent-contact-detail
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.agent-data-wrapper>.agent-detail .contact-details ul>li,
.agent-contact-detail>li
{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.agent-data-wrapper>.agent-detail .contact-details ul>li span:nth-child(1) {
    min-width: 5.5rem;
    color: var(--black-1);
    font-weight: 600;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.agent-data-wrapper>.agent-detail .contact-details ul>li span:nth-child(1) img {
    width: 1.125rem;
    margin-right: 0.25rem;
}

.agent-data-wrapper>.agent-detail .contact-details ul>li a {
    color: var(--black-1);
    transition: var(--transition);
}
.agent-contact-detail li a {
    word-break: break-all;
}

.agent-data-wrapper>.agent-detail .contact-details ul>li a:hover {
    color: var(--theme);
    text-decoration: underline;
}

.agent-data-wrapper>.agent-detail .contact-details h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.125rem;
}

.hr-line {
    margin-block: 1.25rem;
    background-color: var(--grey);
    opacity: 1;
}

.agent-data-wrapper>.agent-contact-form {
    width: 55%;
}
.agent-data-wrapper>.agent-contact-form h3 {
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 2rem;
}
/* end */

.cta-blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cta-blocks-grid.grid-4 {
    grid-template-rows: 1fr 1fr;
}

.cta-blocks-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cta-blocks-grid.grid-style-2.grid-5 {
    grid-template-columns: repeat(6, 1fr);
}

.cta-blocks-grid.grid-style-2.grid-5 .cta-blocks-item {
    grid-column: span 2;
}

.cta-blocks-grid.grid-style-2.grid-5 :is(.cta-blocks-item:nth-child(4), .cta-blocks-item:nth-child(5)) {
    grid-column: span 3;
}

.cta-blocks-grid.grid-style-2.grid-5 :is(.cta-blocks-item:nth-child(4), .cta-blocks-item:nth-child(5)) .thumbnail {
    aspect-ratio: 1 / 0.473;
}

.cta-blocks-grid.grid-style-2.grid-5 .cta-blocks-item .content h3 {
    font-weight: 700;
    font-size: 1.125rem;
}

/* Blog Archive page start */

.news-column-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.25rem;
    height: 100%;
}

.news-column-wrapper .news-item {
    width: 100%;
}

.news-column-wrapper .featured-news {
    grid-column: span 3;
}

.news-column-wrapper .news-item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-column-wrapper .news-item .news-item-wrapper .thumbnail {
    aspect-ratio: 1 / 0.611;
    overflow: hidden;
    border-radius: 0.5rem;
    background: var(--theme);
}

.news-column-wrapper .featured-news .news-item-wrapper .thumbnail {
    aspect-ratio: 1 / 0.39;
}

.news-column-wrapper .featured-news .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.news-column-wrapper .news-item:hover .thumbnail img {
    transform: scale(1.08);
}

.news-column-wrapper .news-item .news-item-wrapper .content {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.news-column-wrapper .news-item .news-item-wrapper .content .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-column-wrapper .news-item .news-item-wrapper .content .news-meta span {
    display: flex;
    /* gap: 0.5rem; */
    align-items: center;
    font-size: 1rem;
    color: var(--black-1);
    font-weight: 400;
    line-height: 1.5;
}

.news-column-wrapper .news-item .news-item-wrapper .content .news-meta span a {
    color: var(--black-1);
    transition: var(--transition);
}

.news-column-wrapper .news-item .news-item-wrapper .content .news-meta span a:hover {
    color: var(--theme);
}

.news-column-wrapper .news-item .news-item-wrapper .content .news-meta span:before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--black-1);
    border-radius: 100%;
    display: block;
    margin-right: 0.5rem;
}

.news-column-wrapper .news-item .news-item-wrapper .content .news-meta span:first-child:before {
    display: none;
}

.news-column-wrapper .featured-news .news-item-wrapper .content .news-meta span {
    font-size: 1.125rem;
    color: var(--white);
}

.news-column-wrapper .featured-news .news-item-wrapper .content .news-meta span a {
    color: var(--white);
}

.news-column-wrapper .featured-news .news-item-wrapper .content .news-meta span a:hover {
    opacity: 0.7;
    color: var(--white);
}

.news-column-wrapper .news-item .news-item-wrapper .content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.news-column-wrapper .news-item .news-item-wrapper .content h3 a {
    color: var(--black-1);
    transition: var(--transition);
}

.news-column-wrapper .news-item .news-item-wrapper .content h3 a:hover {
    color: var(--theme);
    text-decoration: underline;
}

.news-column-wrapper .news-item .news-item-wrapper .content p {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    margin-top: auto;
}

.news-column-wrapper .news-item .news-item-wrapper .content p:empty {
    display: none;
}

.news-column-wrapper .featured-news .news-item-wrapper .content .news-meta span:before {
    background: var(--white);
}

.news-column-wrapper .featured-news .news-item-wrapper .content h3 a {
    font-size: 1.5rem;
    line-height: 1.35;
    color: var(--white);
    transition: var(--transition);
}

.news-column-wrapper .featured-news .news-item-wrapper .content h3 a:hover {
    opacity: 0.7;
    text-decoration: underline;
    color: var(--white);
}

.news-column-wrapper .featured-news .news-item-wrapper .content p {
    color: var(--white);
}

.news-column-wrapper .featured-news .content {
    position: absolute;
    z-index: 2;
    bottom: 0;
    padding: 2.5rem;
    z-index: 1;
}

.news-column-wrapper .news-item-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-column-wrapper .news-item .news-item-wrapper .thumbnail,
.news-column-wrapper .news-item .news-item-wrapper {
    position: relative;
}

.news-column-wrapper .featured-news.news-item .news-item-wrapper .thumbnail:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 9; */
    background-image: linear-gradient(0deg, rgb(33 33 33 / 70%), transparent);
    z-index: 1;

}

.category-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 1.25rem;
}

.category-details .category-card {
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--grey);
    position: relative;
    background: var(--theme);
}

.category-details .category-card .thumbnail>img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.category-details .category-card .thumbnail {
    aspect-ratio: 1 / 1.025;
}

.category-details .category-card:hover .thumbnail img {
    transform: scale(1.08);
}

.category-details .category-card .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 1;
}

.category-details .category-card .content h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.50;
}



.category-details .category-card .thumbnail:before {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(0deg, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0) 76%);
    z-index: 1;
}

/* end  */
/* news details page css  */
.post-details-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    padding-bottom: 5rem;
}

.post-details-wrapper .post-content-wrapper {
    flex-basis: 68.5%;
}

.post-details-wrapper .post-sidebar-wrapper {
    flex-basis: 28.2%;
}

.post-details-wrapper .post-sidebar-wrapper h2 {
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 2.5rem 0;
}

.recent-post.news-list .news-item .news-item-wrapper .content {
    flex-basis: 78%;
}

.recent-post.news-list .news-item .news-item-wrapper .thumbnail-link {
    flex-basis: 20%;
    min-width: unset;
    max-width: none;
}

.recent-post.news-list .news-item .news-item-wrapper .thumbnail-link img {
    width: 100%;
    height: 100%;
}

.recent-post.news-list .news-item .news-item-wrapper .thumbnail-link .thumbnail {
    aspect-ratio: auto;
    width: 5rem;
    height: 5rem;
}

.recent-post.news-list .news-item .news-item-wrapper .content .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.recent-post.news-list .news-item .news-item-wrapper .content .news-meta span {
    display: flex;
    /* gap: 0.5rem; */
    align-items: center;
    font-size: 0.875rem;
    color: var(--black-1);
    font-weight: 400;
    line-height: 1.5;
}

.recent-post.news-list .news-item .news-item-wrapper .content .news-meta span a {
    color: var(--black-1);
    transition: var(--transition);
}

.recent-post.news-list .news-item .news-item-wrapper .content .news-meta span a:hover {
    color: var(--theme);
}

.recent-post.news-list .news-item .news-item-wrapper .content .news-meta span:before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--black-1);
    border-radius: 100%;
    display: block;
    margin-right: 0.5rem;
}

.recent-post.news-list .news-item .news-item-wrapper .content .news-meta span:first-child:before {
    display: none;
}

.recent-post.news-list .news-item>.news-item-wrapper .content h3 {
    font-size: 1.125rem;
}

.post-details-wrapper .post-meta-detail h1.post-meta-title {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.post-details-wrapper .post-meta-info {
    display: flex;
    gap: 0.5rem;
}

.post-details-wrapper .post-meta-info span {
    display: flex;
    /* gap: 0.5rem; */
    align-items: center;
    font-size: 1rem;
    color: var(--black-1);
    font-weight: 400;
    line-height: 1.5;
}

.post-details-wrapper .post-meta-info span a {
    color: var(--black-1);
    transition: var(--transition);
}

.post-details-wrapper .post-meta-info span a:hover {
    color: var(--theme);
}

.post-details-wrapper .post-meta-info span:before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--black-1);
    border-radius: 100%;
    display: block;
    margin-right: 0.5rem;
}

.post-details-wrapper .post-meta-info span:first-child:before {
    display: none;
}

.post-details-wrapper .post-meta-detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.post-details-wrapper .post-meta-detail .thumbnail {
    aspect-ratio: 1 / 0.58;
    border-radius: 0.5rem;
    overflow: hidden;
    /* background: var(--theme); */
}

.post-details-wrapper .post-meta-detail .thumbnail>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.post-details-wrapper .post-meta-description {
    margin-top: 1.25rem;
}
.post-details-wrapper .post-meta-description svg.external-link-icon {
display: none;
}
.post-details-wrapper .post-meta-description img {
    width: 100%;
    border-radius: 0.5rem;
}

.post-details-wrapper .post-meta-description p:empty {
    margin: 0;
}

.post-details-wrapper .post-meta-description :is(h1, h2, h3, h4, h5, h6) {
    color: var(--navy);
    margin-bottom: 1.125rem;
}
.post-details-wrapper .post-meta-description :is(h2) {
    margin-top: 1.25rem;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}
.post-details-wrapper .post-meta-description :is(h3) {
    font-size: 1.5rem;
}
.post-details-wrapper .post-meta-description :is(h4){
    font-size: 1.25rem;
}
.sidebar .search-form, 
.custom-search .search-form {
    display: flex;
}

.sidebar .search-form label, 
.custom-search .search-form label {
    width: 100%;
}

.sidebar .search-form .search-field,
.custom-search .search-form .search-field {
    padding: 1.25rem 0.5rem 1.25rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--grey);
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    outline: none;
    width: 100%;
}

.sidebar .search-form .search-submit,
.custom-search .search-form .search-submit {
    padding: 1.25rem 2.25rem;
    background-color: var(--white);
    border: 1px solid #E7E7E7;
    border-left: 0;
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    cursor: pointer;
    font-size: 0;
    vertical-align: middle;
    background: url(https://demos.reliqus.com/bergenrealestate/wp-content/uploads/2025/07/search-icon.png) no-repeat center center;
    background-size: 16px 16px;
    outline: none;
}

/* end  */

/* news listing page */
.custom-pagination>ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.pagination {
    justify-content: center;
    margin-top: 1rem;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .nav-links .page-numbers,
.custom-pagination>ul .page-numbers {
    padding: 0.5rem 1.25rem;
    border-radius: 1.125rem;
    border: 1px solid var(--grey);
    font-size: 0.875rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--black-1);
    transition: var(--transition);
}

.pagination .nav-links .page-numbers.current,
.custom-pagination>ul .page-numbers.current,
.custom-pagination>ul .page-numbers:hover {
    background: var(--theme);
    border-color: var(--theme);
    color: var(--white);
}
.custom-pagination>ul .page-numbers:hover img {
    filter: brightness(100);
}

/* end  */

/* search page start */
body.search .custom-search>.search-form{
    max-width: 45rem;
    margin:auto;
}
.result-title{
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
.result-title>span{
    font-size: 1.5rem;
}
/* search page end */

.cta-blocks-grid .cta-blocks-item {
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    background-color: var(--theme);
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper {
    position: relative;
    height: 100%;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, rgba(33, 33, 33, 0.90) 0%, rgba(33, 33, 33, 0.10) 114.7%);
    z-index: 1;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail>img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.cta-blocks-grid .cta-blocks-item:hover .cta-blocks-item-wrapper .thumbnail>img {
    transform: scale(1.08);
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail {
    aspect-ratio: 1 / 0.72;
}

.cta-blocks-grid.grid-4 .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail {
    aspect-ratio: 1 / 0.6;
}

.cta-blocks-grid.grid-4 .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail>img {
    transition: var(--transition);
}

.cta-blocks-grid.grid-2 .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail {
    aspect-ratio: 1 / 0.5;
}

.cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(4n + 1)>.cta-blocks-item-wrapper .thumbnail>img,
.cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(4n)>.cta-blocks-item-wrapper .thumbnail>img {
    height: 100%;
    aspect-ratio: auto;
}

.cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(4n + 1)>.cta-blocks-item-wrapper .thumbnail,
.cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(4n)>.cta-blocks-item-wrapper .thumbnail {
    height: 100%;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 1;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content h3 {
    color: var(--white);
    font-weight: 400;
    line-height: 1.35;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content p {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 0rem;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content .btn-transparent {
    background-color: rgb(255 255 255 / 25%);
    color: var(--white);
    padding: 0.6rem 2rem;
    margin-top: 1rem;
}

.cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content .btn-transparent:hover {
    background-color: var(--white);
    color: var(--theme);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cards.card-2,
.cards.card-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.cards.card-1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}

.cards .card-item {
    background-color: var(--white);
    border: 1px solid var(--grey);
    border-radius: 1.25rem;
    padding: 3.75rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.cards.card-style-2 .card-item {
    flex-direction: row;
    gap: 2.5rem;
    padding: 2.5rem 2rem;
}

.cards.card-style-2 .card-item .icon {
    min-width: 6.25rem;
    max-width: 6.25rem;
}

.cards.card-style-2 .card-item .content {
    text-align: left;
    align-items: flex-start;
}

.cards.card-style-2 .card-item .content .btn-wrapper {
    padding-top: 1.25rem;
}

.cards .card-item:hover {
    box-shadow: 0rem 0rem 0.5rem rgba(0, 0, 0, 0.1);
}

.cards .card-item .icon img {
    max-width: 6.25rem;
    width: 100%;
}

.cards .card-item .content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards .card-item .content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black-1);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.cards .card-item .content p {
    color: var(--black-1);
    margin-bottom: 0;
}

.cards .card-item .content .btn-wrapper {
    padding-top: 2.5rem;
    margin-top: auto;
}

.news-wrapper .col-lg-7 {
    width: 54%;
    padding-right: .5rem;
}

.news-wrapper .col-lg-5 {
    width: 46%;
}

.news-card .news-item {
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
}

.news-card .news-item>.news-item-wrapper {
    position: relative;
    height: 100%;
}

.news-card .news-item>.news-item-wrapper .thumbnail>img {
    transition: var(--transition);
}

.news-card .news-item>.news-item-wrapper>a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, rgb(33 33 33 / 70%), transparent);
    z-index: 1;
}

.news-card .news-item>.news-item-wrapper .thumbnail>img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.news-card .news-item>.news-item-wrapper .thumbnail {
    aspect-ratio: 1 / 0.648;
    background-color: var(--theme);
    width: 100%;
}

.news-card .news-item>.news-item-wrapper .thumbnail,
.news-card .news-item>.news-item-wrapper .thumbnail-link {
    height: 100%;
    display: block;
}

.news-card .news-item>.news-item-wrapper .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 1;
}

.news-card .news-item>.news-item-wrapper .content h6 {
    color: var(--white);
    font-weight: 400;
    line-height: 1.5;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.news-card .news-item>.news-item-wrapper .content h3 {
    color: var(--white);
    font-weight: 500;
    line-height: 1.35;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.news-card .news-item>.news-item-wrapper .content h3 a {
    color: var(--white);
    transition: var(--transition);
}

.news-card .news-item>.news-item-wrapper .content h3 a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.news-card .news-item>.news-item-wrapper .content p {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list .news-item .news-item-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.news-list .news-item:not(:last-child) {
    margin-bottom: 1.25rem;
}

.news-list .news-item .news-item-wrapper .thumbnail-link {
    min-width: 14.063rem;
    max-width: 14.063rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.news-list .news-item .news-item-wrapper .thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.news-list .news-item .news-item-wrapper .thumbnail-link .thumbnail {
    aspect-ratio: 1 / 0.670;
    background-color: var(--theme);
    width: 100%;
}

.news-list .news-item>.news-item-wrapper .content h6 {
    color: var(--black-1);
    font-weight: 400;
    line-height: 1.5;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.news-list .news-item>.news-item-wrapper .content h3 {
    color: var(--black-1);
    font-weight: 500;
    line-height: 1.35;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-list .news-item>.news-item-wrapper .content h3 a {
    color: var(--black-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-list .news-item>.news-item-wrapper .content h3 a:hover {
    color: var(--theme);
    text-decoration: underline;
}

.news-list .news-item>.news-item-wrapper .content p {
    font-size: 0.875rem;
    color: var(--theme-body);
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gradient-box {
    padding: 5rem 6.25rem;
    border-radius: 0.75rem;
    background: radial-gradient(circle at 50% center, #1b7298 0%, #042c4c 100%);
    display: flex;
    align-items: center;
    gap: 1rem 5rem;
}

.gradient-box .content-area {
    width: 55%;
}

.gradient-box .form-area {
    width: 45%;
}

.gradient-box .content-area>h3 {
    font-size: 2.625rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.gradient-box .content-area>p {
    color: var(--white);
    margin-bottom: 0;
}

#SIGNUP_PAGE {
    padding: 0px !important;
    background-color: transparent !important;
}
body #sf3z31993b1c2cd7f376adac870af56e9eba306b6183370f8731fcb957ea49aa75c1 #signupMainDiv {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
}
#SIGNUP_HEADING, #imgBlock {
    display: none;
}
#SIGNUP_BODY {
    border-radius: 0.5rem;
}
#errorMsgDiv + div {
    display: flex;
    width: 100% !important;
    flex-direction: column;
}
#errorMsgDiv + div > div.zcsffieldsdiv {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 0rem !important;
}
#errorMsgDiv + div > div.zcsffieldsdiv .zcsffield {
    width: 100%;
    padding: 0rem !important;
    height: 46px !important;
}
#errorMsgDiv {
    margin-top: 0rem !important;
    font-size: 0.875rem !important;
}
#errorMsgDiv + div > div.zcsffieldsdiv .zcsffield > div:first-child {
    height: 48px !important;
    border-radius: 0.5rem !important;
}
#errorMsgDiv + div > div.zcsffieldsdiv .zcsffield:nth-child(3) {
    grid-column: span 2;
}

#errorMsgDiv + div > div.zcsffieldsdiv .zcsffield input {
        height: 46px !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
}
#errorMsgDiv + div > div.zcsffieldsdiv .zcsffield span[name="SIGNUP_REQUIRED"],
#REQUIRED_FIELD_TEXT
{
    display: none;
}
#REQUIRED_FIELD_TEXT + div {
        width: 100%;
        padding: 0rem !important;
        margin-top: 1.25rem;
}
#errorMsgDiv + div > div.zcsffieldsdiv .zcsffield input + span {
    display: none;
}
#REQUIRED_FIELD_TEXT + div input {
    width: 100%;
}
#SIGNUP_BODY_ALL {
    border: none !important;
}
#errorMsgDiv + div > div.zcsffieldsdiv + p + div {
    margin-top: 0rem !important;
}
/* end */

/* Contact Us Start */
.form-wrapper {
    gap: 2.5rem;
}
.gradient-box .form-area p {
    margin-bottom: 0rem !important;
}

.form-card {
    flex-basis: 74.33%;
    flex-shrink: 0;
    border-radius: 0.5rem;
    border: 1px solid var(--grey);
    padding: 2.5rem 3.125rem;
}

.contact-card {
    flex-grow: 1;
    border-radius: 0.5rem;
    border: 1px solid var(--grey);
    padding: 1.875rem;
}

.form-card h3 {
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.form-card p {
    color: var(--theme-body);
    max-width: 46.875rem;
    margin-bottom: 2.5rem
}

.custom-form .nf-form-fields-required,
.custom-form-layout .nf-form-fields-required {
    display: none;
}

.custom-form .nf-field-label {
    font-size: 0.875rem;
    color: var(--black-2);
    margin-bottom: 0.563rem !important;
}

.custom-form .nf-field-label label {
    font-weight: 500;
}

.custom-form .nf-field-element .ninja-forms-field {
    border-radius: 0.5rem;
    border: 1px solid var(--grey);
    background: #FAFAFA;
    padding: 0.688rem 0.75rem;
}

.custom-form .nf-field-element .ninja-forms-field:focus-visible {
    outline: none;
}

.custom-form .nf-error-wrap .nf-error-msg {
    font-size: 0.875rem;
}

.custom-form .nf-field-container,
.custom-form-layout .nf-field-container {
    margin: 0;
}

.custom-form nf-fields-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.custom-form nf-fields-wrap nf-field:has(.hidden-container){
    display: none;
}

.custom-form nf-fields-wrap nf-field,
.custom-form-layout nf-fields-wrap nf-field {
    margin-bottom: 0;
}

.custom-form nf-fields-wrap nf-field:last-child,
.custom-form nf-fields-wrap nf-field:nth-last-child(2),
.custom-form nf-fields-wrap nf-field:nth-last-child(3),
.custom-form.hidden-field nf-fields-wrap nf-field:last-child,
.custom-form.hidden-field nf-fields-wrap nf-field:nth-last-child(3)
{
    grid-column: span 2;
}

.custom-form nf-fields-wrap nf-field .submit-container input[type=submit],
.custom-form-layout nf-fields-wrap nf-field .submit-container input[type=submit] {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--theme);
    color: var(--white);
    font-weight: 700;
    border-color: var(--theme);
    transition: all 0.5s ease-in-out;
    margin-bottom: 0 !important;
}
.custom-form-layout nf-fields-wrap nf-field .submit-container input[type=submit]{
    width: auto;
}

.custom-form nf-fields-wrap nf-field .submit-container input[type=submit]:hover,
.custom-form-layout nf-fields-wrap nf-field .submit-container input[type=submit]:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), #0B6EA9
}

.custom-form .nf-field-element textarea {
    height: 6.25rem;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black-2);
    margin-bottom: 0;
}

.contact-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black-2);
    margin-block: 1rem 0;
}

.contact-card p {
    font-weight: 400;
    color: var(--black-2);
    margin: 0;
    max-width: 15rem;
}

.contact-icons {
    margin-top: 1.25rem;
}

.contact-icons a>img {
    transition: all 0.3s ease-in-out
}

.contact-icons a>img:hover {
    transform: translateY(-0.2rem);
    opacity: 0.8;
}

.map-wrapper {
    border: 1px solid var(--grey);
    width: 74.33%;
    border-radius: 0.5rem;
    margin-top: 2.5rem;
    background-color: #FCFCFC;
}

.map-wrapper .address {
    padding: 1.875rem;
}

.map-wrapper .address a {
    color: var(--theme);
}

.map-wrapper .address a:hover {
    text-decoration: underline;
}

.form-success {
    color: var(--theme) !important;
}

/* Contact Us End */

/* About us start */
.about-wrapper .container>.row {
    margin-bottom: 2.5rem;
}

.about-wrapper .container>.row:last-child {
    margin-bottom: 0;
}

.about-wrapper .about-content>p {
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 1.5rem;
}


.about-wrapper .about-content>p:last-child {
    margin-bottom: 0rem;
}

.meet-our-team-wrapper {
    background: var(--bg-light);
}

.team-detail-wrapper {
    margin-top: 2.5rem;
}

.team-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.team-details>.team-card {
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--grey);
    position: relative;
    /* background: var(--theme); */
}

.team-details>.team-card>.thumbnail>img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.team-details>.team-card:hover .thumbnail>img {
    transform: scale(1.08);
}

.team-details>.team-card>.thumbnail {
    aspect-ratio: 1 / 1.41;

}

.team-details>.team-card .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 1;
}

.team-details>.team-card .content h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.team-details>.team-card .content p {
    color: var(--white);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

.team-details>.team-card>.thumbnail:before {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(0deg, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0) 76%);
    z-index: 1;
}

.testimonial-slider,
.custom-slider-nav {
    padding-top: 5rem;
    margin-top: -5rem;
}

.testimonial-slider .testimonial-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2.5rem;
    background: var(--alice-blue);
    border-radius: 0.5rem;
    height: auto;
}

.testimonial-slider .testimonial-box .testimonial-icon {
    width: 1.875rem;
    height: 1.875rem;
}

.testimonial-slider .testimonial-box:before {
    content: "";
    display: block;
    background-image: url(https://demos.reliqus.com/bergenrealestate/wp-content/themes/bergen-reliqus-2506/images/icons/quote-icon.png);
    width: 1.875rem;
    height: 1.875rem;
    background-repeat: no-repeat;
    background-size: contain;
}

.testimonial-slider .testimonial-box .testimonial-details {
    display: flex;
    column-gap: 1.5rem;
    align-items: center;
    margin-top: auto;
}

.testimonial-slider .testimonial-box .testimonial-details .testimonial-author-img {
    width: 4.375rem;
    border-radius: 100%;
}

.testimonial-slider .testimonial-box .testimonial-details h6 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 2px;
}

.testimonial-slider .testimonial-box .testimonial-details small {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--theme);
}

.testimonial-slider .testimonial-box .testimonial-details .location-box:before {
    content: "";
    display: block;
    background-image: url(https://demos.reliqus.com/bergenrealestate/wp-content/themes/bergen-reliqus-2506/images/icons/location-dot.png);
    width: 0.875rem;
    height: 0.875rem;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0.25rem;
}

.testimonial-slider .button-wrapper,
.custom-slider-nav .button-wrapper {
    display: flex;
    position: absolute;
    gap: 0.5rem;
    top: 2rem;
    right: 0;
}

.testimonial-slider .swiper-button-next,
.testimonial-slider .swiper-button-prev,
.custom-slider-nav .swiper-button-next,
.custom-slider-nav .swiper-button-prev {
    position: static;
    padding: 0.625rem 1.063rem;
    width: 3.125rem;
    height: 2.25rem;
    border-radius: 1.125rem;
    border: 1px solid var(--grey)
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1rem;
    color: #2A2A33
}

.testimonial-slider .swiper-button-next.swiper-button-disabled,
.testimonial-slider .swiper-button-prev.swiper-button-disabled,
.custom-slider-nav .swiper-button-next.swiper-button-disabled,
.custom-slider-nav .swiper-button-prev.swiper-button-disabled {
    opacity: 0.4;
}

.about-content-wrapper img {
    float: right;
    margin-left: 2.5rem;
    margin-bottom: 1rem;
    width: 55%;
    border-radius: 0.5rem;
}

.about-content-wrapper p {
    margin-bottom: 1.5rem;
}

/* About us end */

/* Sell */

.content-with-image-blocks {
    display: flex;
    gap: 2.5rem;
}

.content-with-image-blocks.image-left-content-right {
    flex-direction: row-reverse;
}

.content-with-image-blocks>.content,
.content-with-image-blocks>.content-image {
    flex-basis: 50%;
    flex-grow: 1;
}

.content-with-image-blocks>.content-image img {
    width: 100%;
    border-radius: 0.75rem;
}

.content-with-image-blocks>.content>h2 {
    color: var(--navy);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}
.content-formatting h2 {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}
.content-formatting h2 b {
    font-weight: 700;
}
.content-with-image-blocks>.content .content-blocks {
    align-self: center;
}

.content-with-image-blocks>.content .content-blocks :is(ol, ul) {
    list-style: none;
    padding-left: 0;
    padding-top: 1.5rem;
}

.content-with-image-blocks>.content .content-blocks :is(ol, ul)>li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.content-with-image-blocks>.content .content-blocks :is(ol, ul)>li div.list-icon {
    min-width: 2.5rem;
    background-color: var(--theme);
    aspect-ratio: 1;
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    transform: translateY(-.25rem);
    flex-grow: unset;
}

.content-with-image-blocks>.content .content-blocks :is(ol, ul)>li>div {
    flex-grow: 1;
}

.content-with-image-blocks>.content .content-blocks :is(ol, ul)>li>div :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.content-with-image-blocks>.content .content-blocks :is(ol, ul)>li>div>p {
    margin-bottom: 0;
}

/* Sell end */

/* Get a Mortgage */
.loan-options-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.loan-options-grid .grid-card {
    padding: 3.75rem 2rem;
    border: 1px solid var(--grey);
    border-radius: 1.25rem;
    background: var(--white);
}

.loan-options-grid .grid-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black-1);
    margin: 0;
    line-height: 1.35;
}

.loan-options-grid .grid-card p {
    color: var(--black-1);
}

.loan-options-grid .grid-card a.btn-primary {
    padding: 0.25rem 0.75rem;
    border-radius: 6.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.loan-options-grid .grid-card .grid-inner-card,
.loan-steps-grid .step-grid-card {
    margin-top: 2.5rem;
    background-color: var(--sky-blue);
    padding: 2.5rem 2rem;
    border: 1px solid var(--grey);
    border-radius: 1.25rem;
}

.loan-options-grid .grid-card .grid-inner-card>ul li {
    color: var(--theme-body);
}

.loan-approval h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
    line-height: 1.35;
}

.loan-approval p {
    color: var(--theme-body);
    max-width: 35rem;
    margin: auto;
}

.loan-steps-grid {
    padding-block: 2.5rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    row-gap: 2.5rem;
}

.loan-steps-grid .step-grid-card {
    background-color: var(--white);
    margin-top: 0;
}

.loan-steps-grid .step-grid-card>div>span {
    position: absolute;
    transform: translateY(-150%);
    min-width: 2.5rem;
    background-color: var(--theme);
    aspect-ratio: 1;
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
}

.loan-steps-grid .step-grid-card p {
    color: var(--navy);
    font-size: 1.125rem;
    font-weight: 700;
}

.cta-with-form {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.cta-with-form .content-with-image-blocks>.content>h2 {
    font-size: 3.75rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.75rem
}

.cta-with-form .content-with-image-blocks>.content>.content-blocks p {
    color: var(--white);
    max-width: 37.5rem;
    margin: 0;
}

.cta-with-form .content-with-image-blocks>.content>.content-blocks ul,
.cta-with-form .content-with-image-blocks>.content>.content-blocks ol {
    margin: 0;
}

.cta-with-form .content-with-image-blocks>.content .content-blocks :is(ol, ul)>li {
    margin-bottom: 0.75rem;
    align-items: center;
}

.cta-with-form .content-with-image-blocks>.content .content-blocks :is(ol, ul)>li div.check-img-box{
    background-color: var(--white);
    transform: translateY(0);
    flex-grow: 0;
    padding: 0.625rem;
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-with-form .cta-form-card {
    padding: 2.5rem 3.125rem;
    border-radius: 0.5rem;
}

.news-slider .news-item-wrapper {
    height: 100%;
}

.news-slider .news-item {
    height: 100%;
}

.news-slider .swiper-slide {
    height: auto;
}

/* End */

/* 404 page */

.error-wrapper {
    display: flex
;
    gap: 5rem;
    align-items: center;
}
.error-wrapper > .content {
    width: 35%;
}
.error-wrapper > .content h1 {
    color: var(--black-1);
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}
.error-wrapper > .content p a {
    color: var(--black-1);
    text-decoration: underline;
    transition: var(--transition);
}
.error-wrapper > .content p a:hover {
    color: var(--theme);
}
.error-wrapper > .error-img {
        width: 65%;
}
.error-wrapper > .error-img img {
    width: 100%;
}
body.error404 .site-header {
border-bottom: 1px solid var(--grey);
}
/* end */

/* Agent css */
.agent-search-filter {
        display: flex;
    gap: 1rem;
    justify-content: space-between;
}
.agent-search-form form .input-group {
    max-width: 28rem;
}
.agent-search-filter {
    margin-bottom: 2.5rem;
}
.agent-search-form form .input-group input {
    min-height: 3.5rem;
    padding: 0 1rem;
    border-radius: 0.75rem 0 0 0.75rem;
}

.agent-search-form form .input-group .input-group-text {
    padding: 0 1.2rem;
    border-left: 1px solid var(--grey);
    background-color: var(--white);
    border-radius: 0 0.75rem 0.75rem 0;
}
.agent-search-form form .input-group .input-group-text svg {
    width: 1.5rem;
}
    .search-select {
    position: relative;
    width: 15.625rem; 
}

.search-select select {
    width: 100%;
    border: 0.0625rem solid var(--grey);
    border-radius: 0.3125rem;
    font-size: 1rem;
    min-height: 3.5rem;
    padding: 0 1rem;
    border-radius: 0 0.75rem 0.75rem 0;
}

/* .options-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 0.0625rem solid var(--grey); 
    border-top: none;
    max-height: 9.375rem;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.options-list div {
    padding: 0.5rem;
    cursor: pointer;
}

.options-list div:hover {
    background: #f0f0f0;
} */
.agent-search-by-town {
    display: flex
;
}
.agent-search-by-town .filter-by {
    display: flex
;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    border-radius: 0.75rem 0 0 0.75rem;
    border: 0.0625rem solid var(--grey);
    border-right: none;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: #F5FAFF;
}
.agent-about > h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
}
.pills-box-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.pills-box-wrapper h3 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}
.pills-box-wrapper .pills-box {
    font-size: 1rem;
    background-color: var(--sky-blue);
    border: 1px solid var(--grey);
    padding: 0.2rem 1.25rem;
    border-radius: 3rem;
    white-space: nowrap;
}
.commercial-details {
    display: flex;
    gap: 2rem;
    padding-left: 0;
    color: var(--navy);
}
.commercial-details li:first-child {
    list-style: none;
}
.commercial-details li span {
    font-weight: 700;
    margin-right: 0.4rem;
}
.agent-single .agent-profile {
    margin-block: 0 !important;
    position: relative;
    top: 2rem;
    left: 1.5rem;
}
.agent-single .agent-profile .profile-img::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--sky-blue);
    border-radius: 50%;
    z-index: -1;
    border: 1px solid var(--grey);
    clip-path: inset(80% 0 0 0);
}
#agent-testimonial-slider {
    padding-top: 4.5rem;
    margin-top: -3.5rem;
}
.agent-lead-form nf-fields-wrap {
    grid-template-columns: repeat(1, 1fr);
}
.agent-lead-form nf-fields-wrap nf-field {
    grid-column: span 1 !important;
}
.agent-contact-wrapper {
    margin-top: 9.9rem;
}
/* end */

/* Footer Css Start */
.footer {
    background: var(--charcoal-blue);
    position: relative;
}

footer.footer:before {
    content: "";
    display: block;
    background: rgb(31, 37, 45);
    width: 100%;
    height: 4rem;
    opacity: 1;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

.footer-sections {
    padding-block: 2.5rem;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.footer-menu .logo-container {
    flex-basis: 45%;
}

.footer-menu .footer-menu-container {
    flex-basis: 55%;
}

.footer-menu .logo-container p {
    font-weight: 500;
    color: var(--dark-grey);
    max-width: 23.438rem;
    margin-block: 1.25rem 0;
}

.footer-menu-container aside {
    display: flex;
    justify-content: space-between;
}

.footer-menu-container .widget_nav_menu>h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #EAECF0;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.footer-menu-container .widget_nav_menu ul.menu {
    list-style: none;
    padding: 0;
}

.footer-menu-container .widget_nav_menu ul.menu>li>a {
    color: var(--dark-grey);
    margin-bottom: 0.75rem;
    display: inline-block;
    transition: var(--transition);
}

.footer-menu-container .widget_nav_menu ul.menu>li>a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-sections .social-icons img {
    transition: all 0.3s ease-in-out;
}

.footer-sections .social-icons img:hover {
    transform: translateY(-0.5rem);
    opacity: 0.8;
}

.promotional-text p {
    color: var(--dark-grey);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.001rem;
}

.copyright {
    padding-block: 1.25rem;
    position: relative;
}

.copyright p {
    color: var(--dark-grey);
    text-align: center;
}

/* Footer Css End */

/* login/register css start */
body.woocommerce-account:has(.login-section) .site-main > .woocommerce{
    padding-block: 5rem;
}
.login-section h2{
    color: var(--navy);
    font-size: 2.625rem;
    font-weight: 700;
    line-height: 125%;
    margin-bottom: 1.25rem;
}
.login-section .u-column1{
    border-right: 1px solid var(--grey);
}
.login-section .u-column1,
.login-section .u-column2{
    padding-inline: 5rem;
}
.custom-form-layout label{
    font-size: 0.875rem;
    color: var(--navy);
    font-weight: 500 !important;
    margin-bottom: 0.563rem;
}
.custom-form-layout .mandatory{
    color: #FF0000;
}
body.woocommerce-account .login-section .custom-form-layout input,
body.woocommerce-account .custom-form-layout input,
.custom-form-layout input:not(.multiselect-wrapper input),
.custom-form-layout textarea,
.custom-form-layout select{
    display: block;
    width: 100%;
    padding: 0.774rem 0.75rem !important;
    border: 1px solid var(--grey) !important;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}
.custom-form-layout .multiselect-wrapper .choices{
    margin-bottom: 1.5rem;
}
.custom-form-layout .multiselect-wrapper .choices__inner{
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 0.575rem 0.75rem;
}
.custom-form-layout .multiselect-wrapper .choices__list--multiple{
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
}
.custom-form-layout .multiselect-wrapper .choices__input{
    display: none;
}
.custom-form-layout .multiselect-wrapper .choices__list--multiple .choices__item{
    background-color: var(--sky-blue);
    border: 1px solid var(--grey);
    color: var(--navy);
    font-size: 1rem;
    padding: 0.2rem 1.25rem;
    margin: 0;
}
.custom-form-layout .multiselect-wrapper .choices[data-type*=select-multiple] .choices__button{
    background-image: url('./images/icons/select-cross.svg');
    background-size: auto;
    border: 0;
    margin-right: 0;
    opacity: 1;
}
.custom-form-layout textarea{
    height: 9.375rem !important;
}
body.woocommerce-account .login-section .custom-form-layout input:focus-visible,
body.woocommerce-account .custom-form-layout input:focus-visible{
    outline: 0 !important;
}
body.woocommerce-account .login-section .custom-form-layout .show-password-input{
    transform: translateY(-100%);
}

body.woocommerce-account .login-section .custom-form-layout input[type="checkbox"],
input[type="checkbox"] {
    appearance: none;       
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.126rem;
    height: 1.126rem;
    border: 1px solid var(--theme) !important;
    border-radius: 50% !important;
    vertical-align: middle;
    padding: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0.5rem;
}

body.woocommerce-account .login-section .custom-form-layout input[type="checkbox"]:checked{
    background-color: var(--theme);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M10 16.4L6 12.4L7.4 11L10 13.6L16.6 7L18 8.4L10 16.4Z' fill='white'/></svg>");
    background-size: 140%;
    background-position: 50%;
}

.login-section .custom-form-layout .woocommerce-form-login__rememberme{
    color: #667085;
}
.login-section .custom-form-layout .lost_password{
    margin-top: 1.5rem;
}
.login-section .custom-form-layout .lost_password>a{
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
}

/* login register css end */

.lead-label{
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: var(--navy);
    font-weight: 500;
    opacity: 0.6;
    line-height: 145%;
}
.lead-data{
    margin: 0;
    color: var(--black-1);
    line-height: 150%;
}
.internal-link>.external-link-icon{
    display: none;
}
.alert-message{
    color: var(--black-1);
    margin-bottom: 1.25rem;
}
.alert-modal .btn-close{
    display: none;
}
.cstm-btn-group{
    display: flex;
    gap: 0.75rem;
}
.upload-user-img{
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.user-img-wrap{
    width: 9.375rem;
    height: 9.375rem;
    aspect-ratio: 1/1;
    border: 1px solid var(--grey);
    background-color: var(--grey);
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}
.custom-form-layout .upload-btn{
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--theme);
}

/* Blog Archive page End */

/* Dashboard Css Start */
body.woocommerce-page.woocommerce-account:has(.dashboard-card) .site-main{
    background-color: var(--sky-blue);
    padding-block: 2.5rem;
}
.dashboard-card .woocommerce-MyAccount-navigation{
    border-right: 1px solid var(--grey);
}
.dashboard-card{
    border: 1px solid var(--grey);
    border-radius: 1.25rem;
    background-color: var(--white);
}
.dashboard-btns .nav-item>.nav-link{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.502rem 1.25rem 1.502rem 2rem;
    border-radius: none;  
}
.dashboard-btns .nav-item>.nav-link{
    position: relative;
    color: #2A2A33;
    transition: var(--transition);
}
.dashboard-btns .nav-item:not(:first-child)>.nav-link {
    border-top: 0.5px solid var(--grey);
}
.dashboard-btns .nav-item>.nav-link img{
    filter: brightness(0);
}
.dashboard-btns .nav-item.is-active>.nav-link,
.dashboard-btns .nav-item>.nav-link:hover{
    background-color: #0B6EA90D;
    color: var(--theme);
}
.dashboard-btns .nav-item.is-active>.nav-link:before,
.dashboard-btns .nav-item>.nav-link:hover:before{
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 2px solid var(--theme);
}
.dashboard-btns .nav-item.is-active>.nav-link img,
.dashboard-btns .nav-item>.nav-link:hover img{
    filter: none;
}
.dashboard-body .title{
    color: var(--navy);
    font-size: 2rem;
    font-weight: 700;
    line-height: 130%;
}
.dashboard-body .sub-title{
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 140%;
}
.dashboard-body .desc{
    color: var(--navy);
    line-height: 150%;
    margin-bottom: 1.25rem;
}
.stats-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}
.stats-grid-item{
    border: 1px solid var(--grey);
    padding: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}
.stats-grid-item h2{
    color: var(--navy);
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 0;
}
.stats-grid-item p{
    color: var(--theme-body);
    line-height: 150%;
}
.btn-padding{
    padding: 0.625rem 1.25rem;
}
.dashboard-body .card-box{
    border-radius: 0.5rem;
}
.aspect-25{
    aspect-ratio: 1.25 / 1 !important;
}
.dashboard-body:has(.my-dashboard) > p:first-of-type,
.dashboard-body:has(.my-dashboard) > p:nth-of-type(2) {
    display: none;
}
.dashboard-card .card-box .table tbody tr:not(:last-child){
    margin-bottom: 0.75rem;
}
.dashboard-card .card-box .table tbody tr:first-child td{
    padding-top: 1.75rem;
}
.dashboard-card .card-box .table.table-card thead>tr>th{
    padding-bottom: 1.75rem;
    padding-right: 1.25rem;
}
.dashboard-card .card-box .table.table-card thead>tr .table-width{
    width: 29rem;
    min-width: 20rem;
}
.dashboard-card .offcanvas{
    z-index: 99999;
    width: 90%;
}
.price-range{
    max-width: 34.75rem;
}
.price-range{
    gap: 1.25rem;
}
body.woocommerce-page.woocommerce-lost-password .site-main>.woocommerce {
    max-width: 40rem !important;
    margin: 0 auto !important;
    padding-block: 5rem
}
	body.woocommerce-page.woocommerce-lost-password .site-main>.woocommerce .reset-password-form  input.woocommerce-Input,
    body.woocommerce-page.woocommerce-edit-account .site-main>.woocommerce .change-password-form  input.woocommerce-Input
    {
		margin-bottom:0rem !important; 
	}
/* Dashboard Css End */

/* Modal css start */
.modal-content{
    border: 1px solid var(--grey);
    border-radius: 1.25rem
}
.modal-title{
    margin-bottom: 1.25rem;
}
.modal-title h4>span{
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 135%;
    max-width:26.75rem;
}
.modal-title .btn-close{
    width: 1.5rem;
    height: 1.5rem;
    opacity: 1;
}
.modal-title p{
    font-size: 1rem;
    color:var(--theme-body);
    max-width:26.75rem;
}
/* Modal css end */

@media (min-width:1025px) {
    .cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(1) {
        grid-row: span 2;
    }

    .cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(2) {
        grid-row: span 1;
    }

    .cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(3) {
        grid-column: 2 / span 1;
        grid-row: 2 / span 1;
    }

    .cta-blocks-grid.grid-4 .cta-blocks-item:nth-child(4) {
        grid-row: span 2;
    }
    /* dashboard offcanvas start */
    .dashboard-card .offcanvas-md{
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        width: 20.714rem;
        min-height: 100vh;
        z-index: 10;
    }
    /* dashboard offcanvas end */
    .dashboard-toggler,
    .dashboard-card .offcanvas-header{
        display: none;
    }
}

@media (max-width:1500px) {
    html {
        font-size: 15px;
    }
}

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

@media (max-width:1280px) {
    html {
        font-size: 13px;
    }

    .footer-menu .logo-container {
        flex-basis: 30%;
        padding-right: 2rem;
    }

    .footer-menu .footer-menu-container {
        flex-basis: 70%;
    }
    .hero-slider img,
    .hero-banner{
        height: 23rem;
    }
}

@media (max-width:1024px) {
    html {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    :is(.town-listing, .agent-listing),
    .all-towns-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-blocks-grid.grid-4,
    .cta-blocks-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail {
        aspect-ratio: 1 / 0.72 !important;
    }

    .cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content,
    :is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .content,
    .news-card .news-item>.news-item-wrapper .content {
        padding: 2rem;
    }

    .cards .card-item {
        padding: 2rem 1.5rem;
    }

    .news-wrapper .col-lg-7,
    .news-wrapper .col-lg-5 {
        width: 100%;
    }

    .news-wrapper {
        gap: 1.5rem;
    }

    .gradient-box {
        padding: 2rem 2rem;
    }

    .gradient-box .content-area>h3 {
        font-size: 2rem;
    }

    .custom-nav-list {
        gap: 1rem
    }

    .custom-nav-item>.btn-grp {
        gap: 0.65rem;
    }

    .navbar-brand img {
        width: 85%;
    }

    /* .navbar-light .navbar-nav .nav-link {
        font-size: 0.875rem;
    } */

    .footer-menu .logo-container {
        flex-basis: 100%;
        padding-right: 0;
    }

    .footer-menu .footer-menu-container {
        flex-basis: 100%;
    }

    .footer-menu .logo-container p {
        max-width: 100%;
        margin-block: 1.25rem;
    }

    .logo-container {
        text-align: center;
    }

    .footer-sections {
        padding-block: 2rem;
    }

    .footer-sections .social-icons img {
        width: 2.25rem;
        height: 2.25rem;
    }

    .py-space {
        padding-block: 4rem;
    }

    .pt-space {
        padding-block-start: 4rem;
    }

    .pb-space {
        padding-block-end: 4rem;
    }

    .team-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper .about-img img {
        margin-bottom: 1.5rem;
    }

    .about-content-wrapper img {
        float: unset;
        width: 100%;
        margin-left: 0;
        margin-bottom: 1.5rem;
    }

    .about-content-wrapper {
        margin-top: 2rem;
    }

    /* contact us */
    .form-wrapper {
        gap: 1.8rem;
    }

    .form-card {
        flex-basis: 68%
    }

    .map-wrapper {
        width: 68%;
    }

    .form-card,
    .contact-card,
    .map-wrapper .address,
    .cta-with-form .content-with-image-blocks .cta-form-card {
        padding: 1.8rem;
    }

    .cta-with-form .content-with-image-blocks>.content>h2 {
        font-size: 2rem !important;
    }

    .loan-options-grid,
    .loan-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .town-single-sidebar {
        display: none;
    }
    .town-single-wrapper>.town-single-content {
        width: 100%;
    }
    .grid-box.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    :is(.home-value, .demographics) .card-box {
        padding: 1.5rem 1.5rem;
    }
    .card-box, .p-40 {
        padding: 1.5rem;
    }
    .grades-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1.25rem;
    }
    .agent-data-wrapper {
        flex-direction: column;
    }
    .agent-data-wrapper>.agent-detail {
        width: 100%;
    }
    .agent-data-wrapper>.agent-contact-form {
        width: 100%;
    }
    .error-wrapper {
        gap: 3rem;
    }
    .error-wrapper > .content, .error-wrapper > .error-img {
        width: 50%;
    }
    .error-wrapper > .content h1 {
        font-size: 2.5rem;
    }
    .category-details {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-column-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-column-wrapper .featured-news {
        grid-column: span 2;
    }

    .post-details-wrapper {
        flex-direction: column;
    }

    .recent-post.news-list .news-item .news-item-wrapper .thumbnail-link {
        flex-basis: 20%;
    }

    .recent-post.news-list .news-item .news-item-wrapper .thumbnail-link .thumbnail {
        width: 100%;
        height: 100%;
        border-radius: 0.5rem;
        overflow: hidden;
        aspect-ratio: 1/1;
    }

    .menu-btn.btn-primary {
        margin-right: 0;
    }
    .agent-about > h3 {
        padding-top: 1.5rem;
    }
    .login-section .u-column1, 
    .login-section .u-column2{
        padding-inline: 2rem;
    }
    .dashboard-card .offcanvas-header{
        z-index: 99999;
    }
    .dashboard-toggler{
        margin-bottom: 1rem;
    }
    .hero-slider img,
    .hero-banner{
        height: 48rem;
    }
    .hero-slider img{
        object-position: top;
    }
    .hero-content-wrapper{
        transform: none;
        top:auto;
        bottom:0;
        left: 0;
    }
}

@media (max-width: 991px) {
    .form-card {
        flex-basis: 62%
    }

    .map-wrapper {
        width: 62%;
    }

    .content-with-image-blocks,
    .content-with-image-blocks.image-left-content-right {
        flex-direction: column;
    }

    .cta-with-form .content-with-image-blocks>.content>.content-blocks p {
        max-width: 100% !important;
    }

    .cta-blocks-grid.grid-style-2.grid-5 .cta-blocks-item {
        grid-column: span 3;
    }

    .cta-blocks-grid.grid-style-2.grid-5 :is(.cta-blocks-item:nth-child(4), .cta-blocks-item:nth-child(5)) .thumbnail {
        aspect-ratio: 1 / 0.72;
    }

    .custom-nav-list {
        gap: 0.9rem
    }
    .agent-contact-wrapper {
        margin-top: 3rem;
    }
    .login-section h2{
        font-size: 2.4rem;
    }
    .user-img-wrap{
        width: 7.5rem;
        height: 7.5rem;
    }
    .price-range{
        max-width: 100%;
        width: 100%;
    }
    .hero-slider img, .hero-banner {
        height: 44rem;
    }
}

@media (min-width: 767.5px) {
    .navbar-expand-md .offcanvas {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        background-clip: padding-box;
        outline: 0;
        position: static;
        z-index: auto;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        transition: none;
    }

    .navbar-expand-md .offcanvas .offcanvas-header {
        display: none;
    }

    .navbar-expand-md .offcanvas .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
    }

    .navbar-brand img {
        max-width: 10.375rem;
    }

    .custom-nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: -0.031rem;
        padding: 0;
    }

    .modal-size{
        max-width: 37.5rem;
        width: 100%;
    }
    .alert-modal{
        max-width: 29.375rem;
        width: 100%;
    }
    .modal-body{
        padding: 2.5rem 3.125rem;
    }
}

@media (max-width:767px) {
    .hero-content h1 {
        font-size: 2.25rem;
        text-align: center;
        line-height: 1.25;
    }

    .breadcrumb-wrapper h1 {
        font-size: 2.25rem;
    }

    .hero-content .asl_w_container #ajaxsearchlite1 .probox .proinput input.orig,
    .hero-content .asl_w_container .probox .promagnifier {
        height: 3.3rem;
    }

    .hero-content .asl_w_container .probox .promagnifier {
        width: 4rem;
    }

    .hero-banner,
    .hero-banner .hero-video,
    .hero-banner .hero-video>video, 
    .hero-slider img
    {
        height: 35rem;
    }
    /* .hero-slider img{
        object-position: top;
    } */
    .hero-content-wrapper{
        padding-block: 2rem;
    }
    .hero-content .asl_w_container{
        margin-top: 1.5rem;
        margin-inline: auto;
    }

    :is(.town-listing, .agent-listing),
    .all-towns-list {
        grid-template-columns: repeat(2, 1fr);
    }

    :is(.town-listing, .agent-listing) {
        gap: 1rem;
    }

    :is(.large-title) :is(h2, h1, h3),
    .result-title {
        font-size: 1.75rem;
    }

    .cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content,
    :is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .content,
    .news-card .news-item>.news-item-wrapper .content {
        padding: 1.35rem;
    }

    :is(.town-listing, .agent-listing)>:is(.town-item, .agent-item) .content h3 {
        font-size: 1.1rem;
    }

    .cta-blocks-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .content h3,
    .cards .card-item .content h3 {
        font-size: 1.35rem;
    }

    .cta-blocks-grid {
        gap: 1rem;
    }

    .cards,
    .cards.card-2,
    .cards.card-4 {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .cards.card-style-2 .card-item {
        gap: 1.25rem;
        padding: 2rem 1.5rem;
        flex-direction: column;
    }

    .cards.card-style-2 .card-item .icon {
        min-width: auto;
        max-width: 100%;
    }

    .cards.card-style-2 .card-item .content {
        text-align: center;
        align-items: center;
    }

    .news-card .news-item>.news-item-wrapper .thumbnail {
        aspect-ratio: 1 / 1.225;
    }

    .news-card .news-item>.news-item-wrapper .content h6 {
        font-size: 1.1rem;
    }

    .news-card .news-item>.news-item-wrapper .content h3 {
        font-size: 1.35rem;
    }

    .news-list .news-item .news-item-wrapper .thumbnail-link {
        min-width: 7rem;
        max-width: 7rem;
    }

    .news-list .news-item .news-item-wrapper .thumbnail-link .thumbnail {
        aspect-ratio: 1 / 1;
    }

    .news-list .news-item .news-item-wrapper {
        align-items: flex-start;
    }

    .gradient-box {
        padding: 1.35rem 1.35rem;
    }

    .gradient-box .content-area {
        width: 100%;
    }

    .gradient-box .content-area>h3 {
        font-size: 1.75rem;
    }

    .cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail,
    .cta-blocks-grid .cta-blocks-item>.cta-blocks-item-wrapper .thumbnail>img {
        aspect-ratio: 1 / 1 !important;
    }

    .cta-blocks-grid.grid-style-2.grid-5 :is(.cta-blocks-item:nth-child(4), .cta-blocks-item:nth-child(5)),
    .cta-blocks-grid.grid-style-2.grid-5 .cta-blocks-item {
        grid-column: span 1;
    }

    /* for admin-bar */
    body.admin-bar .offcanvas-end {
        top: 3rem;
    }

    header>.navbar,
    .offcanvas-header {
        padding-block: 1.25rem !important;
    }
    .user-logged-in>.nav-link{
        padding: 0;
    }

    .custom-offcanvas-body {
        padding: 0;
        border-top: 1px solid var(--grey);
    }

    .custom-offcanvas-body .custom-nav-list {
        height: 100%;
    }

    .custom-offcanvas-body .custom-nav-item {
        border-bottom: 1px solid var(--grey);
    }

    .custom-offcanvas-body .custom-nav-item>.btn-grp {
        padding: 1.25rem 0.938rem;
        gap: 0.75rem;
    }

    .custom-offcanvas-body .custom-nav-item>.btn-grp .btn {
        width: 50%;
    }

    .navbar-light .navbar-nav .custom-nav-item>.nav-link {
        padding: 1.407rem 0.938rem;
        font-size: 1.125rem;
        display: flex;
    }

    .navbar-light .navbar-nav .custom-nav-item>.nav-link:hover {
        color: var(--black-1);
    }

    .navbar-light .navbar-nav .custom-nav-item>.nav-link.show {
        color: var(--black-1);
        font-weight: 700;
    }

    .custom-dropdown-menu.show>li a {
        color: var(--theme);
    }
    .user-logged-in .custom-dropdown-menu.show>li a{
        color: var(--black-2);
    }

    .custom-nav-list {
        gap: 0;
    }

    .custom-offcanvas-body .custom-dropdown-menu {
        border: none;
        border-top: 1px solid var(--grey);
    }

    .custom-offcanvas-body .custom-dropdown-menu li {
        border: none !important;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
        padding-left: 1.25rem;
        border-left: 2px solid var(--grey);
    }

    .dropdown-arrow img {
        transition: transform 0.3s ease;
    }

    .nav-link.show>.dropdown-arrow img {
        transform: rotate(180deg);
    }

    /* .menu-btn {
        width: 44%;
        display: flex;
        position: absolute;
        bottom: 1.334rem;
        left: 0.938rem;
        border: 1px solid var(--theme) !important;
    } */

    /* .menu-btn a {
        margin: auto;
    } */

    /* .menu-btn.btn-border {
        right: 0.938rem;
        left: auto;
    } */

    .footer-menu-container aside {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer-menu-container aside .widget_nav_menu {
        flex-basis: 33.33%;
    }

    .py-space,
    .body.woocommerce-account:has(.login-section) .site-main > .woocommerce {
        padding-block: 3.334rem;
    }

    .pt-space {
        padding-block-start: 3.334rem;
    }

    .pb-space {
        padding-block-end: 3.334rem;
    }

    :is(.large-title)+ :is(p) {
        margin-bottom: 2rem;
    }

    :is(.large-title) :is(h3), .content-formatting h2  {
        font-size: 1.2rem;
    }
   

    .pt-40 {
        padding-top: 2rem;
    }

    /* contact us */
    .form-wrapper {
        flex-wrap: wrap;
    }

    .form-card h3 {
        font-size: 1.5rem;
    }

    .form-card p {
        margin-bottom: 1rem;
    }

    .form-card,
    .cta-with-form .content-with-image-blocks .cta-form-card {
        flex-basis: 100%;
        padding: 1rem;
    }

    .contact-card,
    .map-wrapper .address{
        padding: 1rem;
    }

    .custom-form nf-fields-wrap {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .custom-form nf-fields-wrap nf-field:last-child,
    .custom-form nf-fields-wrap nf-field:nth-last-child(2),
    .custom-form nf-fields-wrap nf-field:nth-last-child(3),
    .custom-form.hidden-field nf-fields-wrap nf-field:last-child,
    .custom-form.hidden-field nf-fields-wrap nf-field:nth-last-child(3) {
        grid-column: span 1;
    }

    .form-wrapper .custom-html-widget,
    .map-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .content-with-image-blocks>.content>h2,
    .cta-with-form .content-with-image-blocks>.content>h2 {
        font-size: 1.75rem !important;
    }

    .content-with-image-blocks {
        gap: 1.25rem;
    }

    /* contact us end */

    .loan-options-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .loan-options-grid .grid-card,
    .loan-options-grid .grid-card .grid-inner-card {
        padding: 1rem;
    }

    .loan-steps-grid .step-grid-card {
        padding: 1.5rem;
    }

    .loan-steps-grid .step-grid-card>div>span {
        transform: translateY(-120%);
    }

    .loan-options-grid .grid-card .grid-inner-card {
        margin-top: 1rem;
    }

    .testimonial-slider,
    .custom-slider-nav {
        margin-top: -2rem;
    }

    .testimonial-slider .button-wrapper,
    .custom-slider-nav .button-wrapper {
        top: 2.5rem;
        right: auto;
    }

    .news-column-wrapper .featured-news .thumbnail img {
        aspect-ratio: 1 / 1;
    }
    .town-single-about, .grades-box {
        flex-direction: column;
    }
    .town-single-about .content , .town-single-about .featured-image,
     .grades-box>.grades-box-item.over-all, .grades-box>.grades-box-item:last-child {
        width: 100%;
    }
    .card-title h2, .home-value .card-box h3, .demographics .card-box h5 {
        font-size: 1.5rem;
    }
        .grid-box.grid-4, .grid-box.grid-3, .grades-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .grades-list {
        gap: 0.75rem;
    }
    .card-box, :is(.home-value, .demographics) .card-box,
    .p-40 {
        padding: 1.35rem;
    }
    .table-card td, .table-card thead>tr>th {
        font-size: 1rem;
    }
    .agent-data-wrapper>.agent-detail .contact-details ul>li{
        flex-wrap: wrap
    }
    .agent-data-wrapper>.agent-detail .contact-details ul>li span:nth-child(1) {
        width: 100%;
    }
    .agent-data-wrapper>.agent-detail .contact-details ul>li span:nth-child(2) {
        display: none;
    } 
    .error-wrapper {
        gap: 1.5rem;
        flex-direction: column;
    }
    .error-wrapper > .content, .error-wrapper > .error-img {
        width: 100%;
        text-align: center;
    }
     .agent-search-filter {
        flex-direction: column;
    }
    .agent-search-form form .input-group {
        max-width: 100%;
    }
    .agent-search-by-town .filter-by {
        white-space: nowrap;
    }
    .agent-search-by-town .filter-by + form, .agent-search-by-town .filter-by + form *  {
        width: 100%;
    }
    .category-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .news-column-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .news-column-wrapper .featured-news {
        grid-column: span 1;
    }

    .news-column-wrapper .featured-news .content {
        padding: 1.35rem;
    }

    .news-column-wrapper .featured-news .news-item-wrapper .thumbnail {
        aspect-ratio: 1;
    }

    .category-details>.category-card .content {
        padding: 1.35rem;
    }

    .user-logged-in {
        margin-left: 0;
    }
    .user-logged-in .user-img>.photo{
        width: 2.2rem;
        height: 2.2rem;
    }
    .agent-single .agent-profile .content h3 {
        font-size: 1.5rem;
    }
    .agent-single .agent-profile {
        top: 0;
        padding-bottom: 1.5rem;
        left: 0;
    }
    .agent-single .agent-profile .profile-img {
        min-width: 6rem;
        max-width: 6rem;
        padding: 0.5rem;
        
    }
    .agent-single .agent-profile .profile-img::before {
        clip-path: inset(0% 0 0 0);
    }
    .agent-single .agent-profile .content h6 {
        font-size: 0.80rem;
    }
    .agent-about > h3 {
        font-size: 1.125rem;
        padding-top: 0;
    }
    .pills-box-wrapper .pills-box {
        font-size: 0.80rem;
    }
    .commercial-details {
        flex-direction: column;
        gap: 1rem;
        list-style: none;
    }
    .agent-testimonial-card .card-title {
        margin-bottom: 3rem;
    }
    body.woocommerce-account .login-section .custom-form-layout input,
    body.woocommerce-account .custom-form-layout input 
    .custom-form-layout input, 
    .custom-form-layout textarea, 
    .custom-form-layout select,
    .mb-40,
    .mb-20{
        margin-bottom: 1rem !important;
    }
    .login-section .custom-form-layout .lost_password{
        margin-top: 1rem;
    }
    .login-section .u-column1, 
    .login-section .u-column2{
        padding-inline: 0;
    }
    .grid-box.grid-2{
        grid-template-columns: 1fr;
    }
    .login-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .login-section .u-column1{
        border-right: none;
        border-bottom: 1px solid var(--grey);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .dashboard-body .title{
        font-size: 1.5rem;
    }
    .dashboard-body .btn-padding,
    .dashboard-body .btn-primary,
    .dashboard-body .btn-border{
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
    .stats-grid{
        gap: 1rem;
    }
    .stats-grid-item h2{
        font-size: 2rem;
    }
    .stats-grid-item{
        gap: 1rem;
        padding: 1.2rem;
    }
    .modal-title h4>span{
        font-size: 1.35rem;
    }
    .price-range{
        gap:0;
    }
    .user-img-wrap {
        width: 5rem;
        height: 5rem;
    }
    .lead-label{
        font-size: 0.688rem;
    }
    body.woocommerce-page.woocommerce-lost-password .site-main>.woocommerce {
        padding-block: 3rem !important;
    }
    .town-map iframe{
        height: 25rem;
    }
    .demographics .card-box h3{
        min-height: auto;
    }
    #errorMsgDiv + div > div.zcsffieldsdiv, #errorMsgDiv + div {
        flex-direction: column;
    }
    #REQUIRED_FIELD_TEXT + div {
    width: 100%;
    padding: 0rem !important;
}
.gradient-box {
    flex-direction: column;
}
.gradient-box .form-area {
    width: 100%;
}
}

@media(max-width: 576px) {
    .custom-nav-list {
        gap: 0;
        max-height: 65vh;
        overflow-y: scroll;
    }

    .navbar-light .navbar-brand {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .navbar-brand img {
        margin-bottom: 1.25rem;
    }

    .menu-text {
        font-size: 1rem;
        font-weight: 600;
        color: var(--charcoal-blue);
    }

    .footer {
        padding-block: 0.5rem;
    }

    .logo-container {
        text-align: left;
    }

    .footer-menu-container {
        margin-top: 1.25rem;
    }

    .footer-menu-container aside .widget_nav_menu {
        flex-basis: 100%;
    }

    .footer-menu-container aside .widget_nav_menu:not(:last-child) {
        margin-bottom: 2rem;
    }

    .footer-menu-container .widget_nav_menu>h2 {
        margin-bottom: 0.75rem;
    }

    .footer-menu-container .widget_nav_menu ul.menu>li>a {
        font-size: 0.938rem;
        margin-bottom: 0;
    }

    .footer-menu-container .widget_nav_menu ul.menu {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .footer-menu-container .widget_nav_menu ul.menu>li:not(:last-child) {
        border-right: 1px solid var(--dark-grey);
        padding-right: 0.75rem
    }

    .promotional-text p {
        font-size: 0.813rem;
    }

    .footer-sections .social-icons {
        justify-content: flex-start !important;
        gap: 0.75rem !important;
    }

    .copyright p {
        font-size: 0.688rem;
        text-align: left;
    }

    .team-details {
        grid-template-columns: repeat(1, 1fr);
    }

    .loan-steps-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .category-details {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
    .menu-sm-100{
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .hero-banner,
    .hero-banner .hero-video,
    .hero-banner .hero-video>video, 
    .hero-slider img
    {
        height: 33rem;
    }
    .hero-content-wrapper{
        padding-block: 4rem;
    }
    .town-single-about .content .float-img {
        width: 100%;
        float: none;
        margin: 1rem 0;
    }
}