﻿body { font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif; font-size: 0.75em; margin-top: 57px; margin-bottom: 57px; text-align: justify; }

/*@media (min-width: 768px) { body { font-size: 0.75em; } }*/
@media (min-width: 992px) { body { font-size: 0.8em; } }
@media (min-width: 1200px) { body { font-size: 0.85em; } }
@media (min-width: 1400px) { body { font-size: 0.9em; } }

/*[data-bs-theme=light] { --jsp-thead: var(--bs-gray-800); --jsp-theadColor: var(--bs-gray-300); }*/
[data-bs-theme=light] { --jsp-thead: var(--bs-blue); --jsp-theadColor: var(--bs-gray-300); }
[data-bs-theme=dark] { --jsp-thead: var(--bs-gray-600); --jsp-theadColor: var(--bs-gray-800); }
thead th, tfoot th { background-color: var(--jsp-thead)!important; color: var(--jsp-theadColor)!important; }

dt, .dt { font-weight: 300; font-size: 0.75rem; }
.dropdown-item.active svg { color: var(--bs-body-bg)!important; }
.row .form-floating label { margin-left: calc(var(--bs-gutter-x) * .25); }
select, input, textarea, .dropdown-item { font-size: 0.9rem !important; }
    input::-webkit-input-placeholder { font-size: 0.9rem; }
a, a:hover, a:active, a:visited { text-decoration: none !important; }
    a.dropdown-item { font-size: 0.9rem; }

.input-group-text { font-size: 85%; }
.nav-tabs a:not(.active) { background-color: var(--bs-tertiary-bg) !important; cursor: pointer; }
.nav-tabs a.nav-item { border: solid 1px rgb(var(--bs-secondary-bg-rgb)); min-width: 120px; }
span.field-validation-error::before { content: "→ "; }
span.field-validation-error { font-size: 0.8rem; }
::placeholder { color: #aaa !important; }
.page-link.small { font-size: 0.75rem; }
.textarea, textarea.form-control { min-height: 120px!important; }
.x-small { font-size: 0.75rem; }
.tab-content { min-height: 240px; }
.rotated-text { writing-mode: sideways-lr; padding-top: 10px; }

@media (min-width: 768px) {
    .tab-content { min-height: 360px; }
}.ui-autocomplete { cursor: pointer; font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif !important; line-height: 0.9rem; font-size: 0.75rem !important; height: 120px; overflow-y: auto; overflow-x: hidden; }
mark, .mark { background-color: #faed27; padding: 0; }
remark, .remark { color: black; background-color: #b6ff00; }
#btn-back-to-top { position: fixed; bottom: 74px; border-radius: 50%; right: 20px; display: none; z-index: 2; }

/* button-xs
---------------------------- */
.btn-xs { padding: 1px 5px; font-size: 12px; min-width: 25px!important; line-height: 1.5; border-radius: 3px; }

/* Side notes for calling out things
-------------------------------------------------- */
/* Base styles (regardless of theme) */
.bs-callout { margin: 20px 0; padding: 15px 30px 15px 15px; border-left: 5px solid var(--bs-tertiary-color); background-color: var(--bs-table-bg); }
    .bs-callout h4 { margin-top: 0; }
    .bs-callout p:last-child { margin-bottom: 0; }
    .bs-callout code, .bs-callout .highlight { background-color: var(--bs-tertiary-bg); }

/* Themes for different contexts */
.bs-callout-success { background-color: var(--bs-success-bg-subtle); border-color: var(--bs-success); }
.bs-callout-danger { background-color: var(--bs-danger-bg-subtle); border-color: var(--bs-danger); }
.bs-callout-warning { background-color: var(--bs-warning-bg-subtle); border-color: var(--bs-warning); }
.bs-callout-info { background-color: var(--bs-info-bg-subtle); border-color: var(--bs-info); }

/* button default
---------------------------- */
.btn-default { color: var(--bs-secondary); background-color: var(--bs-secondary-bg); border-color: var(--bs-secondary-border-subtle); background-repeat: repeat-x; }
    .btn-default:focus { color: var(--bs-secondary); background-color: var(--bs-secondary-bg); border-color: var(--bs-secondary-border); }
    .btn-default:active, .btn-default:hover { color: var(--bs-secondary-text-emphasis); background-color: var(--bs-secondary-bg-subtle); border-color: var(--bs-border-color); }

/* timeline
---------------------------- */
.timeline { position: relative; margin-left: 0.5rem; border-left: 2px dashed #dee2e6; padding-left: 1.9rem; }
.timeline-event { position: relative; margin-bottom: 0.5rem;}
.timeline-icon { position: absolute; left: -2.5rem; top: 0.2rem; }
.timeline-event-content { padding-left: 0rem; }
.timeline-event p { margin-bottom: 0rem; margin-top:0; }
.timeline-event .time { font-size: 0.875rem; color: var(--bs-tertiary-color)}
