html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.small, small {
    font-size: .75em;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.125);
}

    .list-group.list-group-root .list-group {
        margin-bottom: 0;
    }

    .list-group.list-group-root .list-group-item {
        border-radius: 0;
        border-width: 1px 0 0 0;
    }

    .list-group.list-group-root > .list-group-item:first-child {
        border-top-width: 0;
    }

    .list-group.list-group-root > .list-group > .list-group-item {
        padding-left: 30px;
    }

    .list-group.list-group-root > .list-group > .list-group > .list-group-item {
        padding-left: 45px;
    }

.menu-tile {
    width: 220px;
}

    .menu-tile:hover {
        background-color: #f8f9fa;
    }


ul.remove-bullets, #myUL {
    list-style-type: none;
}

/* 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;
    }

/* 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;
}

.btn-xxs {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.25rem;
    --bs-btn-font-size: 0.75rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.index-not-active {
    background-color: var(--bs-gray-400);
}

#side-menu {
    min-width: 500px;
    /*max-width: 500px;*/
    width: 500px;
    display:flex;
    flex-direction:column;
}

    #side-menu.hide {
        display:none;
    }

#side-menu .dropdown-toggle::after {
    content: unset;
}

    #side-menu ul li {
        padding-bottom: 1px;
    }

        #side-menu ul li:first-child {
            padding-top: 1px;
        }

        #side-menu ul li:last-child {
            padding-bottom: 0;
        }

@media (max-width: 991px) {
    #side-menu {
        display: none;
    }
}

#print {
    display: none !important;
}

.print {
    flex-grow:1;
    width: unset;
}

@media print {
    .noprint {
        display: none !important;
    }

    .print {
        width: 21cm;
        margin: 10mm;
    }

    #print {
        display: block !important;
        width: 21cm;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
}

@media (min-width: 992px) {
    .htmlviewer img {
        max-width: 800px;
    }
}

.htmlviewer img,
.htmlviewer video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
