/**
 * A Wordpress plugin that adds a custom post type for placemarks and builds a Google Map with them
 * @package BasicGoogleMapsPlacemarks
 * @author Ian Dunn <ian@iandunn.name>
 * @link http://wordpress.org/extend/plugins/basic-google-maps-placemarks/
 */


/*
 * Front end
 */
#bgmp_map-canvas
{
	width: 600px;	/* The width and height here are just defaults in case the JavaScript can't load. They're overridden with the ones on the Settings page when the map is created */
	height: 400px;
}


	.bgmp_placemark
	{
	}
		
		/* Maps API doesn't take the infowindow's child element margins into account when calculating container size -- http://stackoverflow.com/questions/1554893/google-maps-api-v3-infowindow-not-sizing-correctly/5690251#5690251 */
		.bgmp_placemark h1
		{
			margin: 0;
			padding: 5px 0;
		}
		
		.bgmp_placemark div
		{
			margin: 0;
		}
	
	/* Override theme styles that will interfere with the map */
	#bgmp_map-canvas img
	{
		width: auto;
		max-width: none;
		background: none !important;
		padding: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	
	#bgmp_map-canvas #content
	{
		width: auto;
		height: auto;
		overflow: auto;
	}


/*
 * Admin
 */
input#bgmp_address, input#bgmp_map-address
{
	width: 400px;
}