

/* ------ General common styles */

body {
    font-family: var(--bs-font-sans-serif);
    font-size: 12pt;
    margin:0;
    padding:0;
    height: 100%;
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   -hyphens: auto;
    scroll-behavior: smooth;
}

body,
label,
table,
th,
td,
li,
input,
select,
textarea,
option,
button {
    font-family: var(--bs-font-sans-serif);
}

.fpcm-ui-monospace {
    font: 1em var(--bs-font-monospace) !important;
}

.fpcm.ui-headline-font,
h1,
div.fpcm.ui-help-content > h3,
h3.card-title {
    font-family: var(--fpcm-font-headline), var(--bs-font-sans-serif) !important;
}

div.fpcm.ui-dataview-head,
div.fpcm-ui-dataview-subhead {
    font-family: var(--fpcm-font-headline), var(--bs-font-sans-serif) !important;
}

a, a:visited, a.fpcm-link {
    text-decoration: none;  
}

a:hover, a:focus, a:active {
    text-decoration: none;
}

dt {
    font-weight: bold;
}

a.fpcm-ui-button-link,
a.fpcm-ui-button-link:hover,
a.fpcm-ui-button-link:focus,
a.fpcm-ui-button-link:active,
a.dropdown-item:hover,
a.dropdown-item:focus,
a.dropdown-item:active,
a.dropdown-item,
a.fpcm.ui-nav-link.nav-link,
a.fpcm.ui-nav-link.nav-link.active {
    font-weight: normal;
}

table {
    border-spacing: 0;
}

td {
    vertical-align: top;
}

img {
    border:0;
}

label {
    font-weight: normal;
}

dl {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

legend {
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler {
    box-shadow: none !important;
}

* [draggable=true] {
    cursor: move;
}

* [draggable=false] {
    cursor: not-allowed;
}

/* ------ Text aligns */
label,
.fpcm.ui-align-ellipsis,
.fpcm-ui-ellipsis    {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

ul.fpcm-ui-csv-fields {
    min-height: 100px;
}

.fpcm.ui-mh-100vh {
    min-height: 100vh;
}

/* ------ Opacities */
.fpcm-ui-status-0 {
    opacity: 0.2;
}

.fpcm-ui-status-1 {
    opacity: 1.0;
}


/* ------ Badge styles */
span.fpcm-ui-badge {
    z-index: 999;
}

.fpcm.ui-font-small,
.fpcm-ui-font-small {
    font-size: var(--fpcm-font-size-small);
}

li.fpcm-ui-smileylist-preview {
    line-height: 30px;
}

img.fpcm-ui-smileylist-preview {
    max-width:30px;
    max-height:30px;
    margin-right: 0.4em;
}

.fpcm-editor-htmlsmiley {
    cursor: pointer;
}

.fpcm.ui-autocomplete,
.fpcm.ui-dropdown-limit {
    max-height: 33vh;
}

.fpcm-ui-progressbar {
    height: 35px;
}

.fpcm.ui-progressbar-sm {
    height: 10px;
}

.fpcm.ui-progressbar-lg {
    height: 50px;
}

.pre-box {
    white-space: pre-line;
}

textarea.fpcm-ui-textarea-medium,
textarea.fpcm.ui-textarea-medium {
    min-height: 15lh;
}

textarea.fpcm.ui-textarea-noresize {
    resize: none;
}

div.fileupload-progress.in {
    display: block;
}

.fpcm.ui-hidden,
.fpcm-ui-hidden {
    display: none !important;
}

.fpcm.ui-z-index-top {
    z-index : 1021;
}

.fpcm.ui-max-width-md {
    max-width: 30em;
}

/* ID selectors */
#fpcm-filemanager-upload-drop {
    cursor: copy;
}

#fpcm-filemanager-upload-drop h4 {
    padding: 1.75em 0em;
}

#fpcm-filemanager-upload-drop h4:before {
    font-size: 5em;
    padding-bottom: 0.1em;
}

#fpcm-ui-toolbar .form-select {
    display: inline-block;
    width: auto;
}

#fpcm-loader {
    display : none;
}

#fpcm-loader > div:first-child {
    z-index : 9999;
}
