/* TITLE */
#title h1 {
  padding: 1rem 0.5rem 0 0.5rem;
  font-size: 1.9vw;
  font-family: sans-serif;
  line-height: 0.5;
  color: var(--highlightColor);
}

#title h1:hover {
  color: black;
}

#title > summary {
  cursor: pointer;
  list-style: none;
}

/* date next to title */
.subheading summary small {
  color: var(--highlightColor) !important;
  border-top: none;
  display: inline;
  text-align: right;
  position: absolute;
  right: 0;
  padding-right: var(--gapS);
}

/* HOVER */
summary:hover,
label:hover,
#title summary:hover span {
  color: var(--highlightColor);
  /* opacity: 0.5; */
}

#title > summary::-webkit-details-marker {
  display: none;
}

/* BORDER-TOP */
h2,
h3,
small,
.customization,
.text {
  display: block;
  border-top: 1px solid var(--highlightColor);
  padding: 0.25rem 0.5rem;
}

main summary {
  border-top: 1px solid var(--highlightColor);
}

.note {
  border-top: none;
  /* color: var(--highlightColor); */
}

/* CUSTOMIZATION */
input {
  vertical-align: middle;
}

label {
  vertical-align: middle;
}

/* SUBHEADING */
.subheading {
  font-size: 2rem;
}

.subheading--time {
  padding-left: 0.125rem;
}

.subheading summary {
  padding-left: 0.5rem;
}

.subheading summary em {
  text-transform: uppercase;
}

/* TEXT */
.text--content {
  border-top: none;
  margin-left: 1rem;
}

.text--medium {
  font-size: 1rem;
}

.text--small {
  font-size: 0.65rem;
}

.text ol {
  padding-left: 1rem;
}

.text details summary {
  color: var(--highlightColor);
}

.text details summary:hover {
  color: black;
}

.text details ul,
.text details ol {
  /* padding-left: 1.68rem; */
  padding-left: 2.5rem;
}

.text details details summary {
  border-top: 0px;
}
.text details details {
  padding: 0 0.5rem 0 1rem;
}

.text--list ul,
.text--list ol {
  padding-left: 1.5rem;
}

dl {
  padding-left: 1.5rem;
}

dt {
  margin-left: -1.5rem;
}

.slot--content dt {
  margin-left: 0;
}

.text--schedule {
  padding: 0 !important;
}

.slot--content {
  padding: 1rem 0;
}

/* EXERCISES */
.exercise {
  padding-left: 1.5rem;
}

/* THEORY */
#theory dl {
  margin-top: 1rem;
}

#theory dd {
  margin: 0 0.5rem 0.5rem 0;
}

/* LAYOUT */
/* padding / layout */

.customization--options p,
.schedule,
main {
  padding-top: 5rem;
}

/* 2 / 4 - column layout */
.layout {
  display: flex;
  flex-wrap: wrap;
}

.layout.columns-2 .column {
  flex: 0 0 50%;
  overflow: hidden;
}

.layout.columns-2 .column--right {
  margin-left: 50%;
}

.layout.columns-4 .column {
  flex: 0 1 25%;
}

/* full width column */
.full-width {
  width: 100%;
}
.full-width small {
  width: 100%;
  display: block;
}

@media screen and (max-width: 1000px) {
  .layout.columns-2 .column {
    flex: 0 0 100%;
    margin-left: 0;
  }

  .layout.columns-2 .right-side {
    margin-left: 0%;
  }

  .layout.columns-4 .column {
    flex: 1 1 45%;
  }

  .layout.columns-4 .column:last-child {
    margin-right: 0;
  }
}

/* DETAILS / SUMMARY */
summary {
  cursor: pointer;
}

::marker {
  color: var(--highlightColor);
}
