:root{
    /* Colors */
    --bbwd-map-color-1: rgb(246, 247, 244);
    --bbwd-map-color-2: rgb(173, 195, 230);
    --bbwd-map-accent-color: rgb(216 85 53);
	--bbwd-map-marker-back: #db0707;
	--bbwd-map-white: #ffffff;


    /* fonts */
    --bbwd-map-font-fam-1: 'Roboto' sans-serif;
    --bbwd-map-big-font: 32px;
    --bbwd-map-reg-font: 24px;
    --bbwd-map-sml-font: 16px;
}
.bbwdMapContainer :where(.wp-site-blocks :focus){
	outline: none !important;
}

#bbwdMap{
    height: 100%;
    width: 100%;
    min-height: 600px;
}
.bbwdMapContainer{
    padding: 60px 20%;
}
.bbwdMapContainer img.bbwdMapThumbImg{
	width: 400px;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.bbwdHideMefalse{
    display: none !important;
}


/***** Google Markers ************/
/** icons **/
.icon{
    background: var(--bbwd-map-marker-back);
    padding: 5px;
    border-radius: 100px;
}
.icon:has(i.fa-user){
    padding: 3px 5px !important;
}
.icon i.fa.fa-icon{
    width: fit-content;
    height: fit-content;
    color: var(--bbwd-map-white);
    font-size: 18px;
	text-align: center;
}
/*.icon i.fa.fa-icon.large{
    width: 40px;
    height: 40px;
	font-size: 35px;
}*/

.bbwdHighlight .icon {
    display: none !important;
}
.bbwdMapContainer .bbwdCloseProp{
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 100px;
    width: 20px;
    height: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
	position: absolute;
	right: 5px;
	top: 5px;
}

/* House icon colors. */
.property.bbwdHighlight:has(.fa-house) .icon {
    color: var(--bbwd-map-color-1);
}
.property:not(.bbwdHighlight):has(.fa-house) {
    background-color: var(--bbwd-map-accent-color);
}

.property:not(.bbwdHighlight):has(.fa-house)::after {
    border-top: 9px solid var(--bbwd-map-accent-color);
}

/*Building icon colors.*/
.property.bbwdHighlight:has(.fa-building) .icon {
    color: var(--bbwd-map-color-1);
}
.property:not(.bbwdHighlight):has(.fa-building) {
    background-color: var(--bbwd-map-accent-color);
}
.property:not(.bbwdHighlight):has(.fa-building)::after {
    border-top: 9px solid var(--bbwd-map-accent-color);
}

/*Warehouse icon colors.*/
.property.bbwdHighlight:has(.fa-warehouse) .icon {
    color: var(--bbwd-map-color-1);
}
.property:not(.bbwdHighlight):has(.fa-warehouse) {
    background-color: var(--bbwd-map-accent-color);
}
.property:not(.bbwdHighlight):has(.fa-warehouse)::after {
    border-top: 9px solid var(--bbwd-map-accent-color);
}

/* Shop icon colors. */
.property.bbwdHighlight:has(.fa-shop) .icon {
    color: var(--bbwd-map-color-1);
}
.property:not(.bbwdHighlight):has(.fa-shop) {
    background-color: var(--bbwd-map-accent-color);
}
.property:not(.bbwdHighlight):has(.fa-shop)::after {
    border-top: 9px solid var(--bbwd-map-accent-color);
}

/************************ Popup styles in unhighlighted state. ************************/
.property {
    align-items: center;
    background-color: var(--bbwd-map-marker-back);
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 30px;
    width: 30px;
    justify-content: center;
    padding: 4px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    transform: translateY(-9px);
}
.property:has(.icon i.fa.fa-icon.large){
	width: fit-content;
	height: fit-content;
}
.property:has(.icon i.fa.fa-icon.large)::after{
    top: 95%;
}
.property::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--bbwd-map-marker-back);
    content: '';
    height: 0;
    left: 50%;
    position: absolute;
    top: 90%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;
}

.property .details {
    display: none;
    flex-direction: column;
    flex: 1;
}

.property .address {
    color: #9e9e9e;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.property .features {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.property .features > div {
    align-items: center;
    background: #f5f5f5;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: flex;
    font-size: 10px;
    gap: 5px;
    padding: 5px;
}

/*
 * Property styles in highlighted state.
 */

.property.bbwdHighlight, .property.bbwdHighlight:has(.icon i.fa.fa-icon.large) {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    min-height: 80px;
    padding: 20px 30px;
    width: 450px;
    height: fit-content;
}
.property.bbwdHighlight .video{
    margin-left: 12px;
}
.property.bbwdHighlight::after {
    border-top: 9px solid #ffffff;
}

.property.bbwdHighlight .details {
    display: flex;
}
.property.bbwdHighlight .icon{
    width: 70px;
    height: 70px;
}
.property.bbwdHighlight .icon svg {
    width: 50px;
    height: 50px;
}
.property.bbwdHighlight .tImage img{
    max-height: 80px;
    border-radius: 5px;
    margin-bottom: 12px;
}
.property .bed {
    color: #ffa000;
}

.property .bath {
    color: #03a9f4;
}

.property .size {
    color: #388e3c;
}