/********
* Fonts *
*********/
body {
    margin: 0;
    padding: 0;
}

*,
body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
}

sup {
    vertical-align: super;
    font-size: 10px;
}

.rgl-default-font {
    font-size: 12px !important;
}

input::-ms-clear {
    display: none;
}

div#rgl-page-footer,
div#rgl-page-footer *,
.rgl-prompt,
.rgl-table > thead *,
.rgl-table .rgl-table-head *,
.rgl-widget-header.rgl-secondary *,
li.rgl-header-menu-spacer-with-text,
div.rgl-page-results-count,
.ui-autocomplete.ui-menu,
.ui-autocomplete.ui-menu *,
*.rgl-small,
.rgl-small *,
.rgl-small {
    font-size: 9px;
}

*.rgl-big,
.rgl-big * {
    font-size: 14px;
}

/* Help texts (e.g. below a Setting's label): cap the line length at a readable
   measure instead of letting a paragraph span the whole screen width. */
.rgl-help-text {
    max-width: 120ch;
}

.rgl-font-red {
    color: #ff0000;
}

.rgl-font-orange {
    color: rgba(235, 139, 30, 0.8);
}

.rgl-font-green {
    color: rgba(0, 112, 52, 0.8);
}

.rgl-font-blue {
    color: rgba(90, 104, 255, 0.8);
}

.rgl-text-right {
    text-align: right;
}

/*********************
* Misc Global Styles *
**********************/
body {
    background-color: #f3f3f3;
    color: black;
}

form {
    display: inline;
}

button,
input,
select,
textarea {
    border: 1px solid #999999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    vertical-align: top;
    margin: 0;
    padding: 0.083em 0.25em;
    min-height: 16px;
    *min-height: 0;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #3388cc;
    box-shadow: 0 0 4px #38c inset;
    outline-width: 0;
}

input:focus[readonly],
select:focus[readonly],
textarea:focus[readonly] {
    box-shadow: none;
    border-color: inherit;
}

textarea {
    resize: vertical;
}

input[type=text],
input[type=password] {
    height: 1.667em;
    *height: 1.333em;
}

button,
select {
    height: 1.667em;
}

.rgl-small select,
select.rgl-small {
    padding: 0;
    height: 1.777em;
}

select[multiple],
select[multiple].rgl-small {
    height: auto;
}

label,
input[type="radio"],
input[type="checkbox"] {
    border: none;
    margin-right: .4em;
}

img {
    border: none;
}

.rgl-read-only {
    background-color: transparent !important;
    border-color: transparent !important;
    padding-top: 0;
}

select.rgl-read-only {
    -webkit-appearance: none;
}

textarea.rgl-read-only {
    border-color: #d3d3d3 !important;
}

.rgl-address .rgl-read-only {
    background-color: white;
    margin-top: 0;
    border-color: #d3d3d3 !important;
}

.rgl-line-column {
    min-width: 50px;
}

a:visited {
    color: #0000ff;
    text-decoration: none;
}

a:link, .link-imitation {
    color: #0000ff;
    text-decoration: none;
    cursor: pointer;
}

a:hover, .link-imitation:hover {
    color: #0000ff;
    text-decoration: underline;
}

table {
    empty-cells: show;
}

table td,
table th {
    padding: 2px 4px;
    color: #000000;
}

tbody > tr > td {
    vertical-align: top;
}

.rgl-sample-html {
    display: none;
}

.rgl-zero-padding {
    padding: 0;
}

/*********
* States *
**********/

[disabled],
.rgl-state-disabled {
    cursor: not-allowed !important;
    opacity: .8;
    filter: Alpha(Opacity=80);
    background-image: none;
    background: #f5f5f5;
}

.rgl-state-active {
    background-color: #ffffff;
    color: #000000;
}

.rgl-state-notice,
.rgl-state-error {
    text-align: left;
}

.rgl-state-notice.rgl-small,
.rgl-state-error.rgl-small {
    font-weight: bold;
}

.rgl-small.rgl-state-notice,
.rgl-small.rgl-state-error {
    font-weight: bold;
}

.rgl-state-notice {
    color: #FF8C00;
}

.rgl-state-highlight-notice {
    background-color: #FF8C00;
    color: #000000;
}

.rgl-state-error {
    color: #FF0000;
}

.rgl-comment-counter {
    font-size: 0.85em;
    color: #0000FF; /* blue while the comment is still under the limit */
}

.rgl-comment-counter.rgl-comment-counter-limit {
    color: #FF0000; /* red once the character limit is reached */
    font-weight: bold;
}

.rgl-highlight {
    background-color: #fdd017;
    color: #000000;
}

.rgl-emphasize { /* like highlight */
    background-color: #ffff7a;
}

.rgl-highlight-so-contract {
    background-color: #ace6ff;
}

.rgl-highlight-so-contract-without-release-nr {
    background-color: #cba8ff;
}

.rgl-highlight-danger {
    background-color: #ff0000;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    padding: 0.1rem;
}

/* Dates / Ranges */
.rgl-increased, .rgl-not-in-range {
    color: #660000;
}

.rgl-decreased, .rgl-in-range {
    color: #069C00;
}

/***********
* Messages *
************/
div#rgl-status-message,
div#rgl-warning-message,
div#rgl-error-message,
div#rgl-information-message {
    display: none;
    position: fixed;
    padding: 10px 15px;
    margin: 20px;
    z-index: 2000;
    border-width: 6px;
    max-width: 900px;
    max-height: 450px;
    overflow: auto;

    border-style: solid;
    border-radius: 6px;
    box-shadow: 0 0 20px #666666; /* severely slows down IE */
}

div#rgl-status-message > span,
div#rgl-warning-message > span,
div#rgl-error-message > span,
div#rgl-information-message > span {
    display: inline-block;
    max-width: 850px;
}

div#rgl-status-message {
    border-color: #00ff00;
}

div#rgl-warning-message {
    border-color: #ffff00;
}

div#rgl-error-message {
    border-color: #ff0000;
}

div#rgl-error-message {
    display: none;
}

iframe {
    border: solid;
    width: 75em;
    height: 33em;
}

/* Document Imaging */
.rgl-document-imaging iframe {
    width: 75em;
    height: 33em;
}

.rgl-document-imaging table {
    margin-top: 5px;
    min-width: 40em;
}

/* Tri-state Checkbox */
.rgl-tristate-checkbox a.rgl-tristate-checkbox-link {
    background: url("images/ui-icons_000000_256x240.png") no-repeat scroll 0 0 #ffffff;
    background-position: -240px -146px;
    border: 1px solid black;
    display: inline-block;
    height: 11px;
    width: 11px;
    margin: 1px .4em 0 .4em;
    overflow: hidden;
    text-decoration: none;
}

.rgl-tristate-checkbox a.rgl-tristate-checkbox-link.rgl-tristate-checkbox-checked {
    background-position: -66px -147px;
}

.rgl-tristate-checkbox a.rgl-tristate-checkbox-link.rgl-tristate-checkbox-partial {
    background-position: -82px -147px;
}

.rgl-tristate-checkbox input[type=checkbox] {
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
}

/* Split pages */
.splitpage-container .splitpage-left-page {
    overflow-y: scroll;
    position: relative;
    float: left;
    min-height: 300px;
    margin: 0 25px 0 0;
    border: 3px solid #3c3c3c;
    text-align: left;
}

.splitpage-container .splitpage-right-page {
    float: left;
    margin: 20px 0;
}

/* Graphs */
.rgl-graph-tooltip {
    font-size: 12px;
    position: absolute;
    display: none;
    border: 2px solid;
    padding: 2px;
    background-color: #FFF;
    opacity: 0.8;
    border-radius: 5px;
    text-align: center;
}

.rgl-batch-table-div {
    height: 500px;
    overflow: auto;
}

.rgl-space-evenly {
    display: flex;
    justify-content: space-evenly;
}

.rgl-space-evenly div {
    padding-right: 0.3em;
    padding-left: 0.3em;
}

.stripeLabel {
    color: #30313d;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: lighter;
    padding-top: 6px;
}

.stripeField {
    font-family: sans-serif;
    font-size: 16px;
    color: #30313d;
    height: 30px !important;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 6px rgba(0, 0, 0, 0.02);
}

/* If today < ESD, highlight pastel orange (NEW: Gray, because its in the future!)*/
.otd-due-in-future {
    background-color: rgba(141, 141, 141, 0.75);
    border-radius: 3px;
    padding: 0.1rem;
}

/* If ESD <= today < LSD, highlight pastel green */
.otd-on-time {
    background-color: #80ef80;
    font-weight: bold;
    border-radius: 3px;
    padding: 0.1rem;
}

/* If today = LSD, highlight pastel yellow */
.otd-due-now {
    background-color: #FDFD96;
    font-weight: bold;
    border-radius: 3px;
    padding: 0.1rem;
}

/* If LSD < today, highlight pastel red */
.otd-overdue {
    background-color: #FF746C;
    font-weight: bold;
    border-radius: 3px;
    padding: 0.1rem;
}

.hold-override {
    padding-top: 0.5em;
    color: green;
}

.sticky-table-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #b3c3f3;
}