/* 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: rgb(66, 90, 115);
    	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(0,55,100); */
    	padding: 3px 0;
    }
    
    #breadcrumbs li a, #breadcrumbs li.active {
    	color: rgb(0,55,100);
	}
	
	#breadcrumbs li.first a {
    	padding-left:0;
	}

	#breadcrumbs li a:hover {
		background-color: rgb(0,55,100);
		color: rgb(251,252,173);
	}
	
}

/* 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;
		margin-left: auto;
		margin-right: auto;
	}	
}


/* Tablet und Desktop ab 768px */

@media screen and (min-width:768px) {
	
	body,
	#footer,
	#KontrastSwitch-und-MobileBurger {
	/*	background-color: rgb(0,55,100); */
	}
	
	#KontrastSwitch-und-MobileBurger {
    	position: relative;
    	text-align: right;
	}
	
	#logobox {
        width: 20%;
        margin: 0px;
        float: left;
    }
    
    #logo {
    	width: 260px;
    }

    .logo_container {
        margin: 25% 10px 10px 10px;
        line-height: 1;
    }

    .mod_pageimage {
        width: 80%;
        /* max-width: 1076px */;
        margin: 0;
        display: block;
        float: left;
    }
    
    .mod_pageimage figure {
        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); */
		margin-left: 16px;
  		margin-right: 16px;
		line-height: 1.7rem;
	}
	
	#KontrastSwitch-und-MobileBurger,
	#KontrastSwitch-und-MobileBurger a,
	#footer a {
		color: rgb(66, 90, 115);
	}
	
	
	/* 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;
	}
	
	
	
	.boxrechts {
    	float: right;
    	width: 40%;
    	margin-left: 2%;
	}
	
	.spezialcontainer {
		clear:both;
		margin-bottom: 40px;
	}
	
	
		/* Nachrichtenliste */
	
	.layout_latest figure {
		float: left;
		margin-right: 16px;
	}

	#main .mod_newslist .layout_latest h2 {
		margin-top: 0;
	}

	#main .mod_newslist .layout_latest .more {
    position: absolute;
		top: 181px;
	}


	@media screen and (min-width: 1000px) and (max-width: 1127px) {	

		#main .mod_newslist .layout_latest figure {
    		width: 150px;
		}

		#main .mod_newslist .layout_latest figure img {
    		height: 150px;
		}

		#main .mod_newslist .layout_latest .more {
			top: 151px !important;
		}

		#main .mod_newslist .layout_latest .more a {
			width: 150px !important;
		}
	
	}
	
}