﻿.navbar-brand {
   padding-top:2px;
   margin-top:4px;
}
.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 46px;
}

    .scroll-to-top:focus, .scroll-to-top:hover {
        color: white;
    }

    .scroll-to-top:hover {
        background: #343a40;
    }

    .scroll-to-top i {
        font-weight: 800;
    }

header {
    height: 0px;
}

main > .container-fluid {
    padding: 65px 0px 0px 0px;
}

#content {
    padding: 15px 15px 15px 15px;
}

.footer {
    background-color: #f5f5f5;
    font-size: 0.75rem;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.mptx-field {
    min-height: 1em;
}

.form-floating-group input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

#cameraCanvas {
    display: none;
}

.checkPhotoContainer {
    max-width:100%;
}

.checkPhoto {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

.cameraPhotoContainer {
   max-width: 100%;
}

.cameraPhoto {
   height: auto;
   width: auto;
   max-width: 100%;
   max-height: 100%;
}

#cameraPhoto {
    background-color: black;
    border: 1px solid black;
    width: 720px;
    height: 1280px;
    display: inline-block;
}

.mptx-camera-output {
    width: 720px;
    display: none;
    vertical-align: top;
}



/* The actual timeline (the vertical ruler) */
.mptx-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

    /* The actual timeline (the vertical ruler) */
    .mptx-timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background-color: #999;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }

/* Container around content */
    .mptx-timeline .mptx-timeline-container {
        padding: 10px 40px;
        position: relative;
        background-color: inherit;
        width: 50%;
    }

/* The circles on the timeline */
    .mptx-timeline .mptx-timeline-container::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        right: -12px;
        background-color: white;
        border: 4px solid #ccc;
        top: 15px;
        border-radius: 50%;
        z-index: 1;
    }

    .mptx-timeline .overdue::after {
        border-color: #dc3545 !important;
        background-color: #dc3545 !important;
    }

    .mptx-timeline .imminent::after {
        border-color: #ffc107 !important;
        background-color: #ffc107 !important;
    }

    .mptx-timeline .soon::after {
        border-color: #6c757d !important;
        background-color: #6c757d !important;
    }

    .mptx-timeline .future::after {
        border-color: #ccc !important;
        background-color: #ccc !important;
    }

/* Place the container to the left */
    .mptx-timeline .left {
        left: 0;
    }

/* Place the container to the right */
    .mptx-timeline .right {
        left: 50%;
    }

/* Add arrows to the left container (pointing right) */
    .mptx-timeline .left::before {
        content: " ";
        height: 0;
        position: absolute;
        top: 22px;
        width: 0;
        z-index: 1;
        right: 30px;
        border: medium solid white;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #e8e8e8;
    }

/* Add arrows to the right container (pointing left) */
    .mptx-timeline .right::before {
        content: " ";
        height: 0;
        position: absolute;
        top: 22px;
        width: 0;
        z-index: 1;
        left: 30px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent #e8e8e8 transparent transparent;
    }

/* Fix the circle for containers on the right side */
    .mptx-timeline .right::after {
        left: -12px;
    }

/* The actual content */
    .mptx-timeline .mptx-timeline-content {
        padding: 10px 15px;
        background-color: #e8e8e8;
        position: relative;
        border-radius: 6px;
    }

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    .mptx-timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .mptx-timeline .mptx-timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        /* Make sure that all arrows are pointing leftwards */
        .mptx-timeline .mptx-timeline-container::before {
            left: 60px;
            border: medium solid white;
            border-width: 10px 10px 10px 0;
            border-color: transparent #e8e8e8 transparent transparent;
        }

    /* Make sure all circles are at the same spot */
    .mptx-timeline .left::after {
        left: 18px;
    }

    .mptx-timeline .right::after {
        left: 18px;
    }

    /* Make all right containers behave like the left ones */
    .mptx-timeline .right {
        left: 0%;
    }
}

.mptx-table-time-window {
   table-layout: fixed;
   margin-top: 1em;
}
.mptx-table-time-window th {
   border-bottom: 1px solid #cccccc;
   padding: 0px 5px 0px 1px;
   font-size: 0.9em
}
.mptx-table-time-window td {
   font-size: 0px;
   border-bottom: 1px solid #cccccc;
}
.mptx-table-time-window td.day {
   font-size: 0.9em;
   padding: 0px 4px 0px 0px;
   text-align: right;
}
.mptx-table-time-window td.day-line, .mptx-table-time-window th.day-line {
   border-left: 1px solid #cccccc;
}
.mptx-table-time-window td.day-end, .mptx-table-time-window th.day-end {
   border-right: 1px solid #cccccc;
}
.mptx-table-time-window td.window-active {
   background-color:#666666;
}
.doughnut-chart-container {
   display: inline-block;
   position: relative;
}
/*
.dt-container div:first-of-type {
   background-color: red;
   margin-top: 0px !important;
}*/

.mptx-live-camera-container {
   width:100%;
   max-width: 720px;
   max-height: 480px;
   margin: 15px;
}

.tooltip .tooltip-inner {
   text-align: left;
}

body.mptx-public-shared {
   padding-top: 5px;
   padding-bottom: 5px;
   background-color: #212529;
}

.mptx-public-shared-container {
   width: 100%;
   padding: 10px;
   margin: auto;
   margin-top:0px;
   margin-bottom:0px;
}

.mptx-public-shared-content {
   background-color: #ffffff;
   padding: 10px;
   border-radius: 10px;
}

.mptx-public-shared-title {
   font-weight: bold;
}

.mptx-public-shared-description {
   max-height: 3em;
   overflow-y: auto;
   line-height: 1.2em;
   font-size: 0.8em;
}

.mptx-public-shared-details {
   background-color: #f0f0f0;
   color: #000000;
   padding: 5px;
   line-height: 1.2em;
   font-size: 0.9em;
   margin-top: 8px;
   border-radius: 5px 5px 0px 0px;
}

.mptx-public-shared-map {
   border: 1px solid #f0f0f0;
}