@import "https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css";

:root {
  --main-bg-color: #1178bd;
  --white-bg-color: #FAFAFA;
  /*#1178bd;*/
  --secondary-bg-color: #06ADDB;
  --button-primary: blue;
  --button-primary-boarder: darkblue;
  --button-secondary: grey;
  --button-disabled: darkgrey;

  --selected-color: #a0c2ffbe;
}

.is-main-bg-color
{
  background-color: var(--main-bg-color);
}

.is-secondary-bg-color
{
  background-color: var(--secondary-bg-color);
}

.no-border
{
  border-width: 0px;
}

.is-fullwidth 
{
  width: 100% !important;
}

html,
body {
  overflow-y: hidden;
}

#side-bar {
  position: relative;
  /* color: white; */
  background-color: var(--white-bg-color);
  font-size: 18;
  /* height: 100%; */
}


#side-bar-tab {
  position: absolute;
  right: -1.75em;
  background-color: lightblue;
  border: black 2px solid;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  display: block;
  padding: 2.5em 0px;
  padding: auto;
  /* height: 5em; */
  z-index: 10000;
  width: 1.75em;
}

#detail-bar.balance {
  width: 22%;
}

#bal-details-selected {
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  position: sticky;
  bottom: -12px;
  background-color: var(--white-bg-color);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#bal-details-selected>div {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

#bal-details-selected>div>div {
  display: flex;
  flex-direction: column;
}

#bal-details-selected>.pane-table-label {
  display: flex;
  justify-content: center;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border-top: lightgrey 1px solid;
  border-right: lightgrey 1px solid;
  border-left: lightgrey 1px solid;
  width: 100%;
  background-color: lightblue;
  font-weight: normal;
}

.has-borders-rounded {
  border-radius: 3px;
}

/*Banner */

.banner {
  background-color: red;
  margin: .5rem;
  width: fit-content;
  border-radius: 5px;
  padding: 0rem 1rem;
  display: flex;
  align-items: center;
}

#bannerButton {
  background: transparent;
  border: transparent;
  padding: 3px;
  min-width: 1.5rem;
}

#bannerButtonIcon {
  font-size: 1.5rem;
  transition: .05s;
  /* color: #4A4A4A; */
}

.gap-1 {
  gap: .25rem !important;
}

.gap-2 {
  gap: .5rem !important;
}

.gap-3 {
  gap: .75rem !important;
}
.gap-4 {
  gap: 1rem !important;
}
.gap-5 {
  gap: 1.25rem !important;
}
.gap-6 {
  gap: 1.5rem !important;
}

/* TABS */

.tab-icon {
  padding: 4px;
  font-size: 20px;
}

.tab-title {
  background-color: var(--main-bg-color);
  color: #f3f3f3;
  border-top: 1px gainsboro solid;
  border-bottom-width: 0px;
  border-radius: 4px 4px 0 0;
  padding: 0.5em 1em;
  margin-top: -0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  cursor: grab;
}

.tab-title:hover {
  color: var(--secondary-bg-color);
  background-color: #fff;
}

.tab-page.dual {
  display: flex;
  height: 50%;

}

.tab-page {
  height: 100%;
  display: none;
  flex-direction: column;
  /* padding-left: 0.75rem; */
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

.tab-page.is-active {
  display: flex;
}

#tab-container {
  width: 2.8em;
  padding: 0px;
}

.tabs.is-boxed li a {
  opacity: 0.65;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.tab-label {
  writing-mode: tb-rl;
  transform: rotate(180deg);
  padding-top: 20px;
  padding-bottom: 10px;
}

.tabs.is-boxed li.is-active a span.tab-label {
  display: block;
}

.tabs.is-boxed li.is-active a {
  opacity: 1;
  color: var(--main-bg-color);
  background-color: var(--white-bg-color) !important;
  /* pointer-events: none; */
  cursor: grab;
  border: white 1px solid;
  border-right-color: transparent !important;
  /* border-bottom-color: white !important; */
}

/* .tabs.is-boxed li.is-active {
  border: white 1px solid;
  border-bottom-width: 2px;
  border-right-color: transparent !important;
} */

.tabs.is-boxed a:hover:not(li.is-active) {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.25);
  /* color: var(--main-bg-color); */
  border-color: transparent;
}

.tabs.is-boxed a {
  border-radius: 4px 0 0 4px;
}

.tabs {
  z-index: 200;
  box-shadow: none;
}

.tabs ul {
  display: block !important;
  border-bottom-color: transparent;
}

.pane-table-label .stoppedTruck {
  margin: 3px;
}

.legend-item>div {
  margin: 0.25rem;
}

/*  .legend-item div:first
 {
  display: flex;
  align-items: center;
  padding-right: .25rem;
 }
 */


/* 
.power-checkbox {
  font-size: .8em;
  display: flex;
} */
/* 
.b-checkbox {
  font-size: .8em;
  display: flex;
} */

/* .tab-page { */
/* padding-bottom: 0.75rem; */
/* overflow-y: scroll; */
/* } */

.mapContainer.is-10 {
  border-right: var(--main-bg-color) 0.75rem solid;
}

.modal {
  z-index: 4000;
}

#versionupdate-body-content h4 {
  margin-bottom: 0;
  /* margin-top: 1em; */
}
#versionupdate-body-content .content ul {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20
}

.material-symbols-outlined.filled {
  /* font-size: unset!important; */
  font-size: 1.25rem;
  font-variation-settings: 'FILL' 1,
'wght' 400,
'GRAD' 0,
'opsz' 24;
}

.button .icon:first-child:not(:last-child) {
  /* margin-left: calc(-.5em - 1px); */
  margin-right: 0!important;
}


.material-symbols-sharp {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

.material-small {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20
}

.material-modal-header {
  font-size: 31px;
}

body {
  margin: auto;
  height: 100vh;
  font-family: "Heebo", sans-serif;
}

.TitleBar {
  font-size: 2.5vh;
  font-weight: bold;
  color: white;
  background-color: var(--main-bg-color);
  justify-content: space-between;
}

.overflow-visible {
  overflow: visible;
}

.navbar {
  z-index: 4000;
}

.ThemeBG,
.navbar-menu,
.navbar-dropdown {
  color: white;
  background-color: var(--main-bg-color);
}

.navbar-divider {
  background-color: var(--secondary-bg-color);
}

.navbar-dropdown {
  border-top: 2px solid var(--secondary-bg-color);
}

.dropdown-menu
{
  z-index: 10 !important;
}

.navbar-item,
.navbar-burger,
.navbar-link {
  color: white;
}

.navbar-link:not(.is-arrowless)::after {
  border-color: white;
}

.navbar-link.is-active,
.navbar-link:focus,
.navbar-link:focus-within,
.navbar-link:hover,
a.navbar-item.is-active,
a.navbar-item:focus,
a.navbar-item:focus-within,
a.navbar-item:hover {
  background-color: #fafafa;
  color: #485fc7;
}

a:hover {
  color: #f3f3f3;
}

.navbar-link.is-active,
.navbar-link:focus,
.navbar-link:focus-within,
.navbar-link:hover,
a.navbar-item.is-active,
a.navbar-item:focus,
a.navbar-item:focus-within,
a.navbar-item:hover {
  background-color: var(--secondary-bg-color);
  color: #f3f3f3;
}

.navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link,
.navbar.is-link .navbar-item.has-dropdown:focus .navbar-link,
.navbar.is-link .navbar-item.has-dropdown:hover .navbar-link {
  background-color: var(--secondary-bg-color);
  color: #f3f3f3;
}

.nav-disabled {
  pointer-events: none;
  opacity: .65;
}

.TitleLogo {
  align-items: center;
  justify-content: center;
  height: 100%;
}

.TitleIcon {
  font-size: 3vh;
  margin-right: 0.3vw;
}

.footer-logo {
  font-variation-settings:
    'FILL' 1,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
  font-size: 15px;
  margin-right: 3px;
  margin-top: -1px;
}

.TitleBar a {
  color: white;
  cursor: pointer;
  text-decoration: none;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
}

.TitleBar a:hover {
  background-color: var(--secondary-bg-color);
  color: #f3f3f3;
  cursor: pointer;
  text-decoration: none;
}

.progress {
  border-radius: 4px;
}

.mt-05 {
  margin-top: .125rem !important;
}

.config-card {
  border: 1px solid lightgray;
  border-radius: 6px;
  /* background-color: #f9f9f9; */
  /* cursor: pointer; */
  padding: 0.5rem;
}
.config-card:hover {
  background-color: #f9f9f9;
}

.AuthUser {
  display: flex;
  align-items: center;
  font-size: 1.5vh;
  font-weight: normal;
}

#detail-title {
  font-size: 18;
  font-weight: bold;
}

/* context menu */
.map-context-menu {
  position: absolute;
  top: 0px !important;
  left: 0px !important;
}

.map-context-menu .leaflet-popup-content-wrapper {
  border-radius: 4px;
  border-top-left-radius: 0px;
  overflow: hidden;

}

.map-context-menu .leaflet-popup-tip-container {
  display: none;
}

.map-context-menu .leaflet-popup-content {
  margin: unset;
}

.map-context-menu .menu {
  font-size: 12px
}

.map-context-menu .menu-label {
  text-align: center;
  margin: 2px;
  pointer-events: none;
}

.map-context-menu .menu-list .disabled {
  color: gainsboro;
  pointer-events: none;
}

.map-context-menu .menu-list a:hover {
  background-color: #3695ff;
  color: white;
}


.DetailBar {
  text-align: center;
  border-left: gainsboro 1px solid;
  background-color: white;
  min-width: 8vh;
  flex-direction: column;
  overflow-y: auto;
}

.DetailBar table {
  table-layout: fixed;
}

#user-column {
  height: 100%;
  overflow-y: scroll;
}

.custFooter {
  /* margin: 0.5vh; */
  font-size: 10px;
  color: white;
  background-color: var(--main-bg-color);
}

.grid-overlap {
  display: grid !important;
  justify-content: center;
  align-items: center;
  justify-items: center;
  align-content: center;
}

.overlap {
  grid-area: 1 / 1 / 2 / 2;
}

.icon-overlap {
  filter: drop-shadow(1px -1px 0px white);
}

.icon-reverse {
  transform: rotate(180deg);
}

.UI {
  background-color: var(--main-bg-color);
  height: 100%;
  overflow-y: auto;
}

.MainContainer {
  height: 100%;
  margin: 0px;
  overflow: hidden;
}

#modal-filter .modal-card {
  position: relative;
  overflow: visible;
}

#modal-location-history .modal-card {
  position: relative;
  overflow: visible;
}

#filter-section {
  margin: 0rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: center;
  position: relative;
}

.Filter {
  font-weight: normal;
  /* padding: 0.15rem; */

}

.checkbox:hover {
  /* color: gainsboro; */
  color: unset;
  opacity: 0.8;
}

.DataList {
  display: flex;
  flex-direction: column;
  flex-grow: 1;  
  background-color: whitesmoke;
  color: var(--main-bg-color);
  overflow-y: scroll;
  overflow-x: scroll;
  height: 0;
  position: relative;
}

.asset {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  padding-left: 10px;
}

.asset:hover {
  background-color: lightgray;
}

.asset-name {
  font-weight: bold;
}

.asset-id {
  display: none;
}



.geofence-id {
  display: none;
}

.asset-ico {
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: -2px;
}

.asset-ico.tractor {
  background-image: url('./assets/images/Tractor Fill.png');
}

.asset-ico.trailer {
  background-image: url('./assets/images/Trailer Fill.png');
}

.asset-ico.map {
  background-image: url('./favicon.png');
  width: 1rem;
  height: 1rem;
}

.asset-driver {
  font-weight: normal;
  font-size: 12px;
  margin-left: 2px;
}

.display-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

#login-ehelper {
  word-break: break-word;
  word-wrap: break-word;
  max-width: fit-content;
}

#login-phelper {
  word-break: break-word;
  word-wrap: break-word;
  max-width: fit-content;
}

.SearchBar span {
  display: flex;
  align-items: center;
  /* color: white; */
  font-size: 20px;
}

.SearchBar input {
  flex-grow: 1;
  border-color: lightgray;
  border-width: 1px;
  border-style: solid;
  padding: 2px 6px;
  height: 28px;
}

#signInFade {
  display: none;
  align-items: center;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: var(--main-bg-color)6c;
  z-index: 10000;
  color: white;
  flex-direction: column;
  justify-content: space-evenly;
}

#signInBlock {
  position: absolute;
  background-color: var(--main-bg-color);
  z-index: 10000;
  display: flex;
  color: white;
  padding: 3vh;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  filter: drop-shadow(2px 2px 0.15rem black);
  margin: 20px;
}

#signInContent {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-weight: normal;
  justify-content: center;
}

#SignOut {
  display: none;
}

.btn {
  display: flex;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-small {
  padding: 1px 6px;
  margin: 3px;
}

.btn-primary {
  color: #fff;
  background-color: var(--button-primary);
  border-color: var(--button-primary-border);
}

.btn-secondary {
  color: #fff;
  background-color: var(--button-secondary);
  border-color: var(--button-secondary);
}

.btn-disabled {
  color: #fff;
  background-color: var(--button-disabled);
  border-color: var(--button-disabled);
  cursor: not-allowed !important;
  pointer-events: auto !important;
}

/* #mapid { 
height: 100%;
flex-grow: 1;
margin: 1px;
} */
.material-icons.md-64 {
  font-size: 64px;
}


.material-icons.md-16 {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' -25,
    'opsz' 20
}

.is-small .material-symbols-outlined
{
  font-size: 16px;
}

.my-div-icon {
  display: flex;
  align-items: flex-end;
  /* background-color: white; */
  -webkit-transition: transform 0.3s linear;
  -moz-transition: transform 0.3s linear;
  -o-transition: transform 0.3s linear;
  -ms-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
}

.asset-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.moving-icon {
  -webkit-transition: transform 0.3s linear;
  -moz-transition: transform 0.3s linear;
  -o-transition: transform 0.3s linear;
  -ms-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
}

.oldping {
  background-color: white;
}

.selected-div-icon {
  background-color: rgba(50, 146, 255, 0.5);
  border-radius: 1000px;
  box-shadow: -2px 0 rgb(50 146 255), 0 2px rgb(50 146 255),
    2px 0 rgb(50 146 255), 0 -2px rgb(50 146 255);
}

.moving-pin {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  width: 100%;
  /* filter: drop-shadow(2px 2px 0.15rem darkgray); */
  transform: translateY(-25%);
  /* transition: transform 0.3s linear; */
  margin: -1px;
  margin-bottom: 3px;
}

.route-point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px black solid;
  pointer-events: none !important;
}

.route-preview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  /* filter: drop-shadow(2px 2px 0.15rem darkgray); */
  /* transform: translateY(-25%); */
  /* transition: transform 0.3s linear; */
  margin: -1px;
  margin-bottom: 3px;
  pointer-events: none !important;
  transform-origin: center !important;
  opacity: 0.8;
}


.polygon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px black solid;
}

.polygon-round {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  color: white;
  border: 1px black solid;
  border-radius: 100px;
}

.white-polygon {
  background-color: white;
  border-radius: 0px;
}

.polygon-pin {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: white;
  height: 100%;
  width: 100%;
  transform: translateY(-25%);
  transition: transform 0.3s linear;
  margin: -1px;
  margin-bottom: 3px;
}

.w-100 {
  width: 100% !important;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-center-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.v-align-middle tr td,
.v-align-middle tr th {
  vertical-align: middle;
}

.action-row {
  cursor: pointer;
}

.faded {
  opacity: 50%;
}

.placeholder {
  opacity: 0.2;
}

.orangered {
  color: orangered;
}

.greenOrder {
  display: flex;
  justify-content: center;
  width: 15px;
  height: 15px;
  /* background-color: rgba(50, 146, 255, 1); */
  border: 2px solid black;
}

.balance-row {
  cursor: pointer;
}

.order-row{
  cursor: pointer;
}


.order-row span {
  display: flex;
  align-items: center;
}

.power-row{
  cursor: pointer;
}

.power-row span {
  display: flex;
  align-items: center;
}

.invert-img {
  filter: invert(1);
}

.truck-img {
  filter: invert(1) sepia(1) saturate(100) brightness(0.4) hue-rotate(150deg);
}

.truck-pin {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: blue;
  height: 100%;
  width: 100%;
  filter: drop-shadow(2px 2px 0.15rem darkgray);
  transform: translateY(-50%);
}

.trailer-cluster {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* color: red; */
  /* font-size: 10px; */
  height: 100%;
  width: 100%;
  /* filter: drop-shadow(1px 1px 0.1rem gray); */
  transform: translateY(-0%);
  background-color: rgba(110, 204, 57, 0.3);

  border-radius: 1000px;
}

.trailer-cluster-small {
  background-color: rgba(110, 204, 57, 0.5);
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 1000px;
  z-index: -1;
}

.trailer-cluster img {
  height: 32px;
  /* opacity: 0.8; */
}

.trailer-img {
  filter: invert(1) sepia(1) saturate(100) brightness(0.5) hue-rotate(50deg);
}

.trailer-pin {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: rgba(110, 204, 57, 1);
  height: 100%;
  width: 100%;
  filter: drop-shadow(2px 2px 0.15rem darkgray);
  transform: translateY(-50%);
}

.pin-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  /* border: 1px black solid; */
  background-color: rgba(255, 255, 255, 0.9);
}

.pin-point {
  margin-top: -0px;
  width: 0px;
  height: 0px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 20px solid rgba(255, 255, 255, 0.9);
}

.pin-body:before {
  width: 10px;
  bottom: 0;
  margin-bottom: -12px;
  border-top-color: white;
}

.trailer-number {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1px;
  background-color: rgba(250, 250, 250, 1);
  box-shadow: none;
  border: 0px;
}

.pin-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 3px;
  filter: drop-shadow(2px 2px 0.15rem darkgray);
  border: 0px;
  margin-bottom: -2000px;
  font-weight: normal;
}

/* 
.leaflet-tooltip-top:before {
  bottom: 0;
  margin-bottom: -25px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 20px solid transparent;    
}
.truck-label:before {
  bottom: 0;
   margin-bottom: -15px;
  border-top: 10px solid rgba(255, 255, 255, 1);    
} */

/* .leaflet-marker-pane>* {
  -webkit-transition: transform 0.3s linear;
  -moz-transition: transform 0.3s linear;
  -o-transition: transform 0.3s linear;
  -ms-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
} */

.hide {
  display: none;
}

.strike {
  text-decoration: line-through;
}

.selected {
  background-color: var(--selected-color) !important;
  /* #3390ff !important; */
  /* color: white !important; */
}

.selected-temp {
  /* background-color: #3390ff !important;
  color: white !important; */
  border: 2px solid #3390ff;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.begin-cap {
  background-color: gray;
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 2px;
}

.end-cap {
  background-color: gray;
  color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 2px;
}

.begin-cap:hover,
.end-cap:hover {
  opacity: 0.8;
}

.driving-line {
  height: 30px;
  border-left: 2px dashed #3e8ed0;
  width: 0px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.5;
}

.moving-event:hover {
  /* color: #3e8ed0; */
  opacity: 0.75;
}

.stopped-event:hover {
  opacity: 0.9;
}

#filter-count {
  display: none;
}


.field.is-grouped.is-grouped-multiline>.control:last-child,
.field.is-grouped.is-grouped-multiline>.control:not(:last-child) {
  margin-bottom: 3px;
}

.field.is-grouped.is-grouped-multiline>.control:last-child {
  margin-bottom: 3px;
  margin-right: 0;
}

.field.is-grouped>.control:not(:last-child) {
  margin-right: 3px;
}

#filter-list .asset-ico {
  height: 20px;
  width: 20px;
  image-rendering: -webkit-optimize-contrast;
}

abbr[title] {
  text-decoration: unset;
}

.pop-up-line {
  display: flex;
  align-items: flex-start;
  align-content: center;
}

.pop-up-icon {
  width: 1rem !important;
  height: 1rem !important;
  min-width: unset;
  max-width: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.25rem;
  margin-left: -0.25rem;
}

.warning-text {
  color: darkorange;
}

.leaflet-control-container {
  width: 100%;
}

.leaflet-geosearch-bar {
  margin-top: -2px;
  margin-right: 48px;
  margin-left: 48px;
  /* width: 100%; */
  /* max-width: 400px; */
}

/* .header-cell {
  font-size: 0.9rem
} */

.is-size-8 {
  font-size: 0.7rem;
}



i.rti-logo {
  height: 16px;
  opacity: 0.75;
  background-image: url("./assets/images/rti_white.png");
  /* flex-grow: 1; */
  background-size: auto 14px;
  background-repeat: no-repeat;
  background-position: center center;
  aspect-ratio: 161 / 58;
  image-rendering: auto;
}

i.rti-logo.small {
  height: 10px;
  background-size: auto 9px;
}

i.tli-logo {
  height: 16px;
  opacity: 0.75;
  background-image: url("./assets/images/tli_white.png");
  /* flex-grow: 1; */
  background-size: auto 14px;
  background-repeat: no-repeat;
  background-position: center center;
  aspect-ratio: 110 / 61;
  image-rendering: auto;
}

i.tli-logo.small {
  height: 10px;
  background-size: auto 9px;
}


.block {
  display: block;
}

.ellipses {
  overflow: hidden !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}





/* tooltips */
.tutorial-cover {
  z-index: 10000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.tutorial-text {
  color: white;
  margin-top: 1rem;
  pointer-events: none;
}

.darken {
  /* background-color: rgba(0, 0, 0, 0.4); */
  filter: brightness(0.5);
}

.highlight-red {
  outline: 2px red solid;
  z-index: 499;
  animation: pulse 2s infinite;
}

.is-fullheight {
  height: 100%;
}

.embed-icon-div {
  margin-left: -1.05rem;
  margin-top: -1.75rem;
}

.embed-icon {
  font-size: 2.25rem;
  margin: 5px;
}

/* .embed-icon-pin {
  margin-top: -4rem !important;
} */

.embed-icon-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.embed-icon-text-white {
  font-weight: 900;
  color: white;
  -webkit-text-stroke: 2px black;
  -webkit-font-smoothing: antialiased;
}

/*   text-shadow:
  3px 3px 0 #000,
  -3px 3px 0 #000,
  -3px -3px 0 #000,
  3px -3px 0 #000;
} */

.embed-map-pin-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 3px;
  filter: drop-shadow(2px 2px 0.15rem darkgray);
  border: 0px;
  margin-bottom: -2000px;
  font-weight: normal;
}

.embed-unit-pin-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 3px;
  filter: drop-shadow(2px 2px 0.15rem darkgray);
  border: 0px;
  margin-bottom: -2000px;
  font-weight: normal;
}


.stops-progress {
  width: 10% !important;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  padding: 0 !important;
  justify-content: center;
  text-align: center;
  display: flex;
  align-items: center;
}

.stops-progress-bar {
  width: 25%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 37.5%;
  background-color: #e0e0e0;
}

.stops-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--main-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #c4c4c4;
  z-index: 1;
}

.stop-message {
  padding: 0;
  margin: 0 0 1.5rem 1rem;
}


[data-tutorial-top]::before {
  content: ' ';
  position: absolute;
  top: -1.3rem;
  left: 48%;
  width: 2%;
  height: 3rem;
  border: 1rem solid white;
  border-color: white transparent transparent transparent;
  z-index: 502;

}

[data-tutorial-top]::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: attr(data-tutorial-top);
  position: absolute;
  top: -4rem;
  left: 5%;
  width: 90%;
  /* height: 3.5rem; */
  background-color: white;
  font-weight: bold;
  filter: drop-shadow(2px 4px 6px black);
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  animation: pulse 2s infinite;
  padding: 10px;
  text-align: center;
  z-index: 501;
}

[data-tutorial-none]::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: attr(data-tutorial-none);
  position: absolute;
  top: 3.5rem;
  background-color: white;
  font-weight: bold;
  filter: drop-shadow(2px 4px 6px black);
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  animation: pulse 2s infinite;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  pointer-events: none;
  z-index: 501;
  color: rgba(0, 0, 0, 0.7);
}

[data-tutorial-bottom]::before {
  content: ' ';
  position: absolute;
  top: 0.5rem;
  width: 2%;
  height: 3rem;
  border: 1rem solid white;
  border-color: transparent transparent white transparent;
  z-index: 1;
  pointer-events: none;
  z-index: 502;
}

[data-tutorial-bottom]::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: attr(data-tutorial-bottom);
  position: absolute;
  top: 3.5rem;
  /* left: 15%; */
  width: 90%;
  min-width: 15rem;
  max-width: 20rem;
  white-space: break-spaces;
  /* height: 3.5rem; */
  background-color: white;
  font-weight: bold;
  filter: drop-shadow(2px 4px 6px black);
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  animation: pulse 2s infinite;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  pointer-events: none;
  z-index: 501;
  color: rgba(0, 0, 0, 0.7);
}

[data-tutorial-left]::before {
  content: ' ';
  position: absolute;
  top: 0.5rem;
  width: 2%;
  height: 3rem;
  border: 1rem solid white;
  border-color: transparent transparent white transparent;
  z-index: 1;
  pointer-events: none;
  z-index: 502;
}

[data-tutorial-left]::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: attr(data-tutorial-left);
  position: absolute;
  top: 3.5rem;
  /* left: 15%; */
  /* width: 70%; */
  /* height: 3.5rem; */
  background-color: white;
  font-weight: bold;
  filter: drop-shadow(2px 4px 6px black);
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  animation: pulse 2s infinite;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  pointer-events: none;
  z-index: 501;
  color: rgba(0, 0, 0, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* end toolips */








/* desktop only */
@media screen and (min-width: 768px) {

  #filter-field {
    max-width: 200px;
  }

}

/*from tablet down*/
@media screen and (max-width: 768px) {
  #custom-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .touch-fullwidth {
    width: 100% !important;
    margin-bottom: 0.25rem !important;

  }


  /* #tabs-filters-container
{
  height: 100%;
}
 */
  .TitleBar {
    height: auto;
    border-bottom: var(--secondary-bg-color) 1px solid;
  }


  .SideBar.MenuOpen {
    height: 0%;
  }

  .mapContainer.not-embed-mode {
    height: 75%;
  }

  .detailsContainer {
    height: 0%;
    border-right-width: 0px;
    border-left-width: 0px;
    border-top: 1px gainsboro solid;
  }

  .detailsContainer.hasDetails {
    height: 25%;
  }

  .mapContainer.hasDetails {
    height: 50%;
  }

  .mapContainer.MenuOpen {
    height: 100%;
  }

  .mapContainer.is-10 {
    border-right-width: 0px;
  }

  #filter-list.field.is-grouped.is-grouped-multiline {
    flex-wrap: nowrap !important;
    overflow-x: scroll;
  }

}


/* font reduction for at or less than 1080p */
@media screen and (max-width: 1921px) {

  #asset-details,
  #filter-section {
    font-size: 0.9rem
  }

  #asset-actions-container .button {
    font-size: 0.9rem
  }

  #expirations-container .message {
    font-size: 0.9rem
  }

}

/* pane size increase for at or less than 1080p desktops */
@media screen and (max-width: 1921px) and (min-width: 769px) {

  .MainContainer .column.is-8 {
    width: 64%;
  }

  .MainContainer .column.is-2 {
    width: 18%;
  }

  .MainContainer .column.is-10 {
    width: 82%;
  }

}