/* Anpassungen */

#main-nav ul li a {font-size:20px;color: #000;}
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.4em;}


/* Sticky Header */

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

/* Outline Homepage */

 body {    background-color: #fff; }

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


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


.bg-grey.conntected-to-image,.conntected-to-image article  {
  background:#000;
}


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

#home h4 { font-family: 'Alegreya Sans', sans-serif; font-weight:500; }

.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;
}

}


/* 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: 15px 15px 25px 15px;
  }
  .red::after { 
	  color: #666;
  }


/* 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: 170px;
}

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

h2 { font-size:22px; }
h4 { font-size:14px; }

footer img {
    margin: 0 auto;
}

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


} 

/* Image Credits 
https://www.demokratie-geschichte.de/karte/8051
*/

.imgcredit-right {
    position: absolute;
    right: 0;
    z-index: 100;
    width: fit-content;
}

.imgcredit-left  {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    padding: 7px;
    width: fit-content;
}

.imgcredit-left a, .imgcredit-right a  {
  color:#fff !important;
  }

.imgcredit-left p, .imgcredit-right p  {
    font-size: 9px;
    margin:0 !important;
    color:#fff !important;
  }

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

.imgcredit-left p, .imgcredit-right p  {
    font-size: 11px;
  }
.imgcredit-right {
bottom:0px;
background: rgba(0,0,0,.5);
padding: 5px 10px 0 10px;
}


}


/* 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: -20px;
}


.imgcredit-right {
  bottom: 80px !important;
  background-color: #33333396;
}


#menu-button {
  display:inherit;
  height:1px;
  padding-right: 20px;
  text-align: right;
}
nav {
position: absolute;
width: 100%;
display: block;
z-index: 1110;
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;
opacity: 1;
border-bottom:  0 solid #ccc;
box-shadow: 0px 12px 12px -3px rgba(0,0,0,0.4);
-webkit-box-shadow: 0px 12px 12px -3px rgba(0,0,0,0.4);
-moz-box-shadow: 0px 12px 12px -3px rgba(0,0,0,0.4);	
}
.pushed-left nav {
  top: -34px;
  -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;
}


}

/*Small devices (portrait tablets):*/
@media only screen and (max-width: 668px) {
.container {
  width: 100%;
}
.no-mobile {display:none !important;}
.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;
}
.tile-5 h1 {
  font-size: 30px;
}

{
  font-size: 14px;
}
	
.outline h4, .grey-bg h4 {
  font-size: 20px;
}


.boxed {
  padding:2px;
}

.padleft {
  padding-left:15px
}

.tile-2 .with-padding, .with-padding.more, .boxed-wrapper {
  padding: 30px 20px 20px 20px !important;
  /* background: #000; */
}
	.tile-5 .boxed-wrapper {
  padding-bottom: 0px !important;
}
  

	.tile-1 .with-padding {
	  background: transparent;	
	}
	
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: center !important;
  float: none !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;  }

 @media only screen and (max-width: 668px) {
.single-page.contact .tile-2 .with-padding, .single-page.contact .with-padding.more, .single-page.contact .boxed-wrapper {
    padding: 30px 20px 20px 20px !important;
    background: #000; 
}
}
