@import url("https://fonts.verwaltungsportal.de/css/?family=Poppins:300,500,600,300i,500i,600i%7CAmatic+SC:400,700");

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: #fafafa;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #0673b2 #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	color: #444444;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #0673b2;
}

a:is(:hover, :focus) {
	color: #0673b2;
	text-decoration: underline;
}

#content a {
	font-weight: 500;
}

b,
strong {
	font-weight: 600;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px clamp(20px, 3vw, 40px);
	text-decoration: none !important;
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #444444;
	font-size: 1.3125rem;
	align-content: center;
	line-height: 1.1;
}

.logoText :is(b, strong) {
	display: block;
	color: #0673b2;
	font-size: clamp(1.875rem, 5vw, 4.75rem);
	font-weight: 700;
	font-family: "Amatic SC", sans-serif;
}

.logoText br {
	display: none;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

.logo img {
	display: block;
	max-width: 30vw;
}

#languageBar{
	background: #0673b2;
	color: #fff;
	font-size: 1rem;
	color: #fff;
	padding: 7px;
}

#languageBar a{
	color: #fff;
	padding-left: 15px;
	margin-left: 15px;
	position: relative;
}

#languageBar a.activeLang,
#languageBar a:hover,
#languageBar a:focus{
	text-decoration: underline;
}

#languageBar a+a::before{
	content: '|';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

#language span{
	font-family: Amatic SC;
	font-weight: 700;
	font-size: 1.375rem;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

/* #region ----------------------------------- search ------------------------------------------- */

#search {
	background: #efefef;
	position: relative;
	border-radius: 30px;
	width: 100%;
   margin: 15px 0;
}

@media (min-width: 992px) {
	#search {
		min-width: 240px;
		max-width: 380px;
		width: auto;
      margin: 0;
	}
}

#search_input {
	color: #444444;
	font-size: 1rem;
	font-weight: 300;
	font-style: normal;
	background: transparent;
	border: 0;
	width: 100%;
	border-radius: 30px;
	padding: 7px 14px;
	line-height: 1;
}

#search_submit {
	border: 5px solid #ffffff;
	background: #0673b2 url("../img/lupe-icon.png") center / 14px 14px no-repeat;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	margin: -5px -5px -5px 0;
	font-size: 0;
	aspect-ratio: 1/1;
	min-width: 48px;
	flex-shrink: 0;
	transition: transform 150ms linear;
}

@media (min-width: 768px) {
	#search_submit:is(:hover, :focus) {
		transform: scale(1.2);
	}
}

#search input::placeholder {
	color: #444444 !important;
	opacity: 1 !important;
	font-style: normal !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */

/* -------------------------------------------- @nav21 Navigation ------------------------------------------- */

/* ------------------------------------------- navigation ------------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #ffffff;
		-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButtonInner2,
	#burgerButton:after,
	#burgerButtonInner {
		background-color: #0673b2;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		-webkit-transition: transform 200ms linear, opacity 200ms linear;
		-moz-transition: transform 200ms linear, opacity 200ms linear;
		-ms-transition: transform 200ms linear, opacity 200ms linear;
		-o-transition: transform 200ms linear, opacity 200ms linear;
		transition: transform 200ms linear, opacity 200ms linear;
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner {
		-webkit-transform: rotate(-45deg) translate(-6px, 6px);
		transform: rotate(-45deg) translate(-6px, 6px);
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner2 {
		opacity: 0;
	}

	#burgerButton[aria-expanded="true"]:after {
		-webkit-transform: rotate(45deg) translate(-4px, -6px);
		transform: rotate(45deg) translate(-4px, -6px);
	}

	#burgerButtonInner {
		top: 16px;
	}

	#burgerButtonInner2 {
		top: 24px;
	}

	#burgerButton:after {
		top: 32px;
		content: "";
		display: block;
	}

	.navbar-nav {
		margin: 20px 0;
		padding-right: 50px;
	}

	.navbar-collapse {
		top: 0;
		background: #ffffff;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		opacity: 0;
		pointer-events: none;
		overflow-y: auto;
		-webkit-transition: left 300ms linear, opacity 300ms linear;
		-moz-transition: left 300ms linear, opacity 300ms linear;
		-ms-transition: left 300ms linear, opacity 300ms linear;
		-o-transition: left 300ms linear, opacity 300ms linear;
		transition: left 300ms linear, opacity 300ms linear;
	}

	.navbar-collapse[aria-expanded="true"],
	.navbar-collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.navbar-header {
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
	}

	.navbar-toggle::before {
		content: "";
		opacity: 0;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 0;
		z-index: -1;
		display: block;
		background-color: rgba(0, 0, 0, 0.5);
		-webkit-transition: width 300ms linear, opacity 300ms linear;
		-moz-transition: width 300ms linear, opacity 300ms linear;
		-ms-transition: width 300ms linear, opacity 300ms linear;
		-o-transition: width 300ms linear, opacity 300ms linear;
		transition: width 300ms linear, opacity 300ms linear;
	}

	.navbar-toggle[aria-expanded="true"]::before {
		opacity: 1;
		width: 90px;
	}
}

@media (min-width: 575px) and (max-width: 991px) {
	.navbar-collapse {
		width: 60%;
	}

	.navbar-collapse.collapse.in:after,
	.navbar-toggle[aria-expanded="true"]::before {
		width: 40%;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	#bg-left {
		padding-right: 50px;
	}

	nav {
		padding: 10px;
		background: #ffffff;
	}

	.navbar-default .navbar-nav {
		width: 100%;
	}

	.navbar-default .navbar-nav > li {
		display: block !important;
		width: 100%;
		float: none;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
		display: block;
	}
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
	color: #ffffff;
	font-weight: 600;
	text-align: left;
	padding: 8px 35px 8px 15px;
	position: relative;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	background: #0673b2;
	transition: background 300ms linear;
	position: relative;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		font-size: 0.875rem;
	}
}

.navbar-default .navbar-nav > li > a::after {
	content: "";
	position: absolute;
	display: block;
	right: -45px;
	top: 0;
	bottom: 0;
	width: 45px;
	height: 100%;
	background: #efead7;
	-webkit-clip-path: polygon(100% 0, 100% 100%, 0 50%);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	z-index: 0;
}

.navbar-default .navbar-nav > li > a::before {
	content: "";
	position: absolute;
	display: block;
	right: -45px;
	top: 50%;
	bottom: 0;
	width: 15px;
	height: 33%;
	background: #0673b2;
	-webkit-clip-path: polygon(100% 0, 100% 100%, 0 50%);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transition: background 300ms linear;
	transform: translateY(-50%);
	z-index: 1;
}

@media (max-width: 991px) {
	nav .navbar-nav > li > a.dropdown-toggle {
		padding-right: 35px;
	}
}

.navbar-default .navbar-nav > li:not(:first-child) {
	margin-top: 5px;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
	color: #004757;
	background: #72e6ff;
}

.navbar-nav > li:focus-within > a {
	color: #004757;
	background: #72e6ff;
}

.navbar-default .navbar-nav > li:hover > a::before,
.navbar-default .navbar-nav > li > a:hover::before,
.navbar-default .navbar-nav > li > a:focus::before,
.navbar-default .navbar-nav > li.open > a::before,
.navbar-default .navbar-nav > li.open > a:hover::before,
.navbar-default .navbar-nav > li.open > a:focus::before,
.navbar-nav > li[class$="_over"] > a::before,
.navbar-nav > li[class$="_over"] > a:hover::before,
.navbar-nav > li[class$="_over"] > a:focus::before {
	background: #72e6ff;
}

.navbar-nav > li:focus-within > a {
	background: #72e6ff;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
	padding: 0;
	background-color: #e3f7fd;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		padding: 10px;
		background-color: rgba(255, 255, 255, 0.5);
	}
}

.navbar-nav li[class*="_over"] > .dropdown-menu,
.navbar-nav li[class*="open"] > .dropdown-menu {
	display: block !important;
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	color: #444444;
	font-weight: 500;
	text-align: left;
	position: relative;
	font-size: 0.875rem;
	line-height: 1.2;
	text-decoration: none;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
	padding: 8px 35px 8px 15px;
	transition: background 300ms linear;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	padding: 8px 20px 8px 20px;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
		font-size: 0.75rem;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
		padding: 8px 15px 8px 30px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
		padding: 8px 15px 8px 45px;
	}
}

@media (max-width: 991px) {
	nav .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2 {
		padding-right: 35px;
	}
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus {
	color: #024e7a;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a {
	color: #024e7a;
}

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
	color: #0c5c82;
	text-decoration: underline;
	background-color: transparent;
}

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
	color: #0c5c82;
	text-decoration: underline;
	background-color: transparent;
}
/* ----------------------------------------------- banner Resp ----------------------------------------------- */

#slider {
	padding: 0;
	position: relative;
	max-height: clamp(300px, 46vw, 500px);
}

@media (min-width: 992px) {
	body.index :is(#slider) {
		max-height: clamp(440px, 68vw, 666px);
	}

	#headerpic a.nivo-prevNav {
		left: 65px;
	}

	#headerpic a.nivo-nextNav {
		right: 65px;
	}
}

#headerpic {
	position: relative;
}

#headerpic .nivo-controlNav {
   bottom: auto;
   top: 30px;
}

.slider-wrapper,
#slider {
	height: 100%;
}

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
   .slider-mask {
      display: block;
      background: url(../img/wolke.png);
      background-position: bottom center;
      background-repeat: no-repeat;
      background-size: contain;
   }
}

/* ----------------------------------------------- banner Resp ----------------------------------------------- */

/* #region ------------------------------------ contact ----------------------------------------- */

#kontaktTab {
	background: #fafafa;
}

@media (min-width: 992px) {
   #kontaktTab>.row::after{
      content: '';
      position: absolute;
      top: 50%;
      right: 0;
      background: url(../img/logoschmuck-igelschule.png);
      width: 309px;
      width: 16.0938vw;
      height: 332px;
      max-height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      transform: translate(100%, -50%);
   }
   #kontaktTab>.row>*::after{
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      background: url(../img/3-igeln.png);
      width: 309px;
      width: 16.0938vw;
      height: 332px;
      max-height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      transform: translate(-100%, -50%);
   }
}

#kontaktTab > .row {
	row-gap: 25px;
}

#kontaktTab .tabHeadline {
	margin: 0 0 40px 0;
	position: relative;
	display: inline-block;
}

#kontaktTab .tabHeadline::after {
	content: "";
	display: block;
	position: absolute;
	height: 2px;
	left: 0;
	width: 100%;
	background: #0673b2;
	bottom: -15px;
   opacity: .3;
}

@media (min-width: 768px) {
	#kontaktTab .tabHeadline::after {
		max-width: 350px;
	}
}

#kontaktTab a {
   text-decoration: underline;
   font-weight: 500;
}

#kontaktTab a:not([href^="mailto"], [href^="tel"]) {
   background: #0673b2;
   color: #fff;
   display: inline-block;
   font-size: .875rem;
   padding: 8px 40px;
   text-decoration: none;
   margin-top: 30px;
   font-weight: 400;
   outline: 2px solid #0673b2;
   outline-offset: -2px;
}

#kontaktTab a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus) {
   background: #fff;
   color: #0673b2;
}

#kontaktTab > div {
	padding-bottom: 25px;
}

@media (min-width: 992px) {
	#kontaktTab > div {
		padding-top: 45px;
		padding-bottom: 45px;
	}
}

#kontaktTab > .row::before {
	content: "";
	display: block;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 200px;
	border-bottom: 2px solid #ffffff;
}

@media (min-width: 992px) {
	#kontaktTab > .row::before {
		width: calc(38% + 200px);
		right: 0;
		top: 0;
		bottom: 0;
		height: 100%;
		position: absolute;
		border: none;
	}
}

/* #endregion -------------------------------- contact ------------------------------------------ */

/* ------------------------------------------- content ------------------------------------------ */

#aboveContent {
	align-items: center;
}

#breadcrumbincontent,
#networkcrosslink,
#content_footer {
	font-size: clamp(0.875rem, 2vw, 1.0625rem);
}

#content {
	text-align: left;
	padding-bottom: clamp(30px, 5vw, 70px);
	padding-top: 30px;
}

@media (min-width: 992px) {
   #content {
      padding-top: 0;
   }
   #content>.row{
      margin-top: -60px;
      padding-top: clamp(30px, 5vw, 40px);
      padding-bottom: 40px;
   }
   #content>.row::after{
      content: '';
      position: absolute;
      inset: -30px -50px 0 -50px;
      background: #fff;
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
      border-radius: 30px;
      z-index: 20;
   }
   #content>.row>*{
      position: relative;
      z-index: 21;
   }
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #0673b2;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Amatic SC", sans-serif;
}

h1,
.h1,
.legacy_h1 {
	font-size: clamp(2.625rem, 5vw, 3.0625rem);
}

h2,
.h2,
.legacy_h2 {
	font-size: clamp(2.5rem, 4.5vw, 2.75rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: clamp(2.375rem, 4vw, 2.625rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: 2.375rem;
}

h5,
.h5,
.legacy_h5 {
	font-size: 2.1875rem;
}

h6,
.h6,
.legacy_h6 {
	font-size: 2rem;
}

/* -------------------------------------------- tabs -------------------------------------------- */

#tabs {
	background: url(../img/deko-footer-links.png), url(../img/deko-footer-rechts.png), #0673b2;
   background-position: left center, right center;
   background-repeat: no-repeat;
	color: #ffffff;
	padding: clamp(30px, 6vw, 80px) 0;
}

@media (max-width: 991px) {
   #tabs{
      background-size: 100px;
      
   }
}

#tabs > .row {
	row-gap: 20px;
}

#tabs a {
	color: #ffffff;
}

#tabs :is(.template-page, .tab_link_mehr) a {
	text-decoration: underline;
}

#tabs :is(.template-page, .tab_link_mehr, .tab_link_title) a {
	font-weight: 600;
}

#tabs .tabHeadline {
	margin: 0 0 25px 0;
	padding-bottom: 10px;
	position: relative;
	color: #ffffff;
	border-bottom: 2px solid #ffffff;
}

.tab_spacer {
	height: 15px;
}

.tab_link_mehr a::after {
	content: " ...";
	display: inline-block;
}


/* Map -------------------------------------------------------- */

#map :is(iframe, .iframe-wrapper-manual-enabling) {
	width: 100%;
	min-width: 100% !important;
}

#map iframe {
	display: block;
}

/* Map -------------------------------------------------------- */


/* -------------------------------------------- footer ------------------------------------------ */

footer {
	background: #0673b2;
	color: #fff;
	padding: 20px 0;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	font-weight: 300;
   position: relative;
   isolation: isolate;
}

#innerfooter a::after {
   content: '';
   background: #72e6ff;
   position: absolute;
   opacity: 0;
   inset: -15px -35px;
   transition: opacity 300ms;
   z-index: -1;
}

#innerfooter a:is(:hover, :focus) {
	color: #0e0408;
}

#innerfooter a:is(:hover, :focus)::after {
   opacity: 1;
}

@media (min-width: 500px) {
	#innerfooter li {
		display: inline-block;
	}

	#innerfooter li + li::before {
		content: "-";
		margin: 0 clamp(10px, 2vw, 20px);
		display: inline-block;
	}
}

/* ------------------------------------------ vernetzt ------------------------------------------ */

#vernetzt {
	gap: 12px;
	text-align: right;
	font-size: 0.875rem;
	color: #fff;
	line-height: 1.2;
	font-weight: 300;
	text-decoration: none;
}

@media (max-width: 767px) {
	#vernetzt {
		margin-top: 20px;
	}
}

#vernetzt strong {
	color: #fff;
	font-weight: 700;
	font-family: "Amatic SC", sans-serif;
	font-size: 1.3125rem;
}

#vernetzt span span {
	display: block;
}
