﻿:root {
  --brand-colour: #FC7701;
  --primary-colour: #0088FF;
  --secondary-colour: #03294A;
  --success-colour: #22cd5c;
  --warning-colour: #FFB223;
  --danger-colour: #FF4136;
  --info-colour: #B1D3FF;
  --brand-colour-light: rgb(254.0849802372, 132.3873517787, 24.4150197628);
  --primary-colour-light: rgb(25.5, 147.9, 255);
  --secondary-colour-light: rgb(3.9935064935, 54.5779220779, 98.5064935065);
  --success-colour-light: rgb(44.4246861925, 220.0753138075, 104.0020920502);
  --warning-colour-light: rgb(255, 186.925, 60.5);
  --danger-colour-light: rgb(255, 89.1044776119, 79.5);
  --info-colour-light: rgb(202.5, 225.3846153846, 255);
  --white-colour: #fff;
  --gray-dark: #777;
  --gray: #cccc;
  --gray-light: #EEEEEE;
  --item-hover: #EBEBEB;
  --border-radius: 0.5rem;
  --default-padding: 0rem 1rem;
  --default-margin: 1rem 0rem;
  --body-colour: #fff;
  --text-colour: #000;
  --switch-off: var(--secondary-colour);
  --default-font: Figtree, sans-serif;
  --default-font-size: 1.4rem;
  --default-font-weight: 300;
  --line-height: 1.618;
  --monospace-family: "Source Code Pro", monospace;
  --default-shadow: 0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);
  --default-panel-width: 400px;
  --content-padding: 3rem;
  --select-border: #777;
  --select-focus: blue;
  --select-arrow: var(--select-border);
  --input-border-width: 1px;
  --menu-width: 280px;
  --menu-width-expanded: 280px;
  --menu-width-collapsed: 120px;
  --input-background-selected: linear-gradient(to top, #f9f9f9, #fff 33%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  scrollbar-color: var(--primary-colour) transparent;
  scrollbar-width: thin;
}

html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--body-colour);
  font-family: var(--default-font);
  font-weight: var(--default-font-weight);
  font-size: var(--default-font-size);
  color: var(--text-colour);
  margin: 0;
  /* padding: 1rem;*/
  height: 100%;
  overflow-x: hidden;
}

p {
  line-height: var(--line-height);
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--primary-colour);
  border-radius: 20px;
  border: 3px solid var(--primary-colour);
}

.app-container {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
}

.app-theme-gray.app-container {
  background: var(--body-colour);
}

.app-main {
  flex: 1;
  display: flex;
  z-index: 8;
  position: relative;
}

.app-main-toolbar {
  /*background-color: var(--secondary-colour);*/
  border-radius: 0.35rem;
  margin-top: 30px;
}

.app-sidebar-wrapper {
  position: fixed;
  left: 30px;
  top: 30px;
  height: calc(100% - 60px);
  z-index: 14;
}

.app-main .app-main__outer {
  flex: 1;
  flex-direction: column;
  display: flex;
  z-index: 12;
  padding: 0 0 0 calc(30px + var(--menu-width-expanded));
  transition: all 0.2s;
}
.app-main .app-main__outer.collapsed {
  padding: 0 0 0 calc(30px + var(--menu-width-collapsed));
}

.app-main .app-main__inner {
  padding: 0 var(--content-padding);
  flex: 1;
}

.app-sidebar.sidebar-shadow, .app-inner-layout .app-inner-layout__wrapper .sidebar-shadow.app-inner-layout__sidebar.card, .sidebar-shadow {
  box-shadow: 0 0.46875rem 2.1875rem rgba(31, 10, 6, 0.03), 0 0.9375rem 1.40625rem rgba(31, 10, 6, 0.03), 0 0.25rem 0.53125rem rgba(31, 10, 6, 0.05), 0 0.125rem 0.1875rem rgba(31, 10, 6, 0.03);
}

.app-sidebar, .app-inner-layout .app-inner-layout__wrapper .app-inner-layout__sidebar.card {
  --menu-width: var(--menu-width-expanded);
  width: var(--menu-width);
  z-index: 11;
  overflow: hidden;
  min-width: var(--menu-width);
  position: relative;
  flex: 0 0 280px;
  transition: all 0.2s;
  background: var(--secondary-colour);
  border-radius: 0.35rem;
  height: 100%;
}

.app-sidebar-collapsed {
  --menu-width: var(--menu-width-collapsed);
  width: var(--menu-width);
  min-width: var(--menu-width);
  /* &:hover {
      width: 280px;
      min-width: 280px;
  }*/
}
.app-sidebar-collapsed ul li a {
  flex-direction: column;
  align-items: center;
}
.app-sidebar-collapsed ul li a i {
  margin: 0;
}
.app-sidebar-collapsed ul li a span {
  /*display: none;*/
  font-size: 1.2rem;
}

.mobile-icon {
  display: none;
}

.app-user-avatar {
  background-color: #ebb812 !important;
  color: #2c2f31 !important;
  border-radius: 50% !important;
  font-weight: 400 !important;
  height: 32px;
  width: 32px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-user-avatar span {
  font-size: 20px;
}

.app-user-avatar-button:hover {
  background-color: transparent !important;
  color: #000 !important;
}

.app-sidebar img {
  max-width: 100%;
}
.app-sidebar ul {
  padding: 0;
  margin: 1rem 1rem;
  width: 100%;
}
.app-sidebar ul li {
  list-style: none;
  border-radius: 1.5rem;
  padding: 0.8rem 1rem;
}
.app-sidebar ul li:hover {
  --color: var(--brand-colour), 100%;
  --l: 50%;
  --color-primary: hsl(var(--color),var(--l));
  --color-primary-lighter: hsl(var(--color),calc(var(--l) + 10%));
  --color-primary-lightest: hsl(var(--color),calc(var(--l) + 30%));
  background-color: var(--body-colour);
}
.app-sidebar ul li a {
  display: flex;
  align-items: center;
  font-weight: 200;
}
.app-sidebar ul li span {
  /*color:#fff;*/
  font-weight: 500;
}

.app-header {
  display: flex;
  align-items: center;
  align-content: center;
  z-index: 10;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  width: 100%;
}
.app-header .page-title-heading {
  font-size: 1.9rem;
  font-weight: 500;
  position: relative;
  z-index: 5;
}
.app-header .page-title-subheading {
  padding: 3px 0 0;
  font-size: 1.3rem;
  opacity: 0.6;
  font-weight: 300;
  display: block;
}

.app-header-right {
  margin-left: auto;
  align-items: center;
  display: flex;
  position: relative;
  z-index: 6;
  gap: 1.5rem;
}
.app-header-right i {
  font-size: 2rem;
}

.sidebar-mobile-open .app-sidebar-wrapper {
  display: block;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 1001;
}

.footer-toolbar {
  position: sticky;
  bottom: 3rem;
  width: 100%;
  height: 50px;
}

.floating-update-button {
  position: fixed;
  right: 2rem;
  bottom: 10rem;
  padding: 1rem 1.5rem;
  animation: fadein 2s ease-out;
  height: 4rem;
  color: var(--black-colour) !important;
  z-index: 100000;
}

.asset-card {
  border-top: 0.8rem solid var(--brand-colour);
}
.asset-card label {
  max-height: 3rem;
  overflow: clip;
  margin-bottom: 0.3rem;
  text-wrap: nowrap;
  max-width: 100%;
  text-align: right;
  text-overflow: ellipsis;
}

@keyframes fadein {
  from {
    right: -100%;
  }
  to {
    right: 2rem;
  }
}
@media (max-width: 768px) {
  .mobile-icon {
    height: 3rem;
    width: 3rem;
    display: block;
  }
  .app-main {
    display: block;
  }
  .app-sidebar-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    top: unset;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 14;
    margin: 0 0rem;
    margin-bottom: 0;
  }
  .app-main .app-main__outer {
    flex: 1;
    flex-direction: column;
    display: flex;
    z-index: 12;
    padding: 0 0 100px 0;
    transition: all 0.2s;
  }
  .app-main .app-main__outer.collapsed {
    padding: 0 0 120px 0;
  }
  .app-sidebar {
    overflow-x: auto;
  }
  .app-sidebar-collapsed {
    --menu-width: 100%;
    width: 100%;
    min-width: 100%;
  }
  .app-sidebar-collapsed img {
    display: none;
  }
  .app-sidebar-collapsed div > a:first-child {
    display: none;
  }
  .app-sidebar-collapsed div > div > div:last-child {
    display: none;
  }
  .app-sidebar-collapsed ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    height: 80px;
  }
  .app-sidebar-collapsed ul li a {
    flex-direction: column;
    align-items: center;
  }
  .app-sidebar-collapsed ul li a i {
    margin: 0;
  }
  .app-sidebar-collapsed ul li a span {
    /*display: none;*/
  }
  .app-header .page-title-heading h5 {
    margin-bottom: 0;
    margin-left: 1rem;
  }
}
h1, h2, h3, h4, h5, h6 {
  display: block;
  font-weight: bold;
  padding: 0;
  margin: 0;
  margin-bottom: 1.5rem;
  /*white-space:nowrap;*/
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.9rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 1.6rem;
}

h6 {
  font-size: 1.4rem;
}

a {
  color: var(--brand-colour);
  text-decoration: none;
}

.tl2-ts-upper {
  text-transform: uppercase;
}

.tl2-ts-lower {
  text-transform: lowercase;
}

.tl2-ts-capital {
  text-transform: capitalize;
}

.tl2-ts-underline {
  text-decoration: underline;
}

.tl2-ts-italic {
  font-style: italic;
}

.tl2-ts-bold {
  font-weight: bold;
}

.tl2-fs-1 {
  font-size: 1.4rem;
}

.tl2-fs-2 {
  font-size: 2.2rem;
}

.tl2-fs-3 {
  font-size: 3rem;
}

.tl2-fs-4 {
  font-size: 3.6rem;
}

.tl2-fs-5 {
  font-size: 4.2rem;
}

.tl2-fs-6 {
  font-size: 5.4rem;
}

.tl2-bg-primary {
  background-color: var(--primary-colour);
}

.tl2-bg-secondary {
  background-color: var(--secondary-colour);
}

.tl2-bg-brand {
  background-color: var(--brand-colour);
}

.tl2-bg-danger {
  background-color: var(--danger-colour);
}

.tl2-bg-warning {
  background-color: var(--warning-colour);
}

.tl2-bg-success {
  background-color: var(--success-colour);
}

.tl2-bg-info {
  background-color: var(--info-colour);
}

.tl2-bg-white {
  background-color: var(--white-colour);
}

.tl2-bg-black {
  background-color: var(--black-colour);
}

.tl2-bg-body {
  background-color: var(--body-colour);
}

.tl2-fg-primary {
  color: var(--primary-colour);
}

.tl2-fg-secondary {
  color: var(--secondary-colour);
}

.tl2-fg-brand {
  color: var(--brand-colour);
}

.tl2-fg-danger {
  color: var(--danger-colour);
}

.tl2-fg-warning {
  color: var(--warning-colour);
}

.tl2-fg-success {
  color: var(--success-colour);
}

.tl2-fg-info {
  color: var(--info-colour);
}

.tl2-fg-white {
  color: var(--white-colour);
}

.tl2-fg-black {
  color: var(--black-colour);
}

.tl2-fg-body {
  color: var(--body-colour);
}

.tl2-btn,
button,
input[type=submit],
input[type=reset],
input[type=button] {
  display: inline-flex;
  align-items: center;
  height: 3.2rem;
  padding: 0rem 1.2rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: var(--border-radius);
  color: var(--text-colour);
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  font-family: var(--default-font);
}
.tl2-btn i,
button i,
input[type=submit] i,
input[type=reset] i,
input[type=button] i {
  margin-right: 0.2rem;
}
.tl2-btn:active,
button:active,
input[type=submit]:active,
input[type=reset]:active,
input[type=button]:active {
  transform: translateY(0.1rem);
}
.tl2-btn:disabled,
button:disabled,
input[type=submit]:disabled,
input[type=reset]:disabled,
input[type=button]:disabled {
  cursor: not-allowed !important;
  opacity: 0.3 !important;
  pointer-events: none !important;
}
.tl2-btn:disabled:active,
button:disabled:active,
input[type=submit]:disabled:active,
input[type=reset]:disabled:active,
input[type=button]:disabled:active {
  transform: translateY(0px);
}

.tl2-btn-primary {
  color: var(--body-colour);
  background-color: var(--primary-colour);
  border-color: var(--primary-colour);
}
.tl2-btn-primary:hover, .tl2-btn-primary:focus {
  background-color: var(--primary-colour-light);
  border-color: var(--primary-colour);
}

.tl2-btn-secondary {
  color: var(--body-colour);
  background-color: var(--secondary-colour);
  border-color: var(--secondary-colour);
}
.tl2-btn-secondary:hover, .tl2-btn-secondary:focus {
  background-color: var(--secondary-colour-light);
  border-color: var(--secondary-colour);
}

.tl2-btn-brand {
  color: var(--body-colour);
  background-color: var(--brand-colour);
  border-color: var(--brand-colour);
}
.tl2-btn-brand:hover, .tl2-btn-brand:focus {
  background-color: var(--brand-colour-light);
  border-color: var(--brand-colour);
}

.tl2-btn-danger {
  color: var(--body-colour);
  background-color: var(--danger-colour);
  border-color: var(--danger-colour);
}
.tl2-btn-danger:hover, .tl2-btn-danger:focus {
  background-color: var(--danger-colour-light);
  border-color: var(--danger-colour);
}

.tl2-btn-warning {
  color: var(--body-colour);
  background-color: var(--warning-colour);
  border-color: var(--warning-colour);
}
.tl2-btn-warning:hover, .tl2-btn-warning:focus {
  background-color: var(--warning-colour-light);
  border-color: var(--warning-colour);
}

.tl2-btn-success {
  color: var(--body-colour);
  background-color: var(--success-colour);
  border-color: var(--success-colour);
}
.tl2-btn-success:hover, .tl2-btn-success:focus {
  background-color: var(--success-colour-light);
  border-color: var(--success-colour);
}

.tl2-btn-info {
  color: var(--body-colour);
  background-color: var(--info-colour);
  border-color: var(--info-colour);
}
.tl2-btn-info:hover, .tl2-btn-info:focus {
  background-color: var(--info-colour-light);
  border-color: var(--info-colour);
}

.tl2-btn-white {
  color: var(--body-colour);
  background-color: var(--white-colour);
  border-color: var(--white-colour);
}
.tl2-btn-white:hover, .tl2-btn-white:focus {
  background-color: var(--white-colour-light);
  border-color: var(--white-colour);
}

.tl2-btn-black {
  color: var(--body-colour);
  background-color: var(--black-colour);
  border-color: var(--black-colour);
}
.tl2-btn-black:hover, .tl2-btn-black:focus {
  background-color: var(--black-colour-light);
  border-color: var(--black-colour);
}

.tl2-btn-body {
  color: var(--body-colour);
  background-color: var(--body-colour);
  border-color: var(--body-colour);
}
.tl2-btn-body:hover, .tl2-btn-body:focus {
  background-color: var(--body-colour-light);
  border-color: var(--body-colour);
}

.tl2-btn-toggled {
  border-color: #000;
}

.tl2-btn-primary-outline {
  color: var(--primary-colour);
  outline: 1px solid;
  outline-color: var(--primary-colour);
}
.tl2-btn-primary-outline:hover, .tl2-btn-primary-outline:focus {
  outline-width: 2px;
}

.tl2-btn-secondary-outline {
  color: var(--secondary-colour);
  outline: 1px solid;
  outline-color: var(--secondary-colour);
}
.tl2-btn-secondary-outline:hover, .tl2-btn-secondary-outline:focus {
  outline-width: 2px;
}

.tl2-btn-brand-outline {
  color: var(--brand-colour);
  outline: 1px solid;
  outline-color: var(--brand-colour);
}
.tl2-btn-brand-outline:hover, .tl2-btn-brand-outline:focus {
  outline-width: 2px;
}

.tl2-btn-danger-outline {
  color: var(--danger-colour);
  outline: 1px solid;
  outline-color: var(--danger-colour);
}
.tl2-btn-danger-outline:hover, .tl2-btn-danger-outline:focus {
  outline-width: 2px;
}

.tl2-btn-warning-outline {
  color: var(--warning-colour);
  outline: 1px solid;
  outline-color: var(--warning-colour);
}
.tl2-btn-warning-outline:hover, .tl2-btn-warning-outline:focus {
  outline-width: 2px;
}

.tl2-btn-success-outline {
  color: var(--success-colour);
  outline: 1px solid;
  outline-color: var(--success-colour);
}
.tl2-btn-success-outline:hover, .tl2-btn-success-outline:focus {
  outline-width: 2px;
}

.tl2-btn-info-outline {
  color: var(--info-colour);
  outline: 1px solid;
  outline-color: var(--info-colour);
}
.tl2-btn-info-outline:hover, .tl2-btn-info-outline:focus {
  outline-width: 2px;
}

.tl2-btn-white-outline {
  color: var(--white-colour);
  outline: 1px solid;
  outline-color: var(--white-colour);
}
.tl2-btn-white-outline:hover, .tl2-btn-white-outline:focus {
  outline-width: 2px;
}

.tl2-btn-black-outline {
  color: var(--black-colour);
  outline: 1px solid;
  outline-color: var(--black-colour);
}
.tl2-btn-black-outline:hover, .tl2-btn-black-outline:focus {
  outline-width: 2px;
}

.tl2-btn-body-outline {
  color: var(--body-colour);
  outline: 1px solid;
  outline-color: var(--body-colour);
}
.tl2-btn-body-outline:hover, .tl2-btn-body-outline:focus {
  outline-width: 2px;
}

.tl2-menu-item {
  display: flex;
  flex-wrap: nowrap;
  padding: 0.9rem 2rem;
  gap: 0.6rem;
  align-items: center;
  cursor: pointer;
}
.tl2-menu-item:hover {
  background-color: var(--item-hover);
}
.tl2-menu-item div {
  white-space: nowrap;
}

.tl2-divider {
  position: relative;
  z-index: 10;
  height: 1px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.0784313725);
  margin-bottom: 1rem;
}
.tl2-divider.primary {
  background-color: var(--primary-colour);
}
.tl2-divider.secondary {
  background-color: var(--secondary-colour);
}

.tl2-menu {
  min-width: 20rem;
  max-width: 30rem;
  width: auto;
  position: absolute;
  z-index: 10000;
  top: 3.4rem;
  box-shadow: var(--default-shadow);
  padding: 0.3rem 0rem;
  background-color: var(--body-colour);
  border-radius: var(--border-radius);
}
.tl2-menu ul {
  margin-bottom: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.tl2-menu ul li div {
  width: auto;
  color: var(--text-colour);
}
.tl2-menu-left {
  left: 0;
}
.tl2-menu-right {
  right: 0;
  width: auto;
}
.tl2-menu-dir-up {
  bottom: 3rem;
  margin-top: 0;
}

input[type=file] {
  margin-bottom: 2rem;
  height: auto;
  border: 0;
}
input[type=file]::file-selector-button {
  background: var(--primary-colour);
  color: var(--white-colour);
  font-family: var(--default-font);
  border: 0;
  border-radius: 5px;
  padding: 1rem 3rem;
}

.tl2-form-input {
  transition: border-color linear 0.2s;
  padding: 0 1.5rem;
  border: var(--input-border-width) solid var(--gray);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: start;
  margin: 0.2rem 0;
}
.tl2-form-input i {
  font-size: 1.8rem;
}
.tl2-form-input small {
  color: var(--gray-dark);
}
.tl2-form-input .input-label-contained {
  margin-top: 0.2rem;
  padding-right: 1.5rem;
}
.tl2-form-input .shadowed {
  box-shadow: 0px 6px 6px -6px rgba(0, 0, 0, 0.3);
}
.tl2-form-input .input-contents {
  position: relative;
  display: flex;
  flex-direction: row;
  column-gap: 0.7rem;
  align-items: center;
  width: 100%;
  /* Firefox */
}
.tl2-form-input .input-contents input[type=number]::-webkit-outer-spin-button,
.tl2-form-input .input-contents input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tl2-form-input .input-contents input[type=number] {
  -moz-appearance: textfield;
}
.tl2-form-input input {
  filter: none;
  border: 0;
  outline: 0;
  padding: 0;
  font-family: var(--default-font);
  height: 3.4rem;
  background-color: transparent;
  color: var(--text-colour);
  width: 100%;
}
.tl2-form-input input:autofill {
  background: #fff; /* or any other */
}
.tl2-form-input input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0px 9999px white;
}
.tl2-form-input select {
  appearance: none;
  background-color: transparent;
  color: var(--text-colour);
  border: none;
  /* padding: 0 1em 0 0;*/
  margin: 0;
  height: 3.4rem;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  z-index: 1;
  outline: none;
}
.tl2-form-input select::-ms-expand {
  display: none;
}
.tl2-form-input textarea {
  padding: 0.8rem 0rem;
  border: 0;
  outline: 0;
  font-family: var(--default-font);
  resize: none;
  /* height: 3.4rem;*/
  background-color: transparent;
  color: var(--text-colour);
  overflow-y: auto;
  width: 100%;
}
.tl2-form-input .autosizer {
  display: grid;
}
.tl2-form-input .autosizer::after {
  content: attr(data-replicated-value) " ";
  white-space: pre-wrap;
  visibility: hidden;
}
.tl2-form-input .autosizer > textarea {
  resize: none;
  overflow: hidden;
  height: auto;
}
.tl2-form-input .autosizer > textarea,
.tl2-form-input .autosizer::after {
  font: inherit;
  grid-area: 1/1/2/2;
}
.tl2-form-input:focus-within {
  border: var(--input-border-width) solid var(--primary-colour);
  background-image: var(--input-background-selected);
}

.tl2-no-trailing-icon {
  padding: 0 0 0 1.5rem !important;
}

.tl2-numeric {
  display: flex;
  flex-direction: column;
  width: 2.2rem;
}

.tl2-numeric-button {
  color: var(--primary-colour);
  font-size: 2.2rem;
  padding: 0;
  margin: 0;
  height: 1.7rem;
}
.tl2-numeric-button i {
  margin: 0;
}

.tl2-check-container {
  padding: 0.5rem 0rem;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tl2-check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.tl2-check-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5rem;
  width: 2.5rem;
  background: var(--input-background-selected);
  border-radius: var(--border-radius);
  border: var(--input-border-width) solid var(--gray);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.tl2-check-container:hover input ~ .checkmark {
  background: var(--gray-light);
}

.tl2-check-container input:checked ~ .checkmark {
  background: var(--primary-colour);
}

.tl2-check-container input:checked ~ .checkmark:after {
  display: block;
}

.tl2-radio-container {
  padding: 0.5rem 0rem;
  display: flex;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tl2-radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.tl2-radio-container .radio:after {
  top: 6.8px;
  left: 6.8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.radio {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5rem;
  width: 2.5rem;
  background-color: #eee;
  border-radius: 50%;
  background: linear-gradient(to top, #f9f9f9, #fff 33%);
  border: var(--input-border-width) solid var(--gray);
}
.radio:after {
  content: "";
  position: absolute;
  display: none;
}

.tl2-radio-container:hover input ~ .radio {
  background: var(--gray-light);
}

.tl2-radio-container input:checked ~ .radio {
  background: var(--primary-colour);
}

.tl2-radio-container input:checked ~ .radio:after {
  display: block;
}

.time-picker-container {
  position: absolute;
  z-index: 10000;
  top: 3.4rem;
  box-shadow: var(--default-shadow);
  padding: 0.3rem 0rem;
  background-color: var(--body-colour);
  border-radius: var(--border-radius);
  left: 0;
}

.time-picker-control {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 0;
  min-width: 15rem;
  max-width: 35rem;
  border-left: 2px solid var(--gray-light);
}

.selected-time {
  width: 100%;
  grid-column: 1/span 3;
  text-align: center;
  padding: 1rem;
  border-top: 2px solid var(--gray-light);
}

.time-hour, .time-min {
  max-height: 28rem;
  overflow-y: auto;
}

.time-selection {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  width: 100%;
  cursor: pointer;
}
.time-selection:focus {
  background-color: var(--primary-colour);
}
.time-selection:hover:not(:focus) {
  background-color: var(--gray-light);
}

.dt-selected {
  background-color: var(--primary-colour);
  color: var(--white-colour);
}

.date-time-selection-controls {
  display: flex;
}

.edit-control-container {
  display: flex;
  position: absolute;
  z-index: 10000;
  top: 3.4rem;
  box-shadow: var(--default-shadow);
  padding: 0.3rem 0rem;
  background-color: var(--body-colour);
  border-radius: var(--border-radius);
  left: 0;
}

.date-picker-control {
  max-width: 28rem;
  min-width: 28rem;
}

.days-layout {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  width: 100%;
}
.day.weekend {
  color: var(--danger-colour);
}

.date-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem;
  border-bottom: 2px solid var(--gray-light);
}
.date-controls i {
  font-size: 2.6rem;
}
.date-controls .month-forward {
  display: flex;
  justify-content: end;
  cursor: pointer;
}
.date-controls .month-back {
  display: flex;
  justify-content: start;
  cursor: pointer;
}

.current-month {
  display: flex;
  justify-content: center;
  align-items: center;
}

.days-of-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 2px solid var(--gray-light);
  padding: 0.3rem;
}

.date-selection {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  width: 100%;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color linear 0.15s;
}
.date-selection:focus {
  background-color: var(--primary-colour);
}
.date-selection:hover:not(:focus) {
  background-color: var(--gray-light);
}

.dt-oom {
  color: #777;
}

.gradient {
  background-image: linear-gradient(rgba(0, 0, 0, 0), #000), linear-gradient(90deg, #fff, currentColor);
}

.hue-slider {
  background-image: linear-gradient(to right, red 0, #ff0 16.66%, #0f0 33.33%, #0ff 50%, #00f 66.66%, #f0f 83.33%, red 100%);
  width: 300px;
  padding: 0;
}

.tl2-input-container {
  display: flex;
}
.tl2-input-container .tl2-check-chip-container {
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: var(--input-background-selected);
  border-radius: var(--border-radius);
  border: var(--input-border-width) solid var(--gray);
  border-radius: 2rem;
  margin: 0.2rem 0;
}
.tl2-input-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  display: none;
}
.tl2-input-container input[type=checkbox]:checked + .tl2-check-chip-container {
  border-color: var(--primary-colour);
  color: var(--primary-colour);
}
.tl2-input-container .tl2-check-chip-container:hover {
  /*background: var(--gray-light);*/
  border-color: var(--primary-colour);
}
.tl2-input-container .tl2-radio-chip-container {
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: linear-gradient(to top, #f9f9f9, #fff 33%);
  border-radius: var(--border-radius);
  border: var(--input-border-width) solid var(--gray);
  border-radius: 2rem;
  margin: 0.2rem 0;
}
.tl2-input-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.tl2-input-container input[type=radio]:checked + .tl2-radio-chip-container {
  border-color: var(--primary-colour);
  color: var(--primary-colour);
}
.tl2-input-container .tl2-radio-chip-container:hover {
  background: var(--gray-light);
}

.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;
  column-gap: 0.5rem;
  width: 100%;
  min-width: 15rem;
  border-radius: 0.25em;
  cursor: pointer;
  /*background-color: var(--white);*/
  color: var(--black) !important;
}
.select select, .select::after {
  grid-area: select;
}
.select:not(.select--multiple)::after {
  content: "";
  justify-self: end;
  width: 0.8em;
  height: 0.5em;
  background-color: var(--primary-colour);
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

option {
  color: var(--primary-colour) !important;
  font-family: var(--default-font);
}
option:hover {
  color: var(--primary-colour) !important;
}

select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
}

select[multiple] {
  padding-right: 0;
  height: 6rem;
  margin-top: 0.5rem;
}
select[multiple] option {
  white-space: normal;
  outline-color: var(--gray);
}

.select--disabled {
  cursor: not-allowed;
  background-color: #eee;
  background-image: linear-gradient(to top, #ddd, #eee 33%);
}

.tl2-rel {
  position: relative;
}

.tl2-abs {
  position: absolute;
}

.tl2-d-ib {
  display: inline-block;
}

.tl2-visible {
  display: inherit;
}

.tl2-invisible {
  display: none;
}

.tl2-pos-relative {
  position: relative;
}
.tl2-pos-fixed {
  position: fixed;
}
.tl2-pos-absolute {
  position: absolute;
}
.tl2-pos-sticky {
  position: sticky;
}

.tl2-p-0 {
  padding: 0;
}

.tl2-p-1 {
  padding: 0.8rem;
}

.tl2-p-2 {
  padding: 1.6rem;
}

.tl2-p-3 {
  padding: 2.4rem;
}

.tl2-p-4 {
  padding: 3.2rem;
}

.tl2-p-5 {
  padding: 4rem;
}

.tl2-p-6 {
  padding: 4.8rem;
}

.tl2-px-0 {
  padding-left: 0;
  padding-right: 0;
}

.tl2-px-1 {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.tl2-px-2 {
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.tl2-px-3 {
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}

.tl2-px-4 {
  padding-left: 3.2rem;
  padding-right: 3.2rem;
}

.tl2-px-5 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.tl2-px-6 {
  padding-left: 4.8rem;
  padding-right: 4.8rem;
}

.tl2-py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.tl2-py-1 {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.tl2-py-2 {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.tl2-py-3 {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

.tl2-py-4 {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.tl2-py-5 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.tl2-py-6 {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

.tl2-pt-0 {
  padding-top: 0;
}

.tl2-pt-1 {
  padding-top: 0.8rem;
}

.tl2-pt-2 {
  padding-top: 1.6rem;
}

.tl2-pt-3 {
  padding-top: 2.4rem;
}

.tl2-pt-4 {
  padding-top: 3.2rem;
}

.tl2-pt-5 {
  padding-top: 4rem;
}

.tl2-pt-6 {
  padding-top: 4.8rem;
}

.tl2-pr-0 {
  padding-right: 0;
}

.tl2-pr-1 {
  padding-right: 0.8rem;
}

.tl2-pr-2 {
  padding-right: 1.6rem;
}

.tl2-pr-3 {
  padding-right: 2.4rem;
}

.tl2-pr-4 {
  padding-right: 3.2rem;
}

.tl2-pr-5 {
  padding-right: 4rem;
}

.tl2-pr-6 {
  padding-right: 4.8rem;
}

.tl2-pb-0 {
  padding-bottom: 0;
}

.tl2-pb-1 {
  padding-bottom: 0.8rem;
}

.tl2-pb-2 {
  padding-bottom: 1.6rem;
}

.tl2-pb-3 {
  padding-bottom: 2.4rem;
}

.tl2-pb-4 {
  padding-bottom: 3.2rem;
}

.tl2-pb-5 {
  padding-bottom: 4rem;
}

.tl2-pb-6 {
  padding-bottom: 4.8rem;
}

.tl2-pl-0 {
  padding-left: 0;
}

.tl2-pl-1 {
  padding-left: 0.8rem;
}

.tl2-pl-2 {
  padding-left: 1.6rem;
}

.tl2-pl-3 {
  padding-left: 2.4rem;
}

.tl2-pl-4 {
  padding-left: 3.2rem;
}

.tl2-pl-5 {
  padding-left: 4rem;
}

.tl2-pl-6 {
  padding-left: 4.8rem;
}

.tl2-m-0 {
  margin: 0;
}

.tl2-m-1 {
  margin: 0.8rem;
}

.tl2-m-2 {
  margin: 1.6rem;
}

.tl2-m-3 {
  margin: 2.4rem;
}

.tl2-m-4 {
  margin: 3.2rem;
}

.tl2-m-5 {
  margin: 4rem;
}

.tl2-m-6 {
  margin: 4.8rem;
}

.tl2-mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.tl2-mx-1 {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

.tl2-mx-2 {
  margin-left: 1.6rem;
  margin-right: 1.6rem;
}

.tl2-mx-3 {
  margin-left: 2.4rem;
  margin-right: 2.4rem;
}

.tl2-mx-4 {
  margin-left: 3.2rem;
  margin-right: 3.2rem;
}

.tl2-mx-5 {
  margin-left: 4rem;
  margin-right: 4rem;
}

.tl2-mx-6 {
  margin-left: 4.8rem;
  margin-right: 4.8rem;
}

.tl2-my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.tl2-my-1 {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.tl2-my-2 {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

.tl2-my-3 {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

.tl2-my-4 {
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
}

.tl2-my-5 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.tl2-my-6 {
  margin-top: 4.8rem;
  margin-bottom: 4.8rem;
}

.tl2-mt-0 {
  margin-top: 0;
}

.tl2-mt-1 {
  margin-top: 0.8rem;
}

.tl2-mt-2 {
  margin-top: 1.6rem;
}

.tl2-mt-3 {
  margin-top: 2.4rem;
}

.tl2-mt-4 {
  margin-top: 3.2rem;
}

.tl2-mt-5 {
  margin-top: 4rem;
}

.tl2-mt-6 {
  margin-top: 4.8rem;
}

.tl2-mr-0 {
  margin-right: 0;
}

.tl2-mr-1 {
  margin-right: 0.8rem;
}

.tl2-mr-2 {
  margin-right: 1.6rem;
}

.tl2-mr-3 {
  margin-right: 2.4rem;
}

.tl2-mr-4 {
  margin-right: 3.2rem;
}

.tl2-mr-5 {
  margin-right: 4rem;
}

.tl2-mr-6 {
  margin-right: 4.8rem;
}

.tl2-mb-0 {
  margin-bottom: 0;
}

.tl2-mb-1 {
  margin-bottom: 0.8rem;
}

.tl2-mb-2 {
  margin-bottom: 1.6rem;
}

.tl2-mb-3 {
  margin-bottom: 2.4rem;
}

.tl2-mb-4 {
  margin-bottom: 3.2rem;
}

.tl2-mb-5 {
  margin-bottom: 4rem;
}

.tl2-mb-6 {
  margin-bottom: 4.8rem;
}

.tl2-ml-0 {
  margin-left: 0;
}

.tl2-ml-1 {
  margin-left: 0.8rem;
}

.tl2-ml-2 {
  margin-left: 1.6rem;
}

.tl2-ml-3 {
  margin-left: 2.4rem;
}

.tl2-ml-4 {
  margin-left: 3.2rem;
}

.tl2-ml-5 {
  margin-left: 4rem;
}

.tl2-ml-6 {
  margin-left: 4.8rem;
}

.tl2-flex {
  display: flex;
  width: 100%;
}
.tl2-flex-align-center {
  align-items: center;
}
.tl2-flex-align-top {
  align-items: start;
}
.tl2-flex-align-bottom {
  align-items: end;
}
.tl2-flex-justify-left {
  justify-content: start;
}
.tl2-flex-justify-right {
  justify-content: end;
}
.tl2-flex-justify-center {
  justify-content: center;
}
.tl2-flex-justify-between {
  justify-content: space-between;
}
.tl2-flex-justify-around {
  justify-content: space-around;
}
.tl2-flex-justify-end {
  justify-content: end;
}
.tl2-flex-justify-start {
  justify-content: start;
}
.tl2-flex-direction-vertical {
  flex-direction: column;
}
.tl2-flex-direction-horizontal {
  flex-direction: row;
}
.tl2-flex-width-auto {
  width: auto;
}
.tl2-flex-width-full {
  width: 100%;
}
.tl2-flex-width-half {
  width: 50%;
}
.tl2-flex-width-quater {
  width: 25%;
}
.tl2-flex-width-third {
  width: 33.33333%;
}

@media (min-width: 767px) {
  .tl2-flex {
    display: flex;
    width: auto;
  }
  .tl2-flex-align-center {
    align-items: center;
  }
  .tl2-flex-align-top {
    align-items: start;
  }
  .tl2-flex-align-bottom {
    align-items: end;
  }
  .tl2-flex-justify-left {
    justify-content: start;
  }
  .tl2-flex-justify-right {
    justify-content: end;
  }
  .tl2-flex-justify-center {
    justify-content: center;
  }
  .tl2-flex-justify-between {
    justify-content: space-between;
  }
  .tl2-flex-justify-around {
    justify-content: space-around;
  }
  .tl2-flex-justify-end {
    justify-content: end;
  }
  .tl2-flex-justify-start {
    justify-content: start;
  }
  .tl2-flex-direction-vertical {
    flex-direction: column;
  }
  .tl2-flex-direction-horizontal {
    flex-direction: row;
  }
  .tl2-flex-width-auto {
    width: auto;
  }
  .tl2-flex-width-full {
    width: 100%;
  }
  .tl2-flex-width-half {
    width: 50%;
  }
  .tl2-flex-width-quater {
    width: 25%;
  }
  .tl2-flex-width-third {
    width: 33.33333%;
  }
}
.tl2-gap-0 {
  gap: 0 !important;
}
.tl2-gap-1 {
  gap: 0.8rem !important;
}
.tl2-gap-2 {
  gap: 1.6rem !important;
}
.tl2-gap-3 {
  gap: 2.4rem !important;
}
.tl2-gap-4 {
  gap: 3.2rem !important;
}
.tl2-gap-5 {
  gap: 4rem !important;
}
.tl2-gap-6 {
  gap: 4.8rem !important;
}

[class*=tl2-grid-] {
  display: grid;
  grid-gap: 0.5rem;
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
}

@media (min-width: 767px) {
  .tl2-grid-0 {
    grid-template-columns: repeat(0, minmax(0, 1fr));
  }
  .tl2-grid-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .tl2-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tl2-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tl2-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tl2-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .tl2-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .tl2-grid-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .tl2-grid-8 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .tl2-grid-9 {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
  .tl2-grid-10 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  .tl2-grid-11 {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }
  .tl2-grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}
@container (max-width: 767px) {
  [class*=tl2-grid-] {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
}
.tl2-image-aspect-43 {
  aspect-ratio: 4/3;
}
.tl2-image-aspect-169 {
  aspect-ratio: 16/9;
}
.tl2-image-aspect-11 {
  aspect-ratio: 1/1;
}
.tl2-image-fit-contain {
  object-fit: contain;
}
.tl2-image-fit-cover {
  object-fit: cover;
}
.tl2-image-responsive {
  width: 100%;
  height: auto;
}

.tl2-background-image-position-center {
  background-position: center;
}
.tl2-background-image-position-bottom {
  background-position: bottom;
}
.tl2-background-image-position-top {
  background-position: top;
}
.tl2-background-image-position-left {
  background-position: left;
}
.tl2-background-image-position-right {
  background-position: right;
}
.tl2-background-image-size-cover {
  background-size: cover;
}
.tl2-background-image-size-contain {
  background-size: contain;
}
.tl2-background-image-repeat-none {
  background-repeat: no-repeat;
}
.tl2-background-image-repeat-both {
  background-repeat: repeat;
}
.tl2-background-image-repeat-y {
  background-repeat: repeat-y;
}
.tl2-background-image-repeat-x {
  background-repeat: repeat-x;
}
.tl2-background-image-repeat-round {
  background-repeat: round;
}
.tl2-background-image-repeat-space {
  background-repeat: space;
}

.tl2-tab-control {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tl2-tab {
  overflow: hidden;
  justify-content: start;
  width: 100%;
  display: flex;
  padding: 0.5rem 0;
}
.tl2-tab button, .tl2-tab a {
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.15s;
  color: var(--text-colour);
  border-radius: 0rem;
  text-align: center;
  padding: 0.3rem, 0.3rem;
  margin-right: 0.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 3px solid transparent !important;
}
.tl2-tab button.active, .tl2-tab a.active {
  color: var(--primary-colour);
  border-bottom: 3px solid var(--primary-colour) !important;
  background-color: var(--body-colour);
}

.tl-tabcontent {
  background-color: var(--body-colour);
  padding: 1rem;
  border-radius: 0.5rem;
}

.tl2-tabcontent {
  /*display: none;*/
  border-top: none;
  width: 100%;
  height: auto;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .tl-tab {
    justify-content: left;
  }
}
.tl2-dialog-overlay {
  /* position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.7;
  z-index: 1000;*/
  background: rgba(33, 33, 33, 0.7980392157);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  position: fixed;
  opacity: 0.4;
  display: flex;
  z-index: 1000;
}

.tl2-dialog-title {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.tl2-dialog-container {
  position: fixed;
  width: 95vw;
  max-height: 95vh;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  border-radius: var(--border-radius);
  margin: auto;
  opacity: 1;
  top: 50%;
  clip: auto;
  padding: 1.5rem;
}

.tl2-dialog-content {
  /* margin-top: 6rem; */
  overflow-y: auto;
  /*position: fixed;*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.tl2-dialog-close {
  background-color: #fff;
  border: 0;
}
.tl2-dialog-close i {
  color: #000;
  line-height: 32px;
  text-align: center;
}

@media (min-width: 1024px) {
  .tl2-dialog-container {
    position: fixed;
    width: 50vw;
    height: auto;
    max-height: 75vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    box-shadow: var(--default-shadow);
    border-radius: var(--border-radius);
  }
}
.tl2-table-container table {
  width: 100%;
  background-color: var(--secondary-colour);
  border-radius: var(--border-radius);
  border-spacing: 0;
}
.tl2-table-container th {
  text-align: left;
  border-bottom: 1px solid var(--gray);
}
.tl2-table-container tfoot td {
  border-top: 1px solid var(--gray);
  font-weight: bold;
}
.tl2-table-container td, .tl2-table-container th {
  padding: 1rem;
  outline: 0;
}
.tl2-table-container tr {
  /*background-color: #fff;*/
  cursor: pointer;
}
.tl2-table-container tbody tr:hover {
  background-color: var(--item-hover);
}
.tl2-table-container thead th:hover {
  background-color: var(--body-colour);
}
.tl2-table-container a {
  color: var(--brand-colour);
  text-decoration: none;
}
.tl2-table-container a:hover {
  color: var(--brand-colour);
}

.group-container {
  margin-bottom: 0.5rem;
}
.group-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.group-container ul li {
  background-color: var(--secondary-colour);
  padding: 1rem;
  cursor: pointer;
}

.tl2-row-container {
  cursor: pointer;
}

.tl2-pagination {
  display: flex;
  margin-left: 0;
  padding-left: 0;
}
.tl2-pagination li {
  list-style-type: none;
}
.tl2-pagination button {
  border: 1px solid transparent;
  background-color: var(--bs-white);
  color: var(--text-colour);
}
.tl2-pagination button.active {
  border: 1px solid var(--brand-colour);
}

.compact table {
  width: 100%;
  background-color: var(--secondary-colour);
  border-radius: var(--border-radius);
  border-spacing: 0;
}
.compact th {
  text-align: left;
  border-bottom: 1px solid var(--primary-colour);
}
.compact td, .compact th {
  padding: 0.2rem;
  outline: 0;
}
.compact tr {
  /*background-color: #fff;*/
  cursor: pointer;
}
.compact tbody tr:hover {
  background-color: var(--body-colour);
}
.compact thead th:hover {
  background-color: var(--body-colour);
}

.tl2-table-container {
  overflow-x: auto;
  display: contents;
}

.tl2-shadow {
  box-shadow: 0 0.46875rem 2.1875rem rgba(31, 10, 6, 0.03), 0 0.9375rem 1.40625rem rgba(31, 10, 6, 0.03), 0 0.25rem 0.53125rem rgba(31, 10, 6, 0.05), 0 0.125rem 0.1875rem rgba(31, 10, 6, 0.03);
}

.tl2-brd-t-primary {
  border-top-color: var(--primary-colour) !important;
}
.tl2-brd-t-secondary {
  border-top-color: var(--secondary-colour) !important;
}
.tl2-brd-t-brand {
  border-top-color: var(--brand-colour) !important;
}
.tl2-brd-t-danger {
  border-top-color: var(--danger-colour) !important;
}
.tl2-brd-t-warning {
  border-top-color: var(--warning-colour) !important;
}
.tl2-brd-t-success {
  border-top-color: var(--success-colour) !important;
}
.tl2-brd-t-info {
  border-top-color: var(--info-colour) !important;
}
.tl2-brd-t-white {
  border-top-color: var(--white-colour) !important;
}
.tl2-brd-t-black {
  border-top-color: var(--black-colour) !important;
}
.tl2-brd-t-body {
  border-top-color: var(--body-colour) !important;
}
.tl2-brd-r-primary {
  border-right-color: var(--primary-colour) !important;
}
.tl2-brd-r-secondary {
  border-right-color: var(--secondary-colour) !important;
}
.tl2-brd-r-brand {
  border-right-color: var(--brand-colour) !important;
}
.tl2-brd-r-danger {
  border-right-color: var(--danger-colour) !important;
}
.tl2-brd-r-warning {
  border-right-color: var(--warning-colour) !important;
}
.tl2-brd-r-success {
  border-right-color: var(--success-colour) !important;
}
.tl2-brd-r-info {
  border-right-color: var(--info-colour) !important;
}
.tl2-brd-r-white {
  border-right-color: var(--white-colour) !important;
}
.tl2-brd-r-black {
  border-right-color: var(--black-colour) !important;
}
.tl2-brd-r-body {
  border-right-color: var(--body-colour) !important;
}
.tl2-brd-l-primary {
  border-left-color: var(--primary-colour) !important;
}
.tl2-brd-l-secondary {
  border-left-color: var(--secondary-colour) !important;
}
.tl2-brd-l-brand {
  border-left-color: var(--brand-colour) !important;
}
.tl2-brd-l-danger {
  border-left-color: var(--danger-colour) !important;
}
.tl2-brd-l-warning {
  border-left-color: var(--warning-colour) !important;
}
.tl2-brd-l-success {
  border-left-color: var(--success-colour) !important;
}
.tl2-brd-l-info {
  border-left-color: var(--info-colour) !important;
}
.tl2-brd-l-white {
  border-left-color: var(--white-colour) !important;
}
.tl2-brd-l-black {
  border-left-color: var(--black-colour) !important;
}
.tl2-brd-l-body {
  border-left-color: var(--body-colour) !important;
}
.tl2-brd-b-primary {
  border-bottom-color: var(--primary-colour) !important;
}
.tl2-brd-b-secondary {
  border-bottom-color: var(--secondary-colour) !important;
}
.tl2-brd-b-brand {
  border-bottom-color: var(--brand-colour) !important;
}
.tl2-brd-b-danger {
  border-bottom-color: var(--danger-colour) !important;
}
.tl2-brd-b-warning {
  border-bottom-color: var(--warning-colour) !important;
}
.tl2-brd-b-success {
  border-bottom-color: var(--success-colour) !important;
}
.tl2-brd-b-info {
  border-bottom-color: var(--info-colour) !important;
}
.tl2-brd-b-white {
  border-bottom-color: var(--white-colour) !important;
}
.tl2-brd-b-black {
  border-bottom-color: var(--black-colour) !important;
}
.tl2-brd-b-body {
  border-bottom-color: var(--body-colour) !important;
}
.tl2-brd-primary {
  border-color: var(--primary-colour) !important;
}
.tl2-brd-secondary {
  border-color: var(--secondary-colour) !important;
}
.tl2-brd-brand {
  border-color: var(--brand-colour) !important;
}
.tl2-brd-danger {
  border-color: var(--danger-colour) !important;
}
.tl2-brd-warning {
  border-color: var(--warning-colour) !important;
}
.tl2-brd-success {
  border-color: var(--success-colour) !important;
}
.tl2-brd-info {
  border-color: var(--info-colour) !important;
}
.tl2-brd-white {
  border-color: var(--white-colour) !important;
}
.tl2-brd-black {
  border-color: var(--black-colour) !important;
}
.tl2-brd-body {
  border-color: var(--body-colour) !important;
}

.tl2-i-sz-1 {
  font-size: 1.4rem;
}

.tl2-i-sz-2 {
  font-size: 2.2rem;
}

.tl2-i-sz-3 {
  font-size: 3rem;
}

.tl2-i-sz-4 {
  font-size: 3.6rem;
}

.tl2-i-sz-5 {
  font-size: 4.2rem;
}

.tl2-i-sz-6 {
  font-size: 5.4rem;
}

.tl2-badge {
  display: inline-flex;
  padding: 0.3rem 1.2rem;
  border-radius: 1.5rem;
  width: max-content;
  height: auto;
  align-items: center;
  font-size: 1.2rem;
  min-height: 1.8rem;
}

.tl2-spinner {
  display: flex;
  /*align-items: center;*/
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
}
.tl2-spinner div {
  border-top-width: 4px;
  border-top-style: solid;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: tl-loader-spin 2s linear infinite;
  margin-right: 1rem;
}
.tl2-spinner div.light {
  border-width: 4px;
  border-style: solid;
  border-color: var(--switch-off);
}

@keyframes tl-loader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Tooltip container */
.tl2-tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tl2-tooltip .tl2-tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tl2-tooltip .tl2-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tl2-tooltip:hover .tl2-tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tl2-panel {
  /* width: 33.3%;
  float: right;*/
  top: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  z-index: 9999;
  max-height: 100vh;
  width: var(--default-panel-width);
  /* 
  display: grid;
  grid-template-rows: auto auto 1fr;*/
}
.tl2-panel table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 2rem;
}
.tl2-panel table td {
  border: 0;
}
.tl2-panel input, .tl2-panel textarea, .tl2-panel fieldset {
  margin-bottom: 0rem;
}
.tl2-panel select {
  margin-bottom: 0.5rem;
}

.tl2-panel-footer {
  height: auto;
}

.tl2-panel-title {
  padding: 0.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.tl2-panel-content {
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  /* flex: 1 0;*/
  height: 100vh;
}

.tl2-panel-r {
  right: calc(var(--default-panel-width) * -1);
  transition: right linear 0.3s;
}
.tl2-panel-r.tl2-panel-show {
  right: 0;
}
.tl2-panel-r .tl2-tabcontent {
  height: 100%;
  overflow-y: auto;
}

.tl2-panel-close {
  font-size: 18px;
  margin-right: 1rem;
}

.tl2-collapse-panel-content {
  border-left: 2px solid var(--body-colour);
  border-bottom: 2px solid var(--body-colour);
  border-right: 2px solid var(--body-colour);
  padding: 1rem;
}

.tl2-collapsable-panel-header {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  padding: 0.9rem 0.5rem;
}

.tl2-simple-panel {
  display: flex;
  flex-flow: column;
  height: 100%;
}
.tl2-simple-panel-header {
  flex: 0 1 auto;
}
.tl2-simple-panel-content {
  display: flex;
  flex-flow: column;
  flex: 1 1 auto;
  overflow-y: auto;
}
.tl2-simple-panel-footer {
  flex: 0 1 auto;
}

.tl2-popup {
  min-width: 250px;
  position: absolute;
  z-index: 10000;
  margin-top: 0.3rem;
  box-shadow: var(--default-shadow);
  border: 1px solid var(--secondary-colour);
  font-size: 1.2rem;
  background-color: var(--secondary-colour);
  border-radius: var(--border-radius);
}
.tl2-popup-left {
  left: 0;
}
.tl2-popup-right {
  right: 0;
  width: auto;
}

.tl-notification-container {
  position: absolute;
  width: 30rem;
  gap: 1rem;
  overflow-y: auto;
  max-height: 100vh;
  position: fixed;
  z-index: 99999;
}
.tl-notification-container-tl {
  top: 0;
  left: 0;
  justify-content: start;
  margin-left: 1rem;
  padding-top: 1rem;
}
.tl-notification-container-tr {
  top: 0;
  right: 0;
  justify-content: start;
  margin-right: 1rem;
  padding-top: 1rem;
}
.tl-notification-container-br {
  bottom: 0;
  right: 0;
  justify-content: end;
  margin-right: 2.5rem;
  padding-bottom: 1rem;
}
.tl-notification-container-bl {
  bottom: 0;
  left: 0;
  justify-content: end;
  margin-left: 1rem;
  padding-bottom: 1rem;
}

.tl-notification {
  width: 30rem;
  min-height: 7.5rem;
  /*box-shadow: 0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);*/
  box-shadow: rgba(0, 0, 0, 0.2) 0.2rem 0.2rem 0.6rem;
  border-radius: var(--border-radius);
  border-left-width: 0.5rem;
  border-left-style: solid;
}

.tl-rock-y-axis {
  animation: y-axis-animation 1s ease-in-out 0s infinite alternate;
}

@keyframes y-axis-animation {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.95);
  }
}
