

/* Teaser D - Mensa */
.teaser-d  {
  background-color: #e6e4e4;
  margin-bottom: 3.6em;
}

.teaser-d  .img-wrapper {
  display: table-cell;
  width: 31.25%;
}

.teaser-d  .img-wrapper-inner {
}

.teaser-d  img {
  display: block;
  height: auto;
  width: 100%;
}

.teaser-d  .article-info-wrapper {
  display: table-cell;
  vertical-align: middle;
  width: 68.75%;
}

.teaser-d  .article-info-wrapper-inner {
  padding: 0 6em 0.8em 3.6em;
}

.teaser-d  .headline {
  color: #17365c;
  font-family: RUB-Neu Flama, Arial, sans-serif;
  font-size: 3.6em;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.167em;
  margin-bottom: 0.389em;
  word-wrap: break-word;
}

.teaser-d a.hover-layer {
  color: #3c3c3b;
  display: table;
  height: 100%;
  text-decoration: none;
  width: 100%;
}

.teaser-d .hover-layer:hover .headline {
  color: #8dae10;
}


/* Teaser D - Heute an der RUB */
.teaser-d .img-wrapper.heute-rub {
  background-color: #003560;
  text-align: center;
  vertical-align: middle;
}

.teaser-d .img-wrapper.heute-rub .img-wrapper-inner {
  font-family: RUB Nepo Icons;
  font-size: 3.3em;
  line-height: 1em;
}

.teaser-d .article-info-wrapper-inner.heute-rub {
  padding-bottom: 2.4em;
  padding-top: 3.4em;
}

.teaser-d .heute-rub-wrapper ul {
  color: #17365c;
  font-family: RUB-Neu Flama, Arial, sans-serif;
  font-size: 1.8em;
  line-height: 1.667em;
  list-style-position: outside;
  list-style-type: square;
  padding-bottom: 1.278em;
  padding-left: 1.2em;
  padding-top: 0.056em;
}

.teaser-d .heute-rub-wrapper ul li:last-child {
  padding-bottom: 0;
}

.teaser-d .heute-rub-wrapper ul a {
  border-bottom: 1px solid #c1bbba; 
  padding-bottom: 0.105em;
}

.teaser-d .heute-rub-wrapper ul a:hover,
.teaser-d .heute-rub-wrapper ul a:focus {
  border-bottom-color: #8dae10;
  color: #8dae10;
}


/* Teaser D2 - Galerie */
.teaser-d.galerie  .img-wrapper {
  width: 54.9375%;
}

.teaser-d  .img-wrapper-inner {
  position: relative;
}

.teaser-d.galerie .img-wrapper-overlay {
  background-color: rgba(0, 0, 0, 0.1);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
}

.teaser-d.galerie .img-wrapper-overlay.trans {
  background-color: transparent;
}

.teaser-d.galerie .img-wrapper-overlay-camera {
  background: transparent url("../images/galerie-overlay-camera.png") no-repeat scroll center center;
  background-size: 8em 8em;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 200;
}

.teaser-d.galerie .hover-layer:hover .img-wrapper-overlay {
  display: none;
}

.teaser-d.galerie .article-info-wrapper {
  width: 45.0625%;
}

.teaser-d.galerie  .headline {
  margin-bottom: 0.167em;
}

.teaser-d.galerie .teasertext {
  font-size: 1.8em;
  letter-spacing: 0.02em;
  line-height: 1.5em;
  margin-bottom: 0.778em;
}






/** 
 * Media queries 
 */
@media only screen and (max-width: 1130px) {
  
  .teaser-d  {
    margin-bottom: 2.1em;
  }
} 

@media only screen and (max-width: 900px) {
  
  /* Teaser D2 - Galerie */
  .teaser-d.galerie  .headline {
    margin-bottom: 0.389em;
  }
  
  .teaser-d.galerie .teasertext {
    display: none;
  }
  
  
  /* Teaser D2 - Nutzungseinschr */
  .teaser-d.nutzungseinschr  .img-wrapper {
    display: none;
  }
  
  .teaser-d.nutzungseinschr  .article-info-wrapper {
    width: 100%;
  }
  
  .teaser-d.nutzungseinschr .article-info-wrapper-inner {
    padding: 1.8em 1.5em 3.1em 1.5em;
  }
}

@media only screen and (max-width: 700px) {
  
  .teaser-d  {
    margin-bottom: 1.5em;
  }
  
  .teaser-d  .img-wrapper {
    display: none;
  }
  
  .teaser-d  .article-info-wrapper {
    width: 100%;
  }
  
  .teaser-d  .article-info-wrapper-inner {
    padding: 1.8em 1.5em 3.1em 1.5em;
  }
  
  .teaser-d  .headline {
    font-size: 3.0em;
    line-height: 1.400em;
    margin-bottom: 0.467em;
    word-wrap: break-word;
  }
  
  
  
  /* Teaser D - Heute an der RUB */
  .teaser-d .article-info-wrapper.heute-rub {
    display: block;
  }
  
  .teaser-d .article-info-wrapper-inner.heute-rub {
    padding-bottom: 1.0em;
    padding-top: 1.2em;
  }
  
  .teaser-d .heute-rub-wrapper ul {
    color: #17365c;
    font-family: RUB-Neu Flama, Arial, sans-serif;
    font-size: 1.5em;
    line-height: 1.4em;
    list-style-position: outside;
    list-style-type: square;
    padding-bottom: 1.278em;
    padding-left: 1.3em;
    padding-top: 0.056em;
  }
  
  .teaser-d .heute-rub-wrapper ul li {
    padding-bottom: 0.4em;
  }
  
  .teaser-d .heute-rub-wrapper ul a {
    border-bottom: 1px solid #c1bbba; 
    padding-bottom: 0.105em;
  }
  
  .teaser-d .heute-rub-wrapper ul a:hover,
  .teaser-d .heute-rub-wrapper ul a:focus {
    border-bottom-color: #8dae10;
    color: #8dae10;
  }
  
  
  /* Teaser D2 - Galerie */
  .teaser-d.galerie .img-wrapper {
    display: block;
    width: 100%;
  }
  
  .teaser-d.galerie .img-wrapper-inner {
    padding: 1.5em 1.5em 0 1.5em;
  }
  
  .teaser-d.galerie .img-wrapper-overlay {
    display: none;
  }
  
  .teaser-d.galerie .img-wrapper-overlay-camera {
    padding-top: 1.5em;
  }
  
  .teaser-d.galerie .article-info-wrapper {
    display: block;
    width: 100%;
  }
} 

@media only screen and (max-width: 500px) {
   
  /* Teaser D2 - Galerie */
  .teaser-d.galerie .img-wrapper-overlay-camera {
    background-size: 6em 6em;
  }
}

