  body {
		margin: 0px;
    font-family: Open Sans;
    font-size: 15px;
  }

  html, body {
    -webkit-touch-callout: none; /* Safari */
    -webkit-user-select: none; /* Chrome */     
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; 
    overscroll-behavior: contain;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;    
    box-sizing: border-box;
  }

  strong {
    white-space: nowrap;
  }

  .noanimation {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
   }
   
  .accelerated {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
  }

  :root {
    /*--header-height: 96px;*/
    --header-height: 82px;
    --header-height-home: 100px;
    --footer-height: 96px;
    --site-content-width: 1000px;
    --site-content-width: min(100vw, 1000px);
    --site-content-padding: 24px;
    --site-container-padding: 12px;
    --navigation-button-height: 20px;
    --navigation-button-padding: 6px;
    --sidebar-button-container: 100px;
    --sidebar-max-width: 300px;
    --sidebar-header-height: 82px;
    --sidepanel-width: 265px;
    --sidepanel-indentation: 15px;
    --plot-margin: 18px;
    --color-primary: #101076;
    --color-secondary: #0044A6;
    --color-grey: #333;
    --color-faint-grey: #F9FAFB;
    --color-light-grey: #F5F8F8;
    --color-dark-grey: #CBD4DA;
    --color-darker-grey: #2C3438;
    --color-td-grey: #EAEFF0;
    --color-broken-black: #333;
    --color-white: #FFF;
    --color-green-dark: #248324;
    --color-red-dark: #ac232b;
    --color-blue: #101076;
    --color-light-blue: #0044A6;
    --color-red: #f8d7da;
    --color-green: #d4edda;
    --color-red-text: #554149;
    --color-green-text: #22522e ;
    --color-orange: #d66e00;
    --color-yellow: #e5a000;
    --color-danger: hsl(3,90%,92%);


    --color-purple-primary: #501175;
    --color-purple-secondary: #7A3B9E;
    --color-green-primary: #004C32;
    --color-green-secondary: #006355;
    --color-yellow-primary: #d66e00;
    --color-yellow-secondary: #e5a000;

    --color-hematology-primary: #101076;
    --color-hematology-secondary: #0044A6;
    --color-urine-primary: #26344d;
    --color-urine-secondary: #42567d;
  }

  @media screen and (max-width: 479px) {
    :root {
      /*--header-height: 96px;*/
      --header-height: 52px;
      --sidebar-header-height: 52px;
    }
  }

  /* width */
  ::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  .sidepanel::-webkit-scrollbar-track {
    background: #eff3f4;
    border-left: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #CBD4DA; 
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

  .hfill {
    width: 100%;
  }

  .header {
    background-color: var(--color-primary);
    height: var(--header-height);
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 2;
    /*transition: 0.5s background-color, 0.2s top;*/
  }
  
  .header.home {
    background-color: var(--color-white);
    height: var(--header-height-home);
  }

  .header-container {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: var(--site-content-width);
    padding-left: var(--site-content-padding);
    padding-right: var(--site-content-padding);
    margin: 0 auto;
    align-items: center;
    box-sizing: border-box;
  }
  
  .footer.home {
    display: none !important;
  }

  .empty_space {
    display: flex;
    flex-grow: 1;
  }
    
  .footer {
    display: flex;
    box-sizing: border-box;
    min-height: var(--footer-height);
    height: var(--footer-height);
    background-color: var(--color-light-grey);
    width: calc(100% + var(--site-content-padding) + var(--site-content-padding));
    margin-left: calc(var(--site-content-padding) * -1);
    margin-bottom: calc(var(--site-content-padding) * -1);
    margin-top: 48px;
    padding-left: var(--site-content-padding);
    padding-right: var(--site-content-padding);
    align-items: center;
    gap: 24px;
  }

  .footer .footer-title, .footer .footer-links, .footer .footer-links a {
    color: var(--color-broken-black) !important;
  }

  .footer-links.small:not(.home) {
    gap: 6px !important;
  }

  .footer-links .button {
    font-size: 14px;
  }

  .footer a img {
    height: 16px;
  }

  .footer a.disabled {
    opacity: 0.5;
    filter: grayscale(1);
  }

  .footer.wide {
    display: none;
    margin: 0;
    width: 100vw;
    justify-content: center;
  }
  
  .nosidepanel .footer {
    margin-left: 0px;
    justify-content: center;
  }
  
  .footer-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: calc(var(--site-content-width) - var(--site-content-padding) - var(--site-content-padding));
    box-sizing: border-box;
    position: relative;
    gap: 24px;
    justify-self: center;
  }

  .site-title {
    display: flex;
    color: var(--color-white);
    font-family: montserrat;
    font-size: 34px;
    font-weight: 600;
    cursor: pointer;
    line-height: 40px;
    margin-left: -2px;
    margin-right: 12px;
    position: relative;
    flex-direction: column;
    margin-top: -8px;
  }

  .site-title.home {
    display: flex;
    font-size: 38px;
    color: #000;
  }

  .site-subtitle {
    font-family: Montserrat; 
    font-weight: 700; 
    font-size: 10px; 
    position: absolute; 
    bottom: -8px; 
    line-height: 10px; 
    right: 3px;
  }

  .site-title.nohome .site-subtitle {
    bottom: -8px;  
    right: 2px;
  }

  .site-title a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .navigation {
    display: flex;
    flex-direction: rows;
    gap: 4px;
    margin-left: auto;
  }

  .navigation .navigation-button:first-child {
    margin-left: auto !important;
  }

  .navigation.home .navigation-button {
    color: var(--color-broken-black);
  }

  .navigation.home .navigation-button:active {
    color: var(--color-white) !important;
    background-color: var(--color-primary);
  }

  @media (pointer:fine) {
    .navigation.home .navigation-button:hover {
      color: var(--color-white) !important;
      background-color: var(--color-primary);
    }
  }

  .navigation.home .navigation-button.active {
    color: var(--color-white) !important;
    background-color: var(--color-primary);
  }

  .navigation-button {
    font-family: 'Montserrat';
    color: var(--color-white);
    font-weight: 400;
    font-size: 17px;
    padding: var(--navigation-button-padding);
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 360px;
    transition: 0.15s background-color;
    height: var(--navigation-button-height);
    position: relative;
  }

  .navigation-button a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .navigation-button.selected {
    color: var(--color-white) !important;
    background-color: var(--color-secondary);
  }

  @media (pointer:fine) {
    .navigation-button:hover {
      cursor: pointer;
      background-color: var(--color-secondary);
    }
  }
  
  .navigation-button.active {
    cursor: pointer;
    color: var(--color-white) !important;
    background-color: var(--color-secondary);
  }
  
  .navigation.home .navigation-button[search] {
    margin-left: unset;
  }

  .navigation-button[search] {
    color: var(--color-white);
    width: var(--navigation-button-height);
    height: var(--navigation-button-height); 
  }

  .navigation-button[settings] {
    color: var(--color-white);
    width: var(--navigation-button-height);
    height: var(--navigation-button-height); 
  }

  .burger {
    display: none;
    margin-left: auto;
    color: var(--color-white);
    width: calc(var(--navigation-button-height) * 2);
    height: calc(var(--navigation-button-height) * 2); 
    box-sizing: border-box;
    border-radius: 0;
    margin-right: calc(var(--site-content-padding) * -1 + 3px);
    justify-content: center;
    align-items: center;
    border-radius: 360px;
    padding: 0px;
  }
  
  .burger svg {
    height: 24px;
  }
  
  .burger.home {
    color: var(--color-broken-black);
    background-color: var(--color-white);
    border-radius: 360px;
    margin-right: 0px;
  }
  
  @media (pointer:fine) {
    .burger:hover {
      cursor: pointer;
      background-color: var(--color-secondary);
    }
    .burger.home:hover {
      cursor: pointer;
      color: var(--color-white);
      background-color: var(--color-primary);
    }
  }
  
  .burger:active {
    cursor: pointer;
    color: var(--color-white) !important;
    background-color: var(--color-secondary);
  }
  
  .burger.home:active {
    cursor: pointer;
    color: var(--color-white) !important;
    background-color: var(--color-primary);
  }

  .menu {
    display: none;
    margin-top: var(--header-height);
    left: 0;
    top: 0;
    background-color: var(--color-white);
    width: 100vw;
    position: fixed;
    transition: 0.1s height;
  }

  .menu.home {
    background-color: var(--color-primary);
    margin-top: var(--header-height-home);
  }

  .menu-container {
    display: flex;
    width: var(--site-content-width);
    max-width: 100vw;
    margin: 0 auto;
    padding: var(--site-content-padding);
    gap: 12px;
    box-sizing: border-box;
    min-height: var(--header-height);
  }

  .menu-container .button {
    font-size: 17px;
  }

  .menu-obscure {
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    height: calc(100% - var(--header-height));
    width: 100vw;
    z-index: -1;
  }
  
  .home-link {
    display: flex;
    position: relative;
    transition: 0.2s transform;
  }
  
  .home-link:hover {
    transform: scale(1.1);
  }
  
  .home-link a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .home-link-desktop {
    display: flex;
    position: relative;
  }
  
  .home-link-mobile {
    display: none;
    position: relative;
  }

  @media screen and (max-width: 4846px ) { .home-background { background-image: url('/src/img/bg/bg-xl.jpg'); }}
  @media screen and (max-width: 2423px ) { .home-background { background-image: url('/src/img/bg/bg-l.jpg'); }}
  @media screen and (max-width: 1212px ) { .home-background { background-image: url('/src/img/bg/bg-m.jpg'); }}
  @media screen and (max-width: 606px  ) { .home-background { background-image: url('/src/img/bg/bg-s.jpg'); }}

  .badge {
    color: var(--color-broken-black);
    font-family: "Open Sans";
    font-weight: 300;
    padding: calc(var(--navigation-button-padding) / 2);
    padding-left: calc(var(--navigation-button-padding));
    padding-right: calc(var(--navigation-button-padding));
    background-color: var(--color-td-grey);
    border-radius: 360px;
    min-width: 20px;
    text-align: center;
    font-size: 80%;
  }

  .badge-container {
    display: flex;
    flex-direction: row;
    gap: 3px;
    width: 100%;
    margin-bottom: 12px;
  }

  .badge.round {
    width: 14px;
    height: 14px;
    max-width: 14px !important;
    min-width: 14px !important;
    border-radius: 100%;
    padding: 0px;
  }
  
  .badge.red {
    color: var(--color-red-text);
    background-color: var(--color-red);
  }

  .badge.green {
    color: var(--color-green-text);
    background-color: var(--color-green);
  }

  .badge.acidic {
    background-color: #dd7b24;
  }

  .badge.neutral {
    background-color: #039748;
  }

  .badge.alkaline {
    background-color: #00589d;
  }


  .button {
    font-family: 'Montserrat';
    color: var(--color-broken-black);
    font-weight: 500;
    font-size: 15px;
    padding: var(--navigation-button-padding);
    padding-left: calc(var(--navigation-button-padding) * 1.5);
    padding-right: calc(var(--navigation-button-padding) * 1.5);
    border-radius: 360px;
    transition: 0.2s background-color;
    display: flex;
    cursor: pointer;
    width: fit-content;
    justify-items: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    height: fit-content;
    user-select: none;
  }

  .button a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .button.small svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }

  .button.inline {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .button.counter:after {
    content: attr(count);
    position: absolute;
    color: var(--color-broken-black);
    font-family: "Open Sans";
    font-weight: 300;
    right: 5px;
    font-size: 12px;
    padding: 4px;
    background-color: var(--color-td-grey);
    border-radius: 360px;;
    min-width: 20px;
    text-align: center;
  }

  .checkbox-button label span {
    background-color: var(--color-light-grey);
    border-radius: 100%;
    width: fit-content;
    width: 35px;
    height: 35px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s background-color;
  }

  .checkbox-button label input {
    display: none;
  }

  .checkbox-button input:hover + span {
    background-color: var(--color-dark-grey);
  }

  .checkbox-button input:checked + span {
      background-color: var(--color-secondary);
      color:#fff;
  }

  .checkbox-button input:checked:hover + span {
      background-color: var(--color-primary);
      color:#fff;
  }

  .checkbox-button.lock input + span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23333' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.5 10.5V6.75a4.5 4.5 0 119 0v3.75M3.75 21.75h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H3.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z' /%3E%3C/svg%3E%0A");
    background-size: 21px 21px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .checkbox-button.lock input:checked + span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z' /%3E%3C/svg%3E%0A");
    background-size: 21px 21px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .spinner-container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    padding-right: var(--site-container-padding);
    padding-left: var(--site-container-padding);
  }

  .spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    max-width: 18px;
    padding: 0px !important;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
  
  .spinner .path {
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }

  .tree-item .spinner {
    margin-right: auto;
  }

  .sidebar-button .spinner-container {
    border-radius: 100% !important;
    margin-left: auto;
    width: 30px;
    height: 30px;
    margin-right: var(--navigation-button-padding);
    padding: 0px;
    bottom: unset;
    top: 50%;
    transform: translateY(-50%);
  }

  .sidebar-button span {
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
  }

  .sidebar-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .images .sidebar-button .spinner-container {
    margin-left: auto;
    margin-right: auto;
    background-color: transparent !important;
  }

  @keyframes rotate {
    100% {
      transform: rotate(360deg);
      transform-origin: center;
    }
  }
  
  @keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }
  
  .button svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
  }

  .button.icon-right svg {
    margin-left: 6px;
  }
  
  .button.icon-left svg {
    margin-right: 6px;
  }

  .button.round{
    padding: var(--navigation-button-padding);
    border-radius: 100%;
    min-width: 31px;
    justify-content: center;
  }

  .button.toggled {
    background-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
  }

  .button.disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  .menu.home .button {
    color: var(--color-white);
  }

  .button.blue {
    background-color: var(--color-secondary);
    color: var(--color-white);
  }

  .button.grey {
    background-color: var(--color-light-grey);
    color: var(--color-broken-black);
  }

  .button.green {
    background-color: var(--color-green) !important;
    color: var(--color-green-text) !important;
  }

  .button.hemat {
    background-color: var(--color-hematology-secondary);
    color: var(--color-white);
  }

  .button.urine {
    background-color: var(--color-urine-secondary);
    color: var(--color-white);
  }

  .button.warn {
    color: #635011;
    background-color: #FEF5CF;
  }

  .button.red {
    background-color: var(--color-red) !important;
    color: var(--color-red-text) !important;
  }

  .button.grey.no-interaction:hover {
    background-color: var(--color-light-grey) !important;
    color: var(--color-broken-black) !important;
    cursor: default;
  }
  
  .button.blue.done:before {
    content: '';
    position: absolute;
    border-radius: 100%;
    width: 100%;
    height: 100%;
    background-color: #0044A6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23FFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
  }

  .button:active {
    background-color: #2222220d;
  }

  .menu.home .button:active {
    background-color: var(--color-secondary);
  }

  .button.blue:active {
    background-color: var(--color-primary);
    color: #FFF;
  }

  .button.grey:active {
    background-color: var(--color-dark-grey) !important;
    color: var(--color-broken-black) !important;
  }
  
  .button.gunmetal {
    background-color: #42567d;
        color: #FFF;
  }

  .button.purple {
    background-color: var(--color-purple-secondary);
    color: #FFF;
  }

  .button.yellow {
    background-color: var(--color-yellow-secondary);
    color: #FFF;
  }

  .button.darkgreen {
    background-color: var(--color-green-secondary);
    color: #FFF;
  }

  .button.purple:active {
    background-color: var(--color-purple-primary);
    color: #FFF;
  }

  .button.yellow:active {
    background-color: var(--color-yellow-primary);
    color: #FFF;
  }

  .button.gunmetal:active {
    background-color: #26344d;
    color: #FFF;
  }

  .button.darkgreen:active {
    background-color: var(--color-green-primary);
    color: #FFF;
  }

  .button.hemat:active {
    background-color: var(--color-hematology-primary);
    color: var(--color-white);
  }

  .button.urine:active {
    background-color: var(--color-urine-primary);
    color: var(--color-white);
  }

  @media (pointer:fine) {
    .button:hover {
      background-color: #2222220d;
    }

    .menu.home .button:hover {
      background-color: var(--color-secondary);
    }

    .button.blue:hover {
      background-color: var(--color-primary);
      color: #FFF;
    }

    .button.grey:hover {
      background-color: var(--color-dark-grey) !important;
      color: var(--color-broken-black) !important;
    }

    .button.purple:hover {
      background-color: var(--color-purple-primary);
      color: #FFF;
    }
  
    .button.yellow:hover {
      background-color: var(--color-yellow-primary);
      color: #FFF;
    }
  
    .button.darkgreen:hover {
      background-color: var(--color-green-primary);
      color: #FFF;
    }

    .button.hemat:hover {
      background-color: var(--color-hematology-primary);
      color: var(--color-white);
    }
  
    .button.urine:hover {
      background-color: var(--color-urine-primary);
      color: var(--color-white);
    }
  }

  .component-container .button.grey {
    background-color: var(--color-td-grey);
  }

  .menu-container[tools] .button:first-of-type{
    margin-left: auto;
  }

  .error_404_container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 25%;
  }

  .error_404 {
    font-family: Montserrat;
    font-weight: 600;
    display:flex;
    justify-self: center;
    font-size: 50;
    color: var(--color-dark-grey);
    justify-content: center;
    width: 100%;
    margin: auto;
  }

  .error_404.small {
    font-family: Open Sans;
    font-size: 30;
    font-weight: 400;;
  }
  
  input[type=text],input[type=password],input[type=number] {
    padding: 3px;
    padding-left: 12px;
    padding-right: 12px;
    outline: 2px solid #CBD4DA;
    border: none;
    font-family: 'Open Sans';
    color: var(--color-broken-black);
    font-weight: 500;
    font-size: 16px;
    border-radius: 500px;
    width: 100%;
    transition: 0.2s outline;
  }

  input.small {
    padding: 3px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 13px;
  }

  input[type=text]:focus,input[type=password]:focus,input[type=number]:focus,input[type=text]:hover,input[type=password]:hover,input[type=number]:hover {
    outline: 2px solid #666;
  }
  
  input[type=text].large {
    padding: calc(var(--navigation-button-padding) * 2);
    padding-left: calc(var(--navigation-button-padding) * 2);
    padding-right: calc(var(--navigation-button-padding) * 2);
    outline: 2px solid #CBD4DA;
    border: none;
    font-family: 'Montserrat';
    color: var(--color-broken-black);
    font-weight: 500;
    font-size: 15px;
    border-radius: 360px;
    width: 100%;
  }

  .large + .button {
    height: 100%;
    padding-left: calc(var(--navigation-button-padding) * 2);
    padding-right: calc(var(--navigation-button-padding) * 2);
  }

  input[type=text].home {
    outline: 2px solid transparent;
  }

  input[type=text].noborder {
    outline: 2px solid transparent;
  }

  #search {
    padding-left: calc(var(--navigation-button-padding)*2);
    text-align: center;
  }

  #search_result {
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    max-width: var(--site-content-width);
    margin-left: auto;
    margin-right: auto;
    max-height: 50vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: var(--site-content-padding);
  }

  #search_result:empty{
    margin: 0px;
  }

  .result-container {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    margin-left: var(--site-content-padding);
    margin-right: var(--site-content-padding);
    max-height: 100px;
    padding: var(--navigation-button-padding);
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s background-color;
    position: relative;
  }

  .result-container a {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .home .result-container .component-title {
    color: var(--color-white) !important;
  }

  .home .result-container .component-paragraph {
    color: var(--color-white) !important;
  }

  .result-container:hover {
    background-color: var(--color-light-grey);
  }

  .home .result-container:hover {
    background-color: var(--color-secondary);
  }

  .result-container img {
    width: 100%;
    border-radius: 12px;
  }

  .result-container .component-title {
    font-size: 21px;
    margin-bottom: 0px;
  }

  .result-container .component-paragraph {
    text-overflow:ellipsis;
    overflow:hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    margin-bottom: 0px;
  }

  #search_result_sidepanel {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
  }

  #search_result_sidepanel .result-container{
    grid-template-columns: 68px 1fr;
    padding: 3px;
    border-radius: 0px;
    padding-left: calc(var(--navigation-button-padding) * 2);
    padding-right: calc(var(--navigation-button-padding) * 2);
    margin-left: unset;
    margin-right: unset;
  }
  
  @media (pointer:fine) {
    #search_result_sidepanel .result-container:hover{
      background-color: var(--color-secondary);
      color: var(--color-white) !important;
    }

    #search_result_sidepanel .result-container:hover div {
      color: var(--color-white) !important;
    }
  }

  #search_result_sidepanel .result-container img {
    border-radius: 0;
  }

  #search_result_sidepanel .result-container:active{
    background-color: var(--color-primary);
    color: var(--color-white) !important;
  }

  #search_result_sidepanel .result-container:active div{
    color: var(--color-white) !important;
  }

  #search_result_sidepanel .component-title {
    font-size: 16px;
  }

  #search_result_sidepanel .component-paragraph {
    font-size: 14px;
    -webkit-line-clamp: 2;    
    margin-top: 0px;
  }
  
  textarea {
    padding: 6px;
    outline: 2px solid #CBD4DA;
    border: none;
    font-family: 'Open Sans';
    color: var(--color-broken-black);
    font-weight: 400;
    font-size: 16px;
    border-radius: 6px;
    width: 100%;  
    padding-left: calc(var(--navigation-button-padding) * 1.5);
  }

  .input-text-container {
    display: flex;
    box-sizing: border-box;
    position: relative;
    width: 100%;
  }

  .input-text-container .button {
    position: absolute;
    right: 0px;
  }

  .input-text-container.disabled {
    opacity: 0.5;
    pointer-events: none;

  }

  .main-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding-top: var(--header-height);
    position: relative;
    z-index: 1;
    transition: 0.2s margin-top, 0.2s height;
  }

  .main-container.nosidepanel{
    flex-direction: column;
    max-height: unset;
    overflow-x: hidden;
  }

  .main-container.home {
    height: unset;
    padding-top: var(--header-height-home);
  }

  .main-container.expanded .sidepanel-container {
    max-width: calc(((100vw / 2) - (var(--site-content-width)/2))  + var(--site-content-width)) !important;
    min-width: calc(((100vw - var(--site-content-width)) / 2) + var(--site-content-width)) !important;
  }

  .main-container.expanded .sidepanel {
    max-width: var(--site-content-width);
    width: var(--site-content-width); 
  }

  .sidepanel-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: var(--sidepanel-width);
    max-width: calc(((100vw - var(--site-content-width)) / 2) + var(--sidepanel-width));
    justify-content: flex-end;
    transition: 0.4s all;
    position: relative;
  }

  .nosidepanel .sidepanel-container {
    display: none;
  }
  
  .sidepanel-container.home {
    display: none;
  }

  .sidepanel-bottom-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    padding: var(--site-content-padding);
    box-sizing: border-box;
    width: var(--sidepanel-width);
    max-width: var(--sidepanel-width);
    flex-wrap: wrap;
    gap: 6px;
  }

  .columns {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
    margin-top: 24px;
  }

  .columns[cols='3']{
    grid-template-columns: 1fr 1fr 1fr;
  }

  .columns[cols='4']{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .columns[cols='5']{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .sidepanel {
    display: flex;
    flex-direction: column;
    width: var(--sidepanel-width);
    min-width: var(--sidepanel-width);
    padding: var(--site-content-padding);
    padding-right: calc(var(--site-content-padding) / 3);
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    max-height: calc(100vh - var(--header-height));
    background-color: var(--color-white)FFF;
    opacity: 1;
    align-self: end;
    box-sizing: border-box;
    margin-left: 0px;
    position: relative;
    transition: 0.4s width;
  }

  .sidebar #sidepanel_expand_button {
    display: none;
  }

  #sidepanel_expand_button {
    margin-left: auto;
    justify-content: center;
    position: absolute;
    right: 10px;
    border-radius: 0px 0px 12px 12px;
    z-index: 1;
    top: 0px;
  }

  #sidepanel_expand_button svg {
    transform: rotate(90deg);
    transition: 0.2s all;
    height: 16px;
    margin-right: -2px
  }

  .expanded #sidepanel_expand_button svg {
    transform: rotate(-90deg);
  }

  .content-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: var(--site-content-padding);
  }

  .content-subcontainer {
    display: flex;
    max-width: calc(var(--site-content-width) - var(--site-content-padding) - var(--site-content-padding));
    width: 100%;
  }

  .nosidepanel:not(.home) .content-container{
    align-items: center;
  }

  .content-container.home {
    padding: 0px;
    overflow-y: hidden;
  }

  .content-container.home .sidebar-right-extras{
    display: none;
  }

  .home .contentpanel {
    width: 0px;
    min-width: none;
  }

  .home .content-subcontainer {
    width: 0px;
    min-width: none;
  }

  .contentpanel{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: calc(var(--site-content-width) - var(--sidepanel-width) - (var(--site-content-padding) * 3));
    min-width: calc(var(--site-content-width) - var(--sidepanel-width) - (var(--site-content-padding) * 3));
    box-sizing: border-box;
    position: relative;
  }

  @media screen and (max-width: 1000px) {
    .contentpanel {
      min-width: calc(100vw - var(--sidepanel-width) - (var(--site-content-padding) * 3));
    }
  }
  
  .nosidepanel .contentpanel {
    max-width: calc(var(--site-content-width) - var(--site-content-padding) - var(--site-content-padding));
  }

  /**************** HOME ***********************/
  .strip {
    display:flex;
    width: 100vw;
    min-height: 300px;
    background-color: var(--color-white);    
  }

  .strip.small {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }

  .strip.tiny {
    min-height: 100px;
  }

  .strip.filtered {
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
  }


  .strip.grey {
    background-color: var(--color-light-grey);
  }

  .strip.primary {
    background-color: var(--color-primary);
  }

  .strip.secondary {
    background-color: var(--color-secondary);
  }

  .strip-container {
    display: flex;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    max-width: var(--site-content-width);
    padding: var(--site-content-padding);
    gap: 24px;
    box-sizing: border-box;
    align-self: center;
  }

  .strip-box {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .strip-box.center {
    align-items: center;
  }

  .strip-box.end {
    align-items: end;
  }

  .strip-title {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 30px;
    color: var(--color-broken-black);
    margin-bottom: 8px;
  }

  .strip-text {
    font-family: "Open Sans";
    font-weight: 300;
    font-size: 17px;
    color: var(--color-broken-black);
  }

   .strip.grey .strip-text {
    color: rgba(51,51,51, 0.85);
  }

  .strip.filtered .strip-title, .strip.primary .strip-title, .strip.secondary .strip-title {
    color: var(--color-white);
  }

  .strip.filtered .strip-text, .strip.primary .strip-text, .strip.secondary .strip-text {
    color: rgba(255,255,255,0.85);
  }

  .strip-buttons {
    display: flex;
    gap: 6px;
    margin-top: 12px;
  }

  .contributor-logos {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }

  .contributor-logos.animate {
    margin: unset;
    min-width: fit-content;
    animation: bannermove 100s linear infinite;
  }

  .contributor-logos.animate.fast {
    animation: bannermove 30s linear infinite;
  }

  .contributor-logos::-webkit-scrollbar {
    display: none;
  }
  
  @keyframes bannermove {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-50%, 0);
    }
  }

  .contributor {
    display: flex;
    box-sizing: border-box;
    position: relative;
    align-items: center;
    margin-right: 48px;
    max-height: 55px;
  }

  .contributor img {
    height: 45px;
  }

  .contributor a {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .strip-box .component-gallery {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 350px;;
    gap: 6px;
    align-self: center;
    padding-bottom: 0px;
  }

  .strip-images .component-gallery {
    margin-top: 24px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    max-width: 400px;;
    gap: 6px;
    align-self: center;
  }

  .strip-box .component-gallery .image {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    padding: 0px;
    height: unset;
    transition: 0.2s all;
    
  }

  .strip-box .component-gallery .image:hover {
    transform: scale(1.2);
    z-index: 2;
    cursor: pointer;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
  }

  .footer-panel {
    display: flex;
    flex-direction: column;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .footer-title {
    font-family: Montserrat;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .footer-links a {
    color: rgba(255,255,255,0.85);
    font-family: Open Sans;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
  }

  .footer-links img {
    height: 24px;
  }

  .footer-links a:hover {
    text-decoration: underline;
  }

  /**************** SIDEPANEL *********************/

  .sidebar-button.folder:before {
    content: '';
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 0px 1px;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    background-color: var(--color-broken-black);
    margin-right: 6px;
    margin-left: 3px;
    width: 20px;
    height: 20px;
  }
  
  .sidebar-button.folder {
    font-weight: 600;
  }

  .folder.empty {
    opacity: 0.5;
    pointer-events: none;
  }
  
  .sidebar-button.folder.open:before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.857-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.857-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    width: 20px;
    height: 20px;
  }

  .sidebar-button.image:before {
    content: '';
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 0px 1px;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    background-color: var(--color-broken-black);
    margin-right: 6px;
    margin-left: 3px;
    width: 20px;
    height: 20px;
  }

  .sidebar-button.case:before {
    content: '';
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3C/svg%3E%0A") no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 0px 1px;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    background-color: var(--color-broken-black);
    margin-right: 6px;
    margin-left: 3px;
    width: 20px;
    height: 20px;
  }

  .sidebar-button a {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
  }

  .tree-wrapper {
    overflow: hidden;
    transition: 0.1s height linear;
  }


  /**************** SIDEPANEL = LARGE VIEWPORT ************/
  .sidepanel .sidebar-button {
    display: flex;
    box-sizing: border-box;
    position: relative;
    padding: var(--navigation-button-padding);
    cursor: pointer;
    align-items: center;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-broken-black);
  }

    /***** text_only ********/
      .sidepanel.text_only .tree-wrapper[level] { margin-left: calc(var(--sidepanel-indentation) * 1); }
      .sidepanel.text_only .sidebar-button.selected {
        background-color: var(--color-secondary) !important;
        border-radius: 360px !important;
        color: var(--color-white);
      }
      .sidepanel.text_only .sidebar-button.selected::before {
        background-color: var(--color-white);
      }
      @media (pointer:fine) {
        .sidepanel.text_only .sidebar-button:hover {
          background-color: var(--color-light-grey);
          border-radius: 360px;
        }
      }

    /***** images_small ******/
      .sidepanel.images_small .tree-wrapper[level] { margin-left: calc(var(--sidepanel-indentation) * 1); }
      .sidepanel.images_small .sidebar-button .small_image {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        border-radius: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-content: center;
        margin-right: 6px;
      }
      .sidepanel.images_small .sidebar-button .small_image img {
        transform: scale(1.8);
      }

      .sidepanel.images_small .sidebar-button.selected {
        background-color: var(--color-secondary) !important;
        border-radius: 360px !important;
        color: var(--color-white);
      }
      .sidepanel.images_small .sidebar-button.selected::before {
        background-color: var(--color-white);
      }
      @media (pointer:fine) {
        .sidepanel.images_small .sidebar-button:hover {
          background-color: var(--color-light-grey);
          border-radius: 360px;
        }
      }

    /***** images_large ******/
      .sidepanel.images_large .tree-wrapper[level] { margin-left: calc(var(--sidepanel-indentation) * 0.5); }
      .sidepanel.images_large .sidebar-image {
        width: 84px;
        height: 84px;
        border-radius: 12px;
        margin: 2px;
        cursor: pointer;
        outline: 2px solid transparent;
        transition: 0.2s outline, 0.4s height, 0.4s width;
        position: relative;
      }

      .sidepanel.images_large .sidebar-image.selected {
        outline: 2px solid var(--color-primary);
      }

      .sidepanel.images_large .sidebar-image.selected:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-primary);
        opacity: 0.15;
        border-radius: 12px;
      }

      .sidepanel.images_large .sidebar-image img {
        display: flex;
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 12px;
      }

      .sidepanel.images_large .tree-wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
      }

      .sidepanel.images_large .sidebar-button.folder {
        width: fit-content;
        margin-right: auto;
        padding-right: calc(var(--navigation-button-padding) * 2);
      }
      
      @media (pointer:fine) {

        .sidepanel.images_large .sidebar-button.folder:hover {
          background-color: var(--color-light-grey);
          border-radius: 360px;
        }

        .sidepanel.images_large .sidebar-image:hover {
          outline: 2px solid var(--color-secondary);
        }
      }

      /******* expanded *********/
      .expanded .sidebar-button.folder {
        width: 100%;
      }

      .expanded .sidepanel.images_large .sidebar-image {
        width: 180px;
        height: 180px;
      }
      
  /**************** SIDEBAR = SMALL VIEWPORT ************/
    .sidebar {
      display: none;
      width: 100%;
      height: 100%;
      min-height: 100%;
      max-height: 100%;
      position: fixed;
      max-width: var(--sidebar-max-width);
      top: 0;
      transform: translateX(-100%);
      z-index: 99;
      background-color: var(--color-white);
      box-sizing: border-box;
      overflow: hidden;
      flex-direction: row;
      transition: 0.2s transform;
      

    }
      
    .sidebar.open {
      left: 0;
    }
  
    .sidebar-back {
      font-weight: 600;
    }
    
    .sidebar-content {
      display: flex;
      width: 100vw;
      height: 100vh;
      overflow-y: scroll;
      flex-direction: column;
      max-width: var(--sidebar-max-width);
      background-color: var(--color-white);
      padding-top: var(--sidebar-header-height);
      min-height: calc(100vh - var(--sidebar-header-height));
      max-height: calc(100vh - var(--sidebar-header-height));
    }

    .sidebar-title {
      font-family: Montserrat;
      font-weight: 600;
      font-size: 24px;
    }
    
    .sidebar-container {
      display: flex;
      width: fit-content;
      position: absolute;
      top: 0;
      left: 0;
      transition: 0.4s transform;
    }
    
    .sidebar-container.left {
      transform: translateX(-50%);
    }
    
    .sidebar-container.left-2 {
      left: -200%;
    }

    .sidebar-header {
      display: flex;
      flex-direction: row;
      position: absolute;
      top: 0;
      left: 0;
      width: calc(100% + 2px);
      max-width: var(--sidebar-max-width);
      height: var(--sidebar-header-height);
      background-color: var(--color-primary);
      color: var(--color-white);
      display: flex;
      box-sizing: border-box;
      padding: calc(var(--navigation-button-padding) * 2);
      padding-left: calc(var(--navigation-button-padding) * 2);
      align-items: center;
      z-index: 3;
    }

    .sidebar-obscure {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0,0,0,0.7);
      z-index: 3;
    }
    
    .sidebar-spacer {
      min-height: 100px;
      height: 100px;
    }

    .sidebar .sidebar-button {
      display: flex;
      box-sizing: border-box;
      position: relative;
      padding: calc(var(--navigation-button-padding) * 2);
      cursor: pointer;
      align-items: center;
      white-space: nowrap;
      text-overflow: ellipsis;
      color: var(--color-broken-black);
    }

    .sidebar .sidebar-button[level='0'] .small_image {
      margin-left: 0px;
    }

    .sidebar .sidebar-button svg {
      width: 20px;
      height: 20px;
      margin-right: 6px;
    }    

    .sidebar .sidebar-button:active {
      background-color: var(--color-secondary);
      color: var(--color-white);
    }
    .sidebar .sidebar-button:active:before {
      background-color: var(--color-white) !important;
      color: var(--color-white);
    }

    @media (pointer:fine) {
      .sidebar .sidebar-button:hover {
        background-color: var(--color-secondary);
        color: var(--color-white);
      }
      .sidebar .sidebar-button:hover:before {
        background-color: var(--color-white) !important;
        color: var(--color-white);
      }
    }

    .sidebar .sidebar-button.selected {
      background-color: var(--color-secondary) !important;
      color: var(--color-white);
    }
    .sidebar .sidebar-button.selected::before {
      background-color: var(--color-white);
    }

    .sidebar .tree-wrapper[level='1'] > div { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 1)); }
    .sidebar .tree-wrapper[level='2'] > div { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 2)); }
    .sidebar .tree-wrapper[level='3'] > div { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 3)); }
    .sidebar .tree-wrapper[level='4'] > div { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 4)); }
    .sidebar .tree-wrapper[level='5'] > div { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 5)); }

    .sidebar .sidebar-button .small_image {
      width: 32px;
      height: 32px;
      min-width: 32px;
      min-height: 32px;
      border-radius: 100%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-content: center;
      margin-right: 6px;
      margin-top: -9px;
      margin-bottom: -9px;
      margin-left: -9px;
    }
    .sidebar .sidebar-button .small_image img {
      transform: scale(1.7);
    }

    .sidebar .tree-wrapper.images_large {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      padding-left: calc(var(--navigation-button-padding) * 2) !important;
      max-width: var(--sidebar-max-width);
    }

    .sidebar .tree-wrapper.images_large .sidebar-button.folder {
      width: 100%;
    }

    .sidebar .tree-wrapper {
      padding-left: 0px !important;
      box-sizing: border-box;
    }

    .sidebar .sidebar-image {
      width: 30%;
      aspect-ratio: 1;
      max-width: 84px;
      max-height: 84px;
      border-radius: 6px;
      margin: 2px;
      cursor: pointer;
      outline: 2px solid transparent;
      position: relative;
      padding-left: 0px !important;
    }

    .sidebar .sidebar-image img {
      display: flex;
      object-fit: cover;
      width: 100%;
      border-radius: 12px;
    }

    .sidebar-image a {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
    }

    .sidebar .tree-wrapper[level='1'].images_large .folder { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 0)) !important; z-index: 2; }
    .sidebar .tree-wrapper[level='2'].images_large .folder { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 0)) !important; z-index: 2; }
    .sidebar .tree-wrapper[level='3'].images_large .folder { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 0)) !important; z-index: 2; }
    .sidebar .tree-wrapper[level='4'].images_large .folder { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 0)) !important; z-index: 2; }
    .sidebar .tree-wrapper[level='5'].images_large .folder { padding-left: calc(var(--navigation-button-padding) * 2 + (var(--sidepanel-indentation) * 0)) !important; z-index: 2; }

    .sidebar .images_large .sidebar-button:active:after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #0044A6;
      z-index: -1;
      left: -60px;
    }
    .sidebar .images_large .sidebar-button:active:before {
      background-color: var(--color-white) !important;
      color: var(--color-white);
    }

    @media (pointer:fine) {
      .sidebar .images_large .sidebar-button:hover:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #0044A6;
        z-index: -1;
        left: -60px;
      }
      .sidebar .images_large .sidebar-button:hover:before {
        background-color: var(--color-white) !important;
        color: var(--color-white);
      }
    }

  /**************** MODAL *******************/
  .modal-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    z-index: 2;
  }

  .modal-container.scaled .modal {
    transform: scale(0.8);
  }

  .modal {
    display: flex;
    flex-direction: column;
    padding: var(--site-content-padding);
    border-radius: 24px;
    background-color: var(--color-white);
    min-width: 300px;
    max-width: 400px;
    margin-left: var(--site-container-padding);
    margin-right: var(--site-container-padding);
    box-sizing: border-box;
    height: fit-content;
    transition: 0.2s transform;
    margin-top: calc(var(--header-height) + 24px);
    font-family: "Open Sans";
    font-size: 16px;
    line-height: 23px;
    color: var(--color-broken-black);
  }

  .modal.large {
    width: 80vw;
    max-width: 800px;
    overflow-y: auto;
    max-height: 80vh;
  }

  .modal.medium {
    width: 80vw;
    max-width: 500px;
  }

  .modal textarea {
    width: 100%;
    height: 150px;
  }

  .modal-title {
    display: flex;
    font-family: 'Montserrat';
    color: var(--color-broken-black);
    font-weight: 600;
    font-size: 21px;
    margin-bottom: 16px;
  }

  .modal-buttons {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    gap: 6px;
  }

  .modal-text {
    margin-bottom: 16px;
  }

  .modal-text-inputs {
    display: grid;
    grid-template-columns: min-content auto;
    gap: 8px;
    margin-bottom: 16px;
  }

  .modal-label {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-right: 6px;
  }

  
  /******************* IFT ************************/
  .component-ift {
    display: flex;
    flex-direction: column;
    padding: var(--site-container-padding);
    background-color: var(--color-light-grey);
    border-radius: 12px;
    outline: 2px solid transparent;
    transition: 0.2s all;
    margin-bottom: 6px;
  }

  .component-ift .markers {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  
  .component-ift.expandable .markers {
    display: flex;
    flex-direction: row !important;
    gap: 12px;
  }
  
  .component-ift .marker-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
  }

  .component-ift .markers .marker {
    background-color: rgba(117,54,157);
    color: var(--color-white);
    border-radius: 360px;
    white-space: nowrap;
    padding: 4 6 4 6;
    font-size: 13px;
    font-weight: 600;
    font-family: "Open Sans";
  }

  .component-ift .plots {
    display: none;
  }

  .component-ift.expandable:active {
    outline: 2px solid var(--color-primary);
    cursor: pointer;
  }

  @media (pointer:fine) {
    .component-ift.expandable:hover {
      outline: 2px solid var(--color-primary);
      cursor: pointer;
    }
  }
  
  .component-ift.expandable.expanded:hover {
    outline: 2px solid transparent;
    cursor: default;
  }

  .component-ift.expandable .button svg {
    transform: rotate(0deg);
    transition: 0.2s transform;
  }

  .component-ift.expandable.expanded .button svg {
    transform: rotate(-180deg);
    transition: 0.2s transform;
  }

  .component-ift .component-gallery {
    margin-top: 24px;
    gap: 12px;
    cursor: default;
  }

  .img-container.ift{
    margin-left: var(--plot-margin);
    margin-bottom:  var(--plot-margin);
    border: 2px solid #4B4D52;
    border-radius: 8px;
    position: relative;
    aspect-ratio: 1;
  }

  .img-container.ift img {
    display: flex;
    overflow: hidden;
    border: none;
    border-style: none;
    border-radius: 8px;
    width: 100%;
  }
  
  .ift-label {
    font-family: 'Montserrat';  
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    white-space: nowrap;
  }
  
  .ift-label.y {
    top: 50%;
    left: -12px;
    display: flex;
  }
  
  .ift-label.y .rotate {
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    transform:  translateX(-50%) translateY(-50%) rotate(-90deg);
    position: absolute;
    top: 50%;
    left: 50%;
  }
  
  .ift-label.x {
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    line-height: 0;
    display: flex;
    position: absolute;
  }

  .component-ift + .component-title[size="2"] {
    margin-top: 36px;
  }

  /*************** DISTRIBUTION **************/
  .component-distribution:not(.component-table) {
    display: grid;
    grid-template-columns: min-content auto;
    gap: 4px;
    column-gap: 8px;
    font-size: 14px;
    font-family: Open Sans;
    font-weight: 400;
    white-space: nowrap;
  }

  .bar-container {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: var(--color-light-grey);
    border-radius: 360px;
    max-width: 200px;
    overflow: clip;
  }

  .bar-container .bar {
    justify-content: center;
    height: 100%;
    border-radius: 360px;
    background-color: var(--color-dark-grey);
  }
  
  .bar-container .bar.shown {
    background-color: var(--color-primary);
  }

  /*************** TABLE *******************/
    
  .component-table {
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .component-table::-webkit-scrollbar {
    display: none;
  }
  
  .component-table table {
    font-family: 'Open Sans';
    font-size: 15px;
    transition: 0.2s all;
    white-space: nowrap;
  }
  
  .component-table td {
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    position: relative;
    z-index: 1;
  }
  
  .component-table td span {
    width: 100%;
  }
  
  .component-table table tr:first-of-type {
    font-family: Montserrat;
    font-weight: 600;
  }

  .component-table td.warn {
    background-color: #FEF5CF
  }

  .component-table tr.warn td {
    border-color: #FEF5CF;
    border-radius: 360px;
  }

  .component-table td.danger {
    background-color: hsl(3,90%,92%);
    border-radius: 360px;
  }
  
  .component-table .table-line {
    width: 100%;
    height: 1px;
    background-color: var(--color-dark-grey);
    justify-self: center;
    align-self: center;
  }

  /*************** PLOTS ******************/

  .component-ift .plot-button {
    padding: 4px 6px;
    text-transform: uppercase;
    border-radius: 360px;
    font-size: 13px;
    font-weight: 600;
    background-color: var(--color-td-grey);
    color: #606262;;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: fit-content;
  }

  .plot-button.activated {
    background-color: var(--color-secondary) !important;
    color: #FFF !important;
  }

  .plot-button.grey:active {
    background-color: var(--color-dark-grey) !important;
    color: var(--color-broken-black) !important;
  }

  @media (pointer:fine) {
    .plot-button:hover {
      background-color:  var(--color-dark-grey);
    }
  }
  
  #button-reference-overlay {
    text-transform: capitalize;
    padding-right: 12px;
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
  }
  
  #button-reference-overlay[type] {
      pointer-events: all;
      cursor: pointer;
      opacity: 1;
  }
  
  .plots-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 24px;
  }
  
  .scatter-reference {
    display: none;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 12px;
  }

  .scatter-reference div {
    display: flex;
    align-items: center;
  }

  #scatter-caption {
    margin-top: 12px;
    font-size: 13px;
  }

  .overlay {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
  }
  
  .overlay.active {
    display: flex;
    animation-name: fadeIn;
    animation-duration: 0.2s;
  }
  
  .overlay.wdf .mono {
    width: 15%;
    height: 35%;
    top: 42%;
    left: 38%;
    transform: rotate(5deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,128,0,0.35);
  }

  .overlay.wdf .lymfo {
    width: 15%;
    height: 30%;
    top: 60%;
    left: 22%;
    transform: rotate(13deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(128,0,128,0.35);
  }

  .overlay.wdf .neut {
    width: 15%;
    height: 26%;
    top: 69%;
    left: 53%;
    transform: rotate(70deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,128,128,0.35);
  }

  .overlay.wdf .eos {
    width: 12%;
    height: 19%;
    top: 78%;
    left: 73%;
    transform: rotate(80deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(139,2,2,0.35);
  }

  .overlay.wnr .nrbc {
    width: 25%;
    height: 25%;
    top: 45%;
    left: 29%;
    transform: rotate(13deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(140,104,165,0.35);
  }

  .overlay.wnr .wbc {
    width: 35%;
    height: 40%;
    top: 42%;
    left: 57%;
    transform: rotate(70deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,128,128,0.35);
  }

  .overlay.wnr .baso {
    width: 25%;
    height: 20%;
    top: 22%;
    left: 62%;
    transform: rotate(-20deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(239,174,94,0.35);
  }

  .overlay.wnr .debris {
    width: 50%;
    height: 10%;
    top: 92%;
    left: -2%;
    transform: rotate(0deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,0,128,0.35);
  }
  .overlay.ret .ery {
    width: 25%;
    height: 55%;
    top: 7%;
    left: 5%;
    transform: rotate(14deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,0,128,0.35);
  }
  .overlay.ret .reti {
    width: 60%;
    height: 45%;
    top: 7%;
    left: 30%;
    transform: rotate(0deg);
    border-radius: 50%;
    border-top-left-radius: 25%;
    border-bottom-left-radius: 25%;
    position: absolute;
    background-color: rgba(139,2,2,0.35);
  }
  .overlay.ret .frag {
    width: 15%;
    height: 37%;
    top: 60%;
    left: 1%;
    transform: rotate(9deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(239,174,94,0.35);
  }

  .overlay.pltf .plt {
    width: 20%;
    height: 60%;
    top: 46%;
    left: 23%;
    transform: rotate(45deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,128,128,0.35);
  }
  .overlay.pltf .plti {
    width: 18%;
    height: 40%;
    top: 28%;
    left: 52%;
    transform: rotate(44deg);
    border-radius: 50%;
    position: absolute;
    background-color: rgba(0,128,0,0.35);
  }

  .dot {
    margin-right: 6px;
    width: 10px !important;
    height: 10px !important;
    border-radius: 10px !important;
    margin-top: 2px;
    min-width: 10px;
    min-height: 10px;
  }

  .overlay.rbc .region {
    position: absolute;
    height: 100%;
    width: 9%;
    right: 60%;
    background-color: rgba(0,128,0,0.25);
  }

  .overlay.rbc .mcv {
    position: absolute;
    width: 2px;
    background-color: #7DF97D;
    height: 100%;
    height: calc(100% - 4px);
    top: 0px;
    z-index: 3;
    margin-top: 2px;
  }

  .overlay.rbc .mcv_nr {
    position: absolute;
    bottom: 12px;
    padding: 6px;
    z-index: 4;
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Open Sans;
    color: var(--color-broken-black);
    font-weight: 600;
    font-size: 13px;
  }

  .overlay.plt .region {
    position: absolute;
    height: 100%;
    width: 12%;
    left: 18%;
    background-color: rgba(0,128,0,0.25);
  }

  .overlay.plt .mpv {
    position: absolute;
    width: 2px;
    background-color: #7DF97D;
    height: 100%;
    height: calc(100% - 4px);
    top: 0px;
    z-index: 3;
    margin-top: 2px;
  }

  .overlay.plt .mpv_nr {
    position: absolute;
    bottom: 12px;
    background-color: #DDD;
    padding: 6px;
    z-index: 4;
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Open Sans;
    color: var(--color-broken-black);
    font-size: 13px;
  }

  .lymphos.dot {
    background-color: rgba(128,0,128,0.35);
  }
  .monos.dot {
    background-color: rgba(0,128,0,0.35);
  }
  .neutro.dot {
    background-color: rgba(0,128,128,0.35);
  }
  .eosi.dot {
    background-color: rgba(139,2,2,0.35);
  }
  .wbc.dot {
    background-color: rgba(0,128,128,0.35);
  }
  .baso.dot {
    background-color: rgba(239,174,94,0.35);
  }
  .nrbc.dot {
    background-color: rgba(140,104,165,0.35);
  }
  .debris.dot {
    background-color: rgba(0,0,128,0.35);
  }
  .ery.dot {
    background-color: rgba(0,0,128,0.35);
  }
  .reti.dot {
    background-color: rgba(139,2,2,0.35);
  }
  .frag.dot {
    background-color: rgba(239,174,94,0.35);
  }
  .plt.dot {
    background-color: rgba(0,128,128,0.35);
  }
  .plti.dot {
    background-color: rgba(0,128,0,0.35);
  }
  
  @media screen and (max-width: 579px) {
    .plots-group {
      flex-direction: column;
    }  
  }

  /**************** FLAG *********************/
  .flag {
    display: none;
    padding: 10px;
    padding-left: 14px;
    padding-right: 18px;
    position: fixed;
    bottom: 24px;
    
    z-index: 99999;
    border-radius: 3px;
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 15px;
    border-radius: 300px;
  }

  .flag.show  {
    animation: show-flag .3s;
    animation-fill-mode: forwards;
  }

  @keyframes show-flag {
      from {
        right: -100%;
      }
      to {
        right: 24px;
      }
  }

  .flag div {
    padding: 2px 0px 2px 16px;
    padding-left: 34px;
    flex: 1 1 0%;
    font-weight: 400;
  }

  .flag.success div::before {
    content: '';
    display: inline-flex;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFFFFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 24px;
    height: 24px;
    left: 18;
    margin-top: -2;
  }

  .flag.success {
    background-color: #007E64;
    color: var(--color-white);
  }

  .flag.info {
    background-color: #44546f;
    color: var(--color-white);
  }

  .flag.info div::before {
    content: '';
    display: inline-flex;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFFFFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 24px;
    height: 24px;
    left: 18;
    margin-top: -2;
  }

  .flag.error div::before {
    content: '';
    display: inline-flex;
    position: absolute;
    color: var(--color-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFFFFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 24px;
    height: 24px;
    left: 18;
  }

  .flag.error {
    background-color: #A70002;
    color: var(--color-white);
  }

  @keyframes flag-fly-in {
    100% { right: 24; }
  }

  /**************** TYPOGRAPHY ********************/
  .page-title {
    font-family: Montserrat;
    font-size: 36px;
    font-weight: 600;
    color: var(--color-broken-black);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    margin-bottom: 24px;
  }

  .component-paragraph {
    font-family: "Open Sans";
    font-size: 16px;
    line-height: 23px;
    color: var(--color-broken-black);
    display: inline-block;
  }
  
  .component-paragraph div {
    display: inline;
  }

  .component-sources {
    font-family: "Open Sans";
    font-size: 14px;
    line-height: 20px;
    color: var(--color-broken-black);
    display: inline-block;
  }

  .component-synonyms {
    margin-top: -10px;
    color: #333;
    opacity: 0.7;
    font-size: 17px;
    margin-bottom: 24px;
  }

  .component-gallery {
    display: grid;
    position: relative;
    gap: 6px;
    transition: all 1s ease;
    box-sizing: border-box;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .component-gallery[images-row='1'] {
    grid-template-columns: 1fr;
  }

  .component-gallery[images-row='2'] {
    grid-template-columns: 1fr 1fr;
  }
  .component-gallery[images-row='3'] {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .component-gallery[images-row='4'] {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .component-gallery[images-row='5'] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .component-gallery[images-row='6'] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }

  .component-gallery.bordered {
    padding: var(--site-container-padding);
    background-color: var(--color-light-grey);
    border-radius: 12px;
  }

  .component-container-row .component-title {
    margin-bottom: 8px !important;
    margin-top: 8px !important;
  }

  .component-container-row .component-title:empty {
    margin-top: 0px;
  }

  .component-title + .component-title {
    margin-top: 18px;
  }

  /* COMBINATIONS */

  .component-notification + .component-paragraph {
    margin-top: 12px;
  }

  .component-notification + .component-title {
    margin-top: 24px;
  }

  .component-notification + .component-container {
    margin-top: 12px;
  }

  .component-paragraph + .component-paragraph {
    margin-top: 12px;
  }

  .component-paragraph + .component-notification {
    margin-top: 16px;
  }
  
  .component-paragraph + .component-ift {
    margin-top: 24px;
  }

  .component-paragraph + .component-container {
    margin-top: 24px;
  }

  .component-paragraph + .component-title {
    margin-top: 24px;
  }

  .component-paragraph + .button {
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .component-container-row {
    margin-top: 6px;
  }
  
  .component-paragraph + .component-container-row.title {
    margin-top: 24px;
  }

  .component-paragraph + .component-title[size='5'] {
    margin-top: 12px;
  }

  .component-title[size='5'] + .component-paragraph {
    margin-top: 3px;
  }

  .component-title + .component-paragraph {
    margin-top: 6px;
  }

  .component-title + .component-container {
    margin-top: 6px;
  }

  .component-container + .component-container  {
    margin-top: 6px;
  }

  .component-container .component-container {
    padding: 0px;
    margin-top: 0px;
  }

  .component-container + .component-container-row.title {
    margin-top: 16px;
  }

  .component-container + .component-title {
    margin-top: 24px;
  }

  .component-container + .component-paragraph {
    margin-top: 24px;
  }

  .component-container + .component-container-row {
    margin-top: 24px;
  }
  
  .component-container.chart {
    margin-bottom: 12px;
    width: 100% !important;
  }

  /* END COMBINATIONS */

  .component-gallery .image {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    user-select: none;
  }

  .component-gallery.rectangular .image {
    aspect-ratio: 1 / 1;
  }

  .component-gallery .image.hidden {
    display: none;
  }

  .component-gallery.multiple:hover .prev {
    width: 48px;
    color: #FFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFFFFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z' /%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    background-color: var(--color-primary);
  }

  .component-gallery.multiple:hover .next {
    width: 48px;
    color: #FFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFFFFF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z' /%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    background-color: var(--color-primary);
  }

  .component-gallery.multiple .prev {
    display: flex;
    position: absolute;
    left: 0;
    width: 12px;
    height: 100%;
    border-radius: 12px 0px 0px 12px;
    background-color: var(--color-secondary);
    z-index: 1;
    opacity: 0.5;
    transition: 0.2s width, 0.2s opacity;
  }

  .component-gallery.multiple .next {
    display: flex;
    position: absolute;
    right: 0;
    width: 12px;
    height: 100%;
    border-radius: 0px 12px 12px 0px;
    background-color: var(--color-secondary);
    z-index: 1;
    opacity: 0.5;
    transition: 0.2s width, 0.2s opacity;
  }

  .component-gallery.multiple .prev:hover {
    opacity: 0.8;
    cursor: pointer;
  }

  .component-gallery.multiple .next:hover {
    opacity: 0.8;
    cursor: pointer;
  }

  .component-gallery .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 12px;
    transition: box-shadow 0.1s linear;
    position: relative;
  }

  .image a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .component-gallery.wide img {
    height: 52px;
    object-fit: cover;
  }

  .component-gallery .image img[zoom]:hover {
    box-shadow: 0 0 0 2px var(--color-primary);
    cursor: pointer;
  }

  .component-gallery .image[popup]:hover:after {
    content: attr(popup);
    position: absolute;
    bottom: 6px;
    background-color: var(--color-light-grey);
    border-radius: 12px;
    font-size: 13px;
    font-family: Open Sans;
    color: var(--color-broken-black);
    text-align: center;
    margin-bottom: 0px;
    padding: 6px;
    box-sizing: border-box;
    width: calc(100% - 12px);
    left: 6px;
  }

  .component-gallery .image[popup][wrong]:hover:after {
    background-size: 21px 21px;
    background-repeat: no-repeat;
    background-position: 6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E%0A");
  }
  
  .component-gallery.one:not(.wide){
    grid-template-columns: 1fr;
    aspect-ratio: 4 / 3;
  }
  
  .component-gallery.wide {
    display: flex;
    flex-wrap: nowrap;
  }

  .component-gallery.masonry {
    column-count: 3;
    display: unset !important;
  }

  .component-gallery.one.scatter{
    max-width: 300px;
  }



  .component-gallery.masonry .image {
    height: unset;
    margin-bottom: 6px;
  }
  
  .component-gallery.wide .img-container {
    width: 100%;
  }

  .gallery-show-roi {
    display: flex;
    margin-left: auto;
    margin-bottom: 6px;
    margin-top: auto;
    height: fit-content;
  }

  .component-container {
    display: flex;
    flex-direction: column;
    background-color: var(--color-light-grey);
    width: fit-content;
    max-width: calc(var(--site-content-width) - (var(--site-content-padding) * 2));
    border-radius: 19px;
    padding: 16px;
    box-sizing: border-box;
    gap: 12px;
    position: relative;
  }

  .component-container.transparent {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    width: 100%;
    border-radius: 0px;
    padding: 0px;
  }

  .component-container.wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .component-container-row {
    display: flex;
    max-width: calc(var(--site-content-width) - (var(--site-content-padding) * 2));
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  .component-caption {
    font-size: 13px;
    color:var(--color-broken-black);
    opacity: 0.9;
    line-height: 19px;
  }

  .roi-obscure {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    mix-blend-mode: hard-light;
    border-radius: 12px;
    animation-name: fadeIn;
    animation-duration: 0.3s;
  }

  .component-notification {
    flex-direction: row;
    background-color: var(--color-light-grey);
    width: 100%;
    border-radius: 19px;
    padding: 16px;
    box-sizing: border-box;
    gap: 8px; 
    font-weight: 400;
    font-family: 'Open Sans';
    font-size: 15px;
    display: flex;
    align-content: center;
    justify-items: center;
  }

  .component-notification svg {
    display: inline-flex;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    position: relative;
    margin-top: 2px;
  }

  .component-notification.info {
    color: #333;
    line-height: 23px;
    background-color: #cce5ff;
    /*background-color: #dceeff;*/    
  }

  .component-notification.warn {
    color: #635011;
    background-color: #FEF5CF;
  }

  .component-notification.danger {
    color: #7D272B;
    background-color: #F4D8DA;
  }

  .component-notification.success {
    color: #0f5132;
    background-color: #d1e7dd;
  }

  .component-notification + .component-notification {
    margin-top: 4px;
  }

  .component-link:not(.admin) {
    display: flex;
    flex-direction: row;
    font-weight: 400;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 6px;
    white-space: nowrap;
    padding: 6px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 360px;;
    transition: 0.2s background-color;
    position: relative;
    font-size: 13px;
  }

  .component-link a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .component-link:hover:not(.admin) {
    background-color: var(--color-light-grey);
    cursor: pointer;
  }

  .component-link:not(.admin) > svg {
    display: inline-flex;
    width: 12px;
    height: 12px;
    margin-right: 6px;
  }

  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
    
  .totop {
    display: none;
    flex-direction: row;
    font-weight: 400;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 6px;
    white-space: nowrap;
    padding: 6px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 360px;;
    transition: 0.2s background-color;
    position: relative;
    font-size: 13px;
    animation: fadeIn 0.2s forwards;
  }

  .totop:hover {
    background-color: var(--color-light-grey);
    cursor: pointer;
  }

  .roi {
    position: absolute;
    background-color: grey;
    border-radius: 100%;
    transform: translate(-50%, -50%);
  }
  
  .roi.small {
    /*
    width: 24px;
    height: 24px;
    */
    width: 5%;
    height: 5%;
  }
  
  .roi.medium {
    /*
    width: 36px;
    height: 36px;
    */
    width: 10%;
    height: 10%;
  }
  
  .roi.large {
    /*
    width: 48px;
    height: 48px;
    */
    width: 20%;
    height: 20%;
  }

  .roi.xl {
    /*
    width: 86px;
    height: 86px;
    */
    width: 30%;
    height: 30%;
  }
  
  .component-title {
    font-family: Montserrat;
    font-weight: 600;
    color: var(--color-broken-black);
    /*
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    */
    display: flex;;
  }

  .component-title[size="1"]{
    font-size: 36px;
    margin-bottom: 16px;
  }
  
  .component-title[size="2"]{
    font-size: 30px;
  }

  .component-title[size="3"]{
    font-size: 24px;
  }

  .component-title[size="4"]{
    font-size: 18px;
  }

  .component-title[size="5"]{
    font-size: 15px;
  }

  sup {
    font-size: 12px;
    vertical-align: super;
    line-height: 0;
  }
  
  .ref-range {
    position: relative;
    white-space: nowrap;
    display: inline;
  }
  
  .ref-range:before {
    content: '';
    position: absolute;
    width: calc(100% + 7px);
    border-radius: 360px;
    height: 100%;
    left: -4px;
    top: 0px;
    z-index: -1;
    transition: 0.2s background-color;
  }
  
  .ref-range.normal:before {
    background-color: var(--color-light-grey);    
  }
  
  .component-paragraph .ref-range:before {
    width: calc(100% + 2px);
    height: 100%;
    border-radius: 6px;
    left: -1px;
  }
  
  .component-paragraph .ref-range.normal:hover:before {
    background-color: hsl(3,90%,88%);    
  }
  
  .ref-range.decreased:before {
    background-color: hsl(198, 92%, 89%);    
  }
  
  .component-paragraph .ref-range.decreased:hover:before {
    background-color: hsl(198, 92%, 82%);
  }
  
  .ref-range.increased:before {
    background-color: hsl(3,90%,92%);    
  }
  
  .component-paragraph .ref-range.increased:hover:before {
    background-color: hsl(3,90%,88%);    
  }
  
  .tooltip {
    display: block;
    content: attr(data);
    background-color: var(--color-white);
    position: fixed;
    z-index: 100;
    padding: 4px;
    padding-left: 6px;
    padding-right: 6px;
    font-family: "Open Sans";
    font-size: 14px;
    color: var(--color-broken-black);
    font-weight: 400;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 1;

    border-radius: 8px;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    padding: 6px;
  }

  .sidebar-right-extras {
    display: flex;
    flex-direction: column;
    padding-left: var(--site-content-padding);
    opacity: 0.5;
    transition: 0.2s opacity;
    max-width: 250px;
  }

  .sidebar-right-extras:hover {
    opacity: 1;
  }

  .page-properties {
    display: grid;
    grid-template-columns: min-content 1fr;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: var(--site-content-padding);
    padding-top: var(--site-content-padding);
  }
  
  .property-label {
    display: flex;
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 15px;
    line-height: 28px;
    white-space: nowrap;
    color: #333;
  }

  .property-setting {
    display: flex;
    align-items: center;
  }

  .property-setting svg {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    color: #333;
    opacity: 0.8;
  }

  .property-setting svg:hover {
    opacity: 1;
    cursor: pointer;
  }

  
  /******************** SELECT **************************/
  select {
    appearance: none;
    padding: 6px;
    padding-left: 12px;
    padding-right: 26px;
    background: var(--color-white);
    font-size: 15px;
    font-weight: 400;
    font-family: 'Open Sans';
    margin-left: 0px;
    box-sizing: border-box;
    border: none;
    border-radius: 360px;
    outline: 2px solid var(--color-dark-grey);
    color: var(--color-broken-black);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23333' class='w-5 h-5'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: calc(100% - 6px) 6px;
    background-size: 21px 21px;
    transition: 0.2s outline;
    background-color: #FFF;
  }

  select:hover {
    outline: 2px solid #666;
  }


  /******************** RADIO BUTTON ****************************/
  /* The container */
  .radio-button {
    display: block;
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'Open Sans';
  }

  /* Hide the browser's default radio button */
  .radio-button input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  /* Create a custom radio button */
  .radio-button .checkmark {
    position: absolute;
    top: 3;
    left: 0;
    height: 14px;
    width: 14px;
    border: 2px solid var(--color-dark-grey);
    border-radius: 50%;
  }

  /* On mouse-over, add a grey background color */
  .radio-button:hover input ~ .checkmark {
    background-color: var(--color-dark-grey);
  }

  /* When the radio button is checked, add a blue background */
  .radio-button input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }

  /* Create the indicator (the dot/circle - hidden when not checked) */
  .radio-button .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the indicator (dot/circle) when checked */
  .radio-button input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the indicator (dot/circle) */
  .radio-button .checkmark:after {
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
  }

  /******************** checkbox ****************************/
  /* The container */
  .checkbox {
    display: block;
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'Open Sans';
  }

  /* Hide the browser's default check button */
  .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  /* Create a custom check button */
  .checkbox .checkmark {
    position: absolute;
    top: 3;
    left: 0;
    height: 14px;
    width: 14px;
    border: 2px solid var(--color-dark-grey);
    border-radius: 3px;
  }

  /* On mouse-over, add a grey background color */
  .checkbox:hover input ~ .checkmark {
    background-color: var(--color-dark-grey);
  }

  /* When the check button is checked, add a blue background */
  .checkbox input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .checkbox.wrong input:checked ~ .checkmark {
    background-color: rgba(125, 39, 43,0.8);
    border-color: rgba(125, 39, 43, 1);
  }

  .checkbox.correct input:checked ~ .checkmark {
    background-color: rgba(15, 81, 50, 0.7);
    border-color: rgba(15, 81, 50, 1);
  }

  .checkbox.missed input:checked ~ .checkmark {
    background-color: rgba(15, 81, 50, 1);
    border-color: rgba(15, 81, 50, 1);
  }

  .checkbox.missed .checkmark {
    border-style: dashed !important;
  }

  /* Create the indicator (the dot/circle - hidden when not checked) */
  .checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the indicator (dot/circle) when checked */
  .checkbox input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the indicator (dot/circle) */
  .checkbox .checkmark:after {
    left: 5px;
    top: 1px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /**************** CONTEXTMENU ***************/
  
.edit-contextmenu {
  display: none;
  position: fixed;
  background-color: var(--color-white);
  border-radius: 8px;
  z-index: 1;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  padding: 6px;
}

.edit-contextmenu .item {
  font-family: "Open Sans";
  font-size: 13px;
  color: var(--color-broken-black);
  padding: 6px;
  cursor: pointer;
  box-sizing: border-box;
  justify-items: center;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding-left: 6px;
  padding-right: 8px;
  gap: 3px;
}

.edit-contextmenu .item:hover {
  background-color: var(--color-light-grey);
}

.edit-contextmenu .item svg {
  color: var(--color-broken-black);
  width: 14px;
  height: 14px;
  margin-right: 6px;
  display: inline-flex;
}

/*********************** DIFF *******************/
.celldiff-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px;
}

.slide-card {
  display: flex;
  flex-direction: column;
  gap: var(--site-container-padding);
  width: 100%;
  padding: var(--site-container-padding);
  background-color: var(--color-light-grey);
  border-radius: 8px;
  position: relative;
  box-sizing: border-box;
  outline: 2px solid transparent;
  transition: 0.2s outline;
}

.slide-card.done {
  background-color: #d1e7dd;
}

.slide-card.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.slide-card:hover {
  outline: 2px solid var(--color-primary);
  cursor: pointer;
}

.slide-card div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-card svg {
  width: 18px;
  height: 18px;
}

.slide-image img {
  width: 100%;
  border-radius: 12px;
}

.star-filled path {
  fill: #101076;
}

.star-unfilled path {
  fill: #CBD4DA;
}

.slide-card.done .star-filled path {
  fill: #0f5132;
}

.slide-card.done .star-unfilled path {
  fill: #0f5132;
  opacity: 0.2;
}

.slide-difficulty {
  display: flex;
  width: 100%;
  height: 18px;
  gap: 0px;
  position: relative;
}

.slide-difficulty div {
  display: flex;
  width: 100%;
  height: 100%;
}

.component-container.diff-table {
  display: grid;
  grid-template-columns: 40px 45px 150px 100px 1fr 40px;
  gap: 12px;
  background-color: var(--color-light-grey);
  border-radius: 12px;
  padding: 12px;
  outline: 2px solid transparent;
  transition: 0.2s outline;
  cursor: pointer;
}

.component-container.diff-table:hover {
  outline: 2px solid var(--color-primary);
}

.component-container.diff-table div {
  display: flex;
  align-items: center;
  height: 100%;
}

.component-container.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.slide-title {
  font-family: 'Montserrat';
  font-size: 15px;
  font-weight: 600;
}

.slide-text {
  font-family: 'Open Sans';
  font-size: 15px;
}

.slide-card a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.celldiff-wide {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: calc(100vh - var(--header-height));  
  overflow-y: hidden;
  overflow-x: hidden;
}

.celldiff-connector {
  width: 90px;
  height: 0px;
  border: 0px;
  border-bottom: 2px solid var(--color-td-grey);
  border-style: solid;
}

.celldiff-connector.visited {
  border-bottom: 2px solid var(--color-secondary);
  border-style: solid;
}

.celldiff-step-buttons .button {
  border: 2px solid transparent;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  transition: 0.2s border;
}

.celldiff-step-buttons .button:after {
  content: attr(step);
  font-size: 13px;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 30px;
  color: var(--color-broken-black);
}

.celldiff-step-buttons .active {
  background-color: var(--color-primary);
}

.celldiff-info {
  display: flex;
  align-self: center;
  justify-content: center;
  align-content: center;
  margin-bottom: 24px;
  width: 400px;
  max-width: 90vw;
  height: 65px;
}

.celldiff-info span {
  display: none;
  text-align: center;
}

.celldiff-info span:first-of-type {
  display: block;
}

.button.unvisited {
  color: var(--color-broken-black);
  border: 2px solid var(--color-td-grey);
}

.button.unvisited:hover {
  border: 2px solid #101076;
}

.button.selected {
  background-color: var(--color-secondary) !important;
  color: var(--color-white);
}

.celldiff-loading {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: calc(100vh - var(--header-height));  
  overflow-y: hidden;
  overflow-x: hidden;
  padding-top: 20vh;
  align-items: center;
  font-family: Montserrat;
  font-size: 17px;
  font-weight: 500;
}

.celldiff-warning {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: calc(100vh - var(--header-height));  
  overflow-y: hidden;
  overflow-x: hidden;
  padding-top: 10vh;
  align-items: center;
}

.celldiff-warning img {
  width: 400px;
  max-width: 90vw;
}

@media screen and (min-width: 940px) {
  .celldiff-warning {
    display: none;
  }
}

.celldiff-step-buttons {
  display: flex;
  flex-direction: row;
  height: calc(var(--header-height) + 25px);
  min-height: calc(var(--header-height) + 25px);
  background-color: var(--color-white);
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  /*gap: 12px;*/
  overflow-y: auto;
  padding-left: var(--site-content-padding);
  padding-right: var(--site-content-padding);
  max-width: 100vw;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.celldiff-step-buttons::-webkit-scrollbar { 
  display: none;
}

.celldiff-step-containers {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  padding-top: 2px;
  padding-bottom: 2px;
}

.celldiff-step-container {
  display: flex;
  min-width: 100vw;
  min-height: 100%;
  height: 100%;
  max-height: calc(100vh - (var(--header-height) * 2));
  box-sizing: border-box;
}

.celldiff-container-limiter {
  width: 100vw;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-content-padding);
  padding-right: var(--site-content-padding);
  box-sizing: border-box;
  max-height: calc(100vh - (var(--header-height) * 2) - var(--site-content-padding));
  transition: 0.2s all;
}

.celldiff-step-container[id="celldiff-step-1"] .celldiff-container-limiter{
  display: flex;
  flex-direction: row;
  border-radius: 6px;
  overflow-y: scroll;
}

.celldiff-step-container[id="celldiff-step-2"] .celldiff-container-limiter{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

.celldiff-step-container[id="celldiff-step-3"] .celldiff-container-limiter{
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-y: scroll;
  justify-content: center;
}

.celldiff-step-container[id="celldiff-step-3"] .info-grid {
  display: grid;
  grid-template-columns: 400px auto 300px;
  gap: 24px;
  max-width: min(95vw, 1920px);
}

.celldiff-step-container[id="celldiff-step-4"] .celldiff-container-limiter{
  width: unset;
}

.celldiff-step-container[id="celldiff-step-5"] .celldiff-container-limiter {
  justify-content: center;
  display: flex;
}

.celldiff-step-container[id="celldiff-step-5"] .grid {
  gap: 24px;
  display: grid;
  grid-template-columns: 250px 350px 350px;
  grid-template-rows: min-content;
}

.celldiff-step-container[id="celldiff-step-5"] .grid2 {
  gap: 24px;
  display: grid;
  grid-template-columns: 250px 724px;
  grid-template-rows: min-content;
}


/*
.celldiff-step-container[id="celldiff-step-3"] .celldiff-container-limiter > div:nth-child(1){
  min-width: 25%;
  max-width: 425px;
  margin-left: auto;
}

.celldiff-step-container[id="celldiff-step-3"] .celldiff-container-limiter > div:nth-child(2){
  position: sticky;
  top: 0;
  min-width: 25%;
  max-width: 425px;
  margin-right: auto;
}
*/

@media screen and (max-width: 870px) {
  .celldiff-step-container[id="celldiff-step-3"] .celldiff-container-limiter{
    flex-direction: column;
  }

  .celldiff-step-container[id="celldiff-step-3"] .celldiff-container-limiter > div:nth-child(1){
    min-width: unset;
    max-width: unset;
    margin-left: unset;
  }
  
  .celldiff-step-container[id="celldiff-step-3"] .celldiff-container-limiter > div:nth-child(2){
    min-width: unset;
    max-width: unset;
    margin-left: unset;
  }

  .celldiff-twocolumn {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0px !important;
  }
}

.celldiff-wbc-features.hidden {
  display: none;
  width: 0;
}

.celldiff-wbc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: var(--color-light-grey);
  border-radius: 12px;
  transition: 0.2s all;
  width: 0px;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 350px;
  animation: expand 0.2s normal forwards ease-in-out;
  margin-left: 12px;
  padding-bottom: calc(var(--navigation-button-padding) * 1);
}

@keyframes expand {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.celldiff-wbc-features div {
  font-family: "Open Sans";
  color: var(--color-broken-black);
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  position: relative;
  transition: 0.2s background-color;
  padding: var(--navigation-button-padding);
  padding-left: calc(var(--navigation-button-padding) * 2);
  background-color: var(--color-light-grey);
  border-radius: 360px;
  white-space: nowrap;
  text-overflow:ellipsis;
  overflow: hidden;
  min-height: fit-content;
  box-sizing: border-box;
  min-height: 33px;
}

.celldiff-wbc-features .feature-title {
  font-weight: 600;
  position: relative;
  height: 32px;
}

.feature-title span {
  position: absolute;
  top: 10px;
}

.celldiff-wbc-features .checkbox {
  font-size: 15px !important;
}

.celldiff-rbc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: var(--color-light-grey);
  height: fit-content;
  border-radius: 12px;
  overflow: hidden;
  max-width: 350px;
  min-width: fit-content;
  padding-bottom: calc(var(--navigation-button-padding) * 1);
  padding-top: calc(var(--navigation-button-padding) * 1);
  padding-right: calc(var(--navigation-button-padding) * 2);
}

.celldiff-rbc-features .checkbox {
  font-size: 15px !important;
}

.celldiff-rbc-features div {
  font-family: "Open Sans";
  color: var(--color-broken-black);
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  position: relative;
  transition: 0.2s background-color;
  padding: var(--navigation-button-padding);
  padding-left: calc(var(--navigation-button-padding) * 2);
  background-color: var(--color-light-grey);
  border-radius: 360px;
  white-space: nowrap;
  text-overflow:ellipsis;
  overflow: hidden;
  box-sizing: border-box;
}

.celldiff-rbc-overview {
  width: 100%;
  height: 100%;
  background-color: var(--color-light-grey);
  border-radius: 12px;
  margin-left: 12px;
  display: flex;
  max-width: 1200px;
  position: relative;
}

.celldiff-rbc-overview img {
  display: flex;
  min-width: 100%;
  min-height: 100%;
  border-radius: 12px;
  position: absolute;
}

#rbc-overview {
  display: none;
}

@media screen and (max-width: 1400px) {
  .celldiff-wbc-categories.compare {
    display: none;
  }

  .celldiff-wbc-cells.compare {
    display: none;
  }
}

.celldiff-label-grid {
  display: flex;
  gap: 12px;
}

.celldiff-label-grid .celldiff-wbc-cells{
  max-height: calc(100vh - (var(--header-height) * 2) - 200px);
  overflow-y: scroll;
  border-radius: 360px;
}

.celldiff-wbc-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: max-content;
  white-space: nowrap;
  overflow-y: auto;
  overflow-x: hidden;  
}

.celldiff-wbc-category {
  font-family: "Open Sans";
  color: var(--color-broken-black);
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  position: relative;
  transition: 0.2s background-color;
  padding: var(--navigation-button-padding);
  padding-left: calc(var(--navigation-button-padding) * 2);
  background-color: var(--color-light-grey);
  border-radius: 360px;
  width: 190px;
  min-height: 33px;
  box-sizing: border-box;
  margin-left: 2px;
  margin-right: 2px;
}

.celldiff-wbc-category.hascorrect {
  background-color: #d1e7dd;
}

.celldiff-wbc-category.hascorrect:after {
  background-color: rgba(15, 81, 50, 0.2);
}

.celldiff-wbc-category.haswrong {
  background-color: rgba(255, 0, 0, 0.15);
}

.celldiff-wbc-category.haswrong:after {
  background-color: rgba(125, 39, 43, 0.2);
}

.celldiff-wbc-category.selected {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.celldiff-wbc-category:after {
  content: attr(count);
  position: absolute;
  color: var(--color-broken-black);
  font-family: "Open Sans";
  font-weight: 300;
  right: 5px;
  font-size: 12px;
  padding: 4px;
  background-color: var(--color-td-grey);
  border-radius: 360px;;
  min-width: 20px;
  text-align: center;
}

.celldiff-wbc-category.selected:after {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.celldiff-wbc-category:hover {
  background-color: var(--color-dark-grey);
  cursor: pointer;
}

.celldiff-wbc-category.selected:hover {
  background-color: var(--color-primary);
  cursor: pointer;
}

.celldiff-wbc-category.hovered{
  outline: 2px solid var(--color-primary);
}

.celldiff-wbc-cells {
  display: grid;
  gap: 6px;
  overflow-y: scroll;
  padding: 2px;
  box-sizing: border-box;
  border-radius: 12px;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  transition: 0.2s all;
  margin-left: 12px;
  margin-right: 12px;
  grid-auto-rows: min-content;
}

.celldiff-wbc-cells.compare {
  margin-left: -12px;
  margin-right: 12px;
}

.nocompare .celldiff-wbc-cells {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.celldiff-wbc-cells.hidden {
  display: none;
}

.celldiff-wbc.selected {
  outline: 2px solid var(--color-primary);
}

.sortable-drag {
  outline: none !important;
}

.celldiff-wbc-category .celldiff-wbc {
  display: none !important;
}

@media screen and (max-width: 1800px) {
  .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .nocompare .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 1400px) {
  .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .nocompare .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 1200px) {
  .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .nocompare .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 900px) {
  .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .nocompare .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .home-link-desktop {
    display: none !important;
  }
  
  .home-link-mobile {
    display: flex !important;
  }
}

@media screen and (max-width: 650px) {
  .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr;
  }

  .nocompare .celldiff-wbc-cells {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {

}

.diff-select.disabled {
  pointer-events: none;
}

.celldiff-wbc {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 1/1;
  outline: 2px solid transparent;
  transition: 0.2s outline;
  position: relative;
  outline-offset: -2px;
}

.celldiff-wbc.wrong:after {
  content: '';
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  border-radius: inherit;
  background-color: rgba(255, 0, 0, 0.15);
  cursor: default;
}

.celldiff-wbc.wrong:hover:after {
  background-color: rgba(255, 0, 0, 0);
  animation-name: fadered;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
}

@keyframes fadered {
  0% {
    background-color: rgba(255, 0, 0, 0.15);
  }
  99% {
    background-color: rgba(255, 0, 0, 0);
  }
  100% {
    background-color: rgba(255, 0, 0, 0);
    height: 0px;
    display: none !important;
  }
}

.celldiff-wbc:hover {
  outline: 2px solid var(--color-primary);
  cursor: pointer;
}

.celldiff-wbc img {
  display: flex;
  width: 100%;
  border-radius: 12px;
}

.celldiff-additional-grid {
  display: flex;
  gap: 24px;
}

.celldiff-additional-grid > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.celldiff-labels-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.celldiff-label {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 6px;
  padding: 6px;
  border-radius: 12px;
  padding-left: 12px;
  padding-right: 12px;
}

.celldiff-label.correct  {
  color: #0f5132;
  background-color: #d1e7dd;
}

.celldiff-label.wrong  {
  color: #7D272B;
  background-color: #F4D8DA;
}

.celldiff-label.missing  {
  color: #635011;
  background-color: #FEF5CF;
  border: 2px dashed rgba(99, 80, 17, 0.2);
}

.celldiff-label .correct  {
  color: #0f5132;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 100%;
  background-color: #d1e7dd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%230f5132' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E%0A");
}

.celldiff-label .wrong  {
  color: #7D272B;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 100%;
  background-color: #F4D8DA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%237D272B' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E%0A");
}

.celldiff-label .missing  {
  color: #635011;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 100%;
  background-color: #FEF5CF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23635011' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z' /%3E%3C/svg%3E%0A");
}

#diff_results td:nth-child(3), th:nth-child(3) {
  display: none;
}

#diff_results_final {
  width: fit-content;
}

.celldiff-twocolumn{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.celldiff-twocolumn > div {
  display: flex;
  flex-direction: column;
}

.celldiff-bar {
  display: flex;
  flex-direction: row;
  background-color: var(--color-light-grey);
  width: 100%;
  border-radius: 360px;
  box-sizing: border-box;
  gap: 3px; 
  font-weight: 400;
  font-family: 'Open Sans';
  margin-top: 12px;
}

.celldiff-bar svg {
  display: inline-flex;
  width: 16px;
  height: 16px;
  padding: 6px;
  color: var(--color-broken-black);
  margin-left: 6px;
  margin-top: 2px;
}

.celldiff-bar-filled {
  height: 100%;
  margin: 6px;
  height: 20px;
  border-radius: 12px;
  background-color: var(--color-td-grey);
  overflow:visible;
  color: var(--color-broken-black);
  font-family: 'Open Sans';
  font-size: 12px;
  align-items: center;
  display: flex;
  padding-left: 6px;
  white-space: nowrap;
}

.celldiff-result-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.celldiff-result-grid div {
  display: inline-flex;
  align-items: center;;
}

.celldiff-badge {
  display: flex;
  padding: 9px;
  border-radius: 100%;
  width: 20px;
  height: 20px;
}

.celldiff-badge.warn {
  color: #635011;
  background-color: #FEF5CF;
}

.celldiff-badge.success {
  color: #0f5132;
  background-color: #d1e7dd;
}

.celldiff-badge.danger {
  color: #7D272B;
  background-color: #F4D8DA;
}

.celldiff-badge.warndanger {
  color: #7D272B;
  background-color: #F4D8DA;
}

.celldiff-result-grid .bold {
  font-weight: 600;
}

.celldiff-circle {
  animation: progress 1s ease-out forwards;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

/***** DOTS ******/
.indicators {
  display: flex;
  flex-direction: row;
  gap: 2px;
  margin-left: auto;
  margin-right: 2px;
}

.images_large .sidebar-image .indicators {
  position: absolute;
  bottom: 6px;
  right: 6px;
  margin-right: 0px;
}

.expanded .images_large .sidebar-image .indicators {
  bottom: 10px;
  right: 10px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  margin: 0px;
  background-color: var(--color-secondary);
  transition: 0.2s all;
}

.expanded .images_large .indicator {
  width: 12px;
  height: 12px;
}

.indicator.false {
  opacity: 0.20;
}

.indicator.true {
  opacity: 0.95;
}

.selected .indicator.false {
  background-color: #FFF;
}

.selected .indicator.true {
  background-color: #FFF;
}

/******** END DIFF ******************/

/******************** MULTIPLE GALLERY **************************/
.multiple-gallery-toggles {
  z-index: 1;
  width: fit-content;
  border-radius: 24px;
  background-color: var(--color-td-grey);
  overflow: hidden;
  flex-direction: row;
  flex-wrap: no-wrap;
  align-self: center;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  transition: 0.2s all;
  opacity: 1;
  gap: 3px;
}

.multiple-gallery-toggles .entry {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: var(--color-dark-grey);
  align-self: center;
  display: flex;
  opacity: 0.5;
  transition: 0.2s all;
}

.multiple-gallery-toggles .current {
  opacity: 1;
  background-color: var(--color-primary);
}

.scatter .multiple-gallery-toggles {
  bottom: -50px !important;
}

.scatter .image {
  border-radius: 0px;
}

.scatter .image img {
  border-radius: 7px;
}

/******************** TOGGLE-GALLERY ****************************/


.gallery-box {
  display: flex;
  flex-direction: column;
  position: relative;
}

.component-previewbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 6px;
}

.component-previewbar .preview {
  display: flex;
  position: relative;
}

.component-previewbar .preview img {
  width: 100%;
  border-radius: 12px;
  transition: all 0.2s;
}

.component-previewbar .preview img:hover {
  box-shadow: 0 0 0 2px var(--color-primary);
  cursor: pointer;
}

.component-previewbar .preview.selected img {
  box-shadow: 0 0 0 2px var(--color-primary);
  cursor: default;
}

.toggle-gallery {
  display: flex;
  display: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  border-radius: 11px;
}

.toggle-gallery img {
  width: 100%;
  /* max-width: calc(var(--site-content-width) - var(--sidepanel-width) - (var(--site-content-padding) * 3)); */
  border-radius: 11px;
  
}

.toggle-gallery:first-of-type {
  display: flex;
}

.toggle-gallery-toggles {
  width: fit-content;
  border-radius: 24px;
  background-color: var(--color-td-grey);
  overflow: hidden;
  flex-direction: row;
  flex-wrap: no-wrap;
  padding-right: 3px;
  align-self: center;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  pointer-events: none;
  transition: 0.2s all;
  opacity: 0;
}

.gallery-box .toggle-gallery-toggles {
  opacity: 1;
  pointer-events: all;
  bottom: 12px;
}

.gallery-box .toggle-gallery-toggles svg {
  width: 18px;
  height: 18px;
}

.preview:hover .toggle-gallery-toggles {
  opacity: 1;
  pointer-events: all;
}

.preview.selected .toggle-gallery-toggles {
  opacity: 1;
  pointer-events: all;
}

.toggle-gallery-toggles input{ 
  display: none; 
}

.toggle-gallery-toggles label{
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s;
  margin: 3px;
  margin-right: 0px;
  border-radius: 360px;
  vertical-align: middle;
  display: flex;
  padding-right: 6px;
  padding-left: 3px;
  white-space: nowrap;
}

.labelless {
  padding-right: 3px !important;
}

.toggle-gallery-toggles label:last-of-type{ 
  border-right: 0; 
}

.toggle-gallery-toggles label:hover{
  background: var(--color-dark-grey);
}

.toggle-gallery-toggles input:checked + label{
  background: var(--color-primary);
  margin: 3px;
  margin-right: 0px;
  border-radius: 360px;
  color: #FFF;
}
.toggle-gallery-toggles svg {
  width: 14px;
  height: 14px;
  display: flex;
  justify-self: center;
  align-self: center;
  margin-right: 3px;
}

.labelless svg {
  margin-right: 0px;
}

.toggle-gallery-toggles input:checked + label svg {
  stroke: #fff;
  fill: #FFF;
  
}

.toggle-gallery-toggles input:checked + .contrast svg {
  stroke: #FFF;
  fill: #fff;
}

.toggle-gallery img[zoom]:hover {
  box-shadow: 0 0 0 2px var(--color-primary);
  cursor: pointer;
}

@media screen and (max-width: 500px  ) { 
  .component-previewbar {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 400px  ) { 
  .component-previewbar {
    grid-template-columns: 1fr 1fr;
  }

  .toggle-gallery-toggles svg {
    width: 18px;
    height: 18px;
  }
}


@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

/******************** END TOGGLE GALLERY ****************************/

.mobileonly {
  display: none;
}

  @media screen and (max-width: 1300px) {
    .sidebar-right-extras {
      display: none;
    }
  }


  @media screen and (min-width: 901px) {
    #sidebar-obscure {
      display: none !important;
    }
  }

  @media screen and (max-width: 920px){
    .component-container.slide-grid {
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
  }

  @media screen and (max-width: 900px) {
      /* Desktop */
      .navigation-button:not(.burger) {
        display: none;
      }
      .burger {
        display: flex;
      }

      .swipe-area {
        display: flex;
      }

      .sidebar {
        display: flex;
      }

      .sidepanel-container {
        display: none;
      }

      .contentpanel {
        max-width: unset;
      }

      .header {
        position: relative;
        width: unset;
      }

      .main-container {
        height: calc(100% - var(--header-height));
        overflow: auto;
        overflow-x: hidden;
        padding-top: 0px !important;
      }
  }

  @media screen and (max-width: 767px) {
   
      /* Tablet */
      .strip {
        align-items: center;
        padding-top: 24px;
        padding-bottom: 48px;
      }

      .strip-box {
        align-items: center;
      }

      .strip-title, .strip-text {
        text-align: center;
      }

      .strip.filtered {
        background-position-x: 45%; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
      }

      .strip-container {
        flex-direction: column;
        padding-top: calc(var(--site-content-padding) *2 );
        padding-bottom: calc(var(--site-content-padding) *2 );
        justify-content: center;
      }
      
   }

  @media screen and (max-width: 720px) {
    .component-container.slide-grid {
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }

    .component-container.diff-table {
      display: grid;
      row-gap: 3px;
      grid-template-columns: 30px 45px 1fr;
    }
    
    .component-container.diff-table div:nth-child(4) {
      grid-column: 2/2;
    }
    .component-container.diff-table div:nth-child(5) {
      grid-column: 3/3;
    }
    .component-container.diff-table div:nth-child(6) {
      display: none;
    }
  }

  @media screen and (max-width: 670px) {
    .component-container.slide-grid {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
  }

  
  @media screen and (max-width: 540px) {
    .component-container.slide-grid {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }


  @media screen and (max-width: 479px) {
    /* Telefoon */

    .mobileonly {
      display: flex;
    }

    .desktoponly {
      display: none;
    }

    .component-container.slide-grid {
      grid-template-columns: 1fr 1fr;
    }

    .site-title {
      margin-top: -4px;
      font-size: 24px;
    }

    .site-title.nohome .site-subtitle {
      font-size: 8px !important;
      bottom: -1px;
      right: 2px;
    }

    .component-gallery {
      grid-template-columns: 1fr 1fr;
    }
    
    .mobilerows {
      display: flex !important;
      flex-direction: column !important;
    }

    .mobilecenter{
      justify-content: center;
      text-align: center;
      align-items: center;
    }
    
    :root {
      --site-content-padding: 16px;
    }
  }

  /************* MULTIPLE CHOICE QUESTIONS **************/
  .buttons {
    gap: 3px;
    display: flex;
    width: 100%;
  }
  .button.question {
    aspect-ratio: 1;
    padding: 6px;
    background-color: var(--color-td-grey);
    width: 30px;
    justify-content: center;
    pointer-events: none;
  }
  
  .button.question.correct {
    background-color: var(--color-green) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%231D3123' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5' /%3E%3C/svg%3E%0A");
    background-size: 16px 16px;
    color: rgba(0,0,0,0) !important;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .button.question.wrong {
    background-color: var(--color-red) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23554149' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12' /%3E%3C/svg%3E%0A");
    background-size: 16px 16px;
    color: rgba(0,0,0,0) !important;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .button.question.current {
    background-color: var(--color-secondary);
    color: var(--color-white);
  }
  .question-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    display: none;
  }
  .question-container.current {
    display: flex;
  }
  
  .question-container .component-title {
    margin: 12px 0px 6px 0px;
  }
  
  .question-image {
    width: 100%;
    border-radius: 24px;
    display: flex;
  }
  
  .question-answers-container {
    display: flex;
    flex: 1;
    width: 100%;
    gap: 12px;
  }
  
  .answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    flex:1;
    gap: 6px;
  }
  
  .answers.image {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  
  @media screen and (max-width: 500px  ) { 
    .answers.image {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media screen and (max-width: 450px  ) { 
    .answers {
      grid-template-columns: 1fr;
    }
  }
  
  .answer-option {
    background-color: var(--color-td-grey);
    border-radius: 100px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    justify-self: center;
    transition: 0.2s all;
    width: 100%;
    font-weight: 400;
    font-size: 15px;
    padding: var(--navigation-button-padding);
    padding-left: calc(var(--navigation-button-padding) * 1.5);
    padding-right: calc(var(--navigation-button-padding) * 1.5);
    box-sizing: border-box;
    height: fit-content;
    position: relative;
  }
  
  .answer-option canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  
  .answer-option > div:first-of-type {
    font-family: "Montserrat";
    font-weight: 600;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
  
  .answer-option:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    cursor: pointer;
  }
  
  .answer-option.image {
    border-radius: 12px;
    grid-template-columns: 1fr !important;
    padding: var(--navigation-button-padding);
    padding-left: calc(var(--navigation-button-padding));
    padding-right: calc(var(--navigation-button-padding));
  }
  
  .answer-option.image img {
    width: 100%;
    border-radius: 10px;
  }
  
  @media screen and (max-width: 600px  ) { 
    .question-answers-container {
      display: flex;
      flex-direction: column;
    }
  }
  
  .answer-option.correct {
    background-color:  var(--color-green);;
    color: var(--color-green-text) !important;
  }
  
  .answer-option.wrong {
    background-color: var(--color-red);
    color: var(--color-red-text) !important;
    animation: shake 0.4s ease-in-out;
  }
  
  @keyframes shake {
    0% { transform: translateX(0); }
    10%, 90% { transform: translateX(-5px); }
    20%, 80% { transform: translateX(5px); }
    30%, 50%, 70% { transform: translateX(-5px); }
    40%, 60% { transform: translateX(5px); }
    100% { transform: translateX(0); }
  } 
  
  .answer-explanation {
    grid-column: 1/-1;
    /*background-color: var(--color-td-grey);*/
    border-radius: 12px;
    display: none;
    gap: 8px;
    justify-self: center;
    width: 100%;
    font-weight: 400;
    font-size: 15px;
    padding: var(--navigation-button-padding);
    padding-left: calc(var(--navigation-button-padding) * 1.5);
    padding-right: calc(var(--navigation-button-padding) * 1.5);
    box-sizing: border-box;
    height: fit-content;
    font-style: italic;
  }
  
  .button.question-next {
    grid-column: 1/-1;
    justify-content: end;
    display: none;
  }


/* urine */
  .component-mirror .plots {
    padding: 6px;
    padding-top: 12px;
    padding-bottom: 0px;
  }

  .component-mirror + .component-paragraph {
    margin-top: 12px;
  }

  .mirror-title {
    color: #7F7F7F;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 600;
    align-self: center;
    widtH: 100%;
    text-align: end;
  }