body {
    margin: 0.5em;
    background-color: #FFFFFF;
    line-height: 1.4;
    font-size: 15px;
    font-family: sans-serif;
}
textarea,
input,
select,
.ui-tooltip-content
{
    font-family: sans-serif;
    font-size: 15px;
}


p {
    margin-block-start: auto;
}

ol {
    padding-inline-start: 30px;
}

.right { text-align: right !important; }

footer {
    clear: both;
    padding-top: 3em;
    text-align: center;
}

footer img {
    height: 80px;
    width: 300px;
}

.fullPageWidth {
    width: 95vw;
}

.hide { display: none; }

.clear { clear: both; }

small {
    font-size: smaller;
}

sup {
    position: relative;
    top: -0.3em;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

a {
    color: #086C8C;
}

.alert {
    color: #FF0000;
}

.overdue {
    color: #FF0000 !important;
    font-weight: bold;
}

.meta {
    font-size: smaller;
    font-style: italic;
    color: #949494;
}

.removable {
    display: inline-block;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 1em;
    cursor: pointer;
}

#top-logo {
    position: absolute;
    top: 2px;
    right: 0;
    height: 62px;
    cursor: pointer;
    z-index: 999;
    margin-right: 10pt;
}

nav {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

#navBackground {
    position: fixed;
    top: 0;
    background-color: white;
    z-index: 998;
    width: 100%;
}
/* breadcrumbs */
nav .breadcrumbs .breadcrumb {
    display: inline-block;
    background: #FFFFFF;
    padding: 3px 10px;
    margin-right: -5px;
    margin-left: 0;
    text-decoration: none;
    color: #06516C;
    border: solid #777777 1pt;
    margin-bottom: 0;
}

nav .breadcrumbs .breadcrumb.first {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    margin-left: 50px;
}
nav .breadcrumbs .breadcrumb.last {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

nav .breadcrumbs a.breadcrumb:hover {
    background: #06516C;
    color: #FFFFFF;
    text-decoration: none;
}

/* end breadcrumbs */

nav em {
    text-decoration: underline;
    font-style: normal;
}

/* utils */
nav ul.utils {
    position: fixed;
    display: inline-block;
    color: rgba(6, 81, 108, 1);
    list-style: none;
    padding-left: 0;
    padding-top: 4px;
    z-index: 2000;
    margin-block-start: auto;
    margin-block-end: auto;
}

nav ul.utils li .widget {
    display: none;
    margin-top: 1px;
    text-align: left;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

nav ul.utils li .widget:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    margin-top: -3px;
    border-top: 3px solid #FFFFFF;
    width: 32px;
    z-index: 101;
}

nav ul.utils li > span {
    position: relative;
    padding: 4px;
    border: 1px solid #FFFFFF;
    z-index: 1000;
}

nav ul.utils li:hover > span {
    background-color: #FFFFFF;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 2px -2px 5px rgba(170, 170, 170, 0.5);
}

nav ul.utils li > span {
    border: 1px solid #777777;
    border-radius: 3px;
}

nav ul.utils li:hover > .widget {
    display: block;
    z-index: 100;
}

nav ul.utils hr {
    margin: 5px 0;
}
/* end utils */

main {
    clear: both;
    padding: 0;
    margin: 0;
    display: inline-block;
}

div.displayWidth {
    width: 100vw;
}

.widget.middle { 
    width: min(31em,90vw); 
    margin: auto;
}

main.dashboard { min-width: 1150px; }
/*main:before, main:after { content:""; display:table; }*/
/*main:after { clear:both; }*/
main.dashboard .column-full { padding-bottom: 0; }

.column-group {
    float: left;
    width: 71%;
}

.column {
    display: block;
    float:left;
    padding-bottom: 2em;
    width: 48%;
    overflow: auto;
}

.column-full {
    display: block;
    width: 98%;
    overflow: visible;
    padding-right: 5px;
}

.column-full .widget {
    width: 100%;
    overflow: visible;
}

.column.first { margin-right: 2%; }

.column-small {
    margin-right: 1%;
    width: 14%;
}

.column-med {
    margin-right: 1%;
    width: 28%;
}

.column.last {
    margin-right: 0;
    padding-right: 0;
}

.column h2 {
    color: #06516C;
    font-weight: bold;
}

.widget {
    position: relative;
    margin-bottom: 1em;
    margin-right: 5px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    font-size: 15px;
    box-shadow: 2px 2px 5px rgba(170, 170, 170, 0.5);
}

.widget header {
    padding-left: 6px;
    padding-right: 4px;
    margin-top: 2px;
    margin-bottom: 1px;
    border-bottom: 1px solid #DDDDDD;
    min-height: 1.5em;
    max-width: 95vw;
}

.widget header h2 {
    float: left;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 4px;
}

details > *:not(summary) {
    margin-left: 4px;
    margin-right: 4px;
}

.column .widget header { cursor: move; }

.widget p {
    margin: 0;
}

.widget header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.widget .header-buttons {
    position: relative;
    margin-left: auto;
}

.widget header h2 {
    flex-grow: 5;
}

.widget .header-buttons a, a.button {
    position: relative;
    right: 0;
    display: inline-block;
    margin: 0.2em 0 0.2em 0.4em;
    padding: 0 0.5em;
    background-color: rgba(8, 108, 140, 0.15);
    color: #06516C;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(170, 170, 170, 0.5);
    white-space: nowrap;
    cursor: pointer;
    border: solid 0.5px;
}

.widget .header-buttons a,
.widget .header-buttons a:active,
.widget .header-buttons a:visited,
.widget .header-buttons a:focus,
a.button, a.button:active, a.button:visited, a.button:focus {
    color: #06516C;
}

a.button {
    margin-top: 0.5em;
}

a.form-button {
    padding: 7px 1em !important;
    background-color: #DFEAEE;
    border: none;
    color: #06516C;
    font-size: 1em !important;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 3px;
}

a.form-button,
a.form-button:active,
a.form-button:visited,
a.form-button:focus {
    color: #06516C;
}
a.form-button:hover {
    background-color: #06516C;
    color: #FFFFFF;
}

table.frm a.button {
    right: auto;
    margin-top: -4px;
    line-height: 1.75em;
    min-width: 1.75em;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.widget .header-buttons a:hover,
a.button:hover {
    background-color: #06516C;
    color: #FFFFFF;
    text-decoration: none;
}

.widget-body > *:not(details) {
    margin: 6px;
}

.widget-body > div.right {
    margin-top: 2px;
    margin-bottom: 2px;
}

.widget h2 {
    margin: 0;
    color: #06516C;
    font-weight: bold;
    line-height: 1.1em;
    font-size: 1em;
}

.widget h3 {
    color: #086C8C;
}

.widget h4 {
    margin: 0 0 0.4em;
    color: #086C8C;
    font-size: 15px;
    font-weight: normal;
}

.widget h5 {
    margin: 0 0 0.4em;
    color: #086C8C;
    font-size: 13px;
}

.widget .form-row {
    margin-bottom: 0.5em;
}

.dashboard .widget .tCombo {
    width: 98%;
}

.widget input[type="text"],
.widget input[type="password"] {
    border: 1px solid #DDDDDD;
    border-radius: 0;
}

.widget button {
    padding: 5px 1em;
    background-color: #06516C;
    border: none;
    color: #FFFFFF;
}

.widget .spacer {
    width: 2em;
    display: inline-block;
}

.widget details[open] {
    padding-bottom: 6pt;
}

.widget .headline {
    display: block;
    padding: 0.5em 0;
    border-top: 1px solid #DDDDDD;
    color: #444444;
    word-break: break-word;
}

.headline .headline {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
}

.widget .headline:hover {
    background-color: #06516C;
    text-decoration: none;
}

.widget .headline:hover>div,
.widget .headline:hover>p
{
    color: #FFFFFF !important;
}

.widget .headline:hover>h4
{
    color: lightblue !important;
}

.widget .headline:hover .removable,
.widget a:hover .removable {
    color: white !important;
}

.widget .headline time {
    margin-left: 1em;
    float: right;
    color: #086C8C;
    font-size: 13px;
}

.widget .headline .icons {
    position: relative;
    right: auto;
    margin-left: 1em;
    float: right;
}

.widget .headline .icons .fas {
    position: relative;
    right: auto;
}

.widget a .removable {
    position: absolute;
    top: 0;
    right: 0.6em;
    margin-top: 2px;
}

.widget a .removable.left {
    position: relative;
    top: auto;
    right: auto;
}

.widget .link-list a {
    position: relative;
    display: block;
    line-height: 1.4em;
}

.widget .link-list a:hover {
    background-color: #06516C;
    color: #FFFFFF;
    text-decoration: none;
}

.widget .link-list a:hover * {
    background-color: #06516C;
    color: #FFFFFF;
    text-decoration: none;
}

.widget .link-list.ui-sortable a { cursor: move; }

.widget .link-list a.removable {
    padding-right: 1.25em;
}

table td.wide-75pct { width: 75%; }
table td.wide-60pct { width: 60%; }

table.report {
    border-collapse: separate;
    border-spacing: 0;
}

.widget table.report th,
.widget table td {
    padding: 0.25em;
}
.dashboard .widget table.report th,
.dashboard .widget table.report td,
.dashboard .widget table.report th>div,
.dashboard .widget table.report td>div,
.dashboard .widget table.report th>div>span,
.dashboard .widget table.report td>div>span
{
    font-size: 13px;
}

table.report th {
    font-weight: 600;
}

table.report thead { background-color: rgba(8, 108, 140, 0.15); }

table.report thead th { border-bottom: 1px solid rgba(8, 108, 140, 0.15); }

table.report tfoot tr { background-color: rgba(8, 108, 140, 0.15); }

table.report tr:nth-child(even) { background-color: #F3F3F3; }

table.report tbody tr:hover {
    background-color: #DDDDDD;
}
table.report tbody td.link:hover {
    background-color: #CCCCCC;
}

table.report tbody tr:hover input,select,textarea {
    background-color: white;
    color: black;
}
table.report tbody tr:hover a {
    color: white;
}

.widget table.report thead { background-color: transparent; }
.widget table.report { width: calc(100% - 8px); }

.widget table.form { width: calc(100% - 8px); }

.widget table.form input[type="text"],
.widget table.form input[type="password"]
{ width: 68%; }

.widget table.form textarea { width: 68%; }
.widget table.form td:first-of-type { width: 15%; }

.sortable-widget-placeholder {
    margin-bottom: 1em;
    border: 2px dotted #CCCCCC;
    border-radius: 3px;
    background-color: rgba(170, 170, 170, 0.5);
    height: 5em;
}

#preview { margin-top: 1em; }

 /* GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
    #top-logo, #top-logo.above {
        position: relative;
        margin: 0 auto 1em auto;
        max-width: 100%;
        left: auto;
        display: block;
        float: none;
    }

    .first.breadcrumb {
        clear: left;
    }

    main, main.dashboard { min-width: 100%; }

    .column, .column-full, .column-group {
        margin: 0;
        padding: 0;
        width: 100% !important;
    }

    nav,
    nav ul.utils
    {
        position: relative;
    }
    nav .breadcrumbs .breadcrumb.first {
        margin-left: 5px;
    }

    #navBackground {
        min-height: 0 !important;
    }

    body {
        padding-top: 2px !important;
    }

    textarea,
    input
    {
        max-width: 70vw !important;
    }

    /* workflow page and workflow on claim page */
    .workflowQuestion .description {
        width:90% !important; /* leave room for icon */
    }
    .workflowQuestion .control {
        width:96% !important;
    }
}

label {
    font-weight: normal;
}

#searchWidget label {
    margin: 0 1em 0 0;
    display: inline-block;
}
#searchWidgetCheckboxes {
    margin-left: 0.7em;
}

.hotkey {
    text-decoration: underline;
    font-weight: bold;
}

.widget-diary {
    max-height: 6.5em;
    overflow-x: auto;
    overflow-y: auto;
    display: block;
}

.widget .past * {
    color: #999999 !important;
}


.widget .fa-flag.toggle {
    color: silver !important;
}
.widget .fa-flag.toggle.on {
    color: red !important;
}
.fas {
    color: #06516C;
}

.fas.off {
    color: silver;
}

.fas:hover {
    color: #D5A335 !important;
    cursor: pointer;
}

.headline:hover .fas,
.breadcrumb:hover .fas
{
    color: white;
}

.widget .counter {
    display: inline-block;
    min-width: 11px;
    text-align: center;
}

.widget .fileLink .hotkey {
    font-size: smaller;
}

.widget .fileLink .removable {
    width: 13px;
    height: 13px;
    font-size: 8pt;
    margin-top: 2px;
    vertical-align: top;
}

.widget .fileLink {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highcharts-container * {
    font-size: 12px;
}

.spin {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.link {
    cursor: pointer;
}

#slideShow {
    text-align: center;
    margin: 10px;
}

.reportData {
    min-width: 20em;
}

div.reportData {
    display: block;
}

.reportDataHeight,
.reportData
{
    max-height: 5em;
    overflow-x: auto;
    overflow-y: auto;

}

.reportWidth {
    min-width: 15em;
}

.width5 {
    min-width: 5em;
}

.comboDateSearch {
    width: 8em !important;
}

.dateSearchDay div.tCombo {
    width: 9em !important;
}

.dateSearchDay.blank {
    display: none;
}

.xlsxDownload {
    font-size: 0.9em;
    cursor: pointer;
    display: block;
}

.form-section { margin-bottom: 1em; }

input.title-field {
    color: #06516C;
    font-weight: bold;
    width: 90%;
    height: 2em;
}

input.subtitle-field {
    width: 90%;
    height: 2em;
}

#metricForm input.title-field { width: 20em; }

details summary {
    display: list-item;
    background-color: rgba(8, 108, 140, 0.15);
    padding-left: 4px;
    border: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    outline: none;
    cursor: pointer;
}

/**
 * things that should not display when printing
 */
@media print
{
    .highcharts-button,
    .highcharts-button *,
    .utils,
    .no-print
    {
        display: none !important;
    }
}
