/*#region General */
body {
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px !important;
}
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: none;
  padding: 3px;
  margin-left: 0.5rem;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  display: inline-block;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  display: inline-block;
}
.spinner-wrap {
  width: 100%;
  height: 100%;
}
.logix-base-font-size {
  font-size: 12px !important;
}

.force-h5 {
  font-size: 1.25rem !important;
}

nav,
nav span,
nav a,
nav p,
button,
th,
#device-select,
a {
  font-size: 14px !important;
}

p,
span,
td,
div,
select,
input,
li {
  font-size: 12px !important;
}

.logix-bg-color {
  background-color: #34c3fd;
}

.logix-color {
  color: #34c3fd;
}

.hover-modal:hover {
  color: #212529;
}

main {
  float: right;
}

header {
  border-bottom: solid white 1rem;
  margin-bottom: 0.09rem;
}

header nav {
  height: inherit;
}

.navbar {
  z-index: 2;
}

.navbar-info-user {
  font-size: 0.85rem;
}

.nav-item > p {
  color: rgba(255, 255, 255, 0.5) !important;
  padding: 0 !important;
  margin: 0;
}

.nav-item > p > a {
  padding: 0 !important;
}

.col-md-2 {
  padding-left: 0px;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  padding-right: 15px;
}

#navbar-page {
  width: 100%;
}

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
  width: 100%;
}

/* QR code generator */
#qrCode {
  margin: 15px;
}

.font-size-4 {
  font-size: 4rem !important;
}

.font-size-2 {
  font-size: 2rem !important;
}

.font-size-1-5 {
  font-size: 1.5rem !important;
}

.font-size-07 {
  font-size: 0.7rem !important;
}

.h-fit-content {
  height: fit-content;
}

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

#btn-cookie-accept {
  background-color: black;
  color: white;
  border: solid 1px white;
}

.cursor-pointer {
  cursor: pointer;
}

.form-control-select {
  display: inline-block;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#search-icon-container > button {
  color: #34c3fd;
}

#search-icon-container > button:hover {
  color: white;
}

.overflow-x {
  overflow-x: auto;
}

.min-w-100 {
  min-width: 100% !important;
}

#legend div {
  display: flex;
  margin-bottom: 1rem;
  user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}

#legend div > span {
  align-self: center;
}

#legend img {
  margin-right: 4px;
}

.disable-select {
  user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}
/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none;
  }
}

.tab {
  font-weight: bold;
  color: gray;
}
.h-100-overfow-y {
  height: 100%;
  overflow-y: auto;
}

.fixed-header th {
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
  z-index: 2;
  background-color: #fff;
  margin-top: 20px;
}

legend {
  display: block;
  width: auto;
  padding: 0 5px;
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
  border: auto;
  border-bottom: none;
}

fieldset {
  border: 2px groove threedface;
  padding: 5px;
}
.modal-header {
  text-align: center;
  display: block;
}

.nav-link.disabled {
  pointer-events: all;
  cursor: not-allowed;
}
button[disabled] {
  pointer-events: all;
  cursor: not-allowed;
}
.invalid-feedback {
  white-space: normal;
}

/*#region Custom scrollbar */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: 0 0;
}

::-webkit-scrollbar-thumb {
  background: #929292;
  border-radius: 4px;
  border: 1px solid #d7d7d7;
}

::-webkit-scrollbar-track-piece {
  background: #d7d7d7;
}

#map-table-container {
  position: absolute;
  bottom: 25px;
  left: 20px;
  height: 250px;
  width: 90%;
  background-color: white;
  border: solid 1px rgba(128, 128, 128, 0.5);
  border-radius: 6px;
}
#navbar-page .btn {
  color: #212529;
}
/*#endregion */

/*#endregion */

/*#region SIDE BAR */

/*#region Closed submenu icon */
#sidebar-container
  .list-group
  .list-group-item[aria-expanded="false"]
  .submenu-icon::after {
  content: " \f0d7";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  margin-left: 10px;
}
/*#endregion */

/*#region Opened submenu icon */
#sidebar-container
  .list-group
  .list-group-item[aria-expanded="true"]
  .submenu-icon::after {
  content: " \f0da";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 10px;
}
/*#endregion */

.submenu-icon {
  width: 7px;
}
.submenu-item {
  margin-left: 0;
  padding-bottom: 5px !important;
  padding-top: 5px !important;
  height: 100%;
}

.main-sidebar-item {
  background-color: #343a40;
}

.main-sidebar-item:hover {
  background-color: #1d2124;
}

.main-sidebar-item:focus {
  background-color: #343a40;
}

#body-row {
  margin-left: 0;
  margin-right: 0;
}

#sidebar-container {
  /*min-height: 100vh;*/
  background-color: #333;
  padding: 0;
}

/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
  /*width: 230px;*/
  width: 100%;
}

.sidebar-collapsed {
  width: 60px;
}
.sidebar-width {
  width: 250px !important;
}

.navbar-zindex {
  z-index: 12000 !important;
}
/*#region Menu item */

#sidebar-container .list-group a {
  height: 35px;
  color: white;
}

#sidebar-css {
  padding: 0;
}

.main-sidebar-item {
  padding: 0.25rem 0.5rem 0 0.5rem;
}

/*#endregion */

/*#region Submenu item */
#sidebar-container .list-group .sidebar-submenu a {
  height: 35px;
  padding-left: 30px;
}

.sidebar-main-item {
  font-size: 14px;
}

/*#endregion */
/*#endregion */

/*#region Separators */
.sidebar-separator-title {
  background-color: #333;
  height: 35px;
}

.sidebar-separator {
  background-color: #333;
  height: 25px;
}

.logo-separator {
  background-color: #333;
  height: 60px;
}

/*#endregion */

/*#region Login Mobile Modal */

#mobileUser .modal-header {
  text-align: center;
  display: block !important;
}

#mobileUser .modal-body {
  text-align: center;
}

#mobileUser #modal-img-container {
  margin: auto;
  text-align: center;
}

#modal-img-container > img {
  max-width: 80%;
  height: auto;
}

#modal-main-button {
  background-color: #34c3fd;
  pointer-events: auto;
  margin: 0 auto;
}

#continueDesktop {
  color: #34c3fd;
  font-weight: 600;
}

.vertical-alignment-helper {
  display: table;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.vertical-align-bottom {
  display: table-cell;
  vertical-align: bottom;
  pointer-events: none;
}

/* .modal-content {
    width: inherit;
    max-width: inherit;
    height: inherit;
    margin: 0 auto;
    pointer-events: all;
} */

.modal-text {
  font-weight: 600;
}

.modal {
  overflow-y: auto;
}
/*#endregion */

/*#region HERE MAPS */

#panel {
  width: 100%;
  height: 400px;
}

.controlMap {
  background-color: blue;
  width: 200px;
  height: 200px;
}

.page-nav-button {
  background-color: rgb(52, 58, 64);
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 12px;
  color: white;
}

.page-nav-button:hover {
  background-color: #1d2124;
}

.page-nav-button:focus {
  background-color: rgb(52, 58, 64);
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 12px;
  color: white;
}

.caret-off::before {
  display: none;
}

.caret-off.dropdown-toggle::after {
  display: none;
}

#all-assets-modal-body, #all-assets-map-modal-body, #assign-groups-modal .modal-body {
  text-align: left;
  padding: 0;
}

#all-assets-modal-header, #all-assets-map-modal-header, #assign-groups-modal .modal-header {
  padding: 0;
}

.all-assets-modal-container {
  padding-bottom: 0.8rem;
  padding-top: 0.8rem;
}

.all-assets-modal-device {
  margin: 0;
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
}

.all-assets-modal-device p {
  margin: 0;
}

.all-assets-modal-device > img {
  display: inline-block;
}

#all-assets-modal-search-div, #all-assets-map-modal-search-div, #assign-groups-modal-group-search-div, #assign-groups-modal-asset-search-div, #bind-trackingdevice-modal-search {
    margin: 1.5rem 0 1.5rem 1.5rem;
    padding-right: 3rem;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#all-assets-modal-search-div input, #all-assets-map-modal-search-div input, #assign-groups-modal-group-search-div input, #assign-groups-modal-asset-search-div input, #bind-trackingdevice-modal-search input {
    width: 100%;
    margin-right: 0.7rem;
    height: auto;
    font-size: 1rem !important;
}

.fa-search,
.fa-times {
  font-size: 2rem;
}

#all-assets-modal-search-button,
#all-assets-modal-cancelsearch-button,
#all-assets-map-modal-search-button,
#all-assets-map-modal-cancelsearch-button,
#assign-groups-modal-group-search-button,
#assign-groups-modal-group-cancelsearch-button,
#assign-groups-modal-asset-search-button,
#assign-groups-modal-asset-cancelsearch-button,
#bind-trackingdevice-modal-search-search-button,
#bind-trackingdevice-modal-search-cancelsearch-button {
    color: #34c3fd;
    font-size: 20px !important;
    padding: 10px;
}

#all-assets-modal-search-button:hover,
#all-assets-modal-cancelsearch-button:hover,
#all-assets-map-modal-search-button:hover,
#all-assets-map-modal-cancelsearch-button:hover{
  color: #333;
  cursor: pointer;
}

.modal-p {
  color: #333;
}

.modal {
  z-index: 10999 !important;
}

.device-name {
  /*font-weight: 600;*/
  /*text-decoration: underline !important;*/
}
/*.device-name:hover {
    text-decoration: none !important;
    cursor: pointer !important;
}*/

.all-assets-piniconblue img {
  padding-right: 5px;
  height: 21px;
}

.all-assets-device-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.all-assets-device-container:hover {
  /*box-shadow: 0 0 20px 0;*/
  transition: box-shadow 100ms;
  box-shadow: 0 0 0 0px, 0 0 20px 0px;
  cursor: pointer;
}

.all-assets-device-container > img {
  margin-right: 1.5rem;
}

.infobubble {
  white-space: nowrap;
}

.infobubble-name {
  font-size: 1.3em !important;
  font-weight: bolder;
}

.infobubble-assetinfo {
  width: 100%;
}

.modal-close {
  margin: -1rem !important;
  padding: 1rem !important;
}

#icon-container {
  width: 50px;
  background-color: #e3e3e3;
  /*padding:10px;*/
  border-radius: 5px;
}

.asset-info-container > div > div {
  text-align: left;
  /*border-bottom: solid #808080 2px;*/
}

/*.asset-info-container > div > div:last-child {
    border-bottom: none;
}*/

.asset-info-container > div > h5 {
  text-align: left;
  margin-top: 1vh;
}

.asset-info-container > div > div > span:first-child {
  display: inline-block;
  width: clamp(136px, 8.5vw, 272px);
  font-size: clamp(16px, 0.8vw, 32px);
}

.all-assets-goarrow,
.all-assets-goarrow-red {
  background-color: #e3e3e3;
  border-radius: 5px;
  padding: 5px;
}

.all-assets-goarrow:hover,
.all-assets-goarrow-red:hover {
  transition: box-shadow 150ms;
  box-shadow: 0 0 0 0, 0 0 5px 0;
}

.collapsing {
  -webkit-transition: none;
  transition: none;
  display: none;
}

.H_ib_body {
  margin-bottom: 2.5rem !important;
}

.H_ib_tail::after {
  margin-bottom: 2.5rem !important;
}

/*#region Address Lookup*/

#address-lookup {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto;
  width: 20vw;
  z-index: 3;
}

#address-lookup form {
  margin: 0;
}

#address-lookup-results {
  width: auto;
  background-color: white;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

#address-lookup-results ul {
  padding: 0;
  margin: 0;
  overflow: auto;
  max-height: 30vh;
}

#address-lookup-results ul li {
  list-style: none;
  padding: 3px 2px 3px 2px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  width: 100%;
}

#address-lookup-results ul li .result-number {
  color: #34c3fd;
  padding: 0 2px 0 2px;
}

#address-lookup-results li:hover {
  background-color: #f2f2f2;
}
#address-lookup-collapse-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/*#endregion*/

/*#endregion */

/*#region MyAssets */

#myassets-icon-container {
}

.search-cancel-sm {
  color: #34c3fd;
  border-radius: 5px;
  background-color: #e3e3e3;
  cursor: pointer;
}

.search-cancel-sm span {
  padding: 5px;
  width: 24px;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

#myassets-icon-container:hover {
  color: white;
}

#myassets-search-li > span,
#myassets-search-li > input {
  margin-right: 1rem;
}

#myassets-search-li > select {
  margin-right: 2rem;
}

.box-shadow-asset-info {
  transition: box-shadow 1000ms;
  box-shadow: 0 0 0 0px, 0 0 100px 0px;
}

/*#endregion */

/*#region History */
#trips-explorer {
  position: absolute;
  top: 5px;
  left: 20px;
  margin-right: 0;
  width: 15vw;
  z-index: 2;
}

#history-asset-info {
  background-color: white;
  position: fixed;
  right: -100%;
  top: 200px;
  width: 18%;
  padding: 2rem;
  border: solid 1px rgba(128, 128, 128, 0.5);
  border-radius: 6px;
}
#trajets-container-div {
  border-right: solid 1px rgba(128, 128, 128, 0.5);
  padding-bottom: 1rem;
  padding-left: 1rem;
}
.trajet-container {
  border-bottom: 2px solid #dee2e6;
}

.center-in-map {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  color: white;
}

.center-in-map > div {
  position: absolute;
  width: fit-content;
  height: fit-content;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#history-search-button {
  /*    color: #34c3fd;
    padding: 5px;
    border-radius: 5px;
    background-color: #e3e3e3;
    cursor: pointer;*/
}

#history-search-button:hover {
  color: white;
}

/*#endregion */

/*#region Zones */
#edit-zone {
  background-color: white;
  position: absolute;
  z-index: 3;
  right: -18vw;
  /* right: 20px; */
  /* top: 200px; */
  top: 10px;
  width: 18vw;
  padding: 0;
  /* border: solid 1px rgba(128, 128, 128, 0.5); */
  border-radius: 6px;
}

.zone-gfx-element-square {
  width: 20px;
  height: 20px;
}

.ui-menu, .ui-autocomplete, .ui-front {
    z-index: 99999 !important;
}
/*#endregion */

/* #region Support*/
#support-send-form label,
#support-send-form button,
#support-send-form input {
  font-size: 17px !important;
}

/* #endregion */
