@media (prefers-color-scheme:dark) {
    body::after {
        content: 'dark';
        display: none;
    }
}

@media (prefers-color-scheme:light) {
    body::after {
        content: 'light';
        display: none;
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

#body-element {
    margin-top: 80px;
}

html, body {
    font-family: 'Segoe UI','Helvetica Neue', Helvetica, Arial, sans-serif;
}

i {
    font-style:normal;
}

code {
    font-family: monospace;
    color: royalblue;
}

#content-area {
    padding-top: 10px;
    padding-bottom: 60px;
}

.card-header {
    font-size: 1.4em;
}

.card-header .btn {
    margin-left:.1em;
}

.padtop {
    margin-top: 20px;
}

.padtop-5 {
    margin-top: 5px;
}

.padtop-10 {
    margin-top: 10px;
}

button.right {
    float: right;
}

table.full {
    width: 100%;
}

table.first-column-bold thead th:first-child,
table.first-column-bold tbody td:first-child {
    font-weight: bold;
}

table.first-column-right thead th:first-child,
table.first-column-right tbody td:first-child {
    text-align: right;
}

table.first-column-small thead th:first-child,
table.first-column-small tbody td:first-child {
    width: 1%;
}

table.first-column-right td table td:first-child,
table.first-column-right th table th:first-child {
    text-align: left;
}

table.first-column-right td table td.center:first-child,
table.first-column-right th table th.center:first-child {
    text-align: center;
}

table.first-column-right td table td.right:first-child,
table.first-column-right th table th.right:first-child {
    text-align: right;
}

th.left,
td.left,
table.first-column-right table th.left,
table.first-column-right table td.left {
    text-align: left;
}

table.padded thead tr th,
table.padded tbody tr td {
    padding: 5px;
}

label {
    font-weight: bold;
}

label.small {
    font-weight: normal;
    font-size: 0.8em;
    position: relative;
    top: -2px;
}
    
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

div.close-button {
    display: inline-block;
    float: right;
}

.icon-element i {
    min-width: 20px;
    text-align: center;
}

.btn i {
    /*margin-right: 5px;*/
}

.nav-link i {
    margin-right:4px;
}

div.menu-icon-wrapper {
    width: 20px;
    min-width:28px;
    display: inline-block;
    text-align: center;
}

.dropdown-item i:not([class*="sort-indicator"]) {
    min-width: 28px;
    text-align: center;
    margin-right:5px;
}

.dropdown-item.active {
    background: #555;
    color:#fff;
}

nav a.nav-link.active {
    background-color: #555;
    border-radius: 5px;
    color:#fff !important;
}

.nav-item.disabled {
    cursor:not-allowed;
}

i.far.sort-indicator,       
i.fas.sort-indicator,
i.fab.sort-indicator {
    padding-right: .3em;
}

.btn-xs {
    padding: .3rem .3rem;
    font-size: .8rem !important;
    line-height: .8rem;
    border-radius: .2rem;
}

th.no-pad-right,
td.no-pad-right {
    padding-right: 0;
    padding: 8px 0 8px 8px;
}

table.table:not([class*="mb-2"]) {
    margin-bottom: 0;
}

table.table thead tr th,
table.table tbody tr td,
table.table tfoot tr td {
    vertical-align:middle;
}

table.table thead tr th.no-pad-right,
table.table tbody tr td.no-pad-right {
    padding-right: 0;
    padding: 8px 0 8px 8px;
}

table.table thead tr th.no-pad-left,
table.table tbody tr td.no-pad-left {
    padding-left: 0;
    padding: 8px 8px 8px 0;
}

table.table thead tr th.no-pad-left.no-pad-right,
table.table tbody tr td.no-pad-left.no-pad-right {
    padding-left: 0;
    padding-right: 0;
    padding: 8px 0 8px 0;
}

table.table thead tr th.action-item,
table.table tbody tr td.action-item {
    width: 1%;
}

table.table tbody tr.action-row {
    cursor: pointer;
}

table.table tbody tr.action-row:hover {
    background-color: #ccc;
}

table.table thead tr th button.btn-default {
    font-weight: 600;
}

table.table thead tr th button:disabled.btn-default {
    opacity: .8;
}

.card-body {
    padding: 0.5rem;
}

.card {
    padding: 0;
}

.light {
    color: #aaa;
}

.note {
    opacity: 0.8;
    font-style: italic;
    font-size: .8em;
}

.pointer {
    cursor: pointer;
}

.right {
    text-align: right;
}

div.right {
    float: right;
}

.strong {
    font-weight: bold;
}

.highlight {
    color: #888;
}

a {
    color: #0077cc;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.fixed-50 {
    width: 50px;
    display: inline-block;
}

.fixed-75 {
    width: 75px;
    display: inline-block;
}

.fixed-100 {
    width: 100px;
    display: inline-block;
}

.fixed-150 {
    width: 150px;
    display: inline-block;
}

.fixed-200 {
    width: 200px;
    display: inline-block;
}

.fixed-250 {
    width: 250px;
    display: inline-block;
}

.fixed-300 {
    width: 300px;
    display: inline-block;
}

p.dropdown-text {
    padding: .25rem 1rem;
}

p.dropdown-text span.mt-2 {
    display:inline-block;
}

.table.paged-recordset-table > :not(caption) > * > * {
    padding: 0.25rem 0.1rem;
}

table.table.paged-recordset-table tr td {
    border-style: none;
}

table.table.paged-recordset-table tr.even-row {
    background-color: #eee;
}

table.table.paged-recordset-table tr.even-row td {
    color: #000;
}

table.table.paged-recordset-table tr.odd-row {
    background-color: #ddd;
}

table.table.paged-recordset-table tr.odd-row td {
    color: #000;
}

table.table.paged-recordset-table tr.escalated {
    background-color: #dc3545;
    color: #fff;
}

table.table.paged-recordset-table tr.sep-row td {
    border-style: solid;
}

/* Restore the Bootstrap default button class */
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    text-shadow: 0 1px 0 #fff;
    background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
    background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
    background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
    background-repeat: repeat-x;
    border-color: #dbdbdb;
    border-color: #ccc;
}

.btn-default:focus,
.btn-default.focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
    color: #333;
    background-color: #d4d4d4;
    border-color: #8c8c8c;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
    background-color: #fff;
    border-color: #ccc;
}

.btn-default .badge {
    color: #fff;
    background-color: #333;
}
    
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

i.okta-logo {
    background-image: url('../images/Okta_256.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    margin: -4px 0 0 0;
    display: inline-block;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
}

.indented {
    margin-left: 15px;
}

.page-view {
    display:none;
}

#status-message-area {
    display:block;
    opacity:0.9;
    margin:0 10px;
}

#status-message-area.fixed-message {
    display: block;
    position:fixed;
    top:74px;
    left:5px;
    right:5px;
    opacity: 0.9;
    width: calc(100% - 20px);
    z-index:99999;
    margin:unset;
}

#status-message-area.small {
    width:400px;
    max-width:400px;
    position:fixed;
    right:5px;
    top:74px;
    float:unset;
    left:unset;
    margin-right:0;
}

div.fixed:not([id=status-message-area]) {
    display: inline-block;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    z-index:9999;
}

div.fixed.full-width {
    width:100%;
}

.close-button {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

img.user-menu-icon {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50%;
}

img.user-icon {
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
}

img.user-icon-small {
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
}

img.paged-recordset-photo {
    max-width: 24px;
    max-height: 24px;
    border-radius: 50%;
}

img.user-icon-info {
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
}

/*Extra header Styles to Augment Bootstrap*/
.display-7 {
    font-size: calc(1.2rem + 1.3vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-7 {
        font-size: 2rem;
    }
}

.display-8 {
    font-size: calc(1.1rem + 1.2vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-8 {
        font-size: 1.5rem;
    }
}

.display-9 {
    font-size: calc(1.1rem + 1.1vw);
    font-weight: 300;
    line-height: 1.1;
}

@media (min-width: 1200px) {
    .display-9 {
        font-size: 1.25rem;
    }
}

.center {
    text-align:center;
}

.dropzone {
    border: solid 1px #888;
    border-radius: 5px;
    min-height: 100px;
}

.dropzone .dz-message {
    margin: 0;
    color:#000;
}

#view-profile .dropzone {
    min-height:200px;
}

div.keyword-search {
    display: inline-flex;
    padding-left: 10px;
    position: relative;
    vertical-align: middle;
}

div.keyword-search label {
    position:relative;
    top:5px;
    padding-right:5px;
}

a.nowrap,
button.nowrap {
    white-space: nowrap;
}

nav.navbar {
    z-index: 99999;
}

.menu-user-name {
    font-weight:bold;
    font-size:1.2em;
}

.menu-user-name,
.menu-user-title,
.menu-user-dept,
.menu-user-username,
.menu-user-email {
    display: block;
}

.menu-user-username,
.menu-user-email {
    font-size:0.8em;
}

.remove-bootstrap {
    all: unset;
}

select.missing-required,
select:focus.missing-required,
input.missing-required,
input:focus.missing-required {
    background-color: palevioletred;
    border-color: darkred;
    color: #fff;
}

.loading-badge {
    font-size: 1.5em;
    height: 38px;
    vertical-align: middle;
}

.element-id {
    font-size: 0.8em;
    opacity: 0.4;
}

.icon-text {
    padding-left: 0.1em;
}

figure {
	text-align: center;
	outline: solid 1px #ccc;
	background: rgba(0,0,0,0.05);
	padding: 10px;
	margin: 0 5px 0 0;
	display: inline-block;
}

figure > figcaption {
	text-align: center;
	display: block; /* For IE8 */
}

div.cf-edit-item {
    border: solid 1px #000 !important;
    border-radius: 5px !important;
    padding: 5px !important;
    background-color: #222 !important;
    color: #fff !important;
}

div.cf-edit-item label {
    color:#fff !important;
}

div.cf-edit-item .form-range {
    background-color:#222 !important;
}

div.files {
    clear:both;
}

div.item-file {
    text-align:left;
    width:160px !important;
    max-width:160px !important;
    min-height:180px;
    max-height:180px;
    padding:6px !important;
    background:#fff !important;
    border:solid 1px #ddd !important;
    -webkit-box-shadow: 0 3px 5px rgba(0,0,0, .7) !important;
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.7) !important;
    /*float:left;*/
    margin:0 0.3em 0.3em 0;
    font-size:.8em;
    line-height:1em;
    position:relative;
    display:inline-block;
    vertical-align:top;
}

div.item-file div.item-file-delete-button {
    display:inline-block;
    text-align:left;
    position:absolute;
    top:5px;
    right:5px;
    z-index:10;
}

div.item-file div.item-file-image {
    min-height:150px;
    max-height:150px;
    cursor:pointer;
}

div.item-file div.item-file-image img {
    max-height:150px;
    max-width:100%;
}

div.item-file div.item-file-label {
    max-height:50px;
    width:148px;
    max-width:148px;
    overflow:hidden;
    position:absolute;
    bottom:5px;
    color:#888;
}

div.item-file-label div.file-name {
    max-width: 95px;
    width: 95px;
    line-height: 1.2em;
    max-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    white-space: nowrap;
    float: left;
    text-align: left;
}

div.item-file-label div.file-size {
    max-width: 50px;
    width: 50px;
    display: inline-block;
    float: right;
    text-align: right;
}

button.show-on-hover {
    opacity:0.8;
}

button.show-on-hover:hover {
    opacity:1;
}

button.show-on-hover span {
    display:none;
}

button.show-on-hover:hover span {
    display:inline;
}

.header-note {
    font-size:0.8em;
    opacity:0.5;
}

.required-field-indicator {
    font-size:0.8em;
}

.missing-required option {
    background-color: #fff;
    color: #000;
}

.unbold {
    font-weight: normal;
}

div.block {
    display: inline-block;
}

div.left,
div.right {
    display: inline-block;
}

.ui-autocomplete {
    z-index: 9999999 !important;
}

input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000;
    opacity: 0.6; /* Firefox */
}

.missing-required::placeholder {
    color: #fff;
}

div.missing-required iframe {
    background-color: palevioletred;
}

.bold {
    font-weight: bold;
}

.sticky-menu-icon {
    position:fixed;
    top:72px;
    right:5px;
    font-size:1.2em;
    z-index:999999;
}

.sticky-menu-icon i.sticky {
    color:#000;
    opacity:0.4;
}

.sticky-menu-icon i.scrolling {
    color:#ccc;
    opacity:0.5;
}

.popover {
    max-width: 500px;
    z-index: 9999999;
}

.modal-dialog {
    margin-top: 100px;
    z-index: 999999;
}

#tsutilsModalDialog {
    z-index: 999999;
}

.width-one-percent {
    width: 1%;
}

.width-datetime {
    width: 1%;
    min-width: 160px;
}

a.app-admin-only span.icon-text,
a.app-admin-only i span.icon-text {
    font-style: italic;
    opacity: 0.9;
}

.login-button {
    width:100%;
}

.login-button span i {
    font-size:1.5em;
    position:relative;
    top:.12em;
    padding-right:.2em;
}

.form-control.datePicker,
.form-control.dateTimePicker {
    background-position: 3px 3px;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    padding-left: 36px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %231b6ec2; %7D .cls-2 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Cg id='Square'%3E%3Crect class='cls-1' width='500' height='500' rx='121.02' ry='121.02'/%3E%3C/g%3E%3Cg id='Calendar'%3E%3Cg%3E%3Cpath class='cls-2' d='M423.46,81.34h-98.29v-17.35c0-9.58-7.77-17.35-17.35-17.35s-17.35,7.77-17.35,17.35v17.35h-80.95v-17.35c0-9.58-7.77-17.35-17.35-17.35s-17.35,7.77-17.35,17.35v17.35H76.54c-9.58,0-17.35,7.77-17.35,17.35V410.91c0,9.58,7.77,17.35,17.35,17.35H423.46c9.58,0,17.35-7.77,17.35-17.35V98.68c0-9.58-7.77-17.35-17.35-17.35Zm-17.35,34.69v34.69H93.89v-34.69H406.11ZM93.89,393.56V185.41H406.11v208.15H93.89Z'/%3E%3Cpath class='cls-2' d='M255.1,285.42c4.4-5.69,6.8-13.62,6.8-23.01,0-20.18-11.94-31.76-32.75-31.76-27.36,0-34.59,19.39-34.59,29.64s7.35,12.3,11.73,12.3c6.85,0,11.45-4.6,11.45-11.45,0-5.49,3.63-8.15,11.11-8.15,6.86,0,10.13,1.68,10.13,11.25s-2.67,11.11-10.69,11.11c-5.96,0-10.46,4.74-10.46,11.03s4.46,10.89,10.61,10.89c11.53,0,13.09,5.98,13.09,11.82v2.68c0,10.23-3.75,14.21-13.37,14.21-12.33,0-12.95-7.26-12.95-8.71,0-5.02-3.07-10.89-11.73-10.89-7.19,0-11.31,4.33-11.31,11.88,0,14.64,12.66,30.2,36.13,30.2s36.42-13.72,36.42-36.69v-2.68c0-9.92-3.35-18.04-9.62-23.67Z'/%3E%3Cpath class='cls-2' d='M296.8,230.51c-5.43,0-8.09,3.57-9.09,4.91-.03,.05-.07,.09-.1,.14l-11.22,15.88c-1.93,2.07-3.73,5.52-3.73,8.72,0,6.08,4.76,11.03,10.61,11.03,.47,0,.93-.03,1.38-.1v65.93c0,6.05,4.99,10.61,11.6,10.61s11.59-4.66,11.59-10.61v-96.04c0-5.87-4.84-10.46-11.02-10.46Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.form-control.datePicker.fixed-width {
    width:132px;
}

.form-control.dateTimePicker.fixed-width {
    width:200px;
}

[data-cke-editorplaceholder]::before {
    position: absolute;
    opacity: .8;
    color: green;
    content: attr( data-cke-editorplaceholder );
}

.user-listing {
    margin: 0 .3em .3em 0;
}


.vote-table-body {
    display: block;
    max-height: 600px;
    overflow-y: scroll;
}

.vote-table-head, .vote-table-body tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
