/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Template: salient
Version: 1.0
*/

/* Filter Clients */
.row--filter-clients > .col > .wpb_column:first-child{
	width: 250px;
}
.row--filter-clients > .col > .wpb_column:last-child{
	width: initial;
	flex: 1;
}
.row--filter-clients > .col > .wpb_column:first-child .facetwp-facet:before{
	content: 'Filter Clients';
	display: block;
	font-family: "Plus Jakarta Sans";
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	padding-bottom: 10px;
	margin-bottom: 15px;
	border-bottom: 1px solid #FFFFFF;
}
.row--filter-clients > .col > .wpb_column:first-child .facetwp-radio{
	background: none;
	font-family: "Plus Jakarta Sans";
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	position: relative;
	padding-left: 30px;
}
.row--filter-clients > .col > .wpb_column:first-child .facetwp-radio .facetwp-counter{
	display: none;
}
.row--filter-clients > .col > .wpb_column:first-child .facetwp-radio:before{
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	box-shadow: 0 0 0 1px #ffffff;
	border-radius: 100%;
	top: 5px;
	left: 0;
}
.row--filter-clients > .col > .wpb_column:first-child .facetwp-radio:after{
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 100%;
	background-color: #FF1449;
	top: 5px;
	left: 0;
	transform: translateX(47%) translateY(45%);
	opacity: 0;
	transition: opacity ease-in-out 0.2s;
}
.row--filter-clients > .col > .wpb_column:first-child .facetwp-radio.checked:after{
	opacity: 1;
}
.row--filter-clients > .col > .wpb_column:last-child .facetwp-template{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	margin: -3px;
}
.row--filter-clients .client{
	padding: 3px;
}
.row--filter-clients .client-inner{
	background-color: #ffffff;
	width: 100%;
	height: 100%;
	position: relative;
}
.row--filter-clients .acquired{
	position: absolute;
	right: 25px;
	top: 15px;
	font-size: 11px;
	font-weight: 400;
	font-style: italic;
	color: black;
	line-height: 1;
}
.row--filter-clients .acquired:before{
	content: '';
	width: 7px;
	height: 7px;
	background-color: #B2EF28;
	border-radius: 100%;
	position: absolute;
	left: -14px;
	top: 2px;
}
.row--filter-clients .client-img{
	padding: 20px 10px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.row--filter-clients .client-img img{
	margin-bottom: 0;
	transition: transform ease-in-out 0.22s;
	transform-origin: center;
}
.row--filter-clients .client-bottom-content{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.row--filter-clients .client-content{
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: black;
	max-width: 140px;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	transition: opacity ease-in-out 0.2s;
	height: 80px;
}
.row--filter-clients .client-link-wrapper{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 40px;
	height: 80px;
	background-color: #D9D9D9;
	transition: width ease-in-out 0.22s, border-radius ease-in-out 0.22s;
}
.row--filter-clients .client-link-close{
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	line-height: 1;
	transition: opacity ease-in-out 0.22s;
}
.row--filter-clients .client-link-close svg{
	width: 20px;
	display: block;
}
.row--filter-clients .client-link{
	position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 140px;
	height: 100%;
    display: flex;
    align-items: center;
	justify-content: flex-end;
	opacity: 0;
	pointer-events: none;
	transition: opacity ease-in-out 0.22s;
}
.row--filter-clients .client-link span{
	color: black;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	display: inline-block;
	margin-right: 15px;
}
.row--filter-clients .client-inner:hover .client-img img{
	transform: scale(1.2);
	transition: transform cubic-bezier(.42,0,.2,1.4) 0.22s;
}
.row--filter-clients .client-inner:hover .client-link-wrapper{
	width: 152px;
	border-radius: 39px 0px 0px 0px;
	transition: width cubic-bezier(.42,0,.2,1.4) 0.22s, border-radius ease-in-out 0.22s;
}
.row--filter-clients .client-inner:hover .client-content{
	opacity: 0;
}
.row--filter-clients .client-inner:hover .client-link-close{
	opacity: 0;
	pointer-events: none;
}
.row--filter-clients .client-inner:hover .client-link{
	opacity: 1;
	pointer-events: initial;
	width: 100%;
}

/* Facet Loading */
.facetwp-template{
    position: relative;
}
.facetwp-template::after{
    content: '';
    width: 50px;
    height: 50px;
    background-image: url(assets/img/svg/loading.svg);
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 100px;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity ease 0.3s;
}
.facetwp-template > div{
    transition: filter ease 0.2s, opacity ease 0.2s;
}
.facetwp-template.fwp-loading::after{
    opacity: 1;
}
.facetwp-template.fwp-loading > div{
    filter: blur(8px) grayscale(50%);
    opacity: 0.1;
}