/*
Copyright 2015-2023 Andreas Rudolph <andy@openindex.de>.
All rights reserved. You are not allowed to use, copy, sell or modify
this application without a written permission of the copyright holder.
*/

/* sticky header */
body {
    padding-top: 50px;
}

/* typography */
.highlight {
    font-family: monospace;
    font-weight: bold;
    font-size: 1.1em;
}

/* fix default page header */
.page-header {
    margin-top: 0 !important;
}

/* loading indicator */
#pageLoading {
    display: none;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

/* validation messages in forms */
.form-group .alert {
    margin-top: 0.5em;
    margin-bottom: 0;
}

/* validation icons */
.form-control-feedback {
    line-height: 34px !important;
}

.form-control-feedback-select {
    right: 30px !important;
}

.form-control-feedback-checkbox {
    position: inherit !important;
    line-height: normal !important;
    height: auto !important;
    width: auto !important;
}

.form-control-feedback-treeselect {
    right: 40px !important;
}

.form-control-feedback-area,
.form-control-feedback-energy,
.form-control-feedback-length,
.form-control-feedback-volume {
    right: 70px !important;
}

/* form labels */
.form-group .control-label {
    white-space: nowrap !important;
}

/* checkbox labels */
.checkbox-label {
    display: block !important;
    font-weight: normal !important;
}

/* table columns */
td.text p {
    padding: 0 !important;
    margin: 0 !important;
}

td.boolean, th.boolean {
    text-align: center;
}

/* debug bar */
#wicketDebugBar {
    left: auto !important;
    bottom: 0 !important;
    top: auto !important;
    right: 0 !important;
    border-top: 1px solid #c0c0c0 !important;
    border-left: 1px solid #c0c0c0 !important;
    border-bottom: none !important;
    border-right: none !important;
    position: fixed !important;
    z-index: 100 !important;
}

#wicketDebugBar img {
    vertical-align: top !important;
}

.wicketversioncontrib {
    background: none !important;
    opacity: 1 !important;
    font-weight: bold !important;
}

/* AJAX debug link  */
#wicketDebugLink {
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    right: auto !important;
    border-bottom: none !important;
    border-left: none !important;
    border-top: 1px solid #c0c0c0 !important;
    border-right: 1px solid #c0c0c0 !important;
    position: fixed !important;
    background-color: #dddddd !important;
    opacity: 0.8 !important;
}

/* modal dialogs */
.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* blockquote elements */
blockquote {
    font-size: 1em !important;
}

/* button bar */
.buttonBar {
    font-size: 0;
    /*line-height: 0;*/
}

.buttonBar > * {
    margin-left: 5px;
}

.buttonBar > *:first-child {
    margin-left: 0;
}
