@import url("https://fonts.verwaltungsportal.de/import/?family=Montserrat:300,400,500,600,700,800");

body {
	font-family: "Montserrat", sans-serif;
	color: #1b1c1c;
	background: #ffffff;
	font-size: 1rem;
	/* 1rem = 16px */
	line-height: 1.5;
}

@media (min-width: 768px) {
	body {
		font-size: 1.125rem;
	}
}

a {
	color: #2869ac;
}

a:hover,
a:focus {
	color: #2869ac;
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

#topbar {
	padding-top: 35px;
	padding-bottom: 35px;
}

/* ------------------------------------------------- logo ------------------------------------------------ */

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

@media (max-width: 991px) {
	#logo img {
		max-width: 210px;
		width: 100%;
	}
}

/*-- search --*/

#search {
	height: 42px;
	background: #f7f7f7;
	display: inline-block;
	position: relative;
	font-family: "Montserrat";
	margin-top: 15px;
	width: 270px;
}

#search_input {
	color: #1b1c1c;
	font-size: 16px;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 42px;
	padding-left: 10px;
	padding-right: 43px;
	height: 42px;
	width: 100%;
}

#search_submit {
	width: 42px;
	background: #2869ac url("../img/lupe-icon.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	line-height: 42px;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	font-size: 0;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
}

#search_submit:hover,
#newsletter_submit:hover {
	background-color: #2869ac;
}

#search_input::-ms-input-placeholder {
	color: #1b1c1c !important;
}

#search_input::-webkit-input-placeholder {
	color: #1b1c1c !important;
}

#search_input::-moz-placeholder {
	color: #1b1c1c;
	opacity: 1;
}

#search_input:-moz-placeholder {
	color: #1b1c1c;
	opacity: 1;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		position: relative;
		z-index: 1002;
		display: block;
		width: 46px;
		height: 40px;
		border-radius: 2px;
		cursor: pointer;
		background-color: #ffffff;
		padding: 3px;
	}

	#burgerButton:before,
	#burgerButton:after,
	#burgerButtonInner {
		background-color: #2869ac;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		-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"]:before {
		opacity: 0;
	}

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

	#burgerButtonInner {
		top: 10px;
	}

	#burgerButton:before {
		top: 18px;
	}

	#burgerButton:after {
		top: 26px;
	}

	#burgerButton:before,
	#burgerButton:after {
		content: "";
		display: block;
	}

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

	.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.collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.navbar-header {
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		background-color: #ffffff;
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
		-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);
	}

	.navbar-collapse.in:after {
		content: "";
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: -1;
		display: block;
		width: 90px;
		background-color: rgba(0, 0, 0, 0.5);
	}
}

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

	.navbar-collapse.collapse.in:after {
		width: 40%;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally .navbar-nav {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify !important;
		-ms-flex-pack: justify !important;
		justify-content: space-between !important;
		-webkit-box-align: center !important;
		-ms-flex-align: center !important;
		align-items: center !important;
	}

	/* nav.horizontally .navbar-nav > li {
      flex-grow: 1;
   } */
	nav.horizontally .dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
	}

	nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		position: absolute;
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav > li,
	nav.horizontally .navbar-nav > li > .dropdown-menu > li {
		position: relative;
	}

	/* Fade in Hover Start */
	.navbar-default .navbar-nav li[class*="toplevel"] > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"] > ul {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		-webkit-transition: opacity 300ms linear;
		-moz-transition: opacity 300ms linear;
		-ms-transition: opacity 300ms linear;
		-o-transition: opacity 300ms linear;
		transition: opacity 300ms linear;
	}

	.navbar-default .open > .dropdown-menu,
	.navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
	}

	.navbar-default .nav .open > .dropdown-menu {
		pointer-events: none !important;
		opacity: 0 !important;
	}

	/* Pseudo */

	.navbar-default .navbar-nav > li > .dropdown-menu::before {
		content: "";
		position: absolute;
		display: block;
		height: 10px;
		left: 0;
		right: 0;
		top: -10px;
	}

	/* 3rd */

	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
		content: "";
		position: absolute;
		display: block;
		width: 10px;
		top: 0;
		bottom: 0;
		left: -10px;
	}

	/* Fade in Hover End */
}

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

.navbar-default .navbar-nav > li > a {
	color: #2869ac;
	font-weight: 600;
	text-align: left;
	padding: 10px 35px 15px 35px;
	font-family: "Montserrat";
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
	word-break: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li {
		border-bottom: 1px solid rgba(46, 60, 72, 0.2);
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li + li {
		margin-left: 20px;
	}

	.navbar-default .navbar-nav > li > a {
		padding: 18px 0;
		text-align: center;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		display: block;
	}
}

.navbar-default .navbar-nav > li > a::before {
	content: "";
	width: 0;
	height: 2px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 13px;
	background-color: #98CF00;
	opacity: 1;
	-webkit-transition: all 0.5s 0s ease;
	-moz-transition: all 0.5s 0s ease;
	-o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease;
}

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

.navbar-nav > li:hover > a,
.navbar-nav > li:focus > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.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: #2869ac;
	background-color: transparent;
}

.navbar-nav > li:hover > a::before,
.navbar-nav > li:focus > a::before,
.navbar-nav > li > a:hover::before,
.navbar-nav > li > a:focus::before,
.navbar-nav > li.open > a::before,
.navbar-nav > li.open > a:hover::before,
.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 {
	width: 68px;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
	background-color: #fff;
	-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
	border-left: 5px solid #98CF00;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
	border-color: #2869ac;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li > .dropdown-menu {
		padding: 15px;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu,
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		margin-top: -18px;
		margin-left: 10px;
	}
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	color: #1b1c1c;
	font-weight: 400;
	text-align: left;
	padding: 9px 25px;
	font-size: 1.125rem;
	font-family: "Montserrat";
	line-height: 1.2;
	text-decoration: none;
	word-break: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

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

.navbar-nav > li > .dropdown-menu > li:focus > a,
.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,
.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 {
	background: #f7f7f7;
	color: #2869ac;
}

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

#slider {
	max-height: 300px;
	overflow: hidden;
	position: relative;
}

@media (min-width: 992px) {
	#slider {
		max-height: 400px;
	}

	body.index #slider {
		max-height: 500px;
	}

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

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

#headerpic {
	margin: 0 auto;
	position: relative;
	width: 100%;
}

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

.slider-mask {
	display: none;
}

/*-- tabs --*/

#tabs {
	color: #fff;
	font-size: 1.5625rem;
	font-family: "Montserrat";
	font-weight: 600;
	padding-top: 30px;
	padding-bottom: 0;
}

@media (min-width: 992px) {
	#tabs {
		margin-top: -70px;
		position: relative;
		z-index: 8;
		padding: 0;
	}
}

#tabs .tab,
#tabs .tab2 {
	background-color: #2869ac;
	padding: 40px 30px;
	text-align: center;
	position: relative;
	-webkit-transition: all 0.5s 0s ease;
	-moz-transition: all 0.5s 0s ease;
	-o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease;
}

#tabs .tab {
	height: 100%;
}

#tabs .tab:hover {
	background-color: #98CF00;
	color: #1b1c1c;
}

#tabs .tab:hover img {
	filter: invert(100%) sepia(98%) saturate(19%) hue-rotate(23deg) brightness(93%) contrast(100%);
	-webkit-transition: all 0.5s 0s ease;
	-moz-transition: all 0.5s 0s ease;
	-o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease;
}

#tabs .tab a {
	color: #fff;
	word-break: break-word;
}

#tabs .tab:hover a {
	color: #1b1c1c;
}

@media (max-width: 991px) {
	#tabs > .row > div {
		margin-top: 30px;
	}
}

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

#content {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
}

@media (min-width: 992px) {
	#content {
		padding-bottom: 60px;
		padding-top: 60px;
	}
}

/* ----------------------------------------------- teaser ----------------------------------------------- */

#teaser {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	padding-top: 80px;
	padding-bottom: 130px;
}

#teaser::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgb(40, 105, 172);
	background: linear-gradient(135deg, rgba(40, 105, 172, 0.9) 36%, rgba(40, 105, 172, 0) 36%);
}

#teaser .tab {
	background-color: #ffffff;
	padding: 30px 35px;
	height: 100%;
}

#teaser > div:first-child {
	margin-left: 55px;
}

#teaser > div:last-child > .tab {
	padding: 30px 40px;
}

/* ----------------------------------------------- events ----------------------------------------------- */

#news,
#events {
	padding-top: 40px;
	padding-bottom: 40px;
}

@media (min-width: 768px) {
	#news,
	#events {
		font-size: 1.125rem;
	}
}

@media (min-width: 992px) {
	#news,
	#events {
		padding-top: 55px;
		padding-bottom: 60px;
	}
}

#events {
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 768px) {
	#events .tab_link_entries {
		display: -webkit-box !important;
		display: -ms-flexbox !important;
		display: flex !important;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	#events .tab_link_entry {
		width: calc(50% - 15px);
	}

	#events .tab_link_entry:nth-of-type(2n + 1) {
		margin-right: 30px;
	}
}

@media (min-width: 992px) {
	#events .tab_link_entry {
		width: calc(33.33% - 20px);
	}

	#events .tab_link_entry:nth-of-type(2n + 1) {
		margin-right: 0;
	}

	#events .tab_link_entry:nth-of-type(3n + 1),
	#events .tab_link_entry:nth-of-type(3n + 2) {
		margin-right: 30px;
	}
}

/* -----------------------------------------  events button ---------------------------------------- */

#events .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

#events .tab_link_mehr a {
	background: #2869ac;
	font-weight: 600;
	color: #ffffff;
	padding: 8px 55px 8px 20px;
	position: relative;
	text-decoration: none;
	display: inline-block;
}

#events .tab_link_mehr a::before {
	content: "alle Veranstaltungen";
	font-size: 1rem;
}

#events .tab_link_mehr a::after {
	content: "\00BB";
	display: block;
	position: absolute;
	right: 0;
	top: 9px;
	bottom: 9px;
	width: 35px;
	text-align: center;
	font-size: 26px;
	line-height: 18px;
	border-left: 2px solid rgba(0, 0, 0, 0.1);
}

#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus {
	background: #2869ac;
	color: #ffffff;
}

@media (min-width: 992px) {
	#events {
		background: url("../img/events.png") no-repeat bottom left 1100px;
	}
}

#events .tab_link_title a {
	font-weight: 400;
}

#events h2 {
	font-size: 2.25rem;
}

#events .tab_link_title a,
#events .tab_link_mandat a {
	color: inherit;
	color: #2869ac;
	font-weight: 600;
}

#events .tab_link_entry:not(:last-of-type) {
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 2px solid rgba(191, 191, 191, 0.2);
}

@media (min-width: 768px) {
	#events .tab_link_entry:nth-last-of-type(2) {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}
}

@media (min-width: 992px) {
	#events .tab_link_entry:nth-last-of-type(3) {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}
}

#events .tab_spacer {
	display: none;
}

#events .tab_link_mehr {
	margin-top: 30px;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
	color: #2869ac;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Montserrat", sans-serif;
}

h1,
.h1,
.legacy_h1 {
	font-size: 1.7rem;
}

@media (min-width: 768px) {
	h1,
	.h1,
	.legacy_h1 {
		font-size: 2.1875rem;
	}
}

h2,
.h2,
.legacy_h2 {
	font-size: 1.6rem;
}

@media (min-width: 768px) {
	h2,
	.h2,
	.legacy_h2 {
		font-size: 1.7rem;
	}
}

h3,
.h3,
.legacy_h3 {
	font-size: 1.6rem;
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
	font-size: 1.5rem;
}

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

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

#newslinks,
#newsmandate {
	border: 1px solid #2869ac;
}

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

footer {
	background: #f7f7f7;
	padding-top: 45px;
	padding-bottom: 45px;
	color: #1b1c1c;
	font-size: 1rem;
}

@media (min-width: 992px) {
	footer {
		background: #f7f7f7 url("../img/Kraftsdorf.png") no-repeat bottom left;
	}
}

footer .tabHeadline {
	font-size: 1.375rem;
}

@media (max-width: 767px) {
	footer .row > .col-xs-12:not(:first-child)::before {
		background: #2869ac;
		content: " ";
		height: 1px;
		width: 100%;
		display: block;
		margin: 25px 0;
		opacity: 0.2;
	}

	footer .row > .col-xs-12.hidden-xs ~ .col-xs-12::before,
	footer .row > .col-xs-12.hidden-sm ~ .col-xs-12::before {
		display: none;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #1b1c1c;
	text-decoration: none;
	display: inline-block;
	font-weight: 400;
	font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
	text-decoration: none;
	color: #2869ac;
}

@media (min-width: 1200px) {
	#innerfooter li + li {
		margin-left: 45px;
	}
}

@media (max-width: 767px) {
	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li + li::before {
		display: none;
	}

	#innerfooter li + li {
		margin: 0;
	}
}

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

#vernetzt {
	text-align: right;
	font-size: 0.9375rem;
	color: #1b1c1c;
	line-height: 1.3;
	margin: 0;
	font-weight: 400;
}

#vernetzt b {
	color: #2869ac;
	font-weight: 600;
}

#vernetzt span {
	color: #1b1c1c;
}

#vernetzt span span {
	display: block;
}

#vernetzt img {
	margin-left: 12px;
}

#vernetzt:hover,
#vernetzt:active,
#vernetzt:focus {
	text-decoration: none;
}

@media (min-width: 992px) {
	#slider + .nivo-controlNav {
		bottom: 75px;
	}

	.theme-default .nivo-controlNav {
		bottom: 75px !important;
	}
}
