﻿html {
    overflow-y: scroll; /* Force Vertical Scroll Bar https://css-tricks.com/snippets/css/force-vertical-scrollbar/ */
}

/*@import url(http://fonts.googleapis.com/css/?family=Open+Sans&display=swap);*/

/*
**  Common.css
**
**  Reset all tags so that all browsers are at the same "starting point" for Priority Software applications
**
*/

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, button, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

input, textarea /* BD 2013-12-30 added textarea here and removed from above */ {
    margin: 0;
    padding: 1px 1px 1px 3px; /* SELECT has 3px padding left -- BD 2021-02-24 */
}

select {
    padding: 1.5px 1px 1.5px 0; /* BT 2025-06-23: added height padding to select elements to match global 1-line input element styling */
}

textarea {
    resize: both; /* BD 2019-10-08 Re-Enabled this was none... disable Chrome "feature" that puts drag handles in bottom right corner of textarea fields */
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var, optgroup {
    font-style: inherit;
    font-weight: inherit;
}

del, ins {
    text-decoration: none;
}
/* BD 2017-05-05 
li
{
    list-style: none;
}
*/
caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

legend {
    color: #000;
}

input, button, textarea, select, optgroup, option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: normal; /* BD 2015-08-13 Changed from Inherit as the DropDown selections were all BOLD */
}

input, button, textarea, select {
    font-size: 100%;
}

/*       
**  Base
**
** if the Font Size changes: 
** 1. Masking.nBodyFontSizeInPx will need to be change.
** 2. Then, the CSS sizes for psDate/psDateTime/psTime will need to be adusted. 
**
*/
body, table { /* BD 2022-08-31 added table since it doesn't inherit from body */
    font-size: 11px; /* screen fonts should be defined by px NOT pt. */
}

body, table, .ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: 'Open Sans',Verdana, Arial, Helvetica, sans-serif;
}

h1, span.h1 {
    font-size: 139%;
    font-weight: bold;
}

h2, span.h2 {
    font-size: 123%;
    font-weight: bold;
}

h3, span.h3 {
    font-size: 108%;
    font-weight: bold;
}

h1 {
    margin: 0 0 0.5em 0;
}

h2, h3 {
    margin: 1em 0 0.5em 0;
}

h1, h2, h3, h4, h5, h6, strong, dt {
    font-weight: bold;
}

optgroup {
    font-weight: normal;
}

em {
    font-style: italic;
}

del {
    text-decoration: line-through;
}

blockquote, ul, ol, dl {
    margin: 1em;
}

label + blockquote, label + ul, label + ol, label + dl {
    margin: 0 1em 1em 1em;
}

ol, ul, dl {
    margin-left: 2em;
}

div.Indent {
    margin-left: 2em;
}

ol.NoIndent, ul.NoIndent, dl.NoIndent {
    margin-left: 0;
}

ol /* li */ {
    list-style-type: decimal;
    list-style-position: outside;
}

ul /* li */ {
    list-style-type: disc;
    list-style-position: outside;
}

/*
BD 2017-05-05 probably not needed since we're "overapplying" the list-style to the LI. Removed the LI formatting which was required for ie6/ie7.
.awesomplete > ul ** li **
{
   list-style-type: none;
}
*/

label.Caption {
    margin: 5px 0;
    display: block;
}

ul.NoDisc /* li */ {
    list-style-type: none;
    list-style-position: outside;
}

th, td {
    border: none;
    padding: 3px; /* was .5em; */
    position: relative; /* BD 2018-10-29 trying to debug why cbtn (combo button for AutoCompletes) wont show on FireFox v63 */
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

/* FireFox Fix to Schedules Loosing the Lines */
@supports (-moz-appearance:meterbar) {
    th, td {
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
    }
}

/* IE11 Fix to Schedules Loosing the Lines */
_:-ms-fullscreen, :root td, :root th {
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

/* Edge Fix to Schedules Loosing the Lines */
_:-ms-lang(x), _:-webkit-full-screen, td, th {
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

th {
    font-weight: bold;
    text-align: center;
}

abbr, acronym {
    border-bottom: 1px dashed #000;
    cursor: default;
}

caption {
    margin-bottom: .5em;
    text-align: center;
}

p:not(:last-child), fieldset, pre {
    margin-bottom: 1em;
}

button, input[type=checkbox], input[type=radio], input[type=reset], input[type=submit] {
    padding: 1px;
}

input[type=checkbox], input[type=radio] {
    /* vertical-align: -18%; BD 2014-01-14 removed -18% and replaced with -3px -- s/b easier math */
    vertical-align: -2px;
}

input[type=number] {
    text-align: right;
}

div.labelR {
    text-align: right;
    display: inline-block;
    width: 10ch; /* requires a width be specified */
}

    div.labelR + span {
        margin-left: 4px;
    }

span.label {
    /* used when a label would require an input field but we dont want an input field */
    margin: 0;
    padding: 0;
}

    /* AutoCompletes insert Images after the Input */
    /* WCAG: label + label */
    input:not([type='hidden']) + label, /* ddslick has input type='hidden' followed by label :( */
    input:not([type='hidden']) + span.label,
    input + img + label,
    label + input,
    span.label + input,
    label + select,
    label + select,
    label + span.label,
    select + label,
    label + textarea,
    label + span,
    button.ui-datepicker-trigger + label,
    button.ui-datepicker-trigger + span.label /* label > input with text on LEFT of Input does NOT always work correctly with nearby fields -- under consideration */ {
        margin-left: 4px; /* BD 2015-07-16 need to standardize for [X] Label and Label [X] */ /* BD 2017-01-10 changed to 4px */
    }

label > input {
    margin-right: 4px; /* BD 2022-09-09 Nesting Input with Text on Right -- avoids having to wire-up label[for] when using nesting -- */
}

/*   LP 2022-11-10; Added spacing after DatePiker; ex. Range From [] To []*/
button.ui-datepicker-trigger + label {
    margin-left: 4px;
}


label + label:before {
    content: ' ';
}

a, .link {
    text-decoration: none;
    cursor: pointer;
}

    a:hover, .link:hover {
        text-decoration: underline;
    }

/* ALSETT CLEARING METHOD */
.clearfix:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-table;
}
/* required comment for clearfix to work in Opera \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}
/* end clearfix */
/* END ALSETT CLEARING METHOD */

/* LP 2022-11-22; Added css to remove the border of Editable div. Currently used in Script FormEditor. */
[contenteditable] {
    outline: 0px solid transparent;
}

div.DataTableWrapper {
    display: none; /* hide until initialized by the JS */
}
