/* Unterseiten Text ----------------------------------------------------------------------------------- */

.elm.unterseiten.design_text {
  line-height: normal;
}

.elm.unterseiten.design_text > a {
  display: block;
  border-top: 1px dotted #DCDCDC;
  padding: 5px 10px;
  text-decoration: none;
}

.elm.unterseiten.design_text > a:hover {
  background-color: #F2F2F2;
}

/* Unterseiten Titelbild ----------------------------------------------------------------------------------- */

.elm.unterseiten.design_titelbild .col a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  margin-bottom: 20px;
}

.elm.unterseiten.design_titelbild .titel {
  display: block;
  padding: 5px;
  background-color: #DCDCDC;
  text-align: center;
  line-height: normal;
}

.elm.unterseiten.design_titelbild .titelbild {
  display: block;
}

.elm.unterseiten.design_titelbild .titelbild img {
  width: 100%;
  height: auto;
}

/* Unterseiten Tabs ----------------------------------------------------------------------------------- */

.elm.unterseiten.design_tabs {
  line-height: normal;
}

.elm.unterseiten.design_tabs a {
  display: block;
  background-color: #EFEFEF;
  margin-bottom: 2px;
  padding: 5px;
}

@media only screen and (min-width : 768px) {

  .elm.unterseiten.design_tabs {
    display: flex;
    border-bottom: 5px solid #DCDCDC;
  }

  .elm.unterseiten.design_tabs a {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 0;
  }

  .elm.unterseiten.design_tabs a.is-active {
    background-color: #DCDCDC;
  }
}

/* Unterseiten Seitenzahlen ----------------------------------------------------------------------------------- */

.seitenzahlen {
  margin-top: 1em;
  overflow: hidden;
  padding: 3px;
  clear: both;
  line-height: normal;
}
* html .seitenzahlen {
  overflow: visible;
  height: 1%;
}

.seitenzahlen .page_print {
  float: left;
  width: auto;
  margin-right: 1em;
  padding-right: 1em;
}

.seitenzahlen ul,
.seitenzahlen li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}

.seitenzahlen ul li {
  float: left;
  width: auto;
  margin-right: 1em;
}

.seitenzahlen ul li a {
  text-decoration: none;
}

.seitenzahlen ul li a.active {
  font-weight: bold;
}

/* Unterseiten Tag-Filter ----------------------------------------------------------------------------------- */

.unterseiten_tagfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  flex: 0 0 100%;
  width: 100%;
  gap: 8px;
  margin-bottom: 20px;
  line-height: normal;
}

.elm.unterseiten .unterseiten_tagfilter a.unterseiten_tagfilter_tag {
  display: inline-block;
  height: auto;
  padding: 5px 12px;
  border: 1px solid #DCDCDC;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9em;
  color: #000;
  background-color: #F2F2F2;
  transition: background-color 0.15s;
}

.elm.unterseiten .unterseiten_tagfilter a.unterseiten_tagfilter_tag:hover {
  background-color: #E2E2E2;
}

.elm.unterseiten .unterseiten_tagfilter a.unterseiten_tagfilter_tag.active {
  background-color: #C0C0C0;
  color: #000;
}
