/********** Layout *********


body {
	margin-top: 105px; /* 90px navbar + line-height/2  
}*/


#headerimage {
	width:100%;
	height:630px;
	z-index: 0;
	margin-bottom:30px;
}

.divider {
  max-height:630px;
  width:100%;
  margin-bottom:30px;
  background-size: cover;
  overflow:hidden;
  background-color:#4fba6f;
}

#footer{
padding-top:60px;
}

/********** Typography **********/

body {
  font-size: 20px;
  line-height: 30px;
  font-family: AvenirLTCom-Medium;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family:AvenirLTCom-Black;
font-weight:normal;
}

h1, .h1 {
  font-size: 90px;
  line-height: 120px;
  margin-top: 15px;
  margin-bottom: 45px;
}

.navbar-brand {
  font-size: 45px;
  line-height: 60px;
  font-family: AvenirLTCom-Book;
}


h2, .h2 {
  font-size: 25px;
  line-height: 30px;
  margin-top: 0px;
  margin-bottom: 0px;
  text-transform:uppercase;
}

 h2.seitlich {
    margin-top:-1px;
    text-align:right;
}

h3, .h3 {
  font-size: 20px;
  line-height: 30px;
  margin-top: 0px;
  margin-bottom: 0; 
}
h4, h4 {
  font-size: 20px;
  line-height: 30px;
  margin-top: 0px;
  margin-bottom: 30px;
}

.claim {
	font-family: AvenirLTCom-Black;
	font-size:45px;
	line-height:60px;
}

@media (max-width: 991px) {

	.claim {
		font-family: AvenirLTCom-Black;
		font-size:25px;
		line-height:30px;
		}

}

p, ul, ol, pre, table, blockquote {
  margin-top: 0px;
  margin-bottom: 15px;
}

p:last-child {
  margin-bottom:60px;
}

.navbar-default .navbar-brand {
  margin:0;
  line-height:30px;
  color: #f0c419;
  padding: 25px 15px;
}

/* Sanitation */
hr {
  border: 1px solid;
  margin: -1px 0;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
b, strong, em, small, code {
  line-height: 1;
}
sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub {
  top: 0.4em;
}

.date {
    font-family: AvenirLTCom-Black;
}

.time {
    font-weight: 100;
}

.termintitel {
padding-top: 11px;
font-weight: 300;
display: block;  
}

time {
  line-height: 45px;
  font-size: 30px;
  display: block;
  margin-top: 0px;
  margin-bottom: 0px;
}

.pastevent {
  color:#c03a2b;
}

.futureevent {
  color:#4fba6f;
}


/********** Trenner **********/

#headerimage {
	background-image:url(../images/bg-1.jpg);
	background-repeat:no-repeat;
	/* custom background-position */
	background-position:50% 50%;
	/* ie8- graceful degradation */
	background-position:50% 50%9 !important;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}

/********** Navbar *********

#bs-example-navbar-collapse-1 {
  border-bottom:15px solid #2c3e50;
}*/

.navbar {
  margin-bottom:0;
}

.navbar-nav > li > a {
    padding-top: 32px;
    padding-bottom: 23px;
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
color: #f0c419;
}

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}




/********** lazy Load XT *********/

img.lazy {
  display:none;
}

.lazy-hidden {
    opacity: 0;
}

.lazy-hidden[style*="background"] {
    opacity:1;
}

.lazy-loaded {
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    opacity: 1;
}

.img-responsive {
width:100%;
}

.slick-slider {
  max-height:630px;
  overflow:hidden;
}


#wrapper {
  height: auto !important;
  min-height: 80vh;
}  
footer {
padding-top:60px;
margin-bottom: 60px;
}

footer p:last-child{
  font-size:15px;
  margin-bottom:0;
}

/*************** Masonry ******************/
.grid-sizer {
width:22%;
}

.gutter-sizer {
  width:3%;
}

.grid-item { 
  width: 22%;
  margin-bottom: 2%;
}

.grid-item--width2 {
  width: 22%;
}

/*********** Flex Gallery *************/

.gallery {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -webkit-flex-wrap: wrap;
}

.thumbnail-wrapper {
  background-color: #333;
  min-width: 30rem;
  min-height: 30rem;
  position: relative;
  flex: 1;
  flex-basis: 30rem;
  -webkit-flex: 1;
  -webkit-flex-basis: 30rem;
  margin: 0 15px 30px;
}

.thumbnail-wrapper:nth-child(5n) {
  flex-basis: 30rem;
  -webkit-flex-basis: 30rem;
}

.thumbnail-wrapper:nth-child(2n+1) {
  flex-basis: 30rem;
  -webkit-flex-basis: 30rem;
}

.thumbnail-wrapper:nth-child(8n+4) {
  flex-basis: 50rem;
  -webkit-flex-basis: 50rem;
  min-height: 50rem;
}

.thumbnail-wrapper:nth-child(8n+5) {
  flex-basis: 50rem;
  -webkit-flex-basis: 50rem;
  min-height: 50rem;
}

.flexnail {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}