/* Search
   ========================================================================== */

.search-icon {
	pointer-events: pointer;
}

.search-icon svg {
	transform: translateY(3px);
}

.search-icon svg path,
.close-toggle svg path {
	fill: #000;
}

.search-module {
	display: none;
}

.active-search {
	overflow: hidden;
}

.active-search .search-module {
	display: flex;
}

.close-toggle,
.active-search .search-toggle {
	display: none;
}

.active-search .close-toggle {
	display: block;
}

.search-module .module-box {
	z-index: 999999;
	background: rgba(0, 0, 0, .5);
	height: calc(100% - 143px);
	position: fixed;
	left: 0;
	width: 100%;
}

.search-module .search-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	position: relative;
	width: 100vw;
}

.search-results-container {
	width: 100vw;
	height: auto;
	max-height: calc(100% - 94px);
	background: #fff;
	position: absolute;
	top: 93px;
	left: 0;
	overflow: auto;
	padding-left: 0;
	list-style: none;
}

.search-results-container li {
	border-bottom: 1px solid #f5f5f5;
	padding: 10px 20px;
}

.search-module select {
	width: 400px;
	margin: 0;
	transform: translateY(0.15px);
	background: #f4f4f4 url('../images/chevron-down-solid.svg') no-repeat 93% 50% !important;
	background-size: 12px !important;
}

.search-module input {
	width: calc(100vw - 457px) !important;
}

.search-module select,
.search-module input {
	padding: 10px;
	height: 40px;
}

.search-module form {
	padding: 25px;
	background: #fff;
	border: 1px solid #dfdfdf !important;
}

.search-results-container h2 {
	font-size: 18px;
}

.search-results-container a {
	color: #000;
}

.search-results-container a:hover {
	color: #006aff!important;
}

.search-results-container li {
	border-bottom: 1px solid #dfdfdf;
}

@media (max-width: 767px) {

	.search-module .module-box {
		height: calc(100% - 172px);
	}

	.search-module input,
	.search-module select {
		width: 100%;
	}

	.search-module input {
		margin-bottom: 10px;
	}

	.active-search .search-module {
		display: block;
	}

	.search-results-container {
		height: auto;
		max-height: calc(100vh - 314px);
		top: 142px;
	}

}