body {
  background-image: url("https://extended.dieharke.de/images/150jahre/background.png");
  background-repeat: repeat-x;
  background-attachment: fixed;
}

.navbar-default {
    background-color: #E8C583;
    border-color: #E8C583;
}

.navbar-default .navbar-nav>li>a, .navbar-default .navbar-text {
    color: #006633;
}

.btn-primary {
    color: #006633;
    background-color: #E8C583;
}

.banner
{
    position: relative;
    width: 100%;
    height: 50vh;
    background: url(https://extended.dieharke.de/images/150jahre/banner/background3.jpg);
    background-size: cover;
    background-position: bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -35px;
}

.banner #text
{
    position: relative;
    font-size: 12em;
    color: #fff;
    z-index: 1;
	top: 50px;
}

.banner .clouds
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.banner .clouds img
{
    position: absolute;
    bottom: -150px;
    max-width: 100%;
    animation: animate calc(3s * var(--i)) linear infinite;
}

@keyframes animate
{
    0%
    {
        opacity: 0;
        transform: scale(1);
    }
    25%, 75%
    {
        opacity: 1;
    }
    100%
    {
        opacity: 0;
        transform: scale(3);
    }
}

.main-timeline{
    position: relative;
}
.main-timeline:after{
    content: "";
    display: block;
    clear: both;
}
.main-timeline .timeline{
    width: 50.1%;
    padding: 20px 0 20px 100px;
    float: right;
    position: relative;
    z-index: 1;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
    content: "";
    background: var(--color1);
    height: 100%;
    width: 28px;
    position: absolute;
    left: -11px;
    top: 0;
}
.main-timeline .timeline:after{
    background: var(--color1);
    height: 18px;
    width: 200px;
    box-shadow: 0 0 10px -5px #000;
    transform:  translateY(-50%);
    top: 50%;
    left: -90px;
}
.main-timeline .timeline-content{
    color: #517d82;
    background-color: var(--color1);
    padding: 0 0 0 80px;
    box-shadow: 0 0 20px -10px #000;
    border-radius: 10px;
    display: block;
}.main-timeline .timeline-content:hover{
    color: #517d82;
    text-decoration: none;
}
.main-timeline .timeline-icon{
    color: #fff;
    background-color: var(--color1);
    text-align: center;
    line-height: 55px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    transform: translateY(-50%);
    position: absolute;
    left: -100px;
    top: 50%;
    z-index: 1;
}
.main-timeline .timeline-year{
    color: #517d82;
    background-color: #fff;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    line-height: 93px;
    height: 113px;
    width: 113px;
    border: 6px solid var(--color1);
    box-shadow: 0 0 10px -5px #000;
    border-radius: 50%;
    transform: translateY(-50%);
    position: absolute;
    left: 50px;
    top: 50%;
    z-index: 1;
}
.main-timeline .inner-content{
    background-color: #fff;
    padding: 10px;
}
.main-timeline .title{
    color: var(--color1);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 5px 0;
}
.main-timeline .description{
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
}
.main-timeline .timeline:nth-child(even){
    padding: 20px 100px 20px 0;
    float: left;
}
.main-timeline .timeline:nth-child(even):before{
    left: auto;
    right: -14.5px;
}
.main-timeline .timeline:nth-child(even):after{
    left: auto;
    right: -90px;
}
.main-timeline .timeline:nth-child(even) .timeline-content{ padding: 0 80px 0 0; }
.main-timeline .timeline:nth-child(even) .timeline-icon{
    left: auto;
    right: -100px;
}
.main-timeline .timeline:nth-child(even) .timeline-year{
    left: auto;
    right: 50px;
}
.main-timeline .timeline:nth-child(4n+2):before,
.main-timeline .timeline:nth-child(4n+2):after{
    background: var(--color2);
}
.main-timeline .timeline:nth-child(4n+2) .timeline-content,
.main-timeline .timeline:nth-child(4n+2) .timeline-icon{
    background-color: var(--color2);
}

@media only screen and (max-width:1200px){
    .main-timeline .timeline:before{ left: -12.5px; }
    .main-timeline .timeline:nth-child(even):before{ right: -14px; }
}
@media only screen and (max-width:990px){
    .main-timeline .timeline:before{ left: -12.5px; }
}
@media only screen and (max-width:767px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
        padding: 20px 0 20px 37px;
    }
    .main-timeline .timeline:before{ left: 0; }
    .main-timeline .timeline:nth-child(even):before{
        right: auto;
        left: 0;
    }
    .main-timeline .timeline:after,
    .main-timeline .timeline:nth-child(even) .timeline:after{
        display: none;
    }
    .main-timeline .timeline-icon,
    .main-timeline .timeline:nth-child(even) .timeline-icon{
        left: 0;
        display: none;
    }
    .main-timeline .timeline-year,
    .main-timeline .timeline:nth-child(even) .timeline-year{
        height: 75px;
        width: 75px;
        line-height: 60px;
        font-size: 25px;
        left: 1px;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content{
        padding: 0 0 0 40px;
    }
}

.navbar.bottom {
  background-color: rgba(100,100,100,.5);
  overflow: hidden;
  position: fixed;
  bottom: -20px;
  z-index: 9999;
}

.navbar.bottom a {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar.bottom a.white {
  color: #fff;
}


.card-wrapper {
  max-width: 1280px;
  background-color: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 102, 51, 0.7);
}

.cards {
  padding: 15px;
  display: flex;
  flex-flow: row wrap;
}

.card {
  width: calc(100% / 4);
  transition: all 0.2s ease-in-out;
}
@media screen and (max-width: 991px) {
  .card {
    width: calc(100% / 2);
  }
}
@media screen and (max-width: 767px) {
  .card {
    width: 100%;
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 768px) {
  .card {
    padding-right: 8px;
  }
  .card:nth-child(4n) {
    padding-right: 0;
    padding-left: 8px;
  }
  .card:nth-child(4n-1), .card:nth-child(4n-2) {
    padding: 0 8px 16px;
  }
}
.card .close {
  position: absolute;
  right: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  opacity: 1;
  cursor: pointer;
}
.card .close:before, .card .close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: #666;
}
.card .close:before {
  transform: rotate(45deg);
}
.card .close:after {
  transform: rotate(-45deg);
}
.card .image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border: 1px #ccc solid;
}
.card .inner-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 16px;
  min-height: 95px;
  background-color: rgba(0, 102, 51, 0.7);
}
.card .inner-info h4 {
  margin: 0;
  font-weight: normal;
  font-size: 20px;
  line-height: 1;
  color: #FFF;
}
.card .inner-info span {
  font-size: 16px;
}
.card .inner-info .close {
  top: auto;
  bottom: 18px;
  right: 4px;
  width: 18px;
  height: 18px;
}
.card .inner-info .close:before, .card .inner-info .close:after {
  left: 8px;
  height: 18px;
  background-color: white;
}
.card__inner {
  width: 100%;
  height: 350px;
  padding: 30px;
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  background-color: #949fb0;
  color: #eceef1;
  font-size: 1.5em;
  transition: all 0.2s ease-in-out;
}
.card__inner:after {
  transition: all 0.3s ease-in-out;
}
.card__expander {
  transition: all 0.4s ease-in-out;
  width: 100%;
  position: relative;
  font-size: 1.5em;
}
@media screen and (min-width: 768px) {
  .card__expander {
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
}
.card__expander h3 {
  margin-top: 0;
  font-size: 24px;
}
@media screen and (max-width: 767px) {
  .card__expander h3 {
    padding-right: 32px;
  }
}
.card__expander p {
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .card__expander .expander-content,
.card__expander .expander-info {
    flex-basis: 100%;
  }
}
.card__expander .expander-content {
  padding: 48px 48px 48px 0;
  flex-basis: 70%;
  position: relative;
  margin: 0 auto 0 0;
}
@media screen and (max-width: 767px) {
  .card__expander .expander-content {
    padding: 16px 16px 16px 0;
  }
}
.card__expander .expander-content:before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  right: 0;
  width: 5px;
  border-radius: 4px;
  background: #666;
}
@media screen and (max-width: 767px) {
  .card__expander .expander-content:before {
    content: none;
  }
}
.card__expander .expander-content a {
  color: black;
  font-size: 18px;
}
.card__expander .expander-info {
  padding: 48px 16px 32px;
  flex-basis: 30%;
}
@media screen and (max-width: 767px) {
  .card__expander .expander-info {
    padding: 32px 16px;
  }
}
.card__expander .expander-info span {
  display: block;
  white-space: nowrap;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #666;
  padding: 8px 0;
}
.card__expander .expander-button {
  display: block;
  background-color: #666;
  color: white;
  margin-top: 32px;
  width: 100%;
  text-decoration: none;
  padding: 8px;
}
.card.is-collapsed .card__inner:after {
  content: "";
  opacity: 0;
}
.card.is-collapsed .card__expander {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
}
.card.is-expanded .inner-info {
  display: block;
}
.card.is-expanded .card__expander {
  max-height: 1200px;
  min-height: 200px;
  overflow: hidden;
  opacity: 1;
}
.card.is-inactive .card__inner {
  cursor: pointer;
  opacity: 0.5;
}

.card.is-collapsed:hover {
  transform: scale(1.05);
}

@media screen and (min-width: 992px) {
  .card:nth-of-type(4n + 2) .card__expander {
    margin-left: calc(-100% - 24px);
  }

  .card:nth-of-type(4n + 3) .card__expander {
    margin-left: calc(-200% - 40px);
  }

  .card:nth-of-type(4n + 4) .card__expander {
    margin-left: calc(-300% - 32px);
  }

  .card:nth-of-type(4n + 5) {
    clear: left;
  }

  .card__expander {
    width: 400%;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .card:nth-of-type(2n + 2) .card__expander {
    margin-left: -100%;
  }

  .card:nth-of-type(2n + 3) {
    clear: left;
  }

  .card__expander {
    width: 200%;
  }
}

.card-wrapper {
    box-shadow: none;
}

.backtomenu
{
  background-color: #006633;
  color: #ffffff;
  position: sticky;
  /* display: none; */
  margin-left: 0px;
  height: 45px;
  top: 53px;
  z-index: 899;
  padding: 10px;
  border-bottom: solid 1px #004411;
}

@media (max-width:767px) {
  .backtomenu
  {
    top: 64px;
  }
}

.backtomenu select
{
  color: #000;
}

.backtomenu a
{
  color: #ffffff;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}

nav.navbar.navbar-default .navbar-header .glyphicon, nav.navbar.navbar-default .navbar-header .badge {
    color: #000;
    background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #000;
}

.navbar-brand
{
  filter: invert(100%); 
  -webkit-filter:invert(100%); 
}





  .ad img
  {
    display: block;
    margin: 0 auto;
    max-width: 80vw;
    height: auto;
  }

  b { color: #006633; }
  h4 { color: #006633; font-weight: bold; }


  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
    display: block;
    height: auto;
    max-height: 700px;
    margin: 0 auto;
  }

  .carousel-inner {
    border-radius: 15px;
    background-color: #000000;
  }

  .carousel-caption {
    background-color: rgba(0,0,0,.5);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 0 0 10px 25px;
    color: #fff;
    text-align: left;
  }

  .carousel-control.left,
  .carousel-control.right {
    background-image: none;
    color: #000000;
  }

  .carousel-control
  {
    background-color: #ffffff;
    width: 40px;
  }

  #sponsoren
  {
    height: 100px;
    overflow: auto;
    white-space: nowrap;
    margin-bottom: 10px;
  }

  #sponsoren img
  {
    height: 100px;
  }


  #sponsoren::-webkit-scrollbar
  {
    display: none;
  }

  #sponsoren
  {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }



















.panel-shadow {
    box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 2px;
}
.panel-white {
  border: 1px solid #dddddd;
}
.panel-white  .panel-heading {
  color: #333;
  background-color: #fff;
  border-color: #ddd;
}
.panel-white  .panel-footer {
  background-color: #fff;
  border-color: #ddd;
}

.post .post-heading {
  height: 95px;
  padding: 20px 15px;
}
.post .post-heading .avatar {
  width: 86px;
  height: 60px;
  display: block;
  margin-right: 15px;
}
.post .post-heading .meta .title {
  margin-bottom: 0;
}
.post .post-heading .meta .title a {
  color: black;
}
.post .post-heading .meta .title a:hover {
  color: #aaaaaa;
}
.post .post-heading .meta .time {
  margin-top: 8px;
  color: #999;
}
.post .post-image .image {
  width: 100%;
  height: 100%;
}
.post .post-description {
  padding: 15px;
}
.post .post-description p {
  font-size: 17px;
}
.post .post-description .stats {
  margin-top: 20px;
}
.post .post-description .stats .stat-item {
  display: inline-block;
  margin-right: 15px;
}
.post .post-description .stats .stat-item .icon {
  margin-right: 8px;
}
.post .post-footer {
  border-top: 1px solid #ddd;
  padding: 15px;
}
.post .post-footer .input-group-addon a {
  color: #454545;
}
.post .post-footer .comments-list {
  padding: 0;
  margin-top: 20px;
  list-style-type: none;
}
.post .post-footer .comments-list .comment {
  display: block;
  width: 100%;
  margin: 20px 0;
}
.post .post-footer .comments-list .comment .avatar {
  width: 35px;
  height: 35px;
}
.post .post-footer .comments-list .comment .comment-heading {
  display: block;
  width: 100%;
}
.post .post-footer .comments-list .comment .comment-heading .user {
  font-size: 14px;
  font-weight: bold;
  display: inline;
  margin-top: 0;
  margin-right: 10px;
}
.post .post-footer .comments-list .comment .comment-heading .time {
  font-size: 12px;
  color: #aaa;
  margin-top: 0;
  display: inline;
}
.post .post-footer .comments-list .comment .comment-body {
  margin-left: 50px;
}
.post .post-footer .comments-list .comment > .comments-list {
  margin-left: 50px;
}

a.btn-default {
    color: #006633;
    background-color: transparent;
    border: none;
}

/* HIDE RADIO */
[type=radio] { 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
[type=radio] + img {
  cursor: pointer;
  filter: brightness(50%);
}

/* CHECKED STYLES */
[type=radio]:checked + img {
  filter: brightness(120%);
  outline: 4px solid #006633;
}

.hinweis
{
  font-size: 80%;
  padding-top: 15px;
  font-style: italic;
}

.greybox
{
  background-color: #ccc;
}

legend {
  font-size: 100%;
}

.panel {
  margin-bottom: 15px;
}

.teilnahmegewinnspiel p
{
  font-size: 80%;
}

.teilnahmegewinnspiel h4
{
  margin-top: 35px;
  font-size: 90%;
}

h4
{
  margin-top: 35px;
}

label
{
  display: inline;
  font-weight: 100;
}

@media screen and (max-width: 512px) {
	.menucaption
	{
		display: none;
	}
}

h1 small {
  content: "\A";
  white-space: pre;
}

#contentainer a
{
	text-decoration: underline;
}

.loading
{
	display: none;
}

	