body {
    --oci-header-background-color: #24465c;
    /* for sticky header, need a non transparent background */
    --oci-header-foreground-color: #fff;
    --oci-main-background-color: #4499f6;
    --oci-main-foreground-color: #fff;
    --oci-footer-background-color: transparent;
    --oci-footer-foreground-color: #fff;
    --oci-grid-background-color: #46464666;
    --oci-grid-foreground-color: #fff;
    --oci-grid-selected-background-color: #0095d3dd;
    --oci-grid-selected-foreground-color: --oci-main-foreground-color;
    --oci-grid-detail-background-color: #333333aa;
    --oci-grid-detail-foreground-color: --oci-main-foreground-color;
    --oci-submit-button-color: #0f1b2b;
    --oci-submit-button-background-color: #f3f3f2;
    --oci-control-background-color: #fff;
    --oci-control-disabled-background-color: #fffb;
    --oci-control-color: #1a5473;
    --oci-button-color: #0f1b2b;
    --oci-button-background-color: #f3f3f2;
    --oci-button-danger-color: #f3f3f2;
    --oci-button-danger-background-color: #843534;
    --oci-button-success-color: #f3f3f2;
    --oci-button-success-background-color: #3c763d;
    --oci-color-orange: #faa957;
    --oci-link-color: #faa957;
    --oci-link-background-color: #22448866;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-position-x: center;
    background-position-y: center;
    background-image: url(/background.jpg);
    background-color: var(--oci-main-background-color);
    background-attachment: fixed;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: normal;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
}

/*

effort to limit MA max width to 1000px approx to suit smaller devices

html {
    height: 100%;
    width: 100%;
    background-color: #2229;
    display: block;
}
body {
    height: -webkit-fill-available;
    font-size: 12pt;
    font-family: 'Calibri';
    max-width: 1200px;
    justify-self: center;
    min-height: min-content;
    z-index: 0;
    box-shadow: 4px 4px 8px #2229;
}
*/
header {
    background-color: var(--oci-header-background-color);
    box-shadow: 0px 1px 0px 0px #2229;
    max-width: 100%;
    position: sticky;
    top: 0px;
    z-index: 10;
    max-height: clamp(55px, 8vw, 80px);
}

form {
    /* height: -webkit-fill-available; */
}

select option:checked {
    background-color: var(--oci-grid-selected-background-color);
}

.form-control[disabled] {
    cursor: not-allowed;
    background-color: var(--oci-control-disabled-background-color);
}

div.message.success {
    border-radius: 10px;
    box-shadow: 2px 2px 4px #2229;
    background-color: var(--oci-grid-background-color);
    border: none;
    color: var(--oci-grid-foreground-color);
    text-shadow: 1px 1px 0 #2229;
}

.message span {
    color: unset !important;
}

.child-navigation.content-panel.panel.panel-default {
    display: none;
}

.oci.placeFinder {
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.42857;
    color: var(--oci-control-color);
    background-color: var(--oci-control-background-color);
    border-radius: 10px;
    box-shadow: 1px 1px 4px 0px #444a;
}

.oci.placeFinder input {
    font-size: 15px;
    color: var(--oci-control-color);
    width: 100%;
    min-width: 290px;
    max-width: 100%;
    /*clamp(290px, 40vw, 450px);*/
    line-height: 1.42857;
    height: inherit !important;
    border-width: 0px !important;
    padding: 0px !important;
    font-weight: 500;
}

.oci {
    font-size: 15px;
}

.oci.row {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    margin: 0;
    margin-bottom: 1vh;
    min-height: 10px;
    flex-wrap: wrap;
}

.oci.row.left {
    justify-content: left;
}

.oci.flex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

input.oci {
    border-radius: 10px;
    box-shadow: 1px 1px 4px 0px #444a;
    padding: 6px 12px;
    font-size: 15px;
    /* color: var(--oci-control-color);
    background-color: var(--oci-grid-background-color); */
    width: 100%;
    min-width: 290px;
    max-width: clamp(290px, 40vw, 450px);
}

input.oci.error {
    border: 2px solid red;
    /* Highlight input field with red border */
}

.alert-warning {
    background-color: var(--oci-footer-background-color);
    color: var(--oci-footer-foreground-color);
    box-shadow: 2px 2px 4px #2229;
    border-radius: 10px;
    text-shadow: 2px 2px #2229;
}

input.form-control {}

button.oci.detail {}

button.oci.detail span {
    padding-left: 22px;
    padding-right: 0px;
}

.dropdown-backdrop {
    /* background-color: var(--oci-grid-background-color); */
}

button.oci.fieldset {
    width: 300px !important;
}

button.oci.success {
    background-color: var(--oci-button-success-background-color);
    color: var(--oci-button-success-color);
}

button.oci.danger {
    background-color: var(--oci-button-danger-background-color);
    color: var(--oci-button-danger-color);
}

button.oci {
    width: 170px !important;
    background-color: var(--oci-button-background-color);
    color: var(--oci-button-color);
    border: 1px solid var(--oci-button-background-color);
    padding: 6px 12px;
    margin: 2px;
    white-space: nowrap;
    border-radius: 10px;
    min-height: 42px;
    text-shadow: 1px 1px #8885;
    font-weight: bold;
    box-shadow: 2px 2px 4px #2229;
    min-height: 42px;
    text-overflow: ellipsis;
    overflow: hidden;
}

button.ociRHS {
    padding: 6px;
    width: 40px !important;
}

.oci.oci-red {
    color: #843534;
}

.oci.oci-red:hover {
    background-color: #843534;
    color: #fff;
}

button.ociRHS.oci svg {
    filter: drop-shadow(0px 2px 1px #2229);
    display: flex;
    position: unset;
}

button.oci svg {
    position: absolute;
    display: flex;
    width: 18px;
    height: 18px;
}

.recapcha {
    min-height: 78px;
    height: 78px;
    min-width: 304px;
    width: 304px;
    scale: 75%;
}

.fixed-table-body {
    border-radius: 10px;
    box-shadow: 2px 2px 4px #2229;
    margin-bottom: 5px;
}

.oci-grid-detail-table {
    width: 100%;
}

.oci-grid-detail-body {
    width: 100%;
}

.oci-grid-detail-row {
    width: 100%;
}

.oci-grid-detail-left {
    font-weight: lighter;
}

.oci-grid-detail-right {
    font-weight: bold;
}

.grid-row-clamp-50-500 {
    line-height: 1;
    max-width: clamp(50px, 50vw, 500px);
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: auto;
}

.grid-row-clamp-50-300 {
    line-height: 1;
    max-width: clamp(50px, 30vw, 300px);
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: auto;
}

.grid-row-clamp-50-150 {
    line-height: 1;
    max-width: clamp(50px, 15vw, 150px);
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    background-color: #2196F3;
    padding: 10px;
}

.oci-row-menu-button {
    min-width: unset;
    background-color: transparent;
    border: none;
    color: white;
    font-weight: bolder;
}

.oci-grid-row-menu-li {
    /* position: fixed; */
    background-color: #4449;
    margin: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 4px #4449;
    border: 1px solid;
    left: 25%;
    right: 13%;
    z-index: 10000000000000000 !important;
}

.grid-container>div {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
}

#oci_grid_base {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvas-container {
    display: flex !important;
    padding: 5px;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
}

#ociGrid_Table {
    position: relative;
    display: table;
    width: 100%;
    font-size: medium;
    background-color: var(--oci-grid-background-color);
    text-align: left;
}

.modal-table-column-hidden {
    display: none;
    visibility: hidden;
}

tr {
    line-height: 25px;
    /* max-height: 25px;
    height: 25px; */
}

.pull-right {
    display: inline-flex;
    align-items: flex-end;
    justify-content: right;
    float: right;
}

.pagination-detail {
    float: left;
}

.pagination {
    float: right;
}

.search {
    width: 250px;
}

.table>thead>tr>th,
.table>thead>tr>td,
.table>tbody>tr>th,
.table>tbody>tr>td,
.table>tfoot>tr>th,
.table>tfoot>tr>td {
    padding: 8px;
    line-height: 1.42857;
    vertical-align: top;
    border: none;
}

.oci-grid-row-selected {
    background-color: var(--oci-grid-selected-background-color) !important;
    color: var(--oci-grid-selected-foreground-color);
}

.oci-grid-menu {
    display: flex;
    float: right;
}

button.oci-grid-menu-button {
    max-width: 150px;
    min-width: 100px;
}

.bootstrap-table {
    max-width: 98%;
    min-width: 90%;
}

.fixed-table-toolbar {
    min-height: 50px;
}

.fixed-table-container tbody td .th-inner,
.fixed-table-container thead th .th-inner {
    white-space: unset !important;
}

.item1 {
    grid-column-start: 1;
    grid-column-end: 3;
}

@media screen and (max-height: 800px) {}

@media (min-width: 768px) {
    /* .container {
        max-width: 720px;
    }

    nav#oci_navbar.row {
        display: grid !important;
    } */
}

@media (min-width: 992px) {
    /* .container {
        max-width: 960px;
    } */
}

@media (min-width: 1200px) {
    /* .container {
        max-width: 1140px;
    } */
}

nav#oci_navbar.row {
    display: grid-inline;
}

html {
    height: 100%;
    width: 100%;
}

.oci-header-logo {
    display: none;
    padding-bottom: clamp(.2vw, .8vw, 8px);
    max-height: clamp(50px, 8vw, 80px);
}

/* header div .component-content {
    color: #eeeff3 !important;
}

header div .component-content p {
    color: #eeeff3 !important;
}

header div .component-content div {
    color: #151616 !important;
} */

.page-header {
    padding-bottom: 9.5px;
    margin: 42px 0 21px;
    border-bottom: 1px solid #eee;
    display: none;
}

footer {
    background-color: var(--oci-footer-background-color);
    border-top: none;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    max-height: 150px !important;
    margin-top: auto !important;
    /* z-index: -1; */
    z-index: 0;
    padding-bottom: 8px;
}

footer div .component-content {
    color: #eeeff3 !important;
}

footer div .component-content p {
    color: #eeeff3 !important;
}

footer div .component-content div {
    color: #eeeff3 !important;
}

pre {
    display: none;
}

/*
pre {
    display: none;
    padding: 2%;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 0px solid #fff0;
    border-radius: 4px;
    z-index: 5000 !important;
}
*/

.clear {
    clear: both;
}

p {
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: normal;
    font-size: 15px;
    color: #fff;
}

.section-title {
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: normal;
    font-size: 15px;
    color: #fff;
}

.breadcrumb {
    display: none;
    visibility: hidden !important;
}

.oci-hamburger-slice {
    width: 100%;
    height: clamp(1px, 0.5vw, 4px);
    background-color: var(--oci-button-background-color);
    margin: .5vw 0;
    border-radius: .2vw;
    min-width: clamp(5px, 3vw, 50px);
}

h1 {
    font-size: clamp(10px, 6.25vw, 24px);
    font-weight: bold;
    color: var(--oci-main-foreground-color);
    background-color: transparent;
    text-shadow: 2px 2px #222a;
    text-align: center;
    padding-bottom: 5px;
}


h3 {
    font-size: clamp(10px, 5.25vw, 16px);
    color: var(--oci-main-foreground-color);
    background-color: transparent;
    text-shadow: 2px 2px #222a;
    text-align: center;
    padding-bottom: 5px;
}

.crmEntityFormView .actions {
    border-top: none;
    margin: 20px 0;
    padding: 19px 0 0 0;
}

.crmEntityFormView .tab-title,
.tab-title {
    -ms-text-rendering: optimizelegibility;
    text-rendering: optimizelegibility;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: normal;
    font-size: large;
    color: var(--oci-main-foreground-color);
    border-bottom: none;
}

.crmEntityFormView td.cell {
    margin-bottom: 0px;
    vertical-align: bottom;
}

.crmEntityFormView .form-control.readonly,
.crmEntityFormView .form-control[readonly][disabled],
.form-readonly .form-control {
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    color: #fff;
    position: relative;
    text-shadow: 1px 1px #2229;
}

.crmEntityFormView fieldset {
    margin: 0;
    margin-bottom: 20px;
    padding: 5px;
    padding-bottom: 12px;
    border: 0 none;
}

fieldset h3 {
    color: var(--oci-grid-foreground-color);
    font-weight: normal;
    font-size: 15px;
    text-shadow: 2px 2px #2229;
    text-align: center;
    padding-bottom: 5px;
}

fieldset h2 {
    color: var(--oci-grid-foreground-color);
    font-weight: bold;
    font-size: clamp(10px, 4.25vw, 16px);
    text-shadow: 2px 2px #222a;
    text-align: center;
    padding-bottom: 5px;
}

.oci-section {
    margin-top: 12px;
}

fieldset {
    background-color: var(--oci-grid-background-color);
    border-radius: 12px;
    box-shadow: 2px 2px 4px #2229;
    /* padding-bottom: 5px; */
    padding: 8px;
    padding-bottom: 12px;
}

fieldset>legend {
    display: contents;
}

fieldset>table>tbody>tr>td>.info {
    padding-bottom: 0px;
    padding-top: 10px;
    padding-left: 12px;
    display: flex;
    text-align: left;
}

fieldset>table>tbody>tr>td>.info>label.field-label {
    /* display: none; */
    /* transform: scale(.80); */
    /* position: sticky; */
    padding-bottom: 0px;
    margin: 0px;
    top: 2px;
    font-weight: normal;
    text-shadow: 2px 2px #2229;
    left: 0px;
    font-size: 15px;
}

.table-responsive {
    overflow-x: auto;
    min-height: .01%;
    width: 100%;
    border: none;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
    height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext {
    padding: 1rem .75rem;
}

.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    color: rgba(var(--bs-body-color-rgb), .65);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.form-floating>label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    padding: 1rem .75rem;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: var(--bs-border-width) solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

table {
    border-collapse: collapse;
    border-spacing: 0.5px;
}

.table-hover>tbody>tr:hover {
    background-color: transparent;
    color: var(--oci-main-foreground-color);
}

label {
    color: var(--oci-main-foreground-color);
    font-weight: bold;
    margin-bottom: 5px;
    max-width: 100%;
}

.oci-label {
    color: var(--oci-main-foreground-color);
    font-weight: bold;
    font-size: larger;
    padding: .2vw .6vw .3vh;
    margin-bottom: 5px;
    max-width: 100%;
}

.oci-field {
    color: var(--oci-main-foreground-color);
    padding: .2vw .6vw .3vh;
    font-weight: 100;
    max-width: 100%;
}

/* Next and Submit Button Hover */
.btn-primary:hover,
.btn-default:hover,
.create-related-record-link.btn-default.btn:hover {
    color: #fff;
    background-color: #0095d3;
    font-weight: bold;
}

/* Next and Submit Button */
input[type=button],
input[type=reset],
input[type=submit],
button.btn.dropdown-toggle {
    background-color: var(--oci-submit-button-background-color);
    color: var(--oci-submit-button-color);
    border-radius: 10px;
    bottom: 0;
    box-shadow: 2px 2px 4px #2229;
    cursor: pointer;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: bold;
    font-size: 15px;
    /* height: 45px; */
    width: 150px;
    margin: 1%;
    transition-duration: .3s;
    border-color: var(--oci-button-color);
}

/* Add Items Button */
button.create-related-record-link.btn-default.btn {
    background-color: #faa957;
    border-radius: 1px;
    bottom: 0;
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
    color: #fff;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: bold;
    height: 45px;
    width: 150px;
    margin: 0%;
    border: none;
}

.form-action-container-left {
    background-color: #fff0;
    height: 45px;
    width: auto;
    margin: 1%;
    transition-duration: .3s;
}

/* SVG Icons */
svg.bi {
    font-weight: bold;
}


.list-group {
    background-color: #fff0;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: normal;
}

.list-group-item {
    background-color: #fff0;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: normal;
}

.list-group-item-heading {
    margin-top: 0;
    margin-bottom: 5px;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: normal;
}

div.progress-numeric {
    margin: 0px 0 20px 0;
    padding: 10px;
    background: #1a5473;
    border: solid 0px #f0f0f0;
    border-radius: 0px 0px 0px 0px;
    font-weight: bold;
}

div.progress-numeric span.number {
    background-color: #faa957;
    border-radius: 20px 20px 20px 20px;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
    width: 30px;
}

div.progress-numeric span.number.total {
    background-color: #faa957;
    border-radius: 20px 20px 20px 20px;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
    width: 30px;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    color: #fff;
}

/* unvisited link */
a,
a:link {
    color: var(--oci-link-color);
    text-decoration: underline;
    background-color: var(--oci-link-background-color);
    border-radius: 10px;
    padding: 2px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 0px;
}

/* mouse over link */
a:hover,
a:focus {
    color: var(--oci-link-color);
    font-weight: bold;
}

/* selected link */
a:active,
a:focus {
    color: var(--oci-link-color);
    font-weight: bold;
}

input,
textarea {
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    color: #24465c;
    margin: 0;
}

.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: "Century Gothic", "CenturyGothic", "Helvetica Neue", "Helvetica", "sans-serif";
    font-weight: bold;
    margin: 0;
    min-height: unset;
    max-height: min-content !important;
    min-width: 100vw;
}

.container>.navbar-header,
.container>.navbar-collapse,
.container-fluid>.navbar-header,
.container-fluid>.navbar-collapse {
    margin-right: 15px;
    margin-left: 15px;
}

.navbar-inverse {
    background-color: #fff0;
    border-color: #fff0;
}

.navbar-inverse .navbar-nav>li>a {
    color: #fff;
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: #fff;
}

.navbar-brand {
    float: left;
    padding: 20px 5px;
    font-size: 20px;
    line-height: 20px;
    height: 150px;
    vertical-align: middle;
}

.navbar-nav>li>.dropdown-menu {
    text-decoration: none;
    color: #fff;
    background-color: #24465c;
    margin-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {}

.bootstrap-datetimepicker-widget a[data-action] {
    color: unset;
    background-color: unset;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
    text-align: center;
    border-radius: 4px;
    color: #24465c;
}

.bootstrap-datetimepicker-widget table td.today {
    position: relative;
    background-color: var(--oci-button-background-color);
    color: var(--oci-button-color);
}

.form-control {
    border-radius: 10px;
    box-shadow: 1px 1px 4px 0px #444a;
}

.detail-view {
    background-color: var(--oci-grid-detail-background-color) !important;
    color: var(--oci-grid-detail-foreground-color) !important;
}

.oci-nav-btn {
    width: 170px !important;
    background-color: var(--oci-button-background-color);
    color: var(--oci-button-color);
    border: 1px solid var(--oci-button-background-color);
    padding: 6px 12px;
    margin: 2px;
    white-space: nowrap;
    border-radius: 10px;
    min-height: 42px;
}

.oci-nav-btn svg {
    position: absolute;
    left: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

.navbar-toggle {
    position: relative;
    float: right;
    margin-right: 15px;
    padding: 9px 10px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;
    display: none;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


/* Power Virtual Agent styles */
.pva-floating-style {
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin-right: 16px;
    margin-bottom: 18px;
    z-index: 9999;
}

/* Power Virtual Agent styles ends */