/* MAIN PAGE */
:root {
  --ast-global-color-0: #f26419;
  --ast-global-color-1: #000000;
  --ast-global-color-2: #000000;
  --ast-global-color-3: rgba(0,0,0,0.6);
  --ast-global-color-4: #f7f7f7;
  --ast-global-color-5: #ffffff;
  --ast-global-color-6: rgba(255,255,255,0.65);
  --ast-global-color-7: #000000;
  --ast-global-color-8: #5f5f5f;
  --ast-border-color: #dddddd;
  --accent-color: #F26419;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh; /* Ensures the body takes full viewport height */
  display: flex;
  justify-content: center;  /* Horizontal centering */
  align-items: center;      /* Vertical centering */
}


html {
  font-size: 93.75%;
}
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  font-size: 1rem;
  line-height: 1.6em;
  color: var(--ast-global-color-3);
}


/* POPUP */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.5);

  /* Flexbox centering */
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 460px;
  max-height: 90vh;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}
.popupLink {
  text-align: right;
}
a {
  color: var(--ast-global-color-3);
  text-decoration: underline;
}
a:hover {
  color: var(--accent-color);
}
.popupTable {
  border-collapse: collapse;
  width: auto;
  font-family: Arial, sans-serif;
}
.popupTable th, .popupTable td {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  border-left: none;
  border-right: none;
  padding: 8px 12px;
}
.popupTable thead th {
  font-size: 1.1em;
  text-align: left;
  font-weight: bold;
  border-bottom: 3px solid #333;
  border-top: none;
}
.popupTable th:first-child {
  width: 150px;
}
.popupTable th:last-child,
.popupTable td:last-child {
  width: 275px;
}
.popupTable td:first-child {
  width: 150px;
  text-align: right;
  font-weight: bold;
}
.popupTable tr {
  border-left: none;
  border-right: none;
}
.popupTable th:not(:first-child),
.popupTable td:not(:first-child) {
  text-align: left;
}
.popupTable tbody tr:last-child td {
  border-bottom: none;
}
.credits {
  width: 460px;
  text-align: right;
  font-size: 0.75em;
  color: #888;
  margin: 5px 0 0 0;
  padding: 0;
  line-height: 1.5;
}



.container {
  display: flex;
  gap: 16px;
}
.sf-controls tr > * {
  padding-top: 0;
  padding-bottom: 0;
}

/* Sketchfab */
.sketchfab-iframe {
  width: 880px;
  height: 550px;
  border: 1px solid #dee2e6 !important;
  border-color: #8e8e8e !important;
  border-radius: 0.25rem !important;
}
/* remove margin for indentation */
.navTree ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.navTree li {
  padding: 13px 0;
  font-weight: bold;
}
.navTree li li {
  padding: 5px 0px 5px 0px;
  font-weight: normal;
}

/* Toggle Switches */
.checkbox-container {
  display: inline-block;
  position: relative;
}
.toggle-switch {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-container label {
  display: inline-block;
  padding-left: 50px;
  line-height: 24px;
  cursor: pointer;
}
.checkbox-container label::before {
  content: '';
  position: absolute;
  left: 0;
  width: 40px;
  height: 24px;
  background-color: #ccc;
  border-radius: 12px;
  transition: background-color 0.3s;
}
.checkbox-container label::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}
/* Toggle Blue = 2196F3 */
.toggle-switch:checked + label::before {
  background-color: var(--accent-color);
}
.toggle-switch:checked + label::after {
  transform: translateX(16px);
}