﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

i.material-icons {
    position: relative;
    top: 5px;
}

nav i.material-icons {
    position: relative;
    top: 7px;
    font-size: 24px;
    margin: -9px 0 -11px 0;
}


.btn i.material-icons {
    font-size: 20px;
    position: relative;
    top: 5px;
    margin: -5px 0;
}

.btn-sm i.material-icons {
    font-size: 17px;
    position: relative;
    top: 4px;
    margin: -4px 0;
}

.active-disabled.active {
    display: none;
}

.active-disabled:not(.active) + .pre-active-enabled {
    display: none;
}

.list-group-item-header {
    background-color: #f5f5f5;
}

.bordered {
    border: #ddd solid 1px;
}

.inline-block {
    display: inline-block;
}

.non-float {
    float: none;
}

.navbar {
    background-color: rgb(11, 128, 197);
    border-color: rgb(12, 140, 218);
}

#environment_Development .navbar {
    background-color: rgb(1, 22, 34);
    border-color: rgb(1, 24, 37);
}

#environment_Staging .navbar {
    background-color: rgb(0, 180, 84);
    border-color: rgb(0, 198, 92);
}

.nav > li > a, .nav > li button {
    color: rgba(255, 255, 255, 1);
}

.nav > li > a:hover, .nav > li > a:focus, .nav > li button:hover, .nav > li button:focus {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}

.nav > li.user-name > a:hover, .nav > li.user-name > a:focus {
    background-color: rgba(255, 255, 255, 0);
}

.navbar-brand {
    color: rgba(255, 255, 255, 1);
    background-image: url('../images/lhip.png');
    background-size: auto 50px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 170px;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: rgba(255, 255, 255, 0.4);
}


.navbar-brand:hover, .navbar-brand:focus {
    color: rgba(255, 255, 255, 0.7);
}

.number-block {
    text-align: right;
}

button.navbar-btn:first-child {
    margin-top: 8px;
}

.material-checkbox {
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.87);
    cursor: pointer;
    font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system;
    font-size: 14px;
    line-height: 18px;
}

    .material-checkbox > input {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        position: absolute;
        z-index: -1;
        left: -15px;
        top: -15px;
        display: block;
        margin: 0;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        background-color: rgba(0, 0, 0, 0.42);
        outline: none;
        opacity: 0;
        transform: scale(1);
        -ms-transform: scale(0); /* Graceful degradation for IE */
        transition: opacity 0.5s, transform 0.5s;
    }

        .material-checkbox > input:checked {
            background-color: #2196f3;
        }

    .material-checkbox:active > input {
        opacity: 1;
        transform: scale(0);
        transition: opacity 0s, transform 0s;
    }

    .material-checkbox > input:disabled {
        opacity: 0;
    }

        .material-checkbox > input:disabled + span {
            cursor: initial;
        }

    .material-checkbox > span::before {
        content: "";
        display: inline-block;
        margin-right: 15px;
        border: solid 2px rgba(0, 0, 0, 0.42);
        border-radius: 2px;
        width: 20px;
        height: 20px;
        vertical-align: -4px;
        transition: border-color 0.1s, background-color 0.1s;
    }

    .material-checkbox > input:checked + span::before {
        border-color: #2e6da4;
        background-color: #337ab7;
    }

    .material-checkbox > input:active + span::before {
        border-color: #2e6da4;
    }

    .material-checkbox > input:checked:active + span::before {
        border-color: transparent;
        background-color: rgba(0, 0, 0, 0.42);
    }

    .material-checkbox > input:disabled + span::before {
        border-color: rgba(0, 0, 0, 0.60);
    }

    .material-checkbox > input:checked:disabled + span::before {
        border-color: transparent;
        background-color: rgba(0, 0, 0, 0.60);
    }

    .material-checkbox > span::after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 1px;
        left: 2px;
        width: 5px;
        height: 15px;
        border: solid 2px transparent;
        border-left: none;
        border-top: none;
        transform: translate(5.5px, 1px) rotate(45deg);
        -ms-transform: translate(5.5px, 2px) rotate(45deg);
    }

    .material-checkbox > input:checked + span::after {
        border-color: #fff;
    }

    .block {
        display: block;
    }


.break-container {
    margin: 1em calc(50% - 50vw);
    padding: 20px 0;
}

.broken-header {
    background-color: #0D47A1;
    color: white;
    font-size: 1.2em;
}

.broken-header .date{
    font-style: italic;
    margin-bottom: 20px;
}

.broken-header strong {
    display: block;
    font-size: 2.5em;
}

.broken-header span{
    color: rgba(255, 255, 255, 0.7);
}

.table.table-vertical-middle > thead > tr > th,
.table.table-vertical-middle > tbody > tr > th,
.table.table-vertical-middle > tfoot > tr > th,
.table.table-vertical-middle > thead > tr > td,
.table.table-vertical-middle > tbody > tr > td,
.table.table-vertical-middle > tfoot > tr > td {
    vertical-align: middle;
}

tr.lh-cel-warning td, td.lh-cel-warning{
    background-color: hsl(40, 100%, 48%);
}

tr.lh-cel-error td, td.lh-cel-error {
    background-color: hsl(0, 100%, 48%);
    color: white;
}

tr.lh-cel-dark td, td.lh-cel-dark {
    background-color: #000000;
    color: white;
}

table tr.lh-table-vertical-middle > td {
    vertical-align: middle;
}

.exception-text.exception-text-passive {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.exception-text:hover {
    cursor: pointer;
}

div.log-passive > div.list-group-item {
    display: none;
}

.log-event:not(.active) > p {
    display: none;
}

.dropdown-menu > li > form > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

table > thead.top-padding > tr > th {
    padding-top: 50px;
}

.lhip-spinner {
    border: 10px solid #eee;
    border-top: 10px solid #337ab7;
    border-bottom: 10px solid #337ab7;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-left: auto;
    margin-right: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.table-sticky {
    border-collapse: separate;
}

.table-sticky thead {
    background-color: white;
    position: sticky;
    position: -webkit-sticky;
    top: 51px;
}