html,
body {
    height: 100%;
    /* font-size: 14px; */
}

/* force full height always */
.main-content {
    min-height: 98%;
    height: auto;
    margin: 0 auto -20px;
    padding: 10px 10px 20px 10px; /* was 0px 0px 10px */
}

/* .wrap > .container {
    padding: 10px 0px 20px;
} */

.breadcrumb {
    /* width: 100%; */
    background-color: transparent;
    margin-top: 3px;
    margin-bottom: 3px;

    padding-left: 0px;
    padding-right: 0px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.breadcrumb-right .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #868e96;
    content: none;
  }

.section-title {
    font-size: x-large;
    font-weight: 200;
    color: navy;
}

.help-text {
    font-size: small;
    color: darkgray;
}

.footer {
    height: 40px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 5px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    /* font-family: 'Glyphicons Halflings'; */
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    /*content: "\e113" "\e151"; */
    content: "\2193";
}

a.desc:after {
    /* content: "\e114" "\e152"; */
    content: "\2191";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.navbar {
    font-size: 14px;
    /* font-weight: bolder; */
    padding: 5px 3px;
    border-radius: 0.3rem;
}

.navbar-row {
    margin-bottom: 10px;
}

nav.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1.0);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

div.form-group {
    margin-bottom: 8px; /* half of Bootstrap standard */
}
.form-group > button {
    margin-right: 4px; /* spacing in "more ops" section */
}
.form-group > label {
    margin-right: 4px;
    margin-bottom: 2px;
}
.form-inline .form-group {
    margin-right: 10px;
}

/* labels for data */
.form-group > label,
.data-label,
.data-table > thead > tr > th
{ /* labels in grids, forms, free text */
    color: darkolivegreen;
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
    font-weight: normal;
}

/* actual text/values for data */
.data-text,
.data-table > tbody > tr > td,
input.form-control, /* don't do everything, as buttons should retain Bootstrap color */
select.form-control
{ /* data retrieved from system, inside or outside grid */
    color: #721c24;
    font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
}

/*----- Local Additions -----*/

h3 { /* used as headings */
    color: #68a;
    font-weight:normal;
}

.attribute-name-null {
    color: #ccc;
}

/* .attribute-value, */



.picker-column {
    text-align: center;
}
.guid {
    color:#3e48ff;
}
.guid-linkable {
    color: #b05d6c;
    text-decoration: underline;
}

.popover{
    max-width: 80%; /* Max Width of the popover (depending on the container!) */
}
.popover-title {
    background-color: #bbb;
}
.popover-content {
    background-color: #eee;
}

.data-table {
    /* border: 1px dotted grey; */
    width: 100%;

}
.data-table > thead > tr > th,  .data-table > tbody > tr > td {
    border: 1px dotted grey;
    padding: 2px;
}

.list-view > div {
    margin-top: 3px;
    margin-bottom: 3px;
}

.more-ops-section {
    margin-top: 5px;
    margin-bottom: 5px;
    /* border-bottom: 1px dotted #aaa; */
}

/* Make default Bootstrap Modal dialog wider */
.modal > .modal-lg {
    max-width: 1160px;
}

/* Make alert message full width */
.row > .alert {
    width: 100%;
    margin-top: 10px;
}

/* We limit how wide the GridView search box is */
.filters > td > input.form-control {
    width: 120px;
}

/* We use this to limit the width of Grid columns, actually the width is wide so be careful... */
/* Ref: https://stackoverflow.com/questions/11434091/add-if-string-is-too-long-php */
.grid-view  tr td span.attribute-value {
    display: block; /* needed for the below to take effect */
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-view .table th,
.grid-view .table td,
.table-view .table th,
.table-view .table td 
{
  padding: 0.25rem; /* reduce Bootstrap Cosmos padding */
}


/* "table view" (as opposed to "grid view") goes here...
.table-view tr td {

}
*/

/* Make the form placeholder color a bit lighter */
.form-control::-webkit-input-placeholder {color: #bcd;opacity: 1;}
.form-control::-moz-placeholder {color: #bcd;opacity: 1;}
.form-control:-ms-input-placeholder {color: #bcd;opacity: 1;}
.form-control::-ms-input-placeholder {color: #bcd;opacity: 1;}
.form-control::placeholder {color: #bcd;opacity: 1;}

/* Make the GUID label a bit darker too */
.form-group .picker-key {color: #ddd;}

div.page-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.pay-box {
    margin-top: 15px;
}
.pay-box .btn {
    width: 80%;
}

.tips {
    color: #68a;
}

.container .row.section-start {
    padding-top: 2rem;
}

/*----- Customizing JUI Tabs -----*/
.ui-widget-header {
    background: none;
}

.ui-state-default a, .ui-state-default a:link {
    color: #68a;
}

 /* inspected from Boostrap Cosmos body */
 /*
.ui-widget {
    font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
    font-size: 1rem;
}
*/

.tabs-for-detail.ui-tabs .ui-tabs-panel {
    padding: 0.5em 0.1em;
}