﻿html {
    overflow-y: scroll; /* Force Vertical Scroll Bar https://css-tricks.com/snippets/css/force-vertical-scrollbar/ */
}
/*
**  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;
}

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 {
    /* font family is repeated for .ModalPanel table because View Invoice changes Table Font-Family */ /* font-family: Segoe Marker UI,SegoeUI,Segoe WP,Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif; */
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px; /* screen fonts should be defined by px NOT pt. */
}

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 */
    background-clip: border-box;
}

/* FireFox Fix to Schedules Loosing the Lines */
@supports (-moz-appearance:meterbar) {
    th, td {
        background-clip: padding-box;
    }
}

/* IE11 Fix to Schedules Loosing the Lines */
_:-ms-fullscreen, :root td, :root th {
    background-clip: padding-box;
}

/* Edge Fix to Schedules Loosing the Lines */
_:-ms-lang(x), _:-webkit-full-screen, td, th {
    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;
}

span.label {
    /* used when a label would require an input field but we dont want an input field */
    margin: 0;
    padding: 0;
}

/* AutoComplets insert Images after the Input */
/* WCAG: label + label */
input:not([type='hidden']) + label, /* ddslick has input type='hidden' followed by label :( */
input + img + label,
label + input,
label + select,
label + span.label,
select + label,
label + textarea,
label + span {
    margin-left: 4px; /* BD 2015-07-16 need to standardize for [X] Label and Label [X] */ /* BD 2017-01-10 changed to 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 */

button, input[type=button], input[type=submit], div.modalPanel div.ui-dialog-buttonpane button {
    border: solid 1px gray;
    background-color: #faffc2;
    padding: 3px 6px;
    margin: 5px 5px 5px 5px;
    cursor: pointer;
    min-height: 26px; /* same as imgButton */
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    behavior: url(PIE-1.0.0.htc);
    box-shadow: 3px 3px 3px #aaaaaa;
    background-image: none !important; /* BD 2017-07-21 */
}

    button:hover, input[type=button]:hover, input[type=submit]:hover, div.modalPanel div.ui-dialog-buttonpane button:hover {
        border-color: orange;
    }

    button[disabled], input[type=button][disabled], input[type=submit][disabled], div.modalPanel div.ui-dialog-buttonpane button[disabled] {
        border: solid 1px #000;
        background-color: #eee;
        opacity: 0.5;
    }

    button.inline {
        padding: 0 3px;
        margin: 0 5px;
        /* adjust margin to make it higher since shadown makes it look lower */
        min-height: 18px;
    }

div.button {
    border: solid 1px green;
    background-color: #faffc2;
    padding: 2px 5px;
    width: 90px;
    float: right;
    min-height: 26px; /* same as imgButton */
}

    div.button img {
        /* float: left;     margin-top: 2px; BD 2016-10-31 */
        position: absolute;
        left: 5px;
        top: 4px;
        max-height: 16px;
        max-width: 16px;
    }

@media only print {

    #heybubble-iframe {
        display: none !important;
    }
}
