.home-for-sales-hubdb{
	scroll-margin-top:160px;
}
{#******* FILTERS *******#}
.hubdb__filters{
  display: flex; 
  justify-content: space-between;
	gap:20px;
	flex-basis:50%;
}
.hubdb__filter-field{
	width:100%;
}
.hubdb__filter-field input,
.hubdb__filter-field select{
  padding: 8px 26px 8px 12px;
	width:100%;
	height: 50px;
	border-radius: 2px;
  border: 1px solid var(--primary);
	font-weight:700;
	color: var(--complementary2);
}
.hubdb__filter-field input:focus,
.hubdb__filter-field select:focus{
  outline:none;
}

.hubdb__filter-field select option{
	font-weight:700;
}
.hubdb__filter-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M0.470894 1.66577L3.98518 5.18006C4.01083 5.20739 4.04181 5.22917 4.07621 5.24406C4.11061 5.25896 4.1477 5.26664 4.18518 5.26664C4.22266 5.26664 4.25975 5.25896 4.29415 5.24406C4.32855 5.22917 4.35953 5.20739 4.38518 5.18006L7.89947 1.66577' stroke='%233D3D3D' stroke-width='1.71429' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 50%;
}
.hubdb--sort select{
	color:var(--complementary);
	border:2px solid var(--complementary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M0.470894 1.66577L3.98518 5.18006C4.01083 5.20739 4.04181 5.22917 4.07621 5.24406C4.11061 5.25896 4.1477 5.26664 4.18518 5.26664C4.22266 5.26664 4.25975 5.25896 4.29415 5.24406C4.32855 5.22917 4.35953 5.20739 4.38518 5.18006L7.89947 1.66577' stroke='%23CE3162' stroke-width='1.71429' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hubdb__filter-field input::placeholder,{
	color: var(--tertiary);
}
.hubdb__filter-field input[type="checkbox"],
.hubdb__filter-field input[type="radio"]{
  display: block;
}

.hubdb__filter-field label{
  display: block;
}
.hubdb__filter-field--multiselect:not(.hubdb--SELECT){
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.hubdb__filter--checkbox-subfield{
  text-align: center;
  margin: 0 10px;
}
.hubdb__filter--checkbox-subfield label{
  display: block;
}
.hubdb__filter-subfield{
  margin: 10px;
}
.hubdb__filters-container{
	display: flex;
	justify-content: space-between;
	gap:20px;
	margin-bottom:60px;
}
.hubdb__filters-reset-container{
	width:revert;
}
{#***************** END FILTERS **********************#}

.hubdb__not-found-results{
	color:var(--complementary);
	width:100%;
	text-align:center;
}
.hubdb__information .hubdb__card-button.button {
  margin: unset;
  display: inline-block;
	text-transform:uppercase;
	margin-bottom:8px;
}
.lenders-hubdb .hubdb__load-more{
	display: none;
}
.hubdb__load-more.button.button--active {
  display: flex;
  justify-content: center;
  margin: 64px auto 32px;
  width: fit-content;
}

{#******* PAGINATION *******#}
.hubdb__pagination{
  margin: 60px auto 0;
  text-align: center;
  width: fit-content;
  position: relative;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.hubdb__pagination-container{
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hubdb__button-prev,
.hubdb__button-next{
	pointer-events: none;
  cursor: initial;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .3s ease-in-out;
	opacity:0.6;
	text-decoration:none;
	background-color:transparent;
	border: 1px solid var(--primary);
}
.hubdb__button-prev.button--active,
.hubdb__button-next.button--active{
  pointer-events: initial;
  cursor: pointer;
	opacity:0.95;
}
.hubdb__button-prev:hover,
.hubdb__button-next:hover{
	opacity:1;
}
.hubdb--pagination-hide .hubdb__button-prev,
.hubdb--pagination-hide .hubdb__button-next{
	display:none;
	transition: all .3s ease;
}
.hubdb__button-prev{
  left: -32px;
}
.hubdb__button-next{
  right: -32px;
}
.hubdb__button-page {
	width:40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
	text-decoration:none;
	transition: all .3s ease;
	font-size:13px;
}
.hubdb__button-page--active{
	pointer-events:none;
}
.hubdb__button-page:hover{
	text-decoration:none;
}


{#******* CARD *******#}
.lenders-hubdb__container{
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.lenders-hubdb__card{
	overflow:hidden;
	display: flex;
	flex-direction: column;
	justify-content: start;
	transition: all .5s ease;
	position:relative;
}
.lenders-hubdb__lender-logo-container{
	line-height:0;
}
.lenders-hubdb__lender-logo{
	width:142px;
	height:49px;
}
.lenders-hubdb__text-image-container{
	display: flex;
	height:100%;
	min-height:200px;
}
.lenders-hubdb__featured-image{
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position:relative;
	flex-basis:40%;
}
.lenders-hubdb__text-content{
	position:relative;
	transition: all .5s ease;
	height:100%;
	display: flex;
	justify-content: start;
	flex-direction:column;
	flex-basis:60%;
}
.home-for-sales-hubdb__properties{
	padding: 18px 20px;
}
.lenders-hubdb--hover-overlay{
	position:absolute;
	width:100%;
	bottom:0;
	top:0;
	transition: all .4s ease;
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction:column;
	gap:10px;
}
.home-for-sales-hubdb__name-container{
	background-color: var(--primary);
	padding: 10px 0;
}
.lenders-hubdb__name{
	margin:0;
	text-align:center;
}
.lenders-hubdb__name,
.lenders-hubdb__nmls,
.lenders-hubdb__zip,
.lenders-hubdb__street,
.lenders-hubdb__phone{
	margin:0;
}
.lenders-hubdb__lender-logo{
	padding:10px;
}
.lenders-hubdb__card:hover .lenders-hubdb--hover-overlay{
  z-index:2;
	opacity: 1;
}
{#***************** CARD V2 **********************#}
.lenders-hubdb__card--v2{
	display: flex;
	justify-content: space-between;
	flex-direction:column;
	row-gap:10px;
}
.lenders-hubdb__item-tag{
	display: flex;
	align-items: center;
	gap:10px;
}
.lenders-hubdb__team-header{
	margin-top:20px;
}
.lenders-hubdb__item-icon{
	display:flex;
}
.lenders-hubdb__team-avatar-container{
	line-height:0;
}
.lenders-hubdb__team-avatar{
	border-radius:8px;
	width:100%;
	height:306px;
	object-fit:cover;
}
.lenders-hubdb__team-name,
.lenders-hubdb__position{
	margin:0;
}
.lenders-hubdb__position{
	font-weight:400;
}
.lenders-hubdb__text-button-container{
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}
h6.lenders-hubdb__highlight{
	color: var(--complementary)
}
{#***************** POPUP **********************#}
.lenders-hubdb__popup-container{
	position:fixed;
	top:0;
	left: 0;
	right:0;
	bottom:0;
	background-color:#00000090;
	z-index:-2;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity:0;
	transition:opacity .3s ease;
}
.lenders-hubdb__popup-content{
	width:95%;
	position:relative;
}
.lenders-hubdb__popup{
	min-height:100px;
	display: flex;
	justify-content: space-between;
	overflow:hidden;
}
.lenders-hubdb__popup-img{
	width:39%;
	line-height:0;
}
.lenders-hubdb__popup-img img{
	width:100%;
	height:100%;
	object-fit: cover;
}
.lenders-hubdb__popup-text-container{
	width:61%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 75px 50px 96px;
	gap:23px;
}
.lenders-hubdb--popup-active{
	z-index:100;
	opacity:1;
}
.lenders-hubdb__description-container > *{
	margin-bottom:10px;
}
.hubdb--hide{
	display:none;
}
.lenders-hubdb__popup-close-btn{
	line-height:0;
	position:absolute;
	top:20px;
	right:20px;
	cursor:pointer;
}

{#*************** MEDIA QUERYS ***************#}
@media screen and (max-width: 992px){
  .hubdb__filters{
    flex-wrap: wrap;
    align-items: center;
	}
	.hubdb__filters-container{
		flex-direction:column;
	}
	.hubdb__filter-field{
		width:48%;
	}
	.hubdb__pagination{
		margin-top: 30px;
	}
	.lenders-hubdb--layout-lenders{
		max-width:90%;
	}
	.lenders-hubdb__text-image-container{
		min-height:170px;
	}
	.lenders-hubdb__popup-text-container {
		width: 50%;
		padding: 20px 30px;
	}
	.lenders-hubdb__popup-img{
		width:50%;
	}
	.lenders-hubdb__popup-content{
		overflow: auto;
		height: 96%;
		position:revert;
	}
	.lenders-hubdb__popup-close-btn{
		top:30px;
		right:30px;
	}
}
@media(max-width:765px){
	.hubdb__filter-field{
		width:100%;
	}
	.lenders-hubdb__popup{
		flex-direction:column;
	}
	.lenders-hubdb__popup-text-container,
	.lenders-hubdb__popup-img{
		width: 100%;
	}
}
