@font-face {
    font-family: 'geomanistitalic';
    src: url('../fonts/geomanist-black-italic-webfont.eot');
    src: url('../fonts/geomanist-black-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/geomanist-black-italic-webfont.woff2') format('woff2'),
         url('../fonts/geomanist-black-italic-webfont.woff') format('woff'),
         url('../fonts/geomanist-black-italic-webfont.ttf') format('truetype'),
         url('../fonts/geomanist-black-italic-webfont.svg#geomanistitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
  position: relative;
}

#menu-hauptnavi-1,
#menu-hauptnavi-2 {
	display: none;
}

strong {
	font-family: 'Arvo Gruen', sans-serif;
}

.morebutton {
    border-radius: 200em;
    padding: 1em 1.5em;
    color: #46962b;
    cursor: pointer;
}

.morebutton.home {
	position: absolute;
	top: 30px;
	right: 20px;
    padding: 0.5em 1em;
    z-index: 10000;
}

.morebutton.small {
    padding: 0.5em 1em;
    z-index: 10000;
}

.morebutton.small1 {
	background-color: #e6007e;
	color: #fff;
    padding: 0.5em 1em;
    margin: 0 !important;
    border-radius: 200em 0 0 200em;
    border-right: 1px solid #ad025f;
}

.morebutton.small2 {
	background-color: #e6007e;
	color: #fff;	
    margin: 0 !important;
    padding: 0.5em 1em;
    border-radius: 0 200em 200em 0;
    border-left: 1px solid #f756ad;
}

.morebutton.small1:hover,
.morebutton.small2:hover {
	background-color: #00b8ff;
}

div.progwidget {
	width: auto;
	display: inline-block;
	background: #e6e6e6;
	text-align: center;
	border-radius: 20px;
	padding: 0 0 0px 0;
}

div.progwidget strong {
    text-transform: uppercase;
    padding: 10px 0;
    display: inline-block;
    color: #e6007e;
}


.homemodule {
	max-width: 100%;
	color: #fff;
	padding: 2em 20%;
	background-color: #e6007e;
	font-family: 'Arvo Regular';
}

.homemodule h2,
.kwpopup h2 {
	font-family: 'Arvo Gruen', sans-serif;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.3em;
	color: #fff;
}


#homeheader {
	width: 100%;
	min-width: 960px;
	max-width: 1600px;
	height: 80vh;
	padding:0 0 2em 0;
	margin: 0 auto;
	background-image: url('../../lib/images/kw20/haende2.svg');
	background-size: 102%;
	background-position: 50% 30%;
	background-attachment: scroll;
	background-repeat:no-repeat;
	background-color: rgba(0,0,0,0);
	box-shadow: none;
	overflow: hidden;
}


#homeheader h1 {
	width: 100%;
	display: block;
	font-family: 'geomanistitalic', sans-serif;
	text-shadow: none;
	line-height: 0.9em;
	margin: 0px auto;
	padding-top: 50px;
	overflow: hidden;
	transform: rotate(-9deg);
}

#homeheader img {
	width: 240px;
}

#kwintro img {
	max-width: 700px;
	margin-top: -200px;
}

#katrin {
	background-color: #fff;
	padding: 0px 0;
	margin: 0;
	overflow: hidden;
	color: #46962b;
	text-align: left;
}

#katrin h2,
#termine h2,
#content h2,
h2.bigone {
	display: inline-block;
	width: auto;
	color: #46962b;
    font-family: 'geomanistitalic', sans-serif;
    text-transform: uppercase;
    font-size: 2.5em;
	line-height: 1em;
	margin: 0px;
	padding: 0 0 50px 0;
	transform: rotate(-9deg);	
	text-align: left;
}

#termine h2,
#content h2 {	
	text-align: center;
}

#content h2 {	
    display: block;
	text-align: center;
	margin: 40px auto;
}

.half {
	width: 40%;
	padding: 5%;
	height: 100%;
	float: left;
}

.half:first-child {
    text-align: center;
}

.embed-container {
  position: relative; 
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0; 
  overflow: hidden; 
  width: 100%;
  height: auto;
  margin: 140px 0 40px 0;
}

.embed-container iframe {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}






.homemodule.kwthema {
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.20) 100%);
	text-align: left;
	padding: 60px 10%;
	position: relative;
}

.homemodule.kwthema::after { 
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
}

.homemodule.kwthema.even {
	background: linear-gradient(-90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.20) 100%);
}

.homemodule.kwthema > img {
	width: 200px; 
	height: 200px;
	border-radius: 100px;
	border: 4px solid #fff;
	display: block;
	float: left;
	margin: 0 40px;
}

.homemodule.kwthema .stuff {
	width: 50%;
	display: inline;
	float: left;
}

.homemodule.kwthema.even .stuff {
	float: right;
}

.homemodule.kwthema.even > img {
	float: right;
}

.homemodule.kwthema h3 {
	display: inline-block;
	width: auto;
	color: #fff;
    font-family: 'geomanistitalic', sans-serif;
    font-size: 4em;
	line-height: 1em;
	margin: 0 0 20px 0;
	padding: 0 30px 0px 0;	
	text-align: left;
	border-bottom: 4px solid #fff;
}

.homemodule.kwthema.even h3 {
	padding: 0 0 0 30px;	
	text-align: right;
	float: right;
	clear: both;
}

.homemodule.kwthema h2,
.kwpopup h2 {
	display: block;
	font-size: 2em;
	line-height: 1em;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: left;
}

.homemodule.kwthema.even .stuff h2 {	
	text-align: right;
	float: right;
	clear: both;
}

.homemodule.kwthema h2.bigone {
	color: #fff;
	text-align: center !important;
	margin: 0 0px 70px 0px !important;
	font-size: 2.5em;
}

.homemodule.kwthema .morebutton {
    margin: 0 !important;
}

.homemodule.kwthema.even > .stuff >.morebutton {
	float: right;
	clear: both
}





.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 100;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.kwpopup {
	position: absolute;
	z-index: 1;
	top: 150px;
	left: 10%;
	margin: 0px auto;
	padding: 0px;
	background: #fff;
	border-radius: 5px;
	width: 80%;
	min-height: 400px;
	box-sizing:border-box;
	transition: all 0.5s ease-in-out;
	box-shadow: 0 20px 35px 0px rgba(0,0,0,0.8);
}

.kwpopup > img {
	width: 100%;
	max-width: 50%;
	height: 100%;
	display: inline-block;
	float: left;
	border-radius: 5px 0 0 0;
}

.kwpopup .popuptext {
	width: 50%;
	padding: 40px;
	display: inline-block;
	float: left;
	box-sizing: border-box;
}

.kwpopup h2 {
	color: #46962b;
	clear: both;
	float: none;
}

.kwpopup h2:first-child {
	padding-top: 40px;
}

.kwpopup ul {
	color: #46962b;
	margin: 0 0 40px 0;
	clear: both;
	list-style-type: none;
}

.kwpopup ul li {
	padding: 0 0 10px 25px;
	position: relative;
}

.kwpopup ul li:before {
	content: '\2192';
	position: absolute;
	left: 0px;
}

.kwpopup .close {
	font-family: 'Arvo Gruen';
	width: 40px;
	height: 40px;
	text-align: center;
	position: absolute;
	top: 10px;
	right: 10px;
	transition: all 200ms;
	font-size: 30px;
	line-height: 38px;
	font-weight: bold;
	text-decoration: none;
	color: #46962b;
	background: #ffee00;
	border-radius: 50px;
}

.kwpopup .close:hover {
  color: #fff;
  background: #00b8ff;
}


.kwpopup .close.bck {
	top: 10px;
	right: 120px;
}

.kwpopup .close.fwd {
	top: 10px;
	right: 75px;
}



#wahlprog {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}


#wahlprog img {
	margin: 0 10px 10px 0;
}

#wahlprog div.progwidget {
	position: absolute;
	margin-top: 80px;
	border:4px solid #fff;
}





#termine  {
    padding: 60px;
}

#termine ul.events-list {
	display: flex;
	margin: 40px 0;
}

#termine ul.events-list li {
	width: 30%;
	margin: 0 20px;
	text-align: left;
	color: #000;
	border-top: 1px solid #46962b;
}

#termine ul.events-list li span {
	font-family: 'Arvo Gruen';
	font-weight: normal;
}

#termine ul.events-list li span.date {
	display: none;
}

#termine ul.events-list li strong {
	display: none;
}

#termine ul.events-list li p {
	font-family: 'PT Sans', sans-serif;
	font-size: 0.9em;
	margin: 10px 0 0 0;
}

#termine ul.events-list li a.event-detail-link {
	display: inline-block;
	font-family: 'PT Sans', sans-serif;
	font-size: 0.9em;
	margin: 10px 0 0 0;
	background: rgba(255,255,255,0.3);
	border-radius: 100px;
	padding: 0.2em 0.7em;
}

#termine ul.events-list li a.event-detail-link:hover {
	background: rgba(255,255,255,1);
}





#content {
	margin-top: 40px;
}

ul.kandilist {
	width: auto;
	list-style-type: none;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	justify-content: center; 
}

ul.kandilist li {
	list-style-type: none;
	height: 120px;
	width: 30%;
	padding: 0;
	text-align: left;
	margin: 0 10px 30px 0;
	perspective: 1000px;
	cursor: ew-resize;
}

ul.kandilist li.noflip {
  cursor: default;
}

.flip-card-front a {
	display: grid;
	grid-template-columns: 110px auto;
	grid-template-rows: auto 1fr;
}

ul.kandilist li .flip-card-front a img {
	width: 100px;
	height: 100px;
	margin: 0;
	border-radius: 50px;

	grid-column-start: 1;
	grid-column-end: 1;
	grid-row-start: 1;
	grid-row-end: span 2;
}

ul.kandilist li .flip-card-front a div.pthumb {
	width: 100px;
	height: 100px;
	margin: 0;
	border-radius: 50px;

	grid-column-start: 1;
	grid-column-end: 1;
	grid-row-start: 1;
	grid-row-end: span 2;

	background: url('../images/kreuzle.png');
	background-size: cover;
}

ul.kandilist li .flip-card-front a strong {
	color: #46962b;
	font-family: 'geomanistitalic', sans-serif;
	font-size: 2em;
	line-height: 1em;
	text-align: left;
	border-bottom: 3px solid #46962b;		
	margin: 0 0 10px 0;
	padding: 0 20px 0px 0;	

	grid-column-start: 2;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 1;

	justify-self: start;
	align-self: start;
}

ul.kandilist li .flip-card-front a h5 {	
	color: #46962b;
	font-family: 'Arvo Gruen', sans-serif;
	font-size: 1.1em;
	line-height: 1em;
	text-align: left;
	text-transform: uppercase;

	grid-column-start: 2
	grid-column-end: 2;
	grid-row-start: 2;
	grid-row-end: 2;

	justify-self: stretch;
	align-self: start;
}



ul.kandilist li h6 {
	display: block;
	width: auto;
	color: #46962b;
    font-family: 'Arvo Gruen', sans-serif;
    font-size: 1.1em;
	line-height: 1em;
	margin: 20px 0 20px 0;
	padding: 0 0px 0px 0;	
	text-align: center;
	text-transform: uppercase;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
ul.kandilist li:hover .flip-card-inner {
  transform: rotateY(180deg);
}

ul.kandilist li.noflip:hover .flip-card-inner {
  transform: none;
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #fff;
  color: black;
  padding: 10px;
  box-sizing: border-box;
}

/* Style the back side */
.flip-card-back {
  background-color: #ddd;
  border-radius: 60px;
  color: white;
  transform: rotateY(180deg);
  text-align: center;
}

a.smlink {
	width: 35px;
	height: 35px;
	border-radius: 40px;
	display: inline-block;
	padding: 5px;
	font-size: 28px;
	line-height: 36px;
	color: #fff;
}

.flip-card-back a.smlink {
	line-height: 39px;
}

a.smlink.website {
	background: #46962b;
}

a.smlink.facebook {
	background: #4267B2;
}

a.smlink.twitter {
	background: #1DA1F2;
}

a.smlink.instagram {
	background: #9C2CB0;
}

a.smlink:hover {
	-webkit-box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.5);
	box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.5);
}


#kandis80 {
	max-height: 1px;
	opacity: 0;
	overflow: hidden;
	transition: all 1s;
}

#kandis80c:target #kandis80 {
	max-height: 3500px;
	opacity: 1;
}

#kandis80c:target #kandis80but {
	display: none;
}


#kandis80c{
    text-align: center;
}








#homelink2 {
	background-color: transparent;
}


/*
@media only screen and (max-width: 1500px) {
	.kwpopup {
		top: 150px;
		left: 15%;
		margin: 0px auto;
		padding: 60px 40px 40px 20%;
		background: #fff;
		border-radius: 5px;
		width: 70%;
		transition: all 0.5s;
		background-image: url('../images/kw20/thema1.png');
		background-size: 20%;
		background-position: 20px 65px;
		background-repeat: no-repeat;
    }
}
*/


@media only screen and (min-width: 1200px) {
	.homemodule.kwthema {
		padding: 60px 15%;
	}

/*
	.kwpopup {
		left: 20%;
		width: 60%;
		padding: 60px 40px 40px 30%;
    }	
*/ 
}


@media only screen and (max-width: 900px) {
	ul.kandilist li {
		width: 45%;
	}	
}

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

	.morebutton {
		font-size: 13px !important;
	}
	
	#homebutton {
		text-align: center;
	}
	.morebutton.home {
		position: relative;
		top: auto;
		right: auto;
		border-radius: 2em;
		padding: 0.5em 1em;
		margin: 20px auto !important;
		z-index: 0;
	}

	.homemodule {
		max-width: 100%;
		color: #fff;
		padding: 2em 20px;
		background-color: #e6007e;
		font-family: 'Arvo Regular';
	}

	#homeheader {
		width: 100%;
		min-width: auto;
		height: 60vh;
		padding: 0 0 20px 0;
		margin: 0 auto;
		background-position: 50% 60%;
	}

	#homeheader h1 {
		font-size: 3em;
		margin: 0px auto;
		padding-top: 20px;
	}

	#homeheader img {
		width: 160px;
	}


	#kwintro  {
		padding-top: 0px;
	}

	#kwintro img {
		max-width: 300px;
		margin-top: -200px;
		margin-left: 0px;
	}

	.homemodule.kwthema.even > .stuff >.morebutton {
		float: none;
	}	

	#katrin h2,
	#termine h2,
	#content h2 {
		font-size: 2em;
		margin: 0px;
		padding: 0 0 50px 0;
	}

	#content h2 {	
		display: block;
		text-align: center;
		margin: 40px auto;
	}

	.half {
		width: auto;
		padding: 20px;
		height: 100%;
		float: none;
	}

	.half:first-child {
		text-align: center;
	}

	.embed-container {
	  margin: 0px 0 20px 0;
	}

	#katrin strong {
		display: block;
	}

	#spenden .morebutton {
		margin: 5px !important;
	}


	.homemodule.kwthema {
		padding: 60px 20px;
		text-align: center;
	}

	.homemodule.kwthema .stuff,
	.homemodule.kwthema.even .stuff {
		width: auto;
		float: none;
	}

	.homemodule.kwthema img,
	.homemodule.kwthema.even img {
		float: none;
		margin: 0 auto 20px auto;
	}

	.homemodule.kwthema h3,
	.homemodule.kwthema.even h3 {
		margin: 0 0 20px 0;
		padding: 0 10px 0px 10px;	
		text-align: center;
		float: none;
		font-size: 3em;
	}

	.homemodule.kwthema .stuff h2,
	.homemodule.kwthema.even .stuff h2 {
		display: block;
		font-size: 1.5em;
		line-height: 1em;
		margin: 0 0 20px 0;
		padding: 0;	
		text-align: center;
		float: none;
	}

	.homemodule.kwthema.even .morebutton {
		float: none;
	}



	.overlay {
        z-index: 1;
    }
    
	.kwpopup {
		top: 70px;
		left: 0;
		margin: 0px 4%;
		padding: 0px;
		background: #fff;
		border-radius: 5px;
		width: 92%;
        font-size: 0.9em !important;
    }
    
    .kwpopup > img {
    	width: 110px !important; 
    	height: auto !important;
    	margin: 10px !important;
    	border-radius: 0 !important;
    	float: left !important;
    }

    .kwpopup .popuptext {
    	width: 100%;
    	float: none;
    	margin-top: -140px;
    	padding: 30px 10px 20px 10px;
    	text-align: center;
    }
    
    .kwpopup .popuptext h2:first-child {
    	margin: 0 0px 70px 130px !important;
    }

    .kwpopup .popuptext h2 {
    	font-size: 1.35em !important;
    	margin: 50px 0px 20px 0px !important;
    }

    .kwpopup ul {
        text-align: left;
        margin-bottom: 10px;
    }    
    
    .overlay {
    	position: absolute;
    }


	.kwpopup .close.bck {
		top: 10px;
		left: 140px;
	}

	.kwpopup .close.fwd {
		top: 10px;
		left: 185px;
	}


	#termine  {
		padding: 60px 20px 20px 20px;
	}

	#termine ul.events-list {
		display: block;
		margin: 0 0 20px 0;
	}

	#termine ul.events-list li {
		width: 100%;
		margin: 0 0px;
		border-top: 0px solid #46962b;
	}

    #content article {
    	margin: 0;
    }


	ul.kandilist li {
		width: 100%;
		margin: 0 0px 20px 0;
	}	


	#kandis80c:target #kandis80 {
	    max-height: 10000px;
    }


	#wahlprog img {
		margin: 0 0px -40px 0;
	}

	#wahlprog div.progwidget {
		position: relative;
		margin-top: 0;
		border:4px solid #fff;
	}
	
}