.wp-block-themeisle-blocks-google-map {
	.components-placeholder {
		padding: 40px 20px;
	}

	.components-placeholder__text {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.components-placeholder__actions {
		display: flex;
		flex-direction: row;
		width: 100%;
		flex-wrap: wrap;
		z-index: 1;
	}

	.components-base-control__field {
		margin-right: 8px;
	}

	.components-placeholder__input {
		input[type="text"] {
			min-height: 36px;
		}

		&.is-invalid {
			input[type="text"] {
				border-color: var(--wp--preset--color--vivid-red);
				box-shadow: 0 0 0 1px var(--wp--preset--color--vivid-red);
				outline: 2px solid transparent;
			}
		}
	}

	.components-placeholder__fieldset {
		.components-placeholder__learn-more {
			p {
				font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
				font-size: 13px;
				margin-bottom: 5px;
			}
		}
	}

	.gmnoprint {
		&:hover {
			* {
				cursor: pointer !important;
			}
		}
	}

	.is-selecting-marker * {
		cursor: crosshair;
	}
}

.wp-block-themeisle-blocks-google-map-marker-button {
	background-color: #fff;
	border: 2px solid #fff;
	border-radius: 3px;
	box-shadow: 0 2px 6px rgba(0,0,0,.3);
	margin-left: 10px;
	padding: 8px;
	text-align: center;
	z-index: 0;
	position: absolute;
	bottom: 26px;
	left: 0px;

	&:hover {
		cursor: pointer;

		* {
			cursor: pointer;
		}

		.dashicons {

			&:before {
				content: "\f109";
			}
		}
	}

	.dashicons {
		color: #666666;

		&:hover {
			color: #000000;
		}
	}
}

.wp-block-themeisle-blocks-google-map-search {
	width: 100%;
}

.wp-block-themeisle-blocks-google-map-marker-group {
	.wp-block-themeisle-blocks-google-map-marker {
		margin: 10px 0;
	}

	.wp-block-themeisle-blocks-google-map-marker-title-area {
		display: flex;
		border: 1px solid #d5dadf;

		&:hover {
			border-color: #a4afb7;
		}
	}

	.wp-block-themeisle-blocks-google-map-marker-title {
		flex-basis: 80%;
		padding: 10px 15px;
		cursor: pointer;

		&:hover {
			background: #fafafb;
		}
	}

	.wp-block-themeisle-blocks-google-map-marker-remove {
		display: flex;
		flex-basis: 20%;
		justify-content: center;
		padding: 10px 5px;
		border-left: 1px solid #d5dadf;
		cursor: pointer;

		&:hover {
			background: #fafafb;
			border-radius: 0;
			box-shadow: none;
		}

		.dashicon {
			margin: 2px;
		}
	}

	.wp-block-themeisle-blocks-google-map-marker-control-area {
		border: 1px solid #d5dadf;
		border-top: none;
		padding: 10px 15px;
		display: none;

		&.opened {
			display: block;
		}
	}
}

.wp-block-themeisle-blocks-google-map-marker-add {
	display: flex;
	justify-content: center;
	width: 100%;
}

.wp-block-themeisle-blocks-map-overview {
	h6.wp-block-themeisle-blocks-map-overview-title {
		font-size: 14px;
		margin: 10px 0;
	}

	.wp-block-themeisle-blocks-map-overview-content p {
		font-size: 12px;
	}

	.wp-block-themeisle-blocks-map-overview-delete {
		cursor: pointer;
	}
}

.wp-block-themeisle-blocks-google-map-resizer {
	&.is-focused {
		.components-resizable-box__handle {
			display: block;
			z-index: 1;
		}
	}
}

.pac-container {
	z-index: 999999;
}
