﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: 'Segoe UI';
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.clip {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table .clip {
    font-family: 'Courier New';
}

a {
    cursor: pointer;
}

.input-group-addon input[type=checkbox] {
    vertical-align: middle;
}

.margin-bot-05 {
    margin-bottom: 0.5em;
}

.margin-bot-10 {
    margin-bottom: 1.0em;
}

.margin-bot-15 {
    margin-bottom: 1.5em;
}

.margin-bot-20 {
    margin-bottom: 2.0em;
}

.margin-bot-25 {
    margin-bottom: 2.5em;
}

.margin-bot-30 {
    margin-bottom: 3.0em;
}

table tr:hover .table-row-hover {
    display: block;
}

table tr .table-row-hover {
    display: none;
}

.table tr {
    height: 51px
}

.table-row-hoverable td:first-child {
    height: 51px;
}

#divLog .col-sm-2, #divStoredRequests .col-sm-1, #divStoredRequests .col-sm-2, #divStoredRequests .col-sm-3 {
    margin-bottom: 15px;
}

#divLog .form-group {
    width: 100%;
}

#divLog lable {
    clear: both;
}

.divHelp {
    position: absolute;
    top: 0;
    padding: 9px;
    font-size: 20pt;
    color: white;
    width: 30px;
    left: calc(50% - 15px);
    cursor: pointer;
}

    .divHelp .glyphicon {
        color: white;
    }

#RememberMe {
    margin-left: 0;
}

pre {
    outline: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
}

i {
    color: #999;
}

.string {
    color: green;
}

.number {
    color: darkorange;
}

.boolean {
    color: blue;
}

.null {
    color: magenta;
}

.key {
    color: red;
}

.glyphicon {
    color: #007BC4;
}

.inlineProgressBarHr {
    margin: 0;
    width: 0%;
    text-align: left;
    background-color: #337ab7;
    border: 0;
    height: 1px;
}

#divAlertContainer {
    position: absolute;
    z-index: 9000;
    padding-top: 30px;
    left: calc(50% - 450px);
    top: 0px;
}

    #divAlertContainer .alert {
        width: 900px;
    }


.dropdownlbl {
    word-break: break-all;
    display: block;
    white-space: normal;
    float: left;
}

#divStatusBoard {
    min-height: 55px;
}

.statusboard {
    margin: 5px;
    color: white;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
    transition: all 0.75s;
}

    .statusboard .backgroundjob {
        float: left;
        margin-left: 10px;
        margin-bottom: 0;
        transition: all 0.75s;
        border: 0;
        box-shadow: none;
        border-radius: 5px;
        padding: 5px;
    }

        .statusboard .backgroundjob:hover {
            cursor: pointer;
        }

    .statusboard .main {
        background-color: #007BC4;
        border-color: black;
        border-radius: 8px;
        display: block;
        transition: all 0.75s;
        text-align: center;
        max-height: 160px;
        padding: 10px;
    }

        .statusboard .main.collapse {
            padding: 0;
        }

    .statusboard .glyphicon {
        color: white;
    }

    .statusboard .header {
        height: 30px;
    }

    .statusboard .secondary {
        display: block;
        opacity: 1;
        max-width: 275px;
        margin-bottom: 5px;
        margin-left: -5px;
        padding: 5px;
        max-height: 160px;
        overflow: hidden;
        text-align: left;
        transition: all 0.75s;
        color: white;
        border-color: transparent;
        background-color: transparent;
        position: relative;
        top: -40px;
    }

        .statusboard .secondary table {
            margin-top: 10px;
        }

        .statusboard .secondary tr td:first-child {
            width: 40px;
            text-align: center;
        }

    .statusboard .title {
        font-size: 18pt;
        padding-left: 39px;
        min-width: 265px;
        display: block;
    }

    .statusboard .collapse {
        background-color: transparent;
        border-color: transparent;
    }

        .statusboard .collapse .secondary {
            opacity: 0;
            max-height: 0px;
            min-height: 0;
            max-width: 30px;
            padding: 0;
        }


    .statusboard .background-job-icon {
        display: block;
        width: 30px;
        height: 30px;
        background-size: 30px;
        position: relative;
        z-index: 2;
        color: #007BC4;
    }

    .statusboard .busy .background-job-icon {
        color: white;
    }

    .statusboard .busy.collapse .background-job-icon {
        color: #007BC4;
    }

    .statusboard .busy .background-job-pulse {
        display: block;
        width: 30px;
        height: 30px;
        border-radius: 25px;
        background-color: white;
        box-shadow: 0px 0px 5px 5px white;
        animation-name: pulse-opacity;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        transition: all 0.75s;
        position: relative;
        top: -30px;
        z-index: 1
    }

    .statusboard .busy.collapse .background-job-pulse {
        background-color: #007BC4;
        box-shadow: 0px 0px 5px 5px #007BC4;
    }

    .statusboard .background-job-icon .glyphicon {
        display: none;
        font-size: 18pt;
        color: white;
    }

    .statusboard .busy .background-job-icon .glyphicon {
        animation-name: pulse-color;
        animation-duration: 2s;
        animation-iteration-count: infinite;
    }

    .statusboard .collapse .background-job-icon .glyphicon {
        color: #007BC4;
    }

    .statusboard #CleanupLogs .glyphicon-list {
        display: block;
    }

    .statusboard #CleanupResponses .glyphicon-duplicate {
        display: block;
    }

    .statusboard #PreloadInspection .background-job-icon {
        background-image: url("BV-DAKINSP-bgwit.png");
    }

    .statusboard #PreloadMutation .background-job-icon {
        background-image: url("BV-MUTATIE-bgwit.png");
    }

    .statusboard #PreloadRegistration .background-job-icon {
        background-image: url("BV-UREN-bgwit.png");
    }

    .statusboard #PreloadService .background-job-icon {
        background-image: url("BV-SERVICE-bgwit.png");
    }

    .statusboard #ProcessRequests .glyphicon-send {
        display: block;
        position: relative;
        left: -3px;
        top: 2px;
    }

    .statusboard #ResetRequests .glyphicon-refresh {
        display: block;
        position: relative;
        top: 3px;
    }

    .statusboard .loading-indicator {
        float: right;
        width: 27px;
        height: 27px;
        padding: 0;
        margin: 5px;
        margin-left: 14px;
    }

        .statusboard .loading-indicator .inner {
            overflow: hidden;
            width: 0;
            transition: 2s all;
            border-radius: 15px;
        }

        .statusboard .loading-indicator .icon {
            border-radius: 15px;
            width: 27px;
            height: 27px;
            background-color: #007BC4;
            padding-left: 6px;
            padding-top: 5px;
            transition: background-color 2s
        }

        .statusboard .loading-indicator .progress-start {
            width: 100%;
        }

            .statusboard .loading-indicator .progress-start .icon {
                background-color: orange;
            }

        .statusboard .loading-indicator .progress-end {
            animation-name: pulse-opacity-invert;
            animation-duration: 2s;
            animation-iteration-count: infinite;
            box-shadow: 0 0 5px 5px orange;
            background-color: orange;
        }

@keyframes pulse-opacity {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes pulse-opacity-invert {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pulse-color {
    0% {
        color: inherit;
    }

    50% {
        color: #A6D1EA;
    }

    100% {
        color: inherit;
    }
}

abbr {
    cursor: pointer !important;
}

.col-sm-1.clip {
    width: unset;
}

@media(min-width: 768px) {
    .col-sm-1.clip {
        width: 8.3333333%;
    }
}

h1, h2, h3, h4, h5 {
    width: auto;
}

h2 {
    margin-bottom: 0;
    padding-bottom: 0;
}

h3 {
    margin: 0;
    padding: 0;
    padding-right: 50px;
}

.loading {
    opacity: 0.5;
}

.gray {
    color: #9d9d9d;
}

.red {
    color: red;
}

.orange {
    color: orange;
}

.animated {
    transition: 0.5s all
}

.help {
    display: block;
    font-weight: normal;
    font-size: 14px;
    overflow: hidden;
    line-height: 18px;
}

    .help.collapse {
        display: block;
        line-height: 0.001px; /*When using "0px", during minification this becomes "0" which breaks the transision.. */
    }

.modal-header .divHelp .glyphicon {
    color: #007BC4;
}
