﻿:root {
    --CodeMirror-font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
    --CodeMirror-font-size: 14px;
    --CodeMirror-font-weight: normal;
    --CodeMirror-line-height: 19px;

    /* colors */
    /*--base-card-header-bg-color: rgb(248, 248, 248) = rgba(var(--bs-body-color-rgb), 0.03);  Need to set RGB to get the same color withour transparency */
    --base-card-header-bg-color: rgb(248, 248, 248);
}

[data-bs-theme=dark] {
    /*--base-card-header-bg-color: #272b2f = rgba(var(--bs-body-color-rgb), 0.03);  Need to set RGB to get the same color withour transparency */
    --base-card-header-bg-color: #272b2f;
}

.form-control.valid.modified {
    /*border-color: var(--bs-success);*/
}

.form-control.invalid {
    border-color: var(--bs-danger) !important;
}

.validation-message {
    color: var(--bs-danger);
}

#blazor-error-ui {
    color: #fff;
    background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1));
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .reload {
        color: #fff;
    }

    #blazor-error-ui .dismiss {
        color: #fff;
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.buttonInCenter {
    text-align: center;
}

.toTheRight {
    float: right;
    margin-right: 2px;
}

.right {
    float: right;
}


.card.card-content {
    border: none;
    border-radius: 0;
}

    .card.card-content > .card-header {
        position: sticky;
        top: 56px;
        z-index: 5;
        background-color: var(--base-card-header-bg-color);
        border-radius: 0;
    }

    .card.card-content > .card-header .btn-group {
        margin-bottom: 2px;
        margin-top: 2px;
    }


.CodeMirror {
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: .25rem;
    /*    font-size: 0.9em;
    line-height: 17.72px !important;
    font-weight: 200;*/

    font-family: var(--CodeMirror-font-family) !important;
    font-size: var(--CodeMirror-font-size);
    line-height: var(--CodeMirror-font-weight) !important;
    font-weight: var(--CodeMirror-line-height);

    min-height: 450px;
}

.codemirror-height-container {
    height: 650px;
}

    .codemirror-height-container.default {
        height: 450px;
    }

.tinymce-height-container {
    height: 650px;
}

    .tinymce-height-container .tinymce-wrapper {
        width: 100%;
        height: 100%;
    }

.table-head {
    --bs-table-bg: rgba(var(--bs-body-color-rgb), 0.03);
}

tr.highlight {
    background-color: rgba(238, 238, 238, 1);
}

tr td button.btn:focus {
    box-shadow: none;
}

.menuitems-table > thead > tr > th.col02 {
    width: 40px;
}

.menuitems-table .form-check .form-check-input {
    float: none;
}

.groups-table tbody > tr {
    height: 48px;
}

.view-fields-table tbody > tr {
    height: 48px;
}

.view-fields-table > thead > tr > th.col03 {
    width: 80px;
}

.view-fields-table > thead > tr > th.col04 {
    width: 82px;
}

.view-fields-table .form-check-inline {
    margin-right: 0;
}

.settings-cultures-table thead > tr > th.col01 {
}

.settings-cultures-table thead > tr > th.col02 {
    width: 15%;
    text-align: center;
}

.settings-cultures-table tbody > tr > td.col01 {
}

.settings-cultures-table tbody > tr > td.col02 div {
    display: flex;
    justify-content: space-around;
}

.btn-group-menuitems-structure > .btn {
    padding-top: 0;
    padding-bottom: 0;
}

.btn.btn-sm .spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
}

.list-group-item-action:focus,
.list-group-item-action:hover {
/*    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);*/
}

.list-group-item.active {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.list-group-items-selector {
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc(100vh - 312px);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 4px;
}

.items-selector-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-group-items-order {
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 4px;
    min-height: 126px;
}

.items-order-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.anim-rotate {
    animation: rotate-keyframes 1s linear infinite;
}

@keyframes rotate-keyframes {
    100% {
        transform: rotate(360deg);
    }
}

.moveFromScreen {
    width: 1px;
    height: 1px;
    position: absolute;
    top: -100px;
}

.overflow-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.likeALink {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.docResultPanel {
    display: inline-block;
    font-size: 16px;
    padding: 6px 12px;
    margin-bottom: 0;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border:none;
    height: 37px;
}

.form-control[readonly] {
    background-color: var(--bs-secondary-bg);
}


.modal-dialog
{
    max-width:600px;
}

.modal-dialog.modal-xl {
    max-width: 1100px;
}


