/* Störmeldungen  */

body.stoermeldung-open #page-shadow {
  z-index: 13;
}
body.stoermeldung-open #content-top-area,
body.stoermeldung-open #fahrplanauskunft-row,
body.stoermeldung-open #fahrplanauskunft-row #fahrplanauskunft-container
{
  z-index: auto !important;
}
body.stoermeldung-open {
  position: relative;
}
#stoermeldungen {
  background: #d40000;
  padding: 1px 20px 15px;
  margin-top: 31px;
}
@media (min-width: 1340px) {
  #stoermeldungen {
    margin-top: 30px;
  }
}
#stoermeldungen .notices-header {
  position: relative;
  margin-bottom: 0px;
}
#stoermeldungen .notices-header:after {
  content: '';
  height: 2px;
  background: #e91a22;
  display: block;
  margin: 4px -17px 0 0;
  width: 100%;
}
#stoermeldungen .notices-class {
  width: 100%;
  height: 40px;
  line-height: 40px;
  /* padding-left: 35px; */
  position: relative;
  overflow: hidden;
}
#stoermeldungen .notices-class:not(:last-child):after {
  content: '';
  height: 2px;
  background: #e91a22;
  display: block;
  position: absolute;
  bottom: 0px;
  width: calc(100% + 17px);
  left: 0px;
}
#stoermeldungen .notices-class-icon {
  width: 35px;
  height: 40px;
  float: left;
  background-repeat: no-repeat;
  background-position: center left;  
}
#stoermeldungen [data-elements-count="0"] .notices-class-icon::after {
  content: "";
  top: 4px;
  left: 31px;
  height: 30px;
  width: 30px;
  position: absolute;
  background-image: url(../icons/smiley.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#stoermeldungen .notices-class-elements {
  margin-left: 35px;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center left;
}
#stoermeldungen .notices-tram .notices-class-icon {
  background-image: url(/fileadmin/public/assets/icons/Strab.png);
}
#stoermeldungen .notices-bus .notices-class-icon {
  background-image: url(/fileadmin/public/assets/icons/Bus.png);
} 
#stoermeldungen .notices-night .notices-class-icon {
  background-image: url(/fileadmin/public/assets/icons/Nacht.png);
}
#stoermeldungen .notices ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  height: 24px;
  /*width: 480px;*/
  position: relative;
  top: 7px;
}
#stoermeldungen .notices li {
  display: inline-block;
  margin-right: 7px;
  width: 24px;
  height: 24px;
  text-align: center;
  cursor: pointer;
}
#stoermeldungen .notices-bus li {
  border-radius: 50%;
}
#stoermeldungen .notices li > span {
  position: relative;
  top: -6px;
  font-weight: bold;
}
#stoermeldungen .notices li.key-length-3 > span {
  font-size: 0.82em;
}

/* Störmeldungs-Popup */
#stoermeldungen .notices-popup {
  position: absolute;
  z-index: 10000;
  right: 0;
  bottom: 0;
  max-width: 737px;
  max-height: 800px;
  width: 100vw;
  overflow: auto;
  background: white;
}
@media (max-width: 1340px) {
  #stoermeldungen .notices-popup {
    right: 15px;
  }
}

@media (max-width: 991px) {
  #stoermeldungen {
    margin-top: 31px !important;
  }
}

@media (max-width: 767px) {
  #stoermeldungen .notices-popup {
    right: 0;
    width: 100%
  }
}
#stoermeldungen .notices-popup-header {
  display: block;
  font-size: 19px;
  font-weight: bold;
  width: 100%;
  color: white;
  padding: 10px 20px;
  background: #d40000;
  cursor: pointer;
}
#stoermeldungen .notices-popup-line {
  float: right;
  width: 72px;
  height: 72px;
  text-align: center;
  margin: 15px 15px 20px 20px;
}
#stoermeldungen .notice-bus .notices-popup-line {
  width: 80px;
  height: 80px
}
#stoermeldungen .notices-popup-line > div {
  display: block;
  width: 100%;
  height: 100%;
}
#stoermeldungen .notice-bus .notices-popup-line > div {
  border-radius: 50%;
}
#stoermeldungen .notices-popup-line > div > span {
  position: relative;
  top: 0px;
  font-weight: bold;
  font-size: 48px;  
  line-height: 72px;
}
#stoermeldungen .notice-bus .notices-popup-line > div > span {
  top: 5px;
}
#stoermeldungen .notices-popup.key-length-3 .notices-popup-line > div > span {
  font-size: 36px;
}
#stoermeldungen .notices-popup-content {
  color: #333;
  padding: 20px;
}
#stoermeldungen .notices-popup-close {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 42px;
  height: 42px;
  background-color: #d40000;
  cursor: pointer;
  font-size: 32px;
}
#stoermeldungen .notices-popup-close::before {
  left: 5px;
  top: 5px;
}
#stoermeldungen .notice:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px dotted #666;
  margin-bottom: 20px;
}
#stoermeldungen .notice .notice-header {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: bold;
  color: #d40000;
}
