.ajaxSearchBlock {
	background-color: var(--c-link-visited);
	width: 400px;
	padding: 0 20px 20px 20px;
	border-radius: 10px;
	z-index:2;
}

.searchpostImage {
  width: 50px;
  float: left;
  margin-right: 10px;
}

.ajaxSearchForm input {
	width: 360px;
	height: 35px;
}

.searchHelpers {
	font-size: 12px;
	margin-top: 5px;
}

.serarchHelper {
	cursor: pointer;
	text-decoration: underline;
}

.resultBg {
	width: 360px;
	height: 310px;
	position: absolute;
	opacity: 0.2;
	display: none;
	margin: -11px -20px;
	background-color: black;
}

.pageResultBg {
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0.2;
	display: none;
	margin: 0;
	background-color: black;
	position:fixed;
	top:0;
}

/******* Начало стилей прелоадера ************/
.ringPreloader {
	width: 30px;
	height: 30px;
	margin: -35px 0 0 290px;
	display: none;
}
.ringPreloader:after {
	content: " ";
	display: block;
	width: 14px;
	height: 14px;
	margin: 5px;
	border-radius: 50%;
	border: 2px solid #999;
	border-color: #999 transparent #999 transparent;
	animation: ringPreloader 1.2s linear infinite;
}

.ringPreloaderBig {
	width: 80px;
	height: 80px;
	margin: 125px auto;
	display: none;
}
.ringPreloaderBig:after {
	content: " ";
	display: block;
	width: 60px;
	height: 60px;
	margin: 8px;
	border-radius: 50%;
	border: 10px solid #222;
	border-color: #eee transparent #eee transparent;
	animation: ringPreloader 1.2s linear infinite;
}
@keyframes ringPreloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/******* Окончание стилей прелоадера ************/

.ajaxSearchResult {
	position: absolute;
	background-color: white;
	padding: 10px 20px;
	box-shadow: 0 0 3px;
	display:none;
	width: 360px;
  	max-width: 360px;
}

.resultNum {
	font-size: 12px;
	margin-top: 10px;
	float: left;
}
.resultRows {
	height: 300px;
	overflow-x: none;
	overflow-y:scroll;
}

.resultRow {
	border-bottom: 1px solid #ccc;
}
.resultRow a {
	font-size: 16px;
	display: block;
	margin: 15px 10px 15px 0px;
}

.seeAllresults {
	font-size: 11px;
	float: right;
	margin-top: 10px;
}

.resultBottomBlock {
	background-color: lightgray;
	height: 30px;
	padding: 0 10px;
	margin-top: 5px;
	border-radius: 3px;
}

.moreResults{
	cursor: pointer;
	font-size: 10px;
}

.searchFormButton {
	float: right;
	position: absolute;
	background-image: url("/wp-content/plugins/theme-core/inc/modules/ajaxAutocomplete/assets/images/search.svg");
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	margin-top: -32px;
	margin-left: 325px;
	background-size: 30px;
	cursor: pointer;
}

.clearInputField {
	position: absolute;
	margin-top: -30px;
	margin-left: 300px;
	cursor: pointer;
	display: none;
}
/***************** Пользовательский скролл *******************/
.resultRows::-webkit-scrollbar-track {border-radius: 4px;}
.resultRows::-webkit-scrollbar {width: 6px;}
.resultRows::-webkit-scrollbar-thumb {border-radius: 4px;background: #f0f2f5;}
.resultRows:hover::-webkit-scrollbar-thumb {background: #6a7d9b;}

/************** Поисковая иконка **********************/

.searchIcon{
	transform: translate(-50%, -50%);
	width: 0px;
	height: 55px;
	background: var(--c-link-visited);
	padding-right: 55px;
	border-radius: 5px;
	/*box-shadow: 0 0 10px rgba(0,0,0,0.5);*/
	transition: all 0.5s ease;
	margin-left: 35px;
	margin-top: 35px;
	cursor:pointer;
}

.fa{
	color: #fff;
	position: absolute;
	padding: 0;
	line-height: 55px;
	text-align: center;
	font-size: 22px;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.searchIcon.active{
	width: 100%;
	height: 100%;
	transition: all 0.5 ease;
	padding: 0;
	/*position: absolute;*/
	position: fixed;
	top: 50%;
	left: 50%;
	margin: 0;
}

.ajaxSearchBlock.active{
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -100px;
	display:block!important;
}
.searchBg {
	width: 100%;
	height: 100%;
	background-color: var(--c-link-visited);
	position: absolute;
	opacity:0;
	top: 0;
	transition: opacity 2s ease;
	display:none;
}

.searchBg.active {
	width: 100%;
	height: 100%;
	background-color: var(--c-link-visited);
	position: absolute;
	top: 0;
	opacity: 1;
	transition: opacity 2s ease;
}

.closeSearchBlock {
	color: #fff;
	position: absolute;
	width:40px;
	height:40px;
	line-height:40px;
	text-align:center;
	font-size:24px;
	margin-left: 0px;
    /*margin-top: 60px;*/
	cursor:pointer;
	font-weight: bolder;
	opacity: 0;
	z-index: -1;
	transform-origin: center;
	transform: rotate(0deg);
}

.ghostbuster::before { 
    content: none!important;
}

.active .ajaxSearchForm input, 
.active .ajaxSearchForm input:focus {
	background-color: var(--c-link-visited);
	border:none;
	border-bottom: 1px solid #CCC;
	color: #fff;
	outline:none !important
}

.active .ajaxSearchForm input::placeholder {
  color: #fff;
}

.active .clearInputField {
	color: #fff;
}
.active .searchHelpers{
	color: #fff;
}
.active .searchFormButton::before {
	color: #fff;
}
.active .searchFormButton{
    background-image: url("/wp-content/plugins/theme-core/inc/modules/ajaxAutocomplete/assets/images/searchW.svg");
}
.active .ajaxSearchForm {
	margin-top:50px;
}

.ajaxSearchForm {
	padding-top:20px;
}