@media (min-width: 768px) {
	.main-search {
		padding-top:5.5rem;
		padding-bottom:5.5rem;
		background-color:#fff;
	}
}

#searchbox {
	width:100%;
}

.ais-SearchBox {
	font-size: 1.5em;
    color: #808080;
}
.ais-SearchBox-form:before {
	font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
	margin-right: 1.5rem !important;
    content: "\f002";
	display:inline-block;
}
.ais-SearchBox-form {
    margin-block-end: 0;
}
.ais-SearchBox-input {
	width:94%;
	/*box-shadow: 0 0.1rem 0.5rem 0 rgba(0, 0, 0, 0.15);*/
	padding: 5px 10px;
	border: 1px solid #f0f0f0;
	border-bottom: 2px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-family:'Lora';
	background-color:#F0F0F0;
}

.ais-SearchBox-submit,
.ais-SearchBox-reset{
	display:none;
}
.active .main-search__backdrop {
    opacity: 0.95;
	background-color:#000;
}


#hits-posts {
	margin-top:13rem;
	font-family:'Lora';	
	margin-left:auto;
	margin-right:auto;
	padding-left:2rem;
	padding-right:2rem;
	background-color:#fff;
	font-size:1.5rem;
}

/* Results container width */
.search-quebec {

}

#hits-posts>div {
	background-color:rgba(255,255,255,1);
	padding-top:5rem;
}

/* Columns */
/* 3 columns */
.search-quebec .ais-Hits-item,
.search-quebec #hits-posts .ais-Hits-item {
	/*
	width:32.334%;
	margin-right:1%;
	margin-bottom:2%;*/
}


.ais-Hits-item {
	margin-bottom:2%;
}
/* 2 columns */
@media (min-width:990px) {
	.ais-Hits-item,
	.ais-Hits-item-2cols .ais-Hits-item {
		width:49.5%;
		align-self: flex-start;
	}
	.ais-Hits-item:nth-child(odd),
	.ais-Hits-item-2cols .ais-Hits-item:nth-child(odd) {
		margin-right:1%;
	}
}
/* 3 columns */
@media (min-width:990px) {
	.ais-Hits-item-3cols .ais-Hits-item {
		width:32.5%;
		align-self: flex-start;
		margin-right:1%;
	}
	.ais-Hits-item-3cols .ais-Hits-item:nth-child(3n) {
		margin-right:0;
	}
}
/* 4 columns */
@media (min-width:990px) {
	.ais-Hits-item-4cols .ais-Hits-item {
		width:24.25%;
		align-self: flex-start;
		margin-right:1%;
	}
	.ais-Hits-item-4cols .ais-Hits-item:nth-child(4n) {
		margin-right:0;
	}
}



.ais-Hits-list {
	display:flex;
	flex-direction: row; 
	justify-content: flex-start;
	align-content: flex-start;
	flex-wrap:wrap;
}
.ais-Hits a {
	color:#3C3C3C;
}
.search-image-box {
	float:left;
	margin-right:10px;
	position:relative;
}
.search-image-box img {
	width:125px;
	height:125px;
}
.content-type {
	font-size:12px;
	position:absolute;
	bottom:0;
	color:#fff;
	text-align:center;
	width:100%;
}
.type-region .content-type:before,
.type-property .content-type:before,
.type-rental .content-type:before,
.type-agency .content-type:before,
.type-post .content-type:before,
.type-page .content-type:before, 
.type-team .content-type:before {
	font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
	margin-right: 0.5rem !important;
	display:inline-block;
}

.type-region .content-type:before {
    content: "\f3c5";
}
.type-team .content-type:before {
    content: "\f007";
}
.type-agency .content-type:before {
    content: "\f1ad";
}

.type-property .content-type:before,
.type-rental .content-type:before{
    content: "\f015";
}

.type-post .content-type:before,
.type-page .content-type:before{
    content: "\f05a";
}

.content-type {
	background:rgba(0,0,0,0.8);
	font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/*2 cols*/
.search-results-title {
	font-weight:600;
}
.search-results-title {
	/*font-size:100%;*/
}
	
/*.content-type.type-property,
.content-type.type-rental {
	background:rgba(219,13,67,0.8);
}
.content-type.type-post,
.content-type.type-page {
	background:rgba(0,0,0,0.8);
}
.content-type.type-agency,
.content-type.type-team {
	background:rgba(65, 105, 225,0.8);
}*/
.list-inline-item-reference {
	display:inline-block;
}

	/*#hits-posts,
#hits-properties,
#hits-rentals,
#hits-pages,
#hits-agencies,
#hits-teams,
#hits-regions {
	display:flex;
	flex-direction: row; 
	justify-content: flex-start;
	align-content: flex-start; 
}
	
	
#hits-posts img,
#hits-properties img,
#hits-rentals img,
#hits-pages img,
#hits-agencies img,
#hits-teams img,
#hits-regions img {
	float:left;
	margin-right:10px;
}*/

/*#hits-posts*/
#hits-properties,
#hits-rentals,
#hits-pages,
#hits-agencies,
#hits-teams,
#hits-regions {
	opacity:1;
	z-index:10001;
	background-color:#fff;
	margin:1em 0;
	border-top:thin solid grey;
}

/*
#hits-posts:before{
	content:'Posts';
}
#hits-properties:before{
	content:'For sale';
}
#hits-rentals:before{
	content:'For rent';
}
#hits-pages:before{
	content:'Other';
}
#hits-agencies:before{
	content:'Agencies';
}
#hits-teams:before{
	content:'Team members';
}
#hits-regions:before {
	content:'Regions';
}*/
	
	
#hits-posts:before,
#hits-properties:before,
#hits-rentals:before,
#hits-pages:before,
#hits-agencies:before,
#hits-teams:before,
#hits-regions:before {
	width:1370px!important;
	background-color:#000;
	padding:1em;
	color:#fff;
	font-size:16px;
}

/* @todo: can't find this */
#hits {
	width:50%;
}
