site-modal {
  display: none;
}

html {
  height: 100%;
}

.glow {
  box-shadow: 0 0 5px rgb(255, 255, 152);
  transition: box-shadow 0.1s;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  color: #f9f9f9;
}


b {
  color: var(--site_text);
}

:root {
  --site_backgrounds: rgb(5,5,5);
  --bg-2: rgb(8,8,8);

  --card-background: rgb(15,15,15);

  --site_text: #EEEEEE;
  --site_text_muted: #AAAAAA;

  
  
  --site_surface: rgb(20,20,20);

  --site_surface_2: #1E1E1E;
  --site_surface_2: rgb(33,33,33);

  --site_surface_3: rgb(54,54,54);

  --site_text_background: #ACACAC;
  --site_text_surface: #DDDDDD;

  --warning: rgb(218, 135, 11);

  
  --blue_1: rgb(38, 38, 207);

  --grey15: rgb(15,15,15);
  --grey20: rgb(20,20,20);
  --grey30: rgb(30,30,30);
  --grey60: rgb(60,60,60);
  --grey90: rgb(90,90,90);

  --site_primary_colour: rgb(175,0,0);
  --site_primary_colour_dimmed: rgb(125,0,0);
  --site_secondary_colour: rgb(38, 136, 207);
  --site_tertiary_colour: rgb(18, 184, 184)
}

/* :root[data-theme='light'] {
  --site_backgrounds: #eeeeee;
  --bg-2: #dddddd;
  --site_text: #111111;
  --card-background: #d3d3d3;

  --site_surface: #aaaaaa;

} */

.text-muted {
  color: var(--site_text_muted);
}

.side-nav-category {
  background-color: var(--site_surface);
  width: 100%;
  overflow: hidden;
}
input[type=color]::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
  padding: 0;
}

#react-root {
  height: 100dvh;
  width: 100dvw;
}
.grey30 {
  background-color: var(--grey30);
}

input[type=color]::-webkit-color-swatch-wrapper {
    border: none;
    border-radius: 50%;
    padding: 0;
}


a {
  text-decoration: none;
}

.scroll_into_view__ {
  opacity: 0;
  transform: translateY(20px);
}

.scroll_into_view__.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.primary-stroke {
  stroke: var(--site_primary_colour);
}
.secondary-stroke {
  stroke: var(--site_secondary_colour);
}
.tertiary-stroke {
  stroke: var(--site_tertiary_colour);
}

.svg_primary_fill {
  fill: var(--site_primary_colour);
  stroke: var(--site_primary_colour);
}

.svg_secondary_fill {
  fill: var(--site_secondary_colour);
  stroke: var(--site_secondary_colour);
}

.svg_tertiary_fill {
  fill: var(--site_tertiary_colour);
  stroke: var(--site_tertiary_colour);
}

.text_primary_color {
  color: var(--site_primary_colour);
}

.text_secondary_color {
  color: var(--site_secondary_colour);
}

.text_tertiary_color {
  color: var(--site_tertiary_colour);
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(90,90,90,.3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px); /* Adds the blur effect */
  -webkit-backdrop-filter: blur(4px); /* Safari support */
}

.modal_window {
  width: 100%;
  max-width: 35em;
  display: flex;
  justify-content:center;
  align-items:center;
  border: 1px solid black;
  border-radius: 10px;
  margin: 5pt;
  background-color: var(--site_backgrounds);
  box-shadow: 3px 5px 5px 0 rgba(0,0,0,.3);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  transform: scale(0.95);
  opacity: 0;
}


.lrpad {
  padding-left: 10pt;
  padding-right: 10pt;
}











.program_builder_session {
  scroll-snap-align: center;
  justify-content: flex-start;
  background: black;
  border-radius: 5px;
  padding: 5pt;
  min-width: 14em;
  max-width: 16em;
  height: min-content;
  overflow: hidden;
  border: 1px solid var(--grey30);
}
.pricing-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10pt;
  min-height: 19em;
  width: 15em;
  min-width: 15em;
  border: 1px solid var(--site_surface_2);
  border-radius: 10px;
  padding: 10pt;
  font-size: small;
  scroll-snap-align: center;
}

.gradient-purple {
  background: linear-gradient(to bottom right, rgb(50,50,200) 10%, rgb(0,0,0) 90%);
}

.gradient-red {
  background: linear-gradient(to top left, rgb(100, 0,0 ) 10%, rgb(0,0,0) 90%);
}

.gradient-bronze {
  background: linear-gradient(to bottom right, rgb(155,70,20) 10%, rgb(0,0,0) 90%);
  background: linear-gradient(to top left, rgb(100,45,14) 10%, rgb(0,0,0) 90%);
}

.gradient-black {
  background: linear-gradient(to bottom right, rgb(0,0,0) 10%, rgb(35,35,35) 90%);
}

.gradient-gold {
  background: linear-gradient(to bottom right, rgb(175,112,25) 10%, rgb(10,10,10) 90%);
  background: linear-gradient(to top left, rgb(100,70,14) 10%, rgb(10,10,10) 90%);
}

.gradient-grey {
  background: linear-gradient(to bottom right, rgb(100,100,100) 10%, rgb(0,0,0) 90%);
}

.gradient-titanium {
  background: linear-gradient(to bottom right, rgb(90,110,130) 10%, rgb(0,0,0) 90%);
  background: linear-gradient(to top left, rgb(60,73,87) 10%, rgb(0,0,0) 90%);
}

.gradient-gunmetal {
  background: linear-gradient(to top left, rgb(44,53,57) 10%, rgb(0,0,0) 90%);
  background: linear-gradient(to top left, rgb(65,20,20) 10%, rgb(0,0,0) 90%);
}

.gradient-teal {
  background: linear-gradient(to top left, rgb(20,60,60) 10%, rgb(0,0,0) 90%);
}

.hidden-scrollbars::-webkit-scrollbar, .tabs-container::-webkit-scrollbar {
  display: none;
}

.rows-100 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cols-100 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.card-border {
  border: 1px solid rgb(30,30,30);
  background-color: var(--card-background);
  border-radius: 5px;
}

.rounded-corners {
  border-radius: 5pt;
}
.padding-5pt{
  padding: 5pt;
  box-sizing: border-box;
}
.padding-10pt{
  padding: 10pt;
  box-sizing: border-box;
}

.gap-5 {
  gap: 5pt;
}
.gap-10 {
  gap: 10pt;
}

.gap-20 {
  gap: 20pt;
}

.gap-50 {
  gap: 50pt;
}
.bg {
  background-color: var(--site_backgrounds);
}

.surface {
  background-color: var(--site_surface);
}

.surface2 {
  background-color: var(--site_surface_2);
}

.surface3 {
  background-color: var(--site_surface_3);
}

.card {
  background-color: var(--site_surface);
  border-radius: 5px;
  border: 0px solid;
  box-sizing: border-box;
  padding: 10pt;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5pt;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--grey90);
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(70, 70, 70);
}

.select-styling {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Hide the default checkbox */
input[type="checkbox"] {
  accent-color: var(--site_primary_colour);
  color: black;
}

.blur {
  filter: blur(5px);
}

html {
  height: 100%;
}

input, textarea, button, select {
  font-family: 'Geist Sans', sans-serif;
  color: var(--site_text);
}

.text-1 {
  color: #aaaaaa;
}

.info-box {
  border: 1px solid var(--site_secondary_colour);
  border-radius: 5px;
  padding: 10pt;
  box-sizing: border-box;
  background-color: var(--site_surface);
}

.body-new {
  color: var(--site_text);
  margin: 0;
  padding: 0;
  max-width: 100dvw;
  min-width: 100dvw;
  min-height: 100dvh;
  max-height: 100dvh;
  /* background-color: var(--site_backgrounds); */
  background: linear-gradient(to bottom right, var(--site_backgrounds), var(--bg-2));
  background-size: 100dvw 120dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: 'Geist Sans', sans-serif;
  color: var(--site_text);
}

/* Workaround for Apple bullshit*/
@supports (-webkit-touch-callout: none) {
    .body-new {
      overflow-y: auto;    /* Allow vertical scrolling */
    }
}

.hidden_scrollbars::-webkit-scrollbar {
  display: none;
}

.hidden_scrollbars {
  overflow-y: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.body {
  font-family: 'Geist Sans', sans-serif;
  background-image: -webkit-linear-gradient(102deg,rgb(0, 0, 0) 0%, var(--site_primary_colour_dimmed) 50%,rgb(0, 0, 0) 100%);
  background-repeat: no-repeat;
  color: var(--site_text);
  background-size: 100dvw 100dvh;
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  background-attachment: fixed;
}

.weekInput::-webkit-calendar-picker-indicator {
  filter: invert(50%);
}

.modal-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: large;
  border-bottom: 1px solid var(--site_primary_colour);
  width: 100%;
  align-items: center;
  padding: 0 10pt 5pt 10pt;
  box-sizing: border-box;
}

.native_datepicker {
  background: rgb(30,30,30);
  border: 0px solid rgb(0,0,0);
  border-radius: 5px;
  color: rgb(120, 120, 120);
}

.context-menu {
  position: fixed;
  z-index: 10000;
  width: 150px;
  background: rgb(10, 10, 10);
  color: rgb(225,225,225);
  border-radius: 5px;
  display: none;
  overflow: hidden;
}
.rightclick-item {
  padding: 8px 10px;
  font-size: 10pt;
  cursor: pointer;
  border-radius: inherit;
}
.rightclick-item:hover {
  background: rgb(45, 45, 45);
}

.rightclick-item-btn {
  padding: 8px 10px;
  font-size: 10pt;
  cursor: pointer;
  border: 0;
  background-color: rgb(10,10,10);
  width: 100%;
  text-align: left;
}
.rightclick-item-btn:hover:not(:disabled) {
  background: rgb(45, 45, 45);
}

.rightclick-item-btn:disabled {
  color: grey;
  background-color: rgb(5,5,5);

  cursor: not-allowed;
}

.main_container {
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.progress_bar{
  width: 100%;
  border-radius: 5px;
  border: 0 solid white;
  background-image: repeating-linear-gradient(to right, green, green 50%, black 50%, black 100%);
  color: rgba(255,255,255,1);
}

.surroundPadding {
  padding: 10px 10px 10px 10px;
}
.rowPadding {
  padding: 2px 10px 2px 10px;
}
.hMargin {
  margin: 3px 0px 3px 0px;
}

.tooltip-top,
.tooltip-bottom,
.tooltip-left,
.tooltip-right,
.tooltip-br {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted gray;
}
.tooltip-top .tooltiptext,
.tooltip-bottom .tooltiptext,
.tooltip-left .tooltiptext,
.tooltip-right .tooltiptext,
.tooltip-br .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: rgb(60, 60, 60);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}


.tooltip{
  position: absolute;
  z-index: 1000;
  background-color: rgb(0,0,0);
  color: white;
  padding: 5pt;
  border-radius: 5px;
  font-size: small;
  pointer-events: none;
}


.tooltip-top:hover .tooltiptext,
.tooltip-bottom:hover .tooltiptext,
.tooltip-left:hover .tooltiptext,
.tooltip-right:hover .tooltiptext,
.tooltip-br:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip-bottom .tooltiptext {
  top: 125%;
  left: 50%;
  margin-left: -60px;
}

.tooltip-br .tooltiptext {
  top: 125%;
  left: 50%;
  margin-left: -165px;
}

.tooltip-bottom .tooltiptext::before,
.tooltip-br .tooltiptext::before {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px; /* Adjusted to center the arrow horizontally */
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgb(60, 60, 60) transparent; /* Adjusted border-color */
}

.tooltip-br .tooltiptext::before {
  left: calc(100% - 25px);
}

.tooltip-right .tooltiptext {
  top: 50%;
  left: 125%;
  margin-top: -15px;
}

.tooltip-right .tooltiptext::before {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px; /* Adjusted to center the arrow horizontally */
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgb(60, 60, 60) transparent transparent;
}

.tooltip-top .tooltiptext {
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
}

.gradient-hr {
    border-image: linear-gradient(to right,rgba(0,0,0,0),var(--site_primary_colour), rgba(0,0,0,0)) 1;
}

.primary-ul-gradient {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-image: linear-gradient(to right,rgba(0,0,0,0),var(--site_primary_colour), rgba(0,0,0,0)) 1;
}

.secondary-ul-gradient {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-image: linear-gradient(to right,rgba(0,0,0,0),var(--site_secondary_colour), rgba(0,0,0,0)) 1;
}


.primary-ul-gradient-right {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-image: linear-gradient(to right,var(--site_primary_colour), rgba(0,0,0,0)) 1;
}

.secondary-ul-gradient-right {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-image: linear-gradient(to right,var(--site_secondary_colour), rgba(0,0,0,0)) 1;
}

.primary-bg {
  background: var(--site_primary_colour);
}
.secondary-bg {
  background: var(--site_secondary_colour);
}
.tertiary-bg {
  background: var(--site_tertiary_colour);
}

.menu-icon {
  cursor: pointer;
  border-radius: 5em;
  padding: 3pt;
  transition: 100ms;
}

.menu-icon:hover {
  background-color: gray;
}


.tooltip-top .tooltiptext::before {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px; /* Adjusted to center the arrow horizontally */
  border-width: 5px;
  border-style: solid;
  border-color: rgb(60, 60, 60) transparent transparent transparent; /* Adjusted border-color */
}



.modern-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 2em;
  width: 10em;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  padding-left: 10pt;
  padding-right: 10pt;
  box-sizing: border-box;
}

.outline-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid #aaaaaa;
  color: #aaaaaa;
  border-radius: 5px;
  white-space: nowrap;
  padding: 6pt 10pt 5pt 10pt;
  background: transparent;
  transition: all 200ms;
  height: 2.5em;
}

.outline-button:hover {
  color: var(--site_text);
  border: 1px solid var(--site_secondary_colour);
  background: var(--site_secondary_colour);
}

.rounded-button {
  color: var(--site_text);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  border: 0;
  padding: 6pt 10pt 5pt 10pt;
  background-color: var(--site_secondary_colour);
  transition: opacity 0.1s ease-in-out;
  opacity: 1;
}

.rounded-button.grey {
  background: rgb(15,15,15);
}

.rounded-button.grey:hover {
  transition: 200ms;
  background: var(--site_primary_colour);
  opacity: 1;
}

.rounded-button:hover {
  opacity: 0.7;
}

.rounded-button:disabled {
  background: rgb(30,30,30);
  color: grey;
}

.rounded-button:disabled:hover{
  cursor: not-allowed;
  box-shadow: none;
}

.wrapper-centered-rows, .rows{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.wrapper-centered-cols, .cols{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* For session.html */
.sessionApp {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 70%;
  height: 30em;
}

.heading-box {
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}



.mob-nav {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.mob-nav-open {
  animation: expand 0.3s forwards;
}

.mob-nav-close {
  animation: contract 0.3s forwards;
}

.rotate {
  animation: rotate180 .3s both;
}

.unrotate {
  animation: unrotate180 .3s both;
}


@keyframes rotate180 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

@keyframes unrotate180 {
  0% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(0deg);
  }
}





.floating-shadow::after {
  content: '';
  position: absolute;
  bottom: -10px; /* Adjust the distance of the shadow from the element */
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Adjust the width of the shadow */
  height: 20%; /* Adjust the height of the shadow */
  background: rgba(0, 0, 0, 0.3); /* Adjust the shadow color and opacity */
  border-radius: 50%;
  z-index: 1;
}

.progressBarTop {
  height: 5px;
  width: 100%;
  background: var(--site_primary_colour);
  transition: width 0.5s ease;
  --mask: linear-gradient(to right, rgba(0,0,0, 1) 0, rgba(0,0,0, 1) 8%, rgba(0,0,0, 1) calc(100% - 10px), rgba(0,0,0, 0) 100%
  ) 100% 50% / 100% 100% repeat-x;
  
  -webkit-mask: var(--mask); 
  mask: var(--mask);
  
}

.fade-sides {
  --mask: linear-gradient(to right, rgba(0,0,0, 0) 0, rgba(0,0,0, 1) 8%, rgba(0,0,0, 1) 92%, rgba(0,0,0, 0) 100%
  ) 100% 50% / 100% 100% repeat-x;
  
  -webkit-mask: var(--mask); 
  mask: var(--mask);
  
}

.fade-right {
  --mask: linear-gradient(to right, rgba(0,0,0, 1) 0, rgba(0,0,0, 1) 8%, rgba(0,0,0, 1) 92%, rgba(0,0,0, 0) 100%
  ) 100% 50% / 100% 100% repeat-x;
  
  -webkit-mask: var(--mask); 
  mask: var(--mask);
  
}


.fade-bottom {
  --mask: linear-gradient(to bottom, rgba(0,0,0, 1) 0, rgba(0,0,0, 1) 8%, rgba(0,0,0, 1) 50%, rgba(0,0,0, 0) 90%);
  
  -webkit-mask: var(--mask); 
  mask: var(--mask);
}

@keyframes expand {
  0% {
    width: 0px;
    height: 0px;
  }
  100% {
    width: 50%;
    height: 290pt;
  }
}

@keyframes contract {
  0% {
    width: 50%;
    height: 240pt;
  }
  100% {
    width: 0px;
    height: 0px;
  }
}
.pane_title {
  padding-left: 20pt;
}
.mob-nav-btn {
  background-color: rgba(0,0,0,0.8);
  border: 0;
  text-align: right;
  cursor: pointer;
}
.mob-nav-btn:hover {
  background-color: rgba(30,30,30,0.8);
  border: 0;
  text-align: right;
}

.side-nav-btn {
  background-color: rgba(0,0,0,1);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-size: 10pt;
  /*
  font-weight: bold;
  font-size: medium;
  */
  padding-top: 10pt;
  padding-bottom: 10pt;
  text-indent: 10pt;
  width: 100%;
  box-sizing: border-box;
}



.basic_button {
  border-radius: .25em;
  background-color: #383838;
  min-height: 2em;
  max-height: 2em;
}

.basic_button:hover {
  background-color: #6d6d6d;
  transition: 200ms;
}

.basic_button_highlighted {
  background-color: var(--site_primary_colour);
  color: black;
}

.top-nav {
  position: fixed;
  z-index: 9000;
  background-color: rgba(0,0,0,1);
  top: 0px;
  height: 40pt;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.side-nav-child {
  background-color: rgba(0,0,0,0);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-right: 5px solid transparent;
  text-align: left;
  cursor: pointer;
  font-size: 10pt;
  font-style: italic;
  font-weight: normal;
  padding-top: 5pt;
  padding-bottom: 5pt;
  text-indent: 20pt;
  height: 15pt;
  width: 100%;
  color: var(--site_text_muted);
}

.side-nav-child.selected {
  border-right-color: var(--site_primary_colour);
}

.side-nav-btn:hover {
  background-color: rgba(50,50,50,1);
}

.side-nav-child:hover {
  background-color: rgba(50,50,50,1);
}

.space-between{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.whiteBorder{
  border: 3px solid white;
}

.app-panel {
  background-color: rgba(0,0,0,1);
  width: 100%;
  border-radius: 5pt;
  border: 0px solid rgb(0,0,0);
}
.shadow {
  box-shadow: 3px 5px 5px 0 rgba(0,0,0,.5);
}
.black_input {
  background: rgba(0, 0, 0, 1);
  border: 0;
  border-radius: 5px;
  color: rgb(200, 200, 200);
}
.planning_table_header_cell {
  width: 10pt;
  height: 10pt;
  min-width: 10pt;
  font-size: x-small;
  overflow: visible;
  text-wrap: nowrap;
}

.planning_table_cell {
  width: 10pt;
  height: 10pt;
  min-width: 10pt;
  font-size: x-small;
  overflow: visible;
  text-wrap: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.planning_table_cell {
  background: var(--grey60);
  border-radius: 3px;
}

.background_primary {
  background: var(--site_primary_colour);
}

.background_secondary {
  background: var(--site_secondary_colour);
}

.background_tertiary {
  background: var(--site_tertiary_colour);
}

.planning_table_header {
  width: min-content;
  min-width: 8em;
  max-width: 8em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-style: italic;
  border-right: 1px solid black;
}



.analyze_program_table td {
  color: rgb(150,150,150);
}

.slim_table tr,th {
  height: 2em !important;
}

.simple_table {
  width: 100%;
  font-size: small;
  border-collapse: collapse;
}
.simple_table tr {
  height: 3em;
}


.simple_table td, th {
  padding-left: 10pt;
  padding-right: 10pt;
}
.simple_table th {
  text-align: left;
}
.simple_table thead tr:first-child, .simple_table_header_row {
  background-color: rgb(20, 20, 20);
  font-weight: bold;
  border-bottom: solid 1px rgb(45,45,45);
}

.simple_table tr:not(:last-child) {
  border-bottom: solid 1px rgb(45,45,45);
}
.simple_table tr:hover {
  background-color: #383838;
}

/*
.simple_table tbody tr:nth-child(even) {
  background-color: rgb(12,12,12);
}
*/

/*Corner Rounding*/
.simple_table thead tr:first-child th:first-child {
  border-top-left-radius: 8px;
}
.simple_table thead tr:first-child th:last-child {
  border-top-right-radius: 8px;
}
.simple_table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}
.simple_table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

.hmap_table {
  width: 100%;
  font-size: small;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}

.hmap_table tr td {
  width: auto;
}

.zebra_table {
  width: 100%;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.zebra_table tr {
  font-size: small;
  border: none;
}
.zebra_table th {
  text-align: left;
}
.zebra_table tr:nth-child(even) {
  background-color: var(--site_surface_2);
}
.zebra_table tr:nth-child(odd) {
  background-color: var(--site_surface_3);
}
.zebra_table tr:not(:first-child):hover {
  background-color: #121212;
  cursor: pointer;
}
.sub-app{
  width: 85%;
  display: flex;
  justify-content:center;
  align-items:center;
  border: 0;
  border-radius: 8px;
}

.popout-hover {
  cursor: pointer;
  transition: transform 0.3s
}

.popout-hover:hover {
  transform: scale(1.02);
}

.signup-button, .multicolor-button {
    color: white;
    padding: 10pt;
    border-radius: 5px;
    font-size: normal;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
    border: 1px solid var(--site_secondary_colour);
    background: transparent;
    transition: all 0.3s ease;
}

.signup-button:hover, .multicolor-button:hover {
    background: linear-gradient(to top right, var(--site_secondary_colour), var(--site_tertiary_colour));
    box-shadow: 0 0 10px var(--site_tertiary_colour);
    transform: scale(1.05);
}
  
.multicolor-button {
  background: linear-gradient(90deg, var(--site_secondary_colour), var(--site_primary_colour)) !important;
  font-weight: bold;
  font-size: large;
}

.multicolor-button-bg {
  background: linear-gradient(90deg, var(--site_secondary_colour), var(--site_primary_colour));
  /* background: radial-gradient(
    circle at 80% -30%,
    var(--site_secondary_colour),
    var(--site_primary_colour)); */
  font-weight: bold;
  font-size: large;
  border-radius: 5px;
  padding: 2px;
  box-sizing: border-box;
  min-width: 5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  height: 2em;
}

.multicolor-button-bg:hover {
  transform: translateY(2px);
  opacity: 0.8;
}

.multicolor-button-bg > button {
  color: var(--site_text);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  padding-left: 10pt;
  padding-right: 10pt;
  padding-top: 2pt;
  box-sizing: border-box;
  margin: 0;
}

.border-bottom-grey {
  border-bottom: solid 1px var(--grey30);
}

.breadcrumb-link {
  color: var(--site_text_muted) !important;
  text-decoration: none;
  color: '#666666';
  transition: all 200ms;
}
.breadcrumb-link:hover {
  text-decoration: underline;
  cursor: pointer;
  color: var(--site_text) !important;
}

.text-slim-sm {
  font-size: small;
  font-weight: normal;
}
.text-slim-med {
  font-size: medium;
  font-weight: normal;
}
.text-slim-lg {
  font-size: large;
  font-weight: normal;
}
.text-slim-xl {
  font-size: x-large;
  font-weight: normal;
}
.text-slim-xxl {
  font-size: xx-large;
  font-weight: normal;
}

.app_select {
  color: var(--site_text);
  background-color: rgb(15,15,15);
  border: solid 1px rgb(55,55,55);
  border-radius: .5em;
  /* font-weight: bold; */
  height: 2em;
  padding-left: .5em;
  padding-right: .5em;
  box-sizing: border-box;
}

.newModal {
  max-width: 45em;
  width: 100%;
  border: 0px solid white;
  border-radius: 5px;
  background-color: var(--site_backgrounds);
  font-size: small;
  overflow: hidden;
}



.app-button {
  font-size: small;
  font-weight: bold;
  height: 40px;
  min-height: 40px;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.pointer {
  cursor: pointer;
}

.bottomBorderRed {
  border-bottom: solid 2px var(--site_primary_colour);
  transition: border-bottom 600ms;
}

.lightgrey-hover:hover {
  background-color: rgba(60, 60, 60,0.9);
  transition: background-color 100ms;
}

.lighter-hover:hover {
  background-color: var(--site_surface_3);
  transition: 100ms;
}

.even-lighter-hover:hover {
  background-color: rgba(90, 90, 90,1);
  transition: background-color 100ms;
}

.lightgrey-selected {
  background-color: var(--site_surface_3);
}


.flexyBoi {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.left_align {
  display: flex;
  text-align: left;
}

.calendarLabel {
  background-color: rgba(83, 83, 83, 0);
  height: 20px;
  width: 13.8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 5px;
  border-width: 1px;
  padding: 0px 0px 28px 0px;
}
.smallSquareButton {
  height: 80%;
  aspect-ratio: 1;
  border: 0px;
}
.stackedRows {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 25%;
  margin-top: 5%;
  align-items: center;
  justify-content: space-between;
}


.btn-shadow{
  box-shadow: 0 0 5px rgb(255, 255, 255);
}
.fade-edges {
  /*-webkit-mask-image: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,1),3%, rgba(0,0,0,1) 97%, rgba(0,0,0,0))*/
  -webkit-mask-image: linear-gradient(to right,rgba(0,0,0,1) rgba(0,0,0,1) 97%, rgba(0,0,0,0))
}

.calendar-day-label {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.greyedDay {
  opacity: 0.3;
}

.calendarDay {
  background-color: rgb(5,5,5);
  border: 1px solid rgb(30,30,30);
  padding-top: 7pt;
  box-sizing: border-box;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 5px;
  border-width: 1px;
  transition: all 0.05s ease-in;
  overflow: hidden;
  position: relative;
}
.calendarDay:hover {
  /*background-color: rgba(255, 83, 83, 0.2);*/
  box-shadow: inset 0 0 10px var(--site_secondary_colour);
}


.h-no-margin {
  margin-top: 0;
  margin-bottom: 0;
}
.calendarDay.hasNote::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(10px,15%);
  height: min(10px,15%);
  background: linear-gradient(45deg, transparent 50%, var(--site_tertiary_colour) 50%);
}

.calendarDay.unavailable {
  background-color: rgb(18,18,18);
  background-image: url('/img/unavailable-x.png');
  background-size: 100%;
  background-repeat: no-repeat;
}

.util_button {
    background-color: rgb(30,30,30);
    width: 100%;
    display: flex;
    flex-direction: row;
    text-align: center;
    border-radius: 5px;
    padding: 3pt;
    box-sizing: border-box;
    align-items: baseline;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.util_button:hover {
    background-color: rgb(50,50,50);
}

.util_button.selected {
    background-color: var(--site_secondary_colour);
}

.utility-button-sq {
  background-color: transparent;
  width: 2.5em;
  height: 2.5em;
  display: flex;
  flex-direction: row;
  text-align: center;
  border-radius: 5px;
  padding: 5pt;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background-color 100ms;
}
.utility-button-sq:hover {
  background-color: rgb(50,50,50);
}

.hover-grey-bg {
  transition: background-color 100ms;
}
.hover-grey-bg:hover {
  background-color: rgb(50,50,50);
}

.rounded-5px {
  border-radius: 5px;
}


.modern-input {
  background-color: rgb(30,30,30);
  border: none;
  border-radius: 5px;
  color: rgb(200,200,200);
  padding: 5pt;
  box-sizing: border-box;
  height: 2.5em;
  width: 100%;
}
.modern-select {
  background-color: rgb(30,30,30);
  border: none;
  border-radius: 5px;
  color: rgb(200,200,200);
  padding: 5pt;
  box-sizing: border-box;
  height: 2.5em;
  min-width: 5em;
}

.dashboard-session-pane {
  background-color: var(--card-background);
  border-radius: 5px;
  min-width: 8em;
  border: 1px solid rgb(30,30,30);
  gap: 3pt;
}

.dashboard-session-pane > .toprow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 3pt;
  overflow-y: hidden;
  max-height: 15pt;
  height: 15pt;
  width: 100%;
  background: rgb(30,30,30);
  border-bottom: 1px solid rgb(30,30,30);
}

.dashboard-session-pane > .detail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-grow: 1;
  transition: max-height 0.3s ease-in-out;
  font-size: small;
  width: 90%;
}
.day-selected {
  box-shadow: inset 0 0 10px var(--site_primary_colour);
}

.setInputField {
  width: 50px;
  background-color: rgb(60, 60, 60);
  border-radius: 5px;
  border: 0px solid white;
  color: cornsilk;
  font-weight: bold;
  text-align: center;
  width: 25pt;
}


.target_field{
  text-align: center;
  width: 35px;
  background-color: rgba(0,0,0,0);
  border: 0 black;
  border-bottom: 2px solid rgb(60,60,60);
}
.noArrows::-webkit-outer-spin-button,
.noArrows::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/*
.coaching_client {
  justify-content: space-between;
  align-items: center;
  padding: 3pt 10pt 3pt 10pt;
  border-top: 1px solid gradient(rgba(90,90,90,0),rgb(90,90,90,1), rgb(90,90,90,0));
}
  */

.coaching_client {
  justify-content: space-between;
  align-items: center;
  padding: 5pt 10pt 5pt 10pt;
  box-sizing: border-box;

  /* Define the border thickness */
  border-top-width: 1px;
  border-top-style: solid; /* This is necessary for border-image to work */

  /* Apply the gradient as a border image */
  border-image: linear-gradient(to right,rgba(60,60,60,0),rgba(60,60,60,1), rgba(60,60,60,0)) 1;
  /* The '1' after the gradient means the border-image-slice value,
     which tells the browser to slice the image into 1 part, effectively
     using the entire gradient for the border. */

  /* Alternative for vertical gradients if needed for other borders */
  /* border-image: linear-gradient(to bottom, rgb(0,0,0), rgb(30,30,30)) 1; */
}

.redBorder {
  border: solid 3px;
  border-radius: 10px;
  border-color: rgba(200, 0, 0);
}
.grey_input_text {
  width: 75%;
  max-width: 250px;
  height: 16pt;
  font-size: 12pt;
  font-style: italic;
  background-color: rgba(51, 51, 51, 0.5);
  border-radius: 5px;
  border-width: 0px;
  border-style: solid;
  font-weight: bold;
  text-align: center;
}

.AppBtn {
  border-radius: 5px;
  border: 0px;
  background-color: rgb(18, 46, 168);
  height: 75%;
  width: 22%;
  font-weight: bold;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  border: black ;
  border-radius: 5px;
  border-width: 2px;
  border-style: solid;
  width: 20%;
  height: min-content;
  text-align: center;
}


@media (hover: hover) {
  AppBtn:hover {
    transition: 100ms;
    opacity: 50%;
  }
}

.banner {
  background-color: rgba(0, 0, 0, 0);
  top: 0px;
  text-align: right;
  margin: 0;
  height: 50px;
  display: flex;
  flex-direction: row;
}
.bannerButton {
  background-color: rgba(0, 0, 0, 0);
  border: 0;
  height: 100%;
  width: 24%;
}

.bannerButton:hover {
  transition: 100ms;
  background-color: rgb(117, 117, 117, 0.2);
  color: rgb(200, 0, 0);
}

.set {
  margin-bottom: 5px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
hr {
  border: 1px solid var(--site_primary_colour);
  width: 100%;
}
.inputFieldBlk {
  background: rgba(0, 0, 0, 0);
  border: 0;
  font-weight: bold;
  color: rgb(200, 200, 200);
  font-size: 150%;
  font-style: italic;
  width: 50%;
}
.inputFieldProtocol {
  background: rgba(0, 0, 0, 0);
  border: 0;
  color: rgb(200, 200, 200);
  font-size: 100%;
  font-style: italic;
  width: 50%;
}





.program-builder-day{
  width: 10em;
  height: 15em;
  background-color: rgb(30,30,30);
  border-radius: 5px;
  overflow: hidden;
  margin-right: 1%;
}
.program-builder-exercise{
  width: 10em;
  min-width: 10em;
  height: min-content;
  min-height: 5em;
  background-color: rgb(30,30,30);
  border-radius: 5px;
  overflow: hidden;
  margin-right: 1%;
}
.inputGrey {
  border-radius: 5px;
  border: 0px solid rgb(120,120,120);
  background: rgb(60,60,60);
}
.no-text-spacing{
  line-height: 0;
}

table.expanding-columns td, th {
  transition: width 0.3s;
}

.pillButton {
  display: flex;
  width: 6em;
  height: 20pt;
  border-radius: 10pt;
  border: none;
  cursor: pointer;
  background: rgba(0,0,0,0);
  font-weight: bold;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.pillButton:hover {
  transition: opacity 0.3s;
  opacity: 0.8;
}

.coach-dash-window{
  width: 100%;
  align-items: flex-start;
  padding: 0 10pt 0 10pt;
  gap: 5pt;
  padding-top: 10pt;
}

.selectBlack {
  border: solid 0px;
  border-radius: 5px;
  background: black;
  color: rgb(200,200,200);
  font-weight: bold;
  width: 15em;
}


.hr {
  width: 100%;
  border-bottom: 1px solid var(--site_primary_colour);
}
.generic_input_field {
  background-color: rgb(0,0,0);
  border-radius: 5px;
  border-width: 0px;
  text-align: right;
  font-weight: bold;
}

.modal_input_field1, .modal_input_field {
  background-color: rgb(30,30,30);
  border: solid 1px rgb(55,55,55);
  border-radius: 2px;
  text-align: right;
  font-size: normal;
  color: #DDDDDD;
}

.modal_input_field {
  min-width: 10em;
}

.dropdownBlack{
  background: rgba(0,0,0,0);
  border: 0;
  text-align: center;
  font-weight: bold;
  font-size: medium;
}


.center-text{
  text-align: center;
}
.pt8{
  font-size: 8pt;
}
.popup {
  width: 40%;
  height: 25%;
  background-color: rgb(22, 22, 22);
  margin: 5% auto 50% auto;
  border: 3px solid white;
  border-radius: 10px;
}
.addex_popup {
  width: 70%;
  height: 70%;
  background-color: rgb(22, 22, 22);
  border: 3px solid white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2% 2% 2% 2%;
}
.hflip {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}
.center-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.centerify {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.centeredRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 10px;
  width: 60%;
}
.unselectable {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;

  /*
    Introduced in IE 10.
    See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
  */
  -ms-user-select: none;
  user-select: none;
}

.unselectable {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* Disable touch callout (iOS) */
  -webkit-touch-callout: none;

  /* Prevent tap highlight color on iOS */
  -webkit-tap-highlight-color: transparent;
}

.sessionButton {
  width: 95%;
  height: min-content;
  background-color: var(--site_primary_colour);
  border: 0px;
  border-radius: 5px;
  color: black;
  cursor: pointer;
  margin-top: 1px;
  margin-bottom: 1px;
}
.topRow {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
.inlineImgButton {
  height: 90%;
}
.inlineImgButton:hover {
  transition: 100ms;
  opacity: 50%;
}
.inlineButton {
  height: 90%;
}
.inlineButton:hover {
  transition: 100ms;
  opacity: 50%;
}
.menu-button {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-right: 15%;
  white-space: wrap;
  cursor: pointer;
}



.grey-gradient-button {
  background: linear-gradient(to bottom right, rgb(125,125,125) 25%, rgb(50,50,50) 75%);
}
.blue-gradient-button {
  background: linear-gradient(to bottom right, rgb(12,35,130) 0%, var(--blue_1) 25%, rgb(8,25,100) 75%);
}

.red-gradient-button {
  background: linear-gradient(to bottom right, rgb(175,0,0) 25%, rgb(75,0,0) 75%);
}

.green-gradient-button {
  background: linear-gradient(to bottom right, rgb(0,175,0) 25%, rgb(0,75,0) 75%);
}

.gold-gradient-button {
  background: linear-gradient(to bottom right, rgb(175,175,0) 25%, rgb(75,75,0) 75%);
}


.primary-gradient {
  background: linear-gradient(to bottom right, var(--site_primary_colour) 25%, rgb(0,0,0) 150%);
}

.secondary-gradient {
  background: linear-gradient(to bottom right, var(--site_secondary_colour) 25%, rgb(0,0,0) 150%);
}

.tertiary-gradient {
  background: linear-gradient(to bottom right, var(--site_tertiary_colour) 25%, rgb(0,0,0) 150%);
}

.width_collapse {
  transition: width 0.5s ease;
}

.height_collapse {
  transition: height 0.5s ease;
}

.animated-bg {
  background: linear-gradient(270deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
  background: linear-gradient(200deg, var(--site_backgrounds) 25%, var(--site_primary_colour) 50%, var(--site_backgrounds) 75%);
  background-size: 800% 800%; /* make it bigger than the element */
  animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.spinner {
  border: 4px solid rgb(0,0,0,0.5);
  aspect-ratio: 1;
  border-top: 4px solid var(--site_primary_colour);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.toggleButton-selected{
  height: 25px;
  border-radius: 5px;
  border: 0px;
  background-color: rgb(150, 0, 0);
  color: cornsilk;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
}
.toggleButton-selected:hover {
  transition: 100ms;
  opacity: 50%;
}
.toggleButton-selected:disabled {
  background-color: rgb(145, 65, 65);
  transition: 100ms;
  opacity: 50%;
  cursor: default;
}

.toggleButton-unselected{
  height: 25px;
  border-radius: 5px;
  border: 0px;
  background-color: rgb(0, 0, 0);
  color: cornsilk;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
}
.toggleButton-unselected:hover {
  transition: 100ms;
  opacity: 50%;
}
.toggleButton-unselected:disabled {
  background-color: rgb(0, 0, 0);
  transition: 100ms;
  opacity: 50%;
  cursor: default;
}



.wrapper1 {
  display: flex;
  flex-direction: row;
  justify-content: baseline;
}

.wrap {
  flex-wrap: wrap;
}




.circular-progress {
  --size: 250px;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 20px;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * pi * 2);
  --dash: calc((var(--progress) * var(--circumference)) / 150);
  animation: progress-animation 1s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.circular-progress circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}

.circular-progress circle.bg {
  stroke: rgba(0,0,0,0);
}

.circular-progress circle.fg {
  transform: rotate(calc(90deg + 60deg));
  transform-origin: var(--half-size) var(--half-size);
  stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash));
  transition: stroke-dasharray 0.3s linear forwards;
  stroke: var(--progress-color);
}

.circular-progress {
  --progress-color: 
  hsl(calc((var(--progress) / 100) * 120), 100%, 50%);
}
.circular-progress {
  --progress-color: 
  hsl(calc(0.01*pow(100,(var(--progress) / 100)) * 120), 100%, 50%);
}

@property --progress {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --end-progress {
  syntax: "<number>";
  inherits: false;
  initial-value: 100;
}

@keyframes progress-animation {
  from {
    --progress: 0;
  }
  to {
    --progress: var(--end-progress);
  }
}

.surface-padding {
  padding: 10pt;
  box-sizing: border-box;
  border-radius: 5px;
}

.slideshow_pane {
  width: 80%;
  max-width: 25em;
  justify-content: flex-start;
  align-items: center;
  gap: 20pt;
  display: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}


.page-content-mob-friendly {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100dvh;
  padding: 40pt 10pt 0 10pt;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: small;
  gap: 10pt;
  max-width: 100dvw;
}

.page-content-mob-friendly > *:not(.tabs-container) {
  padding-left: 10pt;
  padding-right: 10pt;
}

.page-content-mob-friendly > *:first-child:not(.tabs-container):not(header) {
  margin-top: 10pt;
}


.nav-padding {
  padding-top: 40pt;
}

/* Styles specific for desktop */
@media only screen and (min-width: 768px) {

  .mob_expand_hz {
    width: 45%;
  }

  .modal_window_open {
    display: flex;
    opacity: 1;
    transform: scale(1);
  }


}

.landing-background-old {
  background-image: url("/img/red_data10.jpg");
  background-size: 100dvw;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@keyframes ldg_bg_anim {
  0% { background-position: 20% 60%; }
  20% { background-position: 40% 30%; }
  40% { background-position: 95% 30%; }
  60% { background-position: 50% 50%; }
  80% { background-position: 10% 80%; }
  100% { background-position: 50% 50%; }
}

.landing-background {
  background: radial-gradient(ellipse 70% 60% at center,
  var(--site_backgrounds) 0%,
  var(--site_backgrounds) 90%,
  rgb(10,10,10) 100%
  );
  background-size: 100% 100%; /* make it bigger than the element */
  animation: ldg_bg_anim 20s ease infinite;
  animation-direction: alternate;
}






.cols_mob_rows_desktop {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10pt;
}

.nav-vertical-spacer {
  height: calc(100% - 40pt);
}

.hide {
  display: none !important;
}

.fade-out {
  opacity: 1;
  animation: fade-out 2s forwards;
}

@keyframes fade-out {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.__notes__ {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10pt;
    box-sizing: border-box;
    background-color: rgb(15,15,15);
    border: 1px solid rgb(30,30,30);
    border-radius: 5px;
    font-size: small;
    gap: 10pt;
}

.__notes__ > #notes_content {
    white-space: nowrap;        /* one line */
    overflow: hidden;           /* hide overflow */
    text-overflow: ellipsis;    /* show ... */
    cursor: pointer;            /* indicate clickable */
}
.__notes__.expanded > #notes_content {
    white-space: normal;        /* allow multiline */
    overflow: visible;
    text-overflow: unset;
}

.show-only-mob {
  display: none;
}









.notif {
    position: relative;
    width: 1.2em;
    height: 1.2em;
    max-width: 1.2em;
    max-height: 1.2em;
    cursor: pointer;
    user-select: none;
}

.notif.unread::after {
    content: '';
    position: absolute;
    min-width: 0.3em;
    min-height: 0.3em;
    background-color: red;
    border-radius: 50%;
    top: 10%;
    right: 10%;
    user-select: none;
}

.notifications_content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5pt;
    padding: 10pt;
    border-radius: 5pt;
    box-sizing: border-box;
    background-color: rgb(5,5,5);
    width: 20em;
    height: 20em;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
    border: 1px solid rgb(30,30,30);
    opacity: 1;
}
.notifications_content.hidden {
    overflow-y: hidden;
    overflow-x: hidden;
    height: 0;
    width: 0;
    padding: 0;
    opacity: 0;
}
.notification {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 5pt;
    background-color: rgb(15,15,15);
    padding: 1em;
    box-sizing: border-box;
    font-size: x-small;
    border: 1px solid rgb(30,30,30);
}

.notification:hover {
    background-color: rgb(40,40,40);
}

.notification.unread {
    border: 1px solid var(--site_secondary_colour);
    /* background-color: rgba(var(--secondary), 0.7); */

}

.notification .delete_notification {
    cursor: pointer;
    min-width: 10pt;
    border-radius: 3px;
}

.notification .delete_notification:hover {
    background-color: rgb(30,30,30);
}



/* Styles specific for mobile */
@media only screen and (max-width: 768px) {
  .show-only-mob {
    display: flex;
  }
  .show-only-desktop {
    display: none;
  }
  .hidden-scrollbars-mob::-webkit-scrollbar {
    display: none;
  }
  .cols_mob_rows_desktop {
    flex-direction: column;
    justify-content: flex-start;
  }

  .top-nav {
    height: 30pt;
  }

  .nav-vertical-spacer {
    height: calc(100% - 30pt);
  }


  .nav-padding {
    padding-top: 30pt;
  }
  .landing-background-old {
    background-image: url("/img/landing-0.jpg");
  }



  #top_nav_title {
    font-size: 15pt;
  }
  .page-content-mob-friendly {
    padding-top: 30pt;
    max-width: 100dvw;
  }
  .mob_expand_hz {
    width: 100%;
  }


  .analyze_program_table {
    font-size: x-small;
  }
  /* .modal_window {
    position: fixed;
    transition: bottom ease-in-out .2s;
    bottom: calc(-100% + 10pt);
    
    border-radius: 10px 10px 0 0;
    transform: scale(1);
    max-height: 90vh;
  }
  .modal_window_open {
    display: flex;
    opacity: 1;
    bottom: -5pt;
  } */

  .modal_window {
    transform: scale(0.8);
  }
  .modal_window_open {
    display: flex;
    opacity: 1;
    transform: scale(0.9);
  }
  .pillButton {
    font-size: 10pt;
    height: 1.5em;
  }

  .mob-rows {
    flex-direction: row;
  }

  .mob-cols {
    flex-direction: column;
  }
}




.menu-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100dvw;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(30,30,30);
    gap: 10pt;
    font-size: medium;
    overflow-x: auto;
    white-space: nowrap;
    background-color: rgb(8,8,8);
}


.tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 90em;
}
.header-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 8pt;
    box-sizing: border-box;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
    gap: 10pt;
    /* border-bottom: 1px solid rgb(60,60,60); */
}

.header-item:hover {
    font-weight: bold;
}

.header-item.active {
    border-bottom: 2px solid var(--site_primary_colour);
    font-weight: bold;
}

.hover-grow {
  scale: 1;
  transition: scale 0.2s ease-in-out;
}

.hover-grow:hover {
  scale: 1.03;
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100dvw;
    gap: 10pt;
    padding: 10pt;
    box-sizing: border-box;
}

header {
    height: 3em;
    background-color: rgb(0,0,0,1);
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    color: white;
    font-size: large;
    z-index: 10000;
    max-width: 100%;
    display: flex;
    gap: 10pt;
    flex-direction: row;
}

.h-100 {
  height: 100%;
}
.h-50 {
  height: 50%;
}

.w-100 {
  width: 100%;
}
.w-90 {
  width: 90%;
}
.w-80 {
  width: 80%;
}
.w-50 {
  width: 50%;
}
.w-40 {
  width: 40%;
}
.w-60 {
  width: 60%;
}
.w-33 {
  width: 33.33%;
}
.w-25 {
  width: 25%;
}
.w-75 {
  width: 75%;
}
.w-20 {
  width: 20%;
}

.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}

.bold {
  font-weight: bold;
}
/* mobile only */
@media (max-width: 600px) {
    .menu-header {
        /* hide scrollbars */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        font-size: small;
    }

    .header-item:not(.active) > div {
      display: none;
    }
}
