@media (min-width: 1201px) and (max-width: 1370px) {
	.primary ul li { padding-right: 1.5em; }
}
@media (min-width: 990px) and (max-width: 1200px) {
	.nr-navigation__shareprice--presence { padding-top: 0px !important; }
	#logo { left: 20px !important; }
	.navbar-dark .navbar-toggler { margin-right: 20px !important; }
	.frontsliderh2 { margin-left: 30px !important; }
	.frontsubline { margin-left: 30px !important; }
	#beratungButton { margin-left: 20px !important; font-size: 20px !important; padding-bottom: 20px !important; height: 56px !important; }
	#lupe { position: absolute; top: 20px !important; }
	#logo { top: 30px !important; }
	#searchline { position: absolute; margin-top: -38px; }
	#searchinput input { position: absolute;  top: -36px;  right: -60px; }
	#menu { margin-left: 0em !important; top: 121px; }
	#menu2 { position: absolute; top: 80px !important; right: 20px; z-index: 999; }
	.primary { left: unset !important;  display: block; width: auto !important; float: right; right: 0px; }
	/*#header { overflow: hidden !important; }*/
}
@media (max-width: 990px) {
	.navbar-dark .navbar-toggler-icon {
		background-image: url('/wp-content/themes/sks/images/ksburger.svg') !important;
	}
	.bg-primary { background-color: transparent !important; }
	#mobilemenu { display: block !important; }
	.offcanvas-header{ display:none; }
	.offcanvas-header{ display:block; }
	.navbar-collapse {
	position: fixed;
	top:0; 
	bottom: 0;
	left: 100%;
	width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
	overflow-y: auto;
	visibility: hidden;
	background-color: #e3f2f0;
	transition: visibility .2s ease-in-out, -webkit-transform .2s ease-in-out;
	}
	.navbar-collapse.show {
	visibility: visible;
	transform: translateX(-100%);
	}
	.nr-navigation__shareprice--presence { padding-top: 0px !important; margin-top: 20px; }
	#searchinput { display: none; }
	#logo { left: 20px !important; }
	#logo img { width: 180px !important; }
	#menu { display: none !important; }
	#menu2 { display: none !important; }
	#cart { display: none !important; }
	#lupe { display: none !important; }
	#searchline { display: none !important; }
	.frontsliderh2 { font-size: 28px !important; margin-top: 20px !important; padding-left: 20px; margin-bottom: 0px !important; width: calc(100% - 40px) !important; }
	.frontsubline { font-size: 19px !important; padding-left: 20px; margin-bottom: 20px !important; width: calc(100% - 40px) !important; }
	#header { height: 100vh !important; }
	#themenfinder { font-size: 20px !important; padding-top: 0.5em !important; padding-bottom: 0.5em !important; }	
	.col-2 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-3 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-4 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-5 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-6 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-8 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-9 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.col-10 { -webkit-box-flex: 0; -ms-flex: 100%; flex: 100% !important; max-width: 100%; width: 100% !important; }
	.offeritem .angebotcta { margin-bottom: 20px !important; }
	.beratung2colimg { max-width: 100% !important; height: auto; }
	#containerfooter { margin-bottom: 0px; }
	#copyright-nav-footer { line-height: 30px !important; display: unset !important; }
	#copyright-nav-footer .menu-item { display: inline-block; }
	#footer .copyright li { display: inline-block; width: unset; max-width: unset; }
	#footer .footer-nav { padding: 0; }
	#footer .copyright .col { font-size: 20px; }
	#footer .copyright li { margin-top: 5px !important; }
	.nr-navigation__controller, .nr-navigation__controller--subpage {
		transform: 0px !important;
	}
	.nr-navigation__list-wrapper { -ms-overflow-style: unset !important; scrollbar-width: unset !important; overflow: unset !important; }
	.nr-navigation__controller, .nr-navigation__controller--subpage { transform: none !important; }
	.navbar-collapse.show {
		visibility: visible;
		transform: translateX(-100%);
		z-index: 9999;
		padding-top: 10px;
	}
	.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link { color: #000; }
	.dropdown-menu { background-color: #e3f2f0; border: 0px !important; color: #D90915 !important; padding: 0rem 0; margin: 0 0; }
	.dropdown-menu a { color: #D90915 !important; display: block; padding: .5rem 1rem; }
	.dropdown-menu .nav-item { border-top: 1px solid #D90915; }
	.navbar-nav:last-child { border-bottom: 1px solid #D90915; }
	#mobilemenu { margin-top: 15px !important; }
	.navbar-dark .navbar-toggler { margin-top: 10px; }
	.btn-outline-danger { color: transparent; background-color: transparent; background-image: none; border-color: transparent; padding: 0px; margin-right: 15px; }
	.navbar-toggler { font-size: 1.9rem; }
	#header .container-fluid { margin-top: 60px !important; }
	#header .container-fluid .row { margin-top: 0px !important; }
	#header { height: 425px !important; }
	.navbar-dark .navbar-nav .nav-link { color: #000; border-top: 1px solid #D90915; font-size: 22.4px !important; font-family: 'Lora', sans !important; font-weight: bold !important; }
	.navbar-dark .navbar-nav .nav-link:active { color: #D90915 !important; }
	.nr-navigation--presence .nr-navigation-component { height: auto; }	
	.dropdown-menu a { font-size: 20px !important;  color: #000 !important; font-family: 'Open Sans', sans-serif;  font-weight: 600 !important; }
	.h3ratgeber1 { margin-left: 20px; font-size: 33px !important; width: calc(100% - 30px) !important; }
	.h3ratgeber2 { margin-left: 20px; font-size: 19px !important; font-weight: 600 !important; line-height: 29px !important; width: calc(100% - 30px) !important; margin-top: 10px; }

	/* themenfinder mobile */
	.nr-navigation--presence .nr-navigation-component {
		display: none;
		position: absolute !important;
		height: 100vh !important;
		top: 155px !important;
		z-index: 99999 !important;
		left: 0px !important;
		width: 100% !important;
	}
	
	main img { max-width: 100% !important; }
	#articles p { width: 100% !important; max-width: 100% !important; }
	h1 { font-size: 32px !important; }
	#article h1 { font-size: 32px !important; }
	#articles h1 { font-size: 32px !important; }
	.h2weitere { margin-bottom: 30px !important; font-size: 24px !important; line-height: 33px !important; }
	.relatedImage { margin-top: 15px !important; }
}
@media (min-width: 768px) and (max-width: 993px) {
	.frontsliderh2 { font-size: 37px !important; margin-top: 20px !important; padding-left: 20px; margin-bottom: 0px !important; }
	.frontsubline { font-size: 28px !important; padding-left: 20px; margin-bottom: 30px !important; width: 100%; }
	#beratungButton { margin-left: 20px !important; font-size: 20px !important; padding-bottom: 14px !important; }
}
@media (max-width: 990px) {
	#themenfinder { padding: 5%; }
	#beratungButton { width: calc(100% - 40px) !important; text-align: center; margin-top: 8px !important; }
	#footer #designedby { margin-left: 15px; margin-top: 20px; margin-bottom: 10px !important; width: 100% !important; }
	.angebotcta { margin-bottom: 2.5em; width: 100% !important; max-width: 100% !important; }
	#content1 { padding-bottom: 0em !important; }
	#content2 { padding-bottom: 0em !important; }
	#header { height: 470px !important; }
	#themenfinder { margin: 0px !important; }
	#beratungButton { margin-left: 20px !important; font-size: 10px !important; padding-bottom: 14px !important; font-size: 22px !important; }
	#themenfinder { display: none !important; }
	.navbar-dark .navbar-nav .nav-link:focus { color: color: #D90915 !important; outline: none !important; }
	.navbar-dark .navbar-nav .nav-link:hover { color: color: #D90915 !important; outline: none !important; }
}
@media (min-width: 1024px) {
	/*#headerrow { margin-top: -20px !important; }*/
}
@media (min-width: 991px) and (max-width: 1200px) {
	#searchinput { top: 3.5em !important; right: 0px !important; }
	#searchinput input { position: absolute !important; top: -30px !important; right: 35px !important; width: 390px !important; }
	#searchline { top: 6.5em !important; right: 35px !important; }
	#lupe { top: -40px !important; position: absolute; z-index: 99999; right: -40px; }
}
@media (min-width: 1201px) and (max-width: 1360px) {
	.secondary { top: 9em !important; right: 15px !important; }
	#searchinput { top: 2em !important; right: 40px !important; }
	#searchline { top: 4.5em !important; right: 35px !important; }
	#lupe { top: -40px !important; position: absolute; z-index: 99999; right: -40px; }
}
@media (min-width: 768px) and (max-width: 899px) {
	#mobilemenu { margin-right: 5px; }
}

/* desktop and higher than 1024px */
#innerSocialMedia { margin-top: 10px !important; }
#footer a.blueskySVG img { width: 1.2em !important; }
#footer a.instagramSVG img { width: 1.6em !important; }
#footer a.linkedinSVG img { width: 1.2em !important; }
#footer a.facebookSVG img { width: 1.2em !important; }
#footer a.facebookSVG { margin-left: 0px !important; }

@media (max-width: 1024px) {	
	#innerSocialMedia { margin-top: 20px !important; }
	#footer a.blueskySVG img { width: 1.7em !important; }
	#footer a.instagramSVG img { width: 2.1em !important; }
	#footer a.linkedinSVG img { width: 1.6em !important; }
	#footer a.facebookSVG img { width: 1.6em !important; }
	#footer a.facebookSVG { margin-left: 10px !important; }
}