.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/*
 * Sidebar
 */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.adminNavIcon {
  max-width: 22px;;
}

.dashMapsLogo{
  display: block;
  margin: 0 auto;
  max-width: 450px;
}

ul .navItem {
  filter: grayscale(70%);
}

ul .navItemActive {
  filter: grayscale(0%);
  text-decoration: underline;
}

ul .navItem:hover {
  filter: grayscale(0%);
}

.dash-ctn{
  margin-bottom: 250px;
}

.adminTitleIcon {
  width: 44px;
  height: auto;
  display: inline-block;
}

.adminTitle {
  display: inline-block;
  max-width: 800px;
  position: relative;
  top: 10px;
  padding: 8px;
}

.adminPageDesc {
  max-width: 410px;
  display: block;
  font-size: 14px;
  font-style: italic;
}

.vis-cluster-list{
  /* border: solid 2px #a4a4a4; */
  border-radius: 8px;
  padding: 6px;
}

.clusterPinTitle{
  position: relative;
  right: 0px;
  top: -4px;
  max-width: 48px;
  display: inline-block;
}

.clusterEditIcon {
  display: inline-block;
  position: relative;
  top: -1px;
}

.cluster-ico {
  position: relative;
  top: -1px;
}

.mode-icon {
  width: 22px;
  display: inline-block;
  position: relative;
  top: -3px;
  margin-right: 5px;
}

.mode-icon-back {
  width: 28px;
  display: inline-block;
  position: relative;
  top: -3px;
  margin-right: 5px;
  padding-left: 4px;;
}

#locationToClusterWpr {
  height: 50px;
  width: 100%;
}

#locationToClusterWpr {
  position: relative;
  top: -12px;
}

#pin-count {
  background-color: #198754;
  position: absolute;
  right: 2px;
  top: 20px;
}

#pin-total {
  background-color: #000;
  position: absolute;
  right: 2px;
  top: -2px;
}

.mode-ctn {
  position: relative;
}

.selectedPin {
  border: dotted 8px red;
  transform: scale(3);
  border-radius: 50%;
}

svg {
  vertical-align: text-top;
}

.cluster-pin {
  position: relative;
  transform: translate(-50%, -50%);
}

#map-modes {
  border-top: solid 2px #000;
}

#manual-coords {
  border-bottom: solid 2px #000;
  background-color: #9a9a9a;
}

.manualCoordInput{
  max-width: 120px;
  font-size: 14px;
}

.manualCoordBtn {
  position: relative;
  top: -1px;
}

#coordPreviewBadge{
  position: absolute;
  top: 2px;
  left: 2px;
  opacity: .8;
  z-index: 9;
}

.dashIconColor {
  color: #7C7C7C;
}

.setupIconColor {
  color: #4076A8;
}

.elementIconColor {
  color: #F26F37;
}

.automationIconColor {
  color: #7D538C;
}

.triggerIcons {
  max-width: 80px;
  margin-left: 20px;
}

.optUseIcon {
 max-width: 32px;
 margin-right: 6px;
}

.optUseLi{
  margin-bottom: 30px;
  margin-top: 20px;;
  line-height: 30px;
}

.readableWidth {
  max-width: 680px;
}

.optForLink {
  color: #F26F37;
  opacity: .8;
}

.optForLink:hover {
  opacity: 1;
}

.optLogoToast {
  max-width: 50px;
  margin-bottom: 8px;
}

.clusterTable {
  margin-top: 40px;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}

.tableClusterIcon {
  max-width: 40px;
}

.checkboxClusterIcon {
  max-width: 10px;
  display: inline-block;
}

.checkOnStart{
  width: 32px;
  display: block;
  margin: 0 auto;
}

.noOnStart{
  width: 20px;
  display: block;
  margin: 0 auto;
}

.noVisTableRow{
  opacity: .5;
}

.noVisTableRow:hover{
  opacity: .7;
}

.pubPosCol{
  font-size: 20px;
  font-weight: bold;
}

.tagClass{
  cursor: pointer;
  margin-left: 0px;;
}

.tagQuestionIcon{
  width: 20px;
  cursor: pointer;
  float: right;
}

.adminLabelOnTable{
  font-size: 20px;
}

.ghostBeforeLabel{
  display: inline-block;
  padding-right: 6px;;
  width: 38px;
  position: relative;
  top: -4px;
}

.tableAutomationIcon {
  margin-top: 12px;
  width: 40px;
  
}

.card-body img.formImgPreview {
  max-width: 120px;
  display: block;
  margin: 10px auto 0px;
}

.removePreviewBtn {
  display: block;
  margin: 0 auto 10px;
  position: relative;
  top: -12px;
}

.map-add-bar-bottom {
  border-bottom: solid 2px #000;
  background-color: #9a9a9a;
  text-align: center;
}

.map-add-bar-top {
  border-top: solid 2px #000;
  background-color: #9a9a9a;
  padding: 6px;
}

.crosshair {
  cursor: crosshair;
}

.overlayPreview {
  max-width: 60px;
  max-height: 60px;
}

.pointPreview {
  max-width: 60px;
  max-height: 60px;
  display: block;
  margin: 0 auto;
}

.btn img.automationBtnIcon,
div.conditionsWpr img.automationBtnIcon{
  max-width: 34px;
  padding-right: 6px;
  display: inline;
  position: relative;
  top: -5px;
}

.btnTextCtn {
  display: inline-block;
  width: 80px;
}

.conditionsWpr:hover {
  background-color: #393939;
}

.conditionsWpr {
  display: inline-block;
  color: #fff;
  background-color: #222222;
  border-radius: 6px;
  border: solid 3px #9663A8;
  padding: 10px 12px;
  font-size: 14px;
  margin: 10px 6px 40px 0;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.condRemoveIcon:hover {
  filter: grayscale(.2); 
  transform: scale(1);
}

.condRemoveIcon {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  filter: grayscale(1);
  position: relative;
  top: -2px;
  right: -2px;
  transform: scale(.8);
}

.tagRemoveIcon:hover {
  filter: grayscale(.2); 
  transform: scale(1);
}

.tagRemoveIcon {
  cursor: pointer;
  width: 20px;
  height: 20px;
  filter: grayscale(1);
  position: relative;
  top: 0px;
  right: -2px;
  transform: scale(.9);
}

.automationCtn {
  background-color: #cfe0f9;
  border: solid 2px #9663A8;
  padding: 5px 20px 30px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.alertCondIcon {
  width: 34px;
  height: 34px;
  margin-right: 6px;
  position: relative;
  top: -3px;
}

.condHeading {
  font-size: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #222222;
}

.labelInSelect {
  background-color: #000;
  color: #fff;
  font-weight: 800;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-top: 6px;
}

.overlayRatio {
  width: 100%;
  height: auto !important;
}

.leaflet-map-pane .leaflet-boundingEdit-pane svg,
.leaflet-map-pane .leaflet-boundingEdit-pane svg g
{
  z-index: 650;
}

#trigNav{
  text-align: center;
}

.trigNavItem:hover{
  transform: scale(1);
  opacity: 1;
}

.trigNavItem img{
  /* display: inline-block; */
  width: 80%;
  margin: 0;
  margin: 0 0 4px 8px;
}

.trigNavItemActive img{
  /* display: inline-block; */
  width: 80%;
  margin: 0 0 4px 8px;
}

.trigNavItem{
  background-color: #fff;
  border-radius: 12px;
  display: inline-block;
  max-width: 80px;
  cursor: pointer;
  padding: 2px;
  margin: 0px;
  opacity: .6;
}

.trigNavItem:hover {
  position: relative;
  top: -8px;
}

.trigNavItemActive{
  background-color: #fff;
  border-radius: 12px;
  display: inline-block;
  max-width: 80px;
  cursor: pointer;
  padding: 2px;
  margin: 0px;
  opacity: 1;
  border: solid 2px #7D538C;
}

.trigNavActiveDiv {
  border-bottom: solid 2px #7D538C;
}

.timeCell {
  background-color: #7D538C;
  color: #fff;
  font-size: 12px;
  padding: 2px;
  display: inline-block;
  margin-right: 5px;
  margin-top: 3px;
  font-weight: bold;
  border-radius: 6px;
}

.condCell {
  background-color: #7D538C;
  color: #fff;
  font-size: 12px;
  padding: 2px;
  display: inline-block;
  margin-right: 0px;
  margin-top: 3px;
  font-weight: bold;
  border-radius: 6px;
}

.eventCell {
  background-color: #F26F37;
  color: #fff;
  font-size: 12px;
  padding: 2px;
  display: inline-block;
  margin-right: 5px;
  margin-top: 3px;
  font-weight: bold;
  border-radius: 6px;
  filter: grayscale(.2);
}

.timeCellOff {
  background-color: #212529;
  color: #fff;
  text-decoration: line-through;
  font-size: 12px;
  padding: 2px;
  display: inline-block;
  margin-right: 5px;
  margin-top: 3px;
  border-radius: 6px;
  opacity: .3;
}

.trigCellOff {
  background-color: red;
  color: #fff;
  font-size: 12px;
  padding: 2px;
  display: inline-block;
  margin-right: 5px;
  margin-top: 3px;
  border-radius: 6px;
  font-weight: bold;
}

.timeCellOn {
  background-color: green;
  color: #fff;
  font-size: 12px;
  padding: 2px;
  margin-right: 2px;
  border-radius: 6px;
  font-weight: bold;
}

.btn img.triggerBtnIcon {
  max-width: 42px;
  padding-right: 6px;
  display: inline-block;
  position: relative;
  top: -2px;
}

.condPill{
  background-color: #9663A8;
}

.switchDashTitlePriority {
  color: #191C1F;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 18px;
  max-width: 240px;
  text-align: center;
}

.switchDashTitleDefault {
  color: #191C1F;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 14px;
  max-width: 240px;
  text-align: center;
}

/* ---------- default switch ---------- */

.switchWprDefault {
  transform: scale(.6);

  display: inline-block;
  margin: 6px;
}

.switchDetailDefaultWpr {
  padding: 0px 4px 12px 4px;
  vertical-align: top;
  width: 146px;
  height: 180px;
  display: inline-block;
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.switchSpinnerDefault{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.switchCheckDefault{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  /* background-color: #A4AAB0;
  border-radius: 50%; */
}

/* ---------- priority switch ---------- */

.switchWprPriority {
  transform: scale(.8);
  display: inline-block;
  margin: 6px;
}

.switchDetailPriorityWpr {
  padding: 0px 4px 12px 4px;
  vertical-align: top;
  width: 200px;
  height: 180px;
  display: inline-block;
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.switchSpinnerPriority{
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 2;
}

.switchCheckPriority{
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 1;
  /* background-color: #A4AAB0;
  border-radius: 50%; */
}

/* The switch - the box around the slider */
.triggerSwitch {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 68px;
}

/* Hide default HTML checkbox */
.triggerSwitch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.switchSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: grayscale(60%);
  opacity: .5;
  -webkit-transition: .4s;
  transition: .4s;
  border: solid 2px #808080;
  box-shadow: 2px 2px 2px #909090;
}

.switchSlider:before {
  position: absolute;
  content: "";
  height: 52px;
  width: 52px;
  left: 8px;
  bottom: 6px;
  background-color: #fff;
  -webkit-transition: .4s;
  transition: .4s;
  border: solid 2px #5c5e60;
}

input:checked + .switchSlider {
  filter: grayscale(0%);
  opacity: 1;
}

/* input:focus + .switchSlider {
  box-shadow: 0 0 4px #2196F3;
} */

input:checked + .switchSlider:before {
  -webkit-transform: translateX(52px);
  -ms-transform: translateX(52px);
  transform: translateX(52px);
}

/* Rounded sliders */
.switchSlider.round {
  border-radius: 34px;
}

.switchSlider.round:before {
  border-radius: 50%;
}

.adminSwitchTimer {
  position: absolute;
  z-index: 1;
  bottom: -30px;
  left: -34px;
  width: 185px;
  color: #198754;
  border-radius: 8px;
  font-size: 18px;
}

/* ---------- end switch ---------- */

.quickLinkCtn {
  display: inline-block;
  background-color: #EAEAEA;
  border-radius: 6px;
  padding: 8px;
  margin-top: 20px;
  margin-right: 8px;
}

.link-setup {
  color: #4076A8;
}

.link-element {
  color: #F26F37;
}

.link-automate {
  color: #9663A8;
}

.deleteSnapIco {
  position: relative;
  top: -2px;
}

.eventTimePill {
  background-color: #F26F37;
}

.switchStateBadge{
  position: absolute;
  z-index: 1;
  border: solid 2px #fff;
}

#insert-snapshot-map, #insert-preview-map {
  width: 100%;
  height:0;
  padding-bottom: 178%;
  z-index: 1;
}

#snapPhoneView{
  background-color: #7D538C;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  right: 0;
  top: -30px;
  z-index: 1000;
}

#snapMapProportions {
  max-width: 320px;
  border-right: solid 10px #000;
  border-left: solid 10px #000;
  border-top: solid 42px #000;
  border-bottom: solid 60px #000;
  border-radius: 20px;
  position: relative;
  box-sizing: content-box;
  box-shadow: 2px 2px 8px #373737;
  display: block;
  margin: 26px auto 0;
}

#snapMapProportionsPreview {
  max-width: 320px;
  border-right: solid 10px #000;
  border-left: solid 10px #000;
  border-top: solid 42px #000;
  border-bottom: solid 60px #000;
  border-radius: 20px;
  position: relative;
  box-sizing: content-box;
  box-shadow: 2px 2px 8px #373737;
  display: block;
  margin: 8px auto 8px;
}

.snapPhone {
  position: absolute;
}

#snapPhoneTop, #snapPhoneTopPreview {
  width: 48%;
  height: 0;
  padding-bottom: 2%;
  border-radius: 4px;
  background-color: #e7e7e7;
  z-index: 2;
  top: -4%;
  right: 25.5%;
}

#snapPhoneBottom, #snapPhoneBottomPreview {
  width: 10%;
  height: 0;
  padding-bottom: 10%;
  border: solid 3px #d0d0d0;
  background-image: linear-gradient(#000000, #151515);
  z-index: 2;
  bottom: -8.6%;
  right: 44%;
  border-radius: 50%;
  box-sizing: content-box;
}

@media screen and (max-width: 834px) {

  #snapPhoneTop, #snapPhoneBottom {
    display: none;
  }

  #snapMapProportions {
    border: none;
    box-shadow: none;
    max-width: 100%;
  }

  #snapshotTopTitle{
    margin-left: 20px;
  }
}

@media screen and (max-width: 1100px) {
  #snapTitle{
    display: none;
  }
}

@media screen and (min-width: 990px) {
  .renderTextCtn {
    right: 14px;
  }
}

@media screen and (max-width: 670px) {
  #mobile-map-tab {
    display: none;
  }
}


#mobile-map-tab {
  width: 36px;
  height: 61px;
  background-color: #9ac4ff;
  position: fixed;
  top: 224px;
  right: 0;
  z-index: 2000;
  border-top: solid 2px #171717;
  border-left: solid 2px #171717;
  border-bottom: solid 2px #171717;
  border-radius: 8px 0 0 8px;
  box-shadow: 2px 2px 8px #373737;
  filter: grayscale(.8);
  cursor: pointer;
}

#mobile-map-tab:hover {
  filter: grayscale(0);
}

.mobile-icon {
  width: 80%;
  display: block;
  margin: 10px auto;
}

.center-spinner{
  display: block;
  margin: 60px auto 0;
  width: 60px;
  height: 60px;
}

#snapTitle {
  color: #777777;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 33px;
  width: 669px;
  position: absolute;
  transform: rotate(-90deg);
  top: 287px;
  left: -372px;
  text-align: right;
}

.optTitleIcon {
  width: 41px;
  position: relative;
  top: 1px;
  left: -5px;
}

.renderTextCtn{
  padding-top: 8px;
  background-color: #000;
  color: #fff;
  font-family: 'Courier New', monospace;
  overflow: auto;
  font-size: 12px;
  height: 671px;
  position: relative;
  top: 28px;
  max-width: 80%;
  display: block;
  margin: 0 auto;
}

.renderTextCtn p {
  margin-bottom: 0;
}

.indent-1{
  padding-left: 20px;
  border-left: solid 1px #fff;
}

.indent-2{
  padding-left: 40px;
  border-left: solid 1px #fff;
}

.indent-3{
  padding-left: 60px;
  border-left: solid 1px #fff;
}

.indent-4{
  padding-left: 80px;
  border-left: solid 1px #fff;
}

.indent-5{
  padding-left: 100px;
  border-left: solid 1px #fff;
}

.indent-6{
  padding-left: 120px;
  border-left: solid 1px #fff;
}

.indent-7{
  padding-left: 140px;
  border-left: solid 1px #fff;
}

.indent-8{
  padding-left: 160px;
  border-left: solid 1px #fff;
}

.indent-9{
  padding-left: 180px;
  border-left: solid 1px #fff;
}

.snapLogTitle{
  color: #da90f7;
}

.snapLogHide{
  color: #fb5e5e;
}

.snapLogShow{
  color: #53ffb2;
}

.snapLogBorder{
  color: #787878;
}

.snapLogElement{
  color: #fdb33c;
}

.snapLogSetup{
  color: #65b5ff;
}

.snapLogNotes{
  color: #787878;
}

.snapLogHighlight {
  color: #FFFFFF;
}

#snapNotifyEdit, #snapNotifyAdd {
  max-width: 480px;
  margin: 0 auto;
}

.public-url{
  color: #191C1F;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  overflow: auto;
  font-size: 20px;
  display: block;
  margin: 0 auto;
}

#map-modes {
  padding: 5px;
  background-color: #9A9A9A;
}

.crossCursor {
  cursor: crosshair;
}

.badge-no-points {
  color: #000;
  background-color: #cacaca;
}

th, td {
 position: relative;
}

.mapElementId {
  /* background-color: #000; */
  color: #FFFFFF;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 1px 2px 1px 2px;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  text-align: left;
  opacity: .4;
}

.mapAutomateId {
  /* background-color: #000; */
  color: #000;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 1px 2px 1px 2px;
  margin: 0;
  position: absolute;
  top: 0;
  left: 7px;
  width: 56px;
  text-align: left;
  opacity: .5;
}

.dashSwitchId {
  /* background-color: #000; */
  color: #000;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 1px 2px 1px 2px;
  margin: 0;
  position: absolute;
  top: 0;
  left: 2px;
  width: 56px;
  text-align: left;
  opacity: .5;
}

.automateNameInTable{
  padding-top: 12px !important;
}

.public-map-btn {
  margin: 6px 18px 0 18px;

}

.alertCondSizing {
  padding: 6px;
}

.port-hidden {
  display: none !important;
}

