* {
	box-sizing: border-box;
}

[v-cloak] {
	display: none !important;
}

body {
	margin: 0;
	font-family: "Lato";
	overflow: hidden;
	max-height: 100vh;
}

body a {
	text-decoration: none;
	color: #1285e8;
}

.maps_core_panel, .wrapper {
	position: relative;
}

.leftContainer {
	position: relative;
	width: 400px;
	height: 100%;
	float: left;
	background: #fff;
	display: flex;
	flex-flow: column;
}

.mobileHeader {
	display: none;
}

.mobileTray {
	display: none;
	position: absolute;
	height: 100%;
	width: 100%;
	top: calc(100% - 50px)
}

.mobileSpacer {
	display: none;
}

/* headerContainer is the container for the logo and title */
.headerContainer .logo {
	padding: 5px;
	background-color: #FFF;
}

.headerContainer .logo img {
	display: block;
	margin: 0 auto;
}

.headerContainer .header {}

/* gMapContainer contains the rendered google map */
.gMapContainer {
	margin-left: 400px;
	position: relative;
	height: 100%;
}
.gMapContainer .gMapHolder {
	height: 100%;
	width: 100%;
}

.gMapContainer .gMapHolder * {
	box-sizing: initial;
}

.gMapContainer .gMapHolder .map-icon {
	box-sizing: border-box;
}

/* infoTray holds the slider for the infoContainer and the itemContainer */
.infoTray {
	width: 100%;
	background: white;
	transition: 0.5s;
}

.infoTray.open {
	bottom: calc(100% - 50px);
}

.infoTray .header {
	cursor : pointer;
}

.infoTray .content {
	font-size: 14px;
	line-height: 1.5;
}


/* infoContainer is the container which contains the groups and points */
.infoContainer {
	overflow-y: auto;
	flex : 1;
}

.infoContainer .content {
	padding: 15px 10px;
}

.infoContainer .description {
	padding-bottom: 15px;
	font-size: 16px;
}
.infoContainer .group {
	border-bottom: 1px solid #ccc;
	padding: 0px 0 15px 0px;
	margin-bottom: 15px;
	position: relative;
}
.infoContainer .group.disabled .points {
	opacity: .5;
}
.infoContainer .group:last-child {
	border-bottom: none;
}
.infoContainer .group .group-title {
	font-weight: bold;
	padding-bottom: 10px;
	cursor: pointer;
}
.infoContainer .group .group-title i { float: left; }
.infoContainer .group .group-title label {
	padding-left: 20px;
	cursor: pointer;
	display: block;
	position: relative;
	top: -4px;
	word-wrap: break-word;
}
.infoContainer .group .reveal {
	cursor: pointer;
	color: #767676;
}
.infoContainer .points {
	overflow: hidden;
}
.infoContainer .point {
	padding-left: 20px;
	cursor: pointer;
	overflow: hidden;
}
.infoContainer .point .map-icon {
	float: left;
	margin-right: 10px;
}
.infoContainer .point .title {
	display: block;
	margin-left: 37px;
	position: relative;
	word-wrap: break-word;
	top: 2px;
}

.header {
	background-color: #313131;
	color: #fff;
	padding: 10px 15px;
	display: flex;
	align-items: center;
}

.header i {
	margin-right: 10px;
}

.header .title {
	font-size: 20px;
	flex: 1;
}

/* item detail */
.itemContainer {
	position: absolute;
	top: 0px; /* on desktop, the tray loads at the top */
	height: 100%;
	display: flex;
	flex-flow: column;
}
.itemContainer.open {
	bottom: auto; /* on desktop, the tray loads at the top so we override the bottom calc */
}

/* vue transitions */
.hSlide-enter-active {
	transition: 0.5s;
}
.hSlide-leave-active {
	transition: 0.5s;
}
.hSlide-enter, .hSlide-leave-to {
	transform: translateX(-400px);
	opacity: 0;
}
/* end vue transitions */
.itemContainer .content {
	overflow-y: auto;
	flex: 1;
}
.itemContainer .content .contentItem {
	padding: 1em 25px 0 25px;
}
.itemContainer .content .contentItem:last-child {
	padding-bottom: 25px;
}
.itemContainer .content .title {
	font-size: 16px;
	font-weight: bold;
}
.itemContainer .content .image {
	text-align: center;
}
.itemContainer .content .image img {
	width: 100%;
	max-width: 100%;
	max-height: 200px;
}

.map-icon {
	width: 27px;
	height: 27px;
	border: 3px solid #fff;
	border-radius: 100%;
	color: #fff;
	padding: 3px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	line-height: 15px;
	cursor: pointer;
}
.map-icon.active {
	border: 3px solid #313131;
	z-index: 1;
}
.map-icon.selected {
	border: 3px solid #313131;
	z-index: 1;
}

.my-location {
	background: #04b0cd;
	width: 17px;
	height: 17px;
	border: 3px solid #fff;
	border-radius: 100%;
	cursor: pointer;
}

.fullScreen, .myLocation {
	z-index: 1;
	position: absolute;
	top: 10px;
	font-size: 11px;
	font-family: Roboto, Arial, sans-serif;
	background-color: #FFF;
	height: 28px;
	text-align: center;
	padding: 8px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	background-clip: padding-box;
	color: #000;
	font-weight: 500;
}

.myLocation {
	right: 10px;
	border-radius: 2px;
	cursor: pointer;
}

.fullScreen {
	display: none;
	right: 86px;
}

.fullScreen:hover, .myLocation:hover {
	background-color: #f4f4f4;
}

.wrapper.embed .myLocation {
	border-bottom-left-radius: none;
	border-bottom-right-radius: 2px;
	border-top-left-radius: none;
	border-top-right-radius: 2px;
}

.wrapper.embed .fullScreen { 
	display: block;
	border-bottom-left-radius: 2px;
	border-top-left-radius: 2px;
}

/* embed css */
.wrapper.embed {
	border: 1px solid #ccc;	
}

.wrapper {
	border: none;
	overflow: hidden;
}

/** snippet is shared in offer detail, listing layout, listing detail **/
.yelp .yelp-rating {
    height: 21px;
}

.yelp .yelp-logo {
    height: 30px;
    position: relative;
    top: -3px;
}

.yelp .yelp-price {
    font-weight: bold;
}

.yelp .yelp-review-count {
    color: #666;
}

/* break points */
@media only screen and (min-width: 781px) and (max-width: 1024px) {
	.leftContainer {
		width: 250px;
	}
	.gMapContainer {
		margin-left: 250px;
	}
	.hSlide-enter, .hSlide-leave-to {
		transform: translateX(-250px;);
	}
	.headerContainer .logo img {
		height: 40px;
	}
	.header .title {
		font-size: 16px;
	}
}
@media only screen and (max-width: 780px) {
	.wrapper {
		display: flex;
		flex-flow: column;
	}
	
	.mobileHeader {
		display: block;
	}
	.header .title {
		font-size: 15px;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		padding-right: 10px;
	}
	
	/* mobileSpacer takes up the same space as the mobileTray header so the flex capabilities on .wrapper work */
	.mobileSpacer {
		height: 50px;
		display: block;
	}
	.mobileTray {
		display: block;
		height: 100%;
	}
	.mobileTray .header {
		line-height: 50px;
		height: 50px;
	}
	
	.itemContainer {
		top: auto; /* override the top: 0 from desktop */
	}
	
	.itemContainer.open {
		bottom: calc(100% - 50px); /* reset our calc for mobile */
	}
	
	.itemContainer .content .image img {
		width: auto;
	}
	
	.leftContainer {
		display: none;
	}
	
	.gMapContainer {
		margin-left: 0px;
		overflow: auto;
		flex: 1;
	}
	
	.infoTray {
		position: absolute;
		bottom: 0px;
		height: 100%;
		z-index: 1;
	}
	
	.infoTray .content.embed {
		border-bottom: 1px solid #CCC;
	}
}