﻿body {
    font-family: "Segoe UI", Arial, Helvetica, sans‐serif;
    font-size: 12pt;
    padding: 0.1rem;
}

/* Default block-level margins, for consistent vertical rhythm */
/*h1, h2, h3, h4, h5, h6, hgroup,
ul, ol, dd,
p, figure,
pre, fieldset, hr {
    margin-top: 0;
    margin-bottom: 1rem;
}*/

/* Prevent browser from choosing a monospaced font for multiline text inputs */
textarea {
    font-family: inherit;
}

.DCS-combobox {
    width: 400px !important;
}

.DCS-textarea {
    width: 400px !important;
    box-sizing: border-box;
}

.DCS-input {
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid #cdcdcd;
    border-radius: 0;
    font-size: 1rem;
    font-family: "Segoe UI",Arial,Helvetica,sans-serif;
    padding: 0.25rem;
    margin: 0;
    max-width: 600px;
}

.DCS-input[data-att-datatype="Boolean"]
{
    border: none;
}

.rbl > label {
    padding-right: -0.5rem;
    margin-right: 0.5rem;
    vertical-align: bottom;
}

.DCS-input[data-att-datatype='CheckList'] {
    /*border: none;*/
    /*padding: 0;*/
}

.DCS-input[data-att-datatype='CheckList'] > input {
    vertical-align: bottom;
}

.DCS-input[data-att-datatype='CheckList'] > label {
    display: inline;
    margin-right: 0.5rem;
}

/* comboboxes are off by a few pixels compared to text inputs */
select.DCS-input {
    padding-top: calc(0.25rem - 1px);
    padding-bottom: calc(0.25rem - 1px);
    padding-left: calc(0.25rem - 4px);
}

.DCS-global-status {
    color: white;
    text-align: center;
    padding: 0.25rem;
    background-color: darkred;
    margin-bottom: 0.5rem;
}

.DCS-page {
    position: relative;
    margin: 0 auto;
    min-width: 1125px;
    width: 100%;
    max-width: 1600px;
}

.DCS-page-title {
    font-size: 1.5rem;
    font-weight: normal;
    color: black;
}

.DCS-section-title {
    font-size: 1.3rem;
    font-weight: normal;
    color: black;
}

.DCS-subsection-title,
.DCS-subtitle {
    font-size: 1.1rem;
    font-weight: normal;
    color: black;
}

.DCS-page-button {
    background-color: #4891dc;
    border: 1px solid #cdcdcd;
    height: 34px;
    line-height: 34px;
    font-size: 16px !important;
    font-weight: 100;
    color: white !important;
    outline: 0 none;
    padding: 0 6px;
    cursor: pointer;
}

.DCS-page-button:disabled {
    filter: grayscale(80%);
    cursor: default;
}

.DCS-form-container {
    display: inline-grid;
    grid-row-gap: 0.5rem;
    grid-column-gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.DCS-form-key {
    grid-column: 1;
    box-sizing: border-box;
    padding: 0.25rem;
    margin: 0;
    margin-top: 1px;
}

.DCS-form-noInputKey {
    grid-column: 1;
}

.DCS-form-value {
    grid-column: 2;
    width: 100%;
}

.DCS-form-tooltip {
    grid-column: 3;
}

.DCS-form-validation {
    grid-column: 4;
}

.DCS-fill-width {
    box-sizing: border-box;
    width: 100%;
}

.DCS-twoColumnGrid-container {
    display: grid;
    grid-template-columns: fit-content(50%) 1fr;
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
}

.DCS-page-twoColumn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2rem;
    grid-row-gap: 0.5rem;
}

.DCS-twoColumnGrid-left {
    grid-column: 1;
}

.DCS-twoColumnGrid-right {
    grid-column: 2;
}

.DCS-error {
    font-size: 0.8rem;
    display: inline-block;
    background-color: lightcoral;
    border: 1px solid red;
    border-radius: 0.5rem;
    margin: 1rem 0;
    padding: 0.25rem;
}

.DCS-warning {
    font-size: 0.8rem;
    display: inline-block;
    background-color: lightgoldenrodyellow;
    border: 1px solid goldenrod;
    border-radius: 0.5rem;
    margin: 1rem 0;
    padding: 0.25rem;
}

.DCS-info {
    font-size: 0.8rem;
    display: inline-block;
    background-color: lightcyan;
    border: 1px solid cornflowerblue;
    border-radius: 0.5rem;
    margin: 1rem 0;
    padding: 0.25rem;
}

.DCS-loading-container {
    position: relative;
}

.DCS-loading-overlay {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    bottom: -0.25rem;
    right: -0.25rem;
    border-radius: 0.25rem;
    z-index: 1;
    background-color: #4285f4;
    opacity: 0;

    background-image: url('/images/ajax_loader_blue_128.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 2rem;

    animation-name: DCS-color-pulse;
    animation-delay: 250ms;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes DCS-color-pulse {
    0%, 100% {
        opacity: 0.50;
    }

    50% {
        opacity: 0.80;
    }
}

.DCS-clickable {
    cursor: pointer;
}

.DCS-unavailable,
.DCS-unavailable > * {
    opacity: 0.75;
}