:root {
  --mainmenu-width: 160px;
  --title-image-height: 85px;
  --title-margin: 10px;
  --nav-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
  /* Opt-in the whole page to animating to/from intrinsic sizing keywords */
  interpolate-size: allow-keywords;
}
body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10pt;
  font-weight: normal;
  margin: 0 auto;
  max-width: 1200px;
  background: #fefefe url(images/bg_stripes.png) repeat 0 0;
  background-attachment: fixed;
  hyphens: auto;
  padding: var(--title-margin);
}

a {
  color: #0f8899;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.link-arrow {
  white-space: nowrap;
}

a.link-arrow:after {
  /* content: url(images/link-arrow.gif); */
  content: "\25B6";
  font-size: 60%;
  padding-left: 5px;
}

#pagetitle {
  display: grid;
  grid-template-columns: var(--mainmenu-width) auto;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 4.5em;
  text-decoration: none;
  color: #e8e8e8;
  text-align: center;
  text-transform: lowercase;
  text-shadow: #aaa 0 -1px 0;
  width: 100%;
}
#pagetitle #headerlogo {
  width: var(--mainmenu-width);
  height: var(--title-image-height);
  box-shadow: var(--nav-shadow);
}
#pagetitle #headertext {
  align-self: center;
}
#burgermenu {
  position: relative;
  padding-left: 1.25em;
  font-family: "Trebuchet MS", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 2em;
  line-height: 1.3;
  margin: 5px;

  display: none; /* will be overwritten by mobil css style */
}
#burgermenu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1em;
  height: 0.15em;
  background: black;
  box-shadow: 0 0.25em 0 0 black, 0 0.5em 0 0 black;
}
#burgermenu::after {
  content: "";
  position: absolute;
  background-image: url(images/gwcgt.png);
  width: 3em;
  height: 100%;
  top: 0;
  right: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
#rootnavigation {
  font-size: 1.1em;
  text-align: left;
  clear: both;
  float: left;
  width: var(--mainmenu-width);
  position: fixed;
}
@supports (top: max(1em, 1px)) {
  #rootnavigation {
    /* margin of content + height of header minus scrollTop, but not smaller than a margin
			https://lea.verou.me/2020/06/hybrid-positioning-with-css-variables-and-max/
			 */
    top: max(
      /*magic number*/ 5px + var(--title-margin) + var(--title-margin) +
        var(--title-image-height) - var(--scrolltop, 0) * 1px,
      var(--title-margin)
    );
  }
}

nav {
  font-weight: normal;
  line-height: 1.3;
  color: #fff;
  padding: 1em 0;
  margin-bottom: var(--title-margin);
  /*     border-bottom-left-radius: 20px;
    border-top-left-radius: 20px; */
}
#rootnavigationcontent {
  background-color: #27a22d;
  box-shadow: var(--nav-shadow);
}
#seconderynavigationcontent {
  margin-left: 2em;
  background-color: #208222;
  box-shadow: var(--nav-shadow);
}

#content {
  margin-left: var(--mainmenu-width);
}
nav summary::marker {
  content: "";
}
nav summary,
nav a,
nav em {
  cursor: pointer;
  font-family: "Trebuchet MS", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-shadow: 0 0 0 transparent, 1px 1px 1px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  display: block;
  padding: 0.15em 0.7em;
  margin-top: 0.15em;
  margin-bottom: 0.15em;
  margin-right: 0.5em;
  margin-left: 1em;
  /* border-radius: 15px; */
  border-color: #ca1414;
  border: 1px solid transparent;
  transition: border-color 0.1s linear, background 0.1s linear;
  height: 1.3rem;
}
nav details {
  margin-left: 0;
  margin-right: 0;
}

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    nav details {
      /** row height + margins + border */
      height: calc(1.3rem + 0.15rem + 0.15rem + 1px + 1px);
      transition: height 0.25s ease-in-out;

      &[open] {
        height: auto;
        overflow: clip; /* Clip off contents while animating */
      }
    }
    [open]::details-content {
      height: auto;
    }
    ::details-content {
      transition: height 0.5s ease, content-visibility 0.5s ease allow-discrete;
      height: 0;
      overflow: clip;
    }
  }
}

nav a:first-child {
  border-top: none;
}

nav em {
  font-style: normal;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.4) rgba(255, 255, 255, 0.3)
    rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.2);
}

nav em.sub,
nav a.sub {
  height: 1.3em;
  font-size: 75%;
  text-align: left;
  text-indent: 1.5em;
  margin-top: 4px;
  margin-bottom: 4px;
  border-top: none;
}

nav a:link,
nav a:visited {
  text-decoration: none;
  color: #fff;
}

nav summary:hover,
nav a:hover {
  border-color: rgba(0, 0, 0, 0.4) rgba(255, 255, 255, 0.3)
    rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.2);
}

hr {
  border: none;
  border-top: 0 solid #e8e8e8;
  background-color: #e8e8e8;
  height: 1px;
  width: 100%;
}

div.section {
  font-weight: normal;
  color: #222;
  line-height: 1.8em;
  background-color: #f7f7f7;
  margin: 1.1em 2em 1.5em 1em;
  padding: 1em 1.5em 1em 2em;

  /*   border-bottom-right-radius: 15px;
  border-top-right-radius: 15px; */

  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.3);

  border: 1px solid #e6e6e6;
}

div.section .tournament {
  content-visibility: auto;
  contain-intrinsic-size: auto 50px auto 1000px;
  margin-bottom: 5em;
}
div.section h1 {
  font-family: Helvetica, "Trebuchet MS", Arial, sans-serif; /*Georgia, "Times New Roman", serif;*/
  font-size: 2.4em;
  font-style: normal;
  font-weight: normal;
  letter-spacing: -1px;
  line-height: 1.1em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  color: #333;
  margin-top: 0;
  padding-top: 15px;
  padding-bottom: 5px;
}

div.section h2 {
  font-family: Helvetica, "Trebuchet MS", Arial, sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  font-style: normal;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  color: #454545;
  margin-top: 0;
  padding-top: 10px;
}

div.section h3 {
  font-family: Helvetica, "Trebuchet MS", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  color: #454545;
  margin: 0;
  margin-top: 6px;
  padding-top: 0px;
}
div.section p {
  margin-top: 1px;
  text-align: justify;
  font-size: 18px;
}
div.section .newsEntry {
  font-size: 18px;
  margin-bottom: 1.8em;
}
#footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-gap: 30px;
}

div.faq h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
  color: #454545;
  line-height: 1.2em;
  margin-top: 0;
  padding-top: 0;
}

input:invalid,
textarea:invalid {
  border: 1px dashed red;
}
input,
textarea {
  hyphens: none;
  max-width: 100%;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
.button {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 1.1em;
  line-height: 1;
  color: #444;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
  margin: 10px 0;
  padding: 8px 20px;
  border: 1px solid #ccc;
  background: linear-gradient(to bottom, #ffffff 0%, #bbbbbb 100%);
  /* border-radius: 23px; */
}

input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  color: #111;
  box-shadow: 0 0 6px rgba(125, 150, 190, 0.95);
}

.flexcontainer {
  display: flex; /*firefox 18, opera 12.1 */
}
.flexitem {
  flex: 1; /* stellt ein, dass die "zellen" alle gleich breit sind*/
  padding-right: 15px;
}

table.newstable,
.terminliste table {
  border-collapse: collapse;
}

table.newstable th,
.terminliste table th {
  font-weight: normal;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  color: #555;
  padding: 6px 4px;
  border-bottom: 1px solid #e8e8e8;
}

table.newstable td,
.terminliste table td {
  border-bottom: 1px dotted #efefef;
  color: #444;
  padding: 6px 4px;
  vertical-align: top;
}

table td.newstime {
  white-space: nowrap;
  text-align: left;
  min-width: 70px;
}
table td.newsauthor {
  white-space: nowrap;
  text-align: left;
}

table th.category {
  min-width: 50px;
}

table th.date {
  min-width: 60px;
}

table th.time {
  white-space: nowrap;
  min-width: 70px;
}

table th.content {
  text-align: left;
}

table th.author {
  white-space: nowrap;
  text-align: left;
  min-width: 80px;
}

table.column2 {
  width: 100%;
}

table.column2 td {
  text-align: left;
  vertical-align: top;
  width: 50%;
  padding-right: 25px;
}

table.column3 {
  width: 100%;
}

table.column3 td {
  text-align: left;
  vertical-align: top;
  width: 33%;
  padding-right: 25px;
}

table.column4 {
  width: 100%;
}

table.column4 td {
  text-align: left;
  vertical-align: top;
  width: 25%;
  padding-right: 15px;
}
.nowrap {
  white-space: nowrap;
}

ul {
  padding-left: 1em;
}

ul li {
  /* list-style-image: url(images/link-arrow-grey.gif);*/
  list-style: none;
  padding: 0px;
}
ul li:before {
  content: "\25B6";
  margin: 0 1em;
  font-size: 0.8em;
  color: grey;
}

.multicolumn2 {
  column-count: 2;
  column-gap: 50px;
}

.multicolumn3 {
  column-count: 3;
  column-gap: 50px;
}

.multicolumn4 {
  column-count: 4;
  column-gap: 50px;
}
textarea {
  /* border-radius: 6px; */
  border-width: 2px;
  border-color: rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1)
    rgba(0, 0, 0, 0.35);
  padding: 6px;
}

@media (max-width: 700px) {
  #pagetitle #headertext {
    font-size: 7dvw;
  }
  #footer {
    grid-template-columns: auto;
    grid-gap: 1em;
  }
}

/*******************************************************************************
	mobile view
*******************************************************************************/
@media (max-width: 480px) {
  body {
    font-size: medium;
  }
  #pagetitle {
    display: none;
    background-image: none;
  }
  #burgermenu {
    display: block;
  }
  #rootnavigation {
    float: none;
    width: auto;
    margin: 0;
    top: unset;
    position: unset;
    /*		font-size:2em; */
    overflow: hidden;
    height: auto;
  }

  @media (prefers-reduced-motion: no-preference) {
    #rootnavigation {
      transition: height 0.25s ease-in-out;
    }
  }
  #rootnavigation.menuhide {
    height: 0;
  }
  nav {
    border-color: #900;
    /*		font-size:1em; */
    margin: 0;
  }
  div.section {
    margin: 0.5em auto auto auto;
    padding: 1em;
    line-height: normal;
    /*content-visibility: auto;*/
  }
  div.section h2 {
    padding-top: 0;
  }

  #content {
    margin-left: 0;
  }
  .flexcontainer {
    display: block;
  }
  .flexitem {
    padding-right: 0;
  }
  .hideMobile {
    display: none;
  }
  table th.content {
    text-align: center;
  }
  table.column2 td {
    width: auto;
    padding-right: 0;
  }
  table.column3 td {
    width: auto;
    padding-right: 0;
  }
  table.column4 td {
    width: auto;
    padding-right: 0;
  }
  .newsdate {
    font-weight: bold;
  }

  a.link-arrow {
    white-space: normal;
  }
}
@media print {
  #pagetitle {
    background-image: none;
  }
  .printHidden {
    display: none;
  }
  div.section {
    border: none;
  }
  #content {
    margin-left: auto;
  }
}
/*sonst malt Gecko wild rahmen um Linkbilder*/
img {
  border: none;
}
form {
  margin: 0;
  padding: 0;
}
