/* This stylesheet is used to style the public-facing components of the plugin. */

.google-maps-builder {
	width: 100%;
	height: 500px;
}

div[id^='google-maps-builder'] div#infobubble-content > div {
	white-space: normal;
}

div[id^='google-maps-builder'] .gm-style-iw, div[id^='google-maps-builder'] .gm-style-iw > div {
	overflow: visible !important;
}

/* This fixes issues some themes have with embedded Google Maps (like Twenty Twelve) */
div[id^='google-maps-builder'] img {
	max-width: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}


/*--------------------------------------------
 Info Bubble (window)
---------------------------------------------*/

/* Loading */
#infobubble-content.loading {
	background: url('../../../includes/assets/img/loading.GIF') no-repeat center center #FFF;
}

#infobubble-content p {
	font-size: 12px;
	margin: 0 0 7px;
	color: #2C2C2C;
}

#infobubble-content {
	padding: 0 0 0 0;
	margin: 0 -20px 0 0;
	min-width: 314px;
	min-height: 80px;
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	cursor: default;
}

#infobubble-content .place-title {
	border: 1px solid #FFF;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 21px;
	font-weight: 700;
	min-height: 21px;
	white-space: normal;
	padding-right: 20px;
}

#infobubble-content .place-description {
	white-space: normal;
}

/* Place Details */

#infobubble-content .marker-info-wrapper {
	background-color: #F1F1F1;
	margin: 8px 0 4px;
	padding: 12px 12px 12px 12px;
	font-size: 13px;
}

/* Ratings */
#infobubble-content .rating-wrap {
	overflow: hidden;
	margin: 4px 0 0;
}

#infobubble-content .numeric-rating {
	font-size: 16px;
	color: #DD4B39;
	font-weight: 400;
	float: left;
	margin: 0 5px 0 0;
	line-height: 1;
}

#infobubble-content .star-rating-wrap {
	background: url('../../../includes/assets/img/review_stars.png') no-repeat 0 0 transparent;
	height: 13px;
	width: 67px;
	float: left;
	margin: 1px 0 0;

}

#infobubble-content .star-rating-size {
	background: url('../../../includes/assets/img/review_stars.png') no-repeat 0 -13px transparent;
	height: 13px;
}


/* Maps Icons */
div[id^='google-maps-builder'] .marker-label {
	z-index: 99;
	position: absolute;
	display: block;
	margin-top: -50px;
	margin-left: -25px;
	width: 50px;
	height: 50px;
	font-size: 28px;
	text-align: center;
	color: #FFFFFF;
	white-space: nowrap;
	line-height: 1;
}