#info_box {
	position:absolute;
	top:5px;
	border:1px solid rgba(0, 0, 0, 0.4);
	z-index: 50;
	background-color: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

#selected_area {
	/* width: 177px; */
	right: 90px;
	top: 44px;
	max-height: 100px;
	background-color: #333;
	position: absolute;
	overflow: hidden;
	z-index: 49;
	color: #FFF;
	font-size: 12px;
	padding: 3px 5px;
	text-align: right;
	font-weight: bold;
	font-family: Arial, sans-serif;
	opacity: 0;
	border: 1px solid black;
	transition:opacity 0.2s, background-color 0.2s;
	cursor: pointer;
}

#selected_area.active {
	opacity:1;
}

#selected_area.clicked {
	opacity:1;
	background-color: #A33;
}

#main_narrow {
	margin:0px !important;
}

#map_interface {
	position: relative;
}

.map-canvas {
	min-height:530px;
}

.map_menu {
	top:5px;
	left:10px;
	position:absolute;
	z-index: 50;
}

.map_menu .section {
	clear:both;
	padding-top: 5px;
	height:77px;
	overflow:visible;
}

.map_menu .section.hidden-by-js {
	width:80px !important;
	overflow: hidden;
}

.map_menu .loading .icon {
	opacity: 0.5;
}

.map_menu .icon {
	background-color: white;
	width:70px;
	height:70px;
	float:left;
}

.map_menu .content {
	margin-left:80px;
	background-color: white;
	width:200px;
	height:100px;
	display:none;
}

/* styling of right-hand icon */

.map_menu.right {
	right:10px;
	left:auto;
	top:5px;
}

/* styling of floating stuff */
.map_menu .icon, .map_menu .content {
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	border: 1px solid rgba(0,0,0,0.5);
}

.map_menu a.icon img {
	text-align: center;
	margin: 0 auto;
	display: block;
	margin-top: 7px;
	margin-bottom: 2px;
	opacity: 0.5;
	transition:opacity 0.5s;
}

.map_menu a.icon:hover img {
	opacity:0.7;
}

.map_menu a.icon {
	text-transform: uppercase;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
	transition:color 0.5s, border 0.5s;
}

.map_menu a.icon .embedded-progress-bar {
	height: 5px;
	width: 0%;
	background-color: black;
	margin: 8px 10%;
}

.map_menu .section:hover a.icon, .map_menu a.icon:hover, .map_menu a.icon:active {
    color: #000;
	border-color: rgb(77, 144, 254);
}

.map_menu .content h4 {
	font-size: 12px;
	text-transform: uppercase;
	border-bottom: 1px solid #eee;
	margin:0px;
	padding-bottom: 2px;
	margin-bottom: 10px;

}

.map_menu .content p {
	font-size: 14px;
}

/* customisations to individual map menu items */

.map_menu .navigate.section {
	margin-bottom: 10px;
}

.map_menu .navigate.section .content {
	width: 300px;
	padding:10px;
	max-height:150px;
}

.map_menu .themes.section .content {
	width: 300px;
	height:auto;
	max-height: 550px;
	overflow:auto !important; /* fixes bug in old version of jquery UI that we can't update without breaking popups */
}

.map_menu .stock.section .content {
	width: 300px;
	height:auto;
	max-height: 500px;
	overflow:auto !important; /* fixes bug in old version of jquery UI that we can't update without breaking popups */
	padding:10px;
}

.map_menu .areas.section .content {
	width: 300px;
	height:auto;
	max-height: 500px;
	overflow:auto !important; /* fixes bug in old version of jquery UI that we can't update without breaking popups */
}

.map_menu .settings.section .content {
	width: 250px;
	height:auto;
	max-height: 300px;
	overflow:auto !important; /* fixes bug in old version of jquery UI that we can't update without breaking popups */
	padding:10px;
}

.map_menu .reports.section .content {
	width: 250px;
	height:auto;
	max-height: 300px;
	overflow:auto !important; /* fixes bug in old version of jquery UI that we can't update without breaking popups */
	padding:10px;
}

.stock.section .custom-area-selector {
	margin: 10px 0px;
}

/* FLOATING BOX */

#info_box {
	width:300px;

	right:90px;
	top:10px;
	max-height: 100px;
	/*background-color: #333;*/
	/*color:white;*/
	transition: max-height 0.5s, width 0.5s, color 0.2s, background-color 0.5s, padding 0.2s;	
	overflow:auto;
}

#info_box h4 {
	/*color:white;*/
	transition:color 0.5s, font-size 0.5s;
}

#info_box.opened h4 {
	color:#002DB2;
}

#info_box #toggle_info_box {
	font-size: 24px;
}

#info_box h4 {
	font-size: 12px;
	margin:0px;
	padding:5px 0px 5px 5px;
}

#info_box.opened h4 {
	font-size: 18px;
	margin:auto;
	padding:0px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#map_interface #info_box.opened {
	max-height: 400px;
	color:inherit;
	width: 350px;
	padding: 15px;
	background-color: #fff;
}

#info_box #mapKey {
	transition:height 1s;
	/*display:none !important;*/
	height: 0px;
	overflow:hidden;
}

#info_box.opened #mapKey {
	height:auto;
	overflow:visible;
}

#info_box {
	color:white;
}

/*
.series-standard #info_box {
	background-color:#4DA7FF;
}

.series-custom #info_box {
	background-color:#FFA64D;
}*/

#info_box_toggle_info_box {
	width: 20%;
	float: right;
	text-align: right;
	padding-right: 10px;
	padding-top: 2px;
}

#mapKey {
	clear:both;
}

#selectSubregion, .map_menu .content p.stock_type_name {
	font-size: 12px;
}

.stock_org_filter_items {
	list-style: none;
	margin:0px;
	padding:0px;
}

.stock_org_filter_items input {
	float:right;
}

.stock_org_filter_item label {
	font-weight: normal;
	font-size: 0.9em;
}

.hidden-from-streetview {
	display:none !important;
	visibility: hidden !important;
}

.map-series-list .theme {
	border-top: 1px solid #eee;
}

.map-series-list .theme>.title {
	font-weight: bold;
	padding: 5px 10px;
	text-transform: uppercase;
	font-size: 12px;
    border-bottom: 1px solid #ccc;
    transition:background-color 0.5s;
    cursor: pointer;
}

.map-series-list a {
	text-decoration: none;
	color:#333;
}

.map-series-list .theme:hover>.title {
	background-color: rgb(250,250,250);
}

.map-series-list .theme .themeseries {
	display: block;
	padding: 5px 12px 5px 17px;
	font-size: 13px;
	border-left: 3px solid rgba(0,0,0,0);
	transition: color 0.5s, border-width 0.2s, background-color 0.5s, padding 0.2s;
}

.map-series-list .theme .themeseries.standard-series {
	border-color: #4DA7FF;
}
.map-series-list .theme .themeseries.custom-dataset {
	border-color: #FFA64D;
}

.map-series-list .theme .themeseries.sub-series {
	padding-left: 30px;
}

.map-series-list .theme .themeseries:hover {
	background-color: #eee;
	color:black;
	text-decoration: none;
}

.tab-inner-basic {
	padding:10px;
}

.map_menu .custom-area-filter-selector .option-container {
	max-height: 400px;
	overflow:auto;
}

.map_menu .custom-area-filter-selector ul,
.map_menu .custom-area-filter-selector li {
	list-style: none;
	margin:0px;
	padding:0px;
}

.map_menu .custom-area-filter-selector li a {
	display:block;
	background-color:rgba(0,0,0,0);
	transition: color 0.2s, background-color 0.2s;
}

.map_menu .custom-area-filter-selector li a:hover {
	background-color: rgba(0,0,0,0.1);
}

.map_menu .custom-area-filter-selector li.selected a {
	background-color: rgba(0,0,0,0.5);
	color:white;
}

.map_menu .custom-area-filter-selector li a,
.map_menu .custom-area-filter-selector h5 {
	text-decoration: none;
	color:black;
	font-size: 0.9em;
	padding:5px 10px;
	margin:0px;
}

.map_menu .custom-area-filter-selector h5 {
	font-weight: bold;
	cursor:default;
	padding-top:10px;
}

.map_menu .custom-area-filter-selector  .input-group {
	padding:5px;
	/*background-color:rgb(77, 144, 254);*/
	background-color: rgba(0,0,0,0.15);
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

.map_menu .custom-area-filter-selector li a .mini-bar {
	font-size: 0.9em;
	padding-left: 5px;
	opacity:0.1;
	transition:opacity 0.4s;
	float:right;
}

.map_menu .custom-area-filter-selector li a:hover .mini-bar {
	opacity:0.4;
}

.map_menu .custom-area-filter-selector li a .mini-bar:hover {
	opacity:1;
}
