/* HGHI - Projekte CSS */

.scrollup {
    background-color: #7a000a;
    border-radius: 2px;
    bottom: 30px;
    color: #ffffff;
    display: none;
    font-size: 30px;
    height: 40px;
    line-height: 36px;
    position: fixed;
    right: 30px;
    text-align: center;
    width: 40px;
}

.scrollup:hover, .scrollup:active, .scrollup:focus { color: #ffffff; }

#mapcontainer {
    width: 100%;
    height: 800px;
}

/* .sidebar {
    position: absolute;
    width: 350px;
    height: 720px;
    margin-top: 30px;
    overflow: hidden;
    z-index: 99999;
    background-color: #fff;
    color: #000;
    margin-left: 25px;
	top: 360px;
} */

.sidebar {
    position: absolute;
    width: 350px;
    height: 720px;
    margin-top: 45px;
    overflow: hidden;
    z-index: 99999;
    background-color: #fff;
    color: #000;
    margin-left: 25px;
    top: 262px;
}

#maincontentmiddle { width: 1200px; margin: 0 auto; max-width: 98vw; }
#maincontentmiddle img { max-width:100%; height:auto }
.pad2 { padding: 20px; }

.mapbox {
    width: 100vw;
    height: 800px;
}

.sidebar h1 {
    font-size: 20px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
}

.sidebar a {
    color: #ccc;
    text-decoration: none;
}

.sidebar a:hover { color: #ccc; }

.heading {
    background: #fff;
    border-bottom: 1px solid #ddd;
    min-height: 60px;
    line-height: 60px;
    padding: 0 10px;
    background-color: #7a000a;
    color: #fff;
}

.listings {
    height: 88.5%;
    overflow: auto;
    padding-bottom: 0;
}

.listings .item {
    display: table;
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-decoration: none;
    font-size: 1.25em;
    line-height: 120%;
}

.listings .item div { float: left }
.listings .item img { width: 150px; height: auto }
.listings .item:last-child { border-bottom: none; }

.listings .item .title {
    /* float: right;
    padding-left: 10px; */	
	position: relative;
	padding: 0 0 0 160px;
    display: block;
    color: #7a000a;
    font-weight: 700;
    width: 150px;
	height: 80px;	
}

.listings .item .title small { font-weight: 400; }
.listings .item.maplistactive .title, .listings .item .title:hover { color: #ba202d; }
.listings .item.maplistactive { background-color: #ddd; }

.marker {
    border: none;
    cursor: pointer;
    height: 56px;
    width: 56px;
    background-image: url(marker.png);
    background-color: rgba(0, 0, 0, 0);
}

.clearfix { display: block; }

.clearfix:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Marker tweaks */

.mapboxgl-ctrl-top-right { right: 30px; }
.mapboxgl-ctrl-top-right .mapboxgl-ctrl { margin: 10px 0 0 0; }
.mapboxgl-popup { padding-bottom: 50px; }
.mapboxgl-popup-close-button { display: none; }

.reset_button { position: absolute; right: 13px; background: url(../images/icons.png) no-repeat -74px -51px; margin-top: 110px; z-index: 1; }
.reset_button img { width: 30px; height: 30px; cursor: pointer; }
.reset_button:hover { opacity: 0.8; }

.mapboxgl-popup-content {
    font:400 15px/22px 'News Cycle', sans-serif;
    padding: 0;
    width: 225px;
    padding-bottom: 10px;
    color: #000;
}

.mapboxgl-popup-content-wrapper { padding: 1%; }

.mapboxgl-popup-content h3 {
    background: #7a000a;
    text-align: center;
    color: #fff;
    margin:0;
    display: block;
    padding: 10px;
    border-radius: 3px 3px 0 0;
    font-weight: 700;
    margin-top: -15px;
    margin-bottom: 10px;
}

.mapboxgl-popup-content span {
    margin: 0;
    display: block;
    padding: 0px 10px 0px 10px;
    font-weight: 400;
    text-align: center;
}
    
.mapboxgl-popup-content span.spaninfo { padding-top: 10px; margin-top: 10px; border-top: 1px solid #ddd; text-align: left; }
.mapboxgl-popup-content span a{ color: #404040; text-decoration: underline; }
.mapboxgl-popup-content div { padding: 10px; }
.mapboxgl-container .leaflet-marker-icon { cursor: pointer; }
.mapboxgl-popup-anchor-top > .mapboxgl-popup-content { margin-top: 15px; }
.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip { border-bottom-color: #7a000a; }



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #7a000a;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

@media only screen and (max-width: 1176px) {
	#mapcontainer { display: table; }
	#title_noheader .csc-header  { display:none }
	.carouselContainer, .caroufredsel_wrapper,.jpcarousel,.jpcarousel li { width:100vw!important }
	
  .listings .item { width:100% }
  .reset_button { right: 30px; }
	
 }
@media only screen and (max-width: 850px) {
	.mapbox {
    width: 100vw;
    height: 400px;
}
	.sidebar {
    display:none;
    position: static;
    width: 96%;
    height: 720px;
    margin-top: 30px;
    overflow: hidden;
    z-index: 99999;
    background-color: #fff;
    color: #000;
    margin-left: 2%;
	top: none;
  }
}
@media only screen and (max-width: 750px) {
	
	#title_noheader { height: 197px; }
	
}
/* HGHI - Projekte CSS */