#logo {
    margin: 20px 0 0
}

.btn-success {
    background-color: #80ba26
}

.btn-warning {
    background-color: #f49600
}

.btn-danger {
    background-color: #e30613
}

.click-row {
    cursor: pointer
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute
}

.checkboxes label {
    position: relative;
    display: block;
    padding: .5em 1em .5em 5em;
    cursor: pointer
}

.checkboxes label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: .7em;
    width: 3em;
    height: 1.2em;
    border-radius: .6em;
    background: #eee;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(100, 100, 100, 0.5) inset, 0 0 10px rgba(100, 100, 100, 0.2) inset
}

.checkboxes label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: .5em;
    width: 1.4em;
    height: 1.4em;
    border: .25em solid #fafafa;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: #ddd;
    background-image: linear-gradient(to top, #fff 0%, #fff 40%, transparent 100%);
    transform: translateY(-50%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5)
}

.checkboxes label, .checkboxes label::before, .checkboxes label::after {
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1)
}

.checkboxes.disabled label {
    color: #DDD
}

.checkboxes.disabled label::before {
    background: #FFF
}

.checkboxes.disabled label::after {
    display: none
}

.checkboxes.disabled label:hover {
    color: #DDD
}

.checkboxes label:hover, .checkboxes input:focus + label {
    color: black
}

.checkboxes label:hover::after, .checkboxes input:focus + label::after {
    background-color: #ccc;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.5)
}

.checkboxes input:checked + label::before {
    background: #009dde
}

.checkboxes input:checked + label::after {
    transform: translateX(2em) translateY(-50%)
}

.btn-lg {
    padding: 20px;
    font-weight: bold
}

@media (max-width: 767px) {
    .dl-horizontal dt {
        float: left;
        width: 100px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 120px;
    }
}

.panel-default>.panel-heading, .panel-footer {
    background-color: #eee;
    font-weight: bold;
}
.panel-footer {
    color: red;
}
.panel-body {
    background-color: #f9f9f9;
}

form[id^=editForm] {
    margin-bottom: 1em;
}

.handover-button-container {
    margin-bottom:1em;
    margin-top:-1em;
}

/* photo uploads from the incident page */
/* --------------------------------------------------------------------------------------------- */

#imageUploadForm {
    display: none;
}

#loaderWrapper {
    font-size: 2em;
    position:absolute;
    top: 50%;
    left: 0;
    background: #2a2a2a;
    width: 90%;
    display:block;
    text-align:center;
    height: 300px;
    color: #fff;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
    margin-left: 5%;
    border-radius: 10px;
}

#loaderOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    visibility: hidden;
}

#loader,
#loader:before,
#loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: load7 1.8s infinite ease-in-out;
}
#loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
}
#loader:before,
#loader:after {
    content: '';
    position: absolute;
    top: 0;
}
#loader:before {
    left: -3.5em;
    animation-delay: -0.32s;
}
#loader:after {
    left: 3.5em;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
#loaderWrapper, #loaderOverlay {
    opacity: 0;
    transition: all 0.3s;
}
#loaderWrapper.loaderShow, #loaderOverlay.loaderShow {
    opacity: 1;
    visibility: visible;
}

#incidentPhotos img {
    height: auto;
    max-width: 100%;
}
#incidentPhotos, #incidentPhotos button {
    margin-bottom: 10px;
}
#incidentPhotos img + img {
    margin-top: 10px;
}
#incidentPhotos button {
    background-color: #ccc;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-weight: bold;
}
