/* MEDIA QUERIES */
@media only screen and (min-width : 1024px) {
	.item_box_item:nth-child(odd){
    	margin-right:4%;
	}
	
	body {
		padding: 101px 0 0 0;
	}
}
@media only screen and (max-width : 1350px) {
/*	#content .item_box_item .start_box_text{
		display:none;
	}*/
}
@media only screen and (max-width : 1200px) {
	#head .nav-menu{
		background-color:#3a3939;
		position:absolute;
		top:37px;
		left:-100%;
		box-shadow: 1px 1px 20px rgba(0,0,0,0.8);
	}
	#head .nav-menu li{
	    float:none;
	    clear:both;
	    border-bottom:1px solid #525252;
	}
	#head .nav-menu li a{
		position:relative;
	    float:none;
	    clear:both;
	    display:block;
	    height:auto;
	    font-size:16px;
	    padding:18px 0 18px 20px;
	    margin:0;
	    font-weight:normal;
	}
	#mobile_menu{
		position:absolute;
		top:9px;
		left:5%;
		display:block;
		background:url(../img/mobile-menu.png);
		cursor:pointer;
	    width: 24px;
	    height: 22px;
	    background-repeat: no-repeat;
    	background-size: cover;
	}
	
	/* !ANPASSUNGEN viermalvier */
	
	#head .nav-menu {
		box-shadow:none !important;
		top:69px !important;
	}
	
	div[id^=attachment_] {
    	width: 100% !important;
	}

	div[id^=attachment_] img {
 	   width: 100% !important;
 	   height: auto;
	}
}
@media only screen and (max-width : 1023px) {
	.entry-header.entry-header-page {
	    left: 50px;
    	right: 50px;
	}

	#topimg img{
	    width:auto;
	    height:420px;
	    margin-left:-50%;
	}
	.entry-header{
	    width:90%;
	}

	#primary{
	    width:100%;
	    padding:0;
	    float:left;
	}
	#sidebar{
	    width:100%;
	}
	.item_box_item{
	    width:100%;
	}
	#content .wp-paginate{
		overflow:hidden;
		display: inline-block;
	}
	.wp-paginate li{
		float:left;
		margin-bottom:10px;
	}
	.wp-paginate li a{
		float:left;
	}
	#content img{
		max-width:100%;
	}
	
	
	#content .wp-paginate .current {
		float: left;
	}
	.navigation {
		text-align: center;
	}
	#head {
		border-top: none;
	}
	#logo {
		height: 50px;
		width: 105px;
		right: 2%;
	}
	#mobile_menu {
		top: 24px;
		left: 2%;
	}
	#content #commentform input, #content #commentform textarea {
		width: calc(100% - 10px);
	}
	#content #commentform .comment-form-cookies-consent {
		width: calc(12px + 100%);
	}
	
}
@media only screen and (max-width : 750px) {
	#footer .widget{
	    float:left;
	    border:0;
	    border-top:1px solid #E5E5E5;
	    padding:30px 0 0 0;
	    margin-bottom:30px;
	    width:100%;
	}
	.item_box_img{
	    display:none;
	}
	#content .item_box_item_first h6{
	    background-position:0 100%;
	}
}
@media only screen and (max-width : 500px) {
	#comments li{
	    padding:0;
	}
}
@media only screen and (max-width : 440px) {
	.entry-header-logo{
		width:100%;
		background-size:100%;
		background-repeat:no-repeat;
		background-position: left 80%;
	}
}