@media (max-width: 1024px) {
    div.container, nav ul, div.suchBox, article, div.footerContainer {
        max-width: 980px;
    }

    div.artikelBlockFormat {
        width: 27%;
        margin: 3%;
    }

    .ajaxsearch_input, .ajaxsearch_container {
        width: 85%;
    }
    
}



@media (max-width: 768px) {
    div.container, nav ul, div.suchBox, article, div.footerContainer, .copy {
        max-width: 740px;
        padding: 10px;
    }

    div.artikelBlockFormat {
        width: 40%;
        margin: 4%;
    }

    .ajaxsearch_input, .ajaxsearch_container {
        width: 85%;        
    }

    section.artikelListFormat {
        float: none;
        width: 94%;
    }

    section.artikelListFormatLarge {
        float: none;
        width: 94%;
    }

    div.bildBox span a img {
        width: 60%;
    }

    div.newsBox img {
        width: 40%;
    }
    
    div.artikelDetailBildBox span.mehrBilderBox a.group img {
        width: 80%;
    }

    section.artikelDetailBox div.artikelDetailBildBox span a img {
        width: 40%;
        height: auto;
    }

    ul.artikelTabelle li {
        display: block;
    }

    article ul li div.loginFormatBoxen {
        min-height: 10px;
    }

    p {
        text-align: justify;
        line-height: 17px;
    }

    ul.artikelTabelle li.FuenfzigProzent {
        width: 95%;
    }

    fieldset.content div label {
        width: 35%
    }

    fieldset.content div input, fieldset.content div select {
        width: 55%;
    }
    
    fieldset.content {
        width: 97%;
    }

    div.secondaryContent {
        width: 100%;
        padding-right: 0;
        float: none;
        margin-left: 0;
        clear: both;
    }

    div.mainContent {
        width: 100%;
        float: none;
        padding-left: 0;
    }

    ol.steps > li {
        float: none;
        clear: both;
    }

    ol.steps li {
        margin-left: 0;
        text-align: center;
        border-bottom: 1px solid #969696;
    }

    header div div.sprachBox {
        display: none;
    }

    nav {
        position: relative;
    }
    
    div.sprachBoxResp {
        display: block;
        position: absolute;
        right: 10px;
        z-index: 10;
        top: 10px;
    }

    div.sprachBoxResp a img {
        width: 100%;
        height: auto;
    }

    div.sprachBoxResp a {
        padding: 5px;
        float: left;
        display: block;
    }
	
	/* ************************** Landingpage ************************ */
	section.oneCell {
		padding: 8px;    
		line-height: 20px;
		margin: 3px;
		margin-bottom:20px;
		border-radius: 2px;	
		font-size:100%;
		width:95%;
	}

	.oneCell h1 {
		font-size: 130%;
	}


	#landing li {		
		width:45%;
		margin-left:3px;
		margin-right:3px;
		margin-bottom:20px;
	}
	#landing h1 {
		font-size: 15px; 
		padding:5px;
	}

	#landing p {
		padding:5px;
		font-size:13px;
	}

	/* ************************** Artikel ************************ */
	section.artikelListFormatLarge {
		width: 95%;
		margin-bottom:15px;
	}

	section.artikelListFormat {
		width: 95%;
		margin-bottom:15px;
	}

	div.bildBox {
		margin-top:5px;		
		width: 49%;
		float:left;		
	}

	div.artikelListContentFormat {
		padding: 5px;
		position: relative;
		float:right;	/* was right */
		width: 40%;		/* 57% */
	}
}

@media (max-width: 480px) {
    div.container, nav ul, article, div.footerContainer {
        max-width: 470px;
    }
    
    article {
        margin: 3px;
    }
    
    header img {
        width: 30%;
        height: auto;
    }

    div.artikelBlockFormat {
        width: 45%;
        margin: 2%;
    }

    .ajaxsearch_input, .ajaxsearch_container {
        width: 75%;
    }
    
    div.suchBox {
        width: 60%;
    }

    footer div nav.navigationFooterBox, footer div div.navigationFooterBox {
        width: 50%;
    }

   
    div.bildBox {
        float: none;
        width: 100%;
    }

    div.bildBox span a img {
        width: 60%;
    }

    section.artikelDetailBox div.artikelDetailBildBox span a img {
        width: 50%;
        height: auto;
    }

    ul.artikelTabelle li {
        display: block;
    }

    article ul li div.loginFormatBoxen {
        min-height: 10px;
    }
    
    div.artikelListContentFormat {
        width: 98%;
        float: none;
        text-align: center;
    }

    div.artikelListContentFormat p {
        display: none;
    }

    div.artikelListContentFormat strong, div.artikelListContentFormat small {
        text-align: center;
    }

    div.submitButton {
        float: none;
    }

	/* ************************** Landingpage ************************ */
	section.oneCell {
		padding: 3px;    
		line-height: 20px;
		margin: 3px;
		margin-bottom:20px;
		border-radius: 2px;	
		font-size:100%;
		width:95%;
	}

	.oneCell h1 {
		font-size: 130%;
	}


	#landing li {		
		width:95%;
		margin-left:3px;
		margin-right:3px;
		margin-bottom:20px;
	}
	#landing h1 {
		font-size: 15px; 
		padding:2px;
	}

	#landing p {
		padding:2px;
		font-size:13px;
	}
	
	/* ************************** Artikel ************************ */
	section.artikelListFormatLarge {
		width: 95%;
		margin-bottom:15px;
	}

	section.artikelListFormat {
		width: 95%;
		height: 290px;
		margin-bottom:15px;
	}

	div.bildBox {
		margin-top:5px;	
		height: 120px;  
	}
    
}




/* ************ Responsive Navigation *************** */


.toggleMenu {
    display:  none;
    background: #ddd;
    padding: 15px 15px;
    color: #fff;
}

.nav {
    list-style: none;
    /*    *zoom: 1; */

	/*
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
	*/
}
.nav:before, .nav:after {
    content: " ";
    display: table;
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 9em;
}
.nav a {
    padding: 15px 15px;
    color: #FFF; /* #6d6d6d */
}
.nav li {
    position: relative;
}
.nav > li {
    float: left; 
    border-left: 1px solid #595959;
    border-right: 1px solid #595959;   
}
.nav > li > a {
    display: block;
}

.nav > li:hover {
    background-color:#595959; /* #ddd; */
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
}

.nav li  ul {
    position: absolute;
    left: -9999px;
}
.nav > li.hover > ul {
    left: 0;
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    background: #ddd;
    position: relative;
    z-index:110;
    border-top: 1px solid #ffffff;
    min-width: 200px;
    color: #8a8a8a;
}

.nav li li a:hover {
    background: #efefef;
    color: #232323;
}

.nav li li li a {
    background:#dcdcdc;
    z-index:200;
    border-top: 1px solid #ffffff;
}

@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
        border-left: 0px;
        border-right: 0px;
    }
    .nav > li:hover {
        border-left: 0px;
        border-right: 0px;
    }

    .nav > li > .parent {
        background-position: 95% 50%;
    }
    .nav li li .parent {
        /* background-image: url("../images/downArrow.png"); 
        background-repeat: no-repeat;
        background-position: 95% 50%; */
    }

    .nav ul {
        display: block;
        width: 100%;
    }
    .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }

}