/* input(2493,18): run-time error CSS1030: Expected identifier, found '.'
input(2493,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2496,18): run-time error CSS1030: Expected identifier, found '.'
input(2496,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2499,18): run-time error CSS1030: Expected identifier, found '.'
input(2499,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2502,18): run-time error CSS1030: Expected identifier, found '.'
input(2502,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2505,18): run-time error CSS1030: Expected identifier, found '.'
input(2505,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2508,18): run-time error CSS1030: Expected identifier, found '.'
input(2508,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2511,18): run-time error CSS1030: Expected identifier, found '.'
input(2511,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2513,18): run-time error CSS1030: Expected identifier, found '.'
input(2513,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2515,18): run-time error CSS1030: Expected identifier, found '.'
input(2515,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2517,18): run-time error CSS1030: Expected identifier, found '.'
input(2517,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2519,18): run-time error CSS1030: Expected identifier, found '.'
input(2519,35): run-time error CSS1025: Expected comma or open brace, found ')'
input(2521,18): run-time error CSS1030: Expected identifier, found '.'
input(2521,35): run-time error CSS1025: Expected comma or open brace, found ')' */
/* style/behavior adjustments for WCAG/ADA compliance -- apply this stylesheet as an override
   note: intention is to override the other stylesheets here rather than edit/replace them for now.
         some styles require more precision or using !important to patch the original styling
*/

@layer defaults, site, kendo-ui, bootstrap, countysuite, overrides, jquery_ui, kendoui_overrides, selectize_overrides, events;

:root {
  --teleosoft-fonts-light: 'Bahnschrift Light','Calibri',Tahoma,sans-serif;
  --teleosoft-fonts-default: 'Bahnschrift','Calibri',Tahoma,sans-serif;

  /*brand colors*/
  --teleosoft-colors-gray: #D0D8E1;
  --teleosoft-colors-blue: #3D7796;
  --teleosoft-colors-black: #231F20;
  --teleosoft-colors-white: #FFFFFF;
  --teleosoft-colors-red: #CD4C27;

  /*brand contrasts*/
  --teleosoft-colors-gray-light: color-mix(in srgb, var(--teleosoft-colors-gray), white 60%);
  --teleosoft-colors-gray-dark: color-mix(in srgb, var(--teleosoft-colors-gray), black 50%);
  --teleosoft-colors-gray-medium: #929396; /*#737478*/
  --teleosoft-colors-blue-light: color-mix(in srgb, var(--teleosoft-colors-blue), white 75%);
  --teleosoft-colors-blue-dark: color-mix(in srgb, var(--teleosoft-colors-blue), black 35%); /*#284d62*/
  --teleosoft-colors-red-light: color-mix(in srgb, var(--teleosoft-colors-red), white 95%); /*alt:#FFF6F0*/
  --teleosoft-colors-red-dark: color-mix(in srgb, var(--teleosoft-colors-red), black 35%); /*alt:#A94442*/

  /*site color scheme*/
  --ts-colors-body-line: var(--teleosoft-colors-black);
  --ts-colors-body-base: var(--teleosoft-colors-white);
  --ts-colors-primary-base: #3d7796;
  --ts-colors-primary-line: #ffffff;
  --ts-colors-primary-accent: #284d62;
  --ts-colors-primary-shadow: #284d62;
  --ts-colors-primary-hilite: #75aac7;
  --ts-colors-secondary-base: #686c71;
  --ts-colors-secondary-line: #ffffff;
  --ts-colors-secondary-accent: #383a3d;
  --ts-colors-secondary-shadow: #383a3d;
  --ts-colors-secondary-hilite: #aaadb1;

  /*special colors*/
  --ts-colors-info: #8ABFDA;
  --ts-colors-warning: #D5C77E;
  --ts-colors-problem: #B84323;
  --ts-colors-success: #40752A;
  --ts-colors-delete: #CD4C27;

  --ts-colors-highlight-text: #000000;
  --ts-colors-highlight-bg: #e8e8e8;
  --ts-colors-grid-line: #d0d8e1;
  --ts-readonly-bg: #eceff3;

  --ts-colors-outline: #ff7f05;

  --ts-colors-orange: #ffa34b;
  --ts-colors-accent: #ffa34b;
  --ts-colors-highlight: #c5dce7;
  --ts-colors-grid-highlight: #daebf4;
  --ts-colors-focus: #ffa34b;
  --ts-colors-hyperlink: #3d7796;
  --ts-colors-hoverlink: #284d62;


  /*control colors*/
  --ts-body-text: var(--ts-colors-body-line);
  --ts-body-bg: var(--ts-colors-body-base);

  --ts-ctrl-text: var(--ts-colors-primary-line);
  --ts-ctrl-bg: var(--ts-colors-primary-base);
  --ts-ctrl-border-color: var(--ts-colors-primary-base);
  --ts-ctrl-border-width: 1px;
  --ts-ctrl-border-radius: 4px;
  --ts-ctrl-hover: var(--ts-colors-primary-accent);
  --ts-ctrl-focus: var(--ts-colors-primary-shadow);

  --ts-btn-text: var(--ts-ctrl-text);
  --ts-btn-bg: var(--ts-ctrl-bg);
  --ts-btn-border-color: var(--ts-ctrl-border-color);
  --ts-btn-border-width: 1px;
  --ts-btn-border-radius: 2em;
  --ts-btn-hover: var(--ts-ctrl-hover);
  --ts-btn-focus: var(--ts-ctrl-focus);

  --ts-input-text: var(--ts-colors-body-line);
  --ts-input-bg: var(--ts-colors-body-base);
  --ts-input-border-color: var(--ts-colors-primary-base);
  --ts-input-hover: var(--ts-colors-primary-accent);
  --ts-input-focus: var(--ts-colors-primary-shadow);
  --ts-input-focus-boxshadow: var(--ts-input-focus) 5px 0px 0px 0px inset;

  --ts-link-text: #3d699d;
  --ts-link-bg: transparent;
  --ts-link-hover: var(--ts-colors-primary-accent);
  --ts-link-focus: var(--ts-colors-primary-shadow);

  --ts-panel-text: var(--ts-body-text);
  --ts-panel-bg: #eceff3;
  --ts-panel-header-text: var(--ts-colors-secondary-line);
  --ts-panel-header-bg: var(--ts-colors-secondary-base);
  --ts-panel-border-color: var(--ts-colors-secondary-base);
  --ts-panel-border-radius: 4px;
  --ts-panel-border-width: 1px;

  --ts-nav-text: var(--ts-colors-primary-line);
  --ts-nav-bg: var(--ts-colors-primary-shadow);
  --ts-nav-menuitem-bg: var(--ts-colors-primary-shadow);
  --ts-nav-profile-bg: var(--ts-colors-primary-base);
  --ts-nav-hover: var(--ts-colors-primary-base);
  --ts-nav-focus: var(--ts-colors-primary-base);

  --ts-list-text: var(--ts-body-text);
  --ts-list-bg: var(--ts-body-bg);
  --ts-list-border: var(--ts-colors-primary-base);
  --ts-list-hover-text: var(--ts-colors-highlight-text);
  --ts-list-hover-bg: var(--ts-colors-highlight-bg);
  --ts-list-selection-text: var(--ts-colors-primary-line);
  --ts-list-selection-bg: var(--ts-colors-primary-base);

  --ts-table-text: var(--ts-colors-body-line);
  --ts-table-bg: var(--ts-colors-body-base);
  --ts-table-bg-stripe: #eff2f5;
  --ts-table-header-text: var(--ts-colors-primary-line);
  --ts-table-header-bg: var(--ts-colors-primary-shadow);
  --ts-table-border-color: var(--ts-colors-primary-shadow);
  --ts-table-border-radius: 4px;
  --ts-table-cell-border: var(--ts-colors-grid-line);
  --ts-table-highlight-text: var(--ts-colors-highlight-text);
  --ts-table-highlight-bg: var(--ts-colors-grid-highlight);
  --ts-table-total-text: var(--ts-colors-primary-line);
  --ts-table-total-bg: var(--ts-colors-primary-base);

  --ts-msgbox-border-width: 2px 2px 2px 5px;
  --ts-msgbox-border-radius: 4px;

  --ts-hover-border-width: 2px;
  --ts-focus-border-width: 2px;
  --ts-focus-border-width-edge: 5px;

  /* fonts */
  --ts-ff-body: var(--teleosoft-fonts-light);
  --ts-ff-headings: var(--teleosoft-fonts-light);
  --ts-ff-refs: var(--teleosoft-fonts-default);
  --ts-ff-labels: var(--teleosoft-fonts-default);
  --ts-fs-html: 14px;
  --ts-fs-xs: 0.857rem;
  --ts-fs-sm: 0.929rem;
  --ts-fs-df: 1rem;
  --ts-fs-md: 1.143rem;
  --ts-fs-lg: 1.286rem;
  --ts-fs-xl: 1.714rem;
  --ts-fs-xxl: 2rem;
}

html.orange {
  --ts-ctrl-hover: var(--ts-colors-orange);
  --ts-ctrl-focus: var(--ts-colors-orange);
  --ts-input-hover: var(--ts-colors-orange);
  --ts-input-focus: var(--ts-colors-orange);
  --ts-link-hover: var(--ts-colors-orange);
  --ts-link-focus: var(--ts-colors-orange);
}

html {
    scroll-padding-top: 150px;
    scroll-padding-bottom: 150px;
    scroll-behavior: smooth;
    -ms-overflow-style: scrollbar;
}

html { font-size: var(--ts-fs-html) !important; }

body {
  color: var(--ts-body-text);
  background: var(--ts-body-bg);
  font-family: var(--ts-ff-body);
  font-size: var(--ts-fs-df);
  padding-bottom: 20px;
  margin-bottom: 50px;
}

html, body {
  min-width: 400px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
  outline: 2px dotted color-mix(in srgb, currentColor, white 20%);
  outline-offset: 2px;
}

@media print {
  .no-print { display: none; visibility: hidden; font-size: 1px; }
  .no-split { break-inside: avoid; display: block; }
}

@layer defaults {

  a:link,
  a:visited,
  a:active {
    color: var(--ts-link-text);

  }

  a {
    text-decoration: none;
  }

  a:hover {
    color: var(--ts-link-hover);
    text-decoration: underline;
  }

  a:focus {
    color: var(--ts-link-focus);
    text-decoration: none;
  }

  input[type="text"],
  input[type="date"],
  input[type="email"],
  input[type="file"],
  input[type="checkbox"],
  input[type="password"] {
    border-style: solid;
    border-color: var(--ts-input-border-color);
    border-width: 1px;
    background: var(--ts-input-bg);
    border-radius: var(--ts-ctrl-border-radius);
  }

  input[type="text"]:hover,
  input[type="date"]:hover,
  input[type="email"]:hover,
  input[type="file"]:hover,
  input[type="password"]:hover {
    border-style: solid;
    border-color: var(--ts-input-hover);
    border-width: var(--ts-hover-border-width);
  }

  input[type="checkbox"]:hover,
  input[type="checkbox"]:focus {
    box-shadow: var(--ts-input-hover) 0px 0px 0px 2px inset;
  }
  
  input[type="text"]:focus,
  input[type="date"]:focus,
  input[type="email"]:focus,
  input[type="file"]:focus,
  input[type="password"]:focus {
    border-style: solid;
    border-color: var(--ts-input-focus);
    border-width: var(--ts-focus-border-width);
    box-shadow: var(--ts-input-focus-boxshadow);
  }

}

@layer overrides {

  input, select, option, textarea {
    font-size: var(--ts-fs-sm);
    box-sizing: border-box;
    padding: 4px 4px 4px 10px;
  }

  input:not([type="checkbox"]), select, option {
    height: 28px;
  }

  input::-moz-placeholder {
    color: #666 !important;
    opacity: 1;
    font-style: italic;
    font-size: var(--ts-fs-df);
  }

  input::-webkit-input-placeholder {
    color: #666 !important;
    opacity: 1;
    font-style: italic;
    font-size: var(--ts-fs-df);
    -webkit-appearance: none;
  }

  input:-ms-input-placeholder {
    color: #666 !important;
    opacity: 1;
    font-style: italic;
    font-size: var(--ts-fs-df);
  }

  input::placeholder {
    color: #666 !important;
    opacity: 1;
    font-style: italic;
    font-size: var(--ts-fs-df);
    appearance: none;
  }

  a {
    font-family: var(--ts-ff-labels);
    font-weight: bold;
  }
  
  a.alert-link,
  p  a:not(.btn) {
    text-decoration: underline;
  }

  a.link {
    text-decoration: none;
  }

  h1, .h1 {
    font-family: var(--ts-ff-headings);
    font-size: 30px;
  }

  h2, .h2 {
    font-family: var(--ts-ff-headings);
    font-size: 26px;
  }

  h3, .h3 {
    font-family: var(--ts-ff-headings);
    font-size: 22px;
  }

  h4, .h4 {
    font-family: var(--ts-ff-headings);
    font-size: 18px;
    font-style: italic;
  }

  h5, .h5 {
    font-family: var(--ts-ff-headings);
    font-size: 14px;
    font-weight: bold;
  }

  h6, .h6 {
    font-family: var(--ts-ff-headings);
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
  }

  .header {
    font-family: var(--ts-ff-headings);
    font-size: 18px;
    font-weight: bold;
  }

  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6,
  .header {
    text-align: center;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 20px;
  }

  label {
    margin-bottom: 0px;
  }

  footer a {
    color: white !important;
  }

  .modal {
    background: rgba(0,0,0,0.1);
  }

  html.section-shadows {
    .page-title {
      box-shadow: 0px 0px 10px black;
    }
  }

  footer {
    box-shadow: 0px 0px 10px black;
  }

  body.dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  body.dashboard > header,
  body.dashboard > nav {
    flex-shrink: 0;
  }

  body.dashboard > main {
    flex: 1 1 auto;
  }

  input[type=date] {
    color-scheme: light;
    padding-left: 10px;
  }

  .skipbar, .skiplink {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    text-align: left;
    padding: 2px 10px;
    color: black;
    background: white;
    font-family: var(--ts-ff-labels);
    font-size: var(--ts-fs-md);
    /*box-shadow: inset 0px -6px 10px -6px #000;*/
    border: none;
    translate: 0 -100%;
    transition: translate 150ms ease-in-out;
  }

  .skipbar > a.skiplink {
    position: static;
    float: left;
    background: transparent;
    border-radius: 30px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
    translate: none;
    transition: none;
  }

  a.skiplink {
    margin: 0px 5px;
    text-decoration: none !important;
  }

  .skipbar > label {
    float: left;
    font-style: italic;
    margin-right: 10px;
  }

  .skiplink:focus,
  .skiplink:focus-visible {
    color: var(--ts-ctrl-focus);
  }

  .skipbar > .skiplink:hover,
  .skipbar > .skiplink:focus,
  .skipbar > .skiplink:focus-visible {
    color: white !important;
    background: var(--ts-colors-outline);
    outline: none !important;
  }

  .skipbar:focus-within,
  .skiplink:focus,
  .skiplink:focus-visible {
    translate: 0;
  }

  .filetypes {
    vertical-align: middle;
  }

  .glyphicon,
  .glyphicons {
    line-height: normal !important;
  }

  .glyphicon.minimal::before,
  .glyphicons.minimal::before {
    padding: 0px !important;
    margin: 0px !important;
  }

  .glyphicon.left,
  .glyphicons.left {
    margin-right: 6px;
  }

  .glyphicon.right,
  .glyphicons.right {
    margin-left: 6px;
  }

  span.glyphicons,
  span.glyphicon::before,
  span.glyphicons::before {
    padding: 0px !important;
    vertical-align: text-bottom;
  }

  button.glyphicon::before,
  button.glyphicons::before {
    vertical-align: baseline;
  }

  button span.glyphicon::before,
  button span.glyphicons::before {
    padding: 0px !important;
    vertical-align: text-bottom;
    font-size: var(--ts-fs-sm);
  }

  .btn:not(.icon-only).left > .glyphicon,
  .btn:not(.icon-only).left > .glyphicons {
    margin-right: 6px;
  }

  .btn:not(.icon-only).right > .glyphicon,
  .btn:not(.icon-only).right > .glyphicons {
    margin-left: 6px;
  }

  .vcenter-box {
    display: grid;
    align-items: center;
  }

  .no-data-title {
    font-size: 1.6rem;
    font-style: italic;
    text-align: center;
    box-shadow: #777 1px 1px 3px;
  }

  .modal-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .modal-command {
    width: 120px;
  }

  .flex-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

  summary .flex-header {
    margin: 0px 30px;
  }

  .flex-header .header-left {
    text-align: left;
    margin-right: auto;
  }

  .flex-header .header-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    left: 0px;
    right: 0px;
  }

  .flex-header .header-right {
    text-align: right;
    margin-left: auto;
  }

  @media screen and (max-width:700px) {
    .flex-header .header-center,
    .flex-header .header-left,
    .flex-header .header-right {
      position: static;
      text-align: left;
    }
  }

  .ui-tooltip {
    background: #FFFFD0;
    border: 2px solid #8d9910;
    border-radius: 6px;
    font-size: var(--ts-fs-df);
  }

  .ui-tooltip.ui-widget-shadow {
    opacity: 1;
  }

  .alert-error,
  .alert-danger {
    color: #B84323;
    background-color: #fdf8f7;
    border-color: var(--ts-colors-problem);
  }

  .alert-success {
    color: #40752A;
    background-color: #e3fed7;
    border-color: var(--ts-colors-success);
  }

  .alert-info {
    color: #20729c;
    background-color: #F9FEFF;
    border-color: var(--ts-colors-info);
  }

  .alert-warning {
    color: #817120;
    background-color: #fffefa;
    border-color: var(--ts-colors-warning);
  }

  .alert {
    width: auto;
    font-size: var(--ts-fs-md);
    border-width: var(--ts-msgbox-border-width);
    border-radius: var(--ts-msgbox-border-radius);
    box-sizing: border-box;
  }

  .alert[tabindex="-1"],
  .alert[tabindex="-1"] ul,
  .alert[tabindex="-1"] li {
    outline: none !important;
  }

  .alert ul {
    padding-left: 20px;
    margin: 0px;
  }

  .alert:not(.bullets) ul {
    list-style-type: none;
  }

  .alert:not(.bullets) ul {
    padding-left: 0px;
  }

  .alert ul:has(li + li) {
    list-style-type: initial;
    padding-left: 15px;
  }

  .alert ul > li {
    margin-top: 3px;
    margin-bottom: 3px;
  }

  .alert ul > li + li {
    margin-top: 6px;
  }

  button.close {
    opacity: 1;
  }

  .hanging-indent {
    text-indent: -13px;
    padding-left: 13px;
  }

  label.hide-required > span {
    display:none;
  }

  label.required::after {
    content: "*";
    color: red;
    padding-left: 0.2em;
  }

  .footnote1::after,
  .footnote2::after,
  .footnote3::after,
  .footnote4::after,
  .footnote5::after {
    color: red;
    vertical-align: super;
    padding-left: 0.3em;
    font-size: 0.7rem;
    font-weight: bold;
  }

  .footnote1::after {
    content: "1";
  }

  .footnote2::after {
    content: "2";
  }

  .footnote3::after {
    content: "3";
  }

  .footnote4::after {
    content: "4";
  }

  .footnote5::after {
    content: "5";
  }

  .bold {
    font-weight: normal;
    font-family: var(--ts-ff-labels);
  }

  .bolder {
    font-weight: 900;
    font-family: var(--ts-ff-labels);
  }

  .navbar {
    color: var(--ts-nav-text);
    background-color: var(--ts-nav-bg);
    border: none;
    border-radius: 0px;
    min-height: 30px;

    .navbar-nav {
      margin: 0px -15px;
      /*box-shadow: 0px 0px 10px black;*/
    }

    .navbar-nav * {
      font-weight: normal;
    }

    .navbar-nav > li:not(.navbar-profile) {
      min-height: 30px;
      background-color: var(--ts-nav-bg);
      border: none;
      /*margin-left: 2px;
      margin-right: 2px;*/
    }

    .navbar-nav > .navbar-profile {
      color: var(--ts-nav-text);
      background-color: var(--ts-nav-profile-bg);
      font-family: var(--ts-ff-labels);
      border-radius: 20px;
      margin: 3px;
      padding: 0px;
      overflow: hidden;
      cursor: default;
    }

    .navbar-nav > .navbar-profile * {
      padding: 1px 15px 0px 15px;
      font-size: var(--ts-fs-md);
    }

    .navbar-nav > li.right_separator {
      border-right: none; /*2px solid white;*/
    }

    .navbar-nav > li a,
    .navbar-nav > li a {
      color: var(--ts-nav-text);
      background-color: var(--ts-nav-menuitem-bg);
      padding-top: 5px;
      padding-bottom: 5px;
    }

    .navbar-nav > li > a:hover,
    .navbar-nav > .dropdown.open a:hover,
    .navbar-nav a:hover {
      background: var(--ts-nav-hover);
      border-color: var(--ts-nav-hover);
      box-shadow: none;
      -webkit-box-shadow: none;
      text-decoration: none !important;
    }

    .navbar-nav > .dropdown.open dropdown-toggle,
    .navbar-nav > .dropdown.open a:active,
    .navbar-nav > .dropdown.open a:focus,
    .navbar-nav > .open > a,
    .navbar-nav > li > a:focus,
    .navbar-nav a:focus {
      background: var(--ts-nav-focus);
      border-color: var(--ts-nav-focus);
      box-shadow: none;
      -webkit-box-shadow: none;
      text-decoration: none !important;
    }

    .navbar-nav,
    .navbar-nav > .dropdown > a,
    .navbar-nav .dropdown-menu {
      font-size: var(--ts-fs-df);
    }

    .navbar-nav span.fa {
      font-size: var(--ts-fs-df);
    }

    .navbar-text {
      color: var(--ts-nav-text) !important;
      padding-bottom: 0px;
      margin-top: 0px;
      margin-bottom: 0px;
    }
  }

  @media screen and (min-width: 720px) {
    html.sticky-header nav.navbar {
      position: sticky;
      top: 90px;
      z-index: 50;
    }
  }

  @media screen and (max-width: 748px) {
    .navbar .navbar-nav:has(.navbar-profile) {
      background-color: var(--ts-nav-profile-bg);
    }
  }

  .navbar-nav {
    > .dropdown .caret {
      font-size: var(--ts-fs-df);
      color: var(--ts-nav-text);
      border-color: transparent;
      border-top-color: var(--ts-nav-text);
      border-bottom-color: var(--ts-nav-text);
    }

    > .dropdown > a {
      text-decoration: none;
    }

    .dropdown-menu {
      color: var(--ts-nav-text) !important;
      background-color: var(--ts-nav-bg);
      border: none;
      border-radius: 0;
      padding: 0px;
      margin-left: 30px;
      /*border-bottom-left-radius: var(--ts-panel-border-radius);*/
      /*border-bottom-right-radius: var(--ts-panel-border-radius);*/
      /*background-clip: border-box;*/

      > li > a {
        padding: 6px 12px !important;
        color: var(--ts-nav-text) !important;
      }

      > li:hover,
      > li:focus-within,
      > li > a:hover,
      > li > a:focus {
        color: var(--ts-nav-text);
        background-color: var(--ts-nav-focus);
      }

      .divider {
        margin: 0px;
      }
    }
  }

  .btn-row-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .btn-row-right > .btn + .btn {
    margin-left: 0px;
  }

  .btn,
  a.btn {
    color: var(--ts-btn-text);
    background-color: var(--ts-btn-bg);
    border: 1px solid var(--ts-btn-border-color);
    border-radius: var(--ts-btn-border-radius);
    font-size: var(--ts-fs-df);
    font-weight: normal;
    /*margin-bottom: 10px;*/
  }

  .btn:not(.glyphicon, .glyphicons) {
    font-family: var(--ts-ff-labels);
  }

  .btn.wrap-margin {
    margin-bottom: 10px;
  }

  .btn.wider {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn-w-sm {
    min-width: 80px;
  }

  .btn-w-md {
    min-width: 130px;
  }

  .btn-w-lg {
    min-width: 180px;
  }

  .btn-w-xl {
    min-width: 230px;
  }

  .btn + .btn {
    margin-left: 6px;
  }

  button.no-bg {
    border: none;
    background-color: transparent;
    padding: 0px;
  }

  .btn.btn-danger,
  .btn.btn-error,
  .btn.btn-trash,
  .btn.btn-delete {
    background-color: var(--ts-colors-delete);
    border-color: var(--ts-colors-delete);
  }

  .btn {
    box-sizing: border-box;
    min-height: 28px;
    padding: 2px 10px;
    line-height: 24px;
  }

  .btn.btn-addon {
    border-radius: 5px;
    padding: 2px 10px;
    height: 20px;
  }

  .btn.btn-tool {
    border-radius: 4px;
  }

  .btn.btn-100 {
    width: 100%;
  }

  .btn-container {
    height: 30px;
  }
  .btn-container .btn.left {
    float: left;
    margin-right: 10px;
  }
  .btn-container .btn.right {
    float: right;
    margin-left: 10px;
  }
  
  html.button-shadows {
      .btn:not(.text-btn, .btn-split, .btn-addon) {
          box-shadow: black 4px 4px 8px -4px;
      }
      .btn:not(.text-btn, .btn-split, .btn-addon):active {
          transform: translate(1px, 1px);
          box-shadow: black 4px 4px 8px -8px !important;
      }
  }

  .text-btn {
    color: var(--ts-btn-bg);
    background-color: transparent;
    border-width: 0;
    border-color: transparent;
    border-style: none;
    cursor: pointer;
  }

  .text-btn.btn-danger,
  .text-btn.btn-error,
  .text-btn.btn-trash,
  .text-btn.btn-delete {
    color: var(--ts-colors-delete);
  }

  .input-group input + .btn-split,
  .input-group input + span > .btn-split {
    margin-left: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    height: 20px;
  }

  .input-group input:has(+ .btn-split),
  .input-group input:has(+ span > .btn-split) {
    margin-right: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .input-group-btn {
    /*padding-left: 6px;*/
  }

  .checkbox-container {
    vertical-align: text-top;
    font-size: var(--ts-fs-df);
    padding: 10px;
    background: #f6f6f6;
    border: 1px solid #bbb;
    border-radius: 3px;
  }

  .form-group {
    line-height: normal;
  }

  .grid-panel {
    display: grid;
    align-items: center;
    border: var(--ts-panel-border-width) solid var(--ts-panel-border-color);
    border-radius: var(--ts-panel-border-radius);
    padding: 0px 15px;
  }

  label {
    font-weight: bold;
    font-family: var(--ts-ff-labels);
    font-size: var(--ts-fs-df);
  }
  
  label.md {
    font-size: var(--ts-fs-md);
  }
  label.lg {
    font-size: var(--ts-fs-lg);
  }

  label.form-label,
  label.control-label {
    font-size: var(--ts-fs-sm);
  }
  
  input[type="checkbox"] + label,
  label:has(input[type="checkbox"]) {
    font-size: var(--ts-fs-df);
  }
  
  label.form-label * {
    vertical-align: text-bottom;
  }

  .form-control {
    border: 1px solid var(--ts-panel-border-color);
    border-radius: var(--ts-panel-border-radius);
    /*box-shadow: none;*/
  }

  input.form-control {
    height: 28px;
    /*padding: 0px 10px;*/
  }

  input.form-control:hover,
  select.form-control:hover {
    border-width: var(--ts-hover-border-width);
    border-color: var(--ts-input-hover);
    border-radius: var(--ts-ctrl-border-radius);
  }

  input.form-control:focus,
  select.form-control:focus {
    border-width: var(--ts-focus-border-width);
    border-color: var(--ts-input-focus);
    border-radius: var(--ts-ctrl-border-radius);
  }

  input.form-control {
    font-size: var(--ts-fs-sm);
    color: var(--ts-body-text);
  }

  input.form-control:read-only {
    background-color: var(--ts-readonly-bg);
  }

  input[type=checkbox] {
    margin: 0px 3px;
    vertical-align: middle;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 4px;
    line-height: 26px;
    accent-color: var(--ts-colors-primary-base);
  }

  ul.undecorated {
    list-style-type: none;
    padding-left: 10px;
  }

  select {
    height: 27px;
  }

  .do-not-display {
     display: none;
  }

  .field-validation-error {
    display: block;
    margin: 4px 0px;
  }

  .page-title {
    padding: 15px;
    color: var(--ts-colors-primary-base);
    background-color: var(--ts-colors-body-base);
  }

  .top-banner {
    color: #ffffff;
    /*background: linear-gradient(240deg, #3d7796 30%, #284D6A 70%, #231f20);*/
    background-color: var(--ts-colors-primary-base);
  }

  .top-banner {
    position: relative;
    height: 90px;
    margin: 0px;
    padding: 0px;

    .fixed-main-content {
      display: flex;
      align-items: center;
      width: auto;
      margin: 0px 100px;
    }

    /*.fixed-left-content,
    .fixed-right-content {
      box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
    }*/
  }

  .fixed-left-content { left: 0; }
  .fixed-right-content { right: 0; }

  .fixed-left-content, .fixed-right-content {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0;
  }

  @media screen and (min-width: 720px) {
    html.sticky-header header:has(.top-banner) {
      position: sticky;
      top: 0px;
      z-index: 50;
    }
  }

  @media screen and (min-width: 720px) {
    .top-banner .fixed-main-content {
      box-sizing: border-box;
      height: 100%;

      > .centered {
        width: 100%;
      }

      .banner-sheriff-title,
      .banner-civil-title {
        font-family: 'Oswald', sans-serif;
        font-size: 1.6em;
        text-shadow: 2px 2px 4px #000000;
        color: #ffffff; 
      }

      .banner-sheriff-title {
        float: left;
        width: auto;
      }

      .banner-civil-title {
        float: right;
        width: auto;
      }
    }
  }

  @media screen and (max-width: 720px) {
    .top-banner .fixed-main-content {
      width: 100%;
      height: 100%;
      margin: 0px;
      position: absolute;
      z-index: 2;
      display: flex;
      align-items: center;
      box-sizing: border-box;

      > .centered {
        flex: 1 1 auto;
      }

      .banner-sheriff-title,
      .banner-civil-title {
        font-size: 4vw;
        text-align: center;
        white-space: nowrap;
      }
    }
  }

  @media print {
    body {
      font-size: 12px !important;
    }
    .panel .panel-heading,
    .receipt {
      font-size: 13px !Important;
    }
    .panel .panel-body {
      padding: 2px !important;
    }
    .fixed-main-content {
      margin: 10px 30px !important;
      padding: 0px;
      width: auto;
      position: relative;
    }
    .fixed-left-content,
    .fixed-right-content {
      display: none;
    }
    .fixed-main-content > div {
      width:100%;
    }
    .banner-sheriff-title { float:left; }
    .banner-civil-title { float:right; }
    .banner-sheriff-title,
    .banner-civil-title {
      font-family: var(--ts-ff-headings);
      font-size: 18px !important;
      font-weight: 900;
      width: auto;
    }
    .top-banner {
      height: auto;
      margin: 10px 0px 0px 0px;
      border-bottom: 1px solid #999;
    }
    .page-title {
      font-size: 20px;
      font-weight: 900;
      margin: 10px;
      padding: 0px;
    }
  }

  .footer {
    position: fixed;
    height: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 0;
    color: white;
    background-color: #000000;
    z-index: 99;
  }

  .btn .filetypes {
    min-width: auto;
  }

  .glyphicons.upside-down {
    margin-top:5px;
  }

  .spaced > * + * {
    margin-left: 10px;
  }

  *:has(> .sr-label) {
    position: relative;
  }

  *:has(> .sr-icon) {
    position: relative !important;
  }
  .sr-icon {
    clip-path: inset(0 calc(100% - 28px) calc(100% - 28px) 0);
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    font-size: 100pt;
  }

  .sr-label {
    color: black;
    opacity: 0;
    font-size: 200%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .form-label-top {
    font-family: var(--ts-ff-labels);
    font-size: var(--ts-fs-sm);
    display: block;
    padding: 0px;
    margin-bottom: 1px;
  }

  .well {
    color: var(--ts-panel-text);
    background: var(--ts-panel-bg);
    border-color: var(--ts-panel-border-color);
    border-radius: var(--ts-panel-border-radius);
  }

  .well a {
    display: block;
    margin: 5px 2px 0px 2px;
  }

  .validation-summary-valid {
    display: none;
  }

  .items-container:has(*) {
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 6px;
    border: solid 1px var(--ts-panel-border-color);
    border-radius: var(--ts-panel-border-radius);
    background: white;
  }

  details,
  .panel,
  .panel-panel,
  .panel-group .panel {
    position: relative;
    border: var(--ts-panel-border-width) solid var(--ts-panel-border-color);
    border-radius: var(--ts-panel-border-radius);
    background-color: var(--ts-panel-bg);
    /*overflow: hidden;*/
  }

  .panel-panel {
    padding: 10px 0px;
    /*background: var(--teleosoft-colors-gray);*/
    background: none;
    border: none;
  }

  .panel-panel + .panel-panel {
    margin-top: 15px;
  }

  .panel-panel-title {
    font-size: var(--ts-fs-xl);
    font-weight: bold;
    font-family: var(--ts-ff-labels);
    text-align: left;
    margin-bottom: 10px;
  }

  .panel {
    margin-bottom: 15px;
  }
  
  .order-status {
    display: inline-block;
    font-family: var(--ts-ff-labels);
    font-size: var(--ts-fs-df);
    font-weight: normal;
    color: var(--ts-colors-primary-base);
    background: transparent;
    vertical-align: baseline;
    white-space: nowrap;
    cursor: default;
  }

  .details:is(:last-child) {
    margin-bottom: 0px;
  }

  details > summary {
    outline-offset: -2px !important;
  }

  details > summary,
  .panel > header,
  .panel .panel-header,
  .panel .panel-heading {
    font-size: var(--ts-fs-md);
    font-family: var(--ts-ff-labels);
    position: relative;
    padding: 4px 15px;
    margin-bottom: 0px;
    text-align: center;
    color: white;
    background-color: var(--ts-panel-border-color);
    /*overflow: hidden;*/
    cursor: pointer;
  }

  @media print {  
    details > summary,
    .panel > header,
    .panel .panel-header,
    .panel .panel-heading {
      font-size: var(--ts-fs-df);
    }
  }

  details > summary::before,
  details.panel > summary::before {
    content: "\f0da";
    font-family: 'FontAwesome';
    font-size: 1.4em;
    position: absolute;
    z-index: 2;
    right: 6px;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .card > details > summary::before,
  .card > details.panel > summary::before {
    left: 20px;
    right: auto;
  }

  details[open] > summary::before,
  details[open].panel > summary::before {
    content: "\f0d7";
  }

  @media screen and (min-width: 700px) {
    details.has-bar summary {
      padding: 10px;
      min-height: 22px;
    }
  }

  .details-container:has(details) {
    position: relative;
  }

  .details-container.card:has(details) {
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.25);
  }

  .details-container.card details[open] {
    margin-bottom: 20px;
  }

  .details-container.card + .details-container.card details[open] {
    margin-top: 20px;
  }

  .details-container.card.accordian details[open] {
    margin-bottom: 0px;
  }

  .details-container.card details {
    margin-bottom: -1px;
    border: 1px solid #e8e8e8;
  }

  .details-container.card details summary,
  .details-container.card details summary .card-header {
    position: relative;
    background: white;
    color: black;
    font-size: var(--ts-fs-lg);
    text-align: left;
    padding: 4px 4px 4px 20px;
    cursor: pointer;
  }

  .details-container.card details summary .card-header {
    overflow: hidden;
  }

  .details-container.card details summary .card-tag,
  .details-container.card details summary .card-title,
  .details-container.card details summary .card-cost {
    display: inline-block;
    float: left;
    margin: 0px;
    color: black;
    font-size: var(--ts-fs-df);
  }

  .details-container.card details summary .card-tag {
    margin-right: 6px;
    padding: 2px 10px 1px 10px;
    margin-top: 2px;
    margin-bottom: 2px;
    background: var(--ts-colors-highlight);
    border: 2px solid transparent;
    border-radius: 4px;
    text-align: center;
    min-width: 180px;
    /*max-width: 180px;*/
  }

  .details-container.card details summary .card-cost {
    color: var(--ts-table-total-bg);
    background-color: var(--ts-table-total-text);
    /*border: 2px solid var(--ts-table-total-bg);*/
    /*border-radius: 20px;*/
    border: none;
    font-family: var(--ts-ff-labels);
    font-weight: bold;
    font-size: var(--ts-fs-lg);
    text-align: right;
    padding: 3px 6px 1px 6px;
    display: inline-block;
    width: 100px;
    max-width: 100px;
  }

  .details-container.card details summary .order-status .pill {
    display: inline-block;
    border-radius: 30px;
    color: var(--ts-colors-primary-line);
    background-color: var(--ts-colors-primary-base);
    padding: 1px 20px;
    text-align: center;
    font-size: var(--ts-fs-df);
    cursor: pointer;
  }

  .details-container.card details summary .card-title {
    min-width: 350px;
    font-size: var(--ts-fs-md);
    margin: 5px 1px;
  }

  .details-container.card details summary .card-buttons {
    /*float: right;*/
    text-align: right;
    margin: 1px;
  }

  .details-container.card details .card-btn,
  .details-container.card details summary .card-buttons .card-btn {
    border-radius: 4px;
  }

  .details-container.card details .card-toolbar {
    padding: 10px;
    border-top: 1px solid var(--ts-table-header-bg);
    overflow: hidden;
  }

  .details-container.card details .details-footer {
    padding: 1px 6px;
    border-top: 1px solid var(--ts-table-header-bg);
    overflow: hidden;
    font-size: var(--ts-fs-sm);
  }

  /*
  .details-container details {
    border-radius: 0px;
    border: none;
  }
  */

  .details-bar:has(> *) {
    background: var(--ts-panel-bg);
    border-radius: 30px;
    padding: 3px;
  }

  .details-container details + .details-bar {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
  }

  .autoscroll {
    overflow: auto;
  }

  .autoscrollx {
    overflow-x: auto;
  }

  .autoscrolly {
    overflow-y: auto;
  }

  @media screen and (max-width:700px) {
    .autoscroll {
      overflow: scroll;
    }

    .autoscrollx {
      overflow-x: scroll;
    }

    .autoscrolly {
      overflow-y: scroll;
    }
  }

  @media screen and (max-width: 700px) {
    .details-container .details-bar {
      position: static;
      float: right;
      margin-top: 6px;
      margin-bottom: 12px;
    }
  }

  .xdetails-container .details-bar .btn + .btn {
    margin-left: 10px;
  }

  .xdetails-container .details-bar .btn {
    color: var(--ts-btn-bg);
    background-color: var(--ts-btn-text);
    font-weight: bold;
    border-width: 2px;
    border-radius: 5px;
  }

  details .details-content {
    padding: 10px;
  }

  .panel .panel-body {
    margin: 5px !important;
    padding: 8px !important;
  }

  .section-title {
    font-size: var(--ts-fs-lg);
    font-weight: bold;
  }

  dl.props {
    display: grid;
    grid-template-columns: max-content auto;
    grid-gap: 1px 0px;
    border-left: 5px solid var(--ts-ctrl-border-color);

    dt,
    dd {
      font-weight: normal;
      padding: 8px 20px 0px 20px;
    }

    dt {
      grid-column-start: 1;
      font-family: var(--ts-ff-labels);
      text-align: right;
    }

    dd {
      grid-column-start: 2;
      text-align: left;
    }
  }

  dl.sales {
    display: grid;
    grid-template-columns: max-content auto;
    grid-gap: 1px 0px;

    dt,
    dd {
      font-weight: normal;
      padding: 3px 6px 0px 6px;
    }

    dt {
      grid-column-start: 1;
    }

    dd {
      grid-column-start: 2;
      text-align: right;
    }

    .total {
      font-weight: bold;
    }

    .divider {
      border-top: 1px solid #888;
    }
  }

  table.name-value td {
    padding: 2px;
  }

  table.name-value tr td:last-child {
    text-align: right;
  }

  table.name-value tfoot tr:first-of-type th,
  table.name-value tfoot tr:first-of-type td {
    border-top: 1px solid;
  }

  ul.item-list,
  .table ul {
    margin-top: 2px;
    margin-bottom: 0px;
    padding-left: 0px;
  }

  ul.item-list.columns,
  .table ul.columns {
    /*display: grid;*/
    column-width: 200px;
    column-fill: balance;
    column-rule: 1px solid var(--ts-table-cell-border);
  }

  ul.item-list > li,
  .table ul > li {
    list-style-type: none;
    padding: 0px;
    line-height: 1.4;
  }

  .item-panel:not(.hide-empty),
  .item-panel.hide-empty:has(li, .item) {
    margin: 0px;
    padding: 0px;
    border: solid 1px var(--ts-panel-border-color);
    border-radius: var(--ts-panel-border-radius);
    background: white;
  }

  .item-panel .item-list {
    margin: 0px;
    padding: 4px 0px;
  }

  .item-panel .item-list > .item {
    padding: 4px 10px;
    overflow: hidden;
    position: relative;
  }

  .item-panel .item-list > .item:hover {
    background-color: var(--ts-colors-highlight-bg);
  }

  .row-hover .row-item {
    background-color: var(--ts-colors-highlight-bg);
  }

  @media screen and (max-width:800px) {
    ul.item-list.columns,
    .table ul.columns {
      /*columns: unset;*/
    }
  }

  a[target="_blank"]:not(.no-ext)::after,
  a[target="_new"]:not(.no-ext)::after,
  .external-link::after {
    content: "\f08e";
    font-family: 'FontAwesome';
    font-size: 9px;
    vertical-align: text-top;
    margin-left: 0.4em;
    line-height: 1;
  }

  table tr,
  table tr td,
  table tr th {
    background: white;
  }

  table.table td a {
    text-decoration: underline;
    font-size: var(--ts-fs-df);
  }

  table.table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--ts-table-border-color);
    border-radius: var(--ts-table-border-radius);
    font-size: var(--ts-fs-df);
    margin-bottom: 0px;
  }

  table.table,
  .table-container {
    box-sizing: border-box;
    overflow: hidden;
  }

  .table-container:has(table.table) {
    border: 1px solid var(--ts-table-border-color);
    border-radius: var(--ts-table-border-radius);
    position: relative;
    overflow-x: auto;
  }

  @media screen and (min-width: 600px) {
    .table-container:has(table.table) {
      overflow-x: auto;
    }
  }

  .table-container > table.table,
  .table-container.borderless {
    border: none !important;
    border-radius: 0px !important;
  }

  table.table.fixed {
    table-layout: fixed;
  }

  table.table.td-nowrap tbody tr td,
  table.table.td-nowrap tbody tr td div {
    white-space: nowrap;
  }

  table.table th,
  table.table thead th,
  table.table thead td,
  table.table tfoot th,
  table.table tfoot td {
    font-weight: normal;
    font-family: var(--ts-ff-labels);
    line-height: 20px;
    padding: 4px 6px !important;
    color: var(--ts-table-header-text);
    background: var(--ts-table-header-bg);
    cursor: default;
    border: none;
    min-width: 40px;
  }

  table.table thead th {
    border: none;
  }

  table.table.td-va-m td {
    vertical-align: middle;
  }

  table.table tr.group-header td {
    background-color: var(--ts-table-bg-stripe);
  }

  table.table.no-bg,
  table.table.no-bg tr,
  table.table.no-bg th,
  table.table.no-bg thead th,
  table.table.no-bg thead td,
  table.table.no-bg tfoot th,
  table.table.no-bg tfoot td {
    background-color: transparent;
  }

  table.table tr:has(.no-data) td {
    padding: 6px 0px;
    color: var(--ts-colors-problem);
    background: white;
  }

  table.table tr .no-data {
    font-size: var(--ts-fs-md);
    font-weight: bold;
    padding: 0px;
    text-align: center;
  }

  /*
  table.table thead th:hover {
    box-shadow: inset 0px 4px 0px 0px var(--ts-colors-highlight);
  }
  table.table tfoot th:hover {
    box-shadow: inset 0px -4px 0px 0px var(--ts-colors-highlight);
  }
  */

  table.table-highlight tbody tr:hover td {
    color: var(--ts-table-highlight-text);
    background-color: var(--ts-table-highlight-bg) !important;
  }

  table.table-highlight tbody tr:hover td {
    color: var(--ts-table-highlight-text);
    background-color: var(--ts-table-highlight-bg) !important;
  }

  .table tr:nth-child(odd) {
    background: white;
  }

  table.table th:not(:last-child),
  table.table thead th:not(:last-child),
  table.table thead td:not(:last-child),
  table.table tfoot th:not(:last-child),
  table.table tfoot td:not(:last-child) {
    border-right: 1px solid var(--ts-table-cell-border);
  }

  table.table thead th,
  table.table thead td {
    border-bottom: 1px solid white;
  }

  .table tr,
  .table tr th,
  .table tr td,
  table.table td,
  table.table th,
  table.table > thead > tr > td,
  table.table > thead > tr > th,
  table.table > tbody > tr > td,
  table.table > tbody > tr > th,
  table.table > tfoot > tr > td,
  table.table > tfoot > tr > th,
  .table-condensed > thead > tr > th,
  .table-condensed > thead > tr > td,
  .table-condensed > tbody > tr > th,
  .table-condensed > tbody > tr > td,
  .table-condensed > tfoot > tr > th,
  .table-condensed > tfoot > tr > td {
    padding: 2px 6px 0px 6px;
    box-sizing: border-box;
    /*height: 26px;*/
    line-height: 1.4;
    vertical-align: bottom;
  }

  table.table > tbody > tr > td,
  table.table > tbody > tr > th,
  .table-condensed > tbody > tr > td,
  .table-condensed > tbody > tr > th {
    border-top: none;
    border-left: none;
    border-right: 1px solid var(--ts-table-cell-border);
    border-bottom: 1px solid var(--ts-table-cell-border);
  }

  table.table > tbody > tr > td:last-child,
  table.table > tbody > tr > th:last-child {
    border-right: none;
  }

  table.table > tbody > tr:last-child td,
  table.table > tbody > tr:last-child th {
    border-bottom: none;
  }

  .table.table-striped > tbody > tr,
  .table.table-striped > tbody > tr > td {
    background-color: var(--ts-table-bg);
  }

  .table.table-striped > tbody > tr:nth-of-type(2n),
  .table.table-striped > tbody > tr:nth-of-type(2n) > td {
    background-color: var(--ts-table-bg-stripe);
  }

  .table > thead:first-child > tr:first-child > th {
    border-top: inherit;
  }

  table.table tr.row-divider td, tr.row-divider th {
    border-top: 3px solid var(--ts-table-border-color);
  }

  table.table td.col-divider {
    border-left: 3px solid var(--ts-table-table-border);
  }

  table.table thead th.col-divider,
  table.table tfoot th.col-divider {
    border-left: 2px solid var(--ts-table-header-text);
  }

  table.table tr.totals td {
    background-color: var(--ts-table-bg);
    color: var(--ts-table-text);
  }

  table.table tbody tr td.total,
  table.table tbody tr.totals td.total,
  table.table tbody tr:hover td.total,
  table.table tbody tr.totals:hover td.total {
    color: var(--ts-table-total-text);
    background-color: var(--ts-table-total-bg) !important;
  }

  .form-control.datepicker {
    height: 28px;
  }

  .form-group {
    margin-bottom: 0px;
  }

  .form-group + .form-group {
    margin-top: 10px;
  }
}

@layer events {

  .btn:hover {
    color: var(--ts-btn-text);
    background: var(--ts-btn-hover);
    border-color: var(--ts-btn-hover);
    text-decoration: none;
    outline: none;
  }

  .btn:focus {
    color: var(--ts-btn-text);
    background: var(--ts-btn-focus);
    border-color: var(--ts-btn-focus);
    text-decoration: none;
    outline: none;
  }

  .btn.btn-danger:focus,
  .btn.btn-error:focus,
  .btn.btn-trash:focus,
  .btn.btn-delete:focus,
  .btn.btn-danger:hover,
  .btn.btn-error:hover,
  .btn.btn-trash:hover,
  .btn.btn-delete:hover {
    background-color: var(--teleosoft-colors-red-dark);
    border-color: var(--teleosoft-colors-red-dark);
  }

  .text-btn:hover {
    color: var(--ts-btn-hover);
    box-shadow: none;
    -webkit-box-shadow: none;
    text-decoration: none;
  }

  .text-btn:focus {
    color: var(--ts-btn-focus);
    box-shadow: none;
    -webkit-box-shadow: none;
    text-decoration: none;
  }

  .text-btn.btn-danger:hover,
  .text-btn.btn-danger:focus,
  .text-btn.btn-error:hover,
  .text-btn.btn-error:focus,
  .text-btn.btn-trash:hover,
  .text-btn.btn-trash:focus,
  .text-btn.btn-delete:hover,
  .text-btn.btn-delete:focus {
    color: var(--teleosoft-colors-red-dark);
  }


  @media print {
    .no-print {
      display: none;
      visibility: hidden;
    }
  }

  hr + hr { display:none; }

  .toc-section {}
  .toc-section h2,
  .toc-section h3,
  .toc-section h4,
  .toc-section h5 {
    font-size: var(--ts-fs-md);
    text-align: left;
    font-weight: bold;
  }

  a[href]:focus-visible {
    outline-offset: 5px !important;
  }
  table.table a:focus-visible {
    outline-offset: 3px !important;
  }
  input {
    outline-offset: 2px !important;
  }
  .navbar-nav a:focus-visible {
    outline-offset: -3px !important;
  }
  .btn:focus-visible,
  a.btn:focus-visible,
  button:focus-visible {
    outline-offset: -4px !important;
  }
  .text-btn:focus-visible,
  .btn.icon-only:focus-visible {
    outline-offset: 2px !important;
  }
  .modal-content {
    outline-offset: -5px !important;
  }

  @media screen and (min-width: 768px) {
    .modal .modal-dialog {
      width: 80%;
      max-width: 800px;
    }
  }

}

@layer selectize_overrides {
  /* selectize overrides */

  .selectize-control,
  .selectize-control:hover,
  .selectize-control:focus,
  .selectize-control:focus-within {
    border: none;
    padding: 0px;
  }

  .selectize-control.single .selectize-input:after {
    right: 8px;
  }

  .selectize-control,
  .selectize-input {
    height: 27px;
    min-height: 27px;
    padding: 0px;
    box-sizing: border-box;
  }

  .selectize-input input {
    color: var(--ts-input-text);
    border: none;
    padding-left: 10px !important;
    width: auto !important;
  }

  .selectize-input .item-wrap-inner {
    padding: 0px;
  }

  .selectize-control .selectize-input {
    color: var(--ts-input-text);
    background: var(--ts-input-bg);
    border: 1px solid var(--ts-input-border-color);
    border-radius: var(--ts-ctrl-border-radius);
    overflow: hidden;
  }

  .selectize-control .selectize-input.items > .item,
  .selectize-control .selectize-input.items > input {
    padding: 3px 10px;
  }

  .selectize-dropdown, .selectize-input, .selectize-input input {
    font-family: var(--ts-ff-body);
    font-size: var(--ts-fs-sm);
  }

  .selectize-input.input-active input {
    color: var(--ts-input-text);
  }

  .selectize-input:hover {
    background: var(--ts-input-bg);
    border: var(--ts-hover-border-width) solid var(--ts-input-hover);
    box-shadow: none;
    -webkit-box-shadow: none;
  }

  .selectize-dropdown,
  .selectize-dropdown.form-control {
    color: var(--ts-list-text);
    background: var(--ts-list-bg);
    border: 1px solid var(--ts-list-border);
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: var(--ts-panel-border-radius) !important;
    border-bottom-right-radius: var(--ts-panel-border-radius) !important;
    overflow: hidden;
    margin: 0px;
  }

  .selectize-dropdown-content {
    padding: 0px;
  }

  .selectize-dropdown .selectize-dropdown-content .active {
    color: var(--ts-list-text);
    background-color: var(--ts-list-hover-bg);
  }

  .selectize-dropdown .selectize-dropdown-content .selected {
    color: var(--ts-list-selection-text);
    background-color: var(--ts-list-selection-bg);
  }

  .selectize-dropdown [data-selectable],
  .selectize-dropdown .optgroup-header {
    padding: 1px 8px 0px 8px;
  }

  .selectize-input {
    box-shadow: none;
    -webkit-box-shadow: none;
  }

  .selectize-input:focus-within {
    background: var(--ts-input-bg);
    box-shadow: inset var(--ts-focus-border-width-edge) 0px 0px 0px var(--ts-input-focus) !important;
    -webkit-box-shadow: inset var(--ts-focus-border-width-edge) 0px 0px 0px var(--ts-input-focus) !important;
    border: var(--ts-focus-border-width) solid var(--ts-input-focus);
  }

  .selectize-control .selectize-input:focus-within:has(+ .selectize-dropdown) {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .selectize-control:has(input:focus-visible) {
    outline: var(--ts-outline);
    outline-offset: var(--ts-outline-offset);
  }
}


@layer kendoui_overrides {
  /* kendo ui overrides */

  input[type=text].kendo-form-control {
    height: 24px;
  }

  input[type=text].kendo-form-control:hover {
    height: 22px;
  }

  .k-widget {
    border-color: var(--ts-input-border-color);
    border-width: 1px;
    border-style: solid;
    border-radius: var(--ts-ctrl-border-radius);
  }

  .k-widget:has(.k-input) {
    display: inline-block;
    height: 27px;
    padding: 0px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: var(--ts-input-bg) !important;
  }

  .k-input {
    border: none;
    color: var(--ts-input-text);
    background-color: transparent;
    padding: 4px 0px 0px 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: var(--ts-ctrl-border-radius);
  }

  .k-widget.k-state-hover .k-input {
    margin-top: -1px;
    margin-left: -1px;
  }

  .k-widget.k-state-hover,
  .k-widget:has(.k-state-hover) {
    border-style: solid;
    border-color: var(--ts-input-hover);
    border-width: var(--ts-hover-border-width);
  }

  .k-widget.k-state-focused,
  .k-widget:has(.k-state-focused) {
    border-style: solid;
    border-color: var(--ts-input-focus);
    border-width: var(--ts-focus-border-width);
    box-shadow: inset var(--ts-focus-border-width-edge) 0px 0px 0px var(--ts-input-focus);
  }

  .k-dropdown {
    position: relative;
    overflow: hidden;
    padding: 0px;
    box-sizing: border-box;
    background: var(--ts-input-bg);
    border-style: solid;
    border-width: var(--ts-ctrl-border-width);
    border-color: var(--ts-input-border-color);
    border-radius: var(--ts-ctrl-border-radius);
    box-shadow: none;
  }

  .k-dropdown:hover {
    border-style: solid;
    border-color: var(--ts-input-hover);
    border-width: var(--ts-hover-border-width);
  }

  .k-dropdown:focus,
  .k-dropdown:focus-within {
    border-style: solid;
    border-color: var(--ts-input-focus);
    border-width: var(--ts-focus-border-width);
    box-shadow: var(--ts-input-focus-boxshadow);
  }

  .k-dropdown .k-dropdown-wrap,
  .k-numerictextbox .k-numeric-wrap {
    background-color: transparent;
    position: relative;
    box-shadow: none !important;
    margin-top: -2px;
  }

  .k-dropdown,
  .k-dropdown .k-dropdown-wrap,
  .k-dropdown .k-dropdown-wrap .k-input,
  .k-dropdown .k-dropdown-wrap .k-select {
    color: var(--ts-input-text);
    font-size: var(--ts-fs-sm);
    height: 28px !important;
    line-height: 28px !important;
    padding: 0px;
  }

  .k-dropdown .k-input:focus {
    box-shadow: none;
  }

  .k-dropdown .k-dropdown-wrap .k-input,
  .k-dropdown .k-dropdown-wrap .k-select {
    position: absolute;
  }

  .k-dropdown .k-input,
  .k-dropdown .k-input::before {
    text-indent: 0.8rem;
  }

  .k-list-container {
    font-size: var(--ts-fs-sm);
    color: var(--ts-list-text);
    background-color: var(--ts-list-bg);
    border-color: var(--ts-list-border);
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    padding: 0px;
    overflow: hidden;
  }

  .k-icon::before {
    font-size: initial;
  }

  .k-list li.k-item {
    color: var(--ts-list-text);
    background-color: var(--ts-list-bg);
    border: none;
    border-radius: 0px;
    box-shadow: none;
  }

  .k-list li.k-item * {
    color: var(--ts-list-text);
  }

  .k-dropdown.k-state-border-down {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .k-list .k-item.k-state-focused,
  .k-list .k-item.k-state-hover {
    color: var(--ts-list-hover-text);
    background-color: var(--ts-list-hover-bg);
    box-shadow: none;
  }

  .k-list .k-item.k-state-selected {
    color: var(--ts-list-selection-text);
    background-color: var(--ts-list-selection-bg);
    box-shadow: none;
  }

  .k-numerictextbox .k-input::before {
    content: ' ';
    display: block;
    position: absolute;
    top: 50%;
    right: 17px;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #333333 transparent transparent transparent;
  }

  .k-numerictextbox .k-input::after {
    content: ' ';
    display: block;
    position: absolute;
    top: 50%;
    right: 17px;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #333333 transparent transparent transparent;
  }

  .k-widget:focus {
    outline: initial;
    outline-offset: initial;
  }

  .k-widget:has(.k-input:focus-visible) {
    outline: var(--ts-outline);
    outline-offset: var(--ts-outline-offset);
  }

  .k-autocomplete .k-input,
  .k-dropdown-wrap .k-input,
  .k-multiselect-wrap .k-input,
  .k-numeric-wrap .k-input,
  .k-picker-wrap .k-input,
  .k-selectbox .k-input,
  .k-textbox > input {
    text-indent: 12px;
  }
}

/* legacy formatting extras and overrides */

.container.gy-5 + .container,
.gy-5 .row:has(+ .row:not(.hidden)),
.gy-5 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { margin-bottom: 30px; }
.container.gy-4 + .container,
.gy-4 .row:has(+ .row:not(.hidden)),
.gy-4 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { margin-bottom: 20px; }
.container.gy-3 + .container,
.gy-3 .row:has(+ .row:not(.hidden)),
.gy-3 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { margin-bottom: 15px; }
.container.gy-2 + .container,
.gy-2 .row:has(+ .row:not(.hidden)),
.gy-2 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { margin-bottom: 10px; }
.container.gy-1 + .container,
.gy-1 .row:has(+ .row:not(.hidden)),
.gy-1 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { margin-bottom: 5px; }
.container.gy-0 + .container,
.gy-0 .row:has(+ .row:not(.hidden)),
.gy-0 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { margin-bottom: 0px; }

.py-5 .row:has(+ .row:not(.hidden)),
.py-5 [class^="col-"]:has(+ [class^="col-"]:not(.hidden)) { padding-bottom: 30px ; }
.py-4 .row:has(+ .row:not(.hidden)),
.py-4 [class^="col-"]:has(+ [class^="col-"]:not(.hidden))  { padding-bottom: 20px; }
.py-3 .row:has(+ .row:not(.hidden)),
.py-3 [class^="col-"]:has(+ [class^="col-"]:not(.hidden))  { padding-bottom: 15px; }
.py-2 .row:has(+ .row:not(.hidden)),
.py-2 [class^="col-"]:has(+ [class^="col-"]:not(.hidden))  { padding-bottom: 10px; }
.py-1 .row:has(+ .row:not(.hidden)),
.py-1 [class^="col-"]:has(+ [class^="col-"]:not(.hidden))  { padding-bottom: 5px; }
.py-0 .row:has(+ .row:not(.hidden)),
.py-0 [class^="col-"]:has(+ [class^="col-"]:not(.hidden))  { padding-bottom: 0px; }

.row.rowflex {
    display: flex;
    flex-wrap: wrap;
}

.row.rowflex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.mb-0 { margin-bottom: 0px; }
.mb-1 { margin-bottom: 5px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 30px; }
.m-0 { margin: 0px; }
.p-0 { padding: 0px; }
