﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 2em; /* Vertically center the text there */
}

.navbar, a.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

    a.navbar-brand img {
        height: 3em;
    }

#themes .dropdown-menu {
    min-width: 20rem;
    max-height: 20rem;
    overflow: auto;
}

[role="main"] {
    margin-top: 6rem;
}

#carousel {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

    #carousel .carousel-control-prev, #carousel .carousel-control-next {
        height: 3rem;
        width: 5rem;
        margin-top: 25%;
    }

    #carousel .carousel-inner, #carousel .carousel-item {
        height: 100%;
    }

.fa-chevron-circle-left {
    margin-top: -100%;
    margin-left: -100%;
}

.fa-chevron-circle-right {
    margin-top: -100%;
    margin-left: -200%;
}

.card-link.text-white {
    text-decoration: underline;
}

    .card-link.text-white:hover {
        text-decoration: none;
    }

.shadow {
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0,0,0,1.0) !important;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,1.0) !important;
}

.dropdown-item .fa-fw.float-right {
    margin-top: 0.3em;
}

.navbar-right .dropdown-menu {
    right: 0;
    left: auto;
}

.jumbotron {
    position: relative;
    padding: 0 0 56.25% 0;
    height: 0;
    overflow: hidden;
}

    .jumbotron iframe, .jumbotron object, .jumbotron embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.tree {
    text-align: initial;
}

    .tree ul:first-child {
        padding-inline-start: 0 !important;
    }

    .tree li span {
        text-align: left;
    }

        .tree li span span {
            text-decoration: none !important;
            border: none !important;
        }

    .tree a[href^="#"] {
        text-align: left;
    }

    .tree li {
        text-align: left;
        list-style-type: none;
        margin: 0;
        padding: 10px 0 0 5px;
        position: relative;
    }

        .tree li::before,
        .tree li::after {
            content: '';
            left: -20px;
            position: absolute;
            right: auto
        }

        .tree li::before {
            border-left: 2px solid currentColor;
            bottom: 50px;
            height: 100%;
            top: 0;
            width: 1px
        }

        .tree li::after {
            border-top: 2px solid currentColor;
            height: 20px;
            top: 25px;
            width: 25px
        }

        .tree li span {
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border: 2px solid currentColor;
            border-radius: 3px;
            display: inline-block;
            padding: 3px 8px;
            text-decoration: none;
            cursor: pointer;
        }

        .tree li span:hover {
            border: 2px solid currentColor;
        }

            .tree li span i.itemSelected {
                display: inline !important;
            }

    .tree > ul > li::before,
    .tree > ul > li::after {
        border: 0
    }

    .tree li:last-child::before {
        height: 27px
    }

    .tree li > span {
        max-width: calc(100% - 11rem);
    }

    .tree li > div {
        width: 10rem;
        right: 0;
        top: 0;
        bottom: 0;
        padding: 1em 8px;
        position: absolute;
        border-left: black 0.5em solid;
    }

        .tree li > div > i:first-child {
            margin-left: -1em;
        }
    .tree pre {
        display: inline !important;
        white-space: pre-wrap;
    }
    #editModal input[type=number] {
        max-width: 4rem !important;
        display: inline !important;
        text-align: right;
    }

    [aria-expanded="false"] > .expanded,
    [aria-expanded="true"] > .collapsed {
        display: none;
    }

#tree {
    position: fixed;
    right: 0;
    margin-right: 1rem;
    z-index: 2;
}
