// Base
.widget-search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1;
	display: flex;
	justify-content: center;
	padding: 30px 0;
	font-size: $font-size-base * .71;
	background: $white;
	opacity: 0;
	pointer-events: none;
	border-radius: $border-radius;
	box-shadow: $box-shadow-sm;
	transform: scaleY(0);
	transform-origin: center top;
	transition: .15s;

	&.rd-search-show {
		transform: scaleY(1);
		opacity: 1;
		pointer-events: auto;
	}

	&.rd-search-loading {
		.search-results {
			opacity: .5;
			pointer-events: none;
		}
	}

	.search-results {
		flex: 1 1 870px;
		max-width: 870px;
		padding: 0 15px;
	}

	.search-list {
		list-style-type: none;
	}

	.search-list-item {
		padding: 15px 0;
		margin: 0;
		border-bottom: 1px solid $gray-300;

		&:first-child {
			border-top: 1px solid $gray-300;
		}
	}

	.search-title {
		font-size: $font-size-sm;
	}

	* + p {
		margin-top: 0
	}

	* + .search-list,
	* + .search-list-item-all {
		margin-top: 20px;
	}
}

.widget-search-btn {
	transition: $transition-base;

	&:hover {
		color: $primary;
	}
}
