.astm-search-menu {
	position: relative;
}

.astm-search-menu a {
	outline: 0;
}

.astm-search-menu a::before,
.astm-search-menu a::after {
	display: none !important;
}

.astm-search-menu:hover > a,
.astm-search-menu a:hover,
.astm-search-menu a:focus {
	background: transparent !important;
	outline: none;
}

.astm-search-menu.default form {
	max-width: 300px;
	position: static;
}

.astm-search-menu.dropdown form {
	display: none;
	min-width: 300px;
	max-width: 100%;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 9;
}

.astm-search-menu.full-width-menu form,
.astm-search-menu.sliding form {
	min-width: 0 !important;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 10%;
	width: 0;
	z-index: 9;

}

.astm-search-menu.full-width-menu.active-search {
	top: 0;
	position: absolute;
	right: 0;
	width: 100%;
}

.astm-search-menu.full-width-menu.active-search a {
	display: none;
}

.astm-search-menu form .screen-reader-text {
	display: none;
}

.astm-search-menu form label {
	margin: 0;
	padding: 0;
}

.astm-search-menu-wrapper {
	display: none;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 100%;
	z-index: 9999;
}

.admin-bar .astm-search-menu-wrapper {
	top: 51px;
}

.astm-search-menu-wrapper .astm-search-menu {
	float: right;
}

.astm-search-menu-wrapper .astm-search-menu form {
	right: 0;
	left: auto;
}

.gsc-cse-search-menu {
	max-width: 300px;
	float: right
}

.gsc-cse-search-menu .cse .gsc-control-cse,
.gsc-cse-search-menu .gsc-control-cse {
	padding: 0;
}

.search-close {
	cursor: pointer;
	display: none;
	height: 20px;
	position: absolute;
	right: -40%;
	top: 16px;
	width: 20px;
	z-index: 99999;
}

.search-close:after {
	border-left: 2px solid #000;
	content: '';
	height: 20px;
	left: 9px;
	position: absolute;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.search-close:before {
	border-left: 2px solid #000;
	content: '';
	height: 20px;
	left: 9px;
	position: absolute;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.astm-search-menu.dropdown form[style="display: block;"] + .search-close,
.astm-search-menu.full-width-menu.open .search-close,
.astm-search-menu.sliding.open .search-close {
	display: block;
}

@media screen and ( max-width: 910px ) {
	.astm-search-menu form {
		left: 0;
		min-width: 50%;
		right: auto;
	}

	.astm-search-menu.full-width-menu.active-search {
		position: relative;
	}

	.astm-search-menu-wrapper {
		display: block;
	}
}
