/* Styles for "Hol den Bürgerenergiepolitiker" */


/*
 * List
 */
body.hdb .news-list-view {
  clear: both;
  margin-bottom: 40px;
}

body.hdb .news-list-view:after {
  content: "";
  display: table;
  clear: both;
}

.hdbListItem {
  position: relative;

  float:left;
  overflow: hidden;

  width: -webkit-calc(25% - 4px);
  width: calc(25% - 4px);
  height: 170px;

  border: 1px solid #a1bd41;
  
  text-transform: uppercase;
  color: #213900;
  cursor: pointer;

  position: relative;
  line-height: 20px;
}

.hdbListItem .info {
  position: absolute;
  top: 0px;
  left: 0px;

  padding-top: 18px;
  padding-left: 8px;

  background: rgba(255,255,255,0.5);
  width: 100%;
  height: 100%;
  
  z-index: 3;
  
  opacity: 0;
  visibility: hidden;

  -webkit-transition: opacity 600ms, visibility 600ms;
  -o-transition: opacity 600ms, visibility 600ms;
  transition: opacity 600ms, visibility 600ms;
}

.hdbListItem:hover .info {
  visibility: visible;
  opacity: 1;
}

.hdbListItem .news-img-wrap img {
  max-width: none !important;
}

body.midsize .hdbListItem {
  width: -webkit-calc(33% - 4px);
  width: calc(33% - 4px);
  height: 140px;
}

body.smallsize .hdbListItem {  
  width: -webkit-calc(50% - 4px);
  width: calc(50% - 4px);
  height: 140px;
}


/*
 * Popup
 */
.magnific-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 800px;
  margin: 20px auto;
}

.magnific-popup h1 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.magnific-popup .files-link {
  display: inline-block;
  padding-left: 20px;
  background: url("../Img/mehrlink.jpg") no-repeat;
  background-position: 0 2px;
}

.magnific-popup .news-img-caption {
  margin-bottom: 0;
  text-align: left;
}


/*
 * Slider
 */
.magnific-popup .sliderItem {
  text-align: center;
}

.magnific-popup .bx-controls {
  z-index: 100;
}

.magnific-popup .bx-controls-direction a {
  opacity: 0;
}

.magnific-popup .bx-next, 
.magnific-popup .bx-prev {
  width: 40px;
  height: 40px;
  background-size: 80%;
}
