/* Anpassungen */

#main-nav ul li a {font-size:20px;color: #333;}
span.small {color:#fefefe;}
.numbers, h1, h2, h3, h4, h5, h6 {font-family: 'Catamaran', sans-serif;}
.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small { font-size: 55%; }
h2 {line-height:1em;}
h4 {line-height: 1.2em;}


/* Sticky Header */

#header, #menu-button {
position: sticky;
top: 0;
background: #fff;
}

/* Outline Homepage */

 body {    background-color: #fff; }

.grey-bg.outline {
    background:#f5f5f5;
    color:black;
}


.boxed
{
  color:#333 !important;
}
.overlay
{
  background: unset;
}
.tile-1.outline,.tile-2.outline {
    border-bottom: 1px solid #aaa;
}


.bg-grey.conntected-to-image,.conntected-to-image article  {
  background:#333;
    color:white;
}


.button.orte {
  margin-top:120px;
}
.button.koepfe {
  margin-top:250px;
}
.with-padding.koepfe {
  padding-top:150px;
}

#home h4,.agprjkt.home-kachel-1 h3 {
	font-family: 'Catamaran', sans-serif; font-weight:600; line-height: 1.3; margin-top: 5px; 	
}

.padleft {
  padding-left:30px
}

@media only screen and (max-width: 730px) {

#home_demokr {
  max-height:300px;
}

.button.koepfe {
  margin-top:50px;
}

.category {
    right: 0;
    border-radius: 15px;
    top: 5px;
    padding: 8px 8px 10px;
}

.button {
  font-size: 11px !important;
  line-height: 0.8;
}

.imgcredit-right {
  bottom: 180px !important;
}

}


/* Slider */

.slidercontainer {
  position: absolute; height:70px; margin-top:-80px;z-index:100;
  background:rgba(0, 0, 0, 0.7);min-height:auto;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    border: 1px solid #f77 !important;
    background: #f00 !important;
  }

  div.ui-slider-range.ui-widget-header {
    background: #f00;
}

.white-outline  {
	 background: rgba(255, 255, 255, 0.9);

}


/* Suche */

.form-control {
box-shadow: none;
border-radius: 0;
border-bottom: 1px solid #ccc;
border-left:  0;
border-right: 0;
border-top: 0;
}

.form-group.has-search {
    width: 220px;
    float: right;
    padding-top: 10px;
}

.has-search .form-control {
    padding-left: 2.375rem;
    width:200px;
    float:left;
    margin-top:10px;
}

.has-search .form-control-feedback {
position: absolute;
padding-top: 10px;
z-index: 99;
display: block;
width: 2.375rem;
height: 2.375rem;
line-height: 3.4rem;
text-align: center;
color: #aaa;
right: 180px;
pointer-events:inherit;
}


#gosend{
	cursor: pointer;
}


/* Kacheln */

  .entrymeta {
    margin:5px;
  }
  .tile-2 .with-padding {
    padding: 30px 35px 20px 35px
  }

/* Themenseiten */

.home.white-text .boxed-wrapper p {
    font-size: 1.05em;
    font-weight: 500;
  }

.home.white-text li {
 list-style-type: none;
}


/* Print */

@media print { 
  #header,#container2,.button,.imgcredit-right,.imgcredit-left {
    display:none;
  }
  .element {position:relative;}
  #koetitle {
    margin-top:50px;
  }
  .comment-content {
    width:100%;
  }
  ul {
    list-style: none;
    padding-left: 0;
}

}


/* responsive  */

@media only screen and (max-width: 1100px) {

#main-nav ul {
  padding:0;
}

.fa-search.form-control-feedback {
    margin-top: 33px;
}

.form-group.has-search {
    margin: 10px auto;
    border-top: 1px solid #ccc;
    width: 60%;
    width: 220px;
    margin-bottom: 20px;
    height: 50px;
    float: none;
}

  

.has-search .form-control-feedback {
  right: 70%;
  top: 198px;
}

.has-search .form-control {
    width:220px;
    margin-top:-10px;
}

h2 { font-size:22px; }

footer img {
    margin: 0 auto;
}

.slidercontainer {margin-top:-60px;}


} 

/* Image Credits */

.imgcredit-right {
    position: absolute;
    right: 16px;
    z-index: 100;
}

.imgcredit-left {
    position: absolute;
    bottom: 0;
    left: 16px;
}

.imgcredit-left p, .imgcredit-right p  {
    font-size: 9px;
  }

@media only screen and (min-width: 993px) {

.imgcredit-left p, .imgcredit-right p  {
    font-size: 11px;
  }
.imgcredit-right {
bottom:0px;
}

}


/* totally responsive */

@charset "utf-8";

/*Medium devices (landscape tablets):*/
@media only screen and (max-width: 1100px) {
nav .social-list {
  padding-bottom: 0;
}
.container {
  width: 900px;
}
.tile-5 {
  width: 100%;
}
.boxed-wrapper {
  position: relative;
}
.conntected-to-image {
  margin-top: 10px;
}
#menu-button {
  display:inherit;
  height:1px;
  padding-right: 20px;
  text-align: right;
}
nav {
position: absolute;
width: 100%;
display: block;
z-index: 99;
background: #fff;
top: -110vh;
-webkit-transition: top 0.3s ease-in-out;
-moz-transition: top 0.3s ease-in-out;
-o-transition: top 0.3s ease-in-out;
transition: top 0.3s ease-in-out;
overflow-y: scroll;
border-bottom:  1px solid #ccc;
}
.pushed-left nav {
  top: -25px;
  -webkit-transition: top 0.3s ease-in-out;
  -moz-transition: top 0.3s ease-in-out;
  -o-transition: top 0.3s ease-in-out;
  transition: top 0.3s ease-in-out;
}
#main-nav ul {
  float: none;
  padding: 32px 0px 20px;
  margin: 0;
}
#main-nav ul li {
  float: none;
  padding-left: 20px;
}
#main-nav ul li a {
  padding: 4px 0 5px 0px;
}
#main-nav ul li ul {
  padding: 4px 0 5px;
  position:  relative;
}

#main-nav ul li ul li {
  background-color: #fff;
    z-index: 100;
}


}

/*Small devices (portrait tablets):*/
@media only screen and (max-width: 668px) {
.container {
  width: 100%;
}
.tile-1, .tile-3, .tile-2, .tile-4, .tile-5:not(.lowcontainer) {
  width: -webkit-calc(100% - 20px);
  width:    -moz-calc(100% - 20px);
  width:         calc(100% - 20px);
  min-height: 205px;
  height: auto; 
  position: relative;
}
.slidercontainer {
  width: 100%;
}

.boxed-wrapper {
  width: 100%;
  height: auto;
  position: relative;
}
.image-wrapper {
  min-height: 227px;
}
.grey-bg {
  min-height: 205px;
}
h1, h2 {
  font-size: 20px;
  line-height: 1.3;
}
h4
{
  font-size: 14px;
}

.boxed {
  padding:2px;
}

.padleft {
  padding-left:15px
}

.tile-2 .with-padding, .with-padding.more, .boxed-wrapper {
  padding: 30px 35px 20px 35px !important;
}
article blockquote {
  margin: 19px 0px 80px;
}
ul.comments {
  margin: 0 !important;
}
.comment-content {
  width: 100%;
  float: none;
}
.commenter-avatar {
  padding-bottom: 10px;
  padding-right: 20px;
}
.comment {
  padding-bottom: 15px;
}
article .button {
  margin-top: 17px;
  margin-bottom: 17px;
}
header .social-list li {
  padding: 0 4px;
}
.grey-bg .parent {
  position: relative;
}
.ad .grey-bg .parent {
  position: absolute;
}
.ad {
  height: 510px !important;
}
.child .social-list {
  padding-top: 0px;
  padding-bottom: 8px;
}
.social-list.custom li a i {
  top: 11px;
}
.form-part {
  position: relative;
  margin-bottom: 4px;
    margin-top: -24px;
}

.underlined {
  line-height: 1.6em;
}
}

/* Extra small devices (phones): */
@media only screen and (max-width: 480px) {
    footer p {
        text-align: left !important;
        float: left !important;
        padding-left: 0 !important;
    }
    footer .alignright {
        float: left !important
    }
}



/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0-rainbow.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0; }
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider { position:relative; }
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0; z-index:20;}
.flex-direction-nav a { margin: 0px 0 0; z-index:20; display: block; position: absolute; top: 0; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all 0.2s  ease-in-out 0s; -moz-transition: all 0.2s  ease-in-out 0s; -o-transition: all 0.2s  ease-in-out 0s; transition: all 0.2s  ease-in-out 0s; display:inline-block; width:54px; height:74px;}

.flex-direction-nav .flex-next {background:url(../img/bg-next-white.png) center no-repeat #1e2122; background-size:24px 24px; right: 0px; border: 0; }
.flex-direction-nav .flex-prev {background:url(../img/bg-prev-white.png) center no-repeat #242729; background-size:24px 24px; right: 54px; border: 0; }

.flexslider .flex-next {opacity: 1; }
.flexslider .flex-prev {opacity: 1; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center; display:none !important;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}





.flexslider.testimonials .flex-direction-nav .flex-next, .flexslider.testimonials .flex-direction-nav .flex-prev { display:none;  }



/* only Home, 01.06.22 */


@media only screen and (max-width:  768px) {
    #content { padding-right: 20px; }

    #home .grey-bg {
        min-height: 165px;
        margin: -195px 20px 20px 20px;
        background-color:  #000000aa !important;
        color:white;

    }

    #home .black-text .grey-bg h1, #home .black-text .grey-bg h2, #home .black-text .grey-bg h3, #home .black-text .grey-bg h4, #home .black-text .grey-bg h5, #home .black-text .grey-bg h6, #home .black-text .grey-bg p {
        color: white;
    }

    #home .grey-bg h2, .bottom.boxed h2 {
        text-transform: uppercase;
        font-family: Catamaran;
        font-size: 12.5px !important;
        line-height: 1.76;
        letter-spacing: 0.5px;
        margin: 0;
    }
    #home .grey-bg h3, .grey-bg h4, .bottom.boxed h3,  .bottom.boxed h4 {
        font-size: 22px;
    }

}

#home .element {
  overflow: hidden;
}
#home .tile-1.outline, .tile-2.outline {
    border-bottom: 0px;
}

.home-btn { 
  background-color:#f5f5f5;
  margin: 9px auto;
  width: 240px;
  text-align: center;
}

.home-btn h2 {
  font-size: 16px;
  display:inline-block; 
  padding: 5px 10px;
}


.home-ues h2 {
  text-transform: uppercase;
  font-family: Catamaran;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  margin-bottom: 0;
  margin-top: 40px;
  font-weight: 500;
}

.home-kachel-2 h2 {
  text-transform: uppercase;
  font-family: Catamaran;
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #fff;
}


.home-kachel-2 p {
  font-size: 16px;
  line-height: 1.38;
  letter-spacing: 0.2px;

  }

@media only screen and (min-width:  769px) {
.home-kachel-1 h2 {
  text-transform: uppercase;
  display:inline-block; 
  padding: 6px 12px 5px;
  background-color: #e3e3e3;
  font-family: Catamaran;
  font-size: 12.5px !important;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #333;
  margin-top: 5px;
}
}

.home-kachel-1 h2 {
  font-family: Catamaran;
  font-size: 21px;
  }

#home .bottom.boxed {
  margin:20px; width: -webkit-calc(100% - 40px);width: -moz-calc(100% - 40px); width: calc(100% - 40px);
  padding: 20px 20px 0 20px;
   background-color: #000000CC;
    padding: 20px 20px 0px 20px;
    min-height: 168px;
}