html, body {
    --app-color-1: #007ca5;
    --app-color-2: #b72f33;
    --text-color: #333;
    --text-color-reverse: #fff;
    --a-color: #004090;
    --bg-color: #007ca5;
    --bg-color-2: #c2e3ed;
    --header-bg-color: #173e6a;
    --main-font-family: Roboto, sans-serif;
    --compact-font-family: 'Roboto Condensed', 'Arial Narrow', Roboto, sans-serif;
    --paging-color: #E6F2FF;
    --side-margin: 2vw;
    --empty-text-color: #808080;
    --smaller-font-size: 12px;
    --regular-font-size: 13px;
    --bold-border-radius: 2px;
    --transition-delay: 100ms;
    --event-bg-color: #d6dbff;
    --pass-event-bg-color: #eee;
    --semibold: 500;
    --horz-separator-color: #ddd;
    --created-color: #ffffc7;
    --completed-color: #d8f2c6;
    --approved-color: #e0abe1;
    --input-border-color: #999;
    --border-radius: 3px;
    --control-height: 30px;
    --border-width: 1.5px;
    --issue-bg-color: #ffff9b;
    --button-hover-background-color: #d3d3d36e;
    --button-pressed-background-color: #b7b7b76e;
    --button-pressed-background: linear-gradient(var(--button-pressed-background-color), var( --button-hover-background-color));
    --button-hover-background-type2: linear-gradient(var(--app-color), #0c159e);
    --button-pressed-background-type2: #2701a7;
    --button-pressed-background-type3: linear-gradient(var(--button-pressed-background-color), var( --button-hover-background-color));
    --input-padding: 0 2px;
    --task-partially-done: #a3e5ff;
    --task-done: #abdf45;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v19/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v19/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0 none;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    color: var(--text-color);
}

a:active, a:link, a:visited {
    color: var(--a-color);
    text-decoration: none;
}

html {
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
}

    html > body {
        overflow: visible;
    }

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ol, ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

body {
    margin: 0px;
    padding: 0px;
    font: 13px/140% var(--main-font-family);
    color: var(--text-color);
    height: 100%;
}

p, strong, em, b, div, .formTable td, form table td {
    font-size: inherit;
    color: inherit;
}

    div strong {
        font-size: inherit;
    }

strong {
    font-weight: bold;
}

h1 {
    font-size: 24px;
    margin-bottom: 1em;
    line-height: 110%;
    color: black;
    font-weight: 700;
    padding: 0;
    letter-spacing: -.5px;
}

h2 {
    font-size: 18px;
    margin-bottom: .8em;
    line-height: 110%;
    color: black;
    font-weight: 700;
    padding: 0;
    letter-spacing: -.3px;
}

h3 {
    color: #000;
    font-size: 10pt;
    font-weight: bold;
    text-align: left;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#mainContent ol {
    padding: 0px 25px;
}

    #mainContent ol li {
        list-style: decimal outside;
    }

#mainContent td {
    padding: 0;
}

#mainContent input[type="text"],
#mainContent input[type="email"],
#mainContent input[type="password"],
.modal-body input[type="text"],
.modal-body input[type="password"],
.modal-content input[type="password"],
.modal-content input[type="text"],
.modal-form input[type="text"],
html body .modal-form input[type="text"],
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
body .mce-container-body input {
    padding: var(--input-padding);
    border: solid 1px #999;
    border-radius: 2px;
    font-weight: bold;
    font-family: inherit;
    margin: 0;
    height: 28px;
    box-sizing: border-box;
}

textarea,
body textarea,
#mainContent textarea {
    padding: 2px;
    border: solid 1px #999;
    border-radius: 2px;
    font-family: inherit;
    margin: 0;
    font-size: inherit;
    font-weight: 500;
}

select,
#mainContent select,
.playground select,
.modal-body select,
.modal-content select,
/*#newReceiptForwardingRule .modal-form select,*/
.modal-form select,
html body .modal-form select,
.modal-content select {
    border: solid 1px #999;
    border-radius: 2px;
    font-weight: bold;
    font-family: inherit;
    height: 28px;
    font-size: inherit;
}

div.wait.loading,
td.wait.loading {
    background: white url(/images/wait.gif) no-repeat 2px 2px;
    min-width: 20px;
    min-height: 20px;
}

table td.wait.loading {
    background-position: center center;
}

body h1#h1, body h1#h1 select {
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 110%;
    color: #222;
    padding: 0;
    font-weight: 700;
}

    body h1#h1 a {
        text-decoration: underline;
    }

@media screen and (max-width: 600px) {
    body h1#h1, body h1#h1 select {
        font-size: 18px;
    }
}

body #h1:before {
    position: relative;
    font-size: 100%;
    margin-right: 3px;
    margin-left: 0;
}

body h1#h1 select {
    height: 40px;
    border-color: #087398;
    margin-bottom: 0;
}

.wait {
    opacity: 0.5;
}

body input[type=checkbox], body input[type=radio] {
    vertical-align: middle;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 2px;
    width: 17px;
    height: 17px;
}

p a, p a[role=button] {
    text-decoration: underline !important;
}

span.beta:after, a.beta:after {
    content: 'beta';
    font-size: 11px;
    margin-left: 2px;
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    top: -5px;
}

h1.with-select select,
body h1.with-select select,
#mainContent h1.with-select select,
body #mainContent h1.with-select select,
body .playground h1.with-select select {
    color: var(--a-color);
    font-size: inherit;
    height: auto;
    letter-spacing: -1px;
}

body h1.with-select:before {
    margin-left: 0;
}

table tr th,
#mainContent table tr th {
}

input[type="text"]:-ms-input-placeholder {
    color: #ccc;
    font-style: italic;
    font-weight: 500 !important;
    vertical-align: middle;
    font-family: var(--main-font-family);
}

input[type="text"]::-webkit-input-placeholder {
    color: #ccc;
    font-style: italic;
    font-weight: 500 !important;
    vertical-align: middle;
    font-family: var(--main-font-family);
}

input[type="text"]::-moz-placeholder {
    color: #ccc;
    font-style: italic;
    font-weight: 500 !important;
    vertical-align: middle;
    font-family: var(--main-font-family);
}

.dealer-brand .d-brand {
    display: none !important;
    visibility: hidden !important;
}

.icon-user-1 {
    transform: scale(.9); /* EM: the new user icon looks too big compared to other icons */
}
