/*
    control.css
    skin: FlatAndClean
    Styles for all the controls of the IW framework
    $Id: control.css,v 1.18 2024/03/11 13:11:26 aquaino Exp $
*/

/*
 * CSS for autocomplete LOOKUP control (copied from combo)
 */

/* Selected element of the list */
.autocomplete-selected {
    background-color: #fbbb01;
    color: #00463e;
}

/* Aspect of the element list */
.autocomplete-suggestion {
    font: bold 12px Arial, Helvetica, sans-serif;
    height: 16px;
    line-height: 16px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    padding-left: 5px;
}

/* Properties of box */
.autocomplete-suggestions {
    background: white;
    border: 1px outset #8d8d8d;
    color: #626b72;
    left: 0;
    margin: 0;
    overflow: auto;
    padding: 0;
}

/*
 * CSS for CALCULATOR control
 */

/* background */
.calc {
    background: #e1e1e1 url('/grp/iw/img/skins/FlatAndClean/controls/calculator/chassis.png');
    border: 2px #606060 outset;
    border-radius: 8px;
    box-shadow: 1px 1px 5px black;
    padding: 6px 6px 6px 6px;
    -moz-border-radius: 8px;
    -moz-box-shadow: 1px 1px 5px black;
    -webkit-border-radius: 8px;
    -webkit-box-shadow: 1px 1px 5px black;
}

/* display */
.calc .calculator-result {
    background: #bfbfbf url('/grp/iw/img/skins/FlatAndClean/controls/calculator/display.png') repeat-x top;
    border: 2px #888 inset;
    color: black;
    font: bold 20px Quartz, LcdD, Courier, monospace;
    padding: 2px 2px 2px 2px;
}

/* Buttons */
.calc .calculator-row button {
    background: #bbb url('/grp/iw/img/skins/FlatAndClean/controls/calculator/key.png');
    border: none;
    color: #000;
    font-family: "Bitstream Vera Sans", Arial, sans-serif;
    font-weight: bold;
    height: 23px;
    margin: 0px 1px 1px 0px;
    text-align: center;
    width: 35px;
}

/* Buttons key down*/
.calc .calculator-row .calculator-key-down {
    background: #33c14a url('/grp/iw/img/skins/FlatAndClean/controls/calculator/keypressed.png');
    border: none;
    color: blue;
    font-family: "Bitstream Vera Sans", Arial, sans-serif;
    font-weight: bold;
    height: 23px;
    margin: 1px 0px 0px 1px;
    text-align: center;
    width: 35px;
}

/* On alt key legend*/
.calc .calculator-keystroke {
    color: #00463e;
    border: 1px ridge #ad6822;
    background: #fbbb01;
    font: bold 11px Helvetica, sans-serif;
    padding: 4px;
}

/*
 * CSS for CLUETIP tootip control
 */

.cluetip-default,
.cluetip-default .cluetip-outer {
    background-color: #90979d;
    color: #fff;
}


.cluetip-default .ui-cluetip-header {
    background-color: #626b72;
    color: #fbbb01;
}

/*
 * CSS for COMBO control
 */

/* Text field input */
.combo input {
    height: 17px;
    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/FlatAndClean/controls/combo/trigger.png') no-repeat 0 0;
    border: 0;
    height: 21px;
    top: 0;
    width: 18px;
}

/* Aspect of the element list */
.combo li {
    color: #626b72;
    font: bold 12px Arial, Helvetica, sans-serif;
    height: 16px;
    line-height: 16px;
    margin: 0;
    padding: 0;
    padding-left: 5px;
}

/* Selected element of the list */
.combo li.active {
    background-color: #fbbb01;
    color: #00463e;
}

/* Properties of list box */
div.combo div {
    background: white;
    border: 1px outset #8d8d8d;
    left: 0;
    margin: 0;
    padding: 0;
}

/*
 * CSS for DATE control
 */

/* Main frame */
.datepick {
    border: 3px solid #00453d;
    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: #00453d;
    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: #21726c;
    color: #fff;
}
.datepick-ctrl .datepick-cmd:hover {
    background-color: #21726c;
    color: #fff;
}

/* Calendar container */
.datepick-month {
    border: 1px solid #fff;
    float: left;
    text-align: center;
    width: 15em;
}

/* Month header */
.datepick-month-header, .datepick-month-header select, .datepick-month-header input {
    background-color: #fff;
    color: #888;
    height: 1.9em;
}

/* Dow header */
.datepick-month th, .datepick-month th a {
    background-color: #21726c;
    border: 1px solid #fff;
    color: #fff;
    font-size: 10px;
    font-style: italic;
}

/* Dow and Calendar division */
.datepick-month thead {
    border-bottom: 2px solid #21726c;
}

/* Days grid */
.datepick-month td {
    background-color: #fff;
    border: 1px solid #fff;
}

/* Selectable days */
.datepick-month a {
    background-color: #eee;
    color: #000;
    display: block;
    padding: 0.125em 0em;
    text-decoration: none;
    width: 100%;
}

/* Un-selectable days */
.datepick-month td span {
    color: #888;
}

.datepick-month td .datepick-other-month {
    background-color: #fff;
}

/* Week-end cells */
.datepick-month td .datepick-weekend {
    background-color: #ddd;
}

/* Selected day */
.datepick-month td .datepick-selected {
    background-color: #626b72;
    color: #fff;
}

/* Today */
.datepick-month td .datepick-today {
    background-color: #92b5b1;
}

/* Day highlight */
.datepick-month td .datepick-highlight {
    background-color: #fbbb01;
    color: #01443d;
}

/* Week column */
.datepick-month th.datepick-week {
    background-color: #fff;
    color: #92b5b1;
    font-style: italic;
}

.datepick-month td.datepick-week * {
    background-color: #fff;
    border: none;
    color: #92b5b1;
    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 Ubuntu-R, sans-serif, Tahoma;
    margin: 0;
    position: absolute;
    padding: 16px 16px 16px 52px;
    /* text-indent: 36px; */
    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');
    color: #c00000;
}

/* Used for info messages */
div.info {
    background-image: url('/grp/img/ic/message/info.png');
}

/* container of the warning message */
div.warning {
    background-image: url('/grp/img/ic/message/warning.png');
    color: #9b4d01;
}

/*
 * CSS for GROUPBOX control
 */

/* Group box square */
fieldset {
    background: rgba(0,0,0,0.05);
    border: 1px solid;
    border-radius: 6px;
    border-color: #90979d;
    padding: 10px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/* Legend style */
fieldset legend {
    color: #626b72;
    font: bold 14px Ubuntu-B, sans-serif, Tahoma;
    margin-left: 5px;
    margin-right: 5px;
    text-shadow: 1px 1px 1px #fff;
}

/*
 * CSS for INPUT controls
 */

/* Input fields and Buttons */
input.password, input.text, textarea, select {
    background-color: #efefef;
    border: 1px #8d8d8d solid;
    border-radius: 6px;
    color: #612301;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    outline: none;
    padding: 1px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/* input fields with a wrong value */
input.error, textarea.error, select.error {
    border-width: 2px;
    border-style: solid;
    border-radius: 6px;
    color: #c00000;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    outline: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/* input fields with a value that cause a success */
input.info, textarea.info, select.info {
    border-width: 2px;
    border-style: solid;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    border-radius: 6px;
    color: #9b4d01;
    outline: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/* Style for input on focus event */
input.password:focus, input.text:focus, textarea:focus, select:focus {
    background-color: #fff;
    border: 1px #8d8d8d solid;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    border-radius: 6px;
    color: black;
    outline: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/* input fields with a value that cause a warning */
input.warning, textarea.warning, select.warning {
    border-width: 2px;
    border-style: solid;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    border-radius: 6px;
    color: #9b4d01;
    outline: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/*
 * Input type Submit style
 */
input.button, input.submit, input.reset {
    background-color: #626b72;
    border: 1px solid #000;
    border-radius: 6px;
    color: #ebebed;
    font: bold 14px Ubuntu-B, sans-serif, Tahoma;
    padding: 5px 5px 5px 5px;
    text-align: center;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.5);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
input.button:active:enabled, input.submit:active:enabled, input.reset:active:enabled {
    background-color: #fbbb01;
    border: 1px solid #626b72;
    color: #000;
    text-shadow: 1px 1px 1px #fff;
}
input.button:hover:enabled, input.submit:hover:enabled, input.reset:hover:enabled {
    background-color: #90979d;
    border: 1px solid #626b72;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

/* Manage disabled button state */
input.button:disabled, input.submit:disabled, input.reset:disabled {
    opacity: 0.5;
    cursor: not-allowed; 
}

/*
 * Select with autocomplete
 */
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    background-color: #efefef;
    border: 1px solid #8d8d8d;
    border-radius: 6px;
}
.select2-container--default .select2-search--dropdown {
    background-color: #fff;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #efefef;
    border: 1px solid #8d8d8d;
}
.select2-search__field:focus {
    background-color: #fff !important;
}
.select2-container--default .select2-selection--single:focus, .select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #612301;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    line-height: 19px;
    text-shadow: none;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #612301 transparent transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #612301 transparent;
}
.select2-container--default .select2-results__option[aria-selected=true], option:checked, .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ddd;
    border: 1px solid #aaa;
    color: #612301;
}
.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: #21726c;
}

/*
 * CSS for controls that have the RESIZE property
 */

/* Rules for the container table of the input field with the resizable feature enabled */
table{
    border-style: none !important;
}
table.resizable {
    border: 1px solid transparent;
    border-radius: 6px;
    border-spacing: 0;
    padding: 0;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

table.resizable:hover {
    background: rgba(0,0,0,0.2);
}

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: #fbbb01;
    background-color: #21726c;
    border-color: #90979d;
    border-radius: 6px;
    font: bold 12px Ubuntu-R, sans-serif, Tahoma;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.page {
    background-color: #b5babe;
    border-color: #90979d;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.page_hover {
    background-color: #fbbb01;
    border-color: #90979d;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

/* page numbers links */
.link  {
    color: #626b72;
    font: normal 11px Ubuntu-R, sans-serif, Tahoma;
    text-decoration: none;
}

a.link:link {
    color: #626b72;
    font: normal 11px Ubuntu-R, sans-serif, Tahoma;
    text-decoration: none;
}

a.link:hover {
    color: #21726c;
    font: bold 11px Ubuntu-R, sans-serif, Tahoma;
    text-decoration: none;
}

a.link:visited {
    color: #626b72;
    font: normal 11px Ubuntu-R, sans-serif, Tahoma;
    text-decoration: none;
}

/*
 * CSS for POPUP windows
 */

/* Used for popup windows (Ex. File manager)*/
.popup {
    color: #ffa0a0;
    background-color: #626b72;
    border: 1px #222 solid !important;
    border-radius: 6px;
    box-shadow: 1px 1px 5px #888;
    font: bold 14px Ubuntu-R, sans-serif, Tahoma;
    -moz-border-radius: 6px;
    -moz-box-shadow: 1px 1px 5px #888;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: 1px 1px 5px #888;
}

/* Popup window items */
.popupItem {
    color: #ebebed;
    font: bold 14px Ubuntu-R, sans-serif, Tahoma;
}

.popupItem:hover {
    color: #fff;
    font: bold 14px Ubuntu-R, sans-serif, Tahoma;
}

/* Popup window disabled items */
.popupItemDisabled {
    color: #90979d;
    font: bold 14px Ubuntu-R, sans-serif, Tahoma;
}

/*
 * CSS for TABCONTROL control
 */

.tabcel {
    background-color: #dfdfe1;
}

.tablink {
    color: #00453d;
    font: bold 12px Ubuntu-R, sans-serif, Tahoma;
    text-decoration: none;
}

.tabsel {
    color: #000 !important;
    font: bold 13px Ubuntu-R, sans-serif, Tahoma;
}

a.tablink:link {
    color: #626b72;
    text-decoration: none;
}

a.tablink:visited {
    color: #626b72;
}

a.tablink:active {
    color: #92b5b1;
}

a.tablink:hover {
    color: #00463e;
}

/*
 * CSS for TREEVIEW control
 */
.TreeViewNormal {
    color: #00463e;
    font: 12px Ubuntu-R, sans-serif, Tahoma;
    margin: 0;
    padding: 0;
}

.TreeViewSelected {
    background-color: #21726c;
    border: 1px #00463e solid;
    border-radius: 6px;
    color: #fbbb01;
    font: bold 12px Ubuntu-R, sans-serif, Tahoma;
    margin: 0;
    padding: 1px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
}

/*
 * CSS for BREADCRUMBS
 */
.breadcrumb {
    padding-left: 5px;
    list-style: none;
    margin: 4px;
    height: 15px;
}

.breadcrumb > li {
    display: inline-block;
    color: #626b72;
    font-family: Ubuntu-B,sans-serif,Tahoma;
    font-size: 13px;
    text-shadow: 1px 1px 1px #aaa;
}

.breadcrumb > li + li:before {
    content: "\027E9"; /*http://dev.w3.org/html5/html-author/charref */
    padding: 0 5px;
}

.breadcrumb > .active {
}

.breadcrumb a {
    font: inherit;
}

.checkbox-round input[type="checkbox"]:checked + label + div {
    background: #4fbe79 none repeat scroll 0 0;
}
