/*
This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License, either version 2
of the License, or any later version.

For the full copyright and license information, please read the
LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share!
*/
/*
    Created on : 19.10.2016, 17:04:30
    Author     : Kevin Ditscheid <ditscheid@engine-productions.de>
*/
.map-wrapper {
	/*height: 830px;*/
	height: 600px;
	position: relative;
}
.map{
	height: 600px;
	width: 100%;
	position: absolute;
	/* z-index has zo be lower than of the marker but higher than the marker-wrapper and watch out for the sub-navigation! */
	z-index: 10;
}
.marker-wrapper{
	position: relative;
	top: 600px;
	width: 100%;
}
.marker {
	background-color: #f0ece3;
	width: calc(100% - 30px);
	padding: 0 15px;
	/* z-index has zo be higher than of the map, watch out for the sub-navigation */
	z-index: 15;
	position: relative;
	overflow: hidden;
	display: none;
}
.marker[data-agency="true"] {
	background-color: #79C6D4;
}
.marker[data-agency="false"] {
	background-color: #f35c1a;
}
.marker.marker_filtered[data-agency="false"] {
	background-color: #f0ece3;
}
/*
.marker[data-agency="true"] .close,
.marker[data-agency="true"] .color-darkivory,
.marker[data-agency="true"] a {
	color: white;
}
.marker[data-agency="false"] .close,
.marker[data-agency="false"] .color-darkivory,
.marker[data-agency="false"] a {
	color: white;
}
*/
.marker.marker_filtered[data-agency="false"] .close, .marker.marker_filtered[data-agency="false"] .color-darkivory, .marker.marker_filtered[data-agency="false"] a{
	color: #000;
}
.close {
	background: none;
	color: #f35c1a;
	background-color: transparent;
	outline: none;
	border: none;
	cursor: pointer;
	font-size: 22px;
	/* float: right; */
	width: 100%;
	text-align: right;
	margin-top: 10px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.close span {
	font-size: 13px;
	font-weight: bold;
	margin-right: 10px;
}
.close:focus {
	border: none;
}
.marker img {
	padding-right:30px;

}
.address-header {
	/*border-bottom: 1px solid;*/
	border-color: #807e72;
	display: inline-block;
	vertical-align: top;
	width: calc(40% - 10px);
	margin-right: 30px;
}
.address-header:after{
	content: '0';
	display: block;
	visibility: hidden;
	height: 0;
	clear: both;
}
.address {
	float: left;
	clear: both;
	width: 100%;
}
.title {
	font-size: 1em;
	font-weight: bold;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 100%;
}
.zip {
	float: left;
	clear: both;
	padding-right: 5px;
	width: 100%;
}
.phone {
	float: left;
	clear: both;
	padding-top: 20px;
	width: 100%;
}
.fax {
	float: left;
	clear: both;
	padding-bottom: 20px;
	width: 100%;
}
.internet{
	float: left;
	clear: both;
	padding-bottom: 15px;
	width: 100%;
}

.marker.marker_filtered .internet .find{
	color: #fff;
	margin-top: 0;
}

.marker_filtered .internet .find:hover{
	background-color: #006374;
	border-color: transparent;
}
.scroll-wrapper {
	/*height: 500px;*/
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: calc(50% - 10px);
}
.profile ul {
	margin-top: -15px;
}
.profile li {
	list-style: none;
	line-height: 1.66em;
	margin-left: -40px;
	clear: both;
}
.profile li:before {
	content: "·";
	font-size: 1.222em;
	color: #f35c1a;
	font-weight: bold;
    line-height: 1.3em;
	vertical-align: middle;
	padding-right: 10px;
	padding-bottom: 5px;
	float:left;
}
#filter, #filterDates,
#legend {
	z-index: 10;
	position: absolute;
}
#filter{
	top: 5px;
	left: 0;
	display: flex;
	flex-direction: column;
}
#legend {
	background: white;
	padding: 9.5px 10px;
	border: 1px solid #AAA;
	margin: 10px -5px -5px 10px;
	font-size: 14px;
}
#pac-input {
	padding: 12.5px 10px;
	width: 300px;
	top: 10px !important;
	font-size: 20px;
	margin: 0;
	left: 10px !important;
}
#filterDates{
	top: 60px;
	left: 10px;
    display: flex;
	flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgb(255,255,255,0.8);
    padding: 5px;

}
#filterDates .dateFields {
    display: flex;
	flex-direction: row;
    margin-bottom: 10px;
}

#filterDates input {
	height: 38px;
	width: 145px;
	margin-right: 4px;
	font-family: "Roboto", sans-serif;
    font-size: 18px;
}
#filterDates input[type="submit"] {
	background-color: #EC6608;
    border-radius: 8px;
    color: #fff;
    font-weight: 400;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    border: none;
    font-size: 16px;
    text-decoration: none;
    width: 152px;
    cursor: pointer;
}

#filterDates .header span {
    display: inline-block;
	width: 159px;
    font-family: "Roboto", sans-serif;
}

#legend img {
	height: 18px;
	width: auto;
}
.innerContainer{
	display: flex;
	align-items: center;
    margin-top: 5px;
}
.innerContainer:first-child {
	margin-top: 0px;
}
.innerContainer span, .orange-agency span{
	margin-left: 10px;
}
#filter select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	-webkit-padding-end: 20px;
	-webkit-padding-start: 2px;
	-webkit-user-select: none;
    background-color: white;
	border: 1px solid #AAA;
	color: #000;
	font-size: inherit;
	margin: 10px -5px -5px 10px;
	overflow: hidden;
	padding: 9.5px 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 200px;
	padding-right: 40px;
	width: 324px;
}
#filter .after-select {
	pointer-events: none;
}
#filter .filter-dropdown-wrapper{
	position: relative;
}
#filter .filter-dropdown-arrow {
	position: absolute;
	right: 0px;
	top: 27px;
	display: flex;
	align-items: center;
	pointer-events: none;
	cursor: pointer;
	justify-content: center;
}
#filter .filter-dropdown-arrow img{
	width: 50%;
	height: auto;
}
#filter select:hover {
	cursor: pointer;
}
.marker-info-wrapper {
	padding: 0 25px 25px 25px;
}

.agency-not-selected {
	opacity: 0.5;
}

.map-wrapper #legend {
	margin: 0;
	top: 524px;
	left: 10px;
}

.map-wrapper #legend.countEvents_0 {
	display: none;
}
.map-wrapper #legend.countEvents_1 {
	top: 548px;
}
.map-wrapper #legend.countEvents_2 {
	top: 524px;
}
.map-wrapper #legend.countEvents_3 {
	top: 500px;
}
.map-wrapper #legend.countEvents_4 {
	top: 476px;
}
.map-wrapper #legend.countEvents_5 {
	top: 452px;
}
.map-wrapper #legend.countEvents_6 {
	top: 428px;
}
.map-wrapper #legend.countEvents_7 {
	top: 403px;
}
.map-wrapper #legend.countEvents_8 {
	top: 378px;
}
.map-wrapper #legend.countEvents_9 {
	top: 354px;
}
.map-wrapper #legend.countEvents_10 {
	top: 330px;
}
.map-wrapper #legend.countEvents_10 {
	top: 306px;
}
.map-wrapper #legend.countEvents_10 {
	top: 282px;
}

#legend svg {
    width: 15px;
}

.map-wrapper input#pac-input:focus-visible {
    background-color: #fff;
    padding: 12.5px 10px;
    border-color: gray;
    outline: auto;
}

@media only screen and (max-width: 600px){
	.marker {
		width: auto;

	}
	.address-header{
		height: auto;
		width: 100%;
	}
	.marker-wrapper.container {
		padding-right:0;
		padding-left: 0;
		max-width: 100%;
		width: 1260px;
		margin: 0 auto;
		height: 100%;
	}
	.close-mobile {
		display: block;
	}
	.scroll-wrapper {
		height: 100%;
		width: 100%;
	}
}
@media only screen and (max-height: 750px){
	.map-wrapper {
		height: 500px;
	}
	.map{
		max-height: 500px;
	}
	.marker-wrapper{
		top: 500px;
	}
}
@media only screen and (max-height: 960px){
	#filter .after-select .clear {
		clear:both;
	}
}

.contentpageEmpty .map-wrapper, .contentpageEmpty .map {
    height: 100vh;
}

.contentpageEmpty  #legend {
    background: white;
    padding: 9.5px 10px;
    border: 1px solid #AAA;    
    font-size: 14px;
    bottom: 10px;
}

.ui-widget-header {
    border: 1px solid #EC6608;
    background: #EC6608;
}

.legendEvents .innerContainer {
	cursor: default;
}

.gm-style-iw button:focus {
    outline: 0;
}