/* @meta { Title: "CSS für www.aikido-regensburg-nord.de, Feb 2021"; } */
/* Copyright (c)2021 Karl Breuer */

@font-face {
font-family:TektonPro;
src:url(TektonPro-Regular.otf);
}

* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  margin: 0;
  z-index: 10;
}

html {
  font-family: "Lucida Sans", sans-serif;
}

body a {text-decoration:none;}
body a:hover {
    color: #bbbbbb;
    /*background-color: #bbbbbb;*/
}

.kopf {
  background: white;
  display:flex;
  color: #ffffff;
  overflow-y: hidden;
  overflow-x: hidden;
}
.kopf img {
    position: relative;
    height:auto;
    z-index: 10;
}
.img-left {
  margin: 0 auto auto 0;
  max-width: 30%;
}
.img-right {
  margin: 0 0 auto auto;
  max-width: 15%;
}

.derInhalt {
  width: 100%;
  margin: 0 auto 0 auto;
  z-index: 10;
}
.Inhalt_box { line-height: 1.5em; }
@media (min-width: 500px){
    .Inhalt_box {
        display: table;
        background: white;
        width: 100%;
        border: black;
    }
    .Inhalt_zeile {
        width: 100%;
    }
    .Inhalt_spalte {
        display: table-cell;
        padding: 5px 1px 5px 5px;
        margin-left: 5px;
        background: white;
        width: 20%;
        border: dotted #cccccc 1px;
    }
    .Inhalt_spalte1{
        display: table-cell;
        padding: 3px 1px 5px 9px;
        margin-left: 5px;
        background: white;
        width: 20%;
    }
    .Inhalt_spalte2 {
        vertical-align: top;
        display: table-cell;
        padding: 3px 5px 5px 9px;
        margin-left: 5px;
        background: white;
        width: 52%;
        border: none;
    }
    .Inhalt_spalte2 img {
        padding-left: 20px;
    }
}

.navi {
    font-size: 0.9rem;
    text-align: center;
    z-index: 0;
}

article {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5rem;
  width: 90%;
  background: white;
  z-index: 10;
  line-height: 1.8;
  font-size: 0.9em;
}

.fuss {
  background-color: white;
  font-size: 0.9rem;
      text-align: center;
  width: 100%;
  margin-top: 1em;
  padding: 0.2rem 0.7rem 0.9rem 0.7rem;
  line-height: 2.1;
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -19px 38px, rgba(0, 0, 0, 0.09) 0px -15px 12px;
}
.fuss hr { border: 1px dotted grey; }

/* interner Mitgliederbereich */
.kopfintern img {
  padding: 0 2em 0 2em;
  margin-bottom: 2em;
}
.kopfintern h1 h2 {
  margin-top: 0.05em;
}
.inhaltIntern {
  width: 80%;
  margin: 0 auto 0 auto;
}
.inhaltIntern ul li {}
/* Ende Mitgliederbereich */

h1 h2 h3 {padding-top: 0.4rem;}
h1 {font-size: 2.5rem; font-family:TektonPro}
h2 {font-size: 1.8em;}
h3 {font-size: 1.1em;}
h4 {font-size: 0.9em;}


/* h4.nach, h5.nach, h6.nach {margin-bottom: 4px;} */
.nach {margin-bottom: .23rem;}
.vor {margin-top: .24rem;}
.wichtig {color: red; text-align: center;}
.blau {color: blue; }

.trenn {
    text-align: right;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.trenn hr {
    border: 1px dotted grey; 
}

.nachrichten {
    /*float: right;
    width: 20%;
    margin: 1em 2.5em auto auto;
    background: white;
    position: relative; */
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -19px 38px, rgba(0, 0, 0, 0.09) 0px -15px 12px;
}

.mitglieder {
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -19px 38px, rgba(0, 0, 0, 0.09) 0px -15px 12px;
}

/* für Google-Map */
iframe {
    width: 36em;
    height: 23em;
}

/*******************/
/* Kontaktformular */
/*******************/
form textarea {
    width: 90%;
}
@media only screen and (min-width: 600px) {
  iframe { width: 54em; height: 27em; }
  .derInhalt { margin-top: 2em; }
  .img-left { margin: 0.25em auto auto 0.25em; max-width: 25%; }
  .img-right { margin: 0.25em 0.25em auto auto; }
}
@media only screen and (min-width: 768px) {
  iframe { width: 60em; height: 33em; }
  .derInhalt { margin-top: 3em; }
}
@media only screen and (min-width: 992px) {
  h1 {font-size: 4.5rem;}
  iframe { width: 55em; height: 33em; }
  .derInhalt { margin-top: 4em; }
  form textarea { width: 50%;}
}
@media only screen and (min-width: 1200px) {
  iframe { width: 72em; height: 42em; }
  .derInhalt { margin-top: 13em; width: 50%;}
}
.ifr { font-size: 0.6em; }
.ifr a { font-size: 0.6em; }
/* Ende Kontaktformular */



/*******************************************
 * N E S T E D   A C C O R D I O N         *
 * https://www.cssscript.com/multilevel-accordion-menu-with-plain-html-css/
 *******************************************/
ul {
  list-style-type: none;
  padding-left: 0px;
}

/*******************
 * top level items *
 *******************/
/*.nav a,*/

.nav label {
  display: block;
  font-size: large;
  font-weight: bold;
  padding: .5em;
  color: black;
  background-color: white; /* #FFD47F29;
/*  background: linear-gradient(to bottom, #d8d8d8, #ffffff);*/
/*  box-shadow: inset 0 -1px #1d1d1d;*/
  -webkit-transition: all .25s ease-in;
  transition: all .25s ease-in;
  /*border: dotted 1px;*/
  border-color: grey;
}

.nav a:link { color: black; background: white; }
/* .nav a:focus, .nav a:hover, .nav label:focus, .nav label:hover { */
.nav a:hover, .nav label:hover {
  color: red /* rgba(255, 255, 255, 0.5); */
  background: silver;
}
.nav a:active, .nav label:active, .nav a:visited, .nav label:visited {
  color: black;
  background: white;
}
.nav label { cursor: pointer; }

/*******************
 * sub level items *
 *******************/

/* Styling first level lists items */


/*************************/
/*   active elements ... */
/*************************/
/*.group-list a,*/
.group-list-active label {
  padding-left: .45em;
  background: white; /* #fffff2; */
  font-size: .8em;
  color: black;
  font-weight: bold;
  border-bottom: dotted 1px #acacac; 
/*  box-shadow: inset 0 -1px #373737;*/
}
.group-list-active li {
  height: auto;
  padding: 0 .85em 0 .55em;
}

.group-list-active a:hover, .group-list-active a:focus, .group-list-active label:hover, .group-list-active label:focus { background: silver; }
.group-list-active a:active, .group-list-active label:active { background: white; }

/* Styling second level list items */
.sub-group-list-active label {
  padding: .3em .3em 0 .3em;
  color: blue;
  font-weight: normal;
  font-size: 0.8em;
  background: white; /* #fffff2; */
  border-bottom: none;
/*  box-shadow: inset 0 -1px #474747; */
}

.sub-group-list-active li {
  padding: .1em .2em 0 .85em;
}

.sub-sub-group-list-active label {
  color: blue;
}

.sub-sub-group-list-active li {
    font-size: 0.8em;
    padding: 0 .9em 0 .9em;
}

/*************************/
/* inactive elements ... */
/*************************/
.group-list label {
  padding-left: .45em;
  background: white; /* #fffff2; */
  font-size: .8em;
  color: blue;
  font-weight: bold;
  border-bottom: dotted 1px #acacac; 
/*  box-shadow: inset 0 -1px #373737;*/
}
.group-list li {
  height: auto;
  padding: 0 .85em 0 .55em;
}

.group-list a:hover, .group-list a:focus, .group-list label:hover, .group-list label:focus { background: silver; }
.group-list a:active, .group-list label:active { background: white; }

/* Styling second level list items */
.sub-group-list label {
  padding: .3em .3em 0 .3em;
  color: blue;
  font-weight: normal;
  font-size: 0.8em;
  background: white; /* #fffff2; */
  border-bottom: none;
/*  box-shadow: inset 0 -1px #474747; */
}

.sub-group-list li {
  padding: .1em .2em 0 .85em;
}

.sub-sub-group-list label {
  color: blue;
}

.sub-sub-group-list li {
    font-size: 0.8em;
    padding: 0 .9em 0 .9em;
}

/* .sub-group-list a:focus, .sub-group-list a:hover, .sub-group-list label:focus, .sub-group-list label:hover { background: #232323; }*/

/* Styling third level list items */
/*
.sub-sub-group-list a, .sub-sub-group-list label {
  padding-left: 6rem;
  background: red;
  box-shadow: inset 0 -1px #575757;
} 

.sub-sub-group-list a:focus, .sub-sub-group-list a:hover, .sub-sub-group-list label:focus, .sub-sub-group-list label:hover { background: #333333; }
*/

/*********************
 * Hide nested lists *
 *********************/
/*
.group-list-active, .sub-group-list-active, .sub-sub-group-list-active {
  height: 0;
  max-height: 100%;
  overflow: hidden;
  -webkit-transition: max-height .5s ease;
  transition: max-height .5s ease;
}
*/

.group-list, .sub-group-list, .sub-sub-group-list {
  height: 100%;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .3s ease-in-out;
  transition: max-height .3s ease-in-out;
}

.nav__list input[type=checkbox]:checked + label + ul { /* reset the height when checkbox is checked */
max-height: 2000px; }

/***********************************
 * Rotating chevron icon on toggle *
 ***********************************/
label > span {
  padding: 0.4em 0 0 0;
  float: right;
  -webkit-transition: -webkit-transform .65s ease;
  transition: transform .65s ease;
}

.nav__list input[type=checkbox]:checked + label > span {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
/* END NESTED ACCORDION */

/*****************************************
 * S L I D E S H O W                     *
 * https://www.cssscript.com/css-only-crossfading-background-slideshow/ *
 *****************************************/
.crossfade > figure {
  animation: imageAnimation 48s linear infinite 0s;
  backface-visibility: hidden;
  background-size: contain;
  background-position: top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0 0 0 0;
  color: green;
  height: 25%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 5;
}
/*@media only screen and (min-width: 450px) {
    .crossfade > figure { height: 35%; }
}*/
@media only screen and (min-width: 600px) {
    .crossfade > figure { height: 40%; }
}
@media only screen and (min-width: 700px) {
    .crossfade > figure { height: 45%; }
}

.crossfade > figure:nth-child(1) {
  background-image: url('/bilder/rotate/hakama.jpg'); }
.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('/bilder/rotate/bokken.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('/bilder/rotate/slider8sw.png');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url('/bilder/rotate/keiko.jpg');
}
.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('/bilder/rotate/kokyu-nage.jpg');
}
.crossfade > figure:nth-child(6) {
  animation-delay: 30s;
  background-image: url('/bilder/rotate/kamae.jpg');
}
.crossfade > figure:nth-child(7) {
  animation-delay: 36s;
  background-image: url('/bilder/rotate/kata.jpg');
}
.crossfade > figure:nth-child(8) {
  animation-delay: 42s;
  background-image: url('/bilder/rotate/zanshin.jpg');
}

@keyframes 
imageAnimation {  0%
    {
        animation-timing-function: ease-in;
        opacity: 0;
    }
 8% {
        animation-timing-function: ease-out;
        opacity: 1;
    }
 17% {
        opacity: 1
    }
 25% {
        opacity: 0
    }
 100% {
        opacity: 0
    }
}

/**********************************
 * div termine
 **********************************/
.termine { 
  position: relative;
  background:white; 
  font-size: 0.9em;
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -19px 38px, rgba(0, 0, 0, 0.09) 0px -15px 12px;
}

.termin-home {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: -1.5em;
}

#Termine_box {
    padding: 0.2rem;
    /* overflow-y: scroll; */
    /*max-height: 250px;*/
    width: 100%
}

.termin a:link, .termin a:active, .termin label:active, .termin a:visited, .termin label:visited
    { color: blue; background: white; }

.nachrichten li li a:link, .nachrichten li li a:active, .nachrichten li label:active, .nachrichten li a:visited, .nachrichten li label:visited
    { color: blue; background: white; }

table {
    width: 100%;
    border: 1px dotted #cccccc;
    border-collapse: collapse;
}
td {
    padding: 0.35rem;
    border: 1px dotted #000000;
    text-align: left;
    vertical-align: top;
}
th {
    text-align: center;
}
#monat {
    font-weight: bold;
    background-color: #d8d8d8;
    border: 1px solid #d8d8d8;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.col1 {
    display: table-cell;
    text-align: left;
    border: 1px dotted #cccccc;
    width: 3.5rem;
    padding: 0.35rem;
}
.col2 {
    display: table-cell;
    text-align: left;
    border: 1px dotted #cccccc;
    /*width: 55rem;*/
    padding: 0.35rem;
}
.col3 {
    display: table-cell;
    text-align: center;
    border: 1px dotted #cccccc;
    width: 2rem;
    padding: 0.25rem;
}
.col4 {
    display: table-cell;
    text-align: center;
    border: 1px dotted #cccccc;
    width: 2rem;
    padding: 0.25rem;
    height: auto;
}
/* Ende Termine */
