/***************** Global *****************/

/* Rahmentemplate */

#top {
  background: #bf0d25;
  padding: 20px;
}

img {
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#navi {
  background: #bf0d25;
}

footer {
  background: #f0f0f0;
}

.bg-grey {
  background: #f0f0f0;
}

#main {
  margin-top: 30px;
}

#dropdown-btn {
  display: none;
}

footer {
  margin-top: 50px;
}

#footer {
  text-align: center;
  padding: 15px;
}

#footer span,
#footer a {
  margin-right: 10px;
  top: 5px;
  position: relative;
}

.wide {
  margin: 0px 100px;
}

h1 {
  margin-top: 10px;
}

/* Navi */

#navbar {
  padding: 5px 5px 0 5px;
  position: relative;
}

#navbar ul {
  display: flex;
  justify-content: center;
}

#navbar li {
  flex: 1 1 4rem;
  width: 15%;
  margin: 0;
  display: flex;
}

#navbar li div {
  position: absolute;
  top: 5px;
  left: 0;
}

#navbar a {
  color: #ffffff;
  font-size: 1rem;
  margin: auto;
  font-weight: 400;
  padding: 0.5rem;
  text-align: center;
}

#navbar .focused-nav-item {
  background: #ffffff;
  transition: 0.3s;
}

#navbar .focused-nav-item a {
  color: black;
  text-decoration: none;
}

#navbar .active {
  background: #ffffff;
}

#navbar .active a {
  color: black;
  text-decoration: none;
}

#subnav {
  background-color: #ffffff;
  padding: 0;
  height: 2.55rem;
  z-index: 0;
  overflow: hidden;
  position: relative;
}

#subnav li {
  background-color: white;
}

#subnav a {
  color: black;
}

#subnav a:hover {
  color: #bf0d25;
  border-bottom: #bf0d25 1px solid;
}

#subnav .inactive {
  display: none;
}

#subnav .active a {
  color: #bf0d25;
  border-bottom: #bf0d25 solid 1px;
}

#subnav .focused-sub {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
}

#subnav .contact-sub {
  height: 100%;
}

.border-nav {
  border-bottom: #f0f0f0 1px solid;
}

.border-nav-white {
  border-bottom: white 1px solid;
}

header a.change {
  position: absolute;
  top: 0;
  z-index: 1000;
  color: #fff;
  right: 0;
  font-weight: 600;
  font-size: 16px;
}

/* Buttons */

.btn {
  border-radius: 0;
}

.btn-primary {
  background-color: #d21d36;
  border-color: #bf0d25;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:visited,
.btn-primary:active,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
  background-color: #bf0d25;
  border-color: #bf0d25;
  color: #fff;
}

#subscribe-btn:hover {
  background-color: #a20b1f;
}

.big {
  padding: 8px 20px;
}

/* Panel */

.panel {
  border-radius: 0;
}

.panel .panel-heading {
  text-align: center;
  font-weight: 600;
}

/* Links */

a,
a:focus,
a:hover,
a:active,
a:visited,
.btn-link,
.btn-link:focus,
.btn-link:hover,
.btn-link:visited,
.btn-link:active {
  color: #bf0d25;
}

/* Table */

table.small td {
  font-size: 13px;
  padding: 7px !important;
}

/***************** Pages *****************/

/* Startseite */

#img-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: auto;
}

#img-container img {
  width: 15rem;
  flex: 1 1 10rem;
  padding: 1rem;
}

#promotion-circle {
  background-color: #bf0d25;
  padding: 1.5rem;
  border-radius: 50%;
  min-width: 175px;
  max-width: 175px;
  min-height: 175px;
  max-height: 175px;
  text-align: center;
  display: flex;
  align-content: center;
  flex-direction: column;
  justify-content: center;
  letter-spacing: -0.6px;
  font-weight: bold;
  font-size: 1rem;
}

#promotion-circle span {
  text-align: center;
  color: #fff;
  font-size: 14px;
}

#promotion-circle .tel {
  letter-spacing: -0.2px;
  margin-top: 5px;
}

/* Suche */

#page-suche .form-group {
  padding-top: 20px;
}

#page-suche .btn-primary {
  margin-top: 10px;
}

#page-suche .control-label {
  text-align: right;
}

#page-suche input {
  width: 100%;
}

#page-suche input.btn-primary {
  width: auto;
}

.favIcon {
  max-height: 100%;
  max-width: 1.7rem;
  margin-right: 0;
  margin-left: auto;
}

.favIcon svg {
  color: grey;
  margin-right: 0;
}

.favIcon svg:hover {
  transition: 0.3s;
  color: gold;
}

#fav-text-mobile {
  display: none;
}

.active-icon svg {
  color: gold;
}

/* Suchergebnis */

.table-responsive {
  margin-top: 20px;
}

.table-responsive .searchresult th {
  background: #bf0d25;
  color: #fff;
  cursor: pointer;
}

.pagination {
  background-color: #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result h1 {
  float: left;
}

.result .count {
  floaT: right;
  margin-top: 25px;
  font-weight: 600;
  font-size: 17px;
}

.result-row {
  border-bottom: gray 3px solid;
}

/* Single */

.single .titel {
  display: block;
  background: #bf0d25;
  color: #fff;
  font-size: 14px;
  margin: 0 0 20px 0;
  padding: 10px;
  font-weight: bold;
}

.single h1 {
  font-size: 17px;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

/* Aboverwaltung */

.aboverwaltung .pagination {
  margin: 0;
  float: right;
}

.filter .form-group {
  margin-top: 10px;
}

.geldsumme {
  color: #bf0d25;
}

.paywall-einzelabruf {
  border-left: 1px #f0f0f0 solid;
}

.gray-background {
  background: #f0f0f0;
}

/* Autorenhinweise */

table.border {
  border-collapse: collapse;
}

table.border,
.border th,
.border td {
  border-style: solid;
  border-width: 1px;
  border-color: #3c3c3c;
  padding: 5px 10px;
}

.autorenhinweise h3 {
  margin-bottom: 10px;
  margin-top: 20px !important;
  font-size: 18px;
}

.autorenhinweise h2 {
  text-align: center;
  margin-top: 20px !important;
  font-size: 21px;
}

.autorenhinweise h1,
#page-suche h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;
}

#contact-section {
  min-height: 50vh;
}

#dropdown-contacts {
  border: solid #f0f0f0 1px;
}

.contacts-card {
  border-bottom: solid 1px #f0f0f0;
}

.dropdown-menu {
  width: 100% !important;
}

.form-check-input {
  margin: 0 !important;
  position: absolute;
  left: 0px;
  top: 5px;
  width: 1rem !important;
}

@media (min-width: 991px) {
  .sub-card-text {
    min-height: 120px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 850px;
  }

  #main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 760px) {
  #promotion-circle {
    position: initial;
    text-align: center;
    margin: 25px auto 25px auto;
  }

  #main {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /** NAVBAR **/

  #subnav-container {
    display: none;
  }

  #subnav {
    overflow: visible;
    background-color: white;
    height: auto;
  }

  #navi .container {
    padding: 0;
  }

  #navbar {
    padding-right: 0;
    padding-left: 0;
  }

  #dropdown-btn {
    display: block;
    margin: auto;
  }

  .focused-sub {
    display: none;
  }

  .toggle-dropdown {
    display: block !important;
    flex-direction: row;
    border: none;
    background-color: white;
    width: 100%;
  }

  .toggle-dropdown ul {
    display: flex;
    flex-direction: column;
  }

  .toggle-dropdown ul .nav-link {
    border-bottom: #f0f0f0 solid 1px;
  }

  /** PAYWALL **/

  .paywall-einzelabruf {
    border-left: none;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
  }

  /**  Subscription cards **/

  .sub-cards {
    margin-bottom: 2rem;
    border-bottom: #f0f0f0 1px solid;
  }

  /*
  CONTACTS
   */

  #contact-section {
    min-height: 60vh;
  }

  #fav-text-mobile {
    display: block;
  }
}

@media print {
  .noprint {
    display: none !important;
  }

  .printwide {
    margin: 0 !important;
  }

  table.small.print td {
    padding: 2px !important;
  }

  table.small.print td {
    font-size: 9px;
  }
}

