body {
  font-family: sans-serif, Arial, Helvetica;
  background-color: #F2F9FF;
  /* Margin bottom by footer height */
  margin-bottom: 150px;
}

* {
  padding: 0;
  margin: 0;
}

video {
  height: auto   !important;
}

html {
  position: relative;
  min-height: 100%;
}

.navbar {
  background-color: #95bcff;
  z-index: 20;
}

.navbar-nav .nav-item .nav-link {
  color: black;
}

.navbar-brand:hover {
  -webkit-filter: drop-shadow(-2px 2px 5px #7c7c7c);
  filter: drop-shadow(-3px 3px 0px #7c7c7c);
}

/*news cal Aktive Download*/
.active-download:hover{
  text-shadow: -3px 7px 14px black;
}

/*Link Hover effect*/

@media (hover: hover) { /*no touch hover*/

.nav-link {
  position: relative;
  color: Black;
  text-decoration: none;
  margin-right: 10px;
}

.nav-link > span:after,
.nav-link > span:before,
.nav-link:after,
.nav-link:before {
  content: "";
  position: absolute;
  transition: transform .5s ease;
}

.nav-link {
  overflow: hidden;
}

.nav-link:after,
.nav-link:before {
  left: 0;
  width: 100%;
  height: 2px;
  background: #7c7c7c;
}

.nav-link:before {
  bottom: 0;
  transform: translateX(-100%);
}

.nav-link:after {
  top: 0;
  transform: translateX(100%);
}

.nav-link:hover:after,
.nav-link:hover:before {
  transform: translateX(0);
}

.navbar-nav .nav-item .nav-link:hover {
  color: #7c7c7c;
}

.navbar-nav .nav-item .nav-link:focus {
  color: #7c7c7c;
}

.navbar-light .navbar-nav .nav-link.active {
  transform: translateX(0%);
  color: #7c7c7c;
}
}

/*End Link Hover Effect*/
/*Body effects*/
/*Body effects end*/

/*Footer*/
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 130px;
  background-color: #95bcff;
  padding-top: 10px;
}

.footer-list {
  list-style-type: none;
}

.head-image {
  /*background-image: url("../image/HeaderPic.jpg");
    background-repeat: no-repeat;*/
  background-color: rgb(0, 47, 255);
  /* For browsers that do not support gradients */
  background-image: linear-gradient(to bottom right, rgb(0, 179, 250), rgb(0,72,129));
  background-size: 100%;
  height: 170px;
}

.head-text {
  padding-top: 20px;
  color: black;
  font-family: "Comic Sans MS", cursive, sans-serif;
}
/*Icon FLip*/
.flip-hover {
  color: black;
  position: relative;
  text-align: center;
  transition: transform .6s;
  transform-style: preserve-3d;
}

.hover-address:hover .flip-hover {
  transform: rotateY(180deg);
}
/*end Icon Flip*/

/*Picture Popup*/
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  /*z-index: 30; Sit on top */  
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* The Modal (background) */

/*End Picture Popup*/

/*carousel*/
.wrapper {
  max-width: 800px;
  min-height: 700px;
  width: 100%;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: block !important;

}

/*extern links*/

.ex-link {
  display: inline-block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  text-shadow: -2px 2px 5px rgb(128, 128, 128);
}

.ex-link:before {
  content: attr(data-attr);
  width: 100%;
  height: 2px;
  background: #6ba1ff;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  position: absolute;
  top: 95%;
  left: 0;
  transition: height .2s ease 0s, top .1s ease .2s;
}

.ex-link:hover:before {
  height: 100%;
  top: 0;
  transition: top .2s ease 0s, height .5s ease .3s;
}

.ex-link > span {
  display: block;
  padding: 0 5px;
  font-size: 20px;
  color: #6b6b6b;
  text-transform: uppercase;
  z-index: 1;
}
/*extern link Hover style End*/

  /*carousel*/

  /*Picture Text*/
  h1.elegantshadow {
    font-size: 60px;
    text-align: center;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
    padding: 40px 0;
    color: #131313;
    letter-spacing: .15em;
    color: #2c2c2c;
    letter-spacing: .05em;
    text-shadow: 4px 4px 0 #d5d5d5, 7px 7px 0 rgba(0, 0, 0, 0.2);
  }

  /*First Text of page*/
  .txt-start {
    padding: 80px 0 40px !important;
  }

  #section2 {
    background-color: #d1d0d0;
  }
  @media only screen and (max-width: 800px) {
    .txt-rotate {
      font-size: 12pt;

    }

    .txt-rotate-line {
      line-height: .2;
    }

    .ex-link {
      margin-bottom: 20px;
    }

    .modal-content {
      width: 100%;
    }
  }

@media only screen and (max-width: 576px) {
  body {
    margin-bottom: 75px;
  }
	
  video {
    width: 100%;
  }

  /*footer icon none Text icon bigger and center*/
  .footer-list {
    text-align: right;
  }

  .nav-link {
    text-align: center;
  }

  .txt-rotate {
    display: none;
  }

  .head-image {
    height: 120px;
  }

  .responsive-none {
    display: none;
  }

  .icon-size {
    font-size: 25px;
  }

  .icon-right {
    padding-right: 60%;
  }

  .text-right {
    text-align: center;
  }

  .footer {
    height: 50px;
  }

  .flip-hover,
  .hover-address:hover .flip-hover {
    transition: none;
    transform: translateY(0);
  }

  h1.elegantshadow {
    font-size: 30px;
  }
  
  .responsive-news{
    font-size: 10pt;
  }

}
