
.searchform {
	position: relative;
	--wd-search-btn-w: var(--wd-form-height);
	--wd-form-height: 46px;
}

.searchform input[type="text"] {
	padding-right: var(--wd-search-btn-w);
}

.searchform .searchsubmit {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 0;
	width: var(--wd-search-btn-w);
	min-height: unset;
	border: none;
	background-color: transparent;
	box-shadow: none;
	color: var(--wd-form-color);
	font-weight: 400;
	font-size: 0;
}

.searchform .searchsubmit:hover {
	color: var(--wd-form-color);
}

.searchform .searchsubmit:hover:after, .searchform .searchsubmit:hover img {
	opacity: .7;
}

.searchform .searchsubmit:after {
	font-size: calc(var(--wd-form-height) / 2.3);
	transition: opacity .2s ease;
	content: "";
	font-family: "woodmart-font";
}

.searchform .searchsubmit img {
	min-width: unset;
	max-width: 24px;
	transition: opacity .2s ease;
}

.searchform .searchsubmit:before {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: calc(( var(--wd-form-height) / 2.5 ) / -2);
	margin-left: calc(( var(--wd-form-height) / 2.5 ) / -2);
	opacity: 0;
	transition: opacity .1s ease;
	content: "";
	display: inline-block;
	width: calc(var(--wd-form-height) / 2.5);
	height: calc(var(--wd-form-height) / 2.5);
	border: 1px solid rgba(0, 0, 0, 0);
	border-left-color: currentColor;
	border-radius: 50%;
	vertical-align: middle;
}

.searchform .searchsubmit.wd-with-img:after {
	content: none;
}

.searchform.search-loading .searchsubmit:before {
	opacity: 1;
	transition-duration: .2s;
	animation: wd-rotate 450ms infinite linear;
}

.searchform.search-loading .searchsubmit:after, .searchform.search-loading .searchsubmit img {
	opacity: 0;
	transition-duration: .1s;
}
