.stationdetails_headline {
    font-size: 2.5em;
    color: #333;
}

.stationdetails_headline > .close {
	line-height: inherit;
	font-size: xx-large;
}

#stationdetails_images_image {
	max-width: 800px;
}

/*
#stationdetails_images_separator {
	max-width: 400px;
}
*/
	
/* .stationdetails_images { */
	/* margin-bottom: 5px; */
/* } */

.stationdetails_images ul {
	padding: 0px;
}

.stationdetails_images li {
	display: block;
}


/*
.leaflet-stationdetails-container {
	z-index: 1000;
	cursor: auto;
	position: relative;
}
*/
/*
.leaflet-stationdetails-container .leaflet-stationdetails-background {
	background-color: #3337;
}
*/

.leaflet-stationdetails {
	/* width: 100%; */
	background: #fff;
	border-radius: 26px;
	border: 2px solid #1D70B7;
	box-shadow: 5px 6px 22px grey;
	position: relative;
	text-align: left;
	padding: 35px;
/*
	overflow: scroll;
*/
	/* margin-left: 15%; */
	/* margin-right: 15%; */
	position: absolute;
    z-index: 1000;
/*
    top: 0px;
*/
}

@media (max-width: 768px){
	.leaflet-stationdetails .span1{
		padding: 5px;
	}
}

.leaflet-stationdetails .span1{
/*
	padding: 11px;
*/
	padding-bottom: 10px;
}

/* @media only screen and (max-width: 900px){ */
	/* .leaflet-stationdetails { */
		/* margin-left: 15%; */
		/* margin-right: 15%; */
	/* } */
/* } */

/* @media only screen and (max-width: 800px){ */
	/* .leaflet-stationdetails { */
		/* margin-left: 10%;		 */
		/* margin-right: 10%;		 */
	/* } */
/* } */

@media only screen and (max-width: 800px){
	.leaflet-stationdetails {
		margin: auto !important;
		margin-top: 0x;
		border-radius: 0px;
		padding: 0px;
		padding-top: 20px;
		overflow: scroll;
	}
}

.leaflet-popup {
    max-width: 400px;
}

.leaflet-popup-content {
    margin: 5px 8px;
    line-height: 1;
   /* width: 400px;*/
}


.legenditem {
  padding-right: 5px;
  line-height: 26px;
}
.legenditem, .innerbox {
    display: flex;
  /*  padding: 0;
	float: left;*/
}
.legenditem .desc{
    line-height: 15px;
}

.smalltext {
    font-size: 0.8em;
    line-height: 1.5em;
   /* padding: 0 0 10px 0;
	float: left;*/
}

#popup {
	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(0,0,0,.7);
	top: 0;
	left: 0;
	z-index: 9999;
	visibility: hidden;
}

.leaflet-popup-content p {
    margin: 2px 0;
}

#button {
	margin: 5% auto;
	width: 100px;
	text-align: center;
}

#button a {
	background-image: linear-gradient(to bottom,#2a95c5,#21759b);
	background-image: -o-linear-gradient(to bottom,#2a95c5,#21759b);
	background-image: -ms-linear-gradient(to bottom,#2a95c5,#21759b);
	background-image: -moz-linear-gradient(to bottom,#2a95c5,#21759b);
	background-image: -webkit-linear-gradient(to bottom,#2a95c5,#21759b);
	background-color: #2e9fd2;
	width: 86px;
	height: 30px;
	vertical-align: middle;
	padding: 10px;
	color: #fff;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 5px;
}

.innerbox{
	padding: 10px;
	/*padding-top: 0px;*/
	display: flex;
	flex-direction: column;
}

.wrapper{
	padding: 10px;
}

.gray{
	color: #A5A5A5;
	padding: 0 0 5px 0;
}

.bold {
	font-weight: bold;
	font-size: larger;
	color: #333;
}

.space{
	margin: 8px;
}

.close-button {
width: 20px;
height: 20px;
background: #c6c6c6;
border-radius: 50%;
display: block;
text-align: center;
color: #fff;
text-decoration: none;
position: absolute;
top: -10px;
right: -10px;
}
h3 {
  color: #416eb3;
  font-weight: lighter;
}
#popup:target {
visibility: visible;
}

/*
.smalltext {
  font-size: 1.1em;
}
*/

.iconimg {
    float: left;
    padding-right: 10px;
    height: 20px;
    width: auto;
    padding-top: 4px;
  }
.rightcol {
    width: 50%;
}

.list-left{
	float:left;
	margin-right: 45px;
	line-height: 150%;
}

.stationpopupwrapper ul{
	list-style: none;
}

.leftcol {
    width: 38%;
	margin-right: 10px;
}
.legenditem {
  padding-right: 5px;
  line-height: 26px;
}

/*.legenditem, .innerbox {
      display: flex;
}

  @media (max-width:600px) {
    .innerbox {
      display:block;
    }
  }
*/

.circle{
	border: 4px solid #e50046;
	height: 7px;
	width: 7px;
	border-radius: 100%;
	float: left;
	margin-top: 3px;
	margin-right: 7px;
}

.products-legend {
	flex-direction: column;
}
 .product-wrapper {
	display: flex;
    padding-top: 5px;
	width: 100%;
	flex-wrap: wrap;
}
 .product-wrapper .product-item {
	color: #ffffff;
    /*font-weight: bold;*/
    padding: 8px;
    border-radius: 7px;
    margin-right: 4px;
    /*height: 22px;*/
    margin-bottom: 5px;
    /*font-size: smaller;*/
}

@media only screen and (max-width: 600px){
	 .product-wrapper .product-item {
		color: #ffffff;
		font-weight: bold;
		padding: 7px;
		border-radius: 7px;
		margin-right: 1px;
		/*height: 22px;*/
		margin-bottom: 2px;
		line-height: 0.9em;
		font-size: smaller;
	}
}
