﻿.dispatch .btn-label {
    width: 115px;
    opacity: 1;
    pointer-events: none
}

.dispatch .btn-dispatch {
    color: #fff;
    background-color: #ffc107;
    border-color: #ffc107;
}

.dispatch .btn-arrived {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.dispatch .btn-available {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.dispatch .btn-unavailable {
    color: #fff;
    background-color: #a52a2a;
    border-color: #a52a2a;
}

.dispatch .btn-unclicked {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.dispatch .btn-delete {
    color: #ced4da;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 90%;
}

    .dispatch .btn-delete:hover {
        color: #af413c;
        font-weight: bold;
        padding-left: 3px;
    }

.dispatch .btn-add {
    color: #00ff00;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 90%;
}



.dispatch .add-guard-icon {
    width: 20px;
    height: 20px;
    color: #ced4da;
    padding: 1px;
}

.dispatch .btn-add-guard {
    color: #ced4da;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: bold;
    padding: 2px
}

    .dispatch .btn-add-guard:hover {
        color: #ced4da;
        border-color: #ced4da;
        border-radius: 4px;
        font-weight: bold;
        padding: 2px
    }

ul.striped-list {
    background-color: #222;
}

    ul.striped-list > li:nth-of-type(odd) {
        background-color: rgba(0, 0, 0, .1);
    }

.context-menu {
    border-radius: 2px !important;
    border-style: solid !important;
    border-color: rgb(72, 70, 70) !important;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .24), 0 0 2px rgba(0, 0, 0, .12) !important;
}

.list-group-item-action {
    cursor: pointer;
}

/* CAMERA */

.cameraOverlay {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.backing {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0.7; 
    background: #252525;
}

.cameraIcon {
    background-position: calc(50% + 2px) calc(50% + 4px);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    z-index: 101;
    background-image: url('../images/camera-white.png');
    background-repeat: no-repeat;
}

.cardPrimary {
  position: absolute;
}
.card-primary {
    overflow: hidden;
    /* position: absolute; */
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

.cardBody {
    padding: 0;
    max-height: 100%;
}

.alarmClip, .camera {
    padding: 0px;
    overflow: hide;
}

#eventDetails .custom-select {
    border: 1px solid rgb(169, 169, 169);
    box-shadow: none;
}

#eventDetails .modal-content {
    max-height: calc(100vh - 1rem);
    position: relative;
    padding-bottom: 25px;
    overflow: auto;
}

#eventDetails .modal-body > .container {
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    #eventDetails .modal-content {
        max-height: calc(100vh - 3.5rem);
    }
}

.btn-secondary:not(:disabled):not(.disabled).active{
    color: #fff;
    background-color: #2196f3;
    border-color: #2196f3;
}

.permission-button-group{
    position: absolute;
    right: 10px;
    top: 12px;
}

/*.dispatch button:hover span {
    display: none
}

.dispatch button:hover:before {
    content: "Reply!"
}*/


.perfect-scrollbar-grandparent{
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.perfect-scrollbar-parent{
    overflow: hidden;
    flex: 1 1 auto;
}

