﻿html {
    overflow-y: scroll;
    height: 100%
}
body {
    height: 100%;
    background-image: url('../images/bg.png');
}

.container {
    min-height: 100%;
    margin-bottom: -41px;
}

.custom-hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    gap: 1rem !important;
}

@media (min-width: 768px) {
    .sidebar-nav .navbar .navbar-collapse {
        padding: 0;
        max-height: none;
    }

    .sidebar-nav .navbar ul {
        float: none;
    }

    .sidebar-nav .navbar li {
        float: none;
        display: block;
    }
}

.nav-title {
    padding-left: 16px;
    padding-top: 20px;
}

.text-secondary {
    color: gray;
}

[aria-expanded=true] > .glyphicon-menu-right,
[aria-expanded=false] > .glyphicon-menu-down {
    display: none;
}

.panel-heading[data-toggle="collapse"] {
    cursor: pointer;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
    padding: 0;
}

.marginless {
    margin: 0;
}

.contact-method {
    margin: 0;
    padding-left: 20px;
}

.tree {
    min-height: 20px;
}

.tree li {
    list-style-type: none;
    margin: 0;
    padding: 10px 5px 0 5px;
    position: relative
}

.tree li::before, .tree li::after {
    content: '';
    left: -20px;
    position: absolute;
    right: auto
}

.tree li::before {
    border-left: 1px solid #999;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px
}

.tree li::after {
    border-top: 1px solid #999;
    height: 20px;
    top: 25px;
    width: 25px
}

.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none
}

.tree li.parent_li > span {
    cursor: pointer
}

.tree > ul {
    padding-left: 0;
}
.tree > ul > li::before, .tree > ul > li::after {
    border: 0
}

.tree li:last-child::before {
    height: 30px
}

.tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
    background: #eee;
    border: 1px solid #94a0b4;
    color: #000
}
.tree .table {
    margin-bottom: 0;
}

.list-group-item .list-group-heading {
    background-color: lightgrey;
    margin: -10px -15px 8px -15px;
}

.validation-summary-errors > ul {
    list-style-type: none;
    padding-left: 0;
}

tr.clickable:hover {
    background-color: #ececec;
    cursor: pointer;
}

.modal-open[style] {
    padding-right: 0px !important;
}

.input-group-addon.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.footer {
    position: relative;
    bottom: 0; /* 1 pixel, because otherwise we see the scrollbar */
    width: 100%;
    height: 40px;
}

.tt-header {
    padding: 4px;
    margin: 20px 0 4px 0;
}

a[aria-expanded=true] .glyphicon-menu-right {
    display: none;
}
a[aria-expanded=false] .glyphicon-menu-down {
    display: none;
}

.validation-error {
    display: none;
}
.has-error .validation-error {
    display: inline;
}
.has-error > label, .has-error > span {
    color: #a94442;
}

.popover {
    white-space: pre-line;
}

.key-image {
    width: 8rem;
    height: 8rem;
}