/* Define CSS variables */
:root {
  --TS_darkblue: rgb(0, 44, 66);
  --TS_red: rgb(233, 69, 65);
  --TS_darkred: rgb(172, 34, 31);
  --TS_blue: rgb(0, 67, 135);
  --TS_blue_hover: rgba(0, 67, 135, 0.93);
  --TS_lightblue: rgb(83, 186, 235);
  --TS_lightblue_transparant: rgba(83, 187, 235, 0.08);
  --TS_text: rgb(51, 51, 51);
  --TS_black: rgb(0, 0, 0);
  --TS_grey: rgb(199,199,199);
  --TS_lightgrey: rgb(245, 245, 245);
  --TS_verylightgrey: rgb(238, 238, 238);
  --TS_veryverylightgrey: rgb(248, 248, 248);
  --TS_darkgrey: rgb(40, 40, 40);
  --TS_markerGrey: rgb(110,110,110);
  --TS_accentOnDarkGrey: rgb(140, 140, 140);
  --TS_green: rgb(12, 191, 140);
  --IGN_green: rgb(12, 191, 140); /* const IGN_green = "rgb(12,191,140)"; */
  --MJvanRiel_yellow: #fdb73b;
  --TS_deco_triangle_size: calc(10rem + 10vw);
  --TS_scroll_icon: rgb(220, 220, 220);
  --TS_client_logo_min_height: 70px;
  --TS_client_logo_max_width: 184px;
  --TS_font_headers: 'DM Sans', sans-serif;
  --TS_font_text: system-ui, 'Roboto', sans-serif;
  /* Can also be handled by Bootstrap, which defines this on body element by default */
  --navbar_total_height: 50px;
  --navbar_total_height_secondary: 40px;
  --glowstick_height: 3px;
  --navbar_profile_picture_margin: 8px;
  --margin_top_all_pages: 30px;
  --sail-radius: 4px;
  --sail-shadow-large: 0 15px 35px 0 rgba(60, 66, 87, 0.08), 0 5px 15px 0 rgba(0, 0, 0, 0.12);
  /* multiple, comma seperated, shadows are allowed*/
  --shadow-flash-message: 0 15px 35px 0 rgba(60, 66, 87, 0.08), 0 0 15px 0 rgba(0, 0, 0, 0.12);
  --login-labels-max-width: 360px;
  --ts-z-index-bg: 0;
  --ts-z-index-ts-deco-arrow: 1;
  --ts-z-index-form-element: 2;
  --ts-z-index-navbar: 3000;
  --ts-z-index-flash-messages: 3001;
  --ts-progress-bar-duration: 6000ms;
  --ts-flash-message-appearance-duration: 250ms;
  --ts-flash-message-position-top: 3vh;
  --ts-color-success: var(--TS_green);
  --ts-color-info: var(--TS_blue);
  --ts-color-activating: rgb(255, 117, 20);
  --ts-color-warning: rgb(248, 214, 62);
  --ts-color-error: var(--TS_red);
  --user-info-menu-border-color: #b7b7b7;
  --TS_table_border_color: rgb(222 226 230);
  --TS_table_caption_color: #6c757d;
  --ts-border-radius: 0.25rem;
  --ts-liveMap-markerSize-px: 13px;
  --ts_liveMap_transitionPeriod: 1500ms;
  --new_table_data_animation_duration: 300ms;
}

::-moz-selection {
  color: white;
  background: var(--TS_blue);
}

::selection {
  color: white;
  background: var(--TS_blue);
}

body {
  background: white;
  color: #333333;
  /*font-family: var(--TS_font_text); - No need to set this, as this is already done by Bootstrap on body element */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--TS_text);
  font-family: var(--TS_font_headers) !important;
  font-weight: 500;
}

.ts-dashboard-login h4,
.ts-dashboard-register h4 {
  font-weight: 700;
}

.hero_ts h1 span {
  color: var(--TS_black);
  font-family: var(--TS_font_headers) !important;
  font-weight: 700;
  font-size: calc(3.0rem + 1.5vw);

  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

@media (min-width: 1200px) {
  .hero_ts h1 span {
    font-size: 5.0rem;
  }
}

@media (max-width: 768px) {
  .hero_ts h1 span {
    font-size: calc(2.5rem + 1.0vw);
  }
}

.hero-magic-word {
  text-shadow:
    -2px -2px white,
    -2px 2px white,
    2px -2px white,
    2px 2px white;
  background-size: 1px 1em;
  box-shadow:
    inset 0 -0.120em white,
    inset 0 -0.2em var(--TS_lightblue);
  display: inline-block;
  white-space: nowrap;
}

.hero-magic-word-container {
  position: relative;
  width: auto;
  box-sizing: content-box;
  overflow: hidden;

  transition: width 750ms ease-in-out;
}

.hero_ts h2 {
  color: var(--TS_text);
  font-family: var(--TS_font_headers) !important;
  font-weight: 400;
  font-size: calc(1.0rem + 0.25vw);
}

@media (min-width: 1200px) {
  .hero_ts h2 {
    font-size: 1.25rem;
  }
}

span,
p,
li,
button {
  color: var(--TS_text);
  font-family: var(--TS_font_text) !important;
  font-weight: 400;
}

.nav-item {
  font-weight: 500;
}

ul {
  margin: 0;
}

nav {
  transition: top 300ms ease-in-out;
  z-index: var(--ts-z-index-navbar);
  height: var(--navbar_total_height);
}

.navbar {
  flex-wrap: nowrap;
}

.ts-bg-dark {
  background-color: var(--TS_darkblue) !important;
}

.ts-bg-deepdark {
  background-color: var(--TS_black) !important;
}

.ts-bg-blue {
  background-color: var(--TS_blue) !important;
}

.ts-staff-dropdown{
  background-color:var(--TS_blue) !important;
  font-weight:500 !important;
}

.navbar-dark .navbar-toggler span {
  color: rgba(255, 255, 255, .55);
}

.nav-layout-while-scrolling {
  background-color: white;
}

.navbar-toggler span {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.navbar-light .navbar-toggler {
  border: none !important;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--TS_darkblue) !important;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--TS_lightblue) !important;
}

.glowstick::after {
  /*background: linear-gradient(to left, var(--TS_blue), var(--TS_lightblue));*/
  /*background: var(--TS_lightblue);*/
  background: linear-gradient(to left, rgb(0, 102, 204), var(--TS_lightblue));
  content: '';
  width: 100%;
  top: var(--navbar_total_height);
  position: absolute;
  height: var(--glowstick_height);
  left: 0;
}

.user-ts {
  color: var(--TS_blue);
  height: 30px;
  width: auto;
}






.navbar-nav .nav-link.active {
  color: var(--TS_lightblue) !important;
  text-decoration: none;
}



/* Menu button */
.btn-outline-ts {
  color: white !important;
  background-color: var(--TS_lightblue);
  font-weight: 500;
}

.btn-outline-ts:hover {
  color: white !important;
  background-color: var(--TS_blue);
}

.btn-outline-ts-red {
  color: white;
  background-color: var(--TS_red);
  font-weight: 500;
}

.btn-outline-ts-red:hover {
  color: white;
  background-color: var(--TS_darkred);
}

.btn-outline-ts-2 {
  color: var(--TS_darkblue);
  background-color: var(--TS_veryverylightgrey);
  border: 1px solid var(--TS_verylightgrey) !important;
  font-weight: 500;
}

.btn-outline-ts-2:hover {
  background-color: rgb(252, 252, 252);
}

.btn-outline-ts-grey {
  color: white !important;
  background-color: var(--TS_accentOnDarkGrey);
  font-weight: 500;
}

.btn-outline-ts-grey:hover {
  color: white !important;
  background-color: var(--TS_markerGrey);
}

.btn-outline-ts-no-href {
  color: white !important;
  background-color: var(--TS_lightblue);
  font-weight: 500;
  cursor: default !important;
}


.btn {
  padding: 7px 30px;
  border: none;
  /*border-radius: 50px; - We take the Bootstrap default radius, which is in the .btn class */
}

.login-btn-ts {
  padding-right: 30px;
  transition: padding 200ms ease-in-out;
}

.login-btn-ts:hover {
  padding-right: 27px;
}

.login-btn-ts::after {
  display: inline-block;
  margin-left: 9px;
  vertical-align: 0.055em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  transition: margin 200ms ease-in-out;
}

.login-btn-ts:hover:after {
  margin-left: 12px;
}

.arrow-ts {
  transition: margin 200ms ease-in-out;
  margin-left: 8px;
}
.arrow-ts-left {
  transition: margin 200ms ease-in-out;
  margin-right: 8px;
}

.login-btn-ts-2.auto-width{
  width:auto;
}

.login-btn-ts-2 {
  padding-right: 23px;
  transition: padding 200ms ease-in-out, background-color 200ms ease-in-out;
  width: 100%;
}
.login-btn-ts-2-left {
  padding-left: 23px;
  transition: padding 200ms ease-in-out, background-color 200ms ease-in-out;
  width: 100%;
}

.login-btn-ts-2:hover {
  padding-right: 19px;
}
.login-btn-ts-2-left:hover {
  padding-left: 19px;
}

.login-btn-ts-2:hover .arrow-ts {
  margin-left: 12px;
}
.login-btn-ts-2-left:hover .arrow-ts-left {
  margin-right: 12px;
}

.btn-ts-3 {
  transition: background-color 200ms ease-in-out;
  width: 100%;
}

.table-btn-ts-2 {
  transition: background-color 200ms ease-in-out;
  width: 100%;
  padding: 2px !important;
  font-size: 0.75rem !important;
}

.table-btn-ts-3 {
  transition: none;
  width: 100%;
  padding: 2px !important;
  font-size: 0.75rem !important;
}

.table-btn-ts-4 {
  width: auto;
  padding: 2px 10px !important;
  font-size: 0.75rem !important;
  margin-left: 5px;
}



.offcanvas-start {
  width: 100% !important;
  border-right: none !important;
}

.pe-ts {
  padding-right: 2.8rem !important;
}

.offcanvas {
  background-color: var(--TS_darkgrey);
  color: white;
}

.offcanvas-header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--TS_accentOnDarkGrey);
}

.offcanvas-header .navbar-toggler span {
  color: white;
}

.offcanvas-body .nav-item .nav-link {
  color: white !important;
}

.offcanvas-body .nav-item .nav-link.active {
  color: var(--TS_lightblue) !important;
  text-decoration: underline;
}

.divider-on-dark-bg {
  height: 0;
  border-bottom: 1px solid var(--TS_accentOnDarkGrey);
}

.offcanvas-body {
  flex-grow: unset !important;
}

.hero_ts {
  height: 65vh;
  /* meaning X% of the viewport height */
  min-height: 650px;
  position: relative;
  display: table;
}

.hero_ts_content_row {
  display: table-cell;
  vertical-align: middle;
}

.hero_ts_container_row {
  overflow-x: auto;
  position: relative;
}

.hero_icon {
  color: var(--TS_green);
  vertical-align: sub;
  width: 1.3em;
  /* So sizing can be done through font-size */
  height: 1.3em;
  display: inline-block;
}



.ts-scroll-icon {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px var(--TS_scroll_icon);
  border-radius: 25px;

  bottom: 0;
}

.ts-scroll-icon,
.ts-scroll-icon:before {
  position: absolute;
  left: 50%;
}

.ts-scroll-icon:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--TS_scroll_icon);
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-name: ts-scroll-animation;
}

@keyframes ts-scroll-animation {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    transform: translateY(46px);
  }

  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}

.clients_ts {
  height: 15vh;
  /* meaning X% of the viewport height */
  min-height: calc(2 * var(--TS_client_logo_min_height));
}

@media (max-width: 576px) {
  .clients_ts {
    min-height: calc(3 * var(--TS_client_logo_min_height));
  }
}

.clients_ts div {
  position: relative;
  min-height: var(--TS_client_logo_min_height);
  user-select: none;
}

.client-reel-logo {
  width: 100%;
  max-width: var(--TS_client_logo_max_width);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Prevent user from clicking or dragging */
  -webkit-user-drag: none;

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.dashboard-main-ts {
  margin-top: calc(var(--glowstick_height) + var(--margin_top_all_pages));
}

.dashboard-livemap-ts {
  margin-top: var(--glowstick_height);
}

.live-tracking-map-ts {
  width: 100%;
  height: calc(100vh - var(--navbar_total_height) - var(--glowstick_height));
}


#menu {
  position: absolute;
  top: var(--navbar_total_height);
  left:0;
  background: #efefef;
  padding: 10px;
  font-family: 'Open Sans', sans-serif;
}

.temp-overlay-box {
  position: fixed;
  top: 100px;
  left: 70px;
  border: 2px solid var(--TS_lightgrey);
  background: white;
  display: block;
  z-index: 99999;
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.absolute-overlay {
  position: absolute;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
}

.center-parent {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
}

.center-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: var(--ts-z-index-form-element);
}

@media (max-height: 1000px) {
  .center-child {
    top: 0;
    transform: translate(-50%, 0);
  }
}

.top-child {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: var(--ts-z-index-form-element);
}




.ts-dashboard-login,
.ts-dashboard-register {
  border-radius: var(--sail-radius);
  box-shadow: var(--sail-shadow-large);
  background: white;
}

.ts-dashboard-login form fieldset {
  width: var(--login-labels-max-width);
  max-width: var(--login-labels-max-width);
}

@media (max-width: 576px) {

  /* Breakpoint in compliance with Bootstrap sm */
  .ts-dashboard-login form fieldset {
    width: 100%;
    max-width: 100%;
  }

  .center-child-login-box {
    width: 100vw;
  }
}

.ts-dashboard-register form fieldset {
  width: 100%;
  max-width: 100%;
}


.hero_ts_container_row {
  overflow-x: auto;
  position: relative;
  background-color: black;
}


.ts-deco-arrow {
  position: fixed;
  right: 0;
  bottom: 0;
  width: var(--TS_deco_triangle_size);
  padding: 0 !important;
  margin: 0 !important;
  z-index: var(--ts-z-index-ts-deco-arrow);
}

.ts-deco-arrow:after {
  right: 0;
  bottom: 0;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 var(--TS_deco_triangle_size) var(--TS_deco_triangle_size);
  border-color: transparent transparent var(--TS_blue) transparent;
}

@media (min-width: 1200px) {
  .ts-deco-arrow {
    width: 240px;
  }

  .ts-deco-arrow:after {
    border-width: 0 0 240px 240px;
  }
}

.underlined{
  text-decoration: underline !important;
}

.live-map-popup .ts-link{
  transition: none !important;
}

.ts-link {
  text-decoration: none;
  transition: color 60ms ease-in-out;
}

.ts-link:link {
  color: var(--TS_lightblue);
}

.ts-link:visited {
  color: var(--TS_lightblue);
}

.ts-link:hover {
  color: var(--TS_blue);
}

.ts-link:active {
  color: var(--TS_lightblue);
}

.ts-link-dark {
  text-decoration: none;
  transition: color 60ms ease-in-out;
}

.ts-link-dark:link {
  color: var(--TS_blue);
}

.ts-link-dark:visited {
  color: var(--TS_blue);
}

.ts-link-dark:hover {
  color: var(--TS_lightblue);
}

.ts-link-dark:active {
  color: var(--TS_blue);
}

#div_id_username {
  padding-bottom: 1rem !important;
}

#div_id_password {
  padding-bottom: 0.5rem !important;
}

#div_id_username label,
#div_id_password label,
#div_id_new_password1 label,
#div_id_new_password2 label {
  font-weight: 500;
  padding: 5px 0;
}

.asteriskField {
  display: none;
}

.ts-form div {
  padding-bottom: 0.3rem !important;
}

.ts-form-2 div {
  padding-bottom: 0 !important;
}

.ts-form div label, .ts-form-2 div label {
  font-weight: 500;
  padding: 5px 0;
}

.ts-password-form {
  max-width: var(--login-labels-max-width);
}

.font-weight-500 {
  font-weight: 500 !important;
}

.text-underline {
  text-decoration: underline !important;
}

#hint_id_new_password1 ul {
  padding: 20px 30px;
}

#hint_id_new_password1 ul li {
  padding: 5px 0;
}

.ts-alert {
  position: fixed;
  opacity: 1;
  visibility: visible;
  top: var(--ts-flash-message-position-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--ts-z-index-flash-messages);
  border-radius: var(--sail-radius);
  box-shadow: var(--shadow-flash-message);
  background-color: white;
  /*The max-content sizing keyword represents the intrinsic 
  maximum width or height of the content. For text content 
  this means that the content will not wrap at all even if 
  it causes overflows. */
  width: max-content;
  max-width: 90vw;
  animation: ts-flash-message-topdown-animation var(--ts-flash-message-appearance-duration) ease-out 0s 1 forwards, ts-flash-message-topdown-animation var(--ts-flash-message-appearance-duration) ease-out var(--ts-progress-bar-duration) 1 reverse forwards;
}

@keyframes ts-flash-message-topdown-animation {
  from {
    top: 0;
    opacity: 0;
    visibility: hidden;
  }

  to {
    top: var(--ts-flash-message-position-top);
    opacity: 1;
    visibility: visible;
  }
}

.ts-alert p {
  margin: 0;
  font-weight: 500;
}

.ts-alert .bi {
  margin-right: 12px;
}

.ts-alert-close-icon {
  color: var(--TS_text);
  padding-left: 50px;
}

.ts-alert-success .bi {
  color: var(--ts-color-success);
}

.ts-alert-success .ts-progress-bar {
  background-color: var(--ts-color-success);
}

.ts-alert-info .bi {
  color: var(--ts-color-info);
}

.ts-alert-info .ts-progress-bar {
  background-color: var(--ts-color-info);
}

.ts-alert-warning .bi {
  color: var(--ts-color-warning);
}

.ts-alert-warning .ts-progress-bar {
  background-color: var(--ts-color-warning);
}

.ts-alert-error .bi {
  color: var(--ts-color-error);
}

.ts-alert-error .ts-progress-bar {
  background-color: var(--ts-color-error);
}

.bi-check-circle-fill {
  color: var(--ts-color-success);
}

.bi-hourglass-split {
  color: var(--ts-color-activating);
}

.bi-x-circle-fill {
  color: var(--ts-color-error);
}

.bg-ts-lightblue {
  background-color: var(--TS_lightblue);
}

.bg-ts-red {
  background-color: var(--TS_red);
}

#trailersync-no-trip-data-found {
  line-height: 2rem;
}
#trailersync-no-trip-data-found .bi-search {
  color: var(--TS_lightblue);
  font-size: 2rem;
  line-height: 2rem;
}


.ts-progress {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.02);
  width: 100%;
  height: var(--glowstick_height);
  left: 0;
  bottom: 0;
  border-bottom-left-radius: var(--sail-radius);
  border-bottom-right-radius: var(--sail-radius);
  overflow: hidden;
}

.ts-progress-bar {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-bottom-left-radius: var(--sail-radius);
  animation-name: ts-flash-message-bar-animation;
  animation-duration: var(--ts-progress-bar-duration);
  animation-iteration-count: 1;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes ts-flash-message-bar-animation {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

.ts-logout-bg {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: var(--ts-z-index-bg);
  background-color: white;
}

.ts-align-center {
  align-items: center;
  justify-content: flex-end;
}

.ts-profile-circle {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: calc(var(--navbar_total_height) - var(--navbar_profile_picture_margin));
  height: calc(var(--navbar_total_height) - var(--navbar_profile_picture_margin));
  background-color: var(--TS_blue);
  transition: 200ms;
}

.ts-profile-circle:hover {
  background-color: var(--TS_lightblue);
}

.ts-profile-circle span {
  color: white;
  font-size: 1.10rem;
  font-weight: 500;
}

.navbar-dark .ts-profile-circle {
  border: 2px solid white;
}

.navbar-light .ts-profile-circle {
  border: none;
}


.ts-profile-circle-2 {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: calc(var(--navbar_total_height) + var(--navbar_profile_picture_margin));
  height: calc(var(--navbar_total_height) + var(--navbar_profile_picture_margin));
  background-color: var(--TS_blue);
  transition: 200ms;
  border: none;
  margin: 0 auto;
  position: relative;
}

.ts-profile-circle-2 span {
  color: white;
  font-size: 1.30rem;
  font-weight: 500;
}

.ts-profile-circle-2 svg {
  position: absolute;
  top: 0;
  right: 0;
}



.ts-avatar .dropdown-toggle::after {
  display: none;
}

.ts-avatar .dropdown-menu {
  top: var(--navbar_total_height);
  right: 0 !important;
  left: unset !important;
  margin-top: 0.25rem;
  padding: 0rem 0;
  max-width: 300px;
  border-radius: var(--sail-radius) !important;
  box-shadow: var(--sail-shadow-large);
  background: white;
  overflow: hidden;
}

.ts-avatar .dropdown-divider {
  margin: 0;
  border-top: 1px solid var(--user-info-menu-border-color);
}

.ts-avatar .dropdown-item {
  padding: 0.75rem 1rem;
  color: var(--TS_darkblue) !important;
  background-color: white;
}

.ts-avatar .dropdown-item:focus,
.ts-avatar .dropdown-item:hover {
  color: var(--TS_darkblue) !important;
  background-color: var(--TS_veryverylightgrey);
}

.ts-avatar .dropdown-item:active {
  color: var(--TS_darkblue) !important;
  background-color: var(--TS_veryverylightgrey);
}

.ts-avatar .dropdown-item:hover>.ts-profile-circle-2 {
  background-color: var(--TS_lightblue);
}


.dropdown-menu .user-info {
  text-align: center;
  padding: 1.1rem 1.5rem;
  line-height: 1.3;

}

.user-info small {
  color: grey;
  font-size: 0.8rem;
}

.dropdown-item .bi {
  margin-right: 10px;
  color: var(--TS_lightblue);
}

.admin-account {
  color: var(--TS_blue) !important;
  font-weight: 500;
}

.ts-client-admin-area-navbar {
  position: relative;
  display: flex;
  height: var(--navbar_total_height_secondary);
  top: var(--glowstick_height);
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  align-content: center;
  padding: 0 1rem 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  background-color: var(--TS_veryverylightgrey);
}

.ts-client-admin-area-navbar div {
  height: var(--navbar_total_height_secondary);
  line-height: var(--navbar_total_height_secondary);
  text-align: center;
}

.ts-client-admin-area-navbar a {
  text-decoration: none;
  color: var(--TS_blue);
  font-weight: 500;
  margin: 0 0.5rem;
  border-bottom: none;
}

.ts-client-admin-area-navbar a:hover div,
.ts-client-admin-area-navbar .active {
  border-bottom: 2px solid var(--TS_blue);
}

.staff-menu-button{
  width:auto;
  font-size: 1.70rem;
  padding:0;
  margin:0;
  border:0;
}

.staff-menu-button span{
  padding:0 9px;
  margin:0;
  display:inline-block;
  transition: background-color 0.35s ease;
  background-color: var(--TS_blue); color:white;
}
.staff-menu-button span:hover, .staff-menu-button span:active{background-color: var(--TS_lightblue); color:white;}

.staff-menu-div{
  position:absolute;
  left:0;
  top:calc(var(--navbar_total_height) + var(--navbar_total_height_secondary) + var(--glowstick_height));
  margin-top:1px;
  width:100%;
  background-color:black; 
  padding: 0rem 0.5rem 0rem 1.5rem;
}

.staff-menu-div p{color: white !important;}
.staff-menu-div ul li a:link, .staff-menu-div ul li a:visited{color:white;}
.staff-menu-div ul li a:hover, .staff-menu-div ul li a:active{color:var(--TS_lightblue);}

/* Bootstrap Small	sm	≥576px */
@media only screen and (max-width: 576px) {

  /* Force table to not be like tables anymore */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #no-more-tables td,
  #no-more-tables th {
    /* Behave  like a "row" */
    border: none;
    position: relative;
    white-space: normal;
    text-align: left;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #no-more-tables th {
    margin-top: 40px;
    border-bottom: 1px solid #eee;
  }

  #no-more-tables .bold-when-row {
    font-style: italic;
  }

}


#map_leaflet{
  width: 100%;
  height: calc(100vh - var(--navbar_total_height) - var(--glowstick_height));
}

#hint_id_pending_update{
  display: block !important;
}

#id_IMEI_list{
  height:100px !important;
}

.lbl-checkbox{
  display: inline-block;
  padding: 0.15em 2.0em;
  background: var(--TS_lightblue);
  border-radius: var(--ts-border-radius);
}


#WEB_lat, #WEB_long{
  color:unset;
  font-family:unset;
  font-weight:unset;
}

table.dataTable{
  border-collapse: collapse !important;
}

table.dataTable tbody tr{
  border-color: var(--TS_table_border_color);
}

caption, .dataTables_info, #sortable-table_previous, #sortable-table_next, #sortable-table_length, #sortable-table_length select, #sortable-table_filter, #sortable-table_filter input, #sortable-table_paginate span a{
  color: var(--TS_table_caption_color) !important;
  font-family: var(--bs-font-sans-serif);
  font-size: .875em;
}

#sortable-table_length, #sortable-table_length select, #sortable-table_filter, #sortable-table_filter input{
  color: var(--TS_table_caption_color) !important;
  font-family: var(--bs-font-sans-serif);
  font-size: inherit;
}

#sortable-table_paginate span a, #sortable-table_previous, #sortable-table_next{
  color: var(--TS_table_caption_color) !important;
  background: none;
  font-weight: inherit;
  font-family: var(--bs-font-sans-serif);
  font-size: .875em;
  border-radius: var(--ts-border-radius);
  border:none;
}
#sortable-table_paginate span a:hover, #sortable-table_previous:hover, #sortable-table_next:hover{
  color: white !important;
  background: var(--TS_lightblue);
}
#sortable-table_paginate span a.current{
  color: white !important;
  background: var(--TS_lightblue);
}

.live-map-popup{
  font-size: 0.8rem !important;
  margin: 0.8em 0 !important;
}
.live-map-popup-header{
  font-size: 0.9rem !important;
}

.leaflet-popup-content-wrapper{
  border-radius: var(--ts-border-radius) !important;
}

.border-radius{
  border-radius: var(--ts-border-radius);
}
#map{
  border-radius: var(--ts-border-radius);
}
#map span.no-gps-position-available{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--TS_accentOnDarkGrey);
}

.possibly-very-long-column-contents{
  max-width: 300px !important; 
  overflow-wrap: break-word;
}

.smaller-fontsize-for-tables{
  font-size: 0.75rem !important;
}

.let-overflow-scroll{
  max-width: 200px;
  overflow-x: overlay;
}

.let-overflow-scroll-padding{
  overflow-x: overlay;
  padding-bottom: 25px !important;
}

.bg-client-admin{
  background-color:var(--TS_darkblue);
  color: rgba(255,255,255,.75) !important;
  border: 25px solid var(--TS_darkblue);
}
.bg-client-admin p{
  color: rgba(255,255,255,.75) !important;
}
.bg-client-admin h5{
  color: rgba(255,255,255,.93) !important;
}

#div_id_can_activate_realtime_tracking, 
#div_id_is_active,
#div_id_archived{
  display: flex;
  flex-direction: column-reverse;
  border-top: 1px solid #dee2e6!important;
  padding-top: 0.5rem !important;
  padding-left:unset !important;
  margin-top: 1.0rem !important;
  margin-bottom: 0rem !important;
}
#div_id_can_activate_realtime_tracking .form-check-input, 
#div_id_is_active .form-check-input,
#div_id_archived .form-check-input{
  margin-left:unset !important;
}

.realtime-button-parent{
  width:100%;
}

.realtime-button-child{
  width:33.33%;
  float:left;
}

.realtime-button-child:nth-child(1) {
  padding: 0 1.0rem 0 0;
}

.realtime-button-child:nth-child(2){
  padding: 0 0.5rem 0 0.5rem;
}

.realtime-button-child:nth-child(3) {
  padding: 0 0 0 1.0rem;
}


.feature-not-compatible {
  background-color:var(--TS_accentOnDarkGrey);
  pointer-events: none;
  opacity: .65;
}

.do_not_display{
  display:none !important;
}

.do_not_display_smooth{
  visibility: hidden !important;
  opacity: 0 !important;
}













.trailersync-marker {
  width: var(--ts-liveMap-markerSize-px) !important;
  height: var(--ts-liveMap-markerSize-px) !important;
  display: block;
  border-radius: 50%;
  cursor: pointer;

  /* border: 1px solid var(--TS_darkgrey); */
  border: 1px solid var(--TS_markerGrey);
  color: var(--MJvanRiel_yellow);
  background: var(--MJvanRiel_yellow);
  box-shadow: 0 0 0 var(--MJvanRiel_yellow);
}

.trailersync-marker.ign_on{
  /* border: 1px solid var(--TS_markerGrey); */
  border: 1px solid var(--TS_markerGrey);
  color: var(--TS_green);
  background: var(--TS_green);
  box-shadow: 0 0 0 var(--TS_green);
}

.trailersync-marker.realtime_on{
  animation: pulse 2500ms infinite;
}

@keyframes pulse {
  2% {
    box-shadow: 0 0 0 0;
  }
  68% {
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
  }
  98% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.realtime_zIndex, .activating_realtime_zIndex{
  z-index: 9999 !important;
}

.trailersync-marker.realtime_on, .trailersync-marker.activating_realtime {
  /* position: relative; */     /* This caused incorrent leaflet transform locations of markers, popups and tooltips when multiple assets are in (activating) realtime mode, therefore, removed this line - all seems to be OK without it */
  z-index: 9999 !important;
}

.trailersync-marker.realtime_on::after {
  content: "";
  width: 5px;
  height: 5px;
  background-color: rgb(255,0,0);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  right: 1px;
  transform: translate(50%, -50%);
}

.trailersync-marker.activating_realtime::after {
  content: "";
  width: 5px;
  height: 5px;
  background-color: var(--ts-color-activating);
  border-radius: 50%;
  position: absolute;
  top: 1px;
  right: 1px;
  transform: translate(50%, -50%);
}


.trailersync-smooth-transitions .leaflet-marker-pane > *,
.trailersync-smooth-transitions .leaflet-shadow-pane > *,
.trailersync-smooth-transitions .leaflet-tooltip-pane > *{
  -webkit-transition: transform var(--ts_liveMap_transitionPeriod) ease;
  -moz-transition: transform var(--ts_liveMap_transitionPeriod) ease;
  -o-transition: transform var(--ts_liveMap_transitionPeriod) ease;
  -ms-transition: transform var(--ts_liveMap_transitionPeriod) ease;
  transition: transform var(--ts_liveMap_transitionPeriod) ease;
}

.trailersync-smooth-transitions-popups .leaflet-popup-pane > *{
  -webkit-transition: transform var(--ts_liveMap_transitionPeriod) ease, opacity 0.2s linear !important;
  -moz-transition: transform var(--ts_liveMap_transitionPeriod) ease, opacity 0.2s linear !important;
  -o-transition: transform var(--ts_liveMap_transitionPeriod) ease, opacity 0.2s linear !important;
  -ms-transition: transform var(--ts_liveMap_transitionPeriod) ease, opacity 0.2s linear !important;
  transition: transform var(--ts_liveMap_transitionPeriod) ease, opacity 0.2s linear !important;
}

.map-leaflet-container #map_leaflet{
  width:100%;
  height:400px;
}

#load-map-data-for-this-IMEI{
  display:none;
}

#map-no-data{
  width:100%;
  height:400px;
  border-radius: var(--ts-border-radius);
  position: relative;
  background-color: rgb(238, 238, 238);
}

#map-no-data span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--TS_accentOnDarkGrey);
  text-align: center;
}

.span-float-right{
  float: right !important;
}

.popupContent_width_realtime_false{
  width: 293px; /* used to be 251px */
}
.popupContent_width_realtime_true{
  width: 293px; /* used to be 278px */
}

#tag_ID_input_popup_btn{
  position: relative;
  width: 50%;
  left: 50%;
  top: 34px;
}

.div_tag_ID_input_popup_btn{
  height:0;
}

.report-issue-button-parent{
  position: relative;
}

.report-issue-button{
  max-width: 300px;
  width:100%;
  padding-bottom: 1.5rem;

  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-100%, -100%);
}

@media (max-width: 576px) {
  .report-issue-button-parent{
    min-height: 40px;
  }
  .report-issue-button{
    padding-bottom: unset;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
  }
}

@media (max-width: 576px) {
  .sm-unset-height{
    height: unset !important;
  }
}

.table-column-fit-content-width {
  white-space: nowrap;
  width: 1%;
}

#smooth-table-data-reload{
  overflow-y: hidden;

  -webkit-transition: max-height var(--new_table_data_animation_duration) ease-in-out;
  -moz-transition: max-height var(--new_table_data_animation_duration) ease-in-out;
  -o-transition: max-height var(--new_table_data_animation_duration) ease-in-out;
  -ms-transition: max-height var(--new_table_data_animation_duration) ease-in-out;
  transition: max-height var(--new_table_data_animation_duration) ease-in-out;
}

.loader {
  width: 14px;
  height: 14px;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

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

.loader-2-main-container{
  position: relative;
}

.loader-2-container{
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-100%, -100%);
}

.loader-2 {
  width: 25px;
  height: 25px;
  border: 3px solid var(--TS_grey);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;

  visibility: visible;
  opacity: 1;

  /* transition: property name | duration | timing function | delay */
  transition: visibility 0s linear 350ms, opacity 350ms;
}

.loader-trip-in-progress {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: block;
  margin:4px auto;
  position: relative;
  background: #FFF;
  box-shadow: -20px 0 #FFF, 20px 0 #FFF;
  box-sizing: border-box;
  animation: shadowPulse 3.5s linear infinite;
}

@keyframes shadowPulse {
  25% {
    background: #FFF;
    box-shadow: -20px 0 var(--TS_lightblue), 20px 0 #FFF;
  }
  50% {
    background: var(--TS_lightblue);
    box-shadow: -20px 0 #FFF, 20px 0 #FFF;
  }
  75% {
    background: #FFF;
    box-shadow: -20px 0 #FFF, 20px 0 var(--TS_lightblue);
  }
  100% {
    background: #FFF;
    box-shadow: -20px 0 #FFF, 20px 0 #FFF;
  }
}

.loader-trip-container{
  width:60px;
}

.no-hover{
  pointer-events: none;
}

.width-unset{
  width: unset;
}

#fetchButton{width:250px;}
#trip-search-search-button{width:100%;}
#trip-search-clear-button{width:100%;}
#trip-search-download-button{width:100%;}

.ts-custom-switch{
  padding-left:0 !important;
}
.ts-custom-switch .form-check-label{
  width:100%;
}
.ts-custom-switch .form-check-input{
  margin-left:0 !important;
  float:none !important;
  margin-top: 17px !important;
}

#search-results-summary-container p, #search-results-summary-container p span{
  font-weight: 700 !important;
}

#search-results-summary-container p{
  margin-bottom: 0 !important;
}

#asset-trip-day-summary-query-results{
  opacity: 0.0;

  /* transition: property name | duration | timing function | delay */
  transition: opacity 0.35s ease 0.25s;
}

#asset-trip-day-summary-query-results p, #asset-trip-day-summary-query-results p span{
  font-weight: 700 !important;
}

#asset-trip-day-summary-query-results p{
  margin-bottom: 0 !important;
}

#smooth-table-show{
  opacity: 0.0;
  visibility:hidden;
  transition: opacity 350ms;
}

#dropdown_select_filter {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  background-color: transparent;
  margin-left: 3px;
  margin-right: 15px;

  color: var(--TS_table_caption_color) !important;
  font-family: var(--bs-font-sans-serif);
  font-size: inherit;
  height:36px;
}

@media (max-width: 640px){
  #dropdown_select_filter {
    margin-bottom: 0.5em;
  }
}

/* Search bar styling */
.ts-nav-searchbar{
  position: absolute;
  width:500px;
  min-width:200px;
  right:0 !important;
  /* Set same margin-right as the calculated width of the profile circle */
  margin-right: calc(var(--navbar_total_height) - var(--navbar_profile_picture_margin));
}
@media (max-width: 1200px){ /* 1200px in accordance with Bootstrap lg breakpoint */
  .ts-nav-searchbar{
    width:400px;
  }
}
@media (max-width: 992px){ /* 992px in accordance with Bootstrap xl breakpoint */
  .ts-nav-searchbar{
    position: relative;
    width:100%;
    margin-right:0;
  }
}

.ts-nav-searchbar input{
    padding-left: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239aa0a6' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position-x: 11px;
    background-position-y: center;
    background-size: 18;
}

/* autocomplete CSS styling */
.autocomplete-suggestions { 
  /* border: 1px solid #999;  */

  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;

  background: #FFF; 
  overflow: auto;

  color: var(--TS_text);
  font-family: var(--TS_font_text) !important;
  font-weight: 400;
}

.autocomplete-suggestion {
  white-space: nowrap; 
  overflow: hidden; 
}

.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: var(--TS_blue); }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

.autocomplete-suggestion a {
  text-decoration: none;
  transition: color 60ms ease-in-out;
  display: block;
  padding: 3px 10px; 
}

.autocomplete-suggestion a:link {
  color: var(--TS_lightblue);
}

.autocomplete-suggestion a:visited {
  color: var(--TS_lightblue);
}

.autocomplete-suggestion a:hover {
  color: var(--TS_blue);
}

.autocomplete-suggestion a:active {
  color: var(--TS_lightblue);
}

.trip_detail_data_marker{
  /* width: 150px; */
  text-align: center !important;
}

.trip-data-marker-popup-title{
  color: var(--TS_text);
  text-decoration: none;
}

.zoom-in-out-notification{
  text-align: center !important;
  font-family: var(--TS_font_text) !important;
  padding: 0rem 1.0rem;
  color: var(--TS_blue) !important;
  font-weight: 500;
  overflow:hidden;

  max-height: 100px;
  margin-bottom: 1rem;
  opacity: 1.0;
 
  transition: max-height 0.35s ease, margin-bottom 0.35s ease, opacity 0.20s ease;
}

.bg-ts-blue{
  /* background-color: var(--TS_blue) !important; */
  background-color: var(--TS_grey) !important;
}

.trip-nr-color-square{
  width:50px;
  height:auto;
  border-radius: var(--ts-border-radius);
  background-color: var(--TS_grey); /* IGN_green */
  color:white;
  text-align: center;
  font-weight:700;

  transition: background-color 0.35s ease;
}

.address-overflow-in-list{
  max-width: 175px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaflet-div-icon-ts-numbered {
	background: transparent;
	border: none;
}

.leaflet-marker-icon .number{
  position: relative;
  top: 3px;
  width: auto;
  text-align: center;
  color: white;
  font-family: var(--TS_font_headers) !important;
  font-weight: 700;
  font-size: 11px;
  background-color: black;
  border-radius: var(--ts-border-radius);
  padding: 0 5px;
}

.nav-modified-height{
  height: 36px;
}

.set_map_view_to_trip_start_or_end{
  color: white !important;
  text-decoration: none !important;
}

.fly-to{
  width:24px;
  height:24px;
  border-radius: 50%;
  display:inline-block;
  vertical-align:bottom;
  border:3px solid white;
  background-color: var(--IGN_green);
}

.fly-to-start{
  background-color: var(--IGN_green);
}

.fly-to-end{
  background: repeating-conic-gradient(black 0% 25%, transparent 0% 50%) 50% / 10px 10px;
}

.live-popup-asset-trip-day-summary-button, .live-popup-asset-temp-day-summary-button{
  transition: background-color 200ms ease-in-out;
  width: 22px;
  padding: 2px !important;
  font-size: 0.75rem !important;
  margin: 0 4px 2px 0;
  display: inline-block;
  vertical-align: top;  
}

.asset-trip-day-summary-button, .asset-temp-day-summary-button{
  transition: background-color 200ms ease-in-out;
  padding: 0.3rem 0.6rem !important;
  margin: 0 0 0 2px;
  display: inline-block;
  vertical-align: bottom;  
}

.asset-trip-day-summary-button-listview, .asset-temp-day-summary-button-listview, .vehicle-detail-update-button-listview{
  transition: background-color 200ms ease-in-out;
  width: 26px;
  padding: 2px !important;
  font-size: 0.85rem !important;
  margin: 0 2px 0 0;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}

.text-align-center{
  text-align: center;
}

.install-state-number{
  font-size: 0.001rem;
  color:rgba(0, 0, 0, 0);
}

.color-green{
  color:rgb(0,253,0);
}

/* Dropdown form select input - add arrow */
.select.form-control{
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

/* Vehicle CreateView and UpdateView CSS */
.vehicle-detail-admin-header{
  background: rgb(83, 186, 235) !important;
  color: white !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  /* border-bottom:2px solid rgb(0, 44, 66); */
  border-bottom:3px solid white;
  padding: 15px;
}

.ts-smooth-hover .vehicle-detail-admin-header:hover{
  background: rgb(83, 186, 235) !important;
  transition: background-color 100ms ease-in-out;
}

a:has(> .vehicle-detail-admin-header) { 
  text-decoration: none; 
}

.vehicle-detail-no-display{
  display:none !important;
}

.header_closed h2{
  background: gray !important;
}
