.search-list-main {
	position: relative;
}

#member-list-map {
	border: 1px solid #ccc;
	width: 100%;
	height: 680px;
}

.top-heading {
	position: relative;
	margin: 20px;
}

.top-heading h3 {
	font-size: 20px;
	margin-bottom: 5px;
	margin-top: 10px;
	font-weight: bold;
}

.top-heading span {
	font-size: 16px;
}

#search_form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	row-gap: 15px;
	column-gap: 15px;
	margin-top: 20px;
}

.search-text {
	border: 1px solid black;
	border-radius: 3px;
	padding-right: 40px;
	font-size: 14px;
	text-transform: uppercase !important;
	width: 100%;
	padding: 10px;
	height: 44px;
}

.search-text::placeholder {
	text-transform: none;
	color: black;
}

.search-icon {
	position: absolute;
	right: 11px;
	bottom: 11px;
}

.near-text {
	display: flex;
	align-items: center;
	gap: 6px;
	border-top: 1px solid;
	margin: 20px 20px 0;
	font-size: 16px;
	font-weight: bold;
	padding: 20px 0;
}

.no_result {
	text-align: center;
}

input.search_submit {
	background: #ef1925;
	border: 1px solid #ef1925;
	border-radius: 3px;
	width: 100%;
	height: 44px;
	line-height: 44px;
	grid-column: 1 / -1;
	padding: 0 10px;
	text-transform: uppercase;
	color: white;
	cursor: pointer;
	font-weight: 600;
	transition: all .5s ease;
}

input.search_submit:hover {
	background: white;
	color: #ef1925;
}

#airport_txt {
	text-transform: uppercase;
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: calc(100% - 112px);
	flex: 1;
}

#airport_txt img {
	width: 24px;
	display: inline-block;
	margin-bottom: -6px;
}

.search-list {
	background: #fff;
	width: 430px;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1;
}

.member-list-wrapper {
	position: relative;
}

.member-list-wrapper:after {
	content: "";
	background: #ffffff;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 87%, rgba(255, 255, 255, 1) 100%);
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	height: 100px;
	pointer-events: none;
}

.member-list li:last-child {
	margin-bottom: 10px;
}

.member-list {
	height: 250px;
	overflow-y: auto;
	width: 100%;
}

.member-list__item {
	display: grid;
	grid-template-columns: 1.5fr 0.7fr;
	column-gap: 10px;
	padding: 20px;
	transition: all .5s ease;
}

.member-list__item.active,
.member-list__item:hover {
	background: #f2f2f2;
}

.member-list__item-col-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.member-list__item-col-left p {
	display: flex;
	gap: 5px;
}

.member-list__item-col-right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
}

.member-list__distance-icon {
	width: 14px;
	height: 14px;
	display: inline-block;
}

.member-list__address {
	max-width: 260px;
}

.member-list__address .icon,
.member-list__phone .icon {
	flex: 0 0 15px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.member-list__details-button {
	display: block;
	color: black;
	background: white;
	border: 1px solid black;
	border-radius: 3px;
	text-decoration: none;
	text-align: center;
	padding: 5px 10px;
	cursor: pointer;
	transition: all .5s ease;
}

.member-list__details-button:hover {
	background: #ddd;
	text-decoration: none;
	color: inherit;
}

.member {
	max-width: 240px;
	width: 100%;
}

.member>* {
	line-height: 1.5;
}

.member a {
	outline: none !important;
	box-shadow: none !important;
}

.member a:focus {
	outline: none !important;
	box-shadow: none !important;
}

.member__name {
	margin-bottom: 5px;
	font-size: 16px;
}

.member p {
	display: flex;
	gap: 5px;
	width: 100%;
}

.member__address .icon,
.member__website .icon {
	flex: 0 0 15px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.member-details {
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.499);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	box-shadow: 0 0 100px 100px white inset;
}

.member-details__wrapper {
	border: 1px solid rgb(185 182 182);
	background: white;
	position: relative;
	max-width: 400px;
	max-height: 400px;
	width: 100%;
	height: calc(100% - 100px);
	overflow: auto;
}

.member-details__close {
	position: absolute;
	right: 5px;
	top: 0;
	padding: 10px;
	font-size: 22px;
	color: black;
	border: none;
	background: transparent;
	cursor: pointer;
}

.member-details__headding {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	align-items: center;
	background: #f2f2f2;
	padding: 20px;
}

.member-details__content {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 20px;
	max-width: 260px;
	margin: 0 auto;
}

.member-details__content p {
	display: flex;
	gap: 10px;
	font-size: 14px;
	line-height: 1.2;
}

.member-details__content .icon {
	flex: 0 0 20px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.member-details__name {
	font-size: 22px;
	line-height: 1;
	color: black;
}

.member-details__level {
	font-size: 14px;
	line-height: normal;
	color: gray;
}

.member-details__contact-button {
	text-align: center;
	text-decoration: none;
	display: table;
	margin: 50px auto 0;
	padding: 5px 60px;
	background: #ef1925;
	border: 1px solid #ef1925;
	border-radius: 3px;
	color: white;
	max-width: 205px;
	width: 100%;
	transition: all .5s ease;
}

.member-details__contact-button:hover {
	background: white;
	color: #ef1925;
	border: 1px solid #ef1925;
	text-decoration: none;
}

@media (max-width: 1023px) {
	main {
    	min-height: 790px;
	}

	.map-wrapper {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.map-wrapper > div:nth-child(1) {
		order: 2;
	}

	#member-list-map {
		display: none !important;
	}

	.search-list {
		width: 100%;
		position: relative;
		top: 0;
		right: 0;
	}

	#search_form {
		grid-template-columns: 1fr;
	}

	.search-text {
		font-size: 16px;
	}

	.AllSmallAdsFirst {
		min-width: 110px;
	}

	.AllSmallAdsSecond {
		min-width: 110px;
	}
}