/**
Theme Name: williamsburg
Author: Blue Atlas Marketing
Author URI: https://www.blueatlasmarketing.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: williamsburg
Template: astra
*/

@font-face {
    font-family: 'Mogan';
    src: url('fonts/Mogan-Regular.woff2') format('woff2'),
         url('fonts/Mogan-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.s__hover{
	overflow: hidden
}
.s__hover img{
	transition-duration: 0.3s
}
.s__hover img:hover{
	transform: scale(1.15)
}


/* PROPERTIES PAGE */
.ba .type-properties .es-listing__image .es-listing__image__background,
.ba .r__related_properties li.kb-query-item.type-properties .ba_property_featured_img .kt-inside-inner-col,
.es-listing .es-listing__image .slick-slide {
    background-size: auto 113%;
    transition: all 0.3s ease-in-out;
    transition: background-size 0.3s ease-in-out;
    will-change: background-size;
}
.ba .es-listing .es-listing__title{
	line-height: 1.2em;
    display: block;
    -webkit-line-clamp: none;
    -webkit-box-orient: horizontal;
    overflow: visible;	
}

.ba .type-properties:hover .es-listing__image .es-listing__image__background,
.ba .r__related_properties li.kb-query-item.type-properties:hover .ba_property_featured_img .kt-inside-inner-col,
.es-listing:hover .es-listing__image .slick-slide {
    background-size: auto 125%;
}
.ba .es-listing a{
	color: #002F49
}

.ba .js-es-listings.js-es-entities.es-listings.es-listings--grid-2 {
  max-height: 1000px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}
.ba .js-es-listings.js-es-entities.es-listings.es-listings--grid-2::-webkit-scrollbar {
  width: 8px;
}
.ba .js-es-listings.js-es-entities.es-listings.es-listings--grid-2::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.ba .js-es-listings.js-es-entities.es-listings.es-listings--grid-2::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.ba .js-es-listings.js-es-entities.es-listings.es-listings--grid-2::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* ul.es-listing__terms li {position: relative;padding-left: 50px;text-transform: uppercase;}
ul.es-listing__terms li:before {position: absolute;content: 'Available';left: 0;}
ul.es-listing__terms li{
	display: flex;
	align-items: center
}
ul.es-listing__terms li a{
	padding-left: 4px
} */
.es-properties .es-properties__list .es-listings__wrap-inner{
	padding-right: 0!important
}
.s__property_list .es-properties__list{
	margin-left: 0!important
}



.ba .es-search{
	background-color: transparent;
	padding: 0!important
}
.ba .es-properties .es-properties__search{
	flex: 0 0 calc(100% - 30px)!important;
	margin: 0 auto 100px auto!important
}
.home .es-properties__search, .ba .custom-filter-wrapper{
	background: #FFFFFF;
	box-shadow: 0px 0px 13.8px rgba(0, 0, 0, 0.1);
	max-width: 965px;
    margin: auto;
	padding: 25px;
    margin-bottom: 60px;
}
.ba .es-field:not(:last-child):not(.es-field--checkbox-item-bordered):not(.es-field--radio-item-bordered):not(label){
	padding-bottom: 0!important
}
.ba .es-search form h3, .es-search form .es-field__label{
	display: none!important
}
.ba #properties-dropdown{
    max-width: 220px;
    border-width: 0;
    box-shadow: none;
	cursor: pointer;
	font-weight: 500;
	color: #002F49;
	font-size: 18px;
	font-family: "Degular", sans-serif;
}
.ba .es-field .select2-container .select2-results__options .select2-results__option{
	color: #002F49;
	font-size: 18px;
	font-family: "Degular", sans-serif;
	text-transform: uppercase
}
.ba .select2-container--open .select2-dropdown{
	left: 68px!important;
	padding: 6px;
	border-top: 1px solid #cfd8dc;
	width: 175px !important;
    border-radius: 6px;
}
.ba .select2-search--dropdown{
	padding: 0!important
}
.ba .es-field .select2-container .select2-selection .select2-selection__arrow b:before{
	display: block
}
.ba .es-field .select2-container .select2-selection{
	border-width: 0!important;
	color: #002F49;
	font-size: 20px!important;
	font-family: "Degular", sans-serif;	
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: 36px
}
.select2-container--open .select2-selection__arrow{
	height: 48px!important;
}
.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered{
	color: #002f49!important;
	padding: 0!important
}
.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered .select2-selection__placeholder,
.ba .es-icon_chevron-bottom:before, .ba .es-field .select2-container .select2-selection .select2-selection__arrow b:before{
	color: #002f49
}
.ba .es-search__address, .ba .js-es-save-search, .ba .es-btn[type=reset],
.ba .es-field .select2-container .select2-search__field{
	display: none!important
}
.ba .es-btn.es-btn--primary[type=submit]{
	font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	transform: translateY(-5px);
}
.ba .es-icon.es-icon_search{
	margin: 0!important
}
.ba .es-listing__content{
	padding: 0!important
}
.ba .es-listing__title, .r__related_properties .es-listing__title h3{
	font-size: 24px!important;
	text-transform: uppercase;
	margin-top: 30px!important;
	margin-bottom: 20px!important;
	font-family: "Degular", sans-serif;
	font-weight: 600!important
}

.ba .es-listing{
	box-shadow: none!important
}
.ba .es-address{
	font-size: 18px!important;
	text-transform: uppercase;
	max-width: 250px;
	font-family: "Degular", sans-serif;
	margin-bottom: 12px !important;
}
.ba .ba-es-link{
	font-family: 'Degular';
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #E5615F!important;
}


/* PROPERTY MAP */
.ba .es-properties .es-properties__list {
	flex: 1 0 calc(50% - 30px);
}
.ba .es-properties.es-properties--hfm .es-listings {
	grid-template-columns: 1fr;
}
.ba .es-listings-filter.js-es-listings-filter, .es-property__control.es-listing--hide-on-list {
	display: none;
}
.ba .es-properties .es-properties__list .es-listings__wrap-inner {
	padding-right: 50px;
}
.ba a.es-slider__item.js-es-image {
	background-position: center bottom;
}
.ba ul.js-es-control.es-control {
	display: none;
}
.ba .es-map-popup {
	max-width: 450px;
}


/* PROPERTY SEARCH */
.r__properties .custom-dropdown {
    position: relative;
    z-index: 999;
}
.s__home_page .custom-dropdown{
	left: 0
}
.custom-dropdown .dropdown-toggle {
    cursor: pointer;
}
.custom-dropdown .dropdown-toggle > span{
	font-weight: 500;
}
.custom-dropdown .dropdown-toggle .arrow {
    /*border: solid #002f49;
    border-width: 0 2px 2px 0;*/
    display: inline-block;
	position: relative;
    padding: 4px;
	margin-left: 30px;
    transition: transform 0.3s ease;
}
.custom-dropdown .dropdown-toggle .arrow.down:after {
    position: absolute;
    content: '\f112';
    font-family: 'es-icon';
    font-weight: 400;
    font-size: 21px;
    font-style: normal;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
}
.page-properties .custom-dropdown .dropdown-toggle .arrow.down:after {right: -6px;}
.es-select2__dropdown .select2-results__option--highlighted[aria-selected]{
	color: #fff!important
}
/*.custom-dropdown .dropdown-toggle .arrow.down {
    transform: translateY(-3px) rotate(45deg)
}*/
.custom-dropdown.active .dropdown-toggle .arrow.down {
    transform: rotate(-180deg);
}
.custom-dropdown .dropdown-menu {
    position: absolute;
    top: 110%;
/*     left: 0; */
    width: 100%;
    max-height: 250px;
	max-width: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
	padding: 0
}

/* Highlighted state */
.dropdown-menu li a.active {
  background-color: #e5615f;
  color: #fff;
}

.custom-dropdown.active .dropdown-menu {
    display: block;
	padding: 10px 0
}
.custom-dropdown .dropdown-menu li {
    list-style: none;
    margin: 0;
}
.custom-dropdown .dropdown-menu li a {
    display: block;
    padding: 6px 15px;
    text-decoration: none;
    transition: background 0.2s;
	text-transform: uppercase;
	line-height: 1.2em;
}
.custom-dropdown .dropdown-menu li a:hover {
    background-color: #e5615f;
	color: #fff
}
.s__search_wrapper .es-listings{
	padding: 0!important
}
.s__search_wrapper .es-properties__map{
	margin-right: 0!important
}

/* ABOUT PAGE */
.ba .sp-team-pro.sptp-section.popup-open{
	max-width: 700px!important
}
.ba .sptp-name{
	font-weight: 700!important
}
.ba .sptp-member-email span, .ba .sptp-member-mobile span{
	font-size: 0!important
}
.ba .ba-sptp-contact-wrapper{
	display: flex;
    align-items: center;
    min-width: 110px;
    margin-right: auto;
	max-width: 120px
}
.ba .sptp-member-email span::after{
	content: 'EMAIL / ';
	font-size: 18px
}
.ba .sptp-member-mobile span::after{
	content: 'PHONE';
	font-size: 18px
}
.ba .sptp-member-desc{
	margin-top: 30px!important
}
.ba .sptp-member-avatar-area .swiper-wrapper{
	height: auto
}
.ba .sptp-member-popup-img img{
	width: 100%;
	max-height: 450px;
	object-fit: cover;
	object-position: 0px -25px;
}

.sptp-popup-item .sptp-member-email, .sptp-popup-item .sptp-member-mobile {display: inline-block;width: auto;float: left;}
.sptp-popup-item .sptp-member-mobile {margin-left: 5px;}
.sp-team-pro.sptp-section.style-1 .sptp-popup-item{min-height: 70vh !important;max-height: 70vh !important;}

.ba .sptp-member{
	display: block;
	margin-bottom: 0
}
.ba .sptp-profession-text{
	font-size: 18px!important;
	margin-top: 10px!important
}
.ba .sptp-popup-item .sptp-popup-content-main{
	display: block!important
}
.ba .sptp-popup-item  .sptp-member-avatar-area{
	max-width: 100%!important;
	margin-right: auto!important
}
.ba .sptp-member-avatar-img{
	border-width: 0!important
}
.ba .sptp-member-avatar-img img{
	width: 100%
}
.ba .sptp-member-avatar-img {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}
.ba .sptp-member-avatar-img:hover{
    filter: grayscale(0%);
}






/* GLOBAL */
.wp-block-kadence-advancedbtn .kb-button{
	max-width: 430px;
	width: 100%;
	font-weight: 600
}
.w_100 img{
	width: 100%
}
.hero_img img{
	max-height: 790px;
    object-fit: cover;
}
.wp-block-kadence-advancedbtn .kb-button:hover{
	transition-property: all;
    transition-duration: .25s;
    transition-timing-function: ease-in-out;
}
body {
  font-family: "Degular", sans-serif;
}
h1, .font_mogan{
	font-family: "Mogan", sans-serif;
	font-weight: 400!important
}
h2, h3, h4, h5, h6 {
  font-family: "Degular", sans-serif;
  font-weight: 700;
}
.es-powered{
	display: none
}
.mw_240{
	max-width: 240px!important
}

/* HEADER */
.ast-header-button-1 .ast-custom-button:hover{
	color: #002F49!important;
	border-color: #002F49!important
}
.ast-button-wrap .ast-mobile-menu-trigger-minimal:focus {
	border-width: 0px !important;
	outline: none;
}
.ast-mobile-popup-drawer.active .menu-toggle-close:focus {
	border-width: 0px !important;
	outline: none;
}
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
	border-width: 0px !important;
	outline: none;
}
.ast-mobile-header-wrap .ast-mobile-header-content, .ast-desktop-header-content{
	background-color: transparent!important
}
.ast-desktop-header-content{
    height: 100vh;
    width: 505px;
    background-color: #fff!important;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
/* header .mobile-menu-toggle-icon::before{
	content: url(https://blueatlassites.com/williamsburg/wp-content/uploads/2025/08/Hamburger-Menu.png);
    transform: translate(30px, 3px);
}
header svg.ast-mobile-svg.ast-menu-svg{
	visibility: hidden
}
.menu-toggle.main-header-menu-toggle.toggled .mobile-menu-toggle-icon::before{
	visibility: hidden
} */


/* SINGLE PROPERTY */
.s__property_list .es-listing__image{
	/*width: 150px;*/
	min-width: 365px;
	min-height: 250px;
    object-fit: cover;
	padding-top: 0!important
}
.s__property_list .js-es-listing {
	display: flex;
}
.s__property_list .es-listings{
	gap: 0!important;
}
.s__property_list .properties,
.r__properties .type-properties{
	border-bottom: 5px solid #002F49!important
}
.s__property_list .es-listing__content__left{
	margin-left: 20px
}
.s__property_list .es-address {
	color: #002F49!important
}
.single-properties #content .ast-container{
	max-width: 100%!important;
	padding: 0!important
}
.single-properties .property_title{
	font-family: "Degular", sans-serif;
	font-weight: 700 !important;
}
.single-properties .property_address{
	max-width: 300px;
	margin-left: auto!important;
	margin-right: auto!important
}
.single-properties .es-icon_download:before{
/* 	color: var(--ast-global-color-0); */
	content: url(https://blueatlassites.com/williamsburg/wp-content/uploads/2025/09/arrow-down.png);
}
.single-properties .es-document__info span:not(.es-document__info),
.single-properties .es-icon.es-icon_file{
	display: none
}
.single-properties .es-documents .es-document{
	position: relative;
	box-shadow: none;
	color: var(--ast-global-color-0);
	max-width: 315px;
    width: 100%;
	border-radius: 0px;
    border: 1px solid var(--ast-global-color-1);
    padding: 14px 70px 14px 30px;
	cursor: pointer;
	transition-duration: 0.3s
}
.single-properties .es-documents .es-document:hover{
	border-color: var(--ast-global-color-0);
}
.single-properties .es-documents:hover .es-icon_download{
	transition-duration: 0.3s
}
.single-properties .es-documents:hover .es-icon_download{
	transform: translatey(3px)!important
}
.single-properties .es-document__title{
    color: var(--ast-global-color-0);
    font-size: 0;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.single-properties .es-documents{
	display: flex
}
.single-properties .es-documents .es-document a{
	position: absolute;
    width: 100%;
    z-index: 999;
    right: 20px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    height: 100%;
}
.single-properties .es-document__title::before{
	color: var(--ast-global-color-0);
	font-size: 18px;
    font-weight: 600;
}
.single-properties .btn-demographics .es-document__title::before{
	content: 'Download Demographics';
}
.single-properties .btn-package .es-document__title::before{
	content: 'Download Package';
}
.single-properties .btn-site-plan .es-document__title::before{
	content: 'Download Site Plan';
}
.single-properties .es-properties .es-properties__list{
	margin-left: 0!important
}


/* CONTACT PAGE */
input[type=text], input[type=email], input[type=tel], textarea{
	border: 1px solid #DFDFDF!important;
	border-radius: 0!important;
	outline: none!important;
	box-shadow: none!important;
	min-height: 50px!important
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, textarea:focus{
	border-color: var(--ast-global-color-0)!important;
}
#gform_fields_1{
	row-gap: 30px!important
}
input[type=submit], input[type=button]{
	color: var(--ast-global-color-0)!important;
    background: rgba(255, 255, 255, 0)!important;
    font-size: 18px!important;
    border-radius: 0px!important;
    border: 1px solid #9EBBAA!important;
    padding: 15px 30px!important;
	max-width: 210px!important;
	width: 100%!important;
	box-shadow: none!important;
	font-weight: 600!important;
}
input[type=submit]:hover, input[type=button]:hover{
    border-color: var(--ast-global-color-0)!important;
}


/* FOOTER */
footer .site-below-footer-wrap{
	padding: 0;
	border-top-width: 0!important
}
footer .site-below-footer-inner-wrap{
	max-width: 100%!important;
}


/* MEDIA QUERIES */

@media all and (min-width: 1440px) {
/* 	.s__property_page .custom-dropdown {
		left: 265px
	} */
}
@media all and (min-width: 1025px) and (max-width: 1439px){
/* 	.s__property_page .custom-dropdown {
		left: calc(40px + (250 - 40) * ((100vw - 1025px) / (1439 - 1025)));
	} */
}



@media all and (min-width: 1025px) and (max-width: 1920px){
	

}

@media all and (min-width: 1921px){
	
}

header #ast-desktop-header{
	position: fixed;
	width: 100%;
}

@media all and (min-width: 1025px){
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered{
	margin-left: 65px;
		margin-right: 65px;
	}
	header .site-branding.ast-site-identity{
		padding: 5px 0!important
	}
	
	.custom-dropdown .dropdown-toggle > span,
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered .select2-selection__placeholder, .ba .es-icon_chevron-bottom:before, .ba .es-field .select2-container .select2-selection .select2-selection__arrow b:before{
		font-size: 20px
	}
	.site-primary-header-wrap{
		max-width: 95%!important
	}
	.ba .es-btn.es-btn--primary[type=submit]{
		margin: 0 0 0 65px!important;
	}
/* 	.s__property_page .custom-dropdown {
		top: 39px;
	} */
	
}

@media all and (max-width: 1024px){
	
	.custom-dropdown .dropdown-menu{
		width: 175px;
		left -27px
	}
	.site-header-primary-section-right.site-header-section.ast-flex.ast-grid-right-section{
		transform: translateY(-14px);
	}
	
}

@media all and (min-width: 768px) and (max-width: 1024px){
	.ba .sptp-member{
		margin-bottom: 30px!important
	}
	
	.ba .es-icon_chevron-bottom:before, .ba .es-field .select2-container .select2-selection .select2-selection__arrow b:before{
		font-size: 18px;
        transform: translateY(2px);
	}
	
	.custom-dropdown .dropdown-toggle > span,
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered .select2-selection__placeholder{
		font-size: calc(16px + (18 - 16) * ((100vw - 768px) / (1024 - 768)));
	}
	
	
	.ba .es-btn.es-btn--primary[type=submit]{
		margin: 0!important;
	}
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered{
		margin-left: calc(25px + (35 - 25) * ((100vw - 768px) / (1024 - 768)));
    	margin-right: calc(25px + (35 - 25) * ((100vw - 768px) / (1024 - 768)));
	}
	.ba .es-btn.es-btn--primary[type=submit]{
		margin: 0 0 0 35px!important;
	}
/* 	.s__property_page .custom-dropdown {
		left: calc(35px + (150 - 35) * ((100vw - 768px) / (1024 - 768)));
	}
	.s__property_page .custom-dropdown {
		top: 42px;
	} */
}




@media all and (min-width: 525px) and (max-width: 767px){
	 .s__home_page .custom-dropdown .dropdown-toggle .arrow {
        right: calc(-83px + (-80 - -83) * ((100vw - 525px) / (767 - 525)))!important
    }
	.s__property_page .dropdown-menu{
		left: 60px!important;
	}
}

@media all and (min-width: 410px) and (max-width: 524px){
	 .s__home_page .custom-dropdown .dropdown-toggle .arrow {
        right: -84px!important
    }
	.s__property_page .dropdown-menu{
		left: 65px!important;
	}
}

@media all and (max-width: 409px){
	 .s__home_page .custom-dropdown .dropdown-toggle .arrow {
        right: calc(-42px + (-84 - -42) * ((100vw - 320px) / (409 - 320)))!important
    }
	.s__property_page .dropdown-menu, .ba .select2-container--open .select2-dropdown{
		left: calc(35px + (45 - 35) * ((100vw - 320px) / (409 - 320)))!important
	}
}

@media all and (max-width: 767px){
	.ba .sp-team-pro-item:not(:last-child) .sptp-member{
		margin-bottom: 40px!important
	}
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered{
		font-size: 16px!important;
	}
	.ba .es-field .select2-container .select2-results__options .select2-results__option,
	.ba .dropdown-menu a{
		font-size: 16px
	}
	.s__home_page .dropdown-menu{
		top: 60%!important;
		left: calc(-22px + (-28 - -22) * ((100vw - 320px) / (767 - 320)))!important
	}
	.s__property_page .dropdown-menu{
		top: 60%!important
	}
	.ba .custom-dropdown .dropdown-toggle {min-height: 40px;}
	.site-logo-img img{
		max-width: 80%
	}
	.ba .ast-site-identity{
		padding: 5px 0
	}
	.s__home_page .custom-dropdown{
		position: relative;
	}
	
	.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link{
		font-size: 16px!important
	}
	.s__property_list .es-listing__image {min-width: 50%;}
	.s__property_list .es-properties__list{
		margin-right: 0!important
	}
	
	.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link{
		padding-left: 30px!important
	}
	
/* 	.ba .es-properties{
		display: block
	}
	.ba .es-map{
		position: initial!important
	} */
	.home .es-properties__search, .ba .custom-filter-wrapper{
		border-radius: 10px;
	}
	.ba .es-field .select2-container, .ba .custom-dropdown{
		max-width: 300px
	}
	.custom-dropdown .dropdown-toggle .arrow{
    	position: absolute;
		right: 10px;
	}
	.es-properties__search form{
		text-align: center
	}
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered .select2-selection__placeholder, .ba .es-icon_chevron-bottom:before, .ba .es-field .select2-container .select2-selection .select2-selection__arrow b:before{
		font-size: 21px
	}
	
	.ba .es-btn.es-btn--primary[type=submit]{
		margin-top: 20px;
		border-radius: 30px;
		width: 80%;
		height: 48px
	}
	
	.ba .es-search__buttons{
		display: block!important;
	}
	.ba .es-search__buttons button{
		margin-left: auto!important;
		margin-right: auto!important
	}
	.ba .custom-dropdown{
		margin: auto
	}
/* 	.custom-filter-wrapper, */
	.ba .custom-dropdown{
		text-align: center
	}
	.custom-dropdown .dropdown-toggle > span, .ba .es-field .select2-container .select2-selection--single .select2-selection__rendered .select2-selection__placeholder{
		font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (767 - 320)));
	}
	.sp-team-pro.sptp-section.style-1 .sptp-popup-item{min-height: 80vh !important;max-height: 80vh !important;}
	.ba .sp-team-pro.sptp-section.popup-open {max-width: 90% !important;}
	.es-properties.js-es-properties.js-es-entities-wrap.es-properties--hfm--mobile-map {width: calc(100% + 85px) !important;}
	.ba .es-properties .es-properties__list {margin-left: 15px !important;}
}
.custom-dropdown .dropdown-toggle{
	display: flex;
	align-items: center;
	justify-content: center
}

@media all and (min-width: 768px){
	.ba .es-field .select2-container .select2-selection--single .select2-selection__rendered{
		font-size: 20px!important;
	}
	.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link{
		padding-left: 70px!important
	}
	.ba .es-btn.es-btn--primary[type=submit]{
		height: 52px;
	}
	.ba .es-properties .es-properties__list {
		padding-right: 50px;
	}
	
	.ba .es-properties .es-properties__map {
		flex: 1 0 calc(50% - 30px);
		padding-left: 50px;
	}
	.r__properties .custom-dropdown{
		max-width: 200px;
	}
	.home .es-properties__search, .ba .custom-filter-wrapper{
		border-radius: 100px;
	}
	.ba .es-btn.es-btn--primary[type=submit]{
		border-radius: 50%;
		width: 52px;
	}
	
	.ba .custom-filter-wrapper, .ba .es-search form{
		display: flex!important;
		align-items: center;
		justify-content: center;
	}
}

@media all and (min-width: 480px) and (max-width: 768px){

}

@media all and (max-width: 479px){
	.ba h1{
		font-size: calc(30px + (40 - 30) * ((100vw - 320px) / (479 - 320)))!important
	}	
	h1.wp-block-kadence-advancedheading br {display: none;}
}

@media all and (min-width: 480px) and (max-width: 1024px){
	
}


/* MENU ICONS ANIMATION */
.main-header-menu-toggle .mobile-menu-toggle-icon svg,
.main-header-menu-toggle .mobile-menu-toggle-icon .ast-mobile-svg {
  display: none !important;
}

/* Only apply on mobile breakpoint (adjust max-width if your theme uses a different breakpoint) */
.main-header-menu-toggle {
	position: relative;
	width: 30px!important;
	-webkit-tap-highlight-color: transparent;
}

/* create the 4 bars using pseudo elements on the button and the inner .mobile-menu-toggle-icon */
.main-header-menu-toggle::before,
.main-header-menu-toggle::after,
.main-header-menu-toggle .mobile-menu-toggle-icon::before,
.main-header-menu-toggle .mobile-menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #002F49;
	transition: all .25s ease-in-out;
	transform-origin: center;
	box-sizing: border-box;
}

/* closed state*/
.main-header-menu-toggle::before { top: 17px; }
.main-header-menu-toggle .mobile-menu-toggle-icon::before { top: 18px; }
.main-header-menu-toggle .mobile-menu-toggle-icon::after  { top: 18px; }
.main-header-menu-toggle::after  { top: 35px; }

/* open state */
.main-header-menu-toggle[aria-expanded="true"]::before,
.main-header-menu-toggle[aria-expanded="true"]::after,
.main-header-menu-toggle.open::before,
.main-header-menu-toggle.open::after {
	top: 18px;
	width: 0%;
	left: 50%;
}

.main-header-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-icon::before,
.main-header-menu-toggle.open .mobile-menu-toggle-icon::before {
	transform: rotate(45deg);
}

.main-header-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-icon::after,
.main-header-menu-toggle.open .mobile-menu-toggle-icon::after {
	transform: rotate(-45deg);
}

/* optional: tweak visual alignment inside your header */
.main-header-menu-toggle .mobile-menu-toggle-icon {
	display: block;
	width: 100%;
	position: absolute;
	top: 8px;
	left: 0;
	pointer-events: none;
}


/* MENU SHOW ANIMATION */
/* .logged-in .ast-desktop-header-content.content-align-flex-start, .logged-in .menu-overlay{
	top: 92px!important;
} */
.ba .ast-desktop-header-content.content-align-flex-start, .ba .menu-overlay{
	top: 60px;
}

.ast-desktop-header-content.content-align-flex-start {
  display: block !important;
  position: fixed;
  left: 0;
  width: 485px;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  overflow-y: auto;

  /* hidden off-screen by default */
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* when menu open */
body.menu-open .ast-desktop-header-content.content-align-flex-start {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}



/* default hidden overlay */
.menu-overlay {
  position: fixed;
  left: 485px;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.ba.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}





/* make the arrow element animate */
.select2-selection__arrow b {
  display: inline-block;
  transform-origin: 50% 50%;
  transition: transform 0.4s ease;
}

/* rotate counter-clockwise on open */
.select2-container--open .select2-selection__arrow b {
/*   transform: rotate(-180deg) translateY(10px);/ */
	transform: translateX(-50%) translateY(-60%) rotate(-180deg)!important
}

#es-field-listing-types, .wp-admin select>option[value=""]{
	display: block!important
}