﻿/* 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;
}

/* Arrows */
i {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
/*    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);*/
}

.left {
/*    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);*/
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* 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: 60px; /* Vertically center the text there */
}

/* Other styles
-------------------------------------------------- */
blockquote {
    border-left: 3px solid rgba(0, 0, 0, .05);
    padding-left: 10px;
    font-size: 1rem !important;
}

.diff-inserted {
    background-color: #2cbe4e33;
    width: 100%;
    display: inline-block;
    margin-left: -4px;
    padding-left: 4px;
}

.diff-inserted-piece {
    background-color: #2cbe4e33;
}

.diff-deleted {
    background-color: #cb243133;
    width: 100%;
    display: inline-block;
    margin-left: -4px;
    padding-left: 4px;
}

.diff-deleted-piece {
    background-color: #cb243133;
}

.editor-colors pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f6f8fa;
    border-radius: 3px;
}

/* TreeView */
/* Remove default bullets */
ul, #myUL {
    list-style-type: none;
    margin-left: -20px;
}

/* Remove margins and padding from the parent ul */
#myUL {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

    /* Create the caret/arrow with a unicode, and style it */
    .caret::before {
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
}

@-webkit-keyframes target {
    from {
        background: #ffffff;
    }

    50% {
        background: #eac01c;
    }

    to {
        background: #ffffff;
    }
}

:target {
    animation: target 1s 1;
}
