
/* Conflict fixes */

/* Street view width fix */
.wpgmza_map .gm-svpc img {
	max-width: initial;
}

/* Issue with focus element */
.wpgmza_map[data-maps-engine="google-maps"] *:focus {
	outline: none;
}

/* This fixes common CSS conflicts, :not added to cater for Google UI changes */
.wpgmza_map img:not(button>img) {
	border: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Don't allow white border around Google logo */
.wpgmza_map img[src$="//maps.gstatic.com/mapfiles/api-3/images/google4.png"], .wpgmza_map img[src='http://maps.gstatic.com/mapfiles/api-3/images/google_white5.png'] {
	box-shadow: none !important;
}

/* Box shadows on images */
.wpgmza_table img {
	box-shadow: none !important;
}

/* Rating Widgets - To be replaced, removed, and improved with Gold V6 */
.wpgmza-rating-gradient-container {
	display: inline-block;
	vertical-align: middle;
	border: 1px solid lightgray;
	width: 128px;
	height: 1em;
}

.wpgmza-rating-gradient-container>.wpgmza-rating-gradient {
	height: 100%;
	background: #f00;
	background: -moz-linear-gradient(left, #f00 0%, #0f0 128px);
	background: -webkit-linear-gradient(left, #f00 0%, #0f0 128px);
	background: linear-gradient(to right, #f00 0%, #0f0 128px);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff0000", endColorstr="#00ff00", GradientType=1);
	/* IE6-9 */
	pointer-events: none;
	transition: width .5s;
}

.wpgmza-rating-stars-container {
	position: relative;
	font-size: 1.5em;
	cursor: pointer;
}

.wpgmza-rating-stars-container + .wpgmza-num-ratings {
	position: relative;
}

.wpgmza-rating-stars-container>span {
	position: absolute;
	top: 0px;
	left: 0px;
	padding-top: .3em;
}

.wpgmza-rating-stars-container>span.wpgmza-background {
	text-shadow: 0px 0px 2px black;
}

.wpgmza-rating-stars-container>span.wpgmza-foreground {
	overflow: hidden;
	color: yellow;
	text-shadow: 0px -1px 3px orange inner;
}

.wpgmza-rating-thumbs-container, .wpgmza-rating-thumbs-container * {
	display: inline-block;
	vertical-align: middle;
}

.wpgmza-rating-thumbs-container {
	background: ghostwhite;
	border: 1px solid lightgrey;
	border-radius: 6px;
}

.wpgmza-rating-thumbs-container>span.wpgmza-downvote, .wpgmza-rating-thumbs-container>span.wpgmza-upvote {
	padding: .5em 1em;
}

.wpgmza-rating-thumbs-container i {
	position: relative;
	font-size: 1.5em;
	top: 0em;
	transition: top .6s;
}

.wpgmza-rating-thumbs-container .wpgmza-upvote>i {
	top: -.05em;
}

.wpgmza-rating-thumbs-container .wpgmza-down>i {
	top: .05em;
}

.wpgmza-rating-thumbs-container .wpgmza-upvote:hover>i {
	top: -.25em;
}

.wpgmza-rating-thumbs-container .wpgmza-downvote:hover>i {
	top: .25em;
}

.wpgmza-rating-thumbs-container>span.wpgmza-upvote {
	border-left: 1px solid lightgrey;
}

.wpgmza-rating-thumbs-container>span:hover, .wpgmza-rating-thumbs-container>span.wpgmza-remembered-rating {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,c9c9c9+100&0.5+0,0.2+100 */
	background: -moz-linear-gradient(top, rgba(255, 255, 255, .5) 0%, rgba(201, 201, 201, .2) 100%);
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, .5) 0%, rgba(201, 201, 201, .2) 100%);
	background: linear-gradient(to bottom, rgba(255, 255, 255, .5) 0%, rgba(201, 201, 201, .2) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#80ffffff", endColorstr="#33c9c9c9", GradientType=0);
}

.wpgmza-rating-thumbs-container>span:active {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,c9c9c9+100&0.5+0,0.2+100 */
	background: -moz-linear-gradient(bottom, rgba(255, 255, 255, .5) 0%, rgba(201, 201, 201, .2) 100%);
	background: -webkit-linear-gradient(bottom, rgba(255, 255, 255, .5) 0%, rgba(201, 201, 201, .2) 100%);
	background: linear-gradient(to top, rgba(255, 255, 255, .5) 0%, rgba(201, 201, 201, .2) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#33c9c9c9", endColorstr="#80ffffff", GradientType=0);
}

.wpgmza-rating.wpgmza-loading {
	filter: grayscale(100%);
}

.wpgmza-google-html-overlay {
	position: absolute;
}

.wpgmza_map .google-maps-control-user-location {
	border: 0px;
	margin: 10px;
	padding: 0px;
	text-transform: none;
	appearance: none;
	position: absolute;
	cursor: pointer;
	user-select: none;
	border-radius: 2px;
	height: 40px;
	width: 40px;
	box-shadow: rgba(0, 0, 0, .3) 0px 1px 4px -1px;
	overflow: hidden;
	background: var(--wpgmza-component-color);
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part {
	display: block;
	position: absolute;
	pointer-events: none;
	box-sizing: border-box;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-circle {
	border: 2px solid #666;
	width: 20px;
	height: 20px;
	left: 10px;
	top: 10px;
	border-radius: 20px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-top, .wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-bottom {
	width: 2px;
	height: 6px;
	background: #666;
	border-radius: 3px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-left, .wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-right {
	height: 2px;
	width: 6px;
	background: #666;
	border-radius: 3px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-top, .wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-bottom {
	left: 19px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-top {
	top: 8px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-bottom {
	bottom: 8px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-left, .wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-right {
	top: 19px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-left {
	left: 8px;
}

.wpgmza_map .google-maps-control-user-location .google-maps-user-location-part.google-maps-user-location-part-right {
	right: 8px;
}

.wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-user-location-part-circle {
	border-color: #333;
}

.wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-user-location-part-top, .wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-user-location-part-bottom, .wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-user-location-part-left, .wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-user-location-part-right {
	background: #333;
}

/* Reset Map */
.wpgmza_map .google-maps-control-reset-map {
	border: 0px;
	margin: 10px;
	padding: 0px;
	text-transform: none;
	appearance: none;
	position: absolute;
	cursor: pointer;
	user-select: none;
	border-radius: 2px;
	height: 40px;
	width: 40px;
	box-shadow: rgba(0, 0, 0, .3) 0px 1px 4px -1px;
	overflow: hidden;
	background: var(--wpgmza-component-color);
}

.wpgmza_map .google-maps-control-reset-map .google-maps-reset-map-part {
	display: block;
	position: absolute;
	pointer-events: none;
	box-sizing: border-box;
}

.wpgmza_map .google-maps-control-reset-map .google-maps-reset-map-part.google-maps-reset-map-part-circle {
	border: 2px solid #666;
	width: 16px;
	height: 16px;
	left: 12px;
	top: 12px;
	border-radius: 20px;
	border-left-color: transparent;
	transform: rotate(-45deg);
}

.wpgmza_map .google-maps-control-reset-map .google-maps-reset-map-part.google-maps-reset-map-part-arrow {
	width: 3px;
	height: 3px;
	border: 3px solid #666;
	box-sizing: border-box;
	border-right-color: transparent;
	border-bottom-color: transparent;
	transform: rotate(-135deg);
	top: 15px;
	left: 10px;
	border-radius: 2px;
}

.wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-reset-map-part-circle {
	border-color: #333;
	border-left-color: transparent;
}

.wpgmza_map .google-maps-control-user-location:hover .google-maps-user-location-part.google-maps-reset-map-part-arrow {
	border-color: #333;
	border-right-color: transparent;
	border-bottom-color: transparent;
}
