/*Theme Name: KruemelkisteTheme URI: http://www.webdesign-vreden.deDescription: Das WordPress-Theme mit Menü oben und responsiveVersion: 1.0Author: Jörg AagtenAuthor URI: http://www.webdesign-vreden.de*/



body, nav, ul, li, a  {
	margin: 0px !important; 
	padding: 0;
	}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
	color:#185206;
	font-size:16px;
	background-image: url('images/bg1.jpg');
    background-position: 50%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
	-webkit-animation: bugfix infinite 1s;/*css3 animation*/
	-moz-animation: bugfix infinite 1s;  /*css3 animation*/
	font-size:1em;
	height:100%;
	margin:50px;
	
}

h1,h2,h3,h4,h5,h6 {
	color:#53473f;
	font-weight:bold;
}

ul {
    list-style: none;
    list-style-image: none;
}

a, a:visited {
	color:#000;
	text-decoration:none;
	font-weight:bold;
	}
	
	a:hover {
	text-decoration:none;
	color:red;
	}

.container {
    max-width: 1000px;
    margin: 20px auto;
    background:transparent;
    min-height:500px;
    

}




/*##### Rechte Seite ######*/
#rechteseite {
	width:200px;
	padding:30px;
	height:100%;
	float:right;
	z-index:1000;
	
}

#rechteseite ul{
	list-style-type:none;
}

#inhalt {
	float:left;
	width:65%;
	padding:40px;

	
}

#inhaltrahmen {
	margin:20px auto;
	max-width:1000px;
	background:url('images/inhaltbg.png');
	border-bottom:30px solid #53473f;
}

#inhalt img {
	max-width:100%;
	height:auto;
}

.responsive_img {
	max-width:100%;
	height:auto;
}

footer {
	width:100%;
	min-height:200px;
}

#wdv {
	max-width:960px;
	margin:10px auto;
	font-size:0.7em;
	color:#27348b;
	text-indent:15px;
}

#wdv a, #wdv a:visited {
	color:#53473f;
}



/* Footer widget areas */
#footer-widget-area {
}


#first, #second, #third, #fourth {
	width:20%;
	padding:2%;
	float:left;
	min-height:200px;
	overflow:hidden;
}

#first ul, #second ul, #third ul, #fourth ul {	
		list-style-type:none;
	margin:0px;padding:0px;
}

.xoxo {
	list-style-type:none;
	margin:0px;padding:0px;
	font-size:16px;
}

.widget-title {
margin:0px;
text-align:left;
margin-bottom:-30px;
background:url(images/sidebg.png) no-repeat; 
height:48px;
width:250px;
padding:12px 12px 12px 12px;
color:#53473f;
}


.logo {
	margin-bottom:10px;

}


#map_controls1 {
	margin-bottom:30px;
}





/*####### CSS FÜR KLEINE DISPLAYS, wir machen das Template responsive #####*/





@media screen and (max-width: 900px) {
    .active {
        display: block;
    }
    


    
    .container {
    	margin-top:0px;
    }
    
    #first, #second, #third, #fourth {
	width:46% ;
	padding:2%;
	float:left;
	border-right:none;
}



	    #inhalt {
	float:left;
	width:88%;
	padding:20px 6% 20px 6%;
	border-right:none;
}

#inhaltrahmen {
	border-left:none;
	border-right:none;
	max-width:1000px;
}

#rechteseite {
	width:88%;
	float:left;
	padding:20px 6% 20px 6%;
	text-align:center;
}

.widget-title {
margin:0px auto;
text-align:left;
padding:12px 12px 12px 12px;
}



#social {
	top:50px;
}

.logo {
	position:relative;
	z-index:2000;
	width:100%;
	height:auto;
}

#header img{
	max-width:100% !important;
	height:auto !important;
}



}

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

#info_menu {
	display:none;
}

#info_menu2 {
	display:block;
}

.logo {
	width:100%;
	height:auto;
}

#header img {
	max-width:100%;
	height:auto;

}

}



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

#social {
	display:none;
}


#social2 {
	display:block;
}



#wdv {
	text-align:center;
}


#header img{
	max-width:100% !important;
	height:auto !important;
}

.ezcol-one-third {
	width:100%;
	text-align:center;
}

	    #inhalt {
	float:left;
	width:80%;
	padding:20px 10% 20px 10%;
	border-right:none;
}

}	


/**
 * Galleries
 * ----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

