/** WebFonts **/

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/files/theme/fonts/roboto/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('/files/theme/fonts/roboto/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('/files/theme/fonts/roboto/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('/files/theme/fonts/roboto/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/files/theme/fonts/roboto/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('/files/theme/fonts/roboto/roboto-v30-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


html {
  overflow-y: scroll;
  height: 100%;
  font-size: 16px;
  line-height: 24px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  border-top: 1rem solid #2a639a;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5;
  color: #8593a3;
}

/* Anpassen Boxmodel */
* {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

*:before,
*:after{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

/* Headlines */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #8593a3;
}

h1 {
  font-family: Verdana;
  letter-spacing: -2px;
  font-size: 2.375em;
  line-height: 1.26315789em;
  margin-top: 0.63157895em;
  margin-bottom: 1.2631579em;
}

h2 {
  font-size: 1.75em;
  line-height: 1.71428571em;
  margin-top: 0.85714286em;
  margin-bottom: 0.85714286em;
}
h3 {
  font-size: 1.3125em;
  line-height: 1.14285714em;
  margin-top: 1.14285714em;
  margin-bottom: 0em;
}
h4,
h5,
h6 {
  font-size: 1em;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0em;
}

h1+h2,
h1+div h2 {
  margin-top: 0;
}

/* sonstige Abstände und Elemente */
p, ul, ol, pre, table, blockquote {
  margin-top: 0em;
  margin-bottom: 1.5em;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0em;
  margin-bottom: 0em;
}

ul {
  list-style: square;
}

ol {
  list-style: decimal;
}

li {
  margin-left: 2em;
}

hr {
  border: 1px solid #292c37;
  margin: -1px 0;
}

/* Links */
a,
a:visited {
	color: #db901a;
	text-decoration: underline;
}

a:hover,
a:focus,
a:active {
	color: #db901a;
  outline: 0;
}

a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

/** Layout **/
#wrapper {
  width: 100%;
 /*max-width: 960px;*/
  margin: 50px auto 0 auto;
  padding: 0 2%;
}


/* Header Logo */
#header .inside {
  text-align: center;
}

#logo {
  line-height: 0;
}

 #logo img {
    width: 25rem;
    left: 0rem;
    position: relative;
    }  

/* Navigation */

#nav-main ul {
  margin: 0;
  padding: 0;
}

#nav-main li {
  list-style: none;
  /*display: inline-block;*/
  margin: 0;
  padding: 0;
}

#nav-main a,
#nav-main strong {
  display: block;
  text-decoration: none;
  font-size: 1.125em;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}

#nav-main a.last,
#nav-main .active.last {
  margin-right: 0;
}

#nav-main a:hover,
#nav-main a:focus {
  color: #db901a;
}

#nav-main strong.active,
#nav-main .trail {
	color: #fff;
}

/* Mobile Nav */
#nav-mobile {
  width: 160px;
  margin: 0.25em auto;
}

#nav-mobile select {
  margin: 0;
}

/* Header Image Home */
.header-image {
  /*position: relative;*/
  width: 100%;
  height: auto;
  overflow: hidden;
  text-align: center;
}

.header-image h1 {
  text-align: center;
}


/* Boxen */
.box-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
}

.box {
  width: 100%;
  min-width: 200px;
  text-align: center;
  margin-bottom: 2em;
}

.box h2 {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 0 1.25em 0;
  padding: 0;
}

.box h2::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-size: 0.75em;
  background: #2a639a;
  color: #fff;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  display: inline-block;
}

.box-left h2::before {
  content: "\f118";
}

.box-middle h2::before {
  content: "\f559";
}

.box-right h2::before {
  content: "\f021";
}


/** Buttons **/
.button a,
button {
  display: inline-block;
  padding: 0.5em 2.75em;
	background:	#db901a;
  font-size: 1.3125em;
	margin: 0.5em 0;
	text-align: center;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  border: 0;
  transition: all 0.3s ease 0s;
}

.button a:hover,
.button a:focus,
button:hover,
button:focus {
  background-color: #8593a3;
}
.button-center,
.text-center {
  text-align: center;
}

button {
  cursor: pointer;
}

/** Disable Transition und Shadow bei ColorBox Elementen**/
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
    transition: none;
    box-shadow: none;
}

/** Footer **/
#footer {
	margin-top: 40px;
	border-top: 1px solid #ccc;
}

#footer h5 {
	color: #8593a3;
	margin-top: 0;
    margin-bottom: 0.25em;
}

#footer a,
#footer a:visited {
	color: #db901a;
	text-decoration: underline;
}

#footer a:hover {
	color: #8593a3;
}

.footer-copyright {
	margin-top: 40px;
	border-top: 1px solid #ccc;
	font-size: 0.75em;
	padding: 10px 0;
  text-align: center;
}

/* Social Icons */
.socialicons {
	list-style: none;
	margin: 0;
	padding: 0;
}

.socialicons li {
	font-size: 2.5em;
	line-height: 1;
	display: inline-block;
	vertical-align: top;
	margin-right: 5px;
	margin-left: 0;
}

/* Subnavigation links */
#left .inside {
	padding-right: 60px;
}

#left .mod_navigation {
	margin-top: 60px;
  display: none;
}

#left h5 {
	color: #292c37;
	margin-top: 0;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1em;
}

#left h5::after {
  width: 40px;
  height: 2px;
  display: block;
  margin-top: 0;
  background-color: #9f111b;
  content: " ";
}

#left .mod_navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#left .mod_navigation ul li {
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 0;
}

#left .mod_navigation ul li a,
#left .mod_navigation ul li strong {
	color: #292c37;
	text-decoration: none;
	line-height: 2.5;
	display: block;
	font-weight: 400;
}

#left .mod_navigation ul li a:hover,
#left .mod_navigation ul li a:focus {
	color: #9f111b;
	text-decoration: underline;
}


#left .mod_navigation ul li strong.active,
#left .mod_navigation ul li .trail {
	color: #9f111b;
	font-weight: 700;
}

#left .mod_navigation .level_2 {
    list-style-type: square;
}

#left .mod_navigation .level_2 li {
    margin-left: 1.5em;
    border-bottom: none;
}

/* Formatierung Bilder */
/*
figure.float_left {
	margin-right: 1.5em;
}

figure.float_right {
	margin-left: 1.5em;
}

figure.float_above,
figure.float_below {
  margin-bottom: 1.5em;
}
*/
.image_container {
  display: inline-block;
}

.caption {
	line-height: 1.2;
	font-size: 0.875em;
	background-color: #e1e1e1;
	text-align: center;
	padding: 3px;
	margin-bottom: 0.25em;
}

/** Tabelle **/
table {
	width: 100%;
	overflow: auto;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ccc;
}

th,td {
	border: 1px solid #ccc;
	padding: 5px 10px;
}

th {
	background: #efefef;
	font-weight: 700;
	text-align: left;
}

/** Akkordeon **/
.ce_accordion {
	margin-bottom: 1px;
}

.ui-accordion-content {
	border: 1px solid #ccc;
	padding: 0.25em 0.5em;
}

.ce_accordion .toggler {
	cursor: pointer;
	color: #fff;
	background: #292c37;
	outline: none;
	padding: 0.5em;
	font-weight: 700;
}

.ce_accordion .toggler.active,
.ce_accordion .toggler:hover {
	background: #710c13;
}


.ui-icon:before {
  font-family: "Font Awesome 5 Free";
  color: #fff;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  width: 25px;
  text-align: center;
  content: '\f101';
}

.ui-accordion-header-active .ui-icon:before {
  content: '\f338';
}

/** Slider **/

.ce_sliderStart {
	background: #efefef;
}

.slider-control {
	height: 60px;
}

.slider-control .slider-menu {
	font-size: 50px;
	line-height: 55px;
}

.slider-control .slider-prev {
	left: 15px;
}

.slider-control .slider-next {
	right: 15px;
}

/** Galerie **/
.ce_gallery>ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
}

.ce_gallery>ul li.col_first {
	clear:none;
}

.ce_gallery>ul li {
	float: none;
	margin: 0.25em auto;
}

/** Formular **/
label{
	display: block;
}

input,
textarea,
select {
	margin-bottom: 1em;
	padding: 0.5em;
	border: 1px solid #999;
	outline: 0;
	width: 100%;
	border-radius: 2px;
}

input:focus,
textarea:focus,
select:focus {
	border: 1px solid #9f111b;
}

form span.mandatory {
	display: none;
}

.submit {
	margin-top: 0;
}

p.error {
	color: red;
	background: #f1f1f1;
	border: 2px solid red;
	padding: 0.5em;
	margin: 0 0 0.25em 0;
}

.radio_container span {
	margin-right: 2em;
}

.radio_container input {
	width: auto;
	margin-left: 2px;
}

.radio_container label {
	display: inline-block;
}

.checkbox_container input {
	width: auto;
	margin-bottom: 0;
}

.checkbox_container label {
	display: inline;
	vertical-align: middle;
}

input[type=submit],
input[type=text] {
	-webkit-appearance: none;
}

/* Breadcrumb */
.mod_breadcrumb ul {
	list-style: none;
	margin: 1.5em 0;
}

.mod_breadcrumb li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.mod_breadcrumb li:after {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  content: "\f0da";
  width: 20px;
  text-align: center;
}

.mod_breadcrumb .last:after {
	content: '';
}

/* Buchnavi */
.mod_booknav ul {
	list-style: none;
	margin: 1.5em 0;
}

.mod_booknav ul li {
	display: inline-block;
	margin: 0 2em 0 0;
	padding: 0;
}

.mod_booknav ul .next:after,
.mod_booknav ul .previous:before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-align: center;
  width: 20px;
}
.mod_booknav ul .next:after {
  content: "\f0da";
}

.mod_booknav ul .previous::before {
  content: "\f0d9";
}

/* Nachrichten Styling */
.layout_latest {
	margin-bottom: 3em;
	padding-bottom: 3em;
	border-bottom: 1px solid #ccc;
}


.layout_latest h2,
.layout_full h1 {
	margin-bottom: 1rem;
}

.layout_latest h2 a {
	color: #2a639a;
	text-decoration: none;
}

.layout_latest .info,
.layout_full .info {
	font-size: 0.875em;
}

.mod_newsarchive .layout_latest .info {
	margin-bottom: 0;
}

.mod_newsarchive .block {
	overflow:visible;
}

.layout_latest .info:before,
.layout_full .info:before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
	content: "\f073";
    width: 20px;
    text-align: center;
}

#footer .layout_simple {
	border-bottom: 1px solid #ccc;
	padding: 0.5em 0;
}

#footer .layout_simple.first {
	padding-top: 0;
}

#footer .layout_simple a {
	font-weight: 700;
	text-decoration: none;
}


/* News-Menü */
.mod_newsmenu ul {
	list-style: none;
	margin: 0;
}

.mod_newsmenu .year {
	margin: 0;
}

.mod_newsmenu a {
	text-decoration: none;
}

.mod_newsmenu a:hover,
.mod_newsmenu a:focus,
.mod_newsmenu strong.active
 {
	color: #710c13;
	text-decoration: underline;
}

/* Kommentar Antworten*/
.comment_default {
    padding: 0.75em 0;
    margin-bottom: 0.75em;
}

.comment_default .info {
	font-weight: 700;
	border-bottom: 1px solid #ccc;
}

.comment_default .reply {
	font-style: italic;
	padding-left: 2em;
	border-left: 2px solid #ccc;
}

.comment_default .reply .info {
	border-bottom: none;
}

.ce_comments .tl_confirm {
  position:absolute;
  top:-6em;
  z-index:999;
  padding:10px;
  background:#48b570;
  color:#fff;
  display:block
}

/* Events */
.calendar td {
	padding: 5px;
	height: 120px;
}

.calendar .head {
	text-align: center;
}

.calendar .label {
	width: 14.25%;
	font-size: 0.75em;
}

.calendar .header {
	font-size: 0.75em;
	background-color: #efefef;
	padding-left: 3px;
}

.calendar .empty .header {
	background-color: #fff;
}

.calendar .today .header{
	background-color: #9f111b;
	color: #fff;
	font-weight: 700;
}

.calendar .event {
	margin: 3px 0;
	line-height: 1.1;
}

.calendar .event a {
	font-size: 0.75em;
}


.minicalendar .head,
.minicalendar .label,
.minicalendar td {
	text-align: center;
}


.minicalendar .active {
	background: #9f111b;
}

.minicalendar .active a,
.minicalendar .active a:visited {
	color: #fff;
}

.layout_upcoming {
	padding: 1em 0.25em;
	border-bottom: 1px solid #ccc;
}

.layout_upcoming.odd {
	background: #efefef;
}

/** Newsletter Footer **/

.page-newsletter #footer .mod_subscribe .error {
  display: none;
}
#footer .mod_subscribe .submit {
  width: 100%;
}


/** Suche **/

#header .mod_form {
  margin: 0.5em 1rem;
  text-align: right;
}

#form-search {
	position: relative;
  display: inline-block;
}

#form-search input.text {
	margin-bottom: 0;
	padding-right: 30px;
	width: 160px;
	transition: all 0.5s ease 0s;
  height: 36px;
}

#form-search input.text:focus {
	width: 240px;
}

#form-search input.submit {
	position: absolute;
    right: 6px;
    top: 7px;
    width: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.mod_search form {
	border: 1px solid #ccc;
	padding: 25px;
}

.mod_search .header {
	margin-top: 2em;
	padding: 0.5em;
	text-align: center;
	background: #292c37;
	color: #fff;
}

mark {
	background: yellow;
	font-weight: 700;
}

.mod_search > div {
	padding: 0.75em 0.5em;
}

.mod_search .odd {
	background: #f3f3f3;
}

.mod_search form button {
	width: 100%;
}

/* Viewport min 768px */
@media screen and (min-width: 768px) {

 

  

  #header .mod_form {
  	position:absolute;
  	top: -36px;
  	right: 0;
  	z-index: 10;
    margin: 0;
  }
  
  .header-image {
  margin-top: 20px;
}


.wrapper-content {
  position: relative;
}

  #main .inside {
    padding: 2em 0 0 0;
  }

  /* Header Image Home */
  .header-image h1 {
    position: absolute;
    bottom: 50px;
    left: 25px;
    font-size: 3.375em;
    color: #fff;
    line-height: 1;
    margin-bottom: 0;
    text-align: left;
  }

  .header-image h1 span {
    background: rgba(219, 144, 26, 0.85);
    margin-top: 5px;
    float: left;
    padding: 10px;
  }

/* Navigation */


#nav-main ul {
  margin: 0;
  padding: 0;
}

#nav-main li {
  list-style: none;
  display: inline-block;
  margin: 0;
  padding: 0;
}

#nav-main a,
#nav-main strong {
  display: block;
  text-decoration: none;
  font-size: 1.125em;
  color: #2a639a;
  font-weight: 700;
  margin: 0 1em;
  line-height: 1.5;
}

#nav-main a.last,
#nav-main .active.last {
  margin-right: 0;
}

#nav-main a:hover,
#nav-main a:focus {
  color: #db901a;
}

#nav-main strong.active,
#nav-main .trail {
	color: #db901a;
}

  #nav-main {
    display: block;
  }

  #nav-mobile {
    display: none;
  }

  #left .mod_navigation {
    display: block;
  }

  .box {
    width: 30%;
    text-align: left;
    margin: 0;
  }

  #footer h5 {
    margin-bottom: 0.5em;
  }

  .footer-copyright {
    text-align: left;
  }

  #form-search input.text {
    width: 115px;
  }
  
  .mod_newsarchive .block {
	overflow:hidden;
}

}

/* Viewport min 960px */
@media screen and (min-width: 960px) {
  #wrapper {
    padding: 0;
  }
  
  #header .inside, #footer .inside, .wrapper-content {
    /*text-align: center;*/
    width: 960px;
    margin: 0 auto;
}
 
  #header .inside {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  
  .header-image .image_container,
.header-image img {
 width:100%;
}

 #logo img {
    width: 25rem;
    left: 0rem;
    position: relative;
    } 
    
.layout_latest h3{
	margin-top:0;
	margin-bottom:1rem;
}

.pagination {
    display: flex;
}
.pagination ul {
    display: flex;
}
.pagination li::marker {
    content: "";
}

    
/* Nachrichten 2-spaltig 

.mod_newsarchive .block {

 		overflow: hidden;
		width: 48%;
		float: left;
		margin-right: 1rem;
}

.layout_latest .ce_text {
		width: 90%;
}

*/

}
