/* * * * * * * * * * * * * * * * * * * */
/* UPDATES on simple.css */
:root {
  --accent-bg: 245, 247, 255; /* #f5f7ff; */
}

body > header {
  padding: 0 0.5rem 0.5rem 0.5rem;
}
body > footer {
  margin-top: 0rem;
  padding: 0rem;
}
h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h3 {
  margin-top: 1rem;
}

a:not([href]),
a:not([href]):hover {
    color: lightgray;
}

details {
    display: flow-root;
}
summary {
    word-break: normal;
}

body > header {
  background-image: url("/img/logo_header.jpg"), url("/img/bgcover.png");
  background-position: left;
  background-repeat: no-repeat, repeat;
  background-size: contain;
  padding-left: max(5%, 250px);
}

@media only screen and (max-width: 720px) {
  header > nav a {
    border: 1px solid var(--border);
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    margin: 0 0.2rem 0.5rem 0.2rem;
  }
  body > header {
    background-position: center;
    padding: 0 0.2rem 1rem 0.2rem;
  }
}


/* * * * * * * * * * * * * * * * * * * */
/* NEW CSS: */

img.logoL, img.logoR {
    xborder: 1px solid red;
    float: left;
    max-width: 20%;
}
img.logoR {
    float: right;
}

img.thumb {
    max-height: 200px;
}


header > h1,
header > h2,
header > nav a {
    background: rgba(var(--accent-bg), 0.7);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: rgba(var(--text));
}

@media (prefers-color-scheme: dark) {
    header > h1,
    header > h2,
    header > nav a:visited,
    header > nav a {
        color: #212121;
    }
}

header > nav a {
    background: rgba(var(--accent-bg), 1);
}

.fblink {
    float: right
}
.fblink img {
    max-height: 1.5rem;
}

/* ** */
/* https://www.nieknijland.nl/blog/make-a-responsive-carousel-with-just-css */
.list-wrapper {
  position: relative;
}

.list-wrapper .list {
  display: flex;
  gap: 8px;
  padding: 16px;

  list-style: none;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hide scrollbar in webkit */
.list-wrapper .list::-webkit-scrollbar {
  display: none;
}

.list-wrapper .item {
  flex-shrink: 0;
  width: 80%;
  xheight: 90vh;
  scroll-snap-align: center;
}

.list-wrapper .content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: sans-serif;
  font-size: 64px;
  font-weight: bold;
}

.list-wrapper .button {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
}

.list-wrapper .button--previous {
  left: 0.5rem;
}

.list-wrapper .button--next {
  right: 0.5rem;
}
@media only screen and (max-width: 720px) {
    .list-wrapper .button--previous,
    .list-wrapper .button--next {
        display: none;
    }
}
/* ** */
@media print {
    body.workshop {
        height: auto;
        xborder: solid 2px green;
        font-size: 1em;
    }
    main {
        padding-bottom: 1rem;
    }
}
footer span.print-url {
    display: none;
}
@media print {
  footer span.print-url {
    display: block;
    font-size: 12px;
    color: gray;
  }
}

.newpage {
    page-break-before: always;
}


/* * * * * * * * * * * * * * * * * * * * * * * */

         .toggle.work { display: none; }
.workshop.toggle.full { display: none; }
.workshop.toggle.work { display: list-item; }


.mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  user-select: none;
  font-family: sans-serif;
  font-size: 0.95rem;

  padding: 6px 12px;        /* ruimte binnenin */
  border: 1px solid #ccc;   /* subtiel randje */
  border-radius: 9999px;    /* maakt 'm ellips/capsule */
  float: right;
}

         .toggle.label-work { opacity: 0.4; }
.workshop.toggle.label-full { opacity: 0.4; }
.workshop.toggle.label-work { opacity: 1.0; }

.switch {
  width: 42px;
  height: 22px;
  xbackground: #66bb6a;
  background: #66bb6a;
  border-radius: 12px;
  position: relative;
  transition: background 0.25s ease;
}

.knob {
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.25s ease;
}

.workshop.switch {
  xbackground: #ccc;
  background: #ffb74d;
}

.workshop.switch .knob {
  transform: translateX(20px);
}


/* * * * * * * * * * * * * * * * * * * * * * * */
