body #page #main
{
	width: auto;
}

body #footer-wrapper
{
	width: auto;
	min-width: 0;
}
body #footer
{
	width: auto;
	min-width: 0;
}


/* **************************** */
/* ********** map
/* **************************** */

#map
{
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	background-color: rgb(234,234,234);
	/* height: $frontpageMapHeight ; inline CSS */ 
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	/* overflow: hidden; */
}

#map-centered
{
	position: relative;
	margin-left: auto;
    margin-right: auto;
	max-width: 1600px;
	height: 100%;
}

#map-content-wrapper
{
	height: 100%;
	margin-left: auto;
    margin-right: auto;
	overflow: hidden;
}

#map-content
{
	position: relative;
	height: 100%;
	/* margin-left: $frontpageSiteListWidth ; inline CSS */ 
}


#map-left-column
{
	position: absolute;
	/* width: $frontpageSiteListWidth-padding ; inline CSS */ 
	height: 100%;
	background-color: rgba(220,220,220,.3);
	overflow: hidden;
}

#map-left-column:hover
{
	overflow: visible;
}

#map-tabs
{
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 5px;
	width: 100%;
	white-space: nowrap;
}

#map-tabs li
{
	display: inline-block;
	margin: 0;
	padding: 5px 0;
	background-color: #fff;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
}
#map-tabs li:hover
{
	background-color: #fafdf1;
}


/*
#map-tabs li:first-child.unselected
{
	background-image: none;
}
*/
#map-tabs .unselected
{
	background-color: #eee;
/*	background-image: url(map-tab-left.png);
	background-position: left center;
	background-repeat: no-repeat;
*/
}

#map-tabs .selected
{
	background-image: url(map-tab-active.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#map-site-list
{
	padding: 0 5px;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAH0CAIAAABzX9DAAAAAHklEQVQ4y2N4+vQpEwMDwygexaN4FI/iUTyKhy4GADYuBpZZhM+KAAAAAElFTkSuQmCC) repeat-x scroll left 363px;
}
#map-site-list>p
{
	margin-top: .5em;
	margin-bottom: .5em;
}
#map-site-list>p:first-child
{
	margin-top: 0;
}

#map-site-list .country
{
	color: #81a600;
	font-size: 16px;
	text-shadow: 0 0 3px #fff;
}
#map-site-list .country.not-in-map
{
	color: #888;
	text-shadow: none;
}

#map-site-list .site-link
{
	color: black;
	text-shadow: 0 0 3px #fff,0 0 3px #fff;
}

#map-site-list .site-link:hover,
#map-site-list .site-link.active
{
	background-color: white;
	text-decoration: none;
	/*box-shadow: 0 0 3px 3px #fafdf1;*/
	box-shadow: 0 0 3px 3px white;
	border-radius: 3px;
}

#map-site-list .site-link.not-in-map
{
	color: #888;
	text-shadow: none;
}


#map-boxes
{
}

.map-box
{
	position: absolute;
}
.map-box:hover
{
	border: 1px solid #faa;
	cursor: pointer;
}

.site-marker
{
	position: absolute;
}

.site-marker 
{
	display: block;
	width:  25px;
	height: 25px;
	background-image: url(green-marker.png);
}

.site-marker.not-in-map
{
	background-image: url(green-marker-inactive.png);
}

.site-marker.active,
.site-marker:hover
{
	background-image: url(green-marker-selected.png);
	width:  27px;
	height: 27px;
	/* z-index: 2;*/
}

.map-text p
{
	margin-top:0;
	margin-bottom: .3em;
}


/* ****** site info popups */

.site-info-popup
{
	position: absolute;
	display: none;
	width: 280px;
	height: 80px;
	background-color: rgba(255,255,255,.7);
	color: black;
	font-size: 16px;
	border: 1px solid black;
	overflow: hidden;
	padding: 4px;
	line-height: 20px;
	box-shadow: 6px 6px 3px #aaa;
	white-space: nowrap;
}
.site-info-popup h4
{
	margin:0;
	font-weight: bold;
}
.site-info-popup .nbevents
{
	font-weight: bold;
}


/* **************************** */
/* ********** frontpage-bottom
/* **************************** */


#frontpage-bottom
{
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	background-color: white;
	color: black;
	padding-bottom: 60px;
	border-top: 10px solid #81a600;
}
/* ******* news box  *********** */

#news
{
	border: 1px solid #edf5d0;
	width: 257px;
	float: right;
	margin: 10px;
	margin-bottom: 8px;
	margin-left: 8px;
	height: 179px;
	box-shadow: 1px 1px 3px rgba(128,128,128,.2);
}

#news h4
{
	margin-top: 0px;
	margin-bottom: 0;
	text-align: center;
	background-color: #edf5d0;
	padding-bottom: 2px;
	height: 24px;
}
#news h4 a
{
	/* color: white; */
	text-shadow: 0 0 1px white;
	font-size: 16px;
}

#news-title-link
{
	display: inline-block;
	width: 220px;
}

#news-rss
{
	float: right;
	margin-right: 3px;
}

#news h4 img
{
	margin-top: 3px;
}

#news-inner
{
	overflow: auto;
	height: 153px;
}

#news ul
{
	padding-left: 10px;
	list-style: none;
	margin-top: 10px;
	margin-bottom: 10px;
}
#news li
{
	margin-bottom: 5px;
}

#news li:last-child
{
	margin-bottom: 0px;
	line-height: 5px;
}

#news li:nth-last-child(2)
{
	margin-bottom: 0px;
}


/* ******* frontpage events *********** */

#frontpage-events 
{
	margin-left: auto;
    margin-right: auto;
	width: 840px;
}

#frontpage-events .event
{
	display: inline-block;
	width: 250px;
	height: 70px;
	vertical-align: top;
	background-color: #ececec;
	margin: 10px;
	padding: 5px;
	overflow: hidden;
}
#frontpage-events .event:hover,
#frontpage-events .event.active
{
	text-decoration: none;
	background-color: #fafdf1;
}

#frontpage-events .city
{
	color: #81a600;
	margin-right: 10px;
}

#frontpage-events .date-time
{
	color: #999;
}

#frontpage-events .title
{
	color: black;
	color: #444;
	font-size: 12px;
}


@media all and (max-width: 575px){
#frontpage-events 
{
	width: 100%;
	padding: 0;
	margin-left:0;
	margin-right:0;
}
#frontpage-bottom #frontpage-events .event
{
	width: 100%;
	height: auto;
	margin: 0;
	margin-bottom: 5px;
	padding: 0;
}

#news
{
	width: 100%;
	margin: 0;
	margin-top: 2px;
	margin-bottom: 5px;
	height: auto;
}
}

@media all and (min-width: 575px) and (max-width: 855px){
#frontpage-events 
{
	width: 560px;
	margin-left:0;
}}

@media all and (min-width: 855px){
#frontpage-events 
{
	width: 840px;
}}

@media all and (min-width: 1135px){
#frontpage-events 
{
	width: 1120px;
}}
@media all and (min-width: 1415px){
#frontpage-events 
{
	width: 1400px;
}}
@media all and (min-width: 1695px){
#frontpage-events 
{
	width: 1680px;
}}

/* **************************** */
/* ********** mobile (width < 500)
/* **************************** */

@media all and (max-width: 500px)
{
body #map
{
	height: auto;
}
#map-content-wrapper
{
	display: none;
}
body #map-left-column
{
	width: 100%;
	height: auto;
	position: static;
	padding-bottom: 5px;
}
}