/*
copyright Fortittrak LLC
This code is owned by Fortittrak LLC
All Rights Reserved
You may NOT use, distribute and modify this code without the
written consent of Fortittrak LLC
*/
:root {

  /* --bkgnd:#E1ECF0; */
  --bkgnd: #e5e5e5;
  --loader: #7329B0;
  --red:#C61515;
  --mvg:#37b837;
  --mmkr:#ff5833;


  /* Duplicated from extra-override.css */
  --color-neutral-0: oklch(1 0 0);
  --color-neutral-50: oklch(0.985 0 0);
  --color-neutral-100: oklch(0.97 0 0);
  --color-neutral-200: oklch(0.922 0 0);
  --color-neutral-300: oklch(0.87 0 0);
  --color-neutral-400: oklch(0.708 0 0);
  --color-neutral-500: oklch(0.556 0 0);
  --color-neutral-600: oklch(0.439 0 0);
  --color-neutral-700: oklch(0.371 0 0);
  --color-neutral-800: oklch(0.269 0 0);
  --color-neutral-900: oklch(0.205 0 0);
  --color-neutral-950: oklch(0.145 0 0);

  --color-blue-0: #ffffff;
  --color-blue-50: #f1f8fa;
  --color-blue-100: #dbecf2;
  --color-blue-200: #bcd9e5;
  --color-blue-300: #8dbed3;
  --color-blue-400: #589ab8;
  --color-blue-500: #4289ad;
  --color-blue-600: #356785;
  --color-blue-700: #30556e;
  --color-blue-800: #2e485c;
  --color-blue-900: #2a3e4f;
  --color-blue-950: #182734;
  --color-blue-1000: #000000;

  --color-orange-50: #fff8eb;
  --color-orange-100: #ffecc6;
  --color-orange-200: #ffd788;
  --color-orange-300: #febc4b;
  --color-orange-400: #fea92f;
  --color-orange-500: #f87f08;
  --color-orange-600: #dc5a03;
  --color-orange-700: #b63c07;
  --color-orange-800: #942e0c;
  --color-orange-900: #79270e;
  --color-orange-950: #461102;
  
  --color-red-0: #fef3f2;
  --color-red-50: #fef3f2;
  --color-red-100: #ffe4e1;
  --color-red-200: #ffcdc8;
  --color-red-300: #ffa097;
  --color-red-400: #fd796c;
  --color-red-500: #f54e3e;
  --color-red-600: #e23120;
  --color-red-700: #be2517;
  --color-red-800: #9d2317;
  --color-red-900: #82231a;
  --color-red-950: #470d08;
  --color-red-1000: #000000;

  --stolen:#C61515;
  --offLot:#043dfa;
  --discon:#942e0c;
  --lowBatt:#fea92f;
  --risk:#7329B0;

  --lowBatt-background: var(--color-orange-400);
  --lowBatt-color: var(--color-orange-100);

  --discon-background: var(--color-orange-800);
  --discon-color: var(--color-orange-100);
  
  --offLot-background: var(--color-blue-500);
  --offLot-color: var(--color-blue-100);
  --offLot-bordercolor: var(--color-blue-600);

  --stolen-background: var(--color-red-700);
  --stolen-color: var(--color-red-100);
  --stolen-bordercolor: var(--color-red-800);


  --sold-background: #ff000057;
  --sold-color: white;
  --sold-bordercolor: #ff00008c;

  --risk-background: #7329B0B5;
  --risk-color: var(--color-red-100);
  --risk-bordercolor: #7329B0;

  --color-overlay-bg: rgba(0,0,0,0.8);
} 
@supports (interpolate-size: allow-keywords) {
  :root { 
      interpolate-size: allow-keywords;
  }
}
html,
body {
  margin: 0px;
  font-size: 16px;
  color: #000;
  height: 100%;
  touch-action: auto;
  background-color: white;
  font-family: "IBM Plex Sans", sans-serif !important;
}

body .gm-style-iw {
  font-family: "IBM Plex Sans", sans-serif !important;
}
/* brand */
.topToolbarLogoWrapper {
  padding-left:16px;
}

/* loaders */
.loader {
  /* width: 100%; */
  margin: 0 auto;
  border: 0px solid transparent;
  position: relative;
  padding: 0px;
  background-color: #191919;
}

.loader:before {
  content: '';
  border: 0px solid #fff;
  position: absolute;

}

.loader .loaderBar {
  position: fixed;
  top: 0;
  right: 100%;
  bottom: 0;
  left: 0;
  background: var(--loader);
  width: 0;
  height:4px;
  animation: borealisBar 2s linear infinite;
}

@keyframes borealisBar {
  0% {
      left: 0%;
      right: 100%;
      width: 0%;
  }

  10% {
      left: 0%;
      right: 75%;
      width: 25%;
  }

  90% {
      right: 0%;
      left: 75%;
      width: 25%;
  }

  100% {
      left: 100%;
      right: 0%;
      width: 0%;
  }
}

.roundBtn{
  border-radius:50%;
}

.toolbar-separator {
  height: 36px;
  margin: 0 5px;
  border-left: 1px solid #ddd;
}

.toolbar-menu-separator {
  height: 1px;
  border-bottom: 1px solid #ddd;
}
 

#listContent {
  display: flex;
  flex: 1;  
  width: 100%;
  height: calc(100vh - 175px);  
  transition: all 0.5s ease; 
}

 .hidden {
  display: none;  
}

.fullWidth {
  flex: 0 0 100vw !important;  
} 

.separator-container {
  width: 100%;  
  padding: 10px 0;  
}

.separator-line {
  border-bottom: 1px solid #ccc;  
  width: 100%;  
  margin: 0 auto;  
}

.logFuncContainer {
  display: none;  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
  z-index: 1000;  
  /*backdrop-filter: blur(26px);*/
  background-color: var(--color-overlay-bg);
}

.logFuncFormWrapper {
  display: flex;
  justify-content: center; 
  align-items: center; 
  height: 100vh; 
}

.logFuncForm {
  display: flex;
  background-color: var(--color-neutral-0);
  justify-content: center;
  align-items: center;
  padding: 24px 32px;
  border-radius: 8px;
}
.buttonUnderLine{
  text-decoration: underline; 
}

.ruleClass{
  border: 1px solid #ccc;
  width: 300px;
  margin: 0 auto;
  padding:5px;  
  border-radius: 5px;  
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
  background: #0e548c3d;
}

.ruleYesNo{
  width: 200px;
  margin: 0 auto;
  padding:5px 0px 0px 0px;  
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.arrow {
  width: 20px; /* Adjust the arrow size */
  height: 20px;
  margin: 0 auto;
 padding-bottom:15px;
 top: -5px;
 position: relative;
}
.arrow svg {
  transform: rotate(90deg); /* Rotate the arrow to point downward */
}


.terminatorClass{
  margin-bottom: 10px;
}

.map-marker {
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  left:2px;
  top:2px;
  position: relative;
}

.street-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  left:3px;
  top:2px;
  position: relative;
}



.gm-style-iw-chr{
  display: none;
}
 
.gm-style .gm-style-iw-tc::after {
  background:var(--color-neutral-100);
}

.jsoneditor-menu {  
  background-color: #d3e1fe !important;
   border-bottom: 0px solid #3883fa; 
}

.redFont {
  color: var(--red)!important;
}

.yellowFont {
  color: #FFEA00 !important;
}

.whiteFont {
  color: #FFF !important;
}

.fleet-marker-label-loc {
  background-color: #09485a;
  /* border: 1px solid #f8f2f2; */
  padding: 3px;
  border-radius: 5px;
  font-family: "IBM Plex Sans", sans-serif;
  color: white;
 
  position: relative;
  display: inline-block;
}

.fleet-marker-label-event {
  background-color: #c10e0e;
  /* border: 1px solid #f8f2f2; */
  padding: 3px;
  border-radius: 5px;
  font-family: "IBM Plex Sans", sans-serif;
  color: white;
 
  position: relative;
  display: inline-block;
}


.fleet-marker-label-loc::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 5px 0 5px; 
  border-style: solid;
  border-color: #09485a transparent transparent transparent; 
  z-index: 1;  
}


.fleet-marker-label-event::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 5px 0 5px; 
  border-style: solid;
  border-color: #09485a transparent transparent transparent; 
  z-index: 1;  
}

.fleet-marker-min{ 
  width: 20px;
  padding: 5px;
  border-radius: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
}

/* New trip marker */
.trip-marker-base {
  border-width: 2px;
  border-style: solid;
  border-color: white;
  border-radius: 50%;
  padding: 4px 4px;
  aspect-ratio: 1/1;
  width:24px;
  height:24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
  0px 1px 2px rgba(0, 0, 0, 0.05),  /* Subtle 1px shadow for a border effect */
  0px 12px 12px rgba(0, 0, 0, 0.2);   /* Main drop shadow */
}
.assetStatus {
  padding : 0px !important;
}


.miCard {
  /* margin: 10px; */
  background: #fff;
  padding:6px;
  border-radius: 4px;
  position: relative; 
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.30);
  text-align: left;
  height: 410px;
  width: 650px;
}

.bar-cell {
  background-color: lightgray;
  height: 20px;
  position: relative;
}
.bar-fill-green {
  background-color: #33CC33;
  height: 100%;
  text-align: left;
  color:white;
}
.bar-fill-blue {
  background-color: #3380CC;
  height: 100%;
  text-align: left;
  color:white;
}
.bar-fill-amber {
  background-color: #CCCC33;
  height: 100%;
  text-align: left;
  color: #333
}
.bar-fill-pink {
  background-color: #CC33CC;
  height: 100%;
  text-align: left;
  color: white;
}

.bar-fill-purple {
  background-color: #8033CC;
  height: 100%;
  text-align: left;
  color: #333
}

.btnRefreshToolbar{
  position: relative;
  top:5px;
}

.fa-layers svg.svg-inline--fa {
  background: transparent;
}


/*ALI CHANGES*/
.topTabs {
  position: relative;
    bottom: 0px;    
    /*height: 34px;*/
}

.topButton{
  border-radius: 20px;
  background-color: var(--color-neutral-700);
  color:#fff;
}

.iconwhite{
  color: #fff !important;
}

.bellOn{
--fa-primary-color: #ff5833;  
}
.quickFind{
  /*  border-radius: 25px !important; */
  background: var(--color-neutral-800) !important; 
}
 
#quickFind * {
  color: var(--color-neutral-50);
}

#topToolbar .dx-tabs-styling-mode-secondary.dx-tab-indicator-position-bottom .dx-tab .dx-tab-content::after {
  bottom: -3px;
}

#topToolbar .dx-tab { 
  padding: 10px 6px 8px 6px;
  margin-top: 8px;
}

#topToolbar .dx-tabs-styling-mode-secondary.dx-tab-indicator-position-bottom .dx-tab.dx-tab-selected .dx-tab-content::after, .dx-tabs-styling-mode-secondary.dx-tab-indicator-position-bottom .dx-tab.dx-tab-selected.dx-state-focused .dx-tab-content::after, .dx-tabs-styling-mode-secondary.dx-tab-indicator-position-top .dx-tab.dx-tab-selected .dx-tab-content::after, .dx-tabs-styling-mode-secondary.dx-tab-indicator-position-top .dx-tab.dx-tab-selected.dx-state-focused .dx-tab-content::after {
  background-color:var(--loader);
  z-index: 10;
}

#topToolbar .dx-tabs-styling-mode-primary.dx-tab-indicator-position-bottom .dx-tab-selected.dx-state-focused::after, .dx-tabs-styling-mode-primary.dx-tab-indicator-position-bottom .dx-tab-selected::after, .dx-tabs-styling-mode-primary.dx-tab-indicator-position-top .dx-tab-selected.dx-state-focused::after, .dx-tabs-styling-mode-primary.dx-tab-indicator-position-top .dx-tab-selected::after {
  background-color: var(--loader) !important;
  z-index: 10;
}
#topToolbar .dx-tabs-styling-mode-primary.dx-tab-indicator-position-bottom .dx-tab-selected.dx-state-active::after, 
            .dx-tabs-styling-mode-primary.dx-tab-indicator-position-bottom .dx-tab-active::after, 
            .dx-tabs-styling-mode-primary.dx-tab-indicator-position-top .dx-tab-selected.dx-state-active::after, 
            .dx-tabs-styling-mode-primary.dx-tab-indicator-position-top .dx-tab-selected::after {
  background-color: var(--loader);
  z-index: 10;
}
 
 
#topToolbar .dx-theme-fluent-typography {
  color:#FFF;
}

#topToolbar .dx-tab.dx-tab-selected {
  color: #fff;
}

#topToolbar .dx-tab .dx-tab-text .dx-tab-text-span-pseudo {
   color: #fff;
}

#topToolbar .dx-tabs-styling-mode-primary .dx-tab.dx-state-focused, .dx-tabs-styling-mode-primary .dx-tab.dx-state-hover {
   background-color: #191919; 
} 

#topToolbar .dx-tabs-styling-mode-primary .dx-tab.dx-state-focused, .dx-tabs-styling-mode-primary .dx-tab.dx-state-active {
  background-color: #191919; 
} 

#topToolbar  .dx-tabs-styling-mode-primary.dx-tab-indicator-position-bottom .dx-tab::after {  
  height: 3px;
}

  
  

#orderList .dx-datagrid .dx-row>td {
  padding: 0px; 
}

#orderList .dx-datagrid .dx-row-lines>td {
   border-bottom: 10px solid var(--bkgnd);
}
 
.radarCardSection{
  display:flex;
  width:100%; 
  justify-content: space-between;
}

.radarLabel{
  font-size: 14px;
  font-weight: 500;
}

.radarVal{
  font-size: 14px;
  font-weight: 500;
}

 

.quickFindButton:hover {
  background-color: rgb(72, 72, 72);

}


#usageGrid .dx-datagrid .dx-datagrid-header-panel .dx-toolbar {
  background-color: #fff;
}
#alertList .dx-datagrid .dx-row>td {
  padding: 0px;
}

.tagPill{
  display:flex;
  background: #c2daf4 ;
  padding: 4px;
  border-radius: 4px;
  margin: 2px 2px 2px 0px;
  height: 22px;
}
.tagPillFilter{
  display:flex;  
  padding: 4px;
  border-radius: 4px;
  margin: 2px 2px 2px 0px;
  height: 22px;
}
 
 .filterOn{
  color:var(--mmkr) !important;
  /* background-color: white; */
 }

 .filterForm{
  flex-direction: row !important;
 }

 .triplogCell  {
  border: 1px solid lightgrey;
  border-collapse: collapse;
  white-space: nowrap;
  padding: 3px;
}
.triplogTable {
   border: 1px solid lightgrey;
  border-collapse: collapse;  

}

.tripLogMarker{
  background: var(--mmkr);
  margin:5px;
  min-width:30px;
  max-width:150px;
  color:white;
  cursor: pointer;
  border-radius: 4px;
  padding-left:2px;
}

.tripLogHeader{
  min-width:90px;
  font-weight:600;  
  text-align:center;
  border: 1px solid lightgrey;
  padding: 3px;
}
 
.tripLogSelected{
  background: #4275f5 !important;  
} 
 
#crashList .dx-datagrid .dx-row>td {
  padding: 0px 0px 3px 0px;   
}

#crashList .dx-datagrid .dx-row-lines>td {
   border-bottom: 10px solid var(--bkgnd);
}

/* maps overlays */
/* google maps overlays - style overrides */

#radarMap .gm-style-iw {
  padding:0px;
  border-radius: 4px;
}
#radarMap .gm-style-iw-d {
  /*
  //ALID Added a max height here */
  overflow: hidden !important;
  max-height:450px !important;
}
#stolenMap .gm-style-iw {
  padding:0px;
  border-radius: 4px;
}
#stolenMap .gm-style-iw-d {
  overflow: hidden !important;
}
#tripMap2 .gm-style-iw {
  padding:0px !important;
  border-radius: 4px;
}
#tripMap2 .gm-style-iw-d {
  overflow: hidden !important;
}
.imageTileCont {
  position:relative;
  /* width:200px;  */
  min-width:200px;
  /* width:100%; */
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-neutral-100); 
  font-weight:400;
  /* margin: 5px; */
}
#fleetMap .imageTileCont {
  max-width:200px; /* Set max width for when on map */
  border-bottom:1px solid var(--color-neutral-200);
}

#fleetMap .infoCardContents {
  max-width:200px;
}

.imageTileImg {
  width:100%;
  aspect-ratio: 4/3;
  object-fit: fill;
}

.infoCardClose {
  position:absolute;
  width:24px;
  height:24px;
  display:flex;
  align-items: center;
  justify-content: center;
  top:8px;
  right:8px;
  background-color: var(--color-neutral-50);
  color: var(--color-neutral-700);
  border-radius: 50%;
  cursor: pointer;
}
/* This is for the trip area weather card */
.infoCardTop {
  width:100%;
  display:flex;
  align-items: start;
  justify-content: flex-end;
}
.infoCardClose.relative {
  position:relative;
}
.infoCardClose:hover {
  background-color: var(--color-neutral-100);
}
/* Info card */
.infoCardContents {
  background: var(--color-neutral-0);
  font-weight: 400;
  font-size:13px;
  position:relative;
}
#radarMap .infoCardContents {
  min-height:200px;
}

#tripMap2 .infoCardContents {
  padding-left:8px;
}
.infoCardColorStrip {
  position: absolute;
  top:0px;
  left:0px;
  bottom:0px;
  width:8px;
  background:grey;
}
.infoCardWrapper {
  border-radius: 4px;
}
.infoCardText {
  padding:6px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size:13px;
  text-wrap: auto;
  position: relative;
}

/* Specific for InfoWindow */
[role="dialog"] {
  max-height:none !important;
}
[role="dialog"] .infoCardText { 
  padding:8px;
}

.infoCardTextLarge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.infoCardText-KeyValues {
  display: flex;
  flex-direction: column;
  padding: 0px 0px;
  gap: 2px;
}
.KeyValue {
  width:100%;
  display:flex;
  place-content:space-between;
}
#tripMap2 .infoCardText {
  padding-top:0px;
}
.infoCardButton {
  background: var(--color-neutral-200);
  color: var(--color-neutral-800) !important;
  padding: 4px 8px;
  margin-top: 0px;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  font-size:13px;
  font-weight:500;
  width:100%;
  text-align: center;
}
.infoCardButton:hover {
  background: var(--color-neutral-300);
  color: var(--color-neutral-900) !important;
}
.infoCardStates {
  display:flex;
  gap:4px;
  background-color: var(--color-neutral-0);
  position: relative;
  top:0px;
  left:0px;
  padding:4px 0px;
  margin:0px 0px;
  border-radius: 8px;
}
.infoCardStateOutline {
  border: 2px solid var(--red);
  border-radius: 50%;
  width:24px;
  height:24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gm-style-iw-d {
  overflow: none;
}

.tileInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding:4px 0px 4px 0px;
}
.tileTitle{  
  font-weight: 600;  
}
.tileStatus{
  color:silver;
}


.product-item {
  position: relative;
  min-height: 30px;
}

.product-item .product-name {
  display: inline-block;
  padding-left: 50px;
  /* text-indent: 0;
  line-height: 30px;
  font-size: 15px; */
  width: 100%;
}

.product-item > img {
  left: 1px;
  position: absolute;
  top: 50%;
  margin-top: -11px;
  margin-left:5px;
}
/* tool tips */

.tooltip {
  position: relative;
  display: inline-block; 
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: rgb(211 225 254);
  color: #191919;
  text-align: center;
  border-radius: 5px;
  border:1px solid silver;
  padding: 2px 5px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltiptext.warning {
  border-color: var(--red);
  border-width:2px;
  background-color: white;
  color: var(--red);
  font-weight: 600; 
  left:0px;
  border-radius: 20px;
  font-size:14px;
  transition: width 0.1s ease-in-out;
  width:28px;
  overflow-x: clip;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  width: max-content;
}
.tooltiptext .icon {
  position:relative;
}
.assetNavImg {
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);  */
  border-radius: 3px;
  position: relative;
  left: -10px;
  object-fit: contain;
  width: 200px;
}

.reportDesc{
  padding-bottom: 10px;
  color:#0e548c;
  font-weight: 500;
}

.account-item{
  display: flex;
  align-items: center;
  padding-left: 3px;
}
.radarContent{
  padding:0px;
  
}
#radarDataList {
  padding:0px;
}

#radarDataList .dx-datagrid-headers {
  position:sticky;
  top:0px;
  z-index:2;
}
.radarContent .dx-tile {
  border-width: 0px;
  border-radius: 6px;
  overflow:hidden;
  height: 100% !important;
  flex: 1;
}

.badgeText {
  margin-right:4px;
}
.badgeNumber {
  background: #e2e2e2 !important;
  border-radius: 50%;
  height: 16px;
  color: #191919; 
  align-items: center;
  place-content: center;
  min-width: 15px;
  font-size: 10px;
  font-weight: 600;
  margin-left:4px;
  line-height:16px;
}

.fleet-marker-label-cluster{
  background-color: #191919;
  color:white;
  padding: 3px; 
  border-radius: 50%;

}

.mapToolBar{
  /* background: white;
  padding: 0px 10px;
  border-bottom:1px solid var(--color-neutral-200); */
    background: white;
    padding: 0px 10px;
    margin-left: 5px;
    margin-bottom: 5px;
    width: calc(100vw - 14px);
    border-radius: 8px;
    border-bottom: 1px solid var(--color-neutral-200);
}

.alertContent{
  width:200px;  
  display:none; 
  float: right;
  position: absolute;  
  right: 10px;   
  z-index:100;   
  top: 110px;
  background: #e2e2e2 !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
 
.lewImage{
  width:70px;
}

 

.summaryForm {
  padding:16px 16px 16px 16px !important;
}

.summaryForm .dx-layout-manager {
  height:100%;
}
.summaryForm:has(.summaryFormVehicle) {
  padding:0px 0px 0px 0px !important;
}
.summaryFormVehicle {
  flex:1;
  padding:16px;
}
.summaryFormLocation {
  flex:1;
  padding:16px;
  border-left: 1px solid var(--color-neutral-300);
}

.orderStatus {
    border-radius: 4px;
    color: white;
    text-align: center;
    font-weight:500;
    padding: 1px;
}

.waypointTable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid silver
}

.waypointTable td,
.waypointTable th {
  border: 1px solid silver;
}

.radio-group-frequency {
    position: relative;
    top: -10px;
}

.hover-text:hover {
    color: #7329B0;  
}

.radarMapSearchFilter{
      border-radius: 9px;
    margin: 3px 3px 3px 0px;
}
 
 
