.netliva-switch {
    display: inline-block;
    vertical-align: middle;
  }
  
  .netliva-switch input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute; }
  
  .netliva-switch label {
    cursor: pointer;
    text-indent: -9999px;
    width: 60px;
    height: 22px;
    font-size: 12px;
    --switch-passive-color: #bbb;
    background: var(--switch-passive-color);
    display: block;
    border-radius: 100px;
    position: relative;
    margin: 0; }
  
  .netliva-switch input:checked + label {
    --switch-active-color: #1f7f4d;
    background: var(--switch-active-color); }
  
  .netliva-switch input:disabled + label {
    opacity: 0.6; }
  
  .netliva-switch label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    height: 18px;
    width: 18px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s; }
  
  .netliva-switch input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%); }
  
  .netliva-switch input:not(:disabled) + label:active:after {
    width: 90%;
    width: calc(100% - 4px); }
  
  .netliva-switch input + label:before {
    content: attr(data-passive-text);
    text-align: right;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    position: absolute;
    transition: 0.3s;
    text-indent: 0;
    color: #fff;
    top: 2px;
    bottom: 1px;
    font-size: 12px;
    left: 12px;
    right: 10px;
  
  }
  
  .netliva-switch input:checked + label:before {
    content: attr(data-active-text);
    left: 8px;
    right: 12px;
    text-align: left;
    justify-content: flex-start; }
  
  /* SMALL SIZE */
  .netliva-switch input[data-size="small"] + label
  {
    height: 16px; font-size: 10px;
  }
  
  .netliva-switch input[data-size="small"] + label:after {
    height: 12px;
    width: 12px; }
  
  .netliva-switch input[data-size="small"] + label::before {
    top: 1px;
    bottom: 1px;
    font-size: 10px;
    left: 10px;
    right: 5px; }
  
  .netliva-switch input[data-size="small"]:checked + label:before {
    left: 5px;
    right: 10px; }
  
  
  /* LARGE SIZE */
  .netliva-switch input[data-size="large"] + label {
    font-size: 14px;
    height: 30px;
  }
  
  .netliva-switch input[data-size="large"] + label:after {
    width: 26px;
    height: 26px;
  }
  
  .netliva-switch input[data-size="large"] + label::before {
    left: 30px;
    right: 10px;
    top: 5px;
    bottom: 5px;
    font-size: 14px;
  }
  
  .netliva-switch input[data-size="large"]:checked + label:before {
    left: 10px;
    right: 30px;
  }
  

#personnel-location2-modal { 
    z-index: 1062 !important;
}

#personnel-location2-modal .modal-backdrop.show:nth-of-type(even) {
    z-index: 1061 !important;
}

#personnel-call-modal { 
  z-index: 1064 !important;
}

#personnel-call-modal .modal-backdrop.show:nth-of-type(even) {
  z-index: 1063 !important;
}

#PersonnelMarker img {
  border-radius: 100px;
  border: 2px solid rgba(255,255,255, 0.1);
}


::-webkit-scrollbar {
	width: 4px;
}
::-webkit-scrollbar-thumb {
	background-color: #4c4c6a;
	border-radius: 2px;
}
.chatbox {
    width: 100%;
    height: 100%;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
}
.chat-window {
    flex: auto;
    max-height: calc(100% - 60px);
    background: #121e2d;
    overflow: auto;
}
.chat-input {
    flex: 0 0 auto;
    height: 60px;
    background: #40434e;
    border-top: 1px solid #2671ff;
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
}
.chat-input input {
    height: 59px;
    line-height: 60px;
    outline: 0 none;
    border: none;
    width: calc(100% - 60px);
    color: white;
    text-indent: 10px;
    font-size: 12pt;
    padding: 0;
    background: #40434e;
}
.chat-input button {
    float: right;
    outline: 0 none;
    border: none;
    background: rgba(255,255,255,.25);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    padding: 2px 0 0 0;
    margin: 10px;
    transition: all 0.15s ease-in-out;
}
.chat-input input[good] + button {
    box-shadow: 0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);
    background: #2671ff;
}
.chat-input input[good] + button:hover {
    box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.chat-input input[good] + button path {
    fill: white;
}
.msg-container {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
}
.msg-box {
    display: flex;
    background: #5b5e6c;
    padding: 10px 10px 0 10px;
    border-radius: 0 6px 6px 0;
    max-width: 80%;
    width: auto;
    float: left;
    box-shadow: 0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);
}
.user-img {
    display: inline-block;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    background: #2671ff;
    margin: 0 10px 10px 0;
}
.flr {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: calc(100% - 50px);
}
.messages {
    flex: 1 0 auto;
}
.msg {
    display: inline-block;
    font-size: 11pt;
    line-height: 13pt;
    color: rgba(255,255,255,.7);
    margin: 0 0 4px 0;
}
.msg:first-of-type {
    margin-top: 8px;
}
.timestamp {
    color: rgba(0,0,0,.38);
    font-size: 8pt;
    margin-bottom: 10px;
}
.username {
    margin-right: 3px;
}
.posttime {
    margin-left: 3px;
}
.msg-self .msg-box {
    border-radius: 6px 0 0 6px;
    background: #2671ff;
    float: right;
}
.msg-self .user-img {
    margin: 0 10px 10px 10px;
}
.msg-self .msg {
    text-align: right;
}
.msg-self .timestamp {
    text-align: right;
}

.loading-dots {
  text-align: center;
  z-index: 5;

  .dot {
    display: inline;
    margin-left: 0.2em;
    margin-right: 0.2em;
    position: relative;
    top: -1em;
    font-size: 3.5em;
    opacity: 0;
    animation: showHideDot 2.5s ease-in-out infinite;

    &.one { animation-delay: 0.2s; }
    &.two { animation-delay: 0.4s; }
    &.three { animation-delay: 0.6s; }
  }
}

@keyframes showHideDot {
  0% { opacity: 0; }
  50% { opacity: 1; }
  60% { opacity: 1; }
  100% { opacity: 0; }
}