/** WebFonts **/
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
    url('/files/theme/fonts/roboto/roboto-v18-latin-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/files/theme/fonts/roboto/roboto-v18-latin-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'),
    url('/files/theme/fonts/roboto/roboto-v18-latin-italic.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/files/theme/fonts/roboto/roboto-v18-latin-italic.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'),
    url('/files/theme/fonts/roboto/roboto-v18-latin-700.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/files/theme/fonts/roboto/roboto-v18-latin-700.woff') format('woff');
  /* Chrome 6+, 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: 4px solid rgb(0, 51, 153);
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5;
  /*color: #292c37;*/
  /* iwn Hintergrundfarbe gesetzt */
  /* background-color: #EBEBEB; */
}

/*** 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 {
  font-weight: 700;
}

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

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: #003399;
  text-decoration: underline;
}

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

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

/** Layout **/
/* Slider-, Header-, Content- und Footer-Breite begrenzen */
#slider-box .box-wrapper,
#header .inside,
.wrapper-content,
#footer .inside,
#footer .box-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5px 0 0 0;
}

#slider-box .box-wrapper,
#footer .box-wrapper {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 0 0 5px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer .box-wrapper {
  padding-bottom: 20px;
  margin-bottom: 0px;
}

/* Linie zeichnen unterhalb sliderbox */
#slider-box .box-wrapper,
#header .inside {
  border-bottom: 2px solid rgb(0, 51, 153);
  padding: 0 0 5px 0;
}

#logo {
  line-height: 0;
  padding-top: 5px;
}

/* Navigation*/
#nav-main {
  display: none;
}

#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: rgb(0, 0, 0);
  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: rgb(0, 153, 255);
}

#nav-main strong.active,
#nav-main a.trail {
  color: rgb(0, 153, 255);
}

/* 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;
  margin: 0;
}

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

#headline-home {
  margin: 0px;
  padding: 0px;
  font-size: 2.375em;
  line-height: 1.26315789em;
  font-size: 3.085em;
}

/* Boxen */
.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: #292c37;
  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: "\f0c3";
}

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

/*iwn Text-Boxen innerhalb von Nachrichten */
.tbox-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
}

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

.tbox-left {
  color: #F00;
}

.tbox-middle {
  color: #0F0;
}

.tbox-right {
  color: #00F;
}

.tbox {
  width: 31%;
  text-align: left;
  margin: 0;
}

/*iwn Text-Boxen innerhalb von Nachrichten */
/** Buttons **/
.button a,
button {
  display: inline-block;
  padding: 0.5em 2.75em;
  background: #003399;
  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 a:hover,
button a:focus {
  background-color: #0099FF;
}

.button-center,
.text-center {
  text-align: center;
}

button {
  cursor: pointer;
}

/*** Footer ***/
#footer {
  margin-top: 5px;
  border-top: 2px solid rgb(0, 51, 153);
  /*margin-bottom: 40px;*/
  background-color: rgb(98, 98, 98);
  color: rgb(255, 255, 255);
}

#footer h5 {
  color: rgb(0, 51, 153);
  color: rgb(180, 180, 180);
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.25em;
}

#footer a,
#footer a:visited,
.footer-copyright a,
.footer-copyright a:visited {
  color: rgb(255, 255, 255);
  font-weight: lighter;
  /*text-decoration: underline;*/
}

#footer a:hover,
.footer-copyright a:hover {
  color: rgb(200, 200, 200);
  font-weight: bold;
}

.footer-copyright {
  padding: 5px 0 5px 0;
  background-color: rgb(4, 118, 212);
  color: rgb(255, 255, 255);
  font-size: 1em;
  line-height: 1.5em;
  font-weight: bold;
  text-align: center;
}

/*
.footer-copyright {
  color: rgb(255, 255, 255);
  font-weight: bold;
}*/
/*** 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;
}

#left {}

/* Subnavigation links */
#left .inside {
  /*background-color: #eee;*/
  padding-right: 20px;
}

#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: #003399;
  content: " ";
}

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

#left .mod_navigation ul li {
  /*background-color: rgb(0, 153, 255);
  color: rgb(255,255,255);*/
  border-bottom: 1px solid #ccc;
  margin: 2px 0px;
  padding: 0;
}

#left .mod_navigation ul li a,
#left .mod_navigation ul li strong {
  color: rgb(4, 118, 212);
  padding-left: 0.5em;
  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: rgb(4, 118, 212);
  font-weight: 700;
  font-style: italic;
  /*text-decoration: underline;*/
}

#left .mod_navigation ul li strong.active,
#left .mod_navigation ul li .trail {
  color: rgb<(0, 0, 0);
  padding-left: 0.5em;
  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: rgb(4, 118, 212);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 3px;
  margin-bottom: 0.25em;
}

/** Tabelle **/
table {
  width: 100%;
  overflow: auto;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
}

th, td {
  border-width: .5px;
  border-bottom-style: solid;
  border-bottom-color: #88C5F8;
  padding: 5px 10px;
}

th {
  border: none;
  background: #FFCB84;
  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: #0099FF;
}

.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: #eee;
  background: #fff;
}

.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 #003399;
}

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: 0;
}

.layout_latest h2 a {
  color: #292c37;
  text-decoration: none;
}

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

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

.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: normal;
  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: #0099FF;
  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: #eee;
  padding-left: 3px;
}

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

.calendar .today .header {
  background-color: #003399;
  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: #003399;
}

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

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

.layout_upcoming.odd {
  background: #eee;
}

/** Newsletter Footer **/
.page-newsletter #footer .mod_subscribe .error {
  display: none;
}

#footer .mod_subscribe .submit {
  width: 100%;
}

/** Suche **/
#header .mod_form {
  margin: 0.5em 0;
}

#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: 264px;
}

#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 .inside {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /*background-color: #f3f3f3; */
  }

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

  #main .inside {
    padding: 4px 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-color: #0476D4;
    margin-top: 5px;
    float: left;
    padding: 10px;
  }

  #nav-main {
    display: block;
  }

  #nav-mobile {
    display: none;
  }

  #left .mod_navigation {
    display: block;
  }

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

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

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

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

/* Viewport min 960px */
@media screen and (min-width: 960px) {
  #wrapper {
    padding: 0;
  }
}

/* Button mit 3D-Effekt */
.d3button a, d3button {
  display: inline-block;
  margin-bottom: 1em;
  padding: 6px 20px;
  font-size: 1.3125em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #ccc;
  background-color: rgb(0, 51, 153);
  border: none;
  border-radius: 15px;
  box-shadow: 2px 9px #ccc;
}

.d3button a:hover,
d3button:hover {
  background-color: rgb(0, 51, 153);
  color: rgb(255, 255, 255);
}

.d3button a:active,
d3button:active {
  background-color: rgb(0, 153, 255);
  box-shadow: 2px 5px #ccc;
  transform: translateY(4px);
}
