@import url("/assets/reset.css");
@import url("/assets/cssbox.css");
@import url("/assets/fonts/google/google.css");
@import url("/assets/fonts/fontawesome/css/all.min.css");

/* Prevent font scaling in landscape while allowing user zoom */
* {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #fdf0bd url(/media/gruener-balken.jpg);
  background-repeat: repeat-y;
  background-position: 150px;
  font-family: "Montserrat", sans-serif;
  font-size: 100%;
  overflow-y: scroll;
}

a {
  color: #660000;
  text-decoration: underline;
}
a:hover {
  color: #aa0000;
  text-decoration: underline;
}

.main strong {
  line-height: 1.25em;
}
.main p {
  margin: 0 0 15px 0;
  text-align: left;
  line-height: 1.4em;
}
.main p.news {
  margin: 0 0 12px 0;
  line-height: 14pt;
}

.main h1,
.main h2,
.main h3,
.main h4,
.main h5 {
  margin: 0 0 20px 0;
  text-align: left;
}
.main h1 {
  font-size: 1.55em;
  font-weight: 600;
  line-height: 1.15em;
}
.main h2 {
  font-size: 13px;
  font-weight: bold;
  line-height: 18px;
}
.main h3 {
  font-size: 24px;
}
.main h4 {
  font-size: 18px;
}
.main h5 {
  font-size: 14px;
}

.main ul {
  margin: 0 0 15px 35px;
  list-style-type: square;
}
.main ul ul {
  margin: 15px 0 15px 35px;
  list-style-type: square;
}
.main ul li {
  padding: 0 0 15px 2px;
  line-height: 1.25em;
}

.main ol {
  margin: 0 0 15px 35px;
  list-style-type: decimal;
}
.main ol ol {
  margin: 15px 0 15px 35px;
  list-style-type: square;
}
.main ol li {
  padding: 0 0 15px 2px;
  line-height: 1.25em;
}

.main td {
  margin: 0;
  padding: 0 10px 0 0;
  line-height: 1.25em;
}
.main td.news {
  padding: 0 0 2px 0;
}

.main hr {
  clear: both;
  border: 0;
  border-bottom: transparent;
  border-top: 1px solid #222;
  margin: 10px 0;
}

img.bord {
  margin-top: 3px;
  border-radius: 5px;
  box-shadow: 0 0 4px #222;
}
img.link {
  border: 0 solid #606060;
  float: left;
  margin-bottom: 0;
  margin-right: 7px;
  margin-top: 1px;
}

.header {
  display: flex;
  align-items: stretch;
  margin: 1em auto 0 auto;
  max-width: 1000px;
  width: 100%;
  max-height: 174px;
  padding: 4px 0 0 0;
  background: #fff url(/media/bg_header_neu.gif) no-repeat;
  background-size: 100%;
}

.item-logo {
  width: 32%;
  /* height: 16.8%; */
  margin: 0;
  /* background:yellow; */
}
.item-logo a {
  display: block;
  height: 100%;
  /* margin:0; */
  /* background:yellow; */
}

.item-klumpp {
  width: 15%;
  padding-top: 16.8%;
  margin: 0 1em 0 0;
  background: url(/media/rektorin.jpg) no-repeat;
  background-size: contain;
}

.item-hallo {
  flex: 1;
  align-self: center;
  color: #222;
  font-size: 1.5em;
  line-height: 1.2em;
  text-align: center;
  /* background: green; */
}

.item-leer {
  width: 18%;
  /* background: red; */
}

.hamburger,
.navi2 {
  margin: 0 auto;
  padding: 15px 0 0px 20px;
  max-width: 1000px;
  width: 100%;
  background: #fff url(/media/bg_content_neu.gif) repeat-y;
  background-size: contain;
}

.content {
  display: flex;
  align-items: stretch;
  margin: 0 auto;
  padding: 15px 40px 15px 20px;
  max-width: 1000px;
  width: 100%;
  background: #fff url(/media/bg_content_neu.gif) repeat-y;
  background-size: contain;
}

.navi {
  /* background: red; */
  margin-right: 20px;
}
.main {
  /* background: red; */
  flex: 1;
}

.footer {
  display: flex;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  height: 0;
  padding-top: 9.1%;
  background: url(/media/bg_footer_neu.gif) no-repeat;
  background-size: contain;
}

.gal {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
}
.gal-item {
  width: 32.3%;
  margin-bottom: 1%;
}
.gal-item img {
  width: 100%;
  object-fit: cover;
}

.datei-dl {
  display: flex;
  align-items: center;
  /* background:red; */
  /* max-width:1000px; */
  width: 100%;
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.datei-dl > div {
  margin-right: 10px;
  /* background: blue; */
}

/* Responsive */

@media only screen and (min-width: 1000px) {
  .hamburger {
    display: none;
  }
  .navi2 {
    display: none;
  }
}

@media only screen and (max-width: 999px) {
  body {
    margin: 0;
  }
  .hamburger {
    display: none;
  }
  .navi2 {
    display: none;
  }
}

@media only screen and (min-width: 769px) and (max-width: 880px) {
  .item-hallo {
    font-size: 1.2em;
    line-height: 1.1em;
    background: transparent;
  }
  .navi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .navi2 {
    display: none;
  }
  .content {
    padding: 15px 35px 15px 20px;
  }
  .header {
    margin: 0 auto;
  }
  .ck-content .table {
    margin: 1em 0;
    display: table;
    width: 100%;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    text-align: left;
  }
  table td.dp {
    display: none;
  }
  table td:first-child {
    font-weight: bold;
  }
  table tr:last-child {
    border-bottom: 0;
  }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  .item-hallo {
    font-size: 1em;
    line-height: 1.25em;
    background: transparent;
  }
  .navi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .navi2 {
    display: none;
  }
  .content {
    padding: 15px 32px 15px 20px;
  }
  .header {
    margin: 0 auto;
  }
  .ck-content .table {
    margin: 1em 0;
    display: table;
    width: 100%;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    text-align: left;
  }
  table td.dp {
    display: none;
  }
  table td:first-child {
    font-weight: bold;
  }
  table tr:last-child {
    border-bottom: 0;
  }
}

@media only screen and (min-width: 481px) and (max-width: 600px) {
  .item-klumpp {
    padding-top: 15%;
  }
  .item-hallo {
    font-size: 0.75em;
    line-height: 1.15em;
    background: transparent;
  }
  .navi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .navi2 {
    display: none;
  }
  .content {
    padding: 15px 28px 15px 20px;
  }
  .header {
    margin: 0 auto;
  }
  .main h1 {
    font-size: 1.25em;
    line-height: 1.25em;
  }
  .ck-content .table {
    margin: 1em 0;
    display: table;
    width: 100%;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    text-align: left;
  }
  table td.dp {
    display: none;
  }
  table td:first-child {
    font-weight: bold;
  }
  table tr:last-child {
    border-bottom: 0;
  }
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
  .item-klumpp {
    background-image: none;
    width: 0;
    padding-top: 15%;
  }
  .item-hallo {
    font-size: 0.55em;
    line-height: 1.25em;
    background: transparent;
  }
  .navi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .navi2 {
    display: none;
  }
  .content {
    padding: 15px 27px 15px 20px;
  }
  .header {
    margin: 0 auto;
  }
  .main h1 {
    font-size: 1.15em;
    line-height: 1.15em;
  }
  .main p,
  .main ul li,
  .main ol li,
  .main td {
    font-size: 0.8em;
  }
  .ck-content .table {
    margin: 1em 0;
    display: table;
    width: 100%;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    text-align: left;
  }
  table td.dp {
    display: none;
  }
  table td:first-child {
    font-weight: bold;
  }
  table tr:last-child {
    border-bottom: 0;
  }
}

@media only screen and (min-width: 1px) and (max-width: 319px) {
  .item-klumpp {
    background-image: none;
    width: 0;
    padding-top: 15%;
  }
  .item-hallo {
    font-size: 0.45em;
    line-height: 1.25em;
    background: transparent;
  }
  .navi {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .navi2 {
    display: none;
  }
  .content {
    padding: 15px 22px 15px 20px;
  }
  .header {
    margin: 0 auto;
  }
  .main h1 {
    font-size: 1.05em;
    line-height: 1.05em;
  }
  .main p,
  .main ul li,
  .main ol li,
  .main td {
    font-size: 0.7em;
  }
  .ck-content .table {
    margin: 1em 0;
    display: table;
    width: 100%;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    text-align: left;
  }
  table td.dp {
    display: none;
  }
  table td:first-child {
    font-weight: bold;
  }
  table tr:last-child {
    border-bottom: 0;
  }
}
