#page {
	min-height: 500px;
}
.map,
.map-single,
.map-multi {
	height: 320px;
	margin-bottom: 20px;
}
.map-large {
	height: 640px;
}
.map-row {
	overflow: hidden;
	margin: 0 -10px;
}
.leaflet-labels-pane {
	/* labels pane is a tilelayer, added to the objects pane alongside
	markers, geojson etc. - set z-index to sit above geojson, below markers
	and popups */
	z-index: 5;
	position: absolute;
	top: 0px;
	left: 0px;
	pointer-events: none;
}
.leaflet-marker-icon.small-icon {
	background: rgba(255, 255, 255, 0.26);
	border-radius: 6px;
	border: 2px solid #fff;
}
.map-wrap-right {
	float: right;
}
.header-wrap-left {
	float: left;
}
.map-wrap-right .columns.context.leaflet-container {
	margin-left: 0;
	margin-right: 0;
}
.map-wrap-right p {
	font-size: 0.833em;
}
.map-controls {
	min-height: 640px;
	opacity: 1;
	transition: opacity 0.3s;
}
.details--loading .map-controls,
.details--active .map-controls{
	opacity: 0;
}
.filter-navigate ul,
.filter-navigate p {
	display: none;
}
.filter-navigate,
.filter-navigate ul {
	list-style: none;
}
.filter-navigate ul {
	margin: 0;
}
.filter-navigate a {
	display: block;
	text-decoration: none;
	color: #222;
	padding: 3px 5px;
	border: 1px solid #ccc;
	border-top: 0;
	outline: none;
}
.filter-navigate p a.btn,
.filter-navigate .active p a.btn{
	display: inline-block;
	font-size: 0.8em;
	padding: 2px 5px;
	margin: 4px 0px;
}
.filter-navigate > li:first-child > a {
	border-radius: 3px 3px 0 0;
	border-top: 1px solid #ccc;
}
.filter-navigate > li:last-child > a {
	border-radius: 0 0 3px 3px;
}
.filter-navigate > li > a {
	/* top level */
}
.filter-navigate .active > a,
.filter-navigate li > a:hover {
	background: #f9f9f9;;
}
.filter-navigate > li > ul > li > a {
	/* 2nd level */
	font-size: 0.95em;
	background: #eee;
}
.filter-navigate li > ul > .active > a,
.filter-navigate li > ul > li > a:hover {
	background: #e9e9e9;
}
.filter-navigate > li > ul > li > ul > li > a {
	/* 3rd level */
	font-size: 0.95em;
	background: #ddd;
}
.filter-navigate li > ul >li > ul > .active > a,
.filter-navigate li > ul >li > ul > li > a:hover {
	background: #d9d9d9;
}
.filter-navigate .active > a {
	font-weight: bold;
}
.filter-navigate .active > ul,
.filter-navigate .active p a,
.filter-navigate .active > p{
	display: block;
}
.filter-navigate .active > p {
	margin: 0;
	padding: 3px 5px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.filter-navigate .active > p a {
	border: 0;
	padding: 0;
}
.radio-switch {
	overflow: hidden;
	border: 1px solid #ccc;
	border-width: 1px 1px 2px 1px;
	border-radius: 3px;
}
.radio-switch input {
	position: absolute;
	left: -99999px;
}
.radio-switch label,
.radio-switch a {
	display: block;
	float: left;
	border-left: 1px solid #ccc;
	padding: 3px 5px;
	box-sizing: border-box;
	background: #eee;
}
.radio-switch label {
  width: 33.3333%;
}
.radio-switch a {
    width: 50%;
    color: #000;
}
.radio-switch label:hover,
.radio-switch a:hover {
	  background: #ddd;
    text-decoration: none;
}
.radio-switch label.narrow {
	width: 25%;
}
.radio-switch label.wide {
	width: 37.5%;
}
.radio-switch label:first-of-type,
.radio-switch a:first-child {
	border-left: none;
}
.radio-switch input:checked + label,
.radio-switch a.active,
.map-britain .radio-switch a[href*="britain"],
.map-caribbean .radio-switch a[href*="caribbean"] {
	box-shadow: 0px -1px 2px -2px #000 inset;
	background: #fff;
}
@media only screen and (max-width: 959px){
	.radio-switch label,
	.radio-switch label.narrow,
	.radio-switch label.wide {
		float: none;
		width: auto;
		border-left: none;
	}
	.radio-switch label:first-of-type {
		border-left: none;
		width: auto;
	}
}
.map-details {
	display: none;
	position: absolute;
	right: 0px;
	z-index: 1010;
	height: 640px;
	width: 33%;
	background: #fff;
	transition: opacity 0.3s;
	opacity: 0;
	/*
	transform: translateX(100%);
	transition: transform 0.3s ease-out;
	*/
}
.map-details .content{
	height: 640px;
	width: 100%;
	box-sizing: border-box;
	overflow-y: scroll;

	position: absolute;
	padding: 0px 1em;
	opacity: 0;
	transition: opacity 0.3s;
}
@media only screen and (max-width: 767px){
	.map-details {
		width: 100%;
		position: relative;
		height: auto;
	}
	.map-details .content{
		position: static;
		height: auto;
	}
}
.map-source {
	margin-bottom: 1.5em;
}
.details--preload .map-details {
	display: block;
}
.details--loading .map-details,
.details--active .map-details{
	opacity: 1;
	/*transform: translateX(0);*/
}
.details--active .map-details .content{
	opacity: 1;
}
.map-details .loading-message{
	opacity: 0;
	position: absolute;
	top: 0.5em;
	left: 1em;
	transition: opacity 0.1s;
}
.details--loading .map-details .loading-message{
	opacity: 1;
}
.container .map-details .content .columns {
	width: auto;
	float: none;
	display: block;
	padding: 0.2em 0.5em;
}

.close-link {
	position: absolute;
	top: 0;
	right: 15px;
	z-index: 20;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 20px/18px Tahoma, Verdana, sans-serif;
	color: #c3c3c3;
	text-decoration: none;
	font-weight: bold;
	background: transparent;
}
.map-details a.close-link {
	color: #c3c3c3;
}
.close-link:hover,
.map-details a.close-link:hover {
	color: #999;
	text-decoration: none;
}
.btn-flex{
    background: linear-gradient( #fff, #ccc);
}
.control-title{
    margin:0;
}


.media-items-list {
	margin-bottom: 1em;
}
.media-list-item {
	display: inline-block;
	list-style: none;
}
.media-list-item a img {
	display: inline-block;
	text-align: center;
}
.media-list-item > a {
	display: block;
	height: 100px;
	text-align: center;
}
.media-list-item > a,
.media-list-item figcaption {
	width: 100px;
	background: #eee;
}
.media-list-item figcaption {
	box-sizing: border-box;
	padding: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
