.ajax-autosearch-results {
	display: block;
	width: 100%;
	padding: 14px;
	overflow-y: scroll;
}

#autocomplete-close {
	position: absolute;
	right: 50px;
	top: 12px;
	cursor: pointer;
}

#autocomplete-search header h2 {
	font-family: 16px;
}

.asc-settings {
	position: absolute;
	cursor: pointer;
}

.asc-submit-button {
	display: inline-block;
	width: 100%;
	text-align: center;
	background: #eee;
	padding: 10px;
}

.search-form input.search-field {
	padding-left: 35px;
}

#ajax-autosearch {
	background-color: #fff;
	padding: 15px;
	padding-top: 0;
	width: 76%;
	position: absolute;
	height: 180px;
	overflow-y: scroll;
	z-index: 250;
}

.asc-container {
	position: absolute;
	width: 85%;
	margin-bottom: 10px;
	border: 1px solid #f2f5f6;
	z-index: 250;
}

.asc-settings {
	left: 5px;
	top: 5px;
	background-color: #e186a2;
	color: white;
	padding: 8px 9px;
}

/* Sidebar Header Right in Catch Responsive Start */
.sidebar-header-right .asc-settings {
	width: 46px;
	left: -41px;
	top: 0px;
	padding: 6px 9px;
	height: auto;
}

.sidebar-header-right .acs-container {
	top: 33px;
}

.sidebar-header-right .asc-container {
	top: 33px;
}

.sidebar-header-right .ajax-autosearch-results .hentry {
	display: block;
}

/* Sidebar Header Right in Catch Responsive End */

#ajax-autosearch form {
	font-size: 14px;
}

#ajax-autosearch form p {
	padding-top: 15px;
	padding-bottom: 7px;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.dashicons,
.dashicons-before:before {
	width: 36px;
	height: 80%;
}

.search-form.asc-active input.search-field {
	padding-left: 50px;
}

.ajax-autosearch-results {
	background-color: #fff;
}

.ajax-autosearch-results .hentry {
	display: flex;
	margin-bottom: 10px;
	overflow: hidden;
}

.asc-container.small:not(.horizontal-layout)
	.ajax-autosearch-results
	article.hentry {
	width: 100%;
}

.ajax-autosearch-results .hentry {
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 2s; /* Firefox < 16 */
	-ms-animation: fadein 2s; /* Internet Explorer */
	-o-animation: fadein 2s; /* Opera < 12.1 */
	animation: fadein 2s;
}

@keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.ajax-autosearch-results .hentry .ac-thumbnail {
	margin-right: 20px;
}

.small .ajax-autosearch-results .hentry .ac-thumbnail {
	margin-right: 10px;
}

.small + .grid-layout.two-column .ajax-autosearch-results article,
.small + .grid-layout.three-column .ajax-autosearch-results article,
.small + .grid-layout.four-column .ajax-autosearch-results article,
.small ~ .acs-container .acs-filter-container {
	width: auto;
}

.ajax-autosearch-results .hentry .entry-header .entry-title a {
	font-size: 20px;
}

input[type='checkbox'],
input[type='radio'] {
	margin-left: 5px;
	margin-right: 0;
}

.ajax-autosearch-results .hentry .ac-thumbnail img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.default .ajax-autosearch-results .hentry .ac-thumbnail {
	min-width: 100px;
	min-height: 100px;
	max-width: 100px;
	max-height: 100px;
}

.asc-container:not(.horizontal-layout) .ajax-autosearch-results {
	max-height: 300px;
}

.asc-container.default
	.ajax-autosearch-results
	.hentry
	.entry-header
	.entry-title
	a {
	color: #000;
}

/* grid view */

.grid-layout .ajax-autosearch-results {
	background-color: none;
}

.grid-layout .ajax-autosearch-results {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	height: 315px;
}

.grid-layout .ajax-autosearch-results .hentry {
	position: relative;
	margin-left: 5px;
	margin-right: 5px;
	width: 150px;
}

.grid-layout .ajax-autosearch-results .hentry .ac-thumbnail,
.grid-layout .ajax-autosearch-results .hentry .entry-header {
	width: 100%;
	margin-right: 0;
}

.grid-layout .ajax-autosearch-results .hentry .entry-header {
	position: absolute;
	width: 100%;
	bottom: 0;
}

.grid-layout .ajax-autosearch-results .hentry:hover .entry-header {
	opacity: 0.8;
}

.grid-layout .ajax-autosearch-results .hentry .entry-header .entry-title {
	text-align: center;
	line-height: 1;
	padding: 15px 10px;
	background-color: #000;
	opacity: 0.5;
	width: 100%;
}

.grid-layout .ajax-autosearch-results .hentry .entry-header .entry-title a {
	opacity: 1;
	color: #fff;
}

/* two column */

.grid-layout.two-column .ajax-autosearch-results .hentry {
	width: 49%;
}

.grid-layout.two-column .ajax-autosearch-results {
	height: 450px;
}

/* three column */

.grid-layout.three-column .ajax-autosearch-results .hentry {
	width: 32.33%;
}

/* four column */

.grid-layout.four-column .ajax-autosearch-results .hentry {
	width: 24%;
}

.grid-layout .ajax-autosearch-results .hentry .ac-thumbnail img {
	width: 100%;
}

/* horizontal view */
.horizontal-layout .ajax-autosearch-results {
	background-color: none;
}

.horizontal-layout .ajax-autosearch-results {
	display: flex;
	flex-wrap: nowrap;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	max-height: 300px;
}

.horizontal-layout .ajax-autosearch-results .hentry {
	display: block;
	position: relative;
	margin-right: 15px;
	flex: 0 0 auto;
	display: inline-block;
	width: 250px;
	height: 250px;
	max-height: 250px;
	max-width: 250px;
	min-height: 250px;
	min-width: 250px;
	margin-right: 15px;
}

.horizontal-layout .ajax-autosearch-results .hentry .ac-thumbnail,
.horizontal-layout .ajax-autosearch-results .hentry .entry-header {
	width: 150px;
	margin-right: 0;
}

.horizontal-layout .ajax-autosearch-results .hentry .entry-header {
	height: 100%;
}

.horizontal-layout .ajax-autosearch-results .hentry .entry-header .entry-title {
	line-height: 1;
	bottom: 0;
	width: 100%;
}

.ajax-autosearch-results .hentry .entry-header .entry-title a {
	font-size: 18px;
	color: #ffffff;
}

.horizontal-layout .ajax-autosearch-results {
	overflow-x: auto;
}

.horizontal-layout .ajax-autosearch-results .asc-submit-button {
	white-space: nowrap;
}

.widget_search {
	position: relative;
}

.horizontal-layout .ajax-autosearch-results .hentry .entry-header {
	height: auto;
}

.horizontal-layout .ajax-autosearch-results header {
	text-align: center;
	position: absolute;
	bottom: 15px;
}

.horizontal-layout .ajax-autosearch-results header h2 {
	padding: 10px 5px;
	background-color: rgba(0, 0, 0, 0.8);
}

.horizontal-layout .ajax-autosearch-results .hentry .ac-thumbnail,
.horizontal-layout .ajax-autosearch-results .hentry .entry-header {
	width: 100%;
}

.footer-widget-area .widget-column.footer-widget-1 {
	position: inherit;
}

.acs-filter-container {
	width: 33.33%;
	display: inline-block;
	vertical-align: top;
}

.aas-image-off .ajax-autosearch-results .hentry .entry-header .entry-title a {
	color: #fff;
}

.aas-image-off .ajax-autosearch-results .hentry .entry-header {
	position: static;
}

.aas-image-off .ajax-autosearch-results .hentry .entry-header .entry-title {
	background-color: unset;
	opacity: 1;
	text-align: center;
	line-height: 1;
	padding: 15px 10px;
	width: 100%;
}

.aas-image-off .ajax-autosearch-results .hentry .entry-header .entry-title a {
	color: #000;
}

@media screen and (max-width: 540px) {
	.acs-filter-container {
		width: auto;
		display: block;
	}

	.grid-layout.four-column .ajax-autosearch-results .hentry,
	.grid-layout.three-column .ajax-autosearch-results .hentry,
	.grid-layout.two-column .ajax-autosearch-results .hentry {
		width: auto;
	}
}
