body {
  margin: 0;
}
h2 {
  margin: 0.4em 3%;
  padding: 0.2em 1%;
}
h3 {
  margin: 0.4em 3%;
  padding: 0.2em 1%;
  margin-bottom: 0.375em;
}
p {
  margin: 0.5em 3%;
  padding: 0.1em 1%;
}
a {
  text-decoration: none;
}
b,
.wrapper {
  min-width: 20em;
  max-width: 75em;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
#body {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  z-index: 50;
  padding-top: 4.75em;
  min-height: 92vh;
}
#header {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.125em;
  z-index: 99;
}
#header header {
  width: 100%;
  height: 3.5em;
  display: -webkit-flex;
  display: flex;
}
#header nav {
  display: -webkit-flex;
  display: flex;
  padding: 0 0.5em;
}
#logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  padding-left: 1.5em;
  padding-right: 0.5em;
/*  line-height: 1.7;*/
}
#logo span {
  height: 1em;
}
#menu {
  display: none;
}
label[for="showmenu"] {
  width: 4em;
  -webkit-order: 2;
  order: 2;
}
[name*="menu"] {
  display: none;
}
#searchbox {
  display: none;
}
label[for="showsearchbox"] {
  width: 4em;
  -webkit-order: 1;
  order: 1;
}
[name*="searchbox"] {
  display: none;
}
#body .wrapper {
  margin-top: 0.2em;
  margin-bottom: 1em;
}
#body header:not(#banner) {
  padding-bottom: 1em;
}
section.wrapper > h2 {
  margin: 0;
  padding: 0.5em 4%;
}
.chapter {
  min-height: 16em;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
}






#menu {
  position: absolute;
  padding: 0;
  margin: 0;
  top: 4.125em;
  left: 0;
  width: 100%;
  padding-bottom: 0.5em;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.menu {
  list-style: none;
  line-height: 2;
}
#showmenu:checked ~ #menu {
  display: -webkit-inline-flex;
  display: inline-flex;
}
#menu a {
  display: -webkit-flex;
  display: flex;
  padding: 0.75em;
}
#menu div {
  display: -webkit-flex;
  display: flex;
}
#menu li a {
  -webkit-flex: auto;
  flex: auto;
}
#menu li input ~ div label {
  width: 4em;
}
.submenu {
  display: none;
  -webkit-flex-direction: column;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
input[name*="menu"]:checked ~ .submenu {
  display: -webkit-flex;
  display: flex;
}
#searchbox {
  top: 3.5em;
  right: 4em;
  position: absolute;
  margin: 0.25em;
}
#searchbox::after {
  content: " ";
  position: absolute;
  top: -14px;
  right: 1em;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
}
#showsearchbox:checked ~ #searchbox {
  display: -webkit-inline-flex;
  display: inline-flex;
}
#searchbox input[name="q"] {
  width: 12em;
  line-height: 3;
  border: none;
  padding-left: 2.5em;
}
#searchbox input[name="btnG"] {
  cursor: pointer;
  background: url("/img/edit-find.svg") center center/3em no-repeat;
  width: 3em;
  border: none;
}
.chapter:last-of-type {
  border-bottom: none;
}
[class*="txt"],
.flex {
  padding-top: 1em;
  padding-bottom: 2em;
  margin: 0;
}
[class*="flex"] {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  min-height: 256px;
  overflow: hidden;
}
.flex > div:nth-of-type(2) {
  overflow: hidden;
  -webkit-align-self: center;
  align-self: center;
}
.flex img {
  height: 256px;
  transition: all 0.3s;
  cursor: zoom-in;
}
#slideshow {
  position: fixed;
  top: 0;
  z-index: 98;
  height: 100vh;
  width: 100vw;
  padding-top: 4.15em;
  display: grid;
  grid-template-rows: repeat(10, 1fr);
  grid-template-columns: repeat(10, 1fr);
  gap: .5em;
  background-color: blueviolet;
}
#slideshow img {
  grid-row: 2/10;
  grid-column: 2/10;
  width: 100%;
  max-height: 100%;
}
#previous {
  grid-row: 5;
  grid-column: 1;
}
#next {
  grid-row: 5;
  grid-column: 10;
}
#playbox {
  visibility: hidden;
}
#play{
  grid-row: 9;
  grid-column: 5;
}
#playbox:not(:checked) ~ #play {
  background-color: cornflowerblue;
}
#playbox:checked ~ #play {
  background-color: red;
}
.close {
  grid-row: 1;
  grid-column: 10;
}
#caption {
  grid-row: 1/2;
  grid-column: 3/10;
  font-size: 2em;
  color: red;
}
.flexbox {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}
.flexbox section {
  display: -webkit-flex;
  display: flex;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
  max-width: 25em;
  overflow: hidden;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}
.flexbox a {
  height: 4em;
  min-width: 15.01em;
  -webkit-flex: auto;
  flex: auto;
  text-align: center;
  padding-top: 12em;
}
.chapter aside {
  padding: 1em 5% 2em 23%;
  margin: 0 1% 2em;
}
.target {
  position: relative;
  top: -4.5em;
}
.chapter:nth-of-type(odd) .txt,
.txt2:nth-of-type(odd) {
  padding-right: 10%;
}
.chapter:nth-of-type(even) .txt,
.txt2:nth-of-type(even) {
  padding-left: 10%;
}
.txt1 {
  padding-left: 8%;
  padding-right: 8%;
}
.txt2 {
  min-height: 10em;
}
footer {
  left: 0;
  right: 0;
}
footer div.wrapper {
  display: -webkit-flex;
  -webkit-flex-flow: row wrap;
  display: flex;
  flex-flow: row wrap;
  position: relative;
}
#footer1 {
  display: -webkit-flex;
  -webkit-flex-flow: row wrap;
  display: flex;
  flex-flow: row wrap;
  height: 12em;
  -webkit-flex: auto;
  flex: auto;
}
#footer2 {
  display: -webkit-flex;
  -webkit-flex-flow: row wrap;
  display: flex;
  flex-flow: row wrap;
  -webkit-flex: auto;
  flex: auto;
}
footer ul {
  -webkit-align-self: baseline;
  align-self: baseline;
  list-style: none;
  margin: 1em;
  padding-left: 1em;
  line-height: 1.2;
}
#feature {
  line-height: 1.7;
  margin-left: 4%;
}
.feature:not(h3) {
  line-height: 1.7;
  margin-left: 4%;
}


.progress {
    margin: 50px auto;
    padding: 0px;
    width: 100%;
    max-width: 500px;
    background: white;
    border: 1px solid #000;
    /* border-radius: 5px; */
    height: 10px;
    overflow: hidden;
  }
  
  .progress .progress-bar {
    height: 100%;
    width: 0;
    /* border-radius: 4px; */
    background: repeating-linear-gradient(
    135deg,
    #036ffc,
    #036ffc 20px,
    #1163cf 20px,
    #1163cf 40px
  );
    /* transition: 1s; */
    animation: fill-bar 3s infinite;

  }
  
/*  label {
    color: #eee;
    margin-right: 10px;
    font-size: 16px;
  }*/
/*  input, submit {
    box-sizing: border-box;
    width: 80px;
    border-radius: 5px;
    height: 25px;
    margin-right: 5px;
  }
  */
