body {
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica !important;
  margin: 0px !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.leaflet-container,
.leaflet-container.leaflet-tooltip-pane {
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica !important;
}

#navbar {
  position: relative !important;
  background-color: #4A4A4A;
  width: 100%;
}

.light-theme #navbar {
  background-color: #FFF !important;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1) !important;
}

div.brand-logo {
  height: 29px !important;
  width: 108px !important;
  background-image: url(img/logo_apirasol_white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: 0px !important;
  margin-right: 6px;
}

div.brand-logo-custom {
  height: 29px !important;
  padding: 0px 0px 0px 0px !important;
  top: -14px !important;
  position: relative !important;
  margin-right: 8px;
}

div.brand-logo-custom img {
  height: 46px !important;
}

@media (max-width: 768px) {
  div.brand-logo,
  div.brand-logo-custom
  div.brand-logo-custom img {
    height: 22px !important;
  }
}

#navbar .navbar-content {
  float: left;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  width: 100%;
  display: block;
}

@media (max-width: 1260px) {
  #navbar .navbar-content {
    font-size: 16px !important;
  }
}

.report-experience-message {
  display: none;
}

@media (max-width: 390px) {
  .report-experience-message {
    /* right: -8%; */
    min-width: 160px !important;
  }
}

/* Extra small devices (portrait phones, landscape phones) */
@media (max-width: 768px) {
  .report-experience-message {
    display: block;
    position: absolute;
    z-index: 1000;
    text-align: initial;
    background: white;
    opacity: 0.9;
    font-size: 24px;
    border: 1px solid #e7e7e7;
    border-radius: 15px;
    font-size: 14px;

    margin-right: 50px;
    margin-left: 50px;
    min-width: 300px;
    padding: 15px;
  }

  .report-experience-message .strong-text {
    font-weight: 600;
  }

  .btn-default {
    background: #055F5B;
    border-radius: 100px;
    color: #FFF;
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 22px;
    align-self: center;
    border: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 45px;
    padding-left: 45px;
    margin-top: 10px;
    text-decoration: none;
  }

  .report-experience-message .message-area {
    display: flex;
  }

  .report-experience-message .message-area button {
    background: none;
    border: none;
    align-self: start;
  }

  .report-experience-message .message-area .message-content {
    margin-right: 5px;
  }

  .report-experience-message .brand-protection ul {
    list-style: none;
    padding: 0px;
  }

  .report-experience-message .brand-protection li {
    display: flex;
    align-items: baseline;
    font-size: 18px;
    margin-bottom: 5px;
  }

  .report-experience-message .brand-protection .fa-check-circle {
    color: #055F5B;
    top: 0px;
    font-size: 20px;
    margin-right: 5px;
  }

  .report-experience-message .video-area {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
  }

  .container-shadow {
    opacity: 0.6 !important;
    background-color: #1D1D1B !important;
  }
}

.light-theme .navbar-content {
  color: #1D1D1B !important;
}

.light-theme div.brand-logo {
  background-image: url(https://graph.apirasol.com/logos/logo_apirasol@3x.svg);
  position: relative;
  top: -2px;
}

#navbar ul {
  margin-top: 24px;
  list-style-type: none;
  display: flex;
  justify-content: flex-start;
  padding-inline-start: 25px;
}

#navbar ul li {
  display: list-item;
  list-style: none;
  margin: 0 5px;
}

#navbar ul li.main {
  white-space: nowrap;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.899522px;
}

.navbar-mobile {
  display: none;
}

.navbar-desktop {
  display: block;
}

/* Extra small devices (portrait phones, landscape phones) */
@media (max-width: 768px) {
  .navbar-mobile {
    display: block;
  }

  .navbar-desktop {
    display: none;
  }

  #navbar ul {
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 0;
  }

  div.brand-logo {
    margin-top: 2px;
    margin-left: -8px !important;
  }

  #navbar ul li {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
  }

  #navbar ul li.main {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    font-size: 16px !important;
  }

  #navbar ul li.title {
    font-size: 14px !important;
  }

  #navbar ul li a {
    margin: 0;
    padding: 0;
  }
}

#navbar ul li.title {
  white-space: nowrap;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.899522px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#navbar ul li.divider {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 30px !important;
  width: 1px !important;
  background-color: #FFFFFF;
  position: relative;
  margin-left: 18px;
  margin-right: 18px;
}

.light-theme #navbar ul li.divider {
  background-color: #1D1D1B !important;
}

#navbar ul li:last-child {
  display: block;
  text-align: right;
  padding-right: 20px;
  font-weight: 400;
  justify-content: flex-end;

}

#navbar .inter {
  flex: 1;
}

div.filters {
  display: none;
  font-family: 'IBM Plex Sans';
  margin-top: 6px;
  padding-left: 26px;
  padding-right: 26px;
}

div.filters .routeColorFilter.checkbox-display {
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 150px;
  border: 1px solid rgba(74, 74, 74, 0.4);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 5px;
}

div.filters .routeColorFilter.item-display {
  overflow-y: hidden;
  overflow-x: hidden;
  max-height: 150px;
  border: 1px solid rgba(74, 74, 74, 0.4);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 5px;
}

div.filters .routeColorFilter .select2 {
  border: 1px solid rgba(74, 74, 74, 0.4);
  border-radius: 8px;
  padding: 5px 10px;
  min-width: 250px;
}

div.filters .routeColorFilter .select2-selection.select2-selection--single {
  border: 0px;
}

div.filters .routeColorFilter .select2-selection li.select2-selection__choice {
  background-color: #FFF;
}

div.filters .routeColorFilter span.select2-container {
  padding: 2px 10px;
}

div.filters .routeColorFilter div.route-color {
  display: inline-block;
  margin-bottom: 3px;
}

div.filters .routeColorFilter div.route-color label {
  display: inline-block;
  margin: 0px 0px 0px 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

div.filters li.filter div.route-color label {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #1D1D1B;
}

div.filters li.filter div.route-color label .label-legend {
  opacity: 0.6;
}

div.filters li.filter h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #1D1D1B;
  opacity: 0.6;
}

div.filters .routeColorFilter div.route-color label span.label-color {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin: 0px 3px 0px 0px;
  position: relative;
  top: 2px;
}

.select2-container span.label-color {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin: 0px 3px 0px 0px;
  position: relative;
  top: 2px;
}

div.filters span.select2-selection.select2-selection--multiple {
  border: none !important;
}

div.filters .routeColorFilter div.route-color input[type=radio] {
  margin: 0 0 0 2px;
  position: relative;
  top: -4px;
}

.leaflet-top.leaflet-right .leaflet-control {
  margin-top: 9px;
  margin-right: 10px;
}

.leaflet-top.leaflet-right .leaflet-bar {
  background-color: #FFF;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.leaflet-top.leaflet-right a.leaflet-filters-control {
  border-bottom: unset;
  font-size: 18px;
  background-color: #FFF;
  color: #1D1D1B;
}

.leaflet-top.leaflet-right a.leaflet-filters-control.expanded {
  padding: 8px;
}

div.filters h1 {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.2px;
  margin-top: 0px;
  margin-bottom: 20px;
}

div.filters ul {
  margin-block-start: 0px;
  padding-left: 0px;
}

div.filters ul li {
  display: list-item;
  list-style: none;
  padding: 4px;
}

div.filters ul li label {
  margin-bottom: 8px;
}

div.filters ul li select {
  border: 1px solid rgba(74, 74, 74, 0.4);
  border-radius: 8px;
  padding: 10px 15px;
  min-width: 250px;
}

#main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: row;
}

/* Extra small devices (portrait phones, landscape phones) */
@media (max-width: 768px) {
  #marketing-sidebar {
    display: none !important;
  }

  #container {
    width: 100% !important;
    background-color: #1D1D1B !important;
  }
}

#marketing-sidebar {
  width: 0px;
  display: none;
}

.marketing-sidebar-enabled #marketing-sidebar {
  width: 320px;
  display: block;
}

#marketing-sidebar .marketing-content {
  padding: 30px 25px;
}

#marketing-sidebar .marketing-content .title {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.2px;
  color: #000000;
}

#marketing-sidebar .marketing-content ul {
  list-style-type: none;
  padding-left: 1.7em;
  text-indent: -1.1em;
  margin-left: 12px;
  margin-top: 20px;
}

#marketing-sidebar .marketing-content ul li {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  margin-bottom: 14px;
}

#marketing-sidebar .marketing-content ul li .bolder,
#marketing-sidebar .marketing-content div.long-text .bolder {
  font-weight: 700;
}

#marketing-sidebar .marketing-content ul li i {
  color: #1D766C;
  margin-right: 10px;
  font-size: 20px;
}

#marketing-sidebar .marketing-content .long-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  margin-top: 40px;
}

#marketing-sidebar .marketing-content .video {
  margin-top: 40px;
  position: relative;

}

#marketing-sidebar .marketing-content .video iframe {
  width: 100%;
  height: 100%;
  min-height: 155px;
}

#marketing-sidebar .marketing-content .learn-more {
  margin-top: 40px;
  width: 100%;
  text-align: center;
}

#marketing-sidebar .marketing-content .learn-more a {
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  height: 42px;
  background: #055F5B;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #FFFFFF;
}

#marketing-sidebar .marketing-content .learn-more a:hover {
  background: rgba(5, 95, 91, .8);
  text-decoration: none;
}

#container {
  width: 100%;
}

.marketing-sidebar-enabled #container {
  width: calc(100% - 320px);
}

.popover {
  background: #4A4A4A;
  color: #FFFFFF;

  font-size: 14px;
  font-weight: 600;
  position: absolute;
  top: -140px;
  min-width: 400px;
}

.popover .route-color-bar,
.sidebar-info .route-color-bar {
  padding: 8px;
  color: #FFF;
  font-size: 15px;
  font-family: IBM Plex Sans;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: calc(100% - 16px);
}

.middleArcMarker:hover {
  border: 1px solid white !important;
  box-shadow: 0 0 10px gray !important;
  border-radius: 50%;
  cursor: pointer;
}

.middleArcMarker.color-DA3C1A:hover {
  border: 1px solid #DA3C1A !important;
}

.middleArcMarker.color-1D9E1B:hover {
  border: 1px solid #1D9E1B !important;
}

.middleArcMarker.color-000:hover,
.middleArcMarker.color-000000:hover,
.middleArcMarker.color-BLACK:hover {
  border: 1px solid #000 !important;
}

.tracking-event-tooltip {
  padding: 0px !important;
  border: none !important;
  border-radius: 0px !important;
  background: #4A4A4A;
}

.tracking-event {
  background: #4A4A4A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  min-width: 200px;
  padding: 0px;
}

.tracking-event .main_details {
  margin-top: 0px !important;
}

.tracking-event .main_details td {
  padding: 4px;
}

.tracking-event .tracking-event-items {
  background-color: #FFFFFF;
  padding: 5px;
}

.tracking-event .tracking-event-items table {
  background-color: #FFFFFF;
  border: none;
  font-size: 12px;
  text-align: center;
  color: #444444;
  width: 100%;
  padding: 4px;
  border-collapse: collapse;
}

.tracking-event .tracking-event-items table th {
  padding-left: 5px;
  padding-right: 5px;
  color: #808080;
  font-size: 12px;
  font-weight: 400;
}

.tracking-event .tracking-event-items table tr {
  height: 28px;
  border: none;
}

.tracking-event .tracking-event-items table tr:nth-child(even) {
  background-color: #F5F5F5;
}

.tracking-event .tracking-event-items table td,
.tracking-event .tracking-event-items table th {
  font-size: 12px;
  font-weight: 400;
  border-right: solid 1px #D8D8D8;
  border-left: solid 1px #D8D8D8;
  padding-left: 3px;
  padding-right: 3px;
}

.tracking-event .tracking-event-items table td:first-child,
.tracking-event .tracking-event-items table th:first-child {
  border-left: none;
}

.tracking-event .tracking-event-items table td:last-child,
.tracking-event .tracking-event-items table th:last-child {
  border-right: none;
}

.tracking-event .tracking-event-items table td {
  white-space: nowrap !important;
}

.marketing-sidebar-enabled .popover {
  left: -320px;
}

table.main_details {
  color: #AFAFAF;
  font-family: "IBM Plex Sans";
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 16px;
  margin: 5px;
}

table.main_details td:last-child {
  color: #FFFFFF;
  padding-left: 4px;
}

div.transaction_details_wrapper {
  background-color: #FFFFFF;
  padding: 8px;
}

table.transaction_details {
  background-color: #FFFFFF;
  border: none;
  font-size: 12px;
  text-align: center;
  color: #444444;
  width: 100%;
  padding: 4px;
  border-collapse: collapse;
}

table.transaction_details th {
  padding-left: 5px;
  padding-right: 5px;
  color: #808080;
  font-size: 12px;
  font-weight: 400;
}

table.transaction_details tr {
  height: 28px;
  border: none;
}

table.transaction_details tr:nth-child(even) {
  background-color: #F5F5F5;
}

table.transaction_details td,
table.transaction_details th {
  font-size: 12px;
  font-weight: 400;
  border-right: solid 1px #D8D8D8;
  border-left: solid 1px #D8D8D8;
  padding-left: 3px;
  padding-right: 3px;
}

table.transaction_details td:first-child,
table.transaction_details th:first-child {
  border-left: none;
}

table.transaction_details td:last-child,
table.transaction_details th:last-child {
  border-right: none;
}

table.transaction_details td {
  white-space: nowrap !important;
}

/* truncate text at max length */
table.transaction_details td.product,
table.main_details td.product {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.description {
  display: none;
  padding: 20px 20px;
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid #4A4A4A;
}

.description>div {
  width: 95%;
}

div.loading {
  position: absolute;
  top: 50%;
  left: 45%;
  margin-top: -50px;
  margin-left: -50px;
  min-width: 300px;
  min-height: 100px;
  z-index: 1000;
  text-align: center;
  background: white;
  opacity: 0.9;
  color: #4A4A4A;
  font-size: 24px;
  border: 2px solid #4A4A4A;
  padding: 5px;
  font-size: 14px;
}

div.loading .loader {
  position: relative;
  left: 40%;
  border: 8px solid #f3f3f3;
  /* Light grey */
  border-top: 8px solid #4A4A4A;
  /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.sidebar-info {
  display: none;
  border: 1px solid #4A4A4A;
  z-index: 1200;
  min-width: 350px;
  height: 800px;
  position: absolute;
  top: 68px;
  left: 9px;
  padding: 4px;
  background: #4A4A4A;
  color: #FFFFFF;
}

#sidebar_control {
  float: right;
  margin-right: 3px;
  text-align: right;
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.sidebar-info .content {
  float: left;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.light-theme .sidebar-info {
  background: #FFFFFF !important;
  color: #1D1D1B !important;
  border: none !important;
  box-shadow: 24px 10px 10px 10px rgba(0, 0, 0, 0.1) !important;
}

.light-theme .sidebar-info table.main_details td:last-child {
  color: #1D1D1B !important;
}

#report_summary_control {
  cursor: pointer;
  white-space: nowrap !important;
  display: none;
}

/* Extra small devices (portrait phones, landscape phones) */
@media (max-width: 768px) {
  #report_summary_control {
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  #report_summary_control i {
    margin-left: 5px;
  }
}

div.error {
  display: none;
  position: absolute;
  top: 50%;
  left: 35%;
  margin-top: -50px;
  margin-left: -50px;
  min-width: 300px;
  min-height: 100px;
  z-index: 1000;
  text-align: center;
  background: white;
  opacity: 0.9;
  color: #4A4A4A;
  font-size: 24px;
  border: 2px solid #4A4A4A;
  padding: 5px;
  font-size: 14px;
}

div.error span {
  width: 160px !important;
  height: 80px !important;
  padding: 10px;
}

.filter label {
  font-size: 12px;
  display: block;
}

.filter select {
  width: 140px;
  text-overflow: ellipsis;
  display: block;
}