/*
    control.css
    skin: SpringTime
    Styles for all the controls of the IW framework
    $Id: control.css,v 1.29 2024/03/11 13:11:33 aquaino Exp $
*/

/*
 * CSS for autocomplete LOOKUP control (copied from combo)
 */

/* Selected element of the list */
.autocomplete-selected {
    background-color: #9275b3;
    color: #ffa74f;
}

/* Aspect of the element list */
.autocomplete-suggestion {
    font: 12px Tahoma, Helvetica, sans-serif;
    height: 18px;
    line-height: 18px;
    margin  : 0;
    overflow: hidden;
    padding: 0;
    padding-left: 5px;
}

/* Properties of box */
.autocomplete-suggestions {
    background-color: #ffffd0;
    border: 1px outset #33528c;
    color: black;
    left: 0;
    margin: 0;
    overflow: auto;
    padding: 0;
}

/* Highlight the text */
.autocomplete-suggestions strong {
    font-weight: bold;
}

/*
 * CSS for CALCULATOR control
 */

/* background */
.calc {
    background-color: #f0d010;
    border: 2px #e0d020 outset;
    box-shadow: 1px 1px 5px black;
    padding: 6px 6px 6px 6px;
    -moz-box-shadow: 1px 1px 5px black;
    -webkit-box-shadow: 1px 1px 5px black;
}

/* display */
.calc .calculator-result {
    background-color: #ffffa0;
    border: 2px #e0d020 inset;
    color: #008000;
    font-size: 20px;
}

/* Buttons */
.calc .calculator-row button {
    background-color: #fd7c00;
    border: 1px #ed7c13 outset;
    color: #ffffff;
    font-weight: bold;
    height: 25px;
    text-align: center;
    width: 35px;
}

/* Buttons key down*/
.calc .calculator-row .calculator-key-down {
    background-color: #afd6ac;
    border: 1px #afd6ac outset;
    color: #000080;
    font-weight: bold;
    height: 25px;
    text-align: center;
    width: 35px;
}

/* On alt key legend*/
.calc .calculator-keystroke {
    color: #ff8018;
    border: 1px dotted #6f6f4a;
    background-color: #dfdf8a;
    font: bold 12px "MS sans serif", GillSans, Arial, Helvetica, sans-serif;
    padding: 4px;
}

/*
 * CSS for CLUETIP tootip control
 */

.cluetip-default,
.cluetip-default .cluetip-outer {
    color: #620062;
    background-color: #ffef9a;
}
.cluetip-default .ui-cluetip-header {
    color: #ffa764;
    background-color: #9275b3;
}

/*
 * CSS for COMBO control
 */

/* Text field input */
.combo input {
    border: 1px #aaaa40 solid;
    height: 14px;
    left: 0;
    margin: 0 0 0 0;
    padding: 1px 3px;
    top: 0;
    vertical-align: middle;
}

/* Trigger image */
.combo img {
    background: url('/grp/iw/img/skins/OrangeAndPurple/controls/combo/trigger.png') no-repeat 0 0;
    border: 0;
    height: 18px;
    top: 0;
    width: 19px;
}

/* Aspect of the element list */
.combo li {
    color: black;
    font: 12px Tahoma, Helvetica, sans-serif;
    height: 18px;
    line-height: 18px;
    margin: 0;
    padding: 0;
    padding-left: 5px;
}

/* Selected element of the list */
.combo li.active {
    background-color: #9275b3;
    color: #ffa74f;
}

/* Properties of list box */
div.combo  div {
    background-color: #ffffd0;
    border: 1px outset #33528c;
    left: 0;
    margin: 0;
    padding: 0;
}

/*
 * CSS for DATE control
 */

/* Main frame */
.datepick {
    border: 3px solid #4f0878;
    box-shadow: 1px 1px 5px black;
    font-family: Arial, Helvetica, sans-serif;
    -moz-box-shadow: 1px 1px 5px black;
    -webkit-box-shadow: 1px 1px 5px black;
}

/* Head and footer navigation */
.datepick-nav, .datepick-ctrl {
    background-color: #ed780e;
    float: left;
    font-size: 90%;
    font-weight: bold;
    width: 100%;
}

/* Link text */
.datepick a {
    color: #fff;
    text-decoration: none;
}

.datepick a.datepick-disabled {
    color: #888;
    cursor: auto;
}

/* Head and footer on over link */
.datepick-cmd:hover {
    background-color: #efdd81;
    color: #c3004e;
}
.datepick-ctrl .datepick-cmd:hover {
    background-color: #efdd81;
    color: #c3004e;
}

/* Calendar container */
.datepick-month {
    border: 1px solid #4f0878;
    float: left;
    text-align: center;
    width: 15em;
}

/* Month header */
.datepick-month-header, .datepick-month-header select, .datepick-month-header input {
    background-color: #abc3ff;
    color: #781ca8;
    font-size: 12px;
    font-weight: bold;
    height: 1.9em;
}

/* Dow header */
.datepick-month th, .datepick-month th a {
    background-color: #faae26;
    border: 1px solid #4f0878;
    color: #fff;
    font-size: 10px;
    font-style: italic;
}

/* Dow and Calendar division */
.datepick-month thead {
    border-bottom: 2px solid #9a4036;
}

/* Days grid */
.datepick-month td {
    background-color: #4f0878;
    border: 1px solid #4f0878;
}

/* Selectable days */
.datepick-month a {
    background-color: #ffffa0;
    color: #008;
    display: block;
    padding: 0.125em 0em;
    text-decoration: none;
    width: 100%;
}

/* Un-selectable days */
.datepick-month td span {
    color: #aaa;
    font-style: italic;
}
.datepick-month td .datepick-other-month {
    background-color: #ddd;
}

/* Week-end cells */
.datepick-month td .datepick-weekend {
    background-color: #ff6;
}

/* Selected day */
.datepick-month td .datepick-selected {
    background-color: #ffd797;
    color: #000087;
}

/* Today */
.datepick-month td .datepick-today {
    background-color: #e0d020;
}

/* Day highlight */
.datepick-month td .datepick-highlight {
    background-color: #fff;
    color: #f00;
}

/* Week column */
.datepick-month th.datepick-week {
    background-color: #4f0878;
    color: #fff;
    font-style: italic;
}

.datepick-month td.datepick-week * {
    background-color: #4f0878;
    border: none;
    color: #fff;
    font-size: 9px;
    font-style: italic;
    font-weight: bold;
}

/*
 * CSS for DIV message windows
 */
div.alert, div.error, div.info, div.warning {
    background-repeat: no-repeat;
    border-width: 2px;
    border-style: solid;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font: bold 14px "Courier New", Courier, monospace;
    margin: 0;
    padding: 16px 16px 16px 66px;
    /* text-indent: 36px; does not affect soft wrapped lines */
    position: absolute;
    visibility: hidden;
}

div.alert {
    background-color: #ede97f;
    background-image: url('/grp/img/ic/message/alert.png');
    border: #d0cb44;
    color: #858003;
}

div.error {
    background-image: url('/grp/img/ic/message/error.png');
}

/* Used for info messages */
div.info {
    background-image: url('/grp/img/ic/message/info.png');
    background-color: #9defa2;
    border-color: #38743c;
    color: #0d4110;
}

/* container of the warning message */
div.warning {
    background-image: url('/grp/img/ic/message/warning.png');
    border-radius: 5px;
}

/*
 * CSS for GROUPBOX control
 */

/* Group box square */
fieldset {
    background: #ffffba;
    border: 1px dotted;
    border-color: #ff8018;
    padding: 10px;
}

/* Legend style */
fieldset legend {
    color: #307f00;
    font: bold 13px Verdana, Arial, sans-serif;
    margin-left: 5px;
    margin-right: 10px;
}

/*
 * CSS for INPUT controls
 */

/* Input fields and Buttons */
input.password, input.text, textarea, select {
    background-color: #ffffd0;
    border: 1px #aaaa40 solid;
    color: #004000;
    font: 12px Tahoma, Helvetica, sans-serif;
    padding: 1px;
}

/* input fields with a wrong value */
input.error, textarea.error, select.error {
}

/* input fields with a success value */
input.info, textarea.info, select.info {
}

/* Style for input on focus event */
input.password:focus, input.text:focus, textarea:focus, select:focus {
    background-color: #f1f1ff;
    border: 1px #004000 solid;
    color: #000080;
}

/* input fields with a value that cause a warning */
input.warning, textarea.warning, select.warning {
}

/* Manage disabled button state */
input.button:disabled, input.submit:disabled, input.reset:disabled {
    cursor: not-allowed; 
}

/*
 * Select with autocomplete
 */
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    background-color: #ffffd0;
    border: 1px #aaaa40 solid;
    color: #004000;
}
.select2-container--default .select2-search--dropdown {
    background-color: #ecf4f5;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #ffffd0;
    border: 1px #aaaa40 solid;
    color: #004000;
}
.select2-search__field:focus {
    background-color: #f1f1ff !important;
    border: 1px #004000 solid;
}
.select2-container--default .select2-selection--single:focus, .select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: #f1f1ff !important;
    border: 1px #004000 solid;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000;
    font: 12px Tahoma, Helvetica, sans-serif;
    line-height: 19px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #000 transparent;
}
.select2-container--default li.select2-results__option {
    background-color: #ecf4f5;
    color: #000;
}
.select2-container--default .select2-results__option[aria-selected=true], option:checked, .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ccd4d5;
    border: 1px solid #ccc;
    color: #000;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb;
    color: white;
}
.select2-selection__clear, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
}
.select2-selection__clear:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #800;
}

/*
 * CSS for controls that have the RESIZE property
 */

/* Rules for the container table of the input field with the resizable feature enabled */
table.resizable {
    border: 1px solid transparent;
    border-spacing: 0;
    padding: 0;
}

table.resizable:hover {
    background: #f3f27f;
    border: 1px dotted #ffa74f;
}

table.resizable td {
    padding: 1px;
}

/* Only for controls with BR at the end */
table.resizable + script + br {
    display: none;
}

/*
 * CSS for PAGER control
 */

/* Cells colors */
.current {
    color: #000080;
    background-color: #ffff60;
    border-color: #400040;
    font: bold 9px Verdana, Arial, Helvetica, sans-serif;
}

.page {
    background-color: #ffd0d0;
    border-color: #400040;
}

.page_hover {
    background-color: #ff9090;
    border-color: #400040;
}

/* page numbers links */
.link  {
    color: #400040;
    font: normal 9px Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
}

a.link:link {
    color: #400040;
    font-weight: normal;
}

a.link:hover {
    color: #800080;
    font-weight: bold;
    text-decoration: none;
}

a.link:visited {
    color: #808080;
    font-weight: normal;
    text-decoration: none;
}

/*
 * CSS for POPUP windows
 */

/* Used for popup windows */
.popup {
    color: #ff0000;
    background-color: #8983ff;
    border-color: #4a4585;
    border-style: solid;
    border-width: 1px 2px 2px 1px;
    font: 8px "MS sans serif", "Bitstream Vera Sans", Arial, sans-serif;
}

/* Popup window items */
.popupItem {
    color: #c0ffff;
    font: bold 8px "MS sans serif", "Bitstream Vera Sans", Arial, sans-serif;
}

/* Popup window disabled items */
.popupItemDisabled {
    color: #606060;
    font: 8px "MS sans serif", "Bitstream Vera Sans", Arial, sans-serif;
}

/*
 * CSS for TABCONTROL control
 */

.tabcel {
    background-color: #f7d9fc;
}

.tablink {
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.tabsel {
    color: #fef6a8 !important;
    font: bold 13px Verdana, Arial, Helvetica, sans-serif;
}

a.tablink:link {
    color: #ae410a;
}

a.tablink:visited {
    color: #ce610a;
}

a.tablink:active {
    color: #ffff00;
}

a.tablink:hover {
    color: white;
    text-decoration: none;
}


/*added temp
 * CSS for TREEVIEW control
 */
.TreeViewNormal {
    color: #af0000;
    font: 12px Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.TreeViewSelected {
    background-color: #e7d8f1;
    border: 1px #ffa74f dotted;
    color: #800080;
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/*
 * CSS for BREADCRUMBS
 */
.breadcrumb {
    padding-left: 5px;
    list-style: none;
    margin: 4px;
    height: 15px;
}

.breadcrumb > li {
    display: inline-block;
    color: rgb(128, 0, 0);
    font-weight: bold;
}

.breadcrumb > li + li:before {
    content: "\027E9"; /*http://dev.w3.org/html5/html-author/charref */
    padding: 0 5px;
}

.breadcrumb > .active {
}

.breadcrumb a {
    font: inherit;
}

/*
 * Ckeckbox Styles
 */
 .checkbox-round input[type="checkbox"]:checked + label + div {
    background: #C4A6E1 none repeat scroll 0 0;
}
