/**** Navigation BEGIN ****/
figure.image,
.image img,
.img-responsive {
  max-width: 100%;
 height: auto;
 width: auto;
}

/* Für IE */
.ce-textpic.ce-right .ce-gallery,
.ce-textpic.ce-left .ce-gallery,
.ce-image.ce-right .ce-gallery,
.ce-image.ce-left .ce-gallery,
.ce-outer, 
.ce-inner,
.ce-row,
.ce-column,
.ce-media{
 max-width: 100%;
}

@media screen and (min-width: 1600px) {
	.container {
		/*max-width: 1664px;*/
		max-width: 1520px;
	}
	.container-small {
		max-width: 835px;
	}
	.container-middle {
		max-width: 970px;
	}

}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
	html {
		font-size: 90%;
	}
	#footer-navigation li, #footer-navigation-contact li {
		margin-right: 20px;
	}
	#favoriten .badge {
		top: -2px;
	}
}

@media screen and (min-width: 992px) {
	.container-small {
		max-width: 835px;
	}
	.container-middle {
		max-width: 970px;
	}

	.display-lg-flex {
	    display: flex;
	}	
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	html {
		font-size: 75%;
	}
	h3, h4 {
		font-size: 20px;
	}
	h5 {
		font-size: 18px;
	}
	.btn {
		font-size: 18px;
	}
	.icon {
		font-size: 18px;
	}
	.number-icon {
		font-size: 1.25rem;
	}
	#footer-navigation li, #footer-navigation-contact li {
		margin-right: 20px;
	}
	#favoriten .badge {
		top: -2px;
		left: 20px;
	}
	
}

@media screen and (min-width: 768px) and (max-width: 992px) {
	html {
		font-size: 60%;
	}
	h2 {
		font-size: 24px;
	}
	h3, h4 {
		font-size: 20px;
	}
	h5 {
		font-size: 18px;
	}
	.btn {
		font-size: 18px;
		min-width: 230px;
	}
	.icon {
		font-size: 18px;
	}
	#header-top-navi a {
		font-size: 14px;
	}
	#mainnav li.mainmenue > a {
		font-size: 14.5px;
	}

	.scroll-to-fixed-fixed #header-top-navi {
		top: 20px;
	}
	.size-32 {
		font-size: 24px;
	}
	.number-icon {
		font-size: 1.25rem;
	}		
	#footer-navigation li a.nav-link, #footer-navigation-contact li a.nav-link {
		font-size: 14px;
	}
	#footer-navigation li, #footer-navigation-contact li {
		margin-right: 10px !important;
	}
	#footer-navigation-contact li:last-child {
		margin-right: 0 !important;
	}
	#favoriten .badge {
		top: -6px;
		left: 18px;
	}
	.tx-msulocations #msulocations-searchform {
		top: 21vw;
	}
	#news-slider .news-list-item .news-image .news-img {
		min-height: 143px;
	}

}

@media screen and (min-width: 768px) {
	#mainnav .dropdown-button {
		display: none;
	}
	#mainnav li.mainmenue > a {
		padding: 0.625rem 0;
	}
}

@media screen and (max-width: 767px) {


 	html {
		font-size: 67%;
	}
	body {
		
	}
	h2 {
		font-size: 24px;
	}
	h3, h4 {
		font-size: 18px;
	}
	h5, h6 {
		font-size: 16px;
	}
	.btn {
		font-size: 16px;
		font-size: 20px;
		max-width: 500px;
		width: 100%;
		hyphens: auto;
	}
	.ce-card .card-body .card-header {
		width: 100%;
	}
	.ce-card .card-body .card-header a {
		font-size: 20px;
		width: 100%;
		padding-right: 15px;
	}
	.ce-card .card-body .card-header a, 
	.ce-card a .card-body .card-header > * {
		font-size: 20px;
	}
	#news-slider .news-list-item .news-image .btn {
		min-width: 185px;
		width: auto;
		font-size: 20px;
	}
	#news-slider .news-list-item .news-image .news-img {
		min-height: 189px;
	}
	
	.icon,
	.news .list-row .news-list-item .news-image .btn .icon,
	#news-slider .news-list-item .news-image .btn .icon,
	a.download .icon {
		font-size: 16px;
		font-size: 20px;
	}
	a.download {
		padding-right: 40px;
	}
	.size-24 {
		font-size: 24px;
		
	}
	.number-icon {
		font-size: 1.25rem;
	}		
	section {
		margin-bottom: 40px;
	}
	section .content.content-type-teaser {
		margin: 5px 0;
	}

	#main-content .container,
	#header .container {
		padding-left: 2rem;
		padding-right: 2rem;
	}


.news .news-list-view .sonderausstellung .offset-1 {
    margin-left: 6.333333%;
}

.news .news-list-view .sonderausstellung .offset-1.col-10 {    
    width: 88.33333333%;
}

	.news .news-list-view.news-list-slider {
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.news.news-list-view #news-slider {
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}
	.news .list-row .news-list-item .news-body h4,
	#news-slider.news-list-item .news-body h4 	{
		font-size: 20px;
	}
	.news .news-list-view .row.news-list-item {
		padding-bottom: 1.5rem;
	}
	.news .news-list-view .row.news-list-item .news-image {
		padding-right: 8px !important;
		margin-bottom: 1rem;
	}
	
	#header {
		height: 70px;
	}
	#navigation {
		top: 0;
		margin: 0;
		padding-top: 12px;
		padding-bottom: 12px;
		padding-right: 1rem;
	}
	#header-top-navi {
		top: 5px;
		right: 25px;
	}
	#logo {
		display: none;
	}
	#logo-short {
		display: block;
		opacity: 1;
	}
	#logo-short img {
		height: 45px;
		width: auto;
	}
	
	#footer {
		line-height: 1;
		height: 235px;
	}
	#footer p {
		margin-bottom: 26px;
	}
	#footer img {
		max-width: 100%;
	}
	#footer .nav {
		text-align: center;
		width: 100%;
	}
	#footer-navigation-contact {
		margin-bottom: 24px;
		margin-top: 26px !important;
	}
	#footer-navigation-contact li {
		margin-right: 0 !important;
	}
	#footer-navigation-contact li:first-child {
		margin-right: 20px !important;
	}
	#footer-navigation-contact .icon {
		font-size: 24px;
	}
	#header-top-navi .icon {
		margin-right: 0;
		font-size: 24px;
	}
	#header-top-navi a {
		margin-right: 30px;
	}
	#main-content {
		padding-bottom: 0;
	}

	.row .overflow-left {
		margin: inherit;
    	max-width: inherit;
    	padding-left: inherit;				
	}

	.row .overflow-right {
		margin: inherit;
    	max-width: inherit;
    	padding-right: inherit;				
	}	

	.row .overflow-right > div {
		width: inherit;
	}
	
	.tx-msulocations #msulocations-searchform form {
		padding-right: 1.25rem;
	}

	
	#request-contact-button {
		display: block !important;
		position: fixed;
		bottom: 30px;
		right: 0px;
		z-index: 500;
	}
	#request-contact-button .btn,
	#favorite-btn	{
		box-shadow: rgba(0, 0, 0, 0.45) 0px 0px 10px;
	}
	#favorite-btn {
		left: 0;
		right: auto;
		bottom: 30px;
		top: auto;
		width: 40px;
		height: 40px;
	}
	#favorite-icon {
		font-size: 20px;
	}
	
	.slick-arrow.icon-ico-arrow-left {
		left: -16px;
	}
	.slick-arrow.icon-ico-arrow-right {
		right: -16px;
	}
	#news-slider .slick-arrow.icon-ico-arrow-left {
		left: -20px;
	}
	#news-slider .slick-arrow.icon-ico-arrow-right {
		right: -20px;
	}
	

}



@media screen and (max-width: 640px) {
	
}

@media screen and (max-width: 480px) {
	.tx-msulocations #msulocations-searchform {
		top: 15px;
	}
	

}



/* IE 10 Hack */
/*
@media screen and (-ms-high-contrast: none) {
.content ul {
   list-style-position:inside;
 }
}
*/
