﻿.wpf-activity-finder {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 40px); /* Fill browser window */
	max-height:1000px;
	overflow: hidden;
	margin-top:20px;
}

	.wpf-activity-finder .top {
		flex: 0 0 auto;
		z-index: 1;
	}

	.wpf-activity-finder .bottom {
		flex: 1 1 auto;
		display: flex;
		overflow: hidden;
	}

	.wpf-activity-finder h2 {
		font-size: 1.2em;
		margin-bottom: 0px;
		padding: 10px 20px;
		background: #eee;
		display: inline-block;
		border: solid 1px #ccc;
		border-bottom: none;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}

	.wpf-activity-finder .list {
		width: 480px;
		overflow-y: auto;
		background: #fff;
		padding: 10px;
		box-sizing: border-box;
	}

		.wpf-activity-finder .list h2 {
			background: #FFF493;
		}

		.wpf-activity-finder .map {
			flex: 1;
			background: #fafafa;
			position: relative;
			min-height: 100%;
			margin-top: 10px;
		}

	.wpf-activity-finder .google-map {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.wpf-activity-finder .event-item {
		padding: 10px;
		background: #f8f8f8;
		margin-bottom: 10px;
		border-radius: 5px;
		position: relative;
		transition: 0.25s;
		height: 160px;
	}

		.wpf-activity-finder .event-item:hover {
			cursor: pointer;
			background: #eee;
		}

	.wpf-activity-finder .event-photo {
		width: 160px;
		overflow: hidden;
		margin-right: 15px;
		display: inline-block;
		vertical-align: top;
		margin-left: -10px;
		margin-top: -10px;
	}

		.wpf-activity-finder .event-photo img {
			height:180px;
			min-width:180px;
			border-top-left-radius: 5px;
			border-bottom-left-radius: 5px;
		}

	.wpf-activity-finder .event-details {
		display: inline-block;
		vertical-align: top;
		width: calc(100% - 165px);
	}

		.wpf-activity-finder .event-details h3 {
			color: #222;
			margin-bottom: 6px;
		}

	.wpf-activity-finder .event-date {
		padding: 5px 0px 5px 25px;
		background-image: url(/images/base/date.png);
		background-size: 18px auto;
		background-position: 0px 4px;
		background-repeat: no-repeat;
		margin-bottom: 0px;
	}

	.wpf-activity-finder .event-location {
		padding: 5px 0px 5px 25px;
		background-image: url(/images/base/location.png);
		background-size: 18px auto;
		background-position: 0px 4px;
		background-repeat: no-repeat;
		margin-bottom: 0px;
	}

	.wpf-activity-finder .event-price {
		padding: 5px 0px 5px 25px;
		background-image: url(/images/base/cost.png);
		background-size: 18px auto;
		background-position: 0px 6px;
		background-repeat: no-repeat;
		margin-bottom: 0px;
	}

	.wpf-activity-finder .event-book {
		position: absolute;
		bottom: 0px;
		right: 0px;
		border-bottom-right-radius: 5px;
		border-top-left-radius: 5px;
		background: #444;
		color: #fff;
		padding: 5px 12px;
		transition: 0.25s;
	}

		.wpf-activity-finder .event-book.external {
			background: #aa0000;
		}

	.wpf-activity-finder .event-funding {
		position: absolute;
		bottom: 0px;
		left: 0px;
		border-bottom-left-radius: 5px;
		background: #3AA5F2;
		color: #fff;
		padding: 5px 10px;
		width: 130px;
		transition: 0.25s;
		text-align: center;
	}

	.wpf-activity-finder .event-book:hover {
		cursor: pointer;
		background: #222;
	}

	/* Venue panels (styled same as event-item) */
	.wpf-activity-finder .venue-item {
		padding: 10px;
		background: #FFFDD6;
		margin-bottom: 10px;
		border-radius: 5px;
		position: relative;
		transition: 0.25s;
		height: 150px;
	}

		.wpf-activity-finder .venue-item:hover {
			cursor: pointer;
			background: #F7F5CF;
		}

	.wpf-activity-finder .venue-photo {
		width: 150px;
		overflow: hidden;
		margin-right: 20px;
		display: inline-block;
		vertical-align: top;
		margin-left: -10px;
		margin-top: -10px;
	}

		.wpf-activity-finder .venue-photo img {
			height: 170px;
			border-top-left-radius: 5px;
			border-bottom-left-radius: 5px;
		}

	.wpf-activity-finder .venue-details {
		display: inline-block;
		vertical-align: top;
		width: calc(100% - 170px);
	}

		.wpf-activity-finder .venue-details h3 {
			color: #222;
			margin-bottom: 6px;
		}

	/* Venue-specific detail rows */
	.wpf-activity-finder .venue-address {
		padding: 5px 0px 5px 25px;
		background-image: url(/images/base/location.png);
		background-size: 18px auto;
		background-position: 0px 4px;
		background-repeat: no-repeat;
		margin-bottom: 0px;
	}

	.wpf-activity-finder .venue-description {
		padding: 5px 0px 5px 25px;
		background-image: url(/images/base/info.png); /* make sure you have this icon */
		background-size: 18px auto;
		background-position: 0px 4px;
		background-repeat: no-repeat;
		margin-bottom: 0px;
		font-size: 0.95em;
		color: #555;
	}


	.wpf-activity-finder .venue-distance {
		padding: 5px 0px 5px 25px;
		background-image: url(/images/base/distance.png); /* you can create/use a distance icon */
		background-size: 18px auto;
		background-position: 0px 4px;
		background-repeat: no-repeat;
		margin-bottom: 0px;
	}

	.wpf-activity-finder .venue-moreinfo {
		position: absolute;
		bottom: 0px;
		right: 0px;
		border-bottom-right-radius: 5px;
		border-top-left-radius: 5px;
		background: #800000; /* dark red */
		color: #fff;
		padding: 5px 12px;
		transition: 0.25s;
	}

		.wpf-activity-finder .venue-moreinfo:hover {
			cursor: pointer;
			background: #550000; /* darker on hover */
		}

		.wpf-activity-finder .box h4 { 
			font-size:0.9em;
			margin-top:0px;
			margin-bottom:5px;
			color: #666;
		}

	.wpf-activity-finder .tag { 
		display:inline-block;
		vertical-align:middle;
		margin-right:20px;
		margin-top:15px;
		padding:5px 12px;
		border: solid 1px #ccc;
		border-radius:5px;
		transition: 0.25s;
	}

		.wpf-activity-finder .tag:hover {
			background: #eee;
			cursor: pointer;
		}

	.wpf-activity-finder .tag.selected { 
		background: #444;
		border: solid 1px #444;
		color: #fff;
	}


