/*
	Name:			Countries
	URI:			https://www.sterling-adventures.co.uk/blog/2008/04/01/post-country-plug-in/
	Description:	Extend main WordPress Loop query to look at Country data in post meta data and provide location based mapping.
	Author:			(c) Peter Sterling
*/

div.venue_class {
	font-family: Helvetica Neue, Helvetica, arial;
	font-size: 18px;
	line-height: 25px;
	font-weight: bold;
	padding: 4px 10px 4px 10px;
}

.instructions {
	margin: 4px 0 4px;
	text-align: center;
}

.country_img {
	vertical-align: text-bottom;
}

.cat_select {
	width: auto;
}

.gpx-title {
	text-align: center;
}

.country_img { vertical-align: text-bottom; }
.column-country {  }
.column-cat_country_image { width: 50px; text-align: center; }
.country_xy { width: 100px; }
.country_loc_name { width: 100px; }
.column-title { width: 20%; }

#country_focus input {
	background: LightCyan;
}

#country-widget-list li {
	background: url(images/arrow-mini.png) no-repeat left center;
	background-size: 11px 11px;
}

select#country {
	width: 100%;
}

.form-table .param_hint {
	width: 40%;
	font-size: 0.75em;
}

@-moz-keyframes pulsate {
	from {
		-moz-transform: scale(0.25);
		opacity: 1.0;
	}
	95% {
		-moz-transform: scale(1.3);
		opacity: 0;
	}
	to {
		-moz-transform: scale(0.3);
		opacity: 0;
	}
}

@-webkit-keyframes pulsate {
	from {
		-webkit-transform: scale(0.25);
		opacity: 1.0;
	}
	95% {
		-webkit-transform: scale(1.3);
		opacity: 0;
	}
	to {
		-webkit-transform: scale(0.3);
		opacity: 0;
	}
}

[title="current_location"] {
	-moz-animation: pulsate 1.5s ease-in-out infinite;
	-webkit-animation: pulsate 1.5s ease-in-out infinite;
	border: 1pt solid #fff;
	-moz-border-radius: 51px;
	-webkit-border-radius: 51px;
	border-radius: 51px;
	-moz-box-shadow: inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
	-webkit-box-shadow: inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
	box-shadow: inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
	height: 51px!important;
	margin: -18px 0 0 -18px;
	width: 51px!important;
}

[title="current_location"] img {
	display: none;
}

@media only screen and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) {
	[title="current_location"] {
		margin: -10px 0 0 -10px;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	[title="current_location"] {
		margin: -10px 0 0 -10px;
	}
}

.directions {
	padding: 4px 0 4px;
}

.dir_label {
	width: 110px;
	display: inline-block;
}

.dir_img {
	width: 16px;
	height: 16px;
	vertical-align: top;
	margin-top: -2px;
	margin-right: 6px;
	float: right;
}

.directions input[type='text'] {
	width: 200px;
}

.directions select {
	width: auto;
}

.directions p {
	margin-top: 3px;
	margin-bottom: 3px;
	margin-left: 30px;
}

.dir_end {
	font-style: italic;
	font-size: 80%;
}

.directions_panel {
	margin: 4px 0 4px;
	padding: 6px 0 6px;
	max-height: 200px;
	overflow: auto;
	border-top: 1px dashed lightGray;
	border-bottom: 1px dashed lightGray;
}

table.adp-directions {
	width: 100%;
}

.switch-button {
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(0, 0, 0, 0.3);
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	width: 16px;
	height: 16px;
	vertical-align: top;
	margin-top: 1px;
}

.switch-button:hover {
	border: 1px solid rgba(0, 0, 0, .8);
}

.map-control {
	margin: 5px 0px 0px 0px;
	background-color: white;
	padding: 1px 4px 3px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	cursor: pointer;
	font-family: Roboto, Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	text-align: left;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	color: rgb(86, 86, 86);
	margin-left: 4px;
	overflow: hidden;
}

.map-control * {
	margin: 0px;
	padding: 0px;
	vertical-align: baseline;
}

a.button.insert-map {
	padding-left: 0.4em;
}

.map-canvas {
	overflow: hidden !important;
	padding: 0px !important;
	margin: 0px;
	color: black !important;
}

.map-canvas img {
	background-color: transparent !important;
	max-width: 99999px !important;
	max-height: none !important;
	visibility: inherit !important;
	padding: 0px !important;
	margin: 0px;
	box-shadow: none !important;
	border-radius: 0px !important;
}

.slideshow-control, .fullscreen-control {
	height: 38px;
	width: 46px;
	overflow: hidden;
	margin-left: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-color: gray;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(black));
	background-image: -webkit-linear-gradient(top, #eeeeee, black);
	background-image: -moz-linear-gradient(top, #eeeeee, black);
	background-image: -ms-linear-gradient(top, #eeeeee, black);
	background-image: -o-linear-gradient(top, #eeeeee, black);
	background-image: linear-gradient(top, #eeeeee, black);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#eeeeee, endColorstr=black);
	border: 1px solid gray;
}

.fullscreen-control {
	height: 30px;
	width: 30px;
	margin-right: 5px;
	margin-top: 5px;
}

.slideshow-control:hover, .fullscreen-control:hover {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#202020));
	background-image: -webkit-linear-gradient(top, #eeeeee, #202020);
	background-image: -moz-linear-gradient(top, #eeeeee, #202020);
	background-image: -ms-linear-gradient(top, #eeeeee, #202020);
	background-image: -o-linear-gradient(top, #eeeeee, #202020);
	background-image: linear-gradient(top, #eeeeee, #202020);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#eeeeee, endColorstr=#202020);
}

.slideshow-container {
	display: none;
	width: 500px;
	border: 1px solid gray;
	background: black;
	position: absolute;
	top: 50px;
	margin-left: -140px;
	z-index: 3;
	border-radius: 2px;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

.slideshow-label {
	margin: 3px 3px 6px;
	font-weight: bold;
	width: 90%;
	float: left;
}

.slideshow-label a {
	text-decoration: none;
	color: white;
}

.slideshow-label a:hover {
	text-decoration: underline;
}

.slideshow-close {
	font-weight: bold;
	color: gray;
	padding: 3px 6px;
	cursor: pointer;
	float: right;
}

.slideshow-close:hover {
	color: white;
}

.slideshow-flag {
	float: left;
	margin: 3px;
}

.search-control {
	font-family: Roboto, Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	width: auto;
	height: auto;
	background: lightGray;
	padding: 1px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	margin-top: 5px;
}

.search-control #map-search {
	width: 140px;
	margin-left: 3px;
}

.gm-style-iw #content {
	line-height: 1;
	padding: 10px;
	background-color: white;
}
.gm-style-iw #content span, .gm-style-iw #content a {
	box-shadow: none;
	display: inline-block;
	vertical-align: text-bottom;
}
