@import url("https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i");
.red, .error {
  color: #da4545;
}

.blue {
  color: #4071ca;
}

.green {
  color: #4d9e44;
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
@keyframes in-from-left {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes out-to-right {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes pulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
html, body {
  height: 100%;
}
html ::-webkit-scrollbar, body ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
html ::-webkit-scrollbar-thumb, body ::-webkit-scrollbar-thumb {
  background: #C8C8C8;
}
html ::-webkit-scrollbar-track, body ::-webkit-scrollbar-track {
  background: #fff;
}
html body, body body {
  scrollbar-face-color: #C8C8C8;
  scrollbar-track-color: #fff;
}

html {
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #333334;
}

h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

p {
  font-size: 16px;
  line-height: 25px;
}
p.left {
  text-align: left;
}
p.center {
  text-align: center;
}
p.right {
  text-align: right;
}

table {
  table-layout: fixed;
}

ul, ol {
  list-style: none;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

#error-page {
  position: absolute;
  top: 40%;
  left: 50%;
  max-width: 640px;
  padding: 0 30px;
  margin: 0 auto;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#error-page h1 {
  padding: 0 0 24px;
  text-align: center;
}
#error-page h2 {
  padding: 0 0 24px;
  text-align: center;
}
#error-page pre {
  width: 100%;
  overflow: auto;
}

#interior-page {
  max-width: 1024px;
  padding: 30px 30px 60px;
  margin: 0 auto;
}
#interior-page::after {
  display: block;
  content: "";
  clear: both;
}
#interior-page .header {
  position: relative;
  height: 64px;
  margin-bottom: 30px;
  border-bottom: 1px solid #f2f2f2;
}
#interior-page .header img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  height: 30px;
  width: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
#interior-page .header ul {
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
#interior-page .header ul li a {
  display: block;
  padding: 12px 0;
  color: black;
  text-decoration: none;
}
#interior-page .sidebar {
  width: 300px;
  box-sizing: border-box;
  padding: 0 30px 0 0;
  float: left;
}
#interior-page .sidebar ul li {
  border-bottom: 1px solid #f2f2f2;
}
#interior-page .sidebar ul li a {
  display: block;
  padding: 12px 0;
  color: black;
  text-decoration: none;
}
#interior-page .sidebar ul li.active a {
  font-weight: 500;
}
#interior-page article {
  max-width: 600px;
  float: left;
}
#interior-page article h1 {
  position: relative;
  padding: 20px 0 30px;
  font-size: 30px;
  font-weight: 400;
  line-height: 20px;
}
@media (max-width: 414px) {
  #interior-page article h1 {
    font-size: 20px;
    line-height: 18px;
  }
}
#interior-page article h2 {
  padding: 24px 0;
  font-weight: 700;
}
#interior-page article h3 {
  padding: 0 0 24px;
  font-weight: 700;
}
#interior-page article h4 {
  padding: 18px 0;
  font-weight: 700;
}
#interior-page article strong {
  font-weight: 900;
}
#interior-page article em {
  font-style: italic;
}
#interior-page article u {
  text-decoration: underline;
}
#interior-page article ul, #interior-page article ol {
  padding: 0 0 20px 40px;
}
#interior-page article ul li, #interior-page article ol li {
  padding: 0 0 12px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}
#interior-page article ul ul, #interior-page article ul ol, #interior-page article ol ul, #interior-page article ol ol {
  padding-top: 24px;
}
#interior-page article ul {
  list-style: square;
}
#interior-page article ol {
  list-style: decimal;
}
#interior-page article a {
  color: black;
  font-weight: 500;
  text-decoration: none;
}
#interior-page article table {
  margin: 0 0 20px;
  border-collapse: collapse;
}
#interior-page article table thead th {
  padding: 15px;
  border: 1px solid #d9d9d9;
  vertical-align: bottom;
  font-size: 14px;
  text-align: left;
  line-height: 24px;
}
#interior-page article table tbody td {
  padding: 15px;
  border: 1px solid #d9d9d9;
  vertical-align: top;
  font-size: 14px;
  line-height: 24px;
}
#interior-page article p, #interior-page article address {
  padding: 0 0 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

body#app main {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100vh;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 200px auto;
  grid-template-columns: 200px auto;
  grid-template-rows: auto;
  grid: auto/200px auto;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
@media (max-width: 768px) {
  body#app main {
    -ms-grid-columns: 200px auto;
    grid-template-columns: 200px auto;
    grid: auto/200px auto;
  }
}
@media (max-width: 614px) {
  body#app main {
    position: static;
    display: block;
    height: auto;
  }
}
body#app main.sidebar-collapsed {
  -ms-grid-columns: 54px auto;
  grid-template-columns: 54px auto;
  grid: auto/54px auto;
}
body#app main.sidebar-gone {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  grid: auto/1fr;
}

#content {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/span 1;
  background: #fff;
}
.sidebar-gone #content {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1;
}
#content h1 {
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 24px;
}
#content h1 small {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  margin-top: -3px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
#content h1 small.dashboard {
  background-image: url("../img/icons/home-gray.svg");
}
#content h1 small.districts {
  background-image: url("../img/icons/highrise-gray.svg");
}
#content h1 small.drivers {
  background-image: url("../img/icons/contractor-gray.svg");
}
#content h1 small.vehicles {
  background-image: url("../img/icons/truck-gray.svg");
}
#content h1 small.patrols {
  background-image: url("../img/icons/highway-gray.svg");
}
#content h1 small.team {
  background-image: url("../img/icons/multiple-users-silhouette-gray.svg");
}
#content h1 small.map {
  background-image: url("../img/icons/map-pin-gray.svg");
}
#content h1 small.data {
  background-image: url("../img/icons/folder-gray.svg");
}
#content h1 small.incidents {
  background-image: url("../img/icons/search-gray.svg");
}
#content h1 small.shifts {
  background-image: url("../img/icons/stopwatch-gray.svg");
}
#content h1 small.dispatch {
  background-image: url("../img/icons/headsets-with-microphone-gray.svg");
}
#content h1 small.fleets {
  background-image: url("../img/icons/truck-gray.svg");
}
#content h1 small.providers {
  background-image: url("../img/icons/provider-gray.svg");
}
#content h1 small.cloud {
  background-image: url("../img/icons/cloud-gray.svg");
}

#content-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto 1fr auto;
  -ms-grid-columns: auto;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: auto;
  height: 100vh;
}

#content-top {
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-row: 1/span 1;
  grid-column: 1/span 1;
}

#content-scroll {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  border-radius: 3px 0 0 3px;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-row: 2/span 1;
  grid-column: 1/span 1;
}
@media (max-width: 614px) {
  #content-scroll {
    overflow: visible;
  }
}

#inner-grid {
  position: relative;
  display: grid;
  grid: auto/auto 1fr;
  width: 100%;
  height: calc(100vh - 37px - 48px);
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  border-radius: 3px 0 0 3px;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-row: 2/span 1;
  grid-column: 1/span 1;
}
@media (max-width: 614px) {
  #inner-grid {
    height: auto;
  }
}
#inner-grid.single {
  grid: auto/1fr;
}

#inner-navigation {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #f2f2f2;
}
#inner-navigation nav ul li a {
  display: block;
  cursor: pointer;
  padding: 8px 48px 8px 18px;
  white-space: nowrap;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
}
#inner-navigation nav ul li a:hover {
  background: #e6e6e6;
}
#inner-navigation nav ul li.active a,
#inner-navigation nav ul li.active a:hover {
  color: #000;
  background: #d9d9d9;
}

#inner-content {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
}
@media (max-width: 614px) {
  #inner-content {
    min-height: calc(100vh - 90px);
    padding: 24px 20px;
    overflow: visible;
  }
}
#inner-content.no-pad {
  padding: 0;
}
@media (max-width: 614px) {
  #inner-content.no-pad {
    padding: 0;
  }
}
#inner-content h2 {
  padding-top: 0;
  padding-bottom: 24px;
  font-size: 22px;
  font-weight: 400;
}
#inner-content h2 strong {
  font-weight: 700;
}
#inner-content ul.list {
  list-style: disc;
  padding-left: 36px;
}
#inner-content ul.list li {
  padding: 0 0 12px;
}
#inner-content ul.list li a {
  color: #F7701E;
}

.archive {
  display: flex;
}
.archive .incident-search-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.archive .conditions {
  padding: 0;
}
.archive .datatable {
  width: 100%;
  margin-left: 20px;
}
.archive .datatable .filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.archive .datatable .filters button.small.secondary {
  margin-left: auto;
  width: auto;
}

#survey {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
}
@media (max-width: 614px) {
  #survey {
    max-width: 100%;
    padding: 32px 24px;
  }
}
#survey.loading {
  background-image: url(../img/loading.gif);
  background-size: 80px;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
}
#survey h1 {
  padding: 24px 0 54px;
  overflow: hidden;
}
#survey h1 span {
  display: block;
  float: left;
  width: 340px;
}
#survey h1 img {
  display: block;
  max-width: 134px;
  margin-top: 6px;
  height: auto;
  float: right;
}
#survey p {
  text-align: left;
  padding: 0 0 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
}
#survey .flash {
  padding: 14px;
  text-align: center;
  font-size: 12px;
}
#survey .links {
  padding: 0 0 0 12px;
  list-style: none;
}
#survey .links li {
  text-align: center;
}
#survey .links li a {
  color: #9B9B9B;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}
#survey .form {
  max-width: 100%;
}
#survey .form .field {
  padding: 6px 6px 18px;
}
#survey .form .field.underscore {
  margin-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}
#survey .form .field label {
  font-size: 16px;
  line-height: 25px;
  cursor: pointer;
}
#survey .form .field label.inline {
  display: inline-block;
}
#survey .form .field label.question {
  font-weight: bold;
}
#survey .form .field label input[type=radio] {
  margin-right: 12px;
}
#survey .form .field label small {
  display: block;
  padding-top: 10px;
  font-size: 14px;
}
#survey .form .field .field {
  padding-left: 60px;
  padding-right: 0;
  padding-bottom: 0;
}

.invoice-preview {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 430px 1fr;
  grid-template-columns: 430px 1fr;
  grid-gap: 60px;
  height: calc(100vh - 200px);
  box-sizing: border-box;
}
.invoice-preview .details table {
  width: 100%;
}
.invoice-preview .details table tr td textarea {
  height: 200px;
}
.invoice-preview .preview {
  position: relative;
  border: 1px solid #f2f2f2;
}
.invoice-preview .preview.loading::before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background-image: url(../img/loading.gif);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.invoice-preview .preview iframe {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.invoice-box {
  max-width: 800px;
  margin: auto;
  padding: 30px;
  border: 1px solid #eee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  line-height: 24px;
  font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  color: #555;
}

.invoice-box table {
  width: 100%;
  line-height: inherit;
  text-align: left;
}

.invoice-box table td {
  padding: 5px;
  vertical-align: top;
}

.invoice-box table tr td:nth-child(2) {
  text-align: right;
}

.invoice-box table tr.top table td {
  padding-bottom: 20px;
}

.invoice-box table tr.top table td.title {
  font-size: 45px;
  line-height: 45px;
  color: #333;
}

.invoice-box table tr.information table td {
  padding-bottom: 40px;
}

.invoice-box table tr.heading td {
  background: #eee;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.invoice-box table tr.details td {
  padding-bottom: 20px;
}

.invoice-box table tr.item td {
  border-bottom: 1px solid #eee;
}

.invoice-box table tr.item.last td {
  border-bottom: none;
}

.invoice-box table tr.total td:nth-child(2) {
  border-top: 2px solid #eee;
  font-weight: bold;
}

@media only screen and (max-width: 600px) {
  .invoice-box table tr.top table td {
    width: 100%;
    display: block;
    text-align: center;
  }
  .invoice-box table tr.information table td {
    width: 100%;
    display: block;
    text-align: center;
  }
}
/** RTL **/
.rtl {
  direction: rtl;
  font-family: Tahoma, "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
}

.rtl table {
  text-align: right;
}

.rtl table tr td:nth-child(2) {
  text-align: left;
}

.image-upload,
.photo-upload {
  max-width: 300px;
  margin-bottom: 24px;
}
.image-upload [type=file],
.photo-upload [type=file] {
  margin-bottom: 0;
}
.image-upload label,
.photo-upload label {
  display: block;
  padding: 0 0 14px;
}
.image-upload a.link-button,
.photo-upload a.link-button {
  display: block;
  padding: 12px 0 0;
  font-size: 14px;
  color: #F7701E;
  text-decoration: none;
  cursor: pointer;
}
.image-upload output,
.photo-upload output {
  display: block;
}
.image-upload output img,
.photo-upload output img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.image-upload output.has_image,
.photo-upload output.has_image {
  width: 200px;
  height: 85px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.image-upload.photo-upload output.has_image,
.photo-upload.photo-upload output.has_image {
  height: 200px;
}
.image-upload button,
.image-upload .button,
.photo-upload button,
.photo-upload .button {
  margin-bottom: 0;
}

.qr-code {
  padding: 24px;
  border: 1px solid #f2f2f2;
  border-radius: 3px;
}
.qr-code img {
  display: block;
  width: 150px;
  height: auto;
}
.qr-code a {
  display: block;
  padding: 12px 0 0;
  color: #F7701E;
  text-decoration: none;
}
.qr-code.loading::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  background-image: url(../img/loading.gif);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.id-card {
  max-width: 300px;
  margin-bottom: 24px;
}
.id-card .card {
  position: relative;
  width: 257px;
  height: 391px;
}
.id-card .card img {
  position: absolute;
  display: block;
  width: 230px;
  height: 366px;
  top: 11px;
  left: 13px;
}
.id-card .card::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 257px;
  height: 391px;
  background-image: url(../img/id-card-template-cr80-frame.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.id-card a.link-button {
  display: block;
  padding: 12px 0 0;
  font-size: 14px;
  color: #F7701E;
  text-decoration: none;
  cursor: pointer;
}
.id-card .loading::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  background-image: url(../img/loading.gif);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.id-card-stack {
  position: relative;
}
.id-card-stack .id-card {
  position: absolute;
}
.id-card-stack .id-card:first-child {
  top: 0;
  left: 0;
}
.id-card-stack .id-card:last-child {
  top: 24px;
  left: 24px;
}

.loader {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  background-image: url(../img/loading.gif);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.eia {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 32px;
}
.eia td {
  vertical-align: top;
}
.modal .window.takeover .eia td {
  padding: 0 20px;
}
.modal .window.takeover .eia td:first-child {
  padding-left: 0;
}
.eia img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}
.eia h3 {
  font-size: 24px;
  font-weight: 500;
  padding-top: 0;
  padding-bottom: 6px;
}
.modal .window.takeover .eia h3 {
  padding-top: 0;
}
.eia small {
  display: block;
  font-size: 12px;
  line-height: 15px;
  max-width: 100px;
  white-space: normal;
  padding: 4px 0;
}
.eia .snapshots {
  padding: 4px 0;
}

.symbols .symbol {
  position: relative;
  display: inline-block;
  margin-right: 4px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 10px;
  cursor: pointer;
}
.symbols .symbol.active {
  border-color: #333334;
}
.symbols .symbol.large {
  width: 50px;
  height: 50px;
}
.symbols .symbol.large::after {
  width: 24px;
  height: 24px;
}
.symbols .symbol .symbol-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.symbols .symbol .symbol-icon.circle {
  mask-image: url(../img/icons/vehicle-shape-circle.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-circle.svg);
}
.symbols .symbol .symbol-icon.cross {
  mask-image: url(../img/icons/vehicle-shape-cross.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-cross.svg);
}
.symbols .symbol .symbol-icon.diamond {
  mask-image: url(../img/icons/vehicle-shape-diamond.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-diamond.svg);
}
.symbols .symbol .symbol-icon.hexagon {
  mask-image: url(../img/icons/vehicle-shape-hexagon.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-hexagon.svg);
}
.symbols .symbol .symbol-icon.square {
  mask-image: url(../img/icons/vehicle-shape-square.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-square.svg);
}
.symbols .symbol .symbol-icon.triangle {
  mask-image: url(../img/icons/vehicle-shape-triangle.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-triangle.svg);
}

.driver-icons {
  position: relative;
  height: 110px;
  padding: 12px;
  margin-top: 12px;
  border-top: 1px solid #f2f2f2;
  background: #f5f5f5;
  text-align: center;
}
.driver-icons .driver-icons-grid {
  display: grid;
  grid: 1fr/repeat(7, 1fr);
}
.driver-icons .driver-icons-grid .icon {
  text-align: center;
}
.driver-icons .driver-icons-grid .icon .driver-marker {
  display: inline-block;
  position: relative;
  margin: 0;
}

.incidentmap-table {
  width: auto !important;
  border: none !important;
}
.incidentmap-table td:last-child {
  padding-left: 14px;
}

.incident-details {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
}
@media (max-width: 930px) {
  .incident-details {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.incident-details.has_media {
  -ms-grid-columns: 1fr 1fr 300px;
  grid-template-columns: 1fr 1fr 300px;
}
@media (max-width: 930px) {
  .incident-details.has_media {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.incident-details table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto !important;
}
.incident-details table thead tr td {
  padding: 8px 12px;
  border-bottom: 1px solid #333334;
}
.incident-details table tbody tr td {
  font-size: 14px !important;
  padding: 4px 8px !important;
}
.incident-details table tbody tr td table {
  width: 100% !important;
  table-layout: fixed !important;
  margin: 0 !important;
}
.incident-details table tbody tr td td {
  padding: 0 2px !important;
}
.incident-details table tbody tr td td:first-child {
  padding-left: 0 !important;
}
.incident-details table tbody tr td td:last-child {
  padding-right: 0 !important;
}
.incident-details table tbody tr td td.center {
  text-align: center;
}
.incident-details table tbody tr:nth-child(even) td {
  background: #f2f2f2;
}
.incident-details .incident-map {
  position: relative;
  display: block;
}
.incident-details .incident-map .incidentmap {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  height: 300px;
  margin-bottom: 24px;
}
.incident-details .info {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 3px;
  border: 1px solid #e6e6e6;
}
.incident-details .info h3 {
  padding-bottom: 14px;
}
.incident-details .info h3::after {
  display: block;
  content: "";
  clear: both;
}
.incident-details .info h3 .info-buttons {
  float: right;
}
.incident-details .info table tr td {
  vertical-align: top;
  line-height: 1.6;
}
.incident-details .media .images {
  position: relative;
  height: 100%;
  background: #f2f2f2;
  border-radius: 12px;
  overflow-x: hidden;
  overflow-y: auto;
}
.incident-details .media .images .images-grid {
  display: grid;
  grid: 1fr/1fr;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
}
.incident-details .media .images .images-grid .image {
  position: relative;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #000;
}
.incident-details .media .images .images-grid .image .download {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  background-color: #000;
  background-image: url(../img/icons/download-white.svg);
  cursor: pointer;
}

.date-picker-wrap {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.date-picker {
  position: absolute;
  top: 100%;
  left: 0;
  color: #333;
  font: normal 14px sans-serif;
  border: 1px solid #ddd;
  display: inline-block;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(100, 100, 100, 0.5);
  z-index: 50000;
}
.date-picker.filter {
  display: none;
}
.date-picker.filter.open {
  display: inline-block;
}
.date-picker.filter.right {
  left: auto;
  right: 0;
}

.date-picker > ._month {
  text-align: center;
  line-height: 22px;
  padding: 4px 10px;
  font-size: 12px;
  background: #fcfcfc;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  position: relative;
  border-radius: 3px 3px 0 0;
}

.date-picker > ._month > button {
  display: inline-block;
  width: auto;
  padding: 4px;
  color: #555;
  font: normal 14px sans-serif;
  outline: none;
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
}

.date-picker > ._month > button:hover {
  color: #333;
}

.date-picker > ._month > button._previous {
  left: 10px;
}

.date-picker > ._month > button._next {
  right: 10px;
}

.date-picker > ._days {
  width: 210px; /* 30 x 7 */
  margin: 10px;
  text-align: center;
}

.date-picker > ._days > ._day-of-week,
.date-picker > ._days > ._day {
  box-sizing: border-box;
  border: 1px solid transparent;
  width: 30px;
  line-height: 28px;
  float: left;
  border-radius: 3px;
}

.date-picker > ._days > ._day-of-week {
  font-weight: bold;
}

.date-picker > ._days > ._day.-padding {
  opacity: 0.5;
}

.date-picker > ._days > ._day {
  cursor: pointer;
}

.date-picker > ._days > ._day.-selected {
  background: #e0e0e0;
}

.date-picker > ._days > ._day.-today {
  border-color: #aaa;
}

.date-picker > ._days > ._day:hover {
  background: #eee;
}

.date-picker > ._days:after {
  content: "";
  display: block;
  clear: left;
  height: 0;
}

#dashboard {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}
#dashboard li a {
  display: block;
  padding: 24px;
  font-weight: 500;
  cursor: pointer;
  color: #58585A;
  text-align: center;
  text-decoration: none;
}
#dashboard li a::before {
  content: "";
  display: block;
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
#dashboard li a.organization::before {
  background-image: url("../img/icons/global-organizations-gray.svg");
}
#dashboard li a.dispatch::before {
  background-image: url("../img/icons/headsets-with-microphone-gray.svg");
}
#dashboard li a.driver::before {
  background-image: url("../img/icons/user-gray.svg");
}
#dashboard li a.vehicle::before {
  background-image: url("../img/icons/car-gray.svg");
}

a.link,
button.link {
  color: #F7701E;
  cursor: pointer;
  user-select: none;
}

.form {
  max-width: 640px;
}
.form::after {
  content: "";
  display: block;
  clear: both;
}
.form.full {
  max-width: none;
}
.form h1 {
  padding-bottom: 24px;
}
.form .info {
  font-weight: 700;
  cursor: pointer;
}
.form .info::after {
  content: "";
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/info.svg");
}
.form .row {
  position: relative;
  padding: 18px;
}
.form .row:nth-child(odd) {
  background: #f7f7f7;
}
.form .row.no-pad {
  padding: 0;
}
.form .row.transparent {
  padding: 0;
  background: transparent;
}
.form .row.transparent:nth-child(odd) {
  background: transparent;
}
.form .row .remove {
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 12px;
  height: 12px;
  user-select: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
  background-image: url("../img/icons/cancel.svg");
  cursor: pointer;
}
.form .field {
  padding: 6px;
  box-sizing: border-box;
  clear: both;
}
.form .field::after {
  content: "";
  display: block;
  clear: both;
}
.form .field .field {
  padding: 6px 3px 3px;
}
.form .field label {
  display: block;
  padding: 0 0 8px 0;
  font-size: 12px;
}
.form .field label.checkbox, .form .field label.radio {
  cursor: pointer;
}
.form .field label.checkbox input[type=checkbox],
.form .field label.checkbox input[type=radio], .form .field label.radio input[type=checkbox],
.form .field label.radio input[type=radio] {
  vertical-align: baseline;
}
.form .field label.inline {
  display: inline-block;
  margin-right: 12px;
}
.form .field label input[type=checkbox],
.form .field label input[type=radio] {
  margin-right: 8px;
}
.form .field input[type=text],
.form .field input[type=date],
.form .field input[type=time],
.form .field input[type=number],
.form .field input[type=password],
.form .field textarea,
.form .field .text-field,
.form .field .selectbox,
.form .field .dropdown {
  margin: 0;
}
.form .field.eighth {
  width: 12.5%;
  float: left;
  clear: none;
}
.form .field.fifth {
  width: 20%;
  float: left;
  clear: none;
}
.form .field.quarter {
  width: 25%;
  float: left;
  clear: none;
}
.form .field.third {
  width: 33.33%;
  float: left;
  clear: none;
}
.form .field.three-eighth {
  width: 37.5%;
  float: left;
  clear: none;
}
.form .field.half {
  width: 50%;
  float: left;
  clear: none;
}
.form .field.two-third {
  width: 66.66%;
  float: left;
  clear: none;
}
.form .field.three-quarter {
  width: 75%;
  float: left;
  clear: none;
}
.form .field.seven-eighths {
  width: 87.5%;
  float: left;
  clear: none;
}
.form .field.buttons {
  padding: 6px 0;
}
.form .field.buttons .button.inline {
  margin-right: 12px;
}
.form .field .save-progress {
  display: block;
  opacity: 0.5;
  padding: 12px 16px;
  font-size: 12px;
}
.form .field .clear {
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  color: #333334;
  cursor: pointer;
  white-space: nowrap;
}
.form .field .clear::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: -2px 0 0 5px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/icons/remove.svg");
}
.form .divider {
  margin: 14px 0;
  border-bottom: 1px solid #C8C8C8;
  clear: both;
}
.form .clear {
  clear: both;
}

input[type=text],
input[type=number],
input[type=date],
input[type=time],
input[type=password],
.text-field,
textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 16px 10px;
  color: #333334;
  background-color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 3px;
  box-sizing: border-box;
  outline: 0;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
input[type=text]:active, input[type=text]:focus,
input[type=number]:active,
input[type=number]:focus,
input[type=date]:active,
input[type=date]:focus,
input[type=time]:active,
input[type=time]:focus,
input[type=password]:active,
input[type=password]:focus,
.text-field:active,
.text-field:focus,
textarea:active,
textarea:focus {
  border-color: #333334;
}
input[type=text].regular,
input[type=number].regular,
input[type=date].regular,
input[type=time].regular,
input[type=password].regular,
.text-field.regular,
textarea.regular {
  font-size: 12px;
  padding: 10px 14px;
}
input[type=text].regular[type=date],
input[type=number].regular[type=date],
input[type=date].regular[type=date],
input[type=time].regular[type=date],
input[type=password].regular[type=date],
.text-field.regular[type=date],
textarea.regular[type=date] {
  padding: 8px 14px;
}
input[type=text].small,
input[type=number].small,
input[type=date].small,
input[type=time].small,
input[type=password].small,
.text-field.small,
textarea.small {
  font-size: 12px;
  padding: 6px 10px;
}
input[type=text].inline,
input[type=number].inline,
input[type=date].inline,
input[type=time].inline,
input[type=password].inline,
.text-field.inline,
textarea.inline {
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
input[type=text].no-margin,
input[type=number].no-margin,
input[type=date].no-margin,
input[type=time].no-margin,
input[type=password].no-margin,
.text-field.no-margin,
textarea.no-margin {
  margin: 0;
}
input[type=text][readonly],
input[type=number][readonly],
input[type=date][readonly],
input[type=time][readonly],
input[type=password][readonly],
.text-field[readonly],
textarea[readonly] {
  color: #d9d9d9;
  background-color: #fafafa;
}
input[type=text][readonly]:active, input[type=text][readonly]:focus,
input[type=number][readonly]:active,
input[type=number][readonly]:focus,
input[type=date][readonly]:active,
input[type=date][readonly]:focus,
input[type=time][readonly]:active,
input[type=time][readonly]:focus,
input[type=password][readonly]:active,
input[type=password][readonly]:focus,
.text-field[readonly]:active,
.text-field[readonly]:focus,
textarea[readonly]:active,
textarea[readonly]:focus {
  border-color: #fafafa;
}
input[type=text].error,
input[type=number].error,
input[type=date].error,
input[type=time].error,
input[type=password].error,
.text-field.error,
textarea.error {
  border-color: #da4545;
}

.editable {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 12px;
  color: #333334;
  background-color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 3px;
  box-sizing: border-box;
  outline: 0;
  line-height: 30px;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.editable.cursor {
  cursor: pointer;
}
.editable.faded {
  color: #9B9B9B;
}
.editable.rendered {
  font-size: 14px;
  line-height: 18px;
  white-space: pre-line;
  font-family: monospace;
}
.editable.copied::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  background: rgba(255, 255, 255, 0.95);
}
.editable.copied::after {
  position: absolute;
  content: "Copied!";
  top: 50%;
  left: 50%;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #4d9e44;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.editable[placeholder]:empty:before {
  content: attr(placeholder);
  color: #9B9B9B;
}

input[type=button],
input[type=submit],
button,
.button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  letter-spacing: 1px;
  color: #fff;
  padding: 12px 16px;
  box-sizing: border-box;
  border: none;
  outline: 0;
  border-radius: 3px;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  background-color: #F78F1E;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
input[type=button]:active, input[type=button]:focus, input[type=button]:hover,
input[type=submit]:active,
input[type=submit]:focus,
input[type=submit]:hover,
button:active,
button:focus,
button:hover,
.button:active,
.button:focus,
.button:hover {
  background-color: #F7701E;
}
input[type=button].secondary,
input[type=submit].secondary,
button.secondary,
.button.secondary {
  color: #58585A;
  background: #f2f2f2;
}
input[type=button].secondary:active, input[type=button].secondary:focus, input[type=button].secondary:hover,
input[type=submit].secondary:active,
input[type=submit].secondary:focus,
input[type=submit].secondary:hover,
button.secondary:active,
button.secondary:focus,
button.secondary:hover,
.button.secondary:active,
.button.secondary:focus,
.button.secondary:hover {
  background: #e6e6e6;
}
input[type=button].alt,
input[type=submit].alt,
button.alt,
.button.alt {
  color: #000;
  background: #f2ce29;
}
input[type=button].alt:active, input[type=button].alt:focus, input[type=button].alt:hover,
input[type=submit].alt:active,
input[type=submit].alt:focus,
input[type=submit].alt:hover,
button.alt:active,
button.alt:focus,
button.alt:hover,
.button.alt:active,
.button.alt:focus,
.button.alt:hover {
  background: #dbb60d;
}
input[type=button].dark,
input[type=submit].dark,
button.dark,
.button.dark {
  color: #fff;
  background: #333334;
}
input[type=button].dark:active, input[type=button].dark:focus, input[type=button].dark:hover,
input[type=submit].dark:active,
input[type=submit].dark:focus,
input[type=submit].dark:hover,
button.dark:active,
button.dark:focus,
button.dark:hover,
.button.dark:active,
.button.dark:focus,
.button.dark:hover {
  background: #1a1a1a;
}
input[type=button].white,
input[type=submit].white,
button.white,
.button.white {
  color: #333334;
  background: #fff;
}
input[type=button].white:active, input[type=button].white:focus, input[type=button].white:hover,
input[type=submit].white:active,
input[type=submit].white:focus,
input[type=submit].white:hover,
button.white:active,
button.white:focus,
button.white:hover,
.button.white:active,
.button.white:focus,
.button.white:hover {
  background: #e6e6e6;
}
input[type=button].blue,
input[type=submit].blue,
button.blue,
.button.blue {
  color: #fff;
  background: #4071ca;
}
input[type=button].blue:active, input[type=button].blue:focus, input[type=button].blue:hover,
input[type=submit].blue:active,
input[type=submit].blue:focus,
input[type=submit].blue:hover,
button.blue:active,
button.blue:focus,
button.blue:hover,
.button.blue:active,
.button.blue:focus,
.button.blue:hover {
  background: #2f5aa8;
}
input[type=button].disabled,
input[type=submit].disabled,
button.disabled,
.button.disabled {
  background: #C8C8C8;
}
input[type=button].disabled:active, input[type=button].disabled:focus, input[type=button].disabled:hover,
input[type=submit].disabled:active,
input[type=submit].disabled:focus,
input[type=submit].disabled:hover,
button.disabled:active,
button.disabled:focus,
button.disabled:hover,
.button.disabled:active,
.button.disabled:focus,
.button.disabled:hover {
  background: #C8C8C8;
  cursor: default;
}
input[type=button].inline,
input[type=submit].inline,
button.inline,
.button.inline {
  display: inline-block;
  width: auto;
}
input[type=button].right-margin,
input[type=submit].right-margin,
button.right-margin,
.button.right-margin {
  margin-right: 8px;
}
input[type=button].regular,
input[type=submit].regular,
button.regular,
.button.regular {
  font-size: 12px;
  padding: 10px 14px;
}
input[type=button].small,
input[type=submit].small,
button.small,
.button.small {
  font-size: 11px;
  padding: 8px 12px 7px;
}
input[type=button].micro,
input[type=submit].micro,
button.micro,
.button.micro {
  font-size: 9px;
  padding: 5px 7px 4px;
}
input[type=button].important,
input[type=submit].important,
button.important,
.button.important {
  background: #da4545;
}
input[type=button].important:active, input[type=button].important:focus, input[type=button].important:hover,
input[type=submit].important:active,
input[type=submit].important:focus,
input[type=submit].important:hover,
button.important:active,
button.important:focus,
button.important:hover,
.button.important:active,
.button.important:focus,
.button.important:hover {
  background: #c52727;
}
input[type=button].success,
input[type=submit].success,
button.success,
.button.success {
  background: #4d9e44;
}
input[type=button].success:active, input[type=button].success:focus, input[type=button].success:hover,
input[type=submit].success:active,
input[type=submit].success:focus,
input[type=submit].success:hover,
button.success:active,
button.success:focus,
button.success:hover,
.button.success:active,
.button.success:focus,
.button.success:hover {
  background: #3c7a35;
}
input[type=button].page-button,
input[type=submit].page-button,
button.page-button,
.button.page-button {
  margin-right: 8px;
}
input[type=button].no-margin,
input[type=submit].no-margin,
button.no-margin,
.button.no-margin {
  margin: 0;
}
input[type=button].no-pad,
input[type=submit].no-pad,
button.no-pad,
.button.no-pad {
  padding: 0;
}
input[type=button].icon,
input[type=submit].icon,
button.icon,
.button.icon {
  color: #58585A;
  background: transparent;
  text-transform: none;
  letter-spacing: normal;
}
input[type=button].icon::after,
input[type=submit].icon::after,
button.icon::after,
.button.icon::after {
  content: "";
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
input[type=button].icon.small,
input[type=submit].icon.small,
button.icon.small,
.button.icon.small {
  font-size: 12px;
}
input[type=button].icon.location,
input[type=submit].icon.location,
button.icon.location,
.button.icon.location {
  position: relative;
  padding: 0;
  width: 24px;
  height: 24px;
}
input[type=button].icon.location::after,
input[type=submit].icon.location::after,
button.icon.location::after,
.button.icon.location::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  background-image: url("../img/icons/crosshairs-gray.svg");
}
input[type=button].icon.close,
input[type=submit].icon.close,
button.icon.close,
.button.icon.close {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
input[type=button].icon.close::after,
input[type=submit].icon.close::after,
button.icon.close::after,
.button.icon.close::after {
  width: 24px;
  height: 24px;
  background-size: 12px;
  background-image: url("../img/icons/cancel.svg");
  vertical-align: baseline;
}
input[type=button].icon.info::after,
input[type=submit].icon.info::after,
button.icon.info::after,
.button.icon.info::after {
  background-image: url("../img/icons/info.svg");
}
input[type=button].icon.refresh::after,
input[type=submit].icon.refresh::after,
button.icon.refresh::after,
.button.icon.refresh::after {
  background-image: url("../img/icons/refresh.svg");
}
input[type=button].icon.refreshing,
input[type=submit].icon.refreshing,
button.icon.refreshing,
.button.icon.refreshing {
  cursor: default;
}
input[type=button].icon.refreshing::after,
input[type=submit].icon.refreshing::after,
button.icon.refreshing::after,
.button.icon.refreshing::after {
  background-image: url("../img/loading.gif");
}
input[type=button].icon.standalone,
input[type=submit].icon.standalone,
button.icon.standalone,
.button.icon.standalone {
  padding: 0;
}
input[type=button].icon.standalone::after,
input[type=submit].icon.standalone::after,
button.icon.standalone::after,
.button.icon.standalone::after {
  margin: 0;
  width: 18px;
  height: 18px;
}
input[type=button].icon.left::after,
input[type=submit].icon.left::after,
button.icon.left::after,
.button.icon.left::after {
  margin-left: 0;
  margin-right: 8px;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: auto;
  vertical-align: middle;
  user-select: none;
  margin: 0 8px;
}
.dropdown.block {
  display: block;
}
.dropdown.inline {
  margin-bottom: 0;
}
.dropdown.no-margin {
  margin: 0;
}
.dropdown > a {
  position: relative;
  display: block;
  padding: 12px 30px 12px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border-radius: 3px;
  border: 1px solid #bfbfbf;
  background-color: #fff;
  color: #333334;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.dropdown > a > span {
  display: block !important;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.5;
}
.dropdown > a > span.chosen {
  opacity: 1;
  font-weight: 600;
}
.dropdown > a::after {
  position: absolute;
  content: "";
  display: block;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.dropdown > a:hover {
  border-color: #333334;
}
.dropdown .dropdown-drop {
  position: absolute;
  top: calc(100% + 6px);
  min-width: 200px;
  z-index: 10000;
  display: none;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #bfbfbf;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
.dropdown .dropdown-drop > input {
  display: block;
  width: calc(100% - 28px);
  box-sizing: border-box;
  padding: 8px 12px;
  margin: 12px auto;
  font-size: 12px;
  background-color: #fff;
}
.dropdown .dropdown-drop .loading {
  display: block;
  padding: 6px 24px 6px 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
}
.dropdown .dropdown-drop ul {
  max-height: 200px;
  border-top: 1px solid #f2f2f2;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.dropdown .dropdown-drop ul li a {
  display: block;
  padding: 6px 24px 6px 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}
.dropdown .dropdown-drop ul li a:hover {
  background-color: #f2f2f2;
}
.dropdown .dropdown-drop ul li a.active, .dropdown .dropdown-drop ul li a.active:hover {
  color: #fff;
  background-color: #F78F1E;
}
.dropdown.open > a,
.dropdown > a:hover {
  background-color: #f2f2f2;
}
.dropdown.open .dropdown-drop {
  display: block;
}
.dropdown.regular > a {
  padding: 11px 25px 11px 10px;
  font-size: 12px;
  font-weight: 400;
}
.dropdown.regular > a::after {
  right: 8px;
  top: 50%;
  height: 12px;
}
.dropdown.regular .dropdown-drop ul li a {
  padding: 10px 24px 10px 14px;
  font-size: 12px;
  font-weight: 400;
}
.dropdown.small > a {
  font-size: 11px;
  padding: 8px 24px 7px 10px;
}
.dropdown.small > a::after {
  right: 8px;
  top: 50%;
}

.selectbox {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  user-select: none;
}
.selectbox.inline {
  display: inline-block;
  width: auto;
  vertical-align: middle;
  margin-bottom: 0;
}
.selectbox.page-selector {
  margin-bottom: 24px;
  margin-right: 8px;
}
.selectbox.page-selector.inline {
  margin-bottom: 24px;
}
#breadcrumb .selectbox.page-selector {
  margin-bottom: 0;
}
.selectbox > a {
  position: relative;
  display: block;
  padding: 12px 30px 12px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border-radius: 3px;
  border: 1px solid #bfbfbf;
  background-color: #fff;
  color: #333334;
  cursor: pointer;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
#breadcrumb .selectbox > a {
  padding: 7px 25px 7px 16px;
  border-color: transparent;
  font-size: 14px;
}
.selectbox > a > span {
  display: block !important;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.5;
}
.selectbox > a > span.chosen {
  opacity: 1;
  font-weight: 600;
}
.selectbox > a::after {
  position: absolute;
  content: "";
  display: block;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.selectbox > a:hover {
  border-color: #333334;
}
.selectbox .selectbox-drop {
  position: absolute;
  top: 100%;
  min-width: 200px;
  max-width: 300px;
  z-index: 10000;
  display: none;
  background-color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 3px;
  text-align: left;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
.selectbox .selectbox-drop > input {
  display: block;
  width: calc(100% - 28px);
  box-sizing: border-box;
  padding: 8px 12px;
  margin: 12px auto;
  font-size: 12px;
  background-color: #fff;
}
.selectbox .selectbox-drop ul {
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.selectbox .selectbox-drop ul li a {
  display: block;
  padding: 10px 24px 10px 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.selectbox .selectbox-drop ul li a:hover {
  background-color: #f2f2f2;
}
.selectbox .selectbox-drop ul li a.hold {
  opacity: 0.5;
  font-weight: 400;
}
.selectbox .selectbox-drop ul li a.active, .selectbox .selectbox-drop ul li a.active:hover {
  color: #fff;
  background-color: #F78F1E;
}
.selectbox .selectbox-drop ul li a.active.hold, .selectbox .selectbox-drop ul li a.active:hover.hold {
  color: inherit;
  background-color: #f2f2f2;
}
.selectbox .selectbox-drop ul li:first-child a {
  border-radius: 3px 3px 0 0;
}
.selectbox .selectbox-drop ul li:last-child a {
  border-radius: 0 0 3px 3px;
}
.selectbox.open > a,
.selectbox > a:hover {
  background-color: #f2f2f2;
}
.selectbox.open .selectbox-drop {
  display: block;
}
.selectbox.regular > a {
  padding: 11px 25px 11px 10px;
  font-size: 12px;
  font-weight: 400;
}
#breadcrumb .selectbox.regular > a {
  font-size: 14px;
  padding: 6px 25px 6px 10px;
}
.selectbox.regular > a::after {
  right: 8px;
  top: 50%;
  width: 8px;
  height: 12px;
}
.selectbox.regular .selectbox-drop ul li a {
  padding: 10px 24px 10px 14px;
  font-size: 12px;
  font-weight: 400;
}
.selectbox.above .selectbox-drop {
  top: auto;
  bottom: calc(100% + 12px);
}
.selectbox.right .selectbox-drop {
  right: 0;
}
.selectbox.small > a {
  font-size: 11px;
  padding: 8px 24px 7px 10px;
}
.selectbox.no-margin {
  margin: 0;
}
.selectbox.globalchooser .selectbox-drop {
  z-index: 50001;
}

.radio-group {
  display: table;
  border-radius: 3px;
  border: 1px solid #e6e6e6;
}
.radio-group .radio {
  display: table-cell;
  background: #f2f2f2;
  padding: 3px 10px 2px;
  font-size: 12px;
  font-weight: 400;
  border-right: 1px solid #e6e6e6;
  cursor: pointer;
}
.radio-group .radio:first-child {
  border-radius: 3px 0 0 3px;
}
.radio-group .radio:last-child {
  border-radius: 0 3px 3px 0;
  border-right: 0;
}
.radio-group .radio.active {
  background: #fff;
}

p.selected-items {
  font-size: 14px;
}
p.selected-items span {
  font-weight: 0;
  color: gray;
}

#legal {
  display: block;
  height: 37px !important;
  text-align: center;
  padding: 12px;
  font-size: 11px;
  color: #9B9B9B;
  background-color: #fff;
  margin-top: -37px;
}
@media (max-width: 614px) {
  #legal {
    margin-top: 0;
  }
}
#legal.blank {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: 0;
}

#content #legal {
  margin-top: 0;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-row: 3/span 1;
  grid-column: 1/span 1;
}
#sidebar {
  background: #58585A;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1/span 1;
}
@media (max-width: 614px) {
  #sidebar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500000;
    padding-top: 0;
    border-radius: 0 0 3px;
    background: transparent;
  }
}
#sidebar > div {
  position: relative;
  overflow-y: auto;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
}
@media (max-width: 614px) {
  #sidebar > div {
    overflow: visible;
    height: auto;
  }
}
#sidebar #sidebar-collapser {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(200px - 26px);
  width: 20px;
  background-position: center calc(100% - 12px);
  background-repeat: no-repeat;
  background-size: 6px;
  background-image: url("../img/icons/collapse-arrow-white.svg");
  cursor: pointer;
}
@media (max-width: 768px) {
  #sidebar #sidebar-collapser {
    left: calc(200px - 20px);
  }
}
@media (max-width: 614px) {
  #sidebar #sidebar-collapser {
    display: none;
  }
}
#sidebar #short-logo {
  position: absolute;
  top: 0;
  left: 16px;
  right: 24px;
  display: block;
  height: 48px;
  border: 0;
  text-decoration: none;
  background-repeat: no-repeat;
  background-size: 34px;
  background-position: left center;
  background-image: url("../img/icons/incident-clear.svg");
  cursor: pointer;
  box-sizing: border-box;
}
@media (max-width: 614px) {
  #sidebar #short-logo {
    display: none;
  }
}
#sidebar #mobile-logo {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: 20px;
  border: 0;
  text-decoration: none;
  background-repeat: no-repeat;
  background-size: 34px;
  background-position: left center;
  background-image: url("../img/icons/incident-clear.svg");
  cursor: pointer;
  box-sizing: border-box;
}
@media (max-width: 614px) {
  #sidebar #mobile-logo {
    display: block;
  }
}
#sidebar #navigation {
  padding-top: 48px;
  padding-bottom: 48px;
  list-style: none;
  overflow: hidden;
}
@media (max-width: 614px) {
  #sidebar #navigation {
    display: none;
    padding-top: 0;
    padding-bottom: 12px;
  }
}
#sidebar #navigation > li > a {
  position: relative;
  display: block;
  padding: 12px 50px 12px 16px;
  white-space: nowrap;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  opacity: 0.85;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}
#sidebar #navigation > li > a:hover {
  opacity: 1;
  background: #656567;
}
#sidebar #navigation > li > a::before {
  display: inline-block;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 16px;
  height: 16px;
  margin-right: 16px;
  margin-top: -3px;
  vertical-align: middle;
}
#sidebar #navigation > li.has_sub > a::after {
  position: absolute;
  right: 16px;
  top: 14px;
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 12px;
  height: 12px;
  background-image: url("../img/icons/down-arrow-white.svg");
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
@media (max-width: 614px) {
  #sidebar #navigation > li.has_sub > a::after {
    right: 12px;
  }
}
#sidebar #navigation > li.dashboard > a::before {
  background-image: url("../img/icons/home-white.svg");
}
#sidebar #navigation > li.districts > a::before {
  background-image: url("../img/icons/highrise-white.svg");
}
#sidebar #navigation > li.drivers > a::before {
  background-image: url("../img/icons/contractor-white.svg");
}
#sidebar #navigation > li.devices > a::before {
  background-image: url("../img/icons/device-white.svg");
}
#sidebar #navigation > li.forms > a::before {
  background-image: url("../img/icons/form-white.svg");
}
#sidebar #navigation > li.vehicles > a::before {
  background-image: url("../img/icons/truck-white.svg");
}
#sidebar #navigation > li.patrols > a::before {
  background-image: url("../img/icons/highway-white.svg");
}
#sidebar #navigation > li.team > a::before {
  background-image: url("../img/icons/multiple-users-silhouette-white.svg");
}
#sidebar #navigation > li.map > a::before {
  background-image: url("../img/icons/map-pin-white.svg");
}
#sidebar #navigation > li.data > a::before {
  background-image: url("../img/icons/folder-white.svg");
}
#sidebar #navigation > li.metrics > a::before {
  background-image: url("../img/icons/statistics-white.svg");
}
#sidebar #navigation > li.incidents > a::before {
  background-image: url("../img/icons/search-white.svg");
}
#sidebar #navigation > li.shifts > a::before {
  background-image: url("../img/icons/stopwatch-white.svg");
}
#sidebar #navigation > li.dispatch > a::before {
  background-image: url("../img/icons/headsets-with-microphone-white.svg");
}
#sidebar #navigation > li.fleets > a::before {
  background-image: url("../img/icons/truck-white.svg");
}
#sidebar #navigation > li.providers > a::before {
  background-image: url("../img/icons/provider-white.svg");
}
#sidebar #navigation > li.settings {
  max-width: initial;
  margin: 0;
}
#sidebar #navigation > li.settings > a::before {
  background-image: url("../img/icons/gear-white.svg");
}
#sidebar #navigation > li ul {
  max-height: 0;
  background: #4c4c4e;
  overflow: hidden;
}
#sidebar #navigation > li ul li a {
  position: relative;
  display: block;
  padding: 6px 24px 6px 18px;
  white-space: nowrap;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
  cursor: pointer;
  user-select: none;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
#sidebar #navigation > li ul li a:hover {
  opacity: 1;
  background: #7e7e81;
}
#sidebar #navigation > li.active > a {
  opacity: 1;
  background: #4b4b4d;
}
#sidebar #navigation > li.open.has_sub > a::after {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
#sidebar #navigation > li.open ul {
  max-height: 1000px;
  padding: 10px 0;
}
@media (max-width: 614px) {
  #sidebar.open {
    position: fixed;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #333334;
  }
  #sidebar.open #navigation {
    display: block;
  }
}
#sidebar.collapsed {
  padding-top: 0;
  z-index: 60000;
}
#sidebar.collapsed #sidebar-collapser {
  top: auto;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 44px;
  background-size: 6px;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
@media (max-width: 768px) {
  #sidebar.collapsed #sidebar-collapser {
    left: 0;
  }
}
#sidebar.collapsed #short-logo {
  left: 0;
  right: 0;
  background-size: 28px;
  background-position: center;
}
#sidebar.collapsed #navigation > li {
  position: relative;
}
#sidebar.collapsed #navigation > li > a {
  height: 40px;
  padding: 0;
  color: transparent;
}
@media (max-width: 614px) {
  #sidebar.collapsed #navigation > li > a {
    padding: 12px 50px 12px 16px;
    color: #fff;
  }
}
#sidebar.collapsed #navigation > li > a span {
  display: none;
}
@media (max-width: 614px) {
  #sidebar.collapsed #navigation > li > a span {
    display: inline-block;
  }
}
#sidebar.collapsed #navigation > li > a::before {
  display: block;
  width: auto;
  height: 40px;
  background-size: 16px;
  margin-top: 0;
  margin-right: 0;
}
@media (max-width: 614px) {
  #sidebar.collapsed #navigation > li > a::before {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-top: -3px;
    margin-right: 16px;
  }
}
#sidebar.collapsed #navigation > li > a::after {
  display: none;
}
@media (max-width: 614px) {
  #sidebar.collapsed #navigation > li > a::after {
    display: block;
  }
}
#sidebar.collapsed #navigation > li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  max-height: initial;
  overflow: visible;
  box-shadow: 0px 2px 3px rgba(100, 100, 100, 0.5);
}
@media (max-width: 614px) {
  #sidebar.collapsed #navigation > li ul {
    position: static;
  }
}
#sidebar.collapsed #navigation > li ul li a {
  padding: 6px 24px 6px 12px;
}
#sidebar.collapsed #navigation > li.open ul {
  display: block;
}

#sidebar-content {
  display: grid;
  grid: auto/auto 1fr;
  width: 100%;
  height: calc(100vh - 48px - 37px - 2px);
}
#sidebar-content.no-sidebar {
  grid: auto/auto;
}
#sidebar-content #sidebar-content-sidebar {
  height: calc(100vh - 48px - 37px - 2px);
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid #f2f2f2;
}
#sidebar-content #sidebar-content-sidebar > ul > li {
  padding: 12px 0;
  border-top: 1px solid #e6e6e6;
}
#sidebar-content #sidebar-content-sidebar > ul > li:first-child {
  border-top: 0;
}
#sidebar-content #sidebar-content-sidebar > ul > li > span {
  display: block;
  padding: 4px 48px 4px 24px;
  white-space: nowrap;
  user-select: none;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > span {
  display: block;
  cursor: pointer;
  padding: 4px 48px 4px 24px;
  white-space: nowrap;
  user-select: none;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > span:hover {
  background: #f2f2f2;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > span.active {
  color: #4071ca;
  background: #e5f5ff;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > span.arrow {
  position: relative;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > span.arrow::before {
  position: absolute;
  top: 50%;
  left: 10px;
  display: inline-block;
  width: 7px;
  height: 7px;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/expand-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: translateY(-50%) rotate(0);
  -moz-transform: translateY(-50%) rotate(0);
  -o-transform: translateY(-50%) rotate(0);
  transform: translateY(-50%) rotate(0);
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > ul {
  display: none;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > ul > li {
  display: block;
  cursor: pointer;
  padding: 4px 48px 4px 40px;
  white-space: nowrap;
  user-select: none;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > ul > li:hover {
  background: #f2f2f2;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li > ul > li.active {
  color: #4071ca;
  background: #e5f5ff;
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li.open > span.arrow::before {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}
#sidebar-content #sidebar-content-sidebar > ul > li > ul > li.open > ul {
  display: block;
}
#sidebar-content #sidebar-content-sidebar > ul.decimal {
  list-style: decimal;
  list-style-position: inside;
  font-size: 14px;
  font-weight: 500;
}
#sidebar-content #sidebar-content-content {
  height: calc(100vh - 48px - 37px - 2px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  background: #f2f2f2;
}
#sidebar-content #sidebar-content-content section {
  max-width: 940px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 2px;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
#sidebar-content #sidebar-content-content section.wide {
  max-width: none;
}
#sidebar-content #sidebar-content-content section h1 {
  font-size: 32px;
  font-weight: 400;
}
#sidebar-content #sidebar-content-content section p {
  padding-bottom: 24px;
  font-weight: 400;
  line-height: 24px;
}
#sidebar-content #sidebar-content-content section ol, #sidebar-content #sidebar-content-content section ul {
  margin: revert;
  padding: revert;
}
#sidebar-content #sidebar-content-content section ol {
  list-style: decimal;
  margin-top: 0;
  padding-top: 0;
}
#sidebar-content #sidebar-content-content section ol ol {
  list-style: lower-alpha;
}
#sidebar-content #sidebar-content-content section ul {
  list-style: disc;
  margin-top: 0;
  padding-top: 0;
}
#sidebar-content #sidebar-content-content section ol li,
#sidebar-content #sidebar-content-content section ul li {
  padding-bottom: 8px;
  font-weight: 400;
  line-height: 24px;
}
#sidebar-content #sidebar-content-content section ol li::marker,
#sidebar-content #sidebar-content-content section ul li::marker {
  font-weight: 700;
}
#sidebar-content #sidebar-content-content section ol li ol, #sidebar-content #sidebar-content-content section ol li ul,
#sidebar-content #sidebar-content-content section ul li ol,
#sidebar-content #sidebar-content-content section ul li ul {
  padding-top: 10px;
}
#sidebar-content #sidebar-content-content section ol li a,
#sidebar-content #sidebar-content-content section ul li a {
  color: #F78F1E;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
#sidebar-content #sidebar-content-content section .images {
  display: flex;
  padding: 32px 0 48px;
}
#sidebar-content #sidebar-content-content section .images .image {
  height: 600px;
  flex: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#sidebar-content #sidebar-content-content section .images .image.short {
  height: 300px;
}
#sidebar-content #sidebar-content-content section .images .image.auto {
  height: auto;
}
#sidebar-content #sidebar-content-content section .images .arrow {
  height: 600px;
  width: 48px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
  background-image: url("../img/icons/right-arrow-gray.svg");
}
#sidebar-content #sidebar-content-content section .images.vert {
  flex-direction: column;
}
#sidebar-content #sidebar-content-content section .images.vert .image {
  height: 420px;
  flex: auto;
}
#sidebar-content #sidebar-content-content section .images.vert .arrow {
  height: 48px;
  width: auto;
  background-image: url("../img/icons/down-arrow-gray.svg");
}

#login {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
@media (max-width: 614px) {
  #login {
    position: static;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
#login img {
  display: block;
  max-width: 180px;
  height: auto;
  margin: 0 auto 30px;
}
#login h1, #login h3 {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  padding: 10px 0 24px;
}
#login p {
  text-align: center;
  padding: 0 0 12px;
  font-weight: 400;
  font-size: 12px;
}
#login p.left {
  text-align: left;
}
#login .flash {
  padding: 14px;
  text-align: center;
  font-size: 12px;
}
#login .items {
  padding: 0 0 12px 24px;
  list-style: none;
}
#login .items li {
  font-weight: bold;
}
#login .links {
  padding: 0;
  list-style: none;
}
#login .links li {
  text-align: left;
  padding: 4px 0;
}
#login .links li a {
  color: #9B9B9B;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.pagination {
  display: none;
  padding: 14px 0;
  margin-top: 14px;
  border-top: 1px solid #f2f2f2;
  text-align: right;
  user-select: none;
}
.pagination.visible {
  display: block;
}
.pagination label {
  display: inline-block;
  font-size: 14px;
  vertical-align: middle;
}
.pagination label a {
  display: inline-block;
  padding: 8px 12px;
  font-weight: 300;
  border-radius: 3px;
  vertical-align: middle;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.pagination label a.functional {
  font-weight: 500;
  cursor: pointer;
}
.pagination label a.functional:hover {
  background: #f2f2f2;
}
.pagination ul {
  display: inline-block;
  vertical-align: middle;
}
.pagination ul li {
  display: inline;
}
.pagination ul li a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  vertical-align: middle;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.pagination ul li a:hover {
  background: #f2f2f2;
}
.pagination ul li a.current, .pagination ul li a.current:hover {
  font-weight: 300;
  cursor: auto;
  color: #F78F1E;
  background: transparent;
}
.pagination small {
  display: inline-block;
  font-size: 12px;
  margin-right: 8px;
  color: #C8C8C8;
  vertical-align: middle;
}

#app-header {
  position: relative;
  height: 48px;
  background: #fff;
}
#app-header #breadcrumb {
  list-style: none;
  padding: 13px 24px 14px;
}
@media (max-width: 614px) {
  #app-header #breadcrumb {
    padding: 10px 0 10px 70px;
  }
}
#app-header #breadcrumb > li {
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
  padding: 0 6px;
}
@media (max-width: 614px) {
  #app-header #breadcrumb > li {
    font-size: 12px;
  }
}
#app-header #breadcrumb > li:first-child {
  padding-left: 0;
}
@media (max-width: 614px) {
  #app-header #breadcrumb > li:nth-child(n+3) {
    display: none;
  }
}
#app-header #breadcrumb > li::after {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 0 0 8px;
  content: "";
  font-size: 12px;
  color: #9B9B9B;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
@media (max-width: 614px) {
  #app-header #breadcrumb > li:nth-child(n+2)::after {
    display: none;
  }
}
#app-header #breadcrumb > li:last-child {
  padding-right: 0;
}
#app-header #breadcrumb > li:last-child::after {
  display: none;
}
#app-header #breadcrumb > li.chooser::after {
  display: none;
}
#app-header #breadcrumb > li > a {
  display: inline-block;
  color: #F78F1E;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
  padding: 6px 0;
}
#app-header #breadcrumb > li > span {
  display: inline-block;
  vertical-align: middle;
  padding: 6px 0;
  font-weight: 700;
}
#app-header .current_user {
  display: inline-block;
  font-size: 14px;
  padding: 13px 12px 14px 8px;
  cursor: pointer;
}
@media (max-width: 768px) {
  #app-header .current_user {
    display: none;
  }
}
#app-header #user-menu {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 50000000;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  #app-header #user-menu {
    right: 14px;
  }
}
#app-header #user-menu .user-menu-anchor {
  display: inline-block;
  cursor: pointer;
}
#app-header #user-menu .user-menu-anchor::before {
  display: inline-block;
  content: "";
  vertical-align: middle;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("../img/icons/user.svg");
}
#app-header #user-menu .user-menu-anchor::after {
  display: inline-block;
  content: "";
  vertical-align: middle;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
@media (max-width: 614px) {
  #app-header #user-menu .user-menu-anchor::after {
    display: none;
  }
}
#app-header #user-menu .user-menu-drop {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  list-style: none;
  padding: 6px 0;
  border-radius: 3px;
  opacity: 0;
  background: #fff;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  -o-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}
#app-header #user-menu .user-menu-drop li a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #333334;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
#app-header #user-menu .user-menu-drop li a:hover {
  color: #000;
  background: #f2f2f2;
}
#app-header #user-menu .user-menu-drop li.loading {
  height: 30px;
  background-image: url(../img/loading.gif);
  background-size: 24px;
  background-position: 14px center;
  background-repeat: no-repeat;
}
#app-header #user-menu .user-menu-drop li.divider {
  height: 0;
  margin: 10px 0;
  border-top: 1px solid #f2f2f2;
}
#app-header #user-menu .user-menu-drop li.account a {
  padding-left: 10px;
}
#app-header #user-menu .user-menu-drop li.account a::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 12px;
  vertical-align: middle;
  margin-right: 14px;
}
#app-header #user-menu .user-menu-drop li.account.active a::before {
  background: #F7701E;
}
#app-header #user-menu.open .user-menu-anchor::after {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
#app-header #user-menu.open .user-menu-drop {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.datatable .section {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding: 12px;
  max-width: 650px;
  margin: 12px auto 24px;
}
.datatable .section h2 {
  padding-top: 0;
}
.datatable table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.datatable table thead tr th {
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  border-bottom: 2px solid #d9d9d9;
  border-radius: 3px 3px 0 0;
  user-select: none;
}
@media (max-width: 614px) {
  .datatable table thead tr th {
    display: none;
  }
  .datatable table thead tr th:first-child, .datatable table thead tr th:last-child {
    display: table-cell;
  }
}
.datatable table thead tr th.active {
  color: #fff;
  background: #333334;
}
.datatable table thead tr th.sort {
  cursor: pointer;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.datatable table thead tr th.sort:hover {
  border-bottom: 2px solid #a6a6a6;
}
.datatable table thead tr th.sort.asc, .datatable table thead tr th.sort.asc:hover, .datatable table thead tr th.sort.desc, .datatable table thead tr th.sort.desc:hover {
  border-bottom: 2px solid black;
}
.datatable table thead tr th.sort.asc::after, .datatable table thead tr th.sort.desc::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 12px;
  vertical-align: middle;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.datatable table thead tr th.sort.desc::after {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
.datatable table tbody tr td {
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 1.6;
  background: #fff;
}
@media (max-width: 614px) {
  .datatable table tbody tr td {
    display: none;
  }
  .datatable table tbody tr td:first-child, .datatable table tbody tr td:last-child {
    display: table-cell;
  }
}
.datatable table tbody tr td .light {
  color: #9B9B9B;
}
.datatable table tbody tr td.active {
  color: #fff;
  background: #333334;
  font-weight: 600;
}
.datatable table tbody tr td.link {
  cursor: pointer;
  font-weight: 600;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.datatable table tbody tr td.link:hover {
  background-color: #e6e6e6;
}
.datatable table tbody tr td.link::after {
  display: block;
  width: 10px;
  height: 10px;
  float: right;
  margin: 4px 10px 0 0;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
.datatable table tbody tr td .button {
  display: inline-block;
  width: auto;
  font-size: 10px;
  margin: 0 4px;
  padding: 4px 8px 3px;
}
.datatable table tbody tr td .action {
  font-weight: 700;
  color: #F7701E;
  cursor: pointer;
}
.datatable table tbody tr td .action.remove::after, .datatable table tbody tr td .action.refresh::after, .datatable table tbody tr td .action.refreshing::after {
  content: "";
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.datatable table tbody tr td .action.remove::after {
  background-image: url("../img/icons/remove.svg");
}
.datatable table tbody tr td .action.refresh::after {
  background-image: url("../img/icons/refresh.svg");
}
.datatable table tbody tr td .action.refreshing {
  cursor: default;
}
.datatable table tbody tr td .action.refreshing::after {
  background-image: url("../img/loading.gif");
}
.datatable table tbody tr:nth-child(odd) td {
  background: #f7f7f7;
}
.datatable table tbody tr:nth-child(odd) td.active {
  color: #fff;
  background: #262627;
}
.datatable table tbody tr table tr:nth-child(odd) td {
  background: transparent;
}
.datatable table tbody tr table tr:nth-child(odd) td.active {
  background: transparent;
}
.datatable table tfoot tr td {
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  line-height: 1.6;
  border-top: 2px solid #d9d9d9;
}
.datatable table tfoot tr td a.link {
  font-size: 14px;
  color: #333334;
}
.datatable table tfoot tr td .old-amount {
  display: block;
  text-decoration: line-through;
  font-weight: 400;
  font-style: italic;
  text-align: right;
}
.datatable table.small td {
  padding: 0;
}

.datatable .filters {
  position: relative;
  padding: 12px 0;
}
.datatable .filters::after {
  display: block;
  content: "";
  clear: both;
}
.datatable .filters label {
  display: inline-block;
  padding: 8px 12px 8px 6px;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
}
.datatable .filters .stats {
  position: absolute;
  right: 0;
  display: inline-block;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1;
}
.datatable .filters .stats strong {
  font-size: 22px;
  font-weight: 700;
  padding: 0 6px;
}
.datatable .filters .clear {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  background-image: url("../img/icons/cancel.svg");
  cursor: pointer;
  vertical-align: middle;
  margin-right: 24px;
}
.datatable .filters .dropdown,
.datatable .filters .selectbox,
.datatable .filters .button,
.datatable .filters button {
  margin: 0 8px 0 0;
}
.datatable .filters .buttons-right {
  float: right;
  text-align: right;
}
.datatable .filters .button-right {
  width: auto;
  float: right;
  margin-right: 0;
}

.datatable h2 {
  text-align: center;
  color: #333334;
  font-weight: 500;
  font-size: 16px;
  padding: 24px 0;
}
#inner-content .datatable h2 {
  padding-top: 24px;
}
#inner-content .datatable .section h2 {
  padding-top: 0;
}

.tabs {
  display: block;
  position: relative;
  z-index: 1;
}
.tabs ul {
  display: table;
}
.tabs ul li {
  display: table-cell;
}
.tabs ul li a {
  display: block;
  padding: 10px 14px;
  margin: 0 4px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  background: #fff;
  user-select: none;
  border-radius: 3px;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.tabs ul li.active a {
  cursor: auto;
  background: #f2f2f2;
}
.tabs ul li:first-child a {
  margin-left: 0;
}
.tabs ul li:last-child a {
  margin-right: 0;
}
.tabs.traditional {
  border-bottom: 1px solid #bfbfbf;
}
.tabs.traditional ul li a {
  padding: 8px 14px;
  margin: 0 2px -1px;
  border-left: 1px solid #bfbfbf;
  border-top: 1px solid #bfbfbf;
  border-right: 1px solid #bfbfbf;
  border-bottom: 1px solid #bfbfbf;
  background: #f2f2f2;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
}
.tabs.traditional ul li a.btn {
  position: relative;
  margin: 0 6px 0 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
.tabs.traditional ul li a.btn.alt {
  color: #000;
  background: #f2ce29;
  border-color: #dbb60d;
  border-bottom: none;
}
.tabs.traditional ul li a.btn.alt:active, .tabs.traditional ul li a.btn.alt:focus, .tabs.traditional ul li a.btn.alt:hover {
  background: #dbb60d;
}
.tabs.traditional ul li.active a {
  font-weight: 600;
  border-bottom: 1px solid #fff;
  background: #fff;
}
.tabs.traditional ul li:first-child a {
  margin-left: 0;
}
.tabs.traditional ul li:last-child a {
  margin-right: 0;
}

.tabs-content {
  display: block;
  position: relative;
  padding-top: 24px;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(100, 100, 100, 0.3);
  z-index: 80000000;
}
.modal .window {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 3px;
  padding: 30px;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  min-width: 500px;
  max-width: 600px;
  max-height: calc(100vh - 60px);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
@media (max-width: 614px) {
  .modal .window {
    min-width: 0;
    max-width: calc(100vw - 40px);
    position: relative;
    top: auto;
    left: auto;
    margin: 24px auto 0;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
.modal .window .close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
  width: 24px;
  height: 24px;
  user-select: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  background-image: url("../img/icons/cancel.svg");
  cursor: pointer;
}
.modal .window h1 {
  font-size: 18px;
}
.modal .window h2 {
  font-size: 16px;
  text-align: center;
  padding: 24px 0;
}
.modal .window h2.left {
  text-align: left;
}
.modal .window h2 .buttons {
  float: right;
  padding-top: 0;
}
.modal .window h2 .buttons .button,
.modal .window h2 .buttons button {
  margin-left: 8px;
}
.modal .window h3 {
  font-size: 16px;
  padding-bottom: 12px;
}
.modal .window p {
  padding-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.modal .window p.integration {
  padding-bottom: 0;
}
.modal .window p.integration strong {
  display: inline-block;
  margin-left: 5px;
  font-weight: 600;
}
.modal .window p.callout-message {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  font-weight: 400;
  padding: 18px 0 30px;
}
.modal .window p a.link {
  color: #333334;
  text-decoration: underline;
}
.modal .window label {
  display: block;
  padding: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
}
.modal .window label.button {
  padding: 10px 14px;
}
.modal .window label.cursor {
  cursor: pointer;
  user-select: none;
}
.modal .window label.checkbox, .modal .window label.radio {
  cursor: pointer;
}
.modal .window label input[type=checkbox],
.modal .window label input[type=radio] {
  margin-right: 8px;
}
.modal .window table {
  table-layout: fixed;
  margin-bottom: 12px;
}
.modal .window table tr td {
  padding: 4px 16px;
  font-size: 12px;
}
.modal .window table tr td:first-child {
  padding-left: 0;
}
.modal .window table tr td:last-child {
  padding-right: 0;
}
.modal .window table tr td strong, .modal .window table tr td p {
  font-size: 14px;
}
.modal .window table tr td.no-pad {
  padding-right: 0;
  padding-left: 0;
}
.modal .window table tr td.no-wrap {
  white-space: nowrap;
}
.modal .window table tr td.left {
  text-align: left;
}
.modal .window table tr td.center {
  text-align: center;
}
.modal .window table tr td.right {
  text-align: right;
}
.modal .window table tr td button,
.modal .window table tr td .button {
  margin-bottom: 0;
}
.modal .window table tr td span {
  display: inline-block;
  vertical-align: middle;
}
.modal .window table tr td .link {
  display: inline-block;
  cursor: pointer;
  user-select: none;
  margin: 0 10px;
  color: #F7701E;
  vertical-align: middle;
}
.modal .window table tr td .link.no-margin {
  margin: 0;
}
.modal .window table.wide {
  width: 100%;
}
.modal .window table.no-wrap {
  width: 100%;
}
.modal .window table.no-wrap tr td {
  white-space: nowrap;
}
.modal .window table.no-wrap tr td.wrap {
  white-space: normal;
}
.modal .window table.low-padding tr td {
  padding: 4px;
}
.modal .window table.vertical-top tr td {
  vertical-align: top;
}
.modal .window table.no-fixed {
  table-layout: auto;
}
.modal .window table.sub-data {
  width: auto;
  table-layout: auto;
}
.modal .window table.sub-data.right {
  float: right;
}
.modal .window table.sub-data.wide {
  width: 100%;
}
.modal .window table.sub-data tr td {
  padding: 0 6px 0 0 !important;
  background: transparent;
  white-space: nowrap;
}
.modal .window table.right-paging {
  margin: 0 0 24px auto;
}
.modal .window table.center-paging {
  margin: 0 auto 24px;
}
.modal .window table.fields {
  margin: 0 auto 24px;
  table-layout: fixed;
}
.modal .window table.fields.no-margin {
  margin: 0;
}
.modal .window table.fields.bottomless {
  margin-bottom: 0;
}
.modal .window table.fields.not-centered {
  margin: 0 0 24px;
}
.modal .window table.fields tr td {
  padding: 0 2px;
  vertical-align: top;
}
.modal .window table.fields tr td .dropdown,
.modal .window table.fields tr td input {
  margin: 0;
  max-width: 118px;
}
.modal .window table.no-pad tr td {
  padding: 0;
}
@media (max-width: 614px) {
  .modal .window table.collapsible {
    display: block;
  }
}
@media (max-width: 614px) {
  .modal .window table.collapsible tr {
    display: block;
  }
}
.modal .window table.collapsible tr td {
  vertical-align: top;
}
@media (max-width: 614px) {
  .modal .window table.collapsible tr td {
    display: block;
    padding: 0 0 12px;
  }
}
.modal .window .datatable table tr th,
.modal .window .datatable table tr td {
  padding: 8px 6px;
  font-size: 14px;
}
.modal .window .datatable table tr th:first-child,
.modal .window .datatable table tr td:first-child {
  padding-left: 6px;
}
.modal .window .datatable table tr th:last-child,
.modal .window .datatable table tr td:last-child {
  padding-right: 6px;
}
.modal .window .datatable table tfoot tr td {
  font-size: 18px;
}
.modal .window .flash {
  text-align: center;
  padding: 12px 0;
}
.modal .window .buttons {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  padding-top: 10px;
}
.modal .window .buttons.single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.modal .window .buttons.three {
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}
.modal .window .buttons.four {
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.modal .window .buttons.auto {
  -ms-grid-columns: auto;
  grid-template-columns: auto;
}
.modal .window .buttons button,
.modal .window .buttons .button {
  font-size: 14px;
  margin: 0;
}
.modal .window .buttons.right {
  display: block;
  text-align: right;
  padding-bottom: 16px;
}
.modal .window .buttons.right button,
.modal .window .buttons.right .button {
  margin-left: 8px;
}
.modal .window .buttons.no-top {
  padding-top: 0;
}
.modal .window .buttons.large-bottom {
  padding-bottom: 36px;
}
.modal .window .buttons.inline {
  display: inline-block;
}
.modal .window .buttons.inline button,
.modal .window .buttons.inline .button {
  margin-right: 4px;
}
.modal .window .buttons.absolute-top-right {
  position: absolute;
  top: 8px;
  right: 74px;
  display: block;
  text-align: right;
}
.modal .window .buttons.absolute-top-right button,
.modal .window .buttons.absolute-top-right .button {
  margin-left: 8px;
  font-size: 12px;
}
.modal .window.wide {
  width: calc(100vw - 200px);
}
.sidebar-collapsed .modal .window.wide {
  -webkit-transform: translate(calc(-50% + 22px), -50%);
  -moz-transform: translate(calc(-50% + 22px), -50%);
  -o-transform: translate(calc(-50% + 22px), -50%);
  transform: translate(calc(-50% + 22px), -50%);
}
.modal .window.wide h2 {
  text-align: left;
}
.modal .window.auto {
  max-width: calc(100% - 40px);
}
.modal .window.scroll {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.modal .window.takeover {
  width: calc(100vw - 12px);
  height: calc(100vh - 12px);
  max-height: 100vh;
  max-width: 100vw;
  top: 50%;
  left: 50%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.modal .window.takeover h2 {
  text-align: left;
}
.modal .window.takeover h3 {
  padding-top: 20px;
}
.modal .window.takeover .center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  text-align: center;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.modal .window.loading::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-image: url(../img/loading.gif);
  background-size: 65px;
  background-position: center;
  background-repeat: no-repeat;
}

.large-list {
  max-height: calc(100vh - 150px);
  padding: 12px 0;
  overflow-x: hidden;
  overflow-y: auto;
  user-select: none;
}
.large-list li {
  border-width: 1px 1px 0;
  border-style: solid;
  border-color: #e6e6e6;
}
.large-list li:first-child {
  border-radius: 3px 3px 0 0;
}
.large-list li:last-child {
  border-width: 1px;
  border-radius: 0 0 3px 3px;
}
.large-list li a {
  display: block;
  padding: 30px;
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.large-list li a:hover {
  background-color: #e6e6e6;
}
.large-list li a h3 {
  display: block;
  padding: 0 0 6px;
  font-weight: 400;
  font-size: 22px;
  text-align: center;
  color: #333334;
}
.large-list li a small {
  display: block;
  padding: 0;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: #9B9B9B;
}

.large-stats {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  width: 100%;
}
.large-stats.two {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}
.large-stats.three {
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 614px) {
  .large-stats {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .large-stats.two, .large-stats.three {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.large-stats .group {
  text-align: center;
  padding: 0 0 16px 0;
}
@media (max-width: 614px) {
  .large-stats .group {
    margin-bottom: 20px;
  }
}
.large-stats .group:last-child {
  border-right: none;
}
.large-stats .group h2 {
  padding-top: 0px !important;
  padding-bottom: 12px !important;
}
.large-stats .group ul {
  display: -ms-grid;
  display: grid;
  width: 100%;
  -ms-grid-columns: auto;
  grid-template-columns: auto;
  grid-auto-flow: column;
  grid-gap: 8px;
}
.large-stats .group ul li {
  padding: 12px 24px 4px;
  background: #f2f2f2;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .large-stats .group ul li {
    padding: 8px;
  }
}
.large-stats .group ul li > h2 {
  padding: 0 !important;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  vertical-align: baseline;
  text-align: center;
  color: #333334;
}
.large-stats .group ul li > h2 > small {
  font-size: 12px;
  font-weight: 500;
}
.large-stats .group ul li > small {
  display: block;
  font-size: 14px;
  text-align: center;
  font-weight: 400;
  padding: 8px 0;
}
.large-stats .group ul li.red > h2 {
  border-bottom: 4px solid #da4545;
}
.large-stats .group ul li.green > h2 {
  border-bottom: 4px solid #4d9e44;
}
.large-stats .group ul li.yellow > h2 {
  border-bottom: 4px solid #f2ce29;
}
.large-stats .group ul li.blue > h2 {
  border-bottom: 4px solid #4071ca;
}

#site-flashes .flash {
  padding: 16px;
  text-align: center;
}
#site-flashes .flash.urgent {
  background: #ffe8e8;
  color: #000;
  border-bottom: 1px solid #ffcfcf;
}
#site-flashes .flash.urgent a {
  color: #000;
}
#site-flashes .flash.success {
  background: #d8f0d6;
  color: #000;
  border-bottom: 1px solid #c6e9c3;
}
#site-flashes .flash.success a {
  color: #000;
}
#site-flashes .flash.warning {
  background: #fff9d4;
  color: #000;
  border-bottom: 1px solid #fff5bb;
}
#site-flashes .flash.warning a {
  color: #000;
}
#site-flashes .flash.message {
  background: #e5f5ff;
  color: #000;
  border-bottom: 1px solid #ccebff;
}
#site-flashes .flash.message a {
  color: #000;
}

.charts {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
@media (max-width: 768px) {
  .charts {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.charts.single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.charts .chart {
  position: relative;
  overflow: auto;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(100, 100, 100, 0.3);
  padding: 0 0 12px;
}
.charts .chart h2 {
  padding: 16px 16px 0 !important;
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  vertical-align: baseline;
  text-align: left;
  color: #333334;
  float: left;
}
@media (max-width: 1240px) {
  .charts .chart h2 {
    float: none;
  }
}
.charts .chart h2 > small {
  font-size: 12px;
  font-weight: 300;
}
.charts .chart .goals {
  padding-top: 12px;
  text-align: center;
}
.charts .chart .goals .goal {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
}
.charts .chart .goals .goal .color {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 2px;
  margin-right: 3px;
}
.charts .chart .goals .goal .label {
  display: inline-block;
  vertical-align: middle;
  font-size: 12px;
}
.charts .chart .filters {
  padding-bottom: 16px;
  text-align: center;
  margin: 16px 16px 0;
  float: right;
}
@media (max-width: 1240px) {
  .charts .chart .filters {
    display: grid;
    grid: auto/repeat(3, 1fr);
    float: none;
  }
}
.charts .chart .filters .selectbox,
.charts .chart .filters .dropdown {
  margin: 0 4px 4px;
}
.charts .chart .filters .selectbox:first-child,
.charts .chart .filters .dropdown:first-child {
  margin-left: 0;
}
.charts .chart .filters .selectbox:last-child,
.charts .chart .filters .dropdown:last-child {
  margin-right: 0;
}
.charts .chart .filters .selectbox > a,
.charts .chart .filters .dropdown > a {
  font-size: 12px;
  padding: 8px 24px 8px 10px;
}
.charts .chart .figure {
  padding: 12px 20px 0;
  clear: both;
}
@media (max-width: 614px) {
  .charts .chart .figure {
    padding: 10px;
  }
}
.charts .chart .canvas {
  height: 400px;
}
@media (max-width: 614px) {
  .charts .chart .canvas {
    height: 350px;
  }
}
.charts .chart.loading .figure {
  background-image: url(../img/loading.gif);
  background-size: 48px;
  background-position: center;
  background-repeat: no-repeat;
}

.boxes {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
}
.boxes.wide {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.boxes.centered {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
.boxes > div {
  background: #f2f2f2;
  border-radius: 3px;
  padding: 24px;
}
.boxes > div:nth-child(3) {
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-row: 2/span 1;
  grid-column: 1/span 2;
}
.boxes > div > h2 {
  padding-top: 0;
}
#inner-content .boxes > div > h2 {
  padding-top: 0;
}
.boxes > div > h2 .button {
  float: right;
}
.boxes table {
  width: 100%;
  border-collapse: collapse;
}
.boxes table thead tr th {
  padding: 10px 4px;
  text-align: left;
  white-space: nowrap;
}
.boxes table thead tr th.right {
  text-align: right;
}
.boxes table tbody tr td {
  text-align: left;
  border-top: 1px solid #d9d9d9;
  vertical-align: middle;
  padding: 6px 4px;
}
.boxes table tbody tr td.right {
  text-align: right;
}
.boxes table tbody tr td .arrow-up,
.boxes table tbody tr td .arrow-down,
.boxes table tbody tr td .remove {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin: 0 8px 0 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  cursor: pointer;
}
.boxes table tbody tr td .arrow-up {
  background-image: url("../img/icons/up-arrow-gray.svg");
}
.boxes table tbody tr td .arrow-down {
  background-image: url("../img/icons/down-arrow-gray.svg");
}
.boxes table tbody tr td .remove {
  background-image: url("../img/icons/remove.svg");
  margin-right: 0;
}
.boxes table tbody tr td input[type=text],
.boxes table tbody tr td input[type=number],
.boxes table tbody tr td input[type=date],
.boxes table tbody tr td input[type=time],
.boxes table tbody tr td input[type=password],
.boxes table tbody tr td .text-field,
.boxes table tbody tr td .selectbox {
  margin: 0;
}
.boxes table tbody tr td .options label {
  margin-top: 12px;
}
.boxes table tbody tr td .options small {
  display: block;
  font-size: 0.8em;
}
.boxes table tbody tr td .options strong {
  font-weight: 700;
}
.boxes table tbody tr.buttons td {
  border: 0;
  padding-top: 12px;
}

table td.no-wrap {
  white-space: nowrap;
}
table.top-aligned tr td {
  vertical-align: top;
}
table.middle-aligned tr td {
  vertical-align: middle;
}
table.bottom-aligned tr td {
  vertical-align: bottom;
}

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

.v-scroll {
  overflow-y: auto;
}

.drag-n-drop {
  width: 100%;
  max-width: 740px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 34px;
}
.drag-n-drop .left-side,
.drag-n-drop .right-side {
  position: relative;
}
.drag-n-drop .left-side label,
.drag-n-drop .right-side label {
  display: block;
  font-size: 12px;
  padding: 12px 8px 8px;
}
.drag-n-drop .left-side ul,
.drag-n-drop .right-side ul {
  min-height: 200px;
  max-height: calc(100vh - 400px);
  padding: 12px 12px 100px 60px;
  border-radius: 3px;
  border: 1px solid #cccccc;
  overflow-x: hidden;
  overflow-y: auto;
}
.drag-n-drop .left-side ul.dragover,
.drag-n-drop .right-side ul.dragover {
  background: #e5f5ff;
}
.drag-n-drop .left-side ul li,
.drag-n-drop .right-side ul li {
  font-size: 14px;
  font-weight: 400;
  padding: 12px;
  cursor: move;
  margin-bottom: 4px;
  border: 1px solid #333334;
  border-radius: 3px;
}
.drag-n-drop .left-side ul::after {
  position: absolute;
  left: 100%;
  top: 60px;
  content: "";
  display: block;
  width: 34px;
  height: 24px;
  background-position: center;
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-image: url(../img/icons/switch-arrows-gray.svg);
}
.drag-n-drop .left-side ul li {
  background: #fff;
}
.drag-n-drop .left-side ul li:hover {
  background: #e6e6e6;
}
.drag-n-drop .left-side .instructions {
  font-size: 13px;
  padding: 20px 0 0;
  line-height: 26px;
  max-width: 440px;
}
.drag-n-drop .right-side ul li {
  background: #d8f0d6;
}
.drag-n-drop .right-side ul li:hover {
  background: #b4e2b1;
}

#map {
  position: absolute;
  top: 0;
  right: 230px;
  left: 230px;
  bottom: 0;
}
@media (max-width: 966px) {
  #map {
    top: 46px;
    right: 0;
    left: 0;
  }
}

.patrols-collapsed #map {
  left: 0;
}

.incidents-collapsed #map {
  right: 0;
}

.replay-map #map {
  left: 0;
  right: 0;
  bottom: 112px;
}
@media (max-width: 966px) {
  .replay-map #map {
    top: 0;
  }
}

.esc {
  position: absolute;
  top: 12px;
  left: 50%;
  border-radius: 26px;
  background: #fff;
  text-align: center;
  color: #333334;
  font-size: 12px;
  padding: 10px 20px;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  user-select: none;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.esc.fixed {
  position: fixed;
  z-index: 1;
}

.selecting-assets {
  position: absolute;
  top: 62px;
  left: 12px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  user-select: none;
  padding: 8px 8px 0;
}
.selecting-assets h2 {
  padding: 0 5px 8px;
  font-weight: 500 !important;
  font-size: 14px !important;
}
#inner-content .selecting-assets h2 {
  padding: 0 5px 8px;
}
.selecting-assets ul {
  margin-bottom: 8px;
  border: 1px solid #f2f2f2;
}
.selecting-assets ul li {
  position: relative;
  padding: 5px 34px 5px 8px;
  color: #333334;
  font-size: 14px;
}
.selecting-assets ul li .remove {
  position: absolute;
  top: 50%;
  right: 5px;
  display: block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  background-image: url(../img/icons/cancel.svg);
  cursor: pointer;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.selecting-assets ul li:nth-child(odd) {
  background: #f2f2f2;
}

.map-controls {
  position: absolute;
  top: 0;
  height: 60px;
  right: 230px;
  left: 230px;
  padding: 0 10px;
}
@media (max-width: 966px) {
  .map-controls {
    top: 46px;
    right: 0;
    left: 0;
  }
}
@media (max-width: 614px) {
  .map-controls {
    padding: 0 8px;
  }
}
.map-controls .map-control-options {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-top: 8px;
}
.map-controls .map-control-options .map-control-option {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin-right: 8px;
}
@media (max-width: 614px) {
  .map-controls .map-control-options .map-control-option {
    margin-right: 8px;
  }
}
.map-controls .map-control-options .map-control-option .anchor {
  display: inline-block;
  padding: 8px 12px;
  font-size: 12px;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  user-select: none;
  white-space: nowrap;
  vertical-align: middle;
}
.map-controls .map-control-options .map-control-option .anchor.active {
  background: #333334;
  color: #fff;
}
.map-controls .map-control-options .map-control-option .anchor.map-options, .map-controls .map-control-options .map-control-option .anchor.layers {
  padding-right: 32px;
}
.map-controls .map-control-options .map-control-option .anchor.map-options::after, .map-controls .map-control-options .map-control-option .anchor.layers::after {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-block;
  width: 12px;
  height: 12px;
  content: "";
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.map-controls .map-control-options .map-control-option .anchor.center-map {
  padding: 7px;
}
.map-controls .map-control-options .map-control-option .anchor.center-map::after {
  display: block;
  content: "";
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/icons/focus-gray.svg");
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.map-controls .map-control-options .map-control-option .anchor.center-map.active::after {
  background-image: url("../img/icons/focus-white.svg");
}
.map-controls .map-control-options .map-control-option .anchor.fullscreen-options {
  padding: 7px;
}
.map-controls .map-control-options .map-control-option .anchor.fullscreen-options::after {
  display: block;
  content: "";
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/icons/expand.svg");
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.map-controls .map-control-options .map-control-option .anchor.fullscreen-options.active {
  background: #fff;
}
.map-controls .map-control-options .map-control-option .anchor.fullscreen-options.active::after {
  background-image: url("../img/icons/collapse.svg");
}
.map-controls .map-control-options .map-control-option .anchor.map-options::after {
  background-image: url("../img/icons/gear-gray.svg");
}
.map-controls .map-control-options .map-control-option .anchor.map-options.active::after {
  background-image: url("../img/icons/gear-white.svg");
}
.map-controls .map-control-options .map-control-option .anchor.layers::after {
  background-image: url("../img/icons/layers-gray.svg");
}
.map-controls .map-control-options .map-control-option .anchor.layers.active::after {
  background-image: url("../img/icons/layers-white.svg");
}
.map-controls .map-control-options .map-control-option .map-control-tray {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  max-height: calc(100vh - 165px);
  padding: 8px 0 6px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  z-index: 4;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.map-controls .map-control-options .map-control-option .map-control-tray.open {
  display: block;
}
.map-controls .map-control-options .map-control-option .map-control-tray .button {
  margin-right: 4px;
}
.map-controls .map-control-options .map-control-option ul li {
  user-select: none;
  white-space: nowrap;
  padding: 4px 12px;
}
.map-controls .map-control-options .map-control-option ul li label {
  position: relative;
  display: block;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  z-index: 2;
}
.map-controls .map-control-options .map-control-option ul li label input[type=checkbox] {
  margin-right: 8px;
  margin-top: -1px;
  vertical-align: middle;
}
.map-controls .map-control-options .map-control-option ul li h3 {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0 12px;
  margin-top: 10px;
  border-top: 1px solid #d9d9d9;
}
.map-controls .map-control-options .map-control-option ul li h3 label {
  font-size: inherit;
  font-weight: inherit;
}
.map-controls .map-control-options .map-control-option ul li.error {
  font-size: 12px;
  font-weight: 500;
}
.map-controls .map-control-options .map-control-option ul li.label {
  font-size: 12px;
  font-weight: 400;
}
.map-controls .map-control-options .map-control-option ul li.checkboxes, .map-controls .map-control-options .map-control-option ul li.radios {
  line-height: 1.8;
  padding: 4px 12px 12px;
}
.map-controls .map-control-options .map-control-option ul li.layer {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 32px 3px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.map-controls .map-control-options .map-control-option ul li.layer .visibility {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("../img/icons/visibility-gray.svg");
  opacity: 0.3;
  cursor: pointer;
  vertical-align: middle;
}
.map-controls .map-control-options .map-control-option ul li.layer .visibility:hover {
  opacity: 0.75;
}
.map-controls .map-control-options .map-control-option ul li.layer .visibility.visible {
  opacity: 1;
}
.map-controls .map-control-options .map-control-option ul li.layer .visibility.disabled, .map-controls .map-control-options .map-control-option ul li.layer .visibility.disabled.visible, .map-controls .map-control-options .map-control-option ul li.layer .visibility.disabled:hover, .map-controls .map-control-options .map-control-option ul li.layer .visibility.disabled.visible:hover {
  opacity: 1;
  background-image: url("../img/icons/visibility-red.svg");
  cursor: auto;
}
.map-controls .map-control-options .map-control-option ul li.layer .color {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -1px;
}
.map-controls .map-control-options .map-control-option ul li.layer .color .outer {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 12px;
  height: 12px;
  transform-origin: center;
  -webkit-transform-origin: center;
  border: 1px solid #333334;
  border-radius: 3px;
  background-color: rgba(189, 189, 189, 0.5);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.map-controls .map-control-options .map-control-option ul li.layer .color .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background-color: #333334;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.map-controls .map-control-options .map-control-option ul li.layer .driver {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  vertical-align: middle;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
}
.map-controls .map-control-options .map-control-option ul li.layer .driver.visible {
  background-image: url("../img/icons/truck-gray.svg");
}
.map-controls .map-control-options .map-control-option ul li.layer .title {
  cursor: pointer;
}
.map-controls .map-control-options .map-control-option ul li.layer .title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  background-image: url("../img/icons/pencil-gray.svg");
  opacity: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.map-controls .map-control-options .map-control-option ul li.layer .title:hover::after {
  opacity: 0.75;
}
.map-controls .map-control-options .map-control-option ul li.layer.active {
  border-color: #da4545;
}
.map-controls .map-control-options .map-control-option ul li:last-child.checkboxes {
  padding-bottom: 4px;
}
.map-controls .map-control-options .map-control-option ul li ul {
  padding-left: 8px;
}
.map-controls .map-control-options .map-control-option ul li ul li {
  padding: 4px 0;
}
.map-controls .map-control-options .map-control-option ul li ul li.checkboxes, .map-controls .map-control-options .map-control-option ul li ul li.radios {
  padding: 4px 0 12px;
}
@media (max-width: 614px) {
  .map-controls .map-control-options .map-control-option.desk {
    display: none;
  }
}
.map-controls .buttons {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  z-index: 2;
  box-sizing: border-box;
}
.map-controls .buttons a {
  display: inline-block;
  padding: 8px 12px;
  margin-right: 8px;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  background-color: #fff;
  cursor: pointer;
  user-select: none;
  border-radius: 3px;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.map-controls .buttons a:hover {
  background-color: #f2f2f2;
}
.map-controls .buttons a:last-child {
  margin-right: 0;
}
.map-controls .buttons a.new-incident {
  color: #fff;
  background: #da4545;
}
.map-controls .buttons a.alarms, .map-controls .buttons a.action {
  color: #fff;
  background: #F7701E;
}
.map-controls .buttons a.expand, .map-controls .buttons a.collapse {
  width: 30px;
  height: 30px;
  padding: 0;
}
@media (max-width: 768px) {
  .map-controls .buttons a.expand, .map-controls .buttons a.collapse {
    display: none;
  }
}
.map-controls .buttons a.expand {
  background-image: url("../img/icons/expand.svg");
}
.map-controls .buttons a.collapse {
  background-image: url("../img/icons/collapse.svg");
}

.replay-map .map-controls {
  left: 0;
  right: 0;
}
@media (max-width: 966px) {
  .replay-map .map-controls {
    top: 0;
  }
}

.waiting {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 26px;
  background: #f2ce29;
  text-align: center;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  user-select: none;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.waiting h3 {
  font-size: 14px;
  font-weight: 500;
}

.map-modal {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(100, 100, 100, 0.3);
  z-index: 50000;
}
.map-modal.fixed {
  position: fixed;
  top: 49px;
  right: 0;
  left: 200px;
  bottom: 36px;
}
.sidebar-collapsed .map-modal.fixed {
  left: 54px;
}
.map-modal.flashes {
  top: auto;
  left: auto;
  right: 12px;
  bottom: 12px;
  max-width: 500px;
  background: transparent;
}
.map-modal .map-modal-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 40px);
  max-width: 600px;
  max-height: calc(100vh - 150px);
  background: #fff;
  padding: 20px 20px 20px;
  border-radius: 3px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}
.map-modal .map-modal-window.auto {
  width: auto;
  max-width: none;
}
.map-modal .map-modal-window.flashes {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  background: transparent;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-box-shadow: 0 0 0 rgba(100, 100, 100, 0);
  -moz-box-shadow: 0 0 0 rgba(100, 100, 100, 0);
  -o-box-shadow: 0 0 0 rgba(100, 100, 100, 0);
  box-shadow: 0 0 0 rgba(100, 100, 100, 0);
}
.map-modal .map-modal-window.flashes a.close-flashes {
  position: absolute;
  top: -24px;
  right: 6px;
  display: block;
  padding: 4px 12px;
  border-radius: 24px;
  background: #fff;
  font-size: 14px;
  color: #333334;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
.map-modal .map-modal-window .cancel {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  background-image: url("../img/icons/cancel.svg");
  cursor: pointer;
}
@media (max-width: 614px) {
  .map-modal .map-modal-window h2 {
    font-size: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
.map-modal .map-modal-window h3 {
  text-align: center;
  font-size: 24px;
  padding: 40px 0;
}
.map-modal .map-modal-window h3 small {
  display: block;
  text-align: center;
  font-size: 14px;
  padding: 12px 0 0;
}
.map-modal .map-modal-window label {
  display: block;
  padding: 0 0 12px;
  cursor: pointer;
}
.map-modal .map-modal-window label input[type=checkbox],
.map-modal .map-modal-window label input[type=radio] {
  margin-right: 8px;
  margin-top: -1px;
  vertical-align: middle;
}
.map-modal .map-modal-window label.button {
  padding: 10px 14px;
}
.map-modal .map-modal-window p {
  padding: 0 0 14px;
  font-weight: 500;
  font-size: 14px;
}
.map-modal .map-modal-window textarea {
  height: 124px;
}
.map-modal .map-modal-window .location {
  font-size: 12px;
  padding-bottom: 12px;
}
.map-modal .map-modal-window .location .locator-marker {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.map-modal .map-modal-window .location .locator-marker .locator-marker-icon {
  cursor: default;
}
.map-modal .map-modal-window .location .incident-marker {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.map-modal .map-modal-window .location .incident-marker .incident-marker-icon {
  cursor: default;
}
.map-modal .map-modal-window .location .address {
  display: inline-block;
  vertical-align: middle;
}
.map-modal .map-modal-window .location .address .formatted {
  padding-bottom: 3px;
  font-weight: bold;
  font-size: 14px;
}
.map-modal .map-modal-window .driver {
  position: relative;
  font-size: 12px;
}
.map-modal .map-modal-window .driver .driver-marker {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.map-modal .map-modal-window .driver .driver-marker .driver-marker-icon {
  cursor: default;
}
.map-modal .map-modal-window .driver .remove {
  position: absolute;
  top: 50%;
  right: 5px;
  display: block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  background-image: url(../img/icons/cancel.svg);
  cursor: pointer;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.map-modal .map-modal-window .vehicles_involved {
  position: relative;
  padding: 10px 0;
}
.map-modal .map-modal-window .vehicles_involved > p {
  padding: 0 0 6px;
  font-size: 12px;
}
.map-modal .map-modal-window .vehicles_involved > strong {
  display: block;
  padding: 2px 0;
  font-size: 13px;
  text-transform: uppercase;
}
.map-modal .map-modal-window .flashes {
  margin-bottom: 12px;
  max-width: 600px;
  max-height: 400px;
  padding: 6px;
  overflow-y: auto;
  overflow-x: hidden;
}
.map-modal .map-modal-window .flashes li {
  position: relative;
  padding: 12px 50px 12px 12px;
  margin-top: 4px;
  color: #000;
  background-color: #f2f2f2;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #d9d9d9;
  border-radius: 3px;
  animation-name: in-from-left;
  animation-duration: 200ms;
  -webkit-box-shadow: 0 2px 8px rgba(100, 100, 100, 0.95);
  -moz-box-shadow: 0 2px 8px rgba(100, 100, 100, 0.95);
  -o-box-shadow: 0 2px 8px rgba(100, 100, 100, 0.95);
  box-shadow: 0 2px 8px rgba(100, 100, 100, 0.95);
}
.map-modal .map-modal-window .flashes li.out {
  animation-name: out-to-right;
  animation-duration: 200ms;
}
.map-modal .map-modal-window .flashes li.alarm {
  color: #fff;
  background: #da4545;
  border-bottom-color: #c52727;
}
.map-modal .map-modal-window .flashes li.urgent {
  background: #ffe8e8;
  border-bottom-color: #ffb5b5;
}
.map-modal .map-modal-window .flashes li.warning {
  background: #fff9d4;
  border-bottom-color: #fff2a1;
}
.map-modal .map-modal-window .flashes li.success {
  background: #d8f0d6;
  border-bottom-color: #b4e2b1;
}
.map-modal .map-modal-window .flashes li .title {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.map-modal .map-modal-window .flashes li .datetime {
  display: block;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 0 0;
  line-height: 1.5;
}
.map-modal .map-modal-window .flashes li .description {
  display: block;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 0 0;
  line-height: 1.5;
}
.map-modal .map-modal-window .flashes li a.close {
  display: block;
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  background-image: url("../img/icons/cancel.svg");
  cursor: pointer;
}
.map-modal .map-modal-window .flashes li.alarm a.close {
  background-image: url("../img/icons/cancel-white.svg");
}
.map-modal .map-modal-window table.wide {
  width: 100%;
}
.map-modal .map-modal-window table.collapsed {
  margin-bottom: 12px;
  border-collapse: collapse;
}
.map-modal .map-modal-window table.no-fixed {
  table-layout: auto;
}
.map-modal .map-modal-window table.fields {
  margin-bottom: 12px;
}
.map-modal .map-modal-window table.fields tr td {
  padding: 0 2px;
}
.map-modal .map-modal-window table.fields tr td:nth-child(odd) {
  padding-right: 4px;
  text-align: right;
}
.map-modal .map-modal-window table.fields tr td:nth-child(even) {
  font-weight: bold;
}
.map-modal .map-modal-window table.no-margin {
  margin: 0;
}
.map-modal .map-modal-window table .left {
  text-align: left;
}
.map-modal .map-modal-window table .center {
  text-align: center;
}
.map-modal .map-modal-window table .right {
  text-align: right;
}
.map-modal .map-modal-window .buttons {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  grid-gap: 4px;
  padding-top: 10px;
}
.map-modal .map-modal-window .buttons.auto {
  grid-auto-columns: 1fr;
}
.map-modal .map-modal-window .buttons.single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.map-modal .map-modal-window .buttons.two {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}
.map-modal .map-modal-window .buttons.three {
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}
.map-modal .map-modal-window .buttons.four {
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.map-modal .map-modal-window .buttons button,
.map-modal .map-modal-window .buttons .button {
  margin: 0;
}
.map-modal .map-modal-window .buttons + button,
.map-modal .map-modal-window .buttons + .button {
  margin-bottom: 0;
  margin-top: 12px;
}

.cctv-camera-marker {
  position: absolute;
  width: 32px;
  height: 32px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.cctv-camera-marker.active {
  z-index: 500;
}
.cctv-camera-marker.active::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  border: 4px solid #4071ca;
  border-radius: 24px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.cctv-camera-marker .cctv-camera-marker-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background-color: #fff;
  background-image: url("../img/icons/camera-gray.svg");
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  animation-name: fade-in;
  animation-duration: 200ms;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
.cctv-camera-marker .cctv-camera-marker-bubble {
  display: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  width: 500px;
  line-height: 1.2;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cctv-camera-marker .cctv-camera-marker-bubble.visible {
  display: block;
}
.cctv-camera-marker .cctv-camera-marker-bubble .cctv-camera-name {
  position: relative;
  padding: 6px;
  background: #4071ca;
  color: white;
  font-weight: 500;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
}
.cctv-camera-marker .cctv-camera-marker-bubble .cctv-camera-name .refresh {
  display: block;
  position: absolute;
  top: 50%;
  right: 6px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-image: url("../img/icons/refresh-white.svg");
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cctv-camera-marker .cctv-camera-marker-bubble .cctv-camera-media .cctv-camera-view {
  margin-bottom: 10px;
  background: #4071ca;
  color: white;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
}
.cctv-camera-marker .cctv-camera-marker-bubble .cctv-camera-media .cctv-camera-view .cctv-camera-view-title {
  padding: 6px 6px 3px;
}
.cctv-camera-marker .cctv-camera-marker-bubble .cctv-camera-media .cctv-camera-view .cctv-camera-view-updated {
  padding: 3px 6px 6px;
  font-weight: 500;
}
.cctv-camera-marker .cctv-camera-marker-bubble .cctv-camera-media .cctv-camera-view .cctv-camera-view-img img {
  display: block;
  width: 100%;
  height: auto;
}

.driver-marker {
  position: absolute;
  width: 56px;
  height: 56px;
}
.driver-marker.active {
  z-index: 500;
}
.driver-marker .driver-marker-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  cursor: pointer;
}
.driver-marker .driver-marker-icon .driver-marker-pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background-image: url("../img/icons/driver-unit-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.driver-marker .driver-marker-icon .driver-marker-pointer::before {
  position: absolute;
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  border-radius: calc(36px / 2);
  top: 50%;
  left: 50%;
  background-color: #333334;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.driver-marker .driver-marker-icon .driver-marker-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
}
.driver-marker .driver-marker-icon .driver-marker-number::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  content: attr(data-vehicle-number);
  display: block;
  font-weight: 500;
  font-size: 12px;
  padding: 2px 3px;
  border-radius: 3px;
  background-color: #333334;
  text-align: center;
  white-space: nowrap;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.driver-marker .driver-marker-icon.available .driver-marker-pointer::before {
  background-color: #4d9e44;
}
.driver-marker .driver-marker-icon.available .driver-marker-number::after {
  color: #fff;
  background-color: #4d9e44;
}
.driver-marker .driver-marker-icon.on_break .driver-marker-pointer::before {
  background-color: #4071ca;
}
.driver-marker .driver-marker-icon.on_break .driver-marker-number::after {
  color: #fff;
  background-color: #4071ca;
}
.driver-marker .driver-marker-icon.on_phone .driver-marker-pointer::before {
  background-color: purple;
}
.driver-marker .driver-marker-icon.on_phone .driver-marker-number::after {
  color: #fff;
  background-color: purple;
}
.driver-marker .driver-marker-icon.in_pursuit .driver-marker-pointer::before, .driver-marker .driver-marker-icon.in_route .driver-marker-pointer::before, .driver-marker .driver-marker-icon.en_route .driver-marker-pointer::before, .driver-marker .driver-marker-icon.paused .driver-marker-pointer::before, .driver-marker .driver-marker-icon.reporting .driver-marker-pointer::before, .driver-marker .driver-marker-icon.in_transit .driver-marker-pointer::before, .driver-marker .driver-marker-icon.transit_complete .driver-marker-pointer::before {
  background-color: #ffe36e;
}
.driver-marker .driver-marker-icon.in_pursuit .driver-marker-number::after, .driver-marker .driver-marker-icon.in_route .driver-marker-number::after, .driver-marker .driver-marker-icon.en_route .driver-marker-number::after, .driver-marker .driver-marker-icon.paused .driver-marker-number::after, .driver-marker .driver-marker-icon.reporting .driver-marker-number::after, .driver-marker .driver-marker-icon.in_transit .driver-marker-number::after, .driver-marker .driver-marker-icon.transit_complete .driver-marker-number::after {
  color: #000;
  background-color: #ffe36e;
}
.driver-marker .driver-marker-icon.on_scene .driver-marker-pointer::before {
  background-color: #f2ce29;
}
.driver-marker .driver-marker-icon.on_scene .driver-marker-number::after {
  color: #000;
  background-color: #f2ce29;
}
.driver-marker .driver-marker-icon.sos .driver-marker-pointer::before {
  background-color: #da4545;
}
.driver-marker .driver-marker-icon.sos .driver-marker-number::after {
  color: #fff;
  background-color: #da4545;
}
.driver-marker .driver-marker-icon.shift_ended .driver-marker-pointer::before, .driver-marker .driver-marker-icon.signed_off .driver-marker-pointer::before {
  background-color: #7f7f81;
}
.driver-marker .driver-marker-icon.shift_ended .driver-marker-number::after, .driver-marker .driver-marker-icon.signed_off .driver-marker-number::after {
  color: #fff;
  background-color: #7f7f81;
}
.driver-marker .driver-marker-icon.stopped .driver-marker-pointer::before, .driver-marker .driver-marker-icon.lost_contact .driver-marker-pointer::before, .driver-marker .driver-marker-icon.out_of_service .driver-marker-pointer::before, .driver-marker .driver-marker-icon.disconnected .driver-marker-pointer::before {
  background-color: #333334;
}
.driver-marker .driver-marker-icon.stopped .driver-marker-number::after, .driver-marker .driver-marker-icon.lost_contact .driver-marker-number::after, .driver-marker .driver-marker-icon.out_of_service .driver-marker-number::after, .driver-marker .driver-marker-icon.disconnected .driver-marker-number::after {
  color: #fff;
  background-color: #333334;
}
.driver-marker.symbol {
  width: 38px;
  height: 38px;
}
.driver-marker.symbol .driver-marker-icon {
  position: relative;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  cursor: pointer;
}
.driver-marker.symbol .driver-marker-icon::before {
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  top: 50%;
  left: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.driver-marker.symbol .driver-marker-icon .driver-marker-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: none;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.driver-marker.symbol .driver-marker-icon .driver-marker-pointer::before {
  display: none;
}
.driver-marker.symbol .driver-marker-icon .driver-marker-number {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 38px;
  height: auto;
  z-index: 1;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
.driver-marker.symbol .driver-marker-icon .driver-marker-number::after {
  position: absolute;
  top: 0;
  left: 50%;
  color: #fff;
  content: attr(data-vehicle-number);
  display: block;
  font-weight: 500;
  font-size: 12px;
  padding: 2px 6px;
  background-color: #333334;
  border: 1px solid #fff;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgb(150, 150, 150);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
.driver-marker.symbol .driver-marker-icon.circle::before {
  background-image: url(../img/icons/vehicle-shape-circle-outside.svg);
}
.driver-marker.symbol .driver-marker-icon.circle .driver-marker-pointer {
  mask-image: url(../img/icons/vehicle-shape-circle-inside.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-circle-inside.svg);
}
.driver-marker.symbol .driver-marker-icon.cross::before {
  background-image: url(../img/icons/vehicle-shape-cross-outside.svg);
}
.driver-marker.symbol .driver-marker-icon.cross .driver-marker-pointer {
  mask-image: url(../img/icons/vehicle-shape-cross-inside.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-cross-inside.svg);
}
.driver-marker.symbol .driver-marker-icon.diamond::before {
  background-image: url(../img/icons/vehicle-shape-diamond-outside.svg);
}
.driver-marker.symbol .driver-marker-icon.diamond .driver-marker-pointer {
  mask-image: url(../img/icons/vehicle-shape-diamond-inside.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-diamond-inside.svg);
}
.driver-marker.symbol .driver-marker-icon.hexagon::before {
  background-image: url(../img/icons/vehicle-shape-hexagon-outside.svg);
}
.driver-marker.symbol .driver-marker-icon.hexagon .driver-marker-pointer {
  mask-image: url(../img/icons/vehicle-shape-hexagon-inside.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-hexagon-inside.svg);
}
.driver-marker.symbol .driver-marker-icon.square::before {
  background-image: url(../img/icons/vehicle-shape-square-outside.svg);
}
.driver-marker.symbol .driver-marker-icon.square .driver-marker-pointer {
  mask-image: url(../img/icons/vehicle-shape-square-inside.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-square-inside.svg);
}
.driver-marker.symbol .driver-marker-icon.triangle::before {
  background-image: url(../img/icons/vehicle-shape-triangle-outside.svg);
}
.driver-marker.symbol .driver-marker-icon.triangle .driver-marker-pointer {
  mask-image: url(../img/icons/vehicle-shape-triangle-inside.svg);
  -webkit-mask-image: url(../img/icons/vehicle-shape-triangle-inside.svg);
}
.driver-marker.symbol .driver-marker-icon.available .driver-marker-number::after {
  color: #fff;
  background-color: #4d9e44;
}
.driver-marker.symbol .driver-marker-icon.on_break .driver-marker-number::after {
  color: #fff;
  background-color: #4071ca;
}
.driver-marker.symbol .driver-marker-icon.on_phone .driver-marker-number::after {
  color: #fff;
  background-color: purple;
}
.driver-marker.symbol .driver-marker-icon.in_pursuit .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.in_route .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.en_route .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.paused .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.reporting .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.in_transit .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.transit_complete .driver-marker-number::after {
  color: #000;
  background-color: #ffe36e;
}
.driver-marker.symbol .driver-marker-icon.on_scene .driver-marker-number::after {
  color: #000;
  background-color: #f2ce29;
}
.driver-marker.symbol .driver-marker-icon.sos .driver-marker-number::after {
  color: #fff;
  background-color: #da4545;
}
.driver-marker.symbol .driver-marker-icon.shift_ended .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.signed_off .driver-marker-number::after {
  color: #fff;
  background-color: #7f7f81;
}
.driver-marker.symbol .driver-marker-icon.stopped .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.lost_contact .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.out_of_service .driver-marker-number::after, .driver-marker.symbol .driver-marker-icon.disconnected .driver-marker-number::after {
  color: #7f7f81;
  background-color: #333334;
}
.driver-marker .driver-marker-bubble {
  display: none;
  position: absolute;
  top: 50%;
  left: 100%;
  min-width: 250px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
  border-radius: 3px;
  line-height: 1.2;
  -webkit-transform: translate(6px, -50%);
  -moz-transform: translate(6px, -50%);
  -o-transform: translate(6px, -50%);
  transform: translate(6px, -50%);
}
.driver-marker .driver-marker-bubble::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.driver-marker .driver-marker-bubble.visible {
  display: block;
}
.driver-marker .driver-marker-bubble .patrol-number {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #4c4c4e;
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .unit-number {
  font-weight: 500;
  padding: 0 0 6px;
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .unit-number.circle::before, .driver-marker .driver-marker-bubble .unit-number.cross::before, .driver-marker .driver-marker-bubble .unit-number.square::before, .driver-marker .driver-marker-bubble .unit-number.diamond::before, .driver-marker .driver-marker-bubble .unit-number.triangle::before, .driver-marker .driver-marker-bubble .unit-number.hexagon::before {
  display: inline-block;
  content: "";
  width: 16px;
  height: 16px;
  margin-top: -4px;
  margin-right: 8px;
  vertical-align: middle;
}
.driver-marker .driver-marker-bubble .unit-number.circle::before {
  background-image: url(../img/vehicle-symbols/circle/default.svg);
}
.driver-marker .driver-marker-bubble .unit-number.cross::before {
  background-image: url(../img/vehicle-symbols/cross/default.svg);
}
.driver-marker .driver-marker-bubble .unit-number.square::before {
  background-image: url(../img/vehicle-symbols/square/default.svg);
}
.driver-marker .driver-marker-bubble .unit-number.diamond::before {
  background-image: url(../img/vehicle-symbols/diamond/default.svg);
}
.driver-marker .driver-marker-bubble .unit-number.triangle::before {
  background-image: url(../img/vehicle-symbols/triangle/default.svg);
}
.driver-marker .driver-marker-bubble .unit-number.hexagon::before {
  background-image: url(../img/vehicle-symbols/hexagon/default.svg);
}
.driver-marker .driver-marker-bubble .vehicle-type {
  padding: 6px 0;
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .vehicle-type.circle::before, .driver-marker .driver-marker-bubble .vehicle-type.cross::before, .driver-marker .driver-marker-bubble .vehicle-type.square::before, .driver-marker .driver-marker-bubble .vehicle-type.diamond::before, .driver-marker .driver-marker-bubble .vehicle-type.triangle::before, .driver-marker .driver-marker-bubble .vehicle-type.hexagon::before {
  display: inline-block;
  content: "";
  width: 16px;
  height: 16px;
  margin-top: -4px;
  margin-right: 10px;
  vertical-align: middle;
}
.driver-marker .driver-marker-bubble .vehicle-type.circle::before {
  background-image: url(../img/vehicle-symbols/circle/default.svg);
}
.driver-marker .driver-marker-bubble .vehicle-type.cross::before {
  background-image: url(../img/vehicle-symbols/cross/default.svg);
}
.driver-marker .driver-marker-bubble .vehicle-type.square::before {
  background-image: url(../img/vehicle-symbols/square/default.svg);
}
.driver-marker .driver-marker-bubble .vehicle-type.diamond::before {
  background-image: url(../img/vehicle-symbols/diamond/default.svg);
}
.driver-marker .driver-marker-bubble .vehicle-type.triangle::before {
  background-image: url(../img/vehicle-symbols/triangle/default.svg);
}
.driver-marker .driver-marker-bubble .vehicle-type.hexagon::before {
  background-image: url(../img/vehicle-symbols/hexagon/default.svg);
}
.driver-marker .driver-marker-bubble .user-name {
  padding: 4px 0 8px;
  font-weight: 500;
}
.driver-marker .driver-marker-bubble .info-table {
  margin-bottom: 4px;
}
.driver-marker .driver-marker-bubble .info-table.wide {
  width: 100%;
}
.driver-marker .driver-marker-bubble .info-table tr td {
  font-size: 12px;
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .info-table tr td:first-child {
  padding-right: 6px;
}
.driver-marker .driver-marker-bubble .info-table tr td:last-child {
  font-weight: 500;
}
.driver-marker .driver-marker-bubble .info-table tr td.direction {
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .info-table tr td.speed {
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .info-table tr td.duration {
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .info-table tr td.distance {
  white-space: nowrap;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status {
  display: inline-block;
  padding: 6px 6px 4px 6px;
  margin-right: 4px;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  background: #333334;
  white-space: nowrap;
  text-align: center;
  border-radius: 3px;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.available {
  color: #fff;
  background: #4d9e44;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.on_break {
  color: #fff;
  background: #4071ca;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.on_phone {
  color: #fff;
  background: purple;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.in_pursuit, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.in_route, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.en_route, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.paused, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.reporting, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.in_transit, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.transit_complete {
  color: #000;
  background: #ffe36e;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.on_scene {
  color: #000;
  background: #f2ce29;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.signed_off, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.shift_ended {
  color: #fff;
  background: #7f7f81;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.lost_contact, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.out_of_service, .driver-marker .driver-marker-bubble .info-table tr td .patrol-status.disconnected {
  color: #fff;
  background: #333334;
}
.driver-marker .driver-marker-bubble .info-table tr td .patrol-status.sos {
  color: #fff;
  background: #da4545;
}
.driver-marker .driver-marker-bubble .info-table tr td .movement-status {
  display: inline-block;
  padding: 6px 6px 4px 6px;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  background: #333334;
  white-space: nowrap;
  text-align: center;
  border-radius: 3px;
}
.driver-marker .driver-marker-bubble .info-table tr td .movement-status.moving {
  background: #4d9e44;
}
.driver-marker .driver-marker-bubble .info-table tr td .movement-status.lost_contact, .driver-marker .driver-marker-bubble .info-table tr td .movement-status.out_of_service, .driver-marker .driver-marker-bubble .info-table tr td .movement-status.disconnected {
  background: #333334;
}
.driver-marker .driver-marker-bubble .info-table tr td .movement-status.stopped, .driver-marker .driver-marker-bubble .info-table tr td .movement-status.speeding {
  background: #da4545;
}
.driver-marker .driver-marker-bubble .buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
  column-gap: 8px;
  row-gap: 8px;
  width: 100%;
  min-width: 350px;
  margin-top: 8px;
}
.driver-marker .driver-marker-bubble .buttons > div {
  display: inline-block;
  font-weight: 500;
  color: #58585A;
  padding: 6px 12px 5px;
  margin: 0;
  box-sizing: border-box;
  outline: 0;
  border: none;
  border-radius: 3px;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  background-color: #fff;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.driver-marker .driver-marker-bubble .buttons > div:last-child {
  margin-right: 0;
}
.driver-marker .driver-marker-bubble .buttons > div::after {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  content: "";
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: contain;
}
.driver-marker .driver-marker-bubble .buttons > div:active, .driver-marker .driver-marker-bubble .buttons > div:focus, .driver-marker .driver-marker-bubble .buttons > div:hover {
  background: #e6e6e6;
}
.driver-marker .driver-marker-bubble .buttons > div.important {
  background-color: #da4545;
}
.driver-marker .driver-marker-bubble .buttons > div.important:active, .driver-marker .driver-marker-bubble .buttons > div.important:focus, .driver-marker .driver-marker-bubble .buttons > div.important:hover {
  background-color: #d63030;
}
.driver-marker .driver-marker-bubble .buttons > div.disabled {
  background: #C8C8C8;
}
.driver-marker .driver-marker-bubble .buttons > div.disabled:active, .driver-marker .driver-marker-bubble .buttons > div.disabled:focus, .driver-marker .driver-marker-bubble .buttons > div.disabled:hover {
  background: #C8C8C8;
  cursor: default;
}
.driver-marker .driver-marker-bubble .buttons > div.active {
  color: #fff;
  background: #4071ca;
}
.driver-marker .driver-marker-bubble .buttons > div.active:active, .driver-marker .driver-marker-bubble .buttons > div.active:focus, .driver-marker .driver-marker-bubble .buttons > div.active:hover {
  background: #2f5aa8;
}
.driver-marker .driver-marker-bubble .buttons > div.cameras-button::after {
  background-image: url("../img/icons/camera-gray.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.message-button::after {
  background-image: url("../img/icons/message-gray.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.detail-button::after {
  background-image: url("../img/icons/device-gray.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.follow-button::after {
  background-image: url("../img/icons/pin-gray.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.follow-button.active::after {
  background-image: url("../img/icons/pin-white.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.incidents-button::after {
  background-image: url("../img/icons/traffic-cone-gray.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.incidents-button.active::after {
  background-image: url("../img/icons/traffic-cone-white.svg");
}
.driver-marker .driver-marker-bubble .buttons > div.hidden {
  display: none;
}

.incident-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.incident-marker.active {
  z-index: 500;
}
.incident-marker .incident-marker-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.incident-marker .incident-marker-icon::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  transform-origin: center;
  -webkit-transform-origin: center;
  border: 2px solid #d63030;
  border-radius: 12px;
  background-color: rgba(218, 69, 69, 0.5);
}
.incident-marker .incident-marker-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #d63030;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.incident-marker .incident-marker-icon.closed::before {
  border: 2px solid rgb(150, 150, 150);
  background-color: rgba(150, 150, 150, 0.5);
}
.incident-marker .incident-marker-icon.closed::after {
  background-color: rgb(150, 150, 150);
}
.incident-marker .incident-marker-bubble {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  min-width: 250px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
  border-radius: 3px;
  line-height: 1.2;
}
.incident-marker .incident-marker-bubble.visible {
  display: block;
}
.incident-marker .incident-marker-bubble .buttons {
  padding-top: 12px;
}
.incident-marker .incident-marker-bubble .buttons a {
  display: inline-block;
  width: calc(50% - 4px);
  padding: 2px;
  font-weight: 500;
  background: #fff;
  color: #333334;
  padding: 6px 12px;
  margin-right: 4px;
  margin-top: 4px;
  box-sizing: border-box;
  border: none;
  outline: 0;
  border-radius: 3px;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
  border: 1px solid #f2f2f2;
}
.incident-marker .incident-marker-bubble .buttons a.primary {
  background: #F7701E;
  color: #fff;
  border: none;
}

.incident-report-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.incident-report-marker.active {
  z-index: 500;
}
.incident-report-marker .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.incident-report-marker .icon .before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 24px;
  height: 24px;
  transform-origin: center;
  -webkit-transform-origin: center;
  border: 2px solid #da4545;
  border-radius: 12px;
  background-color: rgba(218, 69, 69, 0.25);
}
.incident-report-marker .icon .after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #d63030;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.incident-report-marker .incident-marker-bubble {
  display: none;
  position: absolute;
  top: 50%;
  left: 100%;
  min-width: 250px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
  border-radius: 3px;
  line-height: 1.2;
  z-index: 50000;
  -webkit-transform: translate(6px, -50%);
  -moz-transform: translate(6px, -50%);
  -o-transform: translate(6px, -50%);
  transform: translate(6px, -50%);
}
.incident-report-marker .incident-marker-bubble::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.incident-report-marker .incident-marker-bubble.visible {
  display: block;
}
.incident-report-marker .incident-marker-bubble .date-time {
  font-weight: 500;
  padding: 0 0 6px;
  white-space: nowrap;
}
.incident-report-marker .incident-marker-bubble .info-table {
  margin-bottom: 12px;
}
.incident-report-marker .incident-marker-bubble .info-table.wide {
  width: 100%;
}
.incident-report-marker .incident-marker-bubble .info-table tr td {
  font-size: 12px;
  white-space: nowrap;
}
.incident-report-marker .incident-marker-bubble .info-table tr td:first-child {
  padding-right: 6px;
}
.incident-report-marker .incident-marker-bubble .info-table tr td:last-child {
  font-weight: 500;
}
.incident-report-marker .incident-marker-bubble .buttons {
  overflow: hidden;
  display: block;
  width: 100%;
  margin-top: 4px;
}
.incident-report-marker .incident-marker-bubble .buttons a {
  display: inline-block;
  font-weight: 500;
  color: #fff;
  padding: 6px 12px;
  margin-right: 4px;
  width: calc(50% - 8px);
  flex: 1;
  box-sizing: border-box;
  outline: 0;
  border: none;
  border-radius: 3px;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  -webkit-appearance: none;
  background-color: #F78F1E;
  vertical-align: middle;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.incident-report-marker .incident-marker-bubble .buttons a:last-child {
  margin-right: 0;
}
.incident-report-marker .incident-marker-bubble .buttons a:active, .incident-report-marker .incident-marker-bubble .buttons a:focus, .incident-report-marker .incident-marker-bubble .buttons a:hover {
  background-color: #F7701E;
}

.locator-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.locator-marker.active {
  z-index: 500;
}
.locator-marker .locator-marker-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.locator-marker .locator-marker-icon::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  transform-origin: center;
  -webkit-transform-origin: center;
  border: 2px solid #4071ca;
  border-radius: 12px;
  background-color: rgba(64, 113, 202, 0.5);
}
.locator-marker .locator-marker-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #3465bc;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.locator-marker.red .locator-marker-icon::before {
  border: 2px solid #d63030;
  background-color: rgba(218, 69, 69, 0.5);
}
.locator-marker.red .locator-marker-icon::after {
  background-color: #d63030;
}

.landmark-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.landmark-marker.active {
  z-index: 500;
}
.landmark-marker .landmark-marker-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid rgb(255, 255, 255);
  background-color: rgba(189, 189, 189, 0.5);
  border-radius: 6px;
  cursor: pointer;
}
.landmark-marker .landmark-marker-bubble {
  display: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  min-width: 250px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
  border-radius: 3px;
  line-height: 1.2;
  -webkit-transform: translate(6px, -50%);
  -moz-transform: translate(6px, -50%);
  -o-transform: translate(6px, -50%);
  transform: translate(6px, -50%);
}
.landmark-marker .landmark-marker-bubble::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.landmark-marker .landmark-marker-bubble.visible {
  display: block;
}
.landmark-marker .landmark-marker-bubble .landmark-title {
  color: #333334;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 0 12px;
}
.landmark-marker .landmark-marker-bubble .buttons {
  overflow: hidden;
  display: block;
  width: 100%;
  margin-top: 4px;
}
.landmark-marker .landmark-marker-bubble .buttons a {
  display: inline-block;
  font-weight: 500;
  color: #fff;
  padding: 6px 12px;
  margin-right: 4px;
  width: calc(50% - 8px);
  flex: 1;
  box-sizing: border-box;
  outline: 0;
  border: none;
  border-radius: 3px;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  -webkit-appearance: none;
  background-color: #F78F1E;
  vertical-align: middle;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.landmark-marker .landmark-marker-bubble .buttons a:last-child {
  margin-right: 0;
}
.landmark-marker .landmark-marker-bubble .buttons a:active, .landmark-marker .landmark-marker-bubble .buttons a:focus, .landmark-marker .landmark-marker-bubble .buttons a:hover {
  background-color: #F7701E;
}
.landmark-marker .landmark-marker-bubble .buttons a.important {
  background-color: #da4545;
}
.landmark-marker .landmark-marker-bubble .buttons a.important:active, .landmark-marker .landmark-marker-bubble .buttons a.important:focus, .landmark-marker .landmark-marker-bubble .buttons a.important:hover {
  background-color: #d63030;
}
.landmark-marker .landmark-marker-bubble .buttons a.disabled {
  background: #C8C8C8;
}
.landmark-marker .landmark-marker-bubble .buttons a.disabled:active, .landmark-marker .landmark-marker-bubble .buttons a.disabled:focus, .landmark-marker .landmark-marker-bubble .buttons a.disabled:hover {
  background: #C8C8C8;
  cursor: default;
}

.patrols-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 230px;
  background-color: #fff;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  z-index: 3;
}
@media (max-width: 966px) {
  .patrols-sidebar {
    width: 50%;
  }
}
.patrols-sidebar .heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  border-bottom: 1px solid #e6e6e6;
  user-select: none;
}
.patrols-sidebar .heading h2 {
  position: relative;
  height: 46px;
  padding: 16px 16px !important;
  box-sizing: border-box;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1;
  cursor: pointer;
}
.patrols-sidebar .heading h2::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 12px;
  height: 44px;
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: 6px;
  background-image: url("../img/icons/collapse-arrow-gray.svg");
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.patrols-sidebar .patrols {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.patrols-sidebar .patrols.loading {
  background-image: url(../img/loading.gif);
  background-size: 48px;
  background-position: center;
  background-repeat: no-repeat;
}
.patrols-sidebar .patrols > ul {
  border-top: 1px solid #e6e6e6;
}
.patrols-sidebar .patrols > ul:first-child {
  border-top: none;
}
.patrols-sidebar .patrols > ul > li.no-results {
  padding: 12px 20px;
  font-weight: 500;
  font-size: 14px;
}
.patrols-sidebar .patrols > ul > li > a {
  position: relative;
  display: block;
  padding: 8px 12px 8px 34px;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}
.patrols-sidebar .patrols > ul > li > a .visibility {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  display: block;
  width: 14px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("../img/icons/visibility-gray.svg");
  opacity: 0.3;
}
.patrols-sidebar .patrols > ul > li > a .visibility:hover {
  opacity: 0.75;
}
.patrols-sidebar .patrols > ul > li > a .visibility.visible {
  opacity: 1;
}
.patrols-sidebar .patrols > ul > li > a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.patrols-sidebar .patrols > ul > li.collapsed > a::after {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.patrols-sidebar .patrols > ul > li > ul > li {
  border-top: 1px solid #e6e6e6;
}
.patrols-sidebar .patrols > ul > li > ul > li:first-child {
  border-top: none;
}
.patrols-sidebar .patrols > ul > li > ul > li > a {
  position: relative;
  display: block;
  font-size: 12px;
  padding: 8px 12px 6px 34px;
  cursor: pointer;
  color: #000;
  user-select: none;
  line-height: 1;
  background-color: #f2f2f2;
}
.patrols-sidebar .patrols > ul > li > ul > li > a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  display: block;
  content: "";
  width: 8px;
  height: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.patrols-sidebar .patrols > ul > li > ul > li > a .group-message {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  display: block;
  content: "";
  width: 14px;
  opacity: 0.5;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/message-gray.svg");
  cursor: pointer;
}
.patrols-sidebar .patrols > ul > li > ul > li > a .group-message:hover {
  opacity: 1;
}
.patrols-sidebar .patrols > ul > li > ul > li.collapsed > a::after {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li:first-child {
  border-top: none;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a {
  position: relative;
  display: block;
  padding: 6px 12px 6px 36px;
  cursor: pointer;
  color: #000;
  user-select: none;
  font-weight: 500;
  font-size: 12px;
  background-color: #f2f2f2;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  display: block;
  content: "";
  width: 6px;
  height: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -3px;
  background: #333334;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.empty {
  border: 1px solid #333334;
  background: transparent;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.available {
  background: #4d9e44;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.on_break {
  background: #4071ca;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.on_phone {
  background: purple;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.in_pursuit, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.in_route, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.en_route, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.paused, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.reporting, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.in_transit, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.transit_complete, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.on_scene {
  background: #f2ce29;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.sos {
  background: #da4545;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.signed_off, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.shift_ended {
  border: 1px solid #333334;
  background: #7f7f81;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.stopped, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.lost_contact, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.out_of_service, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a span.disconnected {
  background: #333334;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a.sos .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a.out_of_service {
  color: #fff;
  background: #da4545;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a.sos .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a.out_of_service::after {
  background-image: url("../img/icons/down-arrow-white.svg");
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > a.sos .patrols-sidebar .patrols > ul > li > ul > li > ul > li > a.out_of_service span {
  border-color: #fff;
  background: #da4545;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li.collapsed > a::after {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div {
  position: relative;
  padding: 6px 12px 6px 36px;
  font-size: 11px;
  line-height: 16px;
  color: #333334;
  cursor: pointer;
  user-select: none;
  background: #f2f2f2;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div > div {
  user-select: none;
  pointer-events: none;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div > div strong {
  font-weight: 500;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.available {
  background: #d8f0d6;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.on_break {
  background: #e5f5ff;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.on_phone {
  background: #f9e8ff;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.in_pursuit, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.in_route, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.en_route, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.paused, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.reporting, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.in_transit, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.transit_complete, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.on_scene {
  background: #fff9d4;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.sos {
  background: #ffe8e8;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.signed_off, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.shift_ended {
  background: #7f7f81;
}
.patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.stopped, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.disconnected, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.lost_contact, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.out_of_service, .patrols-sidebar .patrols > ul > li > ul > li > ul > li > div > div.sos {
  background: #ffe8e8;
}

.patrols-collapsed .patrols-sidebar {
  bottom: auto;
  border-radius: 0 0 3px 0;
}
.patrols-collapsed .patrols-sidebar .heading {
  position: static;
  border-bottom: none;
}
.patrols-collapsed .patrols-sidebar .heading h2::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.patrols-collapsed .patrols-sidebar .patrols {
  display: none;
}

.incidents-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 230px;
  background-color: #fff;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  z-index: 3;
}
@media (max-width: 966px) {
  .incidents-sidebar {
    width: 50%;
  }
}
.incidents-sidebar .heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  border-bottom: 1px solid #e6e6e6;
  user-select: none;
}
.incidents-sidebar .heading h2 {
  position: relative;
  height: 46px;
  padding: 16px 16px !important;
  box-sizing: border-box;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1;
  cursor: pointer;
}
.incidents-sidebar .heading h2::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 12px;
  height: 44px;
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: 6px;
  background-image: url("../img/icons/collapse-arrow-gray.svg");
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.incidents-sidebar .incidents {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.incidents-sidebar .incidents.loading {
  background-image: url(../img/loading.gif);
  background-size: 48px;
  background-position: center;
  background-repeat: no-repeat;
}
.incidents-sidebar .incidents .buttons {
  position: relative;
  padding: 8px;
}
.incidents-sidebar .incidents .buttons a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  background-color: #fff;
  cursor: pointer;
  user-select: none;
  border-radius: 3px;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.incidents-sidebar .incidents .buttons a:last-child {
  margin-bottom: 0;
}
.incidents-sidebar .incidents .buttons a:hover {
  background-color: #f2f2f2;
}
.incidents-sidebar .incidents .buttons a.new-incident {
  color: #fff;
  background: #da4545;
}
.incidents-sidebar .incidents .buttons a.incident-filter {
  color: #fff;
  background: #4071ca;
}
.incidents-sidebar .incidents ul {
  border-top: 1px solid #e6e6e6;
}
.incidents-sidebar .incidents ul:first-child {
  border-top: none;
}
.incidents-sidebar .incidents ul li.no-results {
  padding: 12px 20px;
  font-weight: 500;
  font-size: 14px;
}
.incidents-sidebar .incidents ul li.incident {
  color: #000;
  background: #ffe8e8;
  border-top: 1px solid #e6e6e6;
}
.incidents-sidebar .incidents ul li.incident a {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  user-select: none;
  line-height: 1;
  cursor: pointer;
}
.incidents-sidebar .incidents ul li.incident a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.incidents-sidebar .incidents ul li.incident a span {
  display: block;
  position: relative;
  font-weight: 400;
}
.incidents-sidebar .incidents ul li.incident a span.date {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.incidents-sidebar .incidents ul li.incident > div {
  padding: 0 12px 12px;
  line-height: 17px;
  user-select: none;
  cursor: pointer;
}
.incidents-sidebar .incidents ul li.incident > div .status {
  display: block;
  color: #333334;
  font-size: 12px;
  font-weight: 600;
}
.incidents-sidebar .incidents ul li.incident > div .user {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  color: #333334;
}
.incidents-sidebar .incidents ul li.incident > div .user strong {
  font-weight: 500;
}
.incidents-sidebar .incidents ul li.incident > div .id {
  display: block;
  font-size: 12px;
  font-weight: 300;
  color: #333334;
}
.incidents-sidebar .incidents ul li.incident > div .id::before {
  content: "#";
}
.incidents-sidebar .incidents ul li.incident > div .app_version {
  display: block;
  font-size: 12px;
  font-weight: 300;
  color: #333334;
}
.incidents-sidebar .incidents ul li.incident > div .no-location {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #da4545;
}
.incidents-sidebar .incidents ul li.incident > div .vehicle {
  display: block;
  font-size: 12px;
  font-weight: 300;
}
.incidents-sidebar .incidents ul li.incident > div .vehicle span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -2px;
  border: 1px solid #333334;
  background: transparent;
}
.incidents-sidebar .incidents ul li.incident > div .vehicle span.active {
  background: #333334;
}
.incidents-sidebar .incidents ul li.incident:first-child {
  border-top: none;
}
.incidents-sidebar .incidents ul li.incident.utl, .incidents-sidebar .incidents ul li.incident.closed {
  color: #000;
  background: #fff;
}
.incidents-sidebar .incidents ul li.incident.cleared {
  color: #000;
  background: #d8f0d6;
}
.incidents-sidebar .incidents ul li.incident.accepted, .incidents-sidebar .incidents ul li.incident.paused {
  color: #000;
  background: #fff9d4;
}
.incidents-sidebar .incidents ul li.incident.accepted.utl, .incidents-sidebar .incidents ul li.incident.accepted.closed, .incidents-sidebar .incidents ul li.incident.paused.utl, .incidents-sidebar .incidents ul li.incident.paused.closed {
  background: #fff;
}
.incidents-sidebar .incidents ul li.incident.accepted.cleared, .incidents-sidebar .incidents ul li.incident.paused.cleared {
  background: #d8f0d6;
}
.incidents-sidebar .incidents ul li.incident.closed.needs_dismissed {
  color: #000;
  background: #F78F1E;
}
.incidents-sidebar .incidents ul li.incident.closed.needs_dismissed > div .status,
.incidents-sidebar .incidents ul li.incident.closed.needs_dismissed > div .user,
.incidents-sidebar .incidents ul li.incident.closed.needs_dismissed > div .id,
.incidents-sidebar .incidents ul li.incident.closed.needs_dismissed > div .app_version,
.incidents-sidebar .incidents ul li.incident.closed.needs_dismissed > div .no-location {
  color: #000;
}
.incidents-sidebar .incidents ul li.incident.collapsed > a::after {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}

.incidents-collapsed .incidents-sidebar {
  bottom: auto;
  border-radius: 0 0 0 3px;
}
.incidents-collapsed .incidents-sidebar .heading {
  position: static;
  border-bottom: none;
}
.incidents-collapsed .incidents-sidebar .heading h2::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.incidents-collapsed .incidents-sidebar .incidents {
  display: none;
}

.logs-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 230px;
  background-color: #fff;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  z-index: 50000;
}
@media (max-width: 966px) {
  .logs-sidebar {
    width: 50%;
  }
}
.logs-sidebar .heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  border-bottom: 1px solid #e6e6e6;
  user-select: none;
}
.logs-sidebar .heading h2 {
  position: relative;
  height: 46px;
  padding: 16px 16px !important;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.logs-sidebar .heading h2::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 12px;
  height: 44px;
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: 6px;
  background-image: url("../img/icons/collapse-arrow-gray.svg");
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.logs-sidebar .logs {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.logs-sidebar .logs ul {
  border-top: 1px solid #e6e6e6;
}
.logs-sidebar .logs ul:first-child {
  border-top: none;
}
.logs-sidebar .logs ul li.no-results {
  padding: 12px 20px;
  font-weight: 500;
  font-size: 14px;
}
.logs-sidebar .logs ul li.fleet-head a {
  position: relative;
  display: block;
  padding: 12px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.logs-sidebar .logs ul li.fleet-head a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("../img/icons/down-arrow-gray.svg");
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.logs-sidebar .logs ul li.fleet-head.collapsed a::after {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.logs-sidebar .logs ul li.log {
  border-top: 1px solid #e6e6e6;
}
.logs-sidebar .logs ul li.log:first-child {
  border-top: none;
}
.logs-sidebar .logs ul li.log a {
  position: relative;
  display: block;
  padding: 6px 12px;
  cursor: pointer;
  color: #000;
  user-select: none;
  line-height: 1;
  background-color: #f2f2f2;
}
.logs-sidebar .logs ul li.log a .patrol_status {
  display: block;
  padding: 2px 0 4px;
  font-weight: 500;
  font-size: 12px;
}
.logs-sidebar .logs ul li.log a .movement_status {
  display: inline-block;
  font-weight: 400;
  font-size: 10px;
  margin-right: 4px;
  color: #333334;
  vertical-align: middle;
}
.logs-sidebar .logs ul li.log a .direction {
  display: inline-block;
  font-weight: 400;
  font-size: 10px;
  margin-right: 4px;
  color: #333334;
  vertical-align: middle;
}
.logs-sidebar .logs ul li.log a .speed {
  display: inline-block;
  font-weight: 400;
  font-size: 10px;
  margin-right: 4px;
  color: #333334;
  vertical-align: middle;
}
.logs-sidebar .logs ul li.log a .time {
  display: block;
  font-weight: 500;
  font-size: 10px;
  padding: 2px 0;
  color: #333334;
}
.logs-sidebar .logs ul li.log.SPEEDING, .logs-sidebar .logs ul li.log.EARLY_SIGNIN, .logs-sidebar .logs ul li.log.LATE_SIGNIN, .logs-sidebar .logs ul li.log.EARLY_SIGNOFF, .logs-sidebar .logs ul li.log.LATE_SIGNOFF, .logs-sidebar .logs ul li.log.WRONG_SIGNIN_LOCATION, .logs-sidebar .logs ul li.log.WRONG_SIGNIN_DAY, .logs-sidebar .logs ul li.log.WRONG_SIGNOFF_LOCATION, .logs-sidebar .logs ul li.log.OUT_OF_BOUNDS, .logs-sidebar .logs ul li.log.STATIONARY, .logs-sidebar .logs ul li.log.LONG_BREAK, .logs-sidebar .logs ul li.log.NO_GPS, .logs-sidebar .logs ul li.log.SOS {
  border-color: #ffb5b5;
}
.logs-sidebar .logs ul li.log.SPEEDING a, .logs-sidebar .logs ul li.log.EARLY_SIGNIN a, .logs-sidebar .logs ul li.log.LATE_SIGNIN a, .logs-sidebar .logs ul li.log.EARLY_SIGNOFF a, .logs-sidebar .logs ul li.log.LATE_SIGNOFF a, .logs-sidebar .logs ul li.log.WRONG_SIGNIN_LOCATION a, .logs-sidebar .logs ul li.log.WRONG_SIGNIN_DAY a, .logs-sidebar .logs ul li.log.WRONG_SIGNOFF_LOCATION a, .logs-sidebar .logs ul li.log.OUT_OF_BOUNDS a, .logs-sidebar .logs ul li.log.STATIONARY a, .logs-sidebar .logs ul li.log.LONG_BREAK a, .logs-sidebar .logs ul li.log.NO_GPS a, .logs-sidebar .logs ul li.log.SOS a {
  background: #ffe8e8;
}
.logs-sidebar .logs ul li.log.LOST_CONTACT, .logs-sidebar .logs ul li.log.OUT_OF_SERVICE, .logs-sidebar .logs ul li.log.STOPPED {
  border-color: #1a1a1a;
}
.logs-sidebar .logs ul li.log.LOST_CONTACT a, .logs-sidebar .logs ul li.log.OUT_OF_SERVICE a, .logs-sidebar .logs ul li.log.STOPPED a {
  background: #333334;
}
.logs-sidebar .logs ul li.log.AVAILABLE {
  border-color: #b4e2b1;
}
.logs-sidebar .logs ul li.log.AVAILABLE a {
  background: #d8f0d6;
}
.logs-sidebar .logs ul li.log.ON_BREAK {
  border-color: #b2e1ff;
}
.logs-sidebar .logs ul li.log.ON_BREAK a {
  background: #e5f5ff;
}
.logs-sidebar .logs ul li.log.ON_SCENE, .logs-sidebar .logs ul li.log.IN_TRANSIT, .logs-sidebar .logs ul li.log.TRANSIT_COMPLETE, .logs-sidebar .logs ul li.log.IN_PURSUIT, .logs-sidebar .logs ul li.log.IN_ROUTE, .logs-sidebar .logs ul li.log.EN_ROUTE, .logs-sidebar .logs ul li.log.PAUSED, .logs-sidebar .logs ul li.log.REPORTING {
  border-color: #fff2a1;
}
.logs-sidebar .logs ul li.log.ON_SCENE a, .logs-sidebar .logs ul li.log.IN_TRANSIT a, .logs-sidebar .logs ul li.log.TRANSIT_COMPLETE a, .logs-sidebar .logs ul li.log.IN_PURSUIT a, .logs-sidebar .logs ul li.log.IN_ROUTE a, .logs-sidebar .logs ul li.log.EN_ROUTE a, .logs-sidebar .logs ul li.log.PAUSED a, .logs-sidebar .logs ul li.log.REPORTING a {
  background: #fff9d4;
}

.logs-collapsed .logs-sidebar {
  bottom: auto;
  border-radius: 0 0 3px 0;
}
.logs-collapsed .logs-sidebar .heading {
  position: static;
  border-bottom: none;
}
.logs-collapsed .logs-sidebar .heading h2::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.logs-collapsed .logs-sidebar .logs {
  display: none;
}

.map-modal .map-modal-window.alarms-window {
  max-width: 640px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.map-modal .map-modal-window.alarms-window .wrap {
  min-height: 350px;
}
.map-modal .map-modal-window.alarms-window table {
  width: 100%;
  margin: 0 0 22px 0;
  table-layout: fixed;
  border-bottom: 1px solid #f2f2f2;
}
@media (max-width: 850px) {
  .map-modal .map-modal-window.alarms-window table {
    margin: 24px 0;
  }
}
.map-modal .map-modal-window.alarms-window table tr:last-child td {
  padding-bottom: 12px;
}
@media (max-width: 850px) {
  .map-modal .map-modal-window.alarms-window table tr:last-child td {
    padding-bottom: 8px;
  }
}
.map-modal .map-modal-window.alarms-window table tr:first-child td:last-child {
  width: 33.33%;
  padding: 0 22px;
}
@media (max-width: 850px) {
  .map-modal .map-modal-window.alarms-window table tr:first-child td:last-child {
    width: auto;
    padding: 0 16px;
  }
}
.map-modal .map-modal-window.alarms-window table td {
  vertical-align: top;
}
@media (max-width: 850px) {
  .map-modal .map-modal-window.alarms-window table td {
    display: block;
  }
}
.map-modal .map-modal-window.alarms-window table td p > a {
  color: #000;
}
.map-modal .map-modal-window.alarms-window table td button, .map-modal .map-modal-window.alarms-window table td .button {
  margin-right: 8px;
}
.map-modal .map-modal-window.alarms-window table td .action {
  font-weight: 700;
  cursor: pointer;
}
.map-modal .map-modal-window.alarms-window table td .action::after {
  content: "";
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.map-modal .map-modal-window.alarms-window table td .action.info::after {
  background-image: url("../img/icons/info.svg");
}
.map-modal .map-modal-window.alarms-window table td .action.remove::after {
  background-image: url("../img/icons/remove.svg");
}

.map-modal .map-modal-window.incident-window {
  max-width: none;
  max-height: none;
  height: auto;
  width: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 0;
  padding: 20px;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.map-modal .map-modal-window.incident-window label {
  padding: 0 0 6px;
  font-size: 12px;
}
.map-modal .map-modal-window.incident-window .context-wrapper {
  height: 100%;
}
.map-modal .map-modal-window.incident-window .incident-grid {
  display: grid;
  height: calc(100vh - 214px);
  grid: auto/440px 3fr 2fr;
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid {
    grid: auto/auto;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div {
  padding: 0 12px;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.basic-details {
  overflow-y: auto;
  overflow-x: hidden;
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid > div.basic-details {
    padding: 0 0 24px;
    overflow-y: initial;
    overflow-x: initial;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div.basic-details .location {
  padding-bottom: 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.basic-details .location .address {
  display: inline-block;
  vertical-align: middle;
  padding: 12px 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.basic-details .location .address .formatted {
  padding-bottom: 3px;
  font-weight: bold;
  font-size: 14px;
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid > div.report-data {
    padding: 0 0 24px;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles .driver {
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles .driver.selected {
  background: #f2f2f2;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .forms {
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - 250px);
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid > div.report-data .forms {
    overflow-y: visible;
    overflow-x: visible;
    height: auto;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .forms .incident-report {
  display: none;
  padding: 12px 0 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .forms .incident-report.visible {
  display: block;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved {
  padding: 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved .vehicle_involved {
  padding: 6px;
  margin-bottom: 6px;
  background: #f2f2f2;
  border-radius: 3px;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved .vehicle_involved table {
  width: 100%;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved .vehicle_involved table td {
  vertical-align: middle;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved .vehicle_involved table td.bottom {
  vertical-align: bottom;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved .vehicle_involved table td label {
  padding: 0 0 4px;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .vehicles_involved .vehicle_involved .remove {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/icons/remove.svg");
  background-size: 12px;
  cursor: pointer;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions {
  display: grid;
  grid: auto/1fr 1fr;
  grid-gap: 12px;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question {
  padding: 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question label {
  font-size: 12px;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question label.inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question .selectbox,
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question input[type=text],
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question input[type=number],
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question input[type=date],
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question input[type=time],
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question input[type=password],
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question .text-field,
.map-modal .map-modal-window.incident-window .incident-grid > div.report-data .incident-report-questions .incident-report-question textarea {
  margin-bottom: 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media > div {
  display: grid;
  height: calc(100vh - 220px);
  grid: 1fr 1fr/auto;
  gap: 24px;
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid > div.media > div {
    height: auto;
    grid: auto/auto;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media > div.single {
  grid: auto/auto;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .incident-map {
  position: relative;
  height: 100%;
  background: #f2f2f2;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid > div.media .incident-map {
    height: 300px;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .incident-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  color: #a6a6a6;
  content: "Incident Location";
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .incident-map.has_location::after {
  display: none;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images {
  position: relative;
  background: #f2f2f2;
  border-radius: 12px;
  overflow-x: hidden;
  overflow-y: auto;
}
@media (max-width: 1160px) {
  .map-modal .map-modal-window.incident-window .incident-grid > div.media .images {
    height: 300px;
  }
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images::after {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  color: #a6a6a6;
  content: "Incident Media";
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images.has_media::after {
  display: none;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images .images-grid {
  display: grid;
  grid: auto/1fr;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images .images-grid .cctv {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #000;
  border: 1px solid black;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images .images-grid .image {
  position: relative;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #000;
  border: 1px solid black;
}
.map-modal .map-modal-window.incident-window .incident-grid > div.media .images .images-grid .image .download {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  background-color: #000;
  background-image: url(../img/icons/download-white.svg);
  cursor: pointer;
}
.map-modal .map-modal-window.incident-window .incident-grid > div:first-child {
  padding-left: 0;
}
.map-modal .map-modal-window.incident-window .incident-grid > div:last-child {
  padding-right: 0;
}

.map-modal.fixed .map-modal-window.incident-window .incident-grid {
  min-height: calc(100vh - 208px);
}
.map-modal.fixed .map-modal-window.incident-window .incident-grid .media .images {
  height: calc(50vh - 122px);
}

.timeline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 112px;
  background: #fff;
  border-radius: 3px;
  border-bottom: 1px solid #e6e6e6;
  z-index: 2;
  box-sizing: border-box;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.timeline .timeline-bar {
  position: absolute;
  top: 72px;
  left: 98px;
  right: 62px;
  height: 4px;
  background-color: #e6e6e6;
  border-radius: 2px;
  cursor: pointer;
}
.timeline .timeline-bar .start-date,
.timeline .timeline-bar .mid-date,
.timeline .timeline-bar .end-date {
  position: absolute;
  bottom: -24px;
  font-size: 12px;
  font-weight: 500;
  user-select: none;
}
.timeline .timeline-bar .start-date::before,
.timeline .timeline-bar .mid-date::before,
.timeline .timeline-bar .end-date::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 4px;
  height: 6px;
  background: #e6e6e6;
  border-radius: 0 0 2px 2px;
}
.timeline .timeline-bar .start-date .date,
.timeline .timeline-bar .mid-date .date,
.timeline .timeline-bar .end-date .date {
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
  opacity: 0.3;
}
@media (max-width: 768px) {
  .timeline .timeline-bar .start-date .date,
  .timeline .timeline-bar .mid-date .date,
  .timeline .timeline-bar .end-date .date {
    display: none;
  }
}
.timeline .timeline-bar .start-date .time,
.timeline .timeline-bar .mid-date .time,
.timeline .timeline-bar .end-date .time {
  display: inline-block;
  vertical-align: middle;
}
.timeline .timeline-bar .start-date {
  left: 0;
}
.timeline .timeline-bar .start-date::before {
  left: 0;
}
.timeline .timeline-bar .mid-date {
  left: 50%;
  text-align: center;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.timeline .timeline-bar .mid-date::before {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.timeline .timeline-bar .end-date {
  right: 0;
  text-align: right;
}
.timeline .timeline-bar .end-date::before {
  right: 0;
}
.timeline .timeline-bar .playhead {
  position: absolute;
  width: 48px;
  height: 24px;
  left: 0;
  top: -14px;
  cursor: move;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.timeline .timeline-bar .playhead::after {
  content: "";
  display: block;
  position: absolute;
  width: 4px;
  height: 24px;
  left: 50%;
  top: 50%;
  background-color: #F7701E;
  border-radius: 2px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.timeline .options {
  position: absolute;
  top: 0;
  right: 30px;
  padding: 12px 0 0;
  font-size: 12px;
}
.timeline .options button {
  margin: 0 8px 0 0;
  vertical-align: middle;
}
.timeline .options label {
  display: inline-block;
  margin: 0 8px;
  font-size: 12px;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
}
.timeline .options label input {
  margin-top: 0;
  margin-right: 7px;
  vertical-align: middle;
}
.timeline .driver {
  position: absolute;
  top: 16px;
  left: 14px;
  user-select: none;
  font-size: 16px;
}
.timeline .driver .username {
  display: inline-block;
  margin-right: 24px;
  vertical-align: middle;
}
.timeline .driver .dates {
  display: inline-block;
  font-size: 12px;
  vertical-align: middle;
}
.timeline .playpause {
  position: absolute;
  top: 54px;
  left: 14px;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("../img/icons/play-gray.svg");
  cursor: pointer;
}
.timeline .playpause.pause {
  background-image: url("../img/icons/pause-gray.svg");
}
.timeline .nudge {
  position: absolute;
  width: 20px;
  height: 20px;
  display: block;
  top: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}
.timeline .nudge.previous {
  left: 65px;
  background-image: url("../img/icons/up-arrow-gray.svg");
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
.timeline .nudge.next {
  right: 30px;
  background-image: url("../img/icons/up-arrow-gray.svg");
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.timeline .nudge.active {
  opacity: 1;
  cursor: pointer;
}

.log_status {
  position: absolute;
  top: 48px;
  left: 10px;
  z-index: 2;
}
.log_status .box {
  min-width: 200px;
  padding: 14px;
  background: #fff;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
  user-select: none;
}
.log_status .box.detail .anchor {
  display: block;
  position: relative;
  cursor: pointer;
}
.log_status .box.detail .anchor::after {
  position: absolute;
  right: 0;
  top: 50%;
  display: block;
  content: "";
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../img/icons/collapse-arrow-gray.svg);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.log_status .box.detail .anchor.open::after {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.log_status .box.detail .deets {
  max-height: calc(100vh - 340px);
  margin-top: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.log_status .box.detail .deets > table {
  border-collapse: collapse;
}
.log_status .box.detail .deets > table > tbody > tr td {
  font-size: 12px;
  text-align: left;
  vertical-align: top;
  padding: 4px 8px;
}
.log_status .box.detail .deets > table > tbody > tr td td {
  padding: 2px 8px;
}
.log_status .box.detail .deets > table > tbody > tr td td:first-child {
  padding-left: 0;
}
.log_status .box.detail .deets > table > tbody > tr td td:last-child {
  padding-right: 0;
}
.log_status .box.detail .deets > table > tbody > tr td:first-child {
  white-space: nowrap;
  padding-left: 3px;
}
.log_status .box.detail .deets > table > tbody > tr td:last-child {
  white-space: nowrap;
  padding-right: 3px;
}
.log_status .box.detail .deets > table > tbody > tr:nth-child(odd) > td {
  background: #f2f2f2;
}
.log_status .event,
.log_status .movement_status,
.log_status .patrol_status {
  display: inline-block;
  margin-right: 4px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background: #333334;
  border-radius: 3px;
}
.log_status .event.AVAILABLE,
.log_status .movement_status.AVAILABLE,
.log_status .patrol_status.AVAILABLE {
  background: #4d9e44;
}
.log_status .event.ON_BREAK,
.log_status .movement_status.ON_BREAK,
.log_status .patrol_status.ON_BREAK {
  background: #4071ca;
}
.log_status .event.ON_PHONE,
.log_status .movement_status.ON_PHONE,
.log_status .patrol_status.ON_PHONE {
  background: purple;
}
.log_status .event.SOS, .log_status .event.OUT_OF_SERVICE,
.log_status .movement_status.SOS,
.log_status .movement_status.OUT_OF_SERVICE,
.log_status .patrol_status.SOS,
.log_status .patrol_status.OUT_OF_SERVICE {
  background: #da4545;
}
.log_status .event.IN_TRANSIT, .log_status .event.TRANSIT_COMPLETE, .log_status .event.IN_PURSUIT, .log_status .event.IN_ROUTE, .log_status .event.EN_ROUTE, .log_status .event.PAUSED, .log_status .event.REPORTING,
.log_status .movement_status.IN_TRANSIT,
.log_status .movement_status.TRANSIT_COMPLETE,
.log_status .movement_status.IN_PURSUIT,
.log_status .movement_status.IN_ROUTE,
.log_status .movement_status.EN_ROUTE,
.log_status .movement_status.PAUSED,
.log_status .movement_status.REPORTING,
.log_status .patrol_status.IN_TRANSIT,
.log_status .patrol_status.TRANSIT_COMPLETE,
.log_status .patrol_status.IN_PURSUIT,
.log_status .patrol_status.IN_ROUTE,
.log_status .patrol_status.EN_ROUTE,
.log_status .patrol_status.PAUSED,
.log_status .patrol_status.REPORTING {
  color: #000;
  background: #ffe36e;
}
.log_status .event.ON_SCENE,
.log_status .movement_status.ON_SCENE,
.log_status .patrol_status.ON_SCENE {
  color: #000;
  background: #f2ce29;
}
.log_status .event.STOPPED,
.log_status .movement_status.STOPPED,
.log_status .patrol_status.STOPPED {
  background: #da4545;
}
.log_status .event.SPEEDING, .log_status .event.EARLY_SIGNIN, .log_status .event.LATE_SIGNIN, .log_status .event.EARLY_SIGNOFF, .log_status .event.LATE_SIGNOFF, .log_status .event.WRONG_SIGNIN_LOCATION, .log_status .event.WRONG_SIGNIN_DAY, .log_status .event.WRONG_SIGNOFF_LOCATION, .log_status .event.OUT_OF_BOUNDS, .log_status .event.STATIONARY, .log_status .event.LONG_BREAK, .log_status .event.NO_GPS,
.log_status .movement_status.SPEEDING,
.log_status .movement_status.EARLY_SIGNIN,
.log_status .movement_status.LATE_SIGNIN,
.log_status .movement_status.EARLY_SIGNOFF,
.log_status .movement_status.LATE_SIGNOFF,
.log_status .movement_status.WRONG_SIGNIN_LOCATION,
.log_status .movement_status.WRONG_SIGNIN_DAY,
.log_status .movement_status.WRONG_SIGNOFF_LOCATION,
.log_status .movement_status.OUT_OF_BOUNDS,
.log_status .movement_status.STATIONARY,
.log_status .movement_status.LONG_BREAK,
.log_status .movement_status.NO_GPS,
.log_status .patrol_status.SPEEDING,
.log_status .patrol_status.EARLY_SIGNIN,
.log_status .patrol_status.LATE_SIGNIN,
.log_status .patrol_status.EARLY_SIGNOFF,
.log_status .patrol_status.LATE_SIGNOFF,
.log_status .patrol_status.WRONG_SIGNIN_LOCATION,
.log_status .patrol_status.WRONG_SIGNIN_DAY,
.log_status .patrol_status.WRONG_SIGNOFF_LOCATION,
.log_status .patrol_status.OUT_OF_BOUNDS,
.log_status .patrol_status.STATIONARY,
.log_status .patrol_status.LONG_BREAK,
.log_status .patrol_status.NO_GPS {
  color: #fff;
  background: #da4545;
}
.log_status .event.SIGNED_OFF, .log_status .event.SHIFT_ENDED,
.log_status .movement_status.SIGNED_OFF,
.log_status .movement_status.SHIFT_ENDED,
.log_status .patrol_status.SIGNED_OFF,
.log_status .patrol_status.SHIFT_ENDED {
  color: #fff;
  background: #7f7f81;
}
.log_status .event.LOST_CONTACT, .log_status .event.OUT_OF_SERVICE, .log_status .event.DISCONNECTED,
.log_status .movement_status.LOST_CONTACT,
.log_status .movement_status.OUT_OF_SERVICE,
.log_status .movement_status.DISCONNECTED,
.log_status .patrol_status.LOST_CONTACT,
.log_status .patrol_status.OUT_OF_SERVICE,
.log_status .patrol_status.DISCONNECTED {
  color: #fff;
  background: #333334;
}
.log_status .speed {
  display: block;
  font-weight: 300;
  font-size: 28px;
  padding: 8px 0;
  color: #333334;
}
.log_status .direction {
  display: block;
  font-weight: 400;
  font-size: 18px;
  margin-right: 4px;
  color: #333334;
}

.map-modal-window.driver-details {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: calc(100% - 40px);
  height: auto;
  max-width: 600px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.map-modal-window.driver-details h1 {
  position: relative;
}
@media (max-width: 768px) {
  .map-modal-window.driver-details h1 {
    padding-bottom: 12px;
  }
}
.map-modal-window.driver-details h1 .status {
  display: inline-block;
  padding: 6px 12px;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: -4px;
  margin-right: 16px;
  border-radius: 3px;
  vertical-align: middle;
}
.map-modal-window.driver-details h1 .status.available {
  color: #fff;
  background: #4d9e44;
}
.map-modal-window.driver-details h1 .status.on_break {
  color: #fff;
  background: #4071ca;
}
.map-modal-window.driver-details h1 .status.on_phone {
  color: #fff;
  background: purple;
}
.map-modal-window.driver-details h1 .status.in_pursuit, .map-modal-window.driver-details h1 .status.in_route, .map-modal-window.driver-details h1 .status.en_route, .map-modal-window.driver-details h1 .status.paused, .map-modal-window.driver-details h1 .status.reporting, .map-modal-window.driver-details h1 .status.in_transit, .map-modal-window.driver-details h1 .status.transit_complete {
  color: #000;
  background: #ffe36e;
}
.map-modal-window.driver-details h1 .status.on_scene {
  color: #000;
  background: #f2ce29;
}
.map-modal-window.driver-details h1 .status.signed_off, .map-modal-window.driver-details h1 .status.shift_ended {
  color: #fff;
  background: #7f7f81;
}
.map-modal-window.driver-details h1 .status.lost_contact, .map-modal-window.driver-details h1 .status.out_of_service, .map-modal-window.driver-details h1 .status.disconnected {
  color: #fff;
  background: #333334;
}
.map-modal-window.driver-details h1 .status.sos {
  color: #fff;
  background: #da4545;
}
@media (max-width: 614px) {
  .map-modal-window.driver-details h1 .vehicle-info {
    display: block;
    padding-top: 12px;
  }
}
.map-modal-window.driver-details button.close {
  position: absolute;
  top: 12px;
  right: 12px;
}
.map-modal-window.driver-details .grid {
  display: grid;
  grid: auto/auto;
  grid-gap: 12px;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}
@media (max-width: 768px) {
  .map-modal-window.driver-details .grid {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.map-modal-window.driver-details .grid .details table {
  table-layout: auto;
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.map-modal-window.driver-details .grid .details table tr td {
  font-size: 12px;
  vertical-align: top;
  padding: 4px;
  white-space: nowrap;
}
.map-modal-window.driver-details .grid .details table tr td:first-child {
  padding-right: 6px;
  text-align: right;
}
.map-modal-window.driver-details .grid .details table tr:nth-child(even) td {
  background-color: #f2f2f2;
}

.map-modal-window.camera-details {
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: auto;
  height: auto;
  max-height: none;
  max-width: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.map-modal-window.camera-details h1 {
  position: relative;
}
@media (max-width: 768px) {
  .map-modal-window.camera-details h1 {
    padding-bottom: 12px;
  }
}
.map-modal-window.camera-details h1 .status {
  display: inline-block;
  padding: 6px 12px;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: -4px;
  margin-right: 16px;
  border-radius: 3px;
  vertical-align: middle;
}
.map-modal-window.camera-details h1 .status.available {
  color: #fff;
  background: #4d9e44;
}
.map-modal-window.camera-details h1 .status.on_break {
  color: #fff;
  background: #4071ca;
}
.map-modal-window.camera-details h1 .status.on_phone {
  color: #fff;
  background: purple;
}
.map-modal-window.camera-details h1 .status.in_pursuit, .map-modal-window.camera-details h1 .status.in_route, .map-modal-window.camera-details h1 .status.en_route, .map-modal-window.camera-details h1 .status.paused, .map-modal-window.camera-details h1 .status.reporting, .map-modal-window.camera-details h1 .status.in_transit, .map-modal-window.camera-details h1 .status.transit_complete {
  color: #000;
  background: #ffe36e;
}
.map-modal-window.camera-details h1 .status.on_scene {
  color: #000;
  background: #f2ce29;
}
.map-modal-window.camera-details h1 .status.signed_off, .map-modal-window.camera-details h1 .status.shift_ended {
  color: #fff;
  background: #7f7f81;
}
.map-modal-window.camera-details h1 .status.lost_contact, .map-modal-window.camera-details h1 .status.out_of_service, .map-modal-window.camera-details h1 .status.disconnected {
  color: #fff;
  background: #333334;
}
.map-modal-window.camera-details h1 .status.sos {
  color: #fff;
  background: #da4545;
}
@media (max-width: 614px) {
  .map-modal-window.camera-details h1 .vehicle-info {
    display: block;
    padding-top: 12px;
  }
}
.map-modal-window.camera-details button.close {
  position: absolute;
  top: 12px;
  right: 12px;
}
.map-modal-window.camera-details .grid {
  display: grid;
  grid: auto/1fr;
  grid-gap: 12px;
  position: absolute;
  top: 60px;
  right: 20px;
  bottom: 20px;
  left: 20px;
}
@media (max-width: 768px) {
  .map-modal-window.camera-details .grid {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.map-modal-window.camera-details .grid .camera-manager {
  position: relative;
  background-color: #eee;
}
@media (max-width: 768px) {
  .map-modal-window.camera-details .grid .camera-manager {
    height: 400px;
  }
}
.map-modal-window.camera-details .grid .camera-manager .center-box {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  text-align: center;
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
@media (max-width: 768px) {
  .map-modal-window.camera-details .grid .camera-manager .center-box {
    top: calc(50% + 32px);
  }
}
.map-modal-window.camera-details .grid .camera-manager .buffering {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  text-align: center;
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
@media (max-width: 768px) {
  .map-modal-window.camera-details .grid .camera-manager .buffering {
    top: calc(50% + 32px);
  }
}
.map-modal-window.camera-details .grid .camera-manager .buffering h3 {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}
.map-modal-window.camera-details .grid .camera-manager .camera-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  grid: auto/repeat(7, 1fr);
  grid-gap: 6px;
  width: min-content;
}
@media (max-width: 768px) {
  .map-modal-window.camera-details .grid .camera-manager .camera-controls {
    right: 12px;
    width: auto;
    grid: 1fr 1fr/1fr 1fr;
    grid-gap: 6px;
  }
}
.map-modal-window.camera-details .grid .camera-manager .camera-controls .selectbox,
.map-modal-window.camera-details .grid .camera-manager .camera-controls button,
.map-modal-window.camera-details .grid .camera-manager .camera-controls .button {
  margin-bottom: 0;
}
.map-modal-window.camera-details .grid .camera-manager #device-image,
.map-modal-window.camera-details .grid .camera-manager #kvs-stream {
  position: absolute;
  top: 60px;
  left: 24px;
  bottom: 24px;
  right: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 84px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 768px) {
  .map-modal-window.camera-details .grid .camera-manager #device-image,
  .map-modal-window.camera-details .grid .camera-manager #kvs-stream {
    top: 82px;
    left: 12px;
    bottom: 10px;
    right: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 92px);
  }
}

.ptz {
  position: absolute;
  top: 60px;
  left: 24px;
  bottom: 24px;
  right: 24px;
}
.ptz.full {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.ptz .caution {
  position: absolute;
  top: 0;
  left: 0;
  right: 128px;
  height: 24px;
  background-color: #f2ce29;
  color: #000;
}
.ptz .caution span {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.ptz .stream {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 132px;
  background: black;
}
.ptz .stream video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ptz .stream h3 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.ptz .controls {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 132px;
  padding: 12px;
}
.ptz .controls .div-t {
  padding-top: 6px;
  margin-top: 6px;
  border-top: 1px solid #d9d9d9;
}
.ptz .controls .div-b {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid #d9d9d9;
}
.ptz .controls .dialpad {
  display: grid;
  grid: 1fr 1fr 1fr/1fr 1fr 1fr;
  grid-gap: 6px;
}
.ptz .controls .plus-minus {
  display: grid;
  grid: auto/auto 24px 24px;
  grid-gap: 6px;
}
.ptz .controls .plus-minus p {
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.ptz .controls .ir-modes {
  display: grid;
  grid: auto auto/auto auto auto;
  grid-gap: 0px;
}
.ptz .controls .ir-modes p {
  padding: 0;
  margin: 0;
  font-size: 12px;
  text-align: center;
  grid-column: 1/4;
}
.ptz .controls .ir-modes a {
  margin: 0 auto;
}
.ptz .controls a.cmd {
  display: block;
  position: relative;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
.ptz .controls a.cmd::after {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background-position: center;
  background-size: 50%;
  background-repeat: no-repeat;
}
.ptz .controls a.cmd.active {
  background-color: #4071ca;
}
.ptz .controls a.cmd.up-left::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.ptz .controls a.cmd.up-left.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.up::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
}
.ptz .controls a.cmd.up.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.up-right::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.ptz .controls a.cmd.up-right.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.left::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
.ptz .controls a.cmd.left.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.zero::after {
  background-image: url(../img/icons/circle-gray.svg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.ptz .controls a.cmd.zero.active::after {
  background-image: url(../img/icons/circle-white.svg);
}
.ptz .controls a.cmd.right::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.ptz .controls a.cmd.right.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.down-left::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.ptz .controls a.cmd.down-left.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.down::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.ptz .controls a.cmd.down.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.down-right::after {
  background-image: url(../img/icons/up-pointer-gray.svg);
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.ptz .controls a.cmd.down-right.active::after {
  background-image: url(../img/icons/up-pointer-white.svg);
}
.ptz .controls a.cmd.plus {
  width: 24px;
  height: 24px;
}
.ptz .controls a.cmd.plus::after {
  background-image: url(../img/icons/plus-gray.svg);
}
.ptz .controls a.cmd.plus.active::after {
  background-image: url(../img/icons/plus-white.svg);
}
.ptz .controls a.cmd.minus {
  width: 24px;
  height: 24px;
}
.ptz .controls a.cmd.minus::after {
  background-image: url(../img/icons/minus-gray.svg);
}
.ptz .controls a.cmd.minus.active::after {
  background-image: url(../img/icons/minus-white.svg);
}
.ptz .controls a.cmd.bnw {
  width: 24px;
  height: 24px;
}
.ptz .controls a.cmd.bnw::after {
  background-image: url(../img/icons/bnw-gray.svg);
}
.ptz .controls a.cmd.bnw.active::after {
  background-image: url(../img/icons/bnw-white.svg);
}
.ptz .controls a.cmd.color {
  width: 24px;
  height: 24px;
}
.ptz .controls a.cmd.color::after {
  background-image: url(../img/icons/color-gray.svg);
}
.ptz .controls a.cmd.color.active::after {
  background-image: url(../img/icons/color-gray.svg);
}
.ptz .controls a.cmd.auto {
  width: 24px;
  height: 24px;
}
.ptz .controls a.cmd.auto::after {
  background-image: url(../img/icons/color-bnw-gray.svg);
}
.ptz .controls a.cmd.auto.active::after {
  background-image: url(../img/icons/color-bnw-gray.svg);
}
.ptz .controls.disabled {
  opacity: 0.35;
}
.ptz .controls.disabled a, .ptz .controls.disabled button {
  cursor: default;
}

.incident-map-container {
  position: relative;
}
.incident-map-container .controls {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
}
.incident-map-container .controls .icon {
  display: inline-block;
  vertical-align: middle;
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  -o-box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.3);
}
.incident-map-container .controls .icon::before {
  display: block;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
}
.incident-map-container .controls .icon.focus::before {
  width: 32px;
  height: 32px;
  background-size: 18px;
  background-image: url("../img/icons/focus-gray.svg");
}

.incidentmap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.locationmap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.locationmap.full {
  position: fixed;
  z-index: 1;
}

.polygonmap {
  position: relative;
  height: calc(100vh - 188px);
}
.polygonmap .polygon-map-instructions {
  position: absolute;
  bottom: 4px;
  left: 94px;
  font-size: 14px;
  font-weight: 700;
}

.polygon-map-container {
  position: relative;
}
.polygon-map-container .polygon-map-controls {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: grid;
  grid: auto/1fr 130px;
  gap: 12px;
}

.report-builder.has-buttons {
  padding-top: 70px;
}
.report-builder > .buttons {
  position: fixed;
  top: 48px;
  left: 200px;
  right: 0;
  padding: 14px 30px 6px 24px;
  text-align: right;
  background-color: #fff;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  z-index: 100;
}
.has-inner-nav .report-builder > .buttons {
  left: 400px;
}
.sidebar-collapsed .report-builder > .buttons {
  left: 44px;
}
.sidebar-collapsed .has-inner-nav .report-builder > .buttons {
  left: 254px;
}
.report-builder > .buttons button {
  margin-left: 8px;
}
.report-builder > .buttons .page-selector {
  margin-bottom: 0;
  float: left;
  text-align: left;
}
.report-builder > .buttons h1 {
  position: absolute;
  top: 50%;
  left: 26px;
  text-align: left;
  padding-bottom: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
#content .report-builder > .buttons h1 {
  padding-bottom: 0;
}

.report-builder-field {
  padding: 10px;
  border-radius: 3px;
  clear: both;
}
.report-builder-field > div {
  padding: 20px;
}
.report-builder-field .clickable {
  display: block;
  cursor: pointer;
}
.report-builder-field .collapse,
.report-builder-field .arrow-up,
.report-builder-field .arrow-down,
.report-builder-field .move-up,
.report-builder-field .move-down,
.report-builder-field .remove {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin: 2px 8px 0 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  cursor: pointer;
}
.report-builder-field .collapse.no-margin,
.report-builder-field .arrow-up.no-margin,
.report-builder-field .arrow-down.no-margin,
.report-builder-field .move-up.no-margin,
.report-builder-field .move-down.no-margin,
.report-builder-field .remove.no-margin {
  margin: 0;
}
.report-builder-field .collapse {
  background-image: url("../img/icons/right-arrow-gray.svg");
}
.report-builder-field .collapse.open {
  background-image: url("../img/icons/down-arrow-gray.svg");
}
.report-builder-field .arrow-up {
  background-image: url("../img/icons/up-arrow-gray.svg");
}
.report-builder-field .arrow-down {
  background-image: url("../img/icons/down-arrow-gray.svg");
}
.report-builder-field .move-up {
  margin: 2px 2px 0 0;
  background-image: url("../img/icons/up-pointer-gray.svg");
}
.report-builder-field .move-down {
  margin: 2px 2px 0 0;
  background-image: url("../img/icons/down-pointer-gray.svg");
}
.report-builder-field .remove {
  background-image: url("../img/icons/remove.svg");
}
.report-builder-field .link {
  display: block;
  padding: 5px;
  font-size: 14px;
}
.report-builder-field .add {
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  color: #333334;
  cursor: pointer;
  white-space: nowrap;
}
.report-builder-field .add::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  vertical-align: middle;
  margin: -2px 8px 0 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/icons/plus-gray.svg");
}
.report-builder-field .clear {
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  color: #333334;
  cursor: pointer;
  white-space: nowrap;
}
.report-builder-field .clear::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: -2px 0 0 5px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../img/icons/remove.svg");
}
.report-builder-field table.first-row {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
.report-builder-field table.first-row tr td {
  vertical-align: middle;
  padding: 0;
}
.report-builder-field table.first-row tr td:first-child {
  width: 100px;
  padding-left: 0;
}
.report-builder-field table.first-row tr td:last-child {
  width: 50px;
  text-align: right;
  padding-right: 0;
}
.report-builder-field table.first-row tr td:last-child:first-child {
  width: auto;
  text-align: left;
}
.report-builder-field table.second-row {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
.report-builder-field table.second-row.nonfixed {
  table-layout: auto;
}
.report-builder-field table.second-row.auto {
  width: auto;
  margin: 0;
}
.report-builder-field table.second-row tr td {
  vertical-align: top;
  padding: 4px;
}
.report-builder-field table.second-row tr td.field-name {
  max-width: 200px;
}
.report-builder-field table.second-row tr td.center {
  text-align: center;
}
.report-builder-field table.second-row tr td.vert-center {
  vertical-align: middle;
}
.report-builder-field table.second-row tr td label {
  display: block;
  padding: 0 0 4px;
  font-size: 12px;
  white-space: nowrap;
}
.report-builder-field table.second-row tr td label.has_checkbox {
  padding: 4px 0;
  cursor: pointer;
}
.report-builder-field table.second-row tr td label.has_checkbox [type=checkbox],
.report-builder-field table.second-row tr td label.has_checkbox [type=radio] {
  margin-right: 8px;
  vertical-align: middle;
}
.report-builder-field table.second-row tr td label.side {
  padding-top: 8px;
}
.report-builder-field table.second-row tr td label.text-right {
  text-align: right;
}
.report-builder-field table.second-row tr td input[type=text].gutter-top,
.report-builder-field table.second-row tr td input[type=number].gutter-top,
.report-builder-field table.second-row tr td input[type=date].gutter-top,
.report-builder-field table.second-row tr td input[type=time].gutter-top,
.report-builder-field table.second-row tr td input[type=password].gutter-top,
.report-builder-field table.second-row tr td .text-field.gutter-top,
.report-builder-field table.second-row tr td .selectbox.gutter-top {
  margin-top: 4px;
}
.report-builder-field table.second-row tr td .options label {
  white-space: normal;
}
.report-builder-field table.second-row tr td .options label.checkbox {
  cursor: pointer;
}
.report-builder-field table.second-row tr td .options label.checkbox input {
  margin: 0 8px 0 0;
}
.report-builder-field table.second-row tr td .options small {
  display: block;
  font-size: 0.8em;
}
.report-builder-field table.second-row tr td .options strong {
  font-weight: 700;
}
.report-builder-field table.second-row tr td .options table {
  width: 100%;
}
.report-builder-field table.second-row tr td .options table td {
  vertical-align: middle;
}
.report-builder-field table.second-row tr td .options table td.left {
  text-align: left;
}
.report-builder-field table.second-row tr td .options table td.center {
  text-align: center;
}
.report-builder-field table.second-row tr td .options table td.right {
  text-align: right;
}
.report-builder-field table.second-row tr td .field-conditions {
  padding: 8px 0 0;
}
.report-builder-field table.second-row tr td .field-conditions .condition {
  padding: 4px 0 0 24px;
}
.report-builder-field table.second-row tr td .field-conditions .condition label {
  padding-bottom: 4px;
}
.report-builder-field table.second-row tr td .field-conditions .condition label.is {
  margin-top: 12px;
}
.report-builder-field table.second-row tr td table.full {
  width: 100%;
}
.report-builder-field table.second-row tr td table.auto {
  width: auto;
  margin: 0;
}
.report-builder-field table.second-row tr td table.day-table {
  margin-top: 8px;
}
.report-builder-field table.second-row tr td table.day-table tr td {
  text-align: center;
}
.report-builder-field table.second-row tr td table.day-table tr td:first-child, .report-builder-field table.second-row tr td table.day-table tr td:last-child {
  width: auto;
}
.report-builder-field table.second-row tr td table.day-table tr td label {
  padding: 0;
  cursor: pointer;
}
.report-builder-field table.second-row tr td table.day-table tr td [type=checkbox] {
  cursor: pointer;
}
.report-builder-field table.second-row.options tr td {
  padding: 6px 0;
  border-top: 1px solid #f2f2f2;
}
.report-builder-field table.second-row.day-table {
  margin-top: 8px;
}
.report-builder-field table.second-row.day-table tr td {
  text-align: center;
}
.report-builder-field table.second-row.day-table tr td:first-child, .report-builder-field table.second-row.day-table tr td:last-child {
  width: auto;
}
.report-builder-field table.second-row.day-table tr td label {
  padding: 0;
  cursor: pointer;
}
.report-builder-field table.second-row.day-table tr td [type=checkbox] {
  cursor: pointer;
}
.report-builder-field:nth-child(even) {
  background-color: #f2f2f2;
}
.report-builder-field.no-pad {
  padding: 0;
}
.report-builder-field.no-pad-deep {
  padding: 0;
}
.report-builder-field.no-pad-deep > div {
  padding: 0;
}

.incident-search-grid {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: grid;
  height: calc(100vh - 48px - 37px);
  grid: auto/316px 1fr;
}
.incident-search-grid > div {
  position: relative;
}
.incident-search-grid.has-results {
  grid: auto/316px 1fr 200px;
}

.conditions {
  padding: 14px;
}
.conditions .buttons {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  padding: 0 0 3px;
}
.conditions .buttons.single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.conditions .buttons.three {
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}
.conditions .buttons.four {
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.conditions .buttons.auto {
  -ms-grid-columns: auto;
  grid-template-columns: auto;
}
.conditions .condition {
  margin-top: 6px;
  padding: 6px 0;
  border-top: 1px solid #d9d9d9;
}
.conditions .condition:first-child {
  margin-top: 0;
  border-top: 0;
}
.conditions .condition table {
  position: relative;
  table-layout: auto;
  width: 100%;
}
.conditions .condition table tr td {
  padding: 3px 0 0;
  vertical-align: middle;
  font-size: 12px;
}
.conditions .condition table tr td .arrow-up,
.conditions .condition table tr td .arrow-down,
.conditions .condition table tr td .remove,
.conditions .condition table tr td .add {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  cursor: pointer;
}
.conditions .condition table tr td .arrow-up {
  background-image: url("../img/icons/up-arrow-gray.svg");
}
.conditions .condition table tr td .arrow-down {
  background-image: url("../img/icons/down-arrow-gray.svg");
}
.conditions .condition table tr td .remove {
  background-image: url("../img/icons/remove.svg");
}
.conditions .condition table tr td .add {
  background-image: url("../img/icons/plus-gray.svg");
}
.conditions .condition table tr td label {
  display: block;
  padding: 3px 0;
  margin: 0 6px;
  font-size: 12px;
}
.conditions .condition table tr td label.checkbox {
  padding: 0;
  cursor: pointer;
}
.conditions .condition table tr td label.checkbox [type=checkbox] {
  vertical-align: middle;
  margin-right: 4px;
}
.conditions .condition table tr td button,
.conditions .condition table tr td .button {
  margin: 0;
  padding: 6px 12px;
}
.conditions .condition table tr td .selectbox,
.conditions .condition table tr td .dropdown {
  margin: 0;
  max-width: 200px;
}
.conditions .condition table tr td .selectbox > a,
.conditions .condition table tr td .dropdown > a {
  padding: 6px 25px 6px 8px;
}
.conditions .condition table tr td .selectbox + .selectbox {
  margin: 2px 0;
}
.conditions .condition table tr td > input[type=text],
.conditions .condition table tr td > input[type=number] {
  font-size: 12px;
  padding: 5px;
  margin: 2px 0;
}
.conditions .condition table tr td .options label {
  margin-top: 24px;
}
.conditions .condition table tr td .options small {
  display: block;
  font-size: 0.8em;
}
.conditions .condition table tr td .options strong {
  font-weight: 700;
}
.conditions .condition + .buttons {
  margin-top: 12px;
}

.incident-search-stats .bubble {
  padding: 12px;
  margin-bottom: 8px;
}
.incident-search-stats .bubble table {
  width: 100%;
  table-layout: auto;
}
.incident-search-stats .bubble table tr td:first-child {
  padding-right: 12px;
  font-size: 12px;
}
.incident-search-stats .bubble table tr td:last-child {
  padding-right: 0;
  font-size: 16px;
}
.incident-search-stats .bubble table tr td.right {
  text-align: right;
}
.incident-search-stats .bubble button,
.incident-search-stats .bubble .button {
  margin-top: 6px;
  margin-bottom: 0;
}
.incident-search-stats .bubble button:first-child,
.incident-search-stats .bubble .button:first-child {
  margin-top: 0;
}
.incident-search-stats .bubble table + button,
.incident-search-stats .bubble table + .button {
  margin-top: 12px;
}
.incident-search-stats .bubble table.radio-group {
  width: 100%;
}
.incident-search-stats .bubble table.radio-group thead tr th {
  padding: 4px 0;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
}
.incident-search-stats .bubble table.radio-group tbody tr td {
  padding: 4px 0;
  text-align: center;
}
.incident-search-stats .bubble table.radio-group tbody tr td label {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}
.incident-search-stats .bubble table.radio-group tbody tr td input {
  display: block;
  margin: 0 auto 2px;
  cursor: pointer;
}
.incident-search-stats .bubble table.colors {
  width: 100%;
  margin: 6px 0;
  border-collapse: collapse;
}
.incident-search-stats .bubble table.colors tr td .selectbox,
.incident-search-stats .bubble table.colors tr td .dropdown {
  margin-bottom: 4px;
}
.incident-search-stats .bubble table.colors tr td .color-picker-grid {
  margin-top: 6px;
}
.incident-search-stats .bubble table.colors tr td .link {
  display: block;
  text-align: right;
}
.incident-search-stats .bubble table.colors tr td label {
  display: block;
  padding: 3px 0;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.incident-search-stats .bubble table.colors tr td.remove {
  width: 16px;
}
.incident-search-stats .bubble table.colors tr:last-child td {
  padding-bottom: 0;
}
.incident-search-stats .bubble table.colors + table.colors {
  border-top: 1px solid #d9d9d9;
}

.pill {
  display: inline-block;
  margin: 0 8px 0 0;
  padding: 4px 6px;
  vertical-align: middle;
  font-size: 10px;
  font-weight: 600;
  color: #58585A;
  background: #f2f2f2;
  border-radius: 3px;
  user-select: none;
}
.editable .pill {
  line-height: 12px;
}
.pill.active {
  color: #fff;
  background: #F7701E;
}
.pill.dark {
  color: #fff;
  background: #58585A;
}
.pill.success {
  color: #fff;
  background: #4d9e44;
}
.pill.blue {
  color: #fff;
  background: #4071ca;
}
.pill.light-blue {
  color: #4071ca;
  background: #e5f5ff;
}
.pill.transparent {
  color: #333334;
  background: transparent;
}
.pill.error {
  color: #fff;
  background: #da4545;
}
.pill.warning {
  color: #000;
  background: #f2ce29;
}
.pill.large {
  font-size: 16px;
}
.pill.no-margin {
  margin: 0;
}
.pill.cursor {
  cursor: pointer;
}
.pill.text-bottom {
  vertical-align: text-bottom;
}
.pill.regular {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 16px;
}
.no-pad-deep .pill {
  padding: 4px 6px !important;
}
.no-pad-deep .pill.regular {
  padding: 6px 12px !important;
}

.settings {
  max-width: 640px;
  margin: 0 auto;
}
.settings h1 {
  font-size: 22px;
  font-weight: 400;
}
#content .settings h1 {
  font-size: 22px;
  font-weight: 400;
}
.settings h1 strong {
  font-size: 16px;
  padding-left: 16px;
  display: inline-block;
  vertical-align: baseline;
}
.settings h3 {
  margin-top: 30px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 400;
  border-top: 1px solid #e6e6e6;
}
.settings h4 {
  margin: 14px 0;
  font-size: 18px;
  font-weight: 400;
}
.settings p {
  line-height: 26px;
  margin-bottom: 12px;
}
.settings pre {
  line-height: 2;
  font-size: 13px;
  padding: 12px;
  background: #f2f2f2;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
}
.settings pre.success {
  background: #d8f0d6;
  color: #4d9e44;
}
.settings table {
  margin: 12px 0 24px;
}
.settings table.wide {
  width: 100%;
}
.settings table tr td {
  padding: 0;
}
.settings table tr td.right {
  text-align: right;
}
.settings table tr td.no-pad {
  padding: 0;
}
.settings table tr td label {
  display: block;
  padding: 8px 0;
  cursor: pointer;
}
.settings table tr td label input[type=checkbox],
.settings table tr td label input[type=radio] {
  vertical-align: middle;
  margin-right: 12px;
}
.settings table tr td label small {
  display: block;
  padding-left: 30px;
  padding-top: 6px;
  line-height: 20px;
  font-weight: 300;
}
.settings table tr td label small input[type=text] {
  margin-top: 12px;
}
.settings table tr td label small.inline {
  display: inline;
}
.settings.wide {
  max-width: initial;
  margin: 0;
}
.settings.wide p {
  max-width: 550px;
}
.settings .rule {
  height: 0;
  margin: 45px 0;
  border-bottom: 1px solid #d9d9d9;
}

table.code-samples {
  table-layout: auto;
  width: 100%;
  border-collapse: collapse;
}
table.code-samples > tr > td,
table.code-samples > tbody > tr > td {
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}
table.code-samples > tr > td.no-wrap,
table.code-samples > tbody > tr > td.no-wrap {
  white-space: nowrap;
}
table.code-samples > tr > td.bold,
table.code-samples > tbody > tr > td.bold {
  font-weight: bold;
}
table.code-samples > tr > td:first-child,
table.code-samples > tbody > tr > td:first-child {
  padding: 0 10px 0 0;
}
table.code-samples > tr > td:last-child,
table.code-samples > tbody > tr > td:last-child {
  padding: 0 0 0 10px;
}
table.code-samples > tr > td:last-child:first-child,
table.code-samples > tbody > tr > td:last-child:first-child {
  padding: 0;
}

table.docs {
  table-layout: auto;
  width: 100%;
  border-collapse: collapse;
}
table.docs thead td, table.docs thead th {
  padding: 10px;
  font-size: 13px;
  text-align: left;
  background-color: #d9d9d9;
  white-space: nowrap;
}
table.docs tbody td {
  padding: 14px 10px;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}
table.docs tbody td:first-child {
  width: 200px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
}
table.docs tbody tr:nth-child(even) td {
  background-color: #f2f2f2;
}

table.inspection {
  width: 100%;
  margin: 0 auto;
}
table.inspection label {
  cursor: pointer;
  font-size: 16px;
}
.modal .window table.inspection label {
  font-size: 16px;
}

.color-picker-grid {
  display: grid;
  grid: auto/32px auto auto;
}
.color-picker-grid > div {
  position: relative;
}
.color-picker-grid .color-picker-accept {
  padding: 4px 6px 3px;
  margin-bottom: 0;
}
.color-picker-grid .color-picker {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: none;
}
.color-picker-grid .color-picker-input {
  margin: 0;
  padding: 3px 8px 10px;
  font-size: 12px;
  color: #333334;
  background-color: transparent;
  border: none;
}
.color-picker-grid .color-picker-input[readonly] {
  color: #333334;
  background-color: transparent;
  border: none;
}

.color-picker-box {
  display: block;
  max-width: 340px;
  border: 1px solid #f2f2f2;
  border-radius: 3px;
  padding: 24px;
  margin: 0 0 24px;
}
.color-picker-box label {
  display: block;
  padding: 0 0 12px;
}
.color-picker-box #color-picker {
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  cursor: pointer;
}
.color-picker-box table tr td {
  vertical-align: top;
}
.color-picker-box.full {
  max-width: none;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
}
.color-picker-box.full table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
}
.color-picker-box.full table td {
  padding: 0 !important;
}
.color-picker-box.full table td input[type=text],
.color-picker-box.full table td input[type=number],
.color-picker-box.full table td input[type=date],
.color-picker-box.full table td input[type=time],
.color-picker-box.full table td input[type=password],
.color-picker-box.full table td .text-field,
.color-picker-box.full table td textarea {
  margin: 0;
}

.color-picker,
.color-picker::before,
.color-picker::after,
.color-picker *,
.color-picker *::before,
.color-picker *::after {
  box-sizing: border-box;
}

.color-picker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 1px 5px 10px rgba(0, 0, 0, 0.5);
}

.color-picker-container {
  direction: rtl;
  display: flex;
  height: 10em;
  border: 1px solid #000;
  color: #000;
}

.color-picker-container * {
  border-color: inherit;
  color: inherit;
}

.color-picker i {
  font: inherit;
  font-size: 12px; /* measure the color control size by measuring the text size */
}

.color-picker-h,
.color-picker-sv {
  direction: ltr;
  background-size: 100% 100%;
  position: relative;
}

.color-picker-h {
  width: 1.5em;
  border-left: 1px solid;
  background: transparent url("color-picker-h.png") no-repeat 50% 50%;
  background-image: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
  cursor: ns-resize;
  overflow: hidden;
}

.color-picker-h i {
  display: block;
  height: 0.5em;
  position: absolute;
  top: -0.25em;
  right: 0;
  left: 0;
  z-index: 3;
}

.color-picker-h i::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0.25em solid;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.color-picker-sv {
  width: 10em;
  background: transparent url("color-picker-sv.png") no-repeat 50% 50%;
  background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)), linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  cursor: crosshair;
}

.color-picker-sv i {
  display: block;
  width: 0.8em;
  height: 0.8em;
  position: absolute;
  top: -0.4em;
  right: -0.4em;
  z-index: 3;
}

.color-picker-sv i::before,
.color-picker-sv i::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid;
  border-color: inherit;
  border-radius: 100%;
}

.color-picker-sv i::before {
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  border-color: #fff;
}

.color-picker-h,
.color-picker-sv {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

.progress-bar {
  position: relative;
  display: block;
  margin: 12px 0;
}
.progress-bar .track {
  position: relative;
  display: block;
  height: 4px;
  background-color: #C8C8C8;
}
.progress-bar .track .bar {
  position: relative;
  display: block;
  height: 4px;
  background-color: #F7701E;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}

.survey-upload {
  max-width: 640px;
}
.survey-upload > div p {
  line-height: 1.8;
  font-weight: 400;
}
.survey-upload > div img {
  display: block;
  width: 280px;
  height: auto;
}
.survey-upload > div ol {
  list-style: decimal;
  padding-left: 14px;
}
.survey-upload > div ol li {
  padding: 0 0 12px;
}

.canned-reports .filters {
  padding-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}
.canned-reports .filters .selectbox,
.canned-reports .filters .dropdown,
.canned-reports .filters button {
  margin: 0 4px;
}
.canned-reports .preview {
  position: relative;
  height: calc(100vh - 232px);
  box-sizing: border-box;
  border: 1px solid #f2f2f2;
}
.canned-reports .preview.loading::before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background-image: url(../img/loading.gif);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.canned-reports .preview iframe {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.device-grid {
  display: grid;
  grid: auto/1fr 1fr;
  grid-gap: 50px;
  height: calc(100% - 98px);
}
.device-grid > div {
  position: relative;
}
.device-grid > div #device-map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.device-grid > div table {
  border-collapse: collapse;
}
.device-grid > div table tr td {
  vertical-align: top;
}
.device-grid > div .last-known {
  position: absolute;
  top: 24px;
  left: 50%;
  background: #fff;
  box-shadow: 0 2px 3px rgba(100, 100, 100, 0.5);
  border-radius: 24px;
  color: #333334;
  text-align: center;
  font-size: 14px;
  padding: 7px 20px 8px;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

table.specs {
  border-collapse: collapse;
}
table.specs.wide {
  width: 100%;
}
table.specs thead tr th {
  font-size: 12px;
  text-align: left;
  padding: 5px;
}
table.specs tbody tr td {
  padding: 5px !important;
}
table.specs tbody tr td:first-child {
  padding: 5px !important;
  text-align: right;
  white-space: nowrap;
}
table.specs tbody tr td .link {
  display: inline-block;
  margin: 0 0 0 12px;
}
table.specs tbody tr:nth-child(odd) td {
  background: #f2f2f2;
}
table.specs tbody tr:nth-child(odd) td.no-spec {
  background: inherit;
}

.online-status {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  border: 2px solid #333334;
  margin-right: 12px;
  margin-top: -3px;
}
.online-status.online {
  border-color: #4d9e44;
  background: #4d9e44;
}
.online-status.online.purple {
  border-color: purple;
  background: purple;
}
.online-status.online.red {
  border-color: #da4545;
  background: #da4545;
}
.online-status.online.blue {
  border-color: #4071ca;
  background: #4071ca;
}
.online-status.online.yellow {
  border-color: #f2ce29;
  background: #f2ce29;
}

.imei {
  user-select: none;
}
.imei .imei-minor {
  color: #333334;
  display: inline-block;
  margin-right: 4px;
}
.imei .imei-major {
  color: #000;
  display: inline-block;
}

.device-brightness-locking-controls {
  display: grid;
  grid: auto/1fr 54px 54px;
  grid-gap: 28px;
  margin-top: 18px;
  margin-bottom: 18px;
  max-width: 430px;
}
.device-brightness-locking-controls label {
  margin-bottom: 4px;
}
.device-brightness-locking-controls .slide-control {
  margin-top: 12px;
}

.slide-control {
  width: 100%;
  height: 4px;
  position: relative;
  background: #f2f2f2;
  border-radius: 2px;
}
.slide-control .slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  border-radius: 2px;
  background: #F7701E;
}
.slide-control .handle {
  position: absolute;
  top: 2px;
  display: block;
  width: 24px;
  height: 24px;
  background: #fff;
  box-shadow: 0 2px 3px rgba(100, 100, 100, 0.5);
  border-radius: 12px;
  cursor: move;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.toggle-button {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 20px;
  background: #f2f2f2;
  border-radius: 122px;
  cursor: pointer;
  vertical-align: middle;
}
.toggle-button .handle {
  position: absolute;
  top: -2px;
  left: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 3px rgba(100, 100, 100, 0.5);
}
.toggle-button.active {
  background: #F7701E;
}
.toggle-button.active .handle {
  left: auto;
  right: 0;
}

.hljs {
  display: block;
  overflow-x: auto;
  padding: 24px;
  color: #abb2bf;
  background: #282c34;
  -webkit-text-size-adjust: none;
  border-radius: 5px;
  -moz-tab-size: 4;
  tab-size: 3;
  line-height: 20px;
  font-size: 14px;
}

.hljs-comment, .hljs-quote {
  color: #5c6370;
  font-style: italic;
}

.hljs-doctag, .hljs-formula, .hljs-keyword {
  color: #c678dd;
}

.hljs-deletion, .hljs-name, .hljs-section, .hljs-selector-tag, .hljs-subst {
  color: #e06c75;
}

.hljs-literal {
  color: #56b6c2;
}

.hljs-addition, .hljs-attribute, .hljs-meta-string, .hljs-regexp, .hljs-string {
  color: #98c379;
}

.hljs-built_in, .hljs-class .hljs-title {
  color: #e6c07b;
}

.hljs-attr, .hljs-number, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-pseudo, .hljs-template-variable, .hljs-type, .hljs-variable {
  color: #d19a66;
}

.hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-symbol, .hljs-title {
  color: #61aeee;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

.hljs-link {
  text-decoration: underline;
}

[hljs] pre {
  background: none;
  border: none;
  margin-top: 0;
  margin-bottom: 32px;
  padding: 0;
}

video.wide {
  width: 100%;
  height: auto;
}