/* Nur Tablet bis 1279px */

@media screen and (min-width:768px) and (max-width:1279px) {
	
	#mobilemenu-button {
		float:right;
	}
	
	#mobilemenu-button button, #mobilemenu-button button:active {
    	background-color: transparent;
    	color: #ffffff;
    	margin: 4px 0;
	}
	
	#mobilemenu-button .fa-bars {
    	font-size: 2rem;
	}
	
	#mobilemenu-buttontext {
		margin-left: 4px;
    	font-size: 1.0625rem;
	}
	
	#container {
		padding-left: 0;
		padding-right: 258px;
	}
	
	#right {
		width: 258px;
	}
	
	#main .inside {
    	margin: 0 20px;
	}
	
	#breadcrumbs {
    	background-color: rgb(111, 123, 144);
    	padding: 3px 0;
    }
    
    #breadcrumbs li a, #breadcrumbs li.active {
    	color: rgb(255,255,255);
	}
	
	#breadcrumbs li.first a {
    	padding-left:0;
	}

	#breadcrumbs li a:hover {
		background-color: rgb(0,55,100);
		color: rgb(251,252,173);
	}
	
	#footer-1,
	#footer-2,
	#footer-3 {
		float: left;
		width: 50%;
		margin-top: 24px;
	}

	#footer-4 {
		float: left;
		width: 15%;
		margin-top: 24px;
	}

	#footer-5 {
		float: left;
		width: 35%;
		margin-top: 16px;
	}
	
	#agenturlink {
		margin-top: 80px;
		text-align: right;
	}
	
}

/* Für schmales Display rechte Spalte kleiner */

@media screen and (min-width:768px) and (max-width:950px) {
	
	#container {
		padding-right: 218px;
	}
	
	#right {
		width: 218px;
	}
	
}

/* Tablet und Desktop bis 1663px */

@media screen and (min-width:768px) and (max-width:1663px) {
	
	#wrapper {
		margin: 0 16px 16px 16px;
	}	
}


/* Tablet und Desktop ab 768px */

@media screen and (min-width:768px) {
	
	body,
	#footer,
	#KontrastSwitch-und-MobileBurger {
		background-color: rgb(111, 123, 144); 
	}
	
	#KontrastSwitch-und-MobileBurger {
    	position: relative;
    	text-align: right;
	}
	
	#logobox {
        width: 20%;
        /* max-width: 420px; */
        margin: 0;
        float: left;
    }
    

    .logo_container {
        margin: 12% 10px 10px 10px;
        line-height: 1.2;
        font-weight: lighter;
        text-align: center;
        
    }

    .mod_pageimage {
        width: 80%;
        /* max-width: 1076px */;
        margin: 0;
        display: block;
        float: left;
    }
    
    .mod_pageimage .image_container {
        margin: 10px 10px 10px 0;
        line-height: 0;
    }

    #logo, .mod_pageimage img {
        max-width: 100%;
        max-height: 100%;
        /* margin: 10px; */
    }
	
	.ohne_rechte_Spalte #container,
	.ohne_linke_und_rechte_Spalte #container {
		padding-right: 0;
	}
	
	.ohne_linke_Spalte #container,
	.ohne_linke_und_rechte_Spalte #container {
		padding-left: 0;
		background: transparent;
	}
    
    #right .inside {
    	margin: 24px 0 0 0;
    	border-left: solid 1px #6b8da9;
		padding: 0 16px 0 16px;
	}
	
	#right .first h1:first-child {
		margin-top: 0;
	}

	#footer {
		color: rgb(255,255,255);
	}
	
	#KontrastSwitch-und-MobileBurger,
	#KontrastSwitch-und-MobileBurger a,
	#footer a {
		color: #ffffff;
	}
	
	/* Content Elemente */
	
	#main .bild50.media--left figure,
	#main .bild50.media--right figure {
		width: 50%;
	}
	
	#main .bild40.media--left figure,
	#main .bild40.media--right figure {
		width: 40%;
	}
	
	#main .bild30.media--left figure,
	#main .bild30.media--right figure {
		width: 30%;
	}
	
	#main .bild20.media--left figure,
	#main .bild20.media--right figure {
		width: 20%;
	}

	#main .media--left figure {
		margin-right: 16px;
	}

	#main .media--right figure {
		margin-left: 16px;
	}


	#main .bild50.media--left figure img,
	#main .bild50.media--right figure img,
	#main .bild40.media--left figure img,
	#main .bild40.media--right figure img, 
	#main .bild30.media--left figure img,
	#main .bild30.media--right figure img, 
	#main .bild20.media--left figure img,
	#main .bild20.media--right figure img {
		width: 100%;
		height: auto;
	}
	
}