/**********************************************************************\
    kdc_plugin_ui.css

    Style for KDCompute Automated Plugin UI.
\**********************************************************************/

.kdc-plugin-ui-pre-ws {
    white-space: pre;
}

.kdc-plugin-ui-list-header-divide {
    padding: 0 1em;
}

#kdc-plugin-ui-tool-howto {
    margin: 1em 0;
}

#kdc-plugin-ui-tool-howto-show-hide {
    color: #7f7f7f;
    font-size: 0.8em;
    float: right;
    margin: 0.1em 0;
}

#kdc-plugin-ui-form-tabs {
    margin: 1em 0;
}

#kdc-plugin-ui-results-no-submit-yet {
    display: block;
}

#kdc-plugin-ui-results-after-submit {
    display: none;
    overflow: auto;
}

#kdc-plugin-ui-results-after-submit-feedback {
    color: #000000;
    background-color: #ffffff;
    font-family: monospace;
    font-style: normal;
    font-weight: bold;
    font-size: 1em;
    max-width: 26em;
    max-height: 36em;
}

.kdc-plugin-ui-form-required {
    color: #ff0000;
    font-weight: bold;
}

#kdc-plugin-ui-form-submit,
button[id^=kdc-plugin-ui-],
button[class^=kdc-plugin-ui-] {
    cursor: pointer;
}

span.kdc-plugin-ui-info-button,
button.kdc-plugin-ui-info-button {
    color: #ffffff;
    background-color: #0000ff;
    font-family: serif;
    font-style: italic;
    font-weight: bold;
    vertical-align: middle;
    margin: 0 0 0.225em 0.2em;
    border-width: 1px;
    border-style: solid;
    border-color: #6666ff #0000cc #000099 #3333e5;
    border-radius: 0.375em; /* Keep this last - some older browsers may not support it. */
}

span.kdc-plugin-ui-info-button {
    padding: 0 0.5em;
    margin: 0 0.15em 0.225em 0.15em;
}

div[id^=kdc-plugin-ui-info-button-] a {
    color: #990099;
    background-color: inherit;
    text-decoration: underline;
}

#kdc-plugin-ui-form-main {
    margin-bottom: 1em;
}

#kdc-plugin-ui-form-alg-id-box {
    font-size: 1.3em;
}

#kdc-plugin-ui-form-alg-id-box input {
    font-size: 1.0em;
}

#kdc-plugin-ui-form-alg-id-box button.kdc-plugin-ui-info-button {
    font-size: 0.9em;
}

#kdc-plugin-ui-form-submit-box button {
    font-size: 1.1em;
}

.kdc-plugin-ui-form-list-table,
.kdc-plugin-ui-form-list-table tr,
.kdc-plugin-ui-form-list-table th,
.kdc-plugin-ui-form-list-table td,
.kdc-plugin-ui-form-table,
.kdc-plugin-ui-form-table tr,
.kdc-plugin-ui-form-table th,
.kdc-plugin-ui-form-table td {
    border: 0;
    border-collapse: collapse;
}

.kdc-plugin-ui-form-table th {
    text-align: right;
    vertical-align: text-top;
    padding-top: 0.90em;
}

.kdc-plugin-ui-form-table select {
    margin-top: 0.25em;
}

.kdc-plugin-ui-form-table input[type=radio] {
    margin-top: 0.33em;
}

.kdc-plugin-ui-form-table input.kdc-plugin-ui-form-input-html-source-display-field-name {
    width: 8em;
}

.kdc-plugin-ui-form-table input.kdc-plugin-ui-form-input-html-source-display-separator {
    width: 3em;
}

.kdc-plugin-ui-form-table td.kdc-plugin-ui-form-ctrlinfo-control-delete-button {
    text-align: right;
}

.kdc-plugin-ui-form-list-table th {
    text-align: left;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.kdc-plugin-ui-form-list-table tbody:first-child tr:nth-child(2) td {
    padding-top: 0.00em;
}

.kdc-plugin-ui-form-list-table tr > th:first-child,
.kdc-plugin-ui-form-list-table tr > td:first-child {
    padding-left: 0;
}

#kdc-plugin-ui-form-alg-html-prefix-row,
.kdc-plugin-ui-form-ctrlinfo-control-type-template {
    display: none;
}

#kdc-plugin-ui-form-ctrlinfo-add-controls {
    margin: 1em 0;
}

#kdc-plugin-ui-auxiliary-markup {
    display: none;
}

.kdc-plugin-ui-reference-marker {
    font-family: serif;
    font-size: 1.1em;
    font-weight: bold;
    color: #0000ff;
    background-color: inherit;
}

.kdc-plugin-ui-string-ok {
    color: #000000;
    background-color: #ccffcc;
}

.kdc-plugin-ui-string-error {
    color: #000000;
    background-color: #ffcccc;
}

