@import "home-responsive.css";

#fast-search > div
{
	background-image: url("images/fast-search-background.jpg");
	background-position: 0% 0%;
	background-repeat: no-repeat;
	background-size: 120%;
	border-radius: 50px;
	
	color: #111111;
	font-size: 1rem;
	height: auto !important;
	min-height: var(--min-search-height);
	padding: 20px;
	position: relative;
}

#search-estate
{
	background-color: rgba(242, 242, 242, 75%);
	background-image: none;
	color: #111111;
	font-size: 1rem;
	height: auto !important;
	margin: var(--search-top) auto 0 0;
	padding: 20px;
	position: relative;
	width: var(--search-width);
	
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	row-gap: 10px;
	align-items: center;
}

input#search-key
{
	border-radius: 50px; 
	display: block;
	flex-grow: 1;
	margin-right: 10px; 
	min-width: var(--min-search-width);
	padding: 10px 12px;
}

#services > div
{
	background-clip: padding-box;
	background-color: #f0effd;
	background-image: none;
	border: 10px solid transparent;
	border-radius: 40px;
	color: #111111;
	flex: 500px;
	min-width: 50%;
	padding: 30px;
}

.services-list
{
	display: grid;
	grid-template-columns: 85px 1fr 85px 1fr;
	row-gap: 20px;
	flex-wrap: wrap;
}

.services-list > div:nth-child(2n+1) > span
{
	background-color: #c3bff8;
	background-image: none;
	border-radius: 50%;
	color: #ffffff;
	display: block;
	height: 85px;
	margin: 0 auto 0 auto;
	padding: 17px;
	width: 85px;	
}

.services-list > div:nth-child(2n+1)
{
	flex: 1 1 85px;
	text-align: center;
}

.services-list > div:nth-child(2n+2)
{
	padding-left: 20px;
	flex: 250px;
	min-width: calc(50% - 85px);
}

#services .icon
{
	background-image: url(images/services-background.jpg);
}

#top-suggestions-list
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 20px;
	justify-content: flex-end;
}

#top-suggestions-list > div
{
	--badge: none;
	background-image: var(--badge), var(--background-image);
	background-position: 0 0, 50% 50%;
	background-repeat: no-repeat, no-repeat;
	text-align: left;
	display: flex;
	position: relative;
	border-radius: 20px;
	flex: 350px;
	height: 350px;	
	max-width: 433px;
}

#top-suggestions-list > div.light
{
	color: black;
}

#top-suggestions-list > div.dark
{
	color: white;
}

#top-suggestions-list > div > a
{
	color: inherit;
	display: block;
	margin-bottom: 0;
	margin-top: auto;
	max-width: 100%;
	padding-left: 10px;
	padding-right: 10px;
}

#top-suggestions-list > div > a > *:first-child
{
	font-size: 125%;
	font-weight: var(--semi-bold);
}

div.sold	{ --badge: url(images/sold.svg) ! important; }
div.rented	{ --badge: url(images/rented.svg) ! important; }
div.rent	{ --badge: url(images/rent.svg) ! important; }

div.icon.sold > a > p:first-child	{ visibility: hidden; }
div.icon.rented > a > p:first-child	{ visibility: hidden; }

#sell
{
	background-image: none;
}

#sell > div
{
	background-color: #F0EFFD;
	padding: 30px;
	border-radius: 50px;
}

#sell form > div > input, #sell form > div > textarea
{
	background-clip: padding-box;
	border-radius: 20px;
	display: block;
	height: auto;
	margin-bottom: 0.5em;
	margin-left: 12px;
	padding: 10px 20px;
	width: calc(100% - 12px);
}

#references > div
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 20px;
}

#references > div > div
{
	flex: 350px;
	color: #111111;
	background-color: #FBECED;
	border-radius: 50px;
}

.quote
{
	padding: 20px 30px; 
}

.quote > p
{
	font-size: 1rem;
	font-style: italic;
	margin: 13px 0 0;
	word-wrap: break-word;
	hyphens: auto;
}

.quote > p:before
{
	display: block;
}

.quote > p:lang(bg):before
{
	content: url(images/open-quotes-bg.png);
}

.quote > h5
{
	font-size: 1rem;
	font-style: italic;
	margin-top: 0.5em;
	text-align: right;
}
