/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */ 

:root {
	--color-blue-1: #005a96;
	--color-blue-2: #0084c2;
	--color-blue-3: #003154;
	--color-blue-4: #00a7e5;
	--color-blue-5: #00cfff;
	--color-gray-1: #f6f6f6;
	--color-gray-2: #e6e6e6;
	--box-shadow-1: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.08);
}

/* Link + External Link Support [see site.js] */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

.fl-module:not(.fl-module-menu):not(.fl-module-creative-link) .fl-module-content a {text-decoration:none;}
.fl-module:not(.fl-module-menu):not(.fl-module-creative-link) .fl-module-content a:hover, 
.fl-module:not(.fl-module-menu):not(.fl-module-creative-link) .fl-module-content a:focus {text-decoration:underline;}

.fl-module a.external-link {}
.fl-module a.external-link:hover,
.fl-module a.external-link:focus,
.fl-module a.external-link:active {}
.fl-module a.external-link i {margin-left:5px;} 
.fl-module a.external-link.external-link-icon-hidden {}
.fl-module a.external-link.external-link-icon-hidden i {margin-left:0;}

/* Beaver Builder Module Class: BorderBottom */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

.BorderBottom .fl-row-content-wrap {
    position:relative;
}
.BorderBottom .fl-row-content-wrap::before { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 100%;
    background: linear-gradient(to right, var(--color-blue-3) 25%, var(--color-blue-1) 25% 50%, var(--color-blue-2) 50% 75%, var(--color-blue-4) 75% 100%);
	z-index:1;
}

/* Post Type: Properties - Sort */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

#property-sort {}
#property-sort .row {
	display:flex;
	flex-direction:column;
    margin-right: unset;
    margin-left: unset;
}
#property-sort .column {
	display:flex;
	justify-content:flex-end;
}
#property-sort .label {display:none;}
#property-sort .facetwp-facet {margin:0}
#property-sort .facetwp-facet select {
	display: inline-flex;
    min-height: 40px;
    width: 100%;
    background-color: white;
    border: 1px solid var(--color-gray-2);
    border-radius: 4px;
}

/* Post Type: Properties - Filter */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

#property-filter .row {
	display:grid;
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
    margin-right: unset;
    margin-left: unset;	
}
#property-filter .row.filters {margin-bottom:20px;}
#property-filter .row.utility {}
#property-filter .facetwp-facet {margin:0;}
#property-filter .facetwp-facet .facetwp-input-wrap {
	display:inline-flex;
	width:100%;
}
#property-filter .facetwp-facet input[type="text"],
#property-filter .facetwp-facet input[type="button"],
#property-filter .facetwp-facet select {
	display:inline-flex;
	min-height:40px;
	width:100%;
}
#property-filter .facetwp-facet input[type="text"],
#property-filter .facetwp-facet select {
	background-color:var(--color-gray-1);
	border:1px solid var(--color-gray-2);
	border-radius:4px;
}
#property-filter .facetwp-facet.facetwp-type-number_range {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 15px;
}
#property-filter .facetwp-facet input.facetwp-search, 
#property-filter .facetwp-facet input.facetwp-location {min-width:100%;}

#property-filter .button.reset {
	display: inline-flex;
	align-items: center;
    justify-content: center;
    padding: 5px 20px;
	min-height: 40px;
    width: 100%;
	background-color: var(--color-blue-2);
	border-radius:4px;
	color:white;
}
#property-filter .button.reset:hover,
#property-filter .button.reset:focus,
#property-filter .button.reset:active {
	background-color:var(--color-blue-3);
}
#property-filter-mobile .facetwp-facet {margin-bottom:20px;}



@media screen and (min-width: 768px) {
	#property-filter {
		border-top:3px solid transparent;
		background-color:white;
		box-shadow:var(--box-shadow-1);
		padding:20px;
    }
	#property-filter .row {grid-template-columns: repeat(2, 1fr);}
}
@media screen and (min-width: 992px) {
	#property-filter .row {grid-template-columns: repeat(3, 1fr);}
}
@media screen and (min-width: 1500px) {
	#property-filter .row {grid-template-columns: repeat(5, 1fr);}
}


/* Post Type: Properties - Filter - Map */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/


#property-map [data-type="map"] {width:100%;}
#property-map .row {
	display:flex;
	flex-direction:column;
    margin-right: unset;
    margin-left: unset;
}
#property-map [data-type="map"] #facetwp-map {width:100% !important;}
#property-map [data-type="map"] .facetwp-map-filtering {display:none;}
#property-map .button.toggle-map {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    min-height: 40px;
    width: 100%;
    background-color: var(--color-blue-2);
    border-radius: 4px;
    color: white;
}
#property-map .button.toggle-map:hover,
#property-map .button.toggle-map:focus,
#property-map .button.toggle-map:active {
	background-color:var(--color-blue-3);
}

@media screen and (max-width:991px){
	#property-map .map {display:none;}
}
@media screen and (min-width: 992px) {
	#property-map [data-type="map"] #facetwp-map {
		height:100vh !important;
	}
	#property-map .button.toggle-map {display:none;}
}

/* Post Type: Properties - Filter - Map Support */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

/* Define a bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Add a class for animated markers */
.marker-bounce {
  animation: bounce 0.6s ease infinite;
}


/* Post Type: Properties - Listing Card - Map */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

#facetwp-map .property .row {
	display:flex;
	flex-direction: column;
    margin-right: unset;
    margin-left: unset;
}
#facetwp-map .property .name h4 {font-size:18px;}
#facetwp-map .property .address {
	display:flex;
	flex-direction:row;
}
#facetwp-map .property .address .line {
	display:inline-flex;
}
#facetwp-map .property .address .line div {
	display:inline-flex;
	margin-right:5px;
}
#facetwp-map .property .subsidy,
#facetwp-map .property .bedrooms,
#facetwp-map .property .preferences {display:none;}

/* Post Type: Properties - Listing Card */
/* -----------------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------*/

#property-listing .pp-content-post {box-shadow:var(--box-shadow-1);}
#property-listing .property {
	display:flex;
	padding:20px;
}
#property-listing .property .row {
	flex-direction: column;
    margin-right: unset;
    margin-left: unset;
	width:100%;
}
#property-listing .property .row > .column {display:flex;}
#property-listing .property .row > .column:nth-child(1),
#property-listing .property .row > .column:nth-child(2) {width:100%}
#property-listing .property .row > .column:nth-child(1) {margin-bottom:20px;}
#property-listing .property .content {
	display:flex;
	flex-wrap:wrap;
	width:100%;
}
#property-listing .property .content .column:nth-child(1),
#property-listing .property .content .column:nth-child(2),
#property-listing .property .content .column:nth-child(3) {
	margin-bottom:20px;
}
#property-listing .property .content .column:nth-child(1){width:100%;}
#property-listing .property .content .column:nth-child(2){
	display:grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 10px;
	grid-row-gap: 10px;	
	width:100%;
}
#property-listing .property .content .column:nth-child(3){
	width:100%;
}
#property-listing .property .content .column:nth-child(4){
	display:flex;
	width:100%;
}
#property-listing .property .homeName {display:flex;}
#property-listing .property .homeName h4 {
	border-bottom:1px solid var(--color-gray-2);
	margin:0;
	margin-bottom:10px;
	padding-bottom:10px;
	width:100%;
}
#property-listing .property .homeImage {display: flex;}
#property-listing .property .homeImage img {
	border: 1px solid var(--color-gray-2);
    padding: 10px;
    height: 150px;
    width: 150px;
	object-fit: cover;
}
#property-listing .property .homeAddress {
	display:flex;
	flex-direction:row;
}
#property-listing .property .homeAddress .label {margin-right:5px;}
#property-listing .property .homeAddress .line {display:flex;}
#property-listing .property .homeAddress .line .value {
	display:inline-flex;
	margin-right:5px;
}
#property-listing .property .homeLink {display:flex;}
#property-listing .property .homeLink .button {
	border-radius:30px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:5px 20px;
	min-height:40px;
}
#property-listing .property .label {font-weight:bold;}
#property-listing .property .metric {
	background-color:var(--color-gray-1);
	border:1px solid var(--color-gray-2);
	padding:10px;
}

#property-listing .property .homeUnits,
#property-listing .property .homeSubsidy {display:none;}


@media screen and (min-width: 1500px) {
	#property-listing .property .row {flex-direction:row;}
	#property-listing .property .row > .column:nth-child(1) {
		margin-bottom:0;
		width:150px;
	}
	#property-listing .property .row > .column:nth-child(2) {
		padding-left:20px;
		width:calc(100% - 150px);
	}
	#property-listing .property .content .column:nth-child(2){
		grid-template-columns: repeat(3, 1fr);
	}
}