.template_map header,
.template_map .headerSticky {
	display: none;
}

.legend {
	right: 0;
	top: 0;
	padding: 60px 0 0 0;
	position: absolute;
	z-index: 1000;
	width: 320px;
	display: flex;
	flex-direction: column;
}
.legend .legend_header {
	position: fixed;
	padding: 18px 15px 18px 34px;
	background: #fff;
	width: 320px;
	border-bottom: 1px solid #dadada;
	top: 0;
    background-image: url(signet.svg);
    background-repeat: no-repeat;
    background-position: center left 15px;	
    background-size: 30px;	
}

.legend .legend_header .map_btn {
	float: left;
	width: 240px;
	height: 24px;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.legend .legend_header .map_btn span {
	padding: 1px 0 0 15px;
	text-transform: uppercase;
	display: inline-block;
}
.legend .legend_header .map_btn .map_btn_icon {
	display: inline-block;
 	width: 24px;
	height: 24px;
	margin: 0 0 0 10px;
    background-image: url(map-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;	
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
   	-webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}
.legend .legend_header .map_btn .map_btn_icon.on {
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);	
}
.legend .legend_header .close {
	float: right;
	width: 24px;
	height: 24px;
	display: inline-block;
    background-image: url(close.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.map_menu {
	width: 100%;
	padding: 15px 30px;
}
.map_menu h1 {
	width: 100%;
	font-size: 17px;
    background-image: url(signet.svg);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
    padding: 0 0 0 46px;
}
/*

.legend h2 {
	font-size: 17px;
	padding: 0 0 0 35px;
	line-height: 23px;

}
*/

.legend .legend_container {
	margin: 0;
	padding: 0;
   	-webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
	background: white;
	opacity: 1;
	border-left: 1px solid #eeeeee;
	display: block;

}
.legend  .legend_container.off {
	opacity: 0;
	display: none;
}
.legend .legend_item {
	padding: 0;
	font-size: 14px;
	border-bottom: 1px solid #eeeeee;
	float: left;
	clear: left;
	width: 100%;
	cursor: pointer;
	background: #f0f0f0;
}
.legend .legend_item:hover {
	background: #f9f9f9
}

.legend .legend_item .item_title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	float: left;
	width: calc(100% - 60px);
	padding: 14px 0 10px 15px;

}
.legend .legend_item i {
	display: inline-block;
	float: left;
	font-size: 14px;
	text-align: center;
	padding: 4px 0px 0px 0px;
	width: 30px;
	border-radius: 15px;
	height: 30px;
	margin: 10px 0 5px 15px;
	text-align: center;

}
.legend .legend_item.on {
	background: #FFF !important;
	color: black;
}
.legend_item.legend_item--off i {
	background: #c10043;
	color: white;
}
.legend_item.legend_item--sat i {
	background: #5D8778;
	color: white;
}
.legend_item.legend_item--tph i {
	background: #000000;
	color: white;
}
.legend .legend_item.on i {
}
/*
.legend .legend_item .item_events {
	padding: 0 0 0 14px;
}
.legend .legend_item .item_events .item_event {
	margin: 10px 0 0 0;
	font-size: 10px;
}
*/

#map {
	width: calc(100vw - 320px);
	height: 100vh;
	position: fixed !important;
   	-webkit-transition-duration: 700ms;
    -moz-transition-duration: 700ms;
    -o-transition-duration: 700ms;
    transition-duration: 700ms;
}

#map.full {
	width: 100vw;
}
@media (max-width: 760px) {
#map {
	width: 100vw;
}
}






/* --------- Google Maps Specific Styling --------- */


.gm-style > div:first-child > div:last-child > div:last-child > div:last-child > div:first-child > div {
    background: #000 !important;
}

.gm-style  > div:first-child > div:last-child > div:last-child > div:last-child > div > div:first-child > div:nth-child(3) > div div {
    background-color: #000 !important;
}

.gm-style  > div:first-child > div:last-child > div:last-child > div:last-child > div > div:first-child > div:last-child {
	background-color: #000 !important;
}

.gm-style > div:first-child > div:last-child > div:last-child > div:last-child > div > div:first-child > div:nth-child(3) > div {
    top: -3px !important;
    width: 16px !important;
    height: 20px !important;
}

.gm-style  > div:first-child > div:last-child > div:last-child > div:last-child > div > div:first-child > div:nth-child(3) > div:first-child > div {
	left: -4px !important;
    transform: skewX(45deg) !important;
    transform-origin: 10px 0px 0px !important;
    height: 20px !important;
    width: 20px !important;
}

.gm-style > div:first-child > div:last-child > div:last-child > div:last-child > div > div:first-child > div:nth-child(3) > div:last-child > div {
    transform: skewX(-45deg) !important;
    transform-origin: 12px 0px 0px !important;
    height: 20px !important;
    width: 20px !important;
}

.gm-style > div:first-child > div:last-child > div:last-child > div:last-child > div:first-child > div:first-child > div:first-child {
    background: transparent !important;
	display: none;
}

.gm-style > div:first-child > div:last-child > div:last-child > div:last-child > div:first-child > div:last-child {
	display:none;
}

.gm-style-iw {
	color: #fff;
}

.gm-style-iw > div:first-child {
	overflow: visible !important;
}

.gm-style-iw > div:first-child > div:first-child {
	overflow: visible !important;
}

.gm-style-iw .tooltip {
	margin: 10px 0px;
	position: relative;
	width: 260px !important;
	height: 110px;
}

.gm-style-iw .tooltip__inner {
	position: absolute;
	width: 280px !important;
	height: 110px;
}

.gm-style-iw .tooltip__headline {
	margin: 0px 0px 20px 0px;
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
}

.gm-style-iw .tooltip__link {
	position: absolute;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
}

.gm-style-iw .tooltip__underline {
	border-bottom: 1px solid #fff;
}

.gm-style-iw .tooltip__link--left {
	left: 0px;
	bottom: 0px;
}

.gm-style-iw .tooltip__link--right {
	right: 0px;
	bottom: 0px;
}

.gm-style-iw .tooltip__link--right:after {
	content: '';
	width: 13px;
	height: 13px;
	display: inline-block;
	background: url(http://phototriennale.de/site/templates/styles/route.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: 10px;
	margin-bottom: -3px;
	padding: 0 3px 0 0;
	
}

