/* Fonts */

@font-face {
  font-family: 'Ubuntu';
  src: url(../fonts/ubuntu-v15-latin-300.woff2);
}

@font-face {
  font-family: 'PT_Sans';
  src: url(../fonts/pt-sans-narrow-v12-latin-regular.woff2);
}

body{
  font-family: Ubuntu !important;
}

h1, h2, h3, h4, h5{
  font-family: PT_Sans !important;
}

@media (min-width: 0px) {
  p{
    text-align: justify; /* Blocksatz */
    hyphens: auto; /* Zeichentrennung */
  }

  .btn{
    display: block !important; 
    text-align: center;
  }
}

@media (min-width: 768px) { 
  p{
    text-align: left ;
    hyphens: none; /* Zeichentrennung */
  }

  .btn{
    display: inline-block !important; 
    text-align: center;
  }
}

@media (min-width: 992px) {
  h1{
    font-size: 3.0rem !important;
  }
}


/* menu */

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img{
  display: inline-block;
  margin-bottom: 2vw;
}

/* Backgroundcolor collapse Navbar */
    .collapse:not(.show).navbar-collapse
    {   
      border-radius: 0;
      margin-top: 0;
      margin-bottom: 0;
      background-color: #212529;
    }
    .collapse.navbar-collapse
    {   
      border-radius: .25rem;
      margin-top: .5rem;
      margin-bottom: .5rem;
      background-color: rgba(255,255,255,.15);
    }

    .navbar-collapse .navbar-nav{
      padding-left: 10px;
    }

.divider{
    border: 1px solid #fff;
    }

.navbar-dark .navbar-nav .nav-link {
      color: rgb(255, 255, 255) !important;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover{
    color: rgba(255, 255, 255, 0.5) !important ;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: bold;
}

.dropdown-item.active{
  background-color: rgba(255,255,255,.15) !important
}

.dropdown-item-ueberschrift{
  color: #bb2d3b !important;
}

.dropdown-item-ueberschrift.active{
  color:#dee2e6 !important;
  background-color: #bb2d3b !important;
}

.brand-text{
  color: #fff;
  height: 100%;

}

.brand-text p{
  display: table-cell;
  vertical-align: middle;
}

.hotline{
  text-decoration: none !important;
}

/* Inhaltsverzeichnis */

@media (min-width: 768px) {
  #inhaltsverzeichnis {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

/* content */

.main {
  padding-top: 60px;
  padding-bottom: 100px;
}

.main_top {
  padding-top: 60px;
  padding-bottom: 30px;
}

.main_center {
  padding-top: 15px;
  padding-bottom: 15px;
}

.main_buttom {
  padding-top: 15px;
  padding-bottom: 30px;
  margin-bottom: 100px;
}

.main img, .main_top img, .main_center img, .main_buttom img {
  max-width: 100%;
}

/* Colors */

.grey{
  background-color: #f8f8f8;
}

.opacity {
  background: rgba(0,0,0,.3);
  position: relative;
}

.img_grey{
  filter: grayscale(100%);
}

/* für index */

.index_bg_h1{
  width: 100%;
  color: #fff;
  min-height: 5rem;
}

.main_index_break{
  min-height: 5rem;
}

@media (min-width: 0px) {
  .index_img{
    max-height: 20rem
  }
}

@media (min-width: 768px) { 
  .index_img{
    max-height: 10rem;
  }
}

@media (min-width: 1400px) { 
  .index_p{
    font-size: larger;
  }
}

/* typewriter effect for h1 */

.typewriter h1 {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  white-space: nowrap; /* Keeps the content on a single line */
  animation:
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.inline { display: none }