html, body{
  background-color: var(--bg-tertiary);
}
.guide {
  padding-top: 64px;
}
.div70{
  width: 75%;
  justify-self: right;
  min-height: calc(100vh - 96px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 32px;
}
.tabs {
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin: 8px 0;
  border-bottom: 1px solid var(--color-primary);
}
.tab-btn {
  padding: 6px 16px 4px 16px;
  cursor: pointer;
  background: transparent;
  margin-bottom: -1px;
  color: var(--color-primary) !important;
  box-sizing: border-box;
  border: none;
}
.tab-btn + .tab-btn {
      /* prevents double borders */
}
.tab-btn.active {
  border: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--bg-tertiary);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.accordion{
  padding: 8px 16px;
  border-bottom: 1px solid var(--color-primary);
  border-top: 1px solid var(--color-primary);
  margin-top: -1px;
}
.no-accordion{
  padding: 8px 16px;
}
.accordion.no-border {
  border-top: 1px solid transparent!important;
  padding-top: 0;
}
.accordion .text-big{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion span{
  cursor: pointer;
}
.accordion .symbol{
  font-size: 32px;
}
.accordion-panel {
  display: none;
  width: 100%;
  max-width: 800px;
  overflow-x: visible;
}
.mask-container{
  width: 80%;
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 auto;
}
.mask{
  width: 100%;
  height: auto;
  grid-row-start: 1;
  grid-column-start: 1;
  justify-self: center;
  align-self: center;
  padding: 0;
}
.top{
  width: 101%;
  height: auto;
  z-index: 10;
}
.top img{
  width: 100.5%;
}
ul, ol{
  padding-left: 16px;
}
ul li{
  margin-bottom: 8px;
}
ol{
  list-style-type: upper-alpha;
  padding-bottom: 0;
}
.indent{
  padding-left: 20px;
}
table, tr, th, td {
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}
.table-scroll{
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch; /* smoother scrolling on iOS */
}

table{
  border-spacing: 8px;
  min-width: 650px;   /* or whatever width your timetable needs */
  width: max-content; /* optional */
}
.table-scroll::-webkit-scrollbar {
  display: block;
  height: 8px !important;
}
.table-scroll::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
.table-scroll::-webkit-scrollbar-thumb {
  background: white;
  border: 2px solid var(--bg-primary);

}
th{
  font-weight: 500;
}
td, th{
  border-bottom: 1px solid var(--color-primary);
  padding: 0 8px 8px 8px;
}
table a{
  color: var(--color-primary);
}
.lang a{
  color: var(--color-primary);
}
.button{
  padding: 4px 16px;
  border: 1.5px solid var(--color-primary);
  text-decoration: none;
  background-color: var(--bg-primary);
  cursor: pointer;
}
.button-list{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px 0 0 0;
}
.big-button{
  padding: 8px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid white;
  background-color: var(--bg-primary);
  width: calc(50% - 16px);
  margin: 0 16px 16px 0;
  height: 100px;
  border-radius: 8px;

}

.big-button .right{
  align-self: flex-end;
}
@media (orientation: portrait) {
  .div70{
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .guide {
    padding-top: 40px;
  }
  .div70{
    min-height: calc(100vh - 174px);
    padding-bottom: 24px;
  }
  .tabs {
    margin: 4px 0;
  }
  .tab-btn {
    padding: 4px 10px 4px 10px;

  }
  .accordion{
    padding: 4px 12px;
  }
  .no-accordion{
    padding: 4px 12px;
  }
  ul li{
    margin-bottom: 4px;
  }
  .mask-container{
    width: 100%;
  }
  .big-button{
    width: 100%;
    margin: 0px 0 16px 0;
  }

}
