/* MEDIA QUERIES */

@media (max-width: 980px) {

	body {
		padding: 0 1em;
	}

	.not_on_mobile {
		display: none;
	}

	.mobile_only {
		display: block
	}

	.logo {
		display: none;
	}

	#hauptnavigation {
		display: none;
	}

	#wpadminbar {
		display: none!important;
		bottom: 0!important;
	}

	#wprmenu_bar {
		background-color: white!important;
		/*background-image: url("https://www.jacobystuart.de/wp-content/themes/jacobystuart/images/rahmen/logo.gif")!important;
		background-repeat: no-repeat!important;
		background-size: 200px auto!important;
		background-position: center!important;*/
	}

	#wprmenu_bar .bar_logo {
		height: 20px!important;
	}

	#wprmenu_bar .menu_title {
		/*display: none;*/
		text-align: center;
		content: "";

	}

	.wprmenu_bar .hamburger-inner, .wprmenu_bar .hamburger-inner::before, .wprmenu_bar .hamburger-inner::after {
		background-color: #c00418!important;
	}

	html body div.wprm-overlay {
		background-color: #fff!important;
		opacity: 0.75;
	}


	#kopf {
		height: auto;
		padding: 1em 0;
	}

	#kopf fieldset.volltextsuche {
		float: none;
	}

	#rahmen {
		background-image: none;
	}

	#bauch,
	#inhalt {
		width: 100%!important;
	}

	#inhalt iframe {
		width: 100%;
	}

	#infobereich-mitte {
		width:  100%;
		margin-top: 2em;
	}

	#infobereich-mitte .wp-post-image {
		display: block;
		clear: both;
	}

	.anythingSlider {
		width: 100%!important;
		margin-bottom: 2em;
	}

	/*#inhalt .panel {
		width: 50%!important;
	}*/

	#infobereich-rechts {
		width: 100%;
		margin: 2em 0 0 0;
		padding-top: 1em;
		border-top: 1px solid #c00418;
	}

	#fuss {
		width: 100%;
		padding: 4em 0 1em 0;
	}

	#fuss ul {
		width: 100%;
	}

	.feedback {
		width: 100%;
	}

	#commentform label {
		width: 100%;
	}

	#commentform input#submit {
		float: none;
		margin-left: 0;
	}

	#commentform p {
		clear: both;
	}

	.auflistung .kategorie {
		height: 215px!important;
		margin: 0;
		padding: 10px 2.5%;
	}

	.auflistung h1 {
		/*float: none!important;*/
		display: block!important;
	}

	/*.auflistung .kategorie img {
		width: 100%;
	}*/

	/*.kein_bild {
		width: 100%;
		padding: 65px 0 0 0;
	}*/

	.auflistung .kategorie:nth-child(2) {
		clear:  both;
	}

	.auflistung .auflistung_box {
		width: 100%!important;
	}

	.auflistung .auflistung_box .artikelbild {
		float: left;
	}

	.auflistung .auflistung_box p {
		width: auto;
		float: none;
	}

	.page-numbers {
		margin: 0;
	}

	.page-numbers li a,
	.page-numbers li span {
		padding: 0.5em 1em;
		background-color: #fafafa;
	}

	.alignright,
	.alignleft {
		float: none;
		margin: 1em 0;
	}

}

/* Tablet spezifisch */

/*@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 812px) 
and (-webkit-min-device-pixel-ratio: 3) {

	.auflistung .kategorie {
		width: 30%;
		padding: 10px 1%;
	}	

}

/* Smartphone spezifisch */

@media only screen 
and (max-device-width: 390px) {

	#inhalt .slideshow {
		height: auto;
		max-height: 450px!important;
	}

	.anythingSlider .panel h2,
	.anythingSlider .panel p,
	.anythingSlider .panel blockquote,
	.anythingSlider .panel small {
		margin: 1em 0.5em 0.5em 1em!important;
	}

	.anythingSlider .panel .artikelbild {
		width: 33%!important;
		height: auto!important;
		margin: 1em 1em 0 1em!important;
	}

	.anythingSlider .panel .artikelbild img {
		width: 100%!important;
		height: auto!important;
	}

}