@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
a:link,
a:visited,
a:hover {
  color: var(--col-link);
  text-decoration: none;
}

a.providers:hover {
  background: yellow;
  color: red;
}

a.providers:link,
a.providers:visited {
  font-weight: bold;
  color: white;
  padding: 0 3px;
}

a.providers_sel:link,
a.providers_sel:visited {
  font-weight: bold;
  color: white;
  background: red;
  padding: 0 3px;
}

a.emr_link:hover {
  background: transparent;
}

a.green:link,
a.green:visited {
  color: green;
}

a.white:link,
a.white:visited {
  color: white;
}

a.red:link,
a.red:visited {
  color: red;
}

a.black:link,
a.black:visited {
  color: black;
}

a.med_green:link,
a.med_green:visited {
  color: green;
}

a.th:link,
a.th:visited,
th a:link,
th a:visited,
caption a:link,
caption a:visited {
  font-weight: bold;
  color: var(--col-th-fg);
}

table {
  padding: 0;
  font-size: var(--font-fs);
  border-collapse: collapse;
}

caption,
th {
  background: var(--col-th-bg);
  color: var(--col-th-fg);
  font-weight: 600;
  padding: 1px 2px;
  text-align: left;
}

caption {
  border-bottom: 1px solid #AAA;
}

th {
  text-transform: capitalize;
}

td {
  padding: 0 1px;
}

input,
textarea {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #bbb;
  color: black;
  padding: 1px;
  margin: 1px;
}

input:focus,
textarea:focus {
  background: #ffffbb;
}

textarea {
  overflow: auto;
}

input.error,
textarea.error,
select.error {
  border: 2px solid red;
}

select.fixed {
  font-family: var(--font-mono);
  padding: 2px;
  font-size: 13px;
}

ol li {
  list-style-type: decimal;
  margin-left: 20px;
  padding: 0;
}

ul > li {
  list-style-type: square;
  margin: 0;
  padding: 0;
}

form {
  margin: 0;
  padding: 0;
}

img {
  padding: 0;
  margin: 2px 0 0;
  border: 0;
}

hr {
  border-color: navy;
  border-width: 1px 0 0 0;
  border-style: solid;
}

pre {
  font-family: var(--font-mono);
}

table.table_common,
table.table_my_patient {
  background: var(--col-table-bg);
  color: var(--col-table-fg);
  border: 1px solid #aaaaaa;
  padding: 1px;
}

table.table_my_patient {
  background: #b6efb8;
}

.tblheading {
  text-align: right;
  padding-right: 6px;
}

table.display_chart {
  background: #eeeeee;
  border: 1px solid #aaaaaa;
  padding: 0 5px;
}

table.navbar {
  background: navy;
}

table.graph {
  background: url(/images/graph.bg.jpg) bottom repeat-x;
  white-space: nowrap;
  width: 90%;
}

table.monthjs {
  width: 100px;
  background: black;
  border: 1px solid;
  border-collapse: separate;
  border-spacing: 1px;
}
table.monthjs td {
  background: #ffffff;
  padding: 0.2em;
  cursor: pointer;
}
table.monthjs th {
  border: 1px solid navy;
}

table.month {
  width: 100px;
  border-collapse: collapse;
}
table.month td {
  background: var(--col-table-bg);
  border: 1px solid navy;
}
table.month th {
  border: 1px solid navy;
}
table.month a {
  display: block;
}

table.jscalendar {
  width: 160px;
  background: black;
  border-collapse: separate;
  border-spacing: 1px;
  white-space: nowrap;
}
table.jscalendar td {
  background: white;
  text-align: right;
  color: var(--col-main);
  cursor: pointer;
  height: 24px;
  font-weight: bold;
  font-size: 1.1em;
}
table.jscalendar td a {
  display: block;
}
table.jscalendar th {
  border: none;
}
table.jscalendar th a {
  display: block;
}

div.banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--col-banner-bg);
  color: #fff;
  text-align: center;
}
div.banner a {
  color: #fff;
}
div.banner .banner__logo {
  min-height: 58px;
  background: var(--logo) no-repeat left, linear-gradient(to right, white 250px, rgba(255, 255, 255, 0));
  text-align: left;
}
div.banner .banner__title .banner__practice-name {
  font-size: 1.1rem;
  font-weight: bold;
}
div.banner .banner__user {
  padding-right: 5px;
  text-align: right;
}
@media (width < 800px) {
  div.banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  div.banner .banner__logo {
    grid-column: span 2;
  }
  div.banner .banner__logo {
    background: var(--logo) no-repeat center, #fff;
  }
  div.banner .banner__title {
    text-align: left;
  }
}
@media print {
  div.banner {
    background-color: transparent;
    color: black;
    grid-template-columns: repeat(2, 1fr);
  }
  div.banner a {
    color: black;
  }
  div.banner .banner__logo {
    display: none;
  }
  div.banner .banner__title {
    text-align: left;
  }
}

/*Show this only when printing*/
.printed_header {
  display: none;
}

#patient_table {
  white-space: nowrap;
}

th.providers {
  background: #7b99f6;
}

td.chart_not_done,
tr.rownotready,
a.chart_not_done {
  background: #efef00;
  max-width: 10px;
}

td.chart_not_signed {
  background: #90EE90;
}

td.superbill_not_done {
  background: red;
}

td.superbill_not_submitted {
  background: #90EE90;
}

td.name {
  font-weight: bold;
}

td.main_chart {
  border: 1px solid navy;
  background: #ffffff;
  font-size: 13px;
}

tr.pt_not_ready {
  background: yellow;
}

td.red {
  color: red;
}

tr.app_block {
  background: #f03;
  color: white;
}

tr.app_block span {
  color: white;
}

.row1,
.row1nohover {
  background: var(--col-row1);
}

.row2,
.row2nohover {
  background: var(--col-row2);
}

tr.row1:hover,
tr.row2:hover {
  background: #bbbbbb;
}

tr.green,
div.green {
  background: #90EE90;
}

tr.red {
  background: red;
  color: white;
}

tr.voided {
  text-decoration: line-through;
}

tr.cancelpending {
  text-decoration: line-through;
  background: #F6E3CE;
}

tr.changed {
  text-decoration: line-through;
  background: #F5F6CE;
}

td.col1 {
  background: white;
}

td.col2 {
  background: #dee2ee;
}

/*---------------------textareas----------------------------------*/
textarea.chart,
textarea.addendum {
  background: #eeeeee;
  border-width: 1px;
  border-color: #aaaaaa;
  color: #000;
  font-size: 13px;
  font-weight: normal;
  width: 600px;
}

textarea.chart:focus,
textarea.addendum:focus {
  background: #FFFFE0;
}

textarea.chart {
  height: 600px;
}

textarea.addendum {
  height: 330px;
}

textarea.list {
  height: 130px;
  width: 140px;
  /*old 200*/
  color: black;
}

/*---------------------inputs------------------------------------*/
input.date {
  width: 100px;
}

input.search {
  width: 150px;
}

input.submit {
  color: black;
  background: #eeeeee;
}

input[type=submit],
input[type=reset],
input[type=button] {
  color: var(--col-btn-fg);
  background: var(--col-btn-bg);
  padding: 2px 8px;
  cursor: pointer;
}

input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover {
  color: navy;
  background: white;
}

input[type=button].btngrey,
input[type=submit].btngrey {
  color: navy;
  background: #D3D3D3;
}

input[type=button].btngrey:hover,
input[type=submit].btngrey:hover {
  color: white;
  background: grey;
}

input[type=button].btnadd,
input[type=submit].btnadd {
  color: navy;
  background: #D3D3D3;
  padding: 0;
}

input[type=button].btnadd:hover,
input[type=submit].btnadd:hover {
  color: white;
  background: grey;
  padding: 0;
}

input.chart {
  color: var(--col-main);
  background: #eeeeee;
  font-weight: bold;
}

input.paperbutton {
  width: 80px;
  border: 1px solid white;
  background: navy;
  color: white;
  margin: 0;
  padding: 0;
  font-weight: bold;
}

input.btn_chart {
  width: 70px;
  background: navy;
  color: white;
  font-weight: bold;
}

input.vaccinefld {
  background: #ffffdd;
}

input.editbutton {
  width: 30px;
  border: 1px inset navy;
}

/*---------------------divs--------------------------------------*/
div.themenu {
  background: navy;
}
div.themenu li {
  display: inline;
  font-weight: bold;
}
div.themenu li a {
  margin: 10px;
  color: yellow;
}

div.time,
div.footer {
  text-align: center;
  font-weight: normal;
  color: #555555;
  font-size: 9px;
}

div.title {
  color: white;
  font-size: 1.4em;
  font-weight: bold;
}

div.title_slogan {
  color: white;
  font-size: 1em;
  font-weight: bold;
}

div.errordiv {
  width: 700px;
  margin: 10px auto;
  max-height: 250px;
  overflow: auto;
}

table.error {
  width: 100%;
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 12px;
  color: red;
  background: white;
}
table.error .errortitle {
  color: white;
  background: blue;
}
table.error .errorlabel {
  width: 100px;
  display: inline-block;
  text-align: right;
  padding: 1px 5px;
  font-weight: bold;
  color: black;
}
table.error .errorlabel:after {
  content: ":";
}

div#divpagebreak {
  display: none;
}

div#loading {
  display: none;
  position: fixed;
  width: 6em;
  height: 6em;
  margin-top: -3em;
  margin-left: -3em;
  top: 50%;
  left: 50%;
  border: 1px solid grey;
  background: white;
  color: white;
  padding: 0 20px 2px;
  font-size: 14px;
  font-weight: bold;
  background-image: url(/images/waiting.gif);
  background-repeat: no-repeat;
  background-position: center;
}

/*---------------------spans--------------------------------------*/
span.blue {
  color: blue;
  cursor: pointer;
}

span.red {
  color: red;
  cursor: pointer;
}

span.spanfield {
  cursor: pointer;
}

span.alert {
  color: white;
  background: red;
  padding: 0 10px;
}

span.disabled {
  color: #333;
}

.vitalLabel {
  color: blue;
}

/*---------------------misc--------------------------------------*/
select.lab {
  width: 100px;
  color: blue;
}

select.templates {
  width: 220px;
  background: #ffff99;
}

select.wordlist {
  width: 130px;
  /*old 150*/
  color: blue;
  background: #ffffaa;
  height: 130px;
  border: 1px solid #aaaaaa;
}

ul > li.decimal {
  list-style-type: none;
}

li.str_list {
  padding-left: 0;
  list-style-type: none;
}

div.popup_menu {
  position: absolute;
  visibility: hidden;
  cursor: pointer;
  background: #FFFFFF;
  border: 1px solid navy;
}
div.popup_menu li {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: gray;
  background-repeat: no-repeat;
  background-position: 0.2em;
  list-style-type: none;
}
div.popup_menu #sep {
  height: 2px;
  background: navy;
}
div.popup_menu #title {
  background: #ddd;
  text-align: center;
}
div.popup_menu a {
  display: block;
  padding: 0 15px 0 8px;
}
div.popup_menu a:hover {
  color: white;
  background: navy;
}
div.popup_menu td {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: navy;
  padding: 0;
}

table.menu_table {
  background: var(--col-table-bg);
  border: 1px white solid;
}
table.menu_table td {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: white;
  padding: 1px;
}

table.pop_menu_table {
  background: var(--col-table-bg);
  border: 1px solid navy;
  margin: 0;
  padding: 0;
}
table.pop_menu_table td {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: gray;
}
table.pop_menu_table a {
  color: black;
  padding: 0 5px;
}
table.pop_menu_table a:hover {
  background: navy;
  color: white;
}

#e {
  color: red;
  font-size: 275%;
  font-family: times new roman;
  margin: 0 0 0 -1px;
  line-height: 50%;
}

#medicalnotes {
  color: navy;
  font-size: 260%;
  font-family: times new roman;
  font-weight: bold;
  margin: 0 0 0 -3px;
  line-height: 72%;
}

#menuimg {
  padding: 0;
}

#ptpic {
  padding: 0;
  margin: 0;
  border: 1px solid navy;
}

#insu1,
#insu2,
#insu3,
#insu4,
#insu5,
#insu6 {
  cursor: pointer;
}

#missing {
  background: red;
}

#waitingbanner {
  text-align: center;
  position: fixed;
  left: 300px;
  top: 200px;
  width: 400px;
  height: 80px;
  background: #ddd;
  color: navy;
  font-size: 120%;
  font-weight: bold;
  border: 1px solid navy;
}

#calendardiv {
  position: absolute;
  display: none;
  z-index: 100;
}

#searchresults {
  border: 2px solid navy;
  background: white;
  display: none;
  /*z-index: 100;*/
}

.tipspan {
  display: none;
  padding: 4px 8px;
}

.tipspan div {
  max-width: 300px !important;
}

#dhtmltooltip {
  position: absolute;
  white-space: wrap;
  border: 1px solid navy;
  background: #ffffee;
  visibility: hidden;
  z-index: 100;
  max-width: 500px;
}

.divajaxinput {
  position: absolute;
  display: none;
  border: 1px solid #444;
  padding: 0;
}

.divajaxinput table {
  margin: 0;
  width: 100%;
  border: none;
}

#divdetailedlabs,
#divclaimdetail {
  background: white;
  position: absolute;
  border: 1px solid red;
  display: none;
  z-index: 100;
  width: 700px;
  padding: 3px;
}

#divclaimdetail {
  width: 92%;
}

#dhtmltooltipdiv {
  background: navy;
  color: white;
}

#dhtmltooltip li,
p,
pre {
  margin: 0;
  padding: 1px 5px 0;
}

#ops {
  width: 1px;
  height: 0;
  top: -10px;
  margin: 0;
  border: 0;
  visibility: hidden;
}

#divptname {
  position: fixed;
  bottom: 0;
  border: 1px solid navy;
  border-width: 1px 0 1px 0;
  height: 16px;
  width: 100%;
}

#divptname tr {
  /*font-size:12;*/
  margin: 0 auto;
  width: 100%;
  background: #90EE90;
  white-space: nowrap;
}

#divptname tr:hover {
  background: grey;
  color: white;
}

#divclaimdetail {
  width: 100%;
  position: relative;
  padding: 0;
  border: 1px solid grey;
  background: #ffffaa;
}

#tblmenu {
  width: 100%;
}

#tblmenu tr {
  background: var(--col-menu-bg);
  vertical-align: middle;
}

.tblapps tr {
  border-bottom: 1px solid #bbb;
}

.tblapps td {
  padding: 0 2px;
}

.lablow {
  background: #ff6;
}

.labhigh {
  background: #f36;
}

table.tbllabresults {
  border-collapse: collapse;
  margin: 0;
  white-space: nowrap;
}

table.tbllabresults td {
  padding: 0 3px;
  border: 1px solid navy;
}

table.tblarray {
  border-collapse: collapse;
}

table.tblarray tr {
  border: 1px solid grey;
}

table.tblarray th {
  text-align: center;
}

table.tblarray td {
  padding: 0 8px;
  font-family: var(--font-mono);
}

table.tbllabresults tr {
  vertical-align: top;
  border: 1px solid navy;
}

table#tblclaimlog td {
  padding: 0 5px;
  white-space: nowrap;
}

/*
.optheading
{
background:#D3D3D3;
color:black;
font-style:italic;
font-weight:bold;
}
*/
.optoption {
  background: white;
  color: black;
  padding-left: 10px;
}

td.number {
  text-align: right;
  font-family: var(--font-mono);
  padding-right: 3px;
}

td.pre {
  font-family: var(--font-mono);
}

td.numbertight {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 0 1px;
}

th.number {
  text-align: right;
  padding-right: 3px;
}

td.tdscroll {
  padding: 0;
}

.tight_superbill {
  padding: 0;
  margin: 1px;
}

.superbill {
  padding-left: 3px;
  border: thin;
}

/* inline ul list */
/* claim central styles */
/* lightgreen */
/*
.divsearchselectbox {
   padding: 0 4px;
}
*/
.default-theme {
  --darken: -15%;
  --lighten: 15%;
  --col-h: 220;
  --col-s: 80%;
  --col-l: 40%;
  --logo: url("/images/logo4.jpg");
  --col-main: hsl(var(--col-h), var(--col-s), var(--col-l));
  --col-main-light: hsl(var(--col-h), var(--col-s), 95%);
  --col-body: hsl(var(--col-h), calc(var(--col-s) + 20%), 92%);
  --col-banner-bg: hsl(var(--col-h), calc(var(--col-s) - 30%), 60%);
  --col-navbar-bg: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-link: hsl(var(--col-h), var(--col-s), var(--col-l));
  --col-menu-bg: hsl(var(--col-h), calc(var(--col-s) - 30%), var(--col-l));
  --col-menu-bg-border: hsl(var(--col-h), calc(var(--col-s) - 60%), calc(var(--col-l) + 30%));
  --col-th-bg: var(--col-menu-bg);
  --col-th-fg: hsl(0, 0%, 100%);
  --col-row1: hsl(0, 0%, 100%);
  --col-row2: hsl(0, 0%, 97%);
  --col-btn-bg: hsl(214, 100%, 23%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --pt-chart-width: 800px;
  --col-primary: hsl(212, 56%, 48%);
  --col-primary-dark: hsl(212, 56%, calc(48% + var(--darken)));
  --col-success: hsl(118, 40%, 49%);
  --col-success-dark: hsl(118, 40%, calc(49% + var(--darken)));
  --col-info: hsl(195, 63%, 57%);
  --col-info-dark: hsl(195, 63%, calc(57% + var(--darken)));
  --col-warning: hsl(33, 81%, 58%);
  --col-warning-dark: hsl(33, 81%, calc(48% + var(--darken)));
  --col-danger: hsl(0, 87%, 50%);
  --col-danger-dark: hsl(359, 60%, calc(52% + var(--darken)));
}

.blue-theme {
  --col-h: 220;
  --col-s: 80%;
  --col-l: 40%;
  --col-btn-bg: hsl(214, 100%, 23%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.darkblue-theme {
  --col-h: 240;
  --col-s: 80%;
  --col-l: 40%;
  --col-btn-bg: hsl(214, 100%, 23%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.brown-theme {
  --col-h: 15;
  --col-s: 60%;
  --col-l: 40%;
  --col-btn-bg: hsl(0, 51%, 33%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.grey-theme {
  --col-h: 0;
  --col-s: 0%;
  --col-l: 10%;
  --col-btn-bg: hsl(0, 51%, 33%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.green-theme {
  --col-h: 100;
  --col-s: 70%;
  --col-l: 30%;
  --col-btn-bg: hsl(112, 11%, 38%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.pink-theme {
  --col-h: 328;
  --col-s: 80%;
  --col-l: 44%;
  --col-btn-bg: hsl(112, 11%, 38%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.violet-theme {
  --col-h: 271;
  --col-s: 76%;
  --col-l: 40%;
  --col-btn-bg: hsl(112, 11%, 38%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.mustard-theme {
  --col-h: 45;
  --col-s: 70%;
  --col-l: 30%;
  --col-btn-bg: hsl(112, 11%, 38%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.crimson-theme {
  --col-h: 348;
  --col-s: 70%;
  --col-l: 40%;
  --col-btn-bg: hsl(112, 11%, 38%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.cyan-theme {
  --col-h: 200;
  --col-s: 80%;
  --col-l: 30%;
  --col-btn-bg: hsl(112, 11%, 38%);
  --col-btn-fg: hsl(0, 0%, 100%);
  --col-primary: hsl(var(--col-h), var(--col-s), calc(var(--col-l) - 10%));
  --col-primary-dark: hsl(var(--col-h), var(--col-s), calc(var(--col-l) + var(--darken)));
}

.text-danger, a.text-danger, .text-error {
  color: var(--col-danger);
}
.text-danger a, a.text-danger a, .text-error a {
  color: var(--col-danger);
}

.text-danger-bold, a.text-danger-bold, .text-error-bold, .text-error-bold a {
  color: #FFF !important;
  background: var(--col-danger) !important;
}
.text-danger-bold a, .text-danger-bold a.missing, a.text-danger-bold a, a.text-danger-bold a.missing, .text-error-bold a, .text-error-bold a.missing, .text-error-bold a a, .text-error-bold a a.missing {
  color: #FFF;
}

.text-warning {
  color: var(--col-warning);
}

.text-warning-bold {
  color: #FFF !important;
  background: var(--col-warning) !important;
}

.text-info, .text-success {
  color: var(--col-success);
}

.text-info-bold, .text-success-bold {
  background: var(--col-success);
  color: #FFF;
}

.text-bold, .bold {
  font-weight: bold;
}

.color-span {
  min-width: 100px;
  width: 100px;
  display: inline-block;
  padding: 0 10px;
}

.fa.fa-check {
  color: var(--col-success);
}

.fa.fa-times {
  color: var(--col-danger);
}

.red {
  color: red;
}

.blue {
  color: blue;
}

.green {
  color: green;
}

.yellow {
  color: yellow;
}

@font-face {
  font-family: "Roboto";
  src: url("/ci/assets/fonts/Roboto/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto Mono";
  src: url("/ci/assets/fonts/Roboto/RobotoMono-VariableFont_wght.ttf") format("truetype"), url("/ci/assets/fonts/Roboto/RobotoMono-Italic-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "Consolas";
  src: url("/ci/assets/fonts/Consolas.ttf") format("truetype");
}
:root {
  --font-main: Inter, Roboto, arial, sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --font-fs: .78rem;
  --font-h1-size: 1.6rem;
  --font-h-step: 0.125rem;
  --lh: 1;
  --lh-navbar: 2;
  --lh-header: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  align-items: stretch;
  align-content: stretch;
  background: var(--col-body);
  font-family: var(--font-main);
  font-size: var(--font-fs);
}

main {
  min-height: 100vh;
  flex: 1;
  padding-bottom: 10em;
}

footer {
  margin: 0;
  padding: 4px;
  color: #fff;
  font-size: 0.9em;
  flex: 0 1 60px;
  background: #333;
  text-align: center;
}
footer div {
  padding: 5px;
}
footer a, footer .text-center a {
  text-align: center;
  display: inline-block;
  color: #fff;
  white-space: nowrap;
  width: 100px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
  color: var(--col-main);
  margin: 0;
}

h1 {
  font-size: var(--font-h1-size);
}

h2 {
  font-size: calc(var(--font-h1-size) - var(--font-h-step));
}

h3 {
  font-size: calc(var(--font-h1-size) - var(--font-h-step) * 2);
}

h4 {
  font-size: calc(var(--font-h1-size) - var(--font-h-step) * 3);
}

h5 {
  font-size: calc(var(--font-h1-size) - var(--font-h-step) * 4);
}

h6 {
  font-size: calc(var(--font-h1-size) - var(--font-h-step) * 5);
}

#content {
  margin: 20px auto;
  width: min(98%, 1200px);
  position: relative;
}
#content > table, #content > div {
  width: 100%;
}
@media screen and (max-width: 800px) {
  #content {
    margin: 20px auto;
    width: 100%;
  }
}

:focus {
  outline: 0;
}

ul {
  list-style: none;
}
ul > li {
  list-style: none;
}
ul.disc {
  list-style: disc;
}
ul.disc li {
  list-style: disc;
}

ol {
  margin: 0;
  padding-left: 16px;
}

.center {
  margin: auto;
}

.datego {
  font-family: var(--font-main) !important;
  background: none;
  border: none;
  text-align: center;
}

.date-ajax {
  font-family: var(--font-main) !important;
  background: none !important;
  border: none !important;
  font-size: 1em !important;
}

.strike td {
  text-decoration: line-through;
}
.strike td.last-column {
  text-decoration: none !important;
}

td.strike, span.strike {
  text-decoration: line-through;
}

.no-permission {
  color: #aaa !important;
}

a.norounding, .norounding {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin: 0;
}

a.inherit {
  color: inherit;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.active {
  background: #d8f11f !important;
}

.inline-edit, .ajax-checkbox {
  cursor: pointer;
}

.inline-edit-active {
  background: #00A001;
  color: #FFF;
  border: 1px solid #fff;
  padding-left: 4px;
  padding-right: 4px;
}

.inline-edit-error {
  background: red;
}

.grid-auto-200 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.listing-header {
  padding: 2px 3px;
  background: var(--col-th-bg);
  line-height: var(--lh-header);
  border-bottom: thin solid #777;
}
.listing-header a {
  margin: 0;
}
.listing-header form {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  line-height: var(--lh-header);
  padding: 0;
  margin: 0;
}
.listing-header form input, .listing-header form select, .listing-header form button {
  line-height: var(--lh-header);
  height: 100%;
  outline: none;
  border: none;
  border-radius: 0;
  margin: 0;
}
.listing-header form input {
  border-left: 1px solid #ccc;
  width: 10rem;
}
.listing-header form select {
  width: 10rem;
}
.listing-header form button {
  background: var(--col-warning);
}

input[type=text], textarea {
  font-family: var(--font-mono);
}

.header {
  background: var(--col-th-bg);
  color: var(--col-th-fg);
  font-weight: bold;
  padding: 2px 4px 1px 4px;
  align-content: center;
  line-height: var(--lh-header);
}
.header > div {
  align-content: center;
}
.header a, .header .dropdown-text {
  color: var(--col-th-fg);
}
.header a.missing {
  border-bottom: 2px solid red;
  color: inherit;
}
.header label {
  color: #FFF;
}
@media screen and (max-width: 760px) {
  .header {
    height: auto;
  }
}

.header + .header, .header + table, .header + .scroll-wrapper, .header-top-border {
  border-top: 1px solid var(--col-menu-bg-border);
}

.subheader {
  border-bottom: 1px solid #ddd;
  color: #555;
  font-weight: bold;
  margin-top: 8px;
  padding-left: 2px;
}

.nowrap {
  white-space: nowrap;
}

.shorten {
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-previous {
  display: inline-block;
  margin-right: 15px;
}

.columns-2 {
  columns: 2;
}

.columns-4 {
  columns: 4;
}

@media (width < 780px) {
  .columns-1, .columns-2, .columns-3, .columns-4, .columns-5 {
    columns: 1;
  }
}
.obj-to-html {
  padding: 0;
  margin: 0;
}
.obj-to-html ul {
  margin: 0;
  padding-left: 10px;
}
.obj-to-html label {
  font-weight: bold;
  text-transform: capitalize;
}
.obj-to-html label::after {
  content: ": ";
}

#flash-msg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: #555 5px 5px 5px;
  z-index: 1000;
}
#flash-msg > div {
  padding: 5px;
  font-weight: bold;
  font-size: 1.4em;
}

a.missing {
  color: red;
}

.mode-testing {
  margin-right: 4px;
  padding: 0 2px;
  background: red;
}

.mode-production {
  padding: 0 2px;
  margin-right: 4px;
  background: green;
}

.div-info label.checkbox, label.checkbox {
  all: unset;
  cursor: pointer;
}
.div-info label.checkbox.block, label.checkbox.block {
  display: block;
}

.fa {
  padding: 0 8px;
  color: var(--col-primary);
}

.header .fa, caption .fa, th .fa {
  color: #fff;
}

.paginate {
  display: inline-flex;
  text-align: right;
  min-width: 180px;
  white-space: nowrap;
}
.paginate > div {
  flex: 1;
}
.paginate .fa {
  font-size: 1.1em;
}

input[type=checkbox], input[type=radio] {
  cursor: pointer;
}
input[type=checkbox]:hover, input[type=radio]:hover {
  transform: scale(1.3, 1.3);
}

.pre {
  font-family: var(--font-mono);
  white-space: pre;
}

.pre-wrap {
  font-family: var(--font-mono);
  white-space: pre-wrap;
}

pre.numbered {
  counter-reset: line;
}
pre.numbered > div:before {
  counter-increment: line;
  content: counter(line);
  margin-right: 10px;
}

.pl-2 {
  padding-left: 2px;
}

.pl-4 {
  padding-left: 4px;
}

.pr-2 {
  padding-right: 2px;
}

.pr-4 {
  padding-right: 4px;
}

.p0 {
  padding: 0;
}

.p2 {
  padding: 2px;
}

.p4 {
  padding: 4px;
}

.ball {
  border: 1px solid #ccc;
}

.bb {
  border-bottom: 1px solid #ccc;
}

.bt {
  border-top: 1px solid #ccc;
}

.br {
  border-right: 1px solid #ccc;
}

.bl {
  border-left: 1px solid #ccc;
}

.grow {
  display: grid;
  grid-template-columns: 160px 1fr;
}
.grow label {
  display: block;
  color: #555;
}

.aright,
.text-right {
  text-align: right;
}

.aleft,
.text-left {
  text-align: left;
}

.acenter,
.text-center {
  text-align: center;
}

.text-bold {
  font-weight: bold;
}

.float-right {
  float: right;
}

ul.zebra {
  padding: 0;
  margin: 4px;
  list-style: none;
}
ul.zebra > li {
  padding: 0 4px;
  list-style: none;
}
ul.zebra > li:nth-child(odd) {
  background: var(--col-row1);
}
ul.zebra > li:nth-child(even) {
  background: #EEE;
}
ul.zebra > li:hover {
  background: #dedede;
}
ul.zebra > li.sep {
  height: 0;
  border-bottom: 1px solid #999;
}

ol.zebra {
  margin: 4px;
}
ol.zebra > li {
  padding: 0 4px;
}
ol.zebra > li:nth-child(odd) {
  background: var(--col-row1);
}
ol.zebra > li:nth-child(even) {
  background: var(--col-row2);
}
ol.zebra > li:hover {
  background: #dedede;
}

div.zebra > div:nth-child(odd) {
  background: var(--col-row1);
}
div.zebra > div:nth-child(even) {
  background: var(--col-row2);
}
div.zebra > div:hover {
  background: #dedede;
}

div.zebra-nohover > div:nth-child(odd) {
  background: var(--col-row1);
}
div.zebra-nohover > div:nth-child(even) {
  background: var(--col-row2);
}

div.zebra2 > div:nth-child(4n),
div.zebra2 > div:nth-child(4n-1) {
  background: var(--col-row1);
}

div.zebra2 > div:nth-child(4n-2),
div.zebra2 > div:nth-child(4n-3) {
  background: var(--col-row2);
}

table.nowrap td,
table.nowrap th,
th.nowrap,
td.nowrap,
a.nowrap,
div.nowrap,
span.nowrap {
  white-space: nowrap;
}

.datego {
  cursor: pointer;
}

.total {
  color: #000000;
  background: #90EE90;
  text-transform: uppercase;
  text-align: left;
  font-weight: bold;
  vertical-align: middle;
}

.scroll-wrapper {
  max-width: 100%;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--col-navbar-bg) #f1f1f1;
}
.scroll-wrapper table {
  width: 100%;
}
.scroll-wrapper table th, .scroll-wrapper table td {
  white-space: nowrap;
}

.ui-autocomplete {
  z-index: 10000;
}

.ui-widget,
.ui-widget button {
  font-family: Roboto, Arial, sans-serif;
  font-size: 1em;
}

.ui-dialog {
  padding: 0;
  border-radius: 5px;
  box-shadow: 10px 10px 5px #888888;
  background: #fff;
}
.ui-dialog .ui-dialog-content {
  padding: 0.3em 0.5em;
}
.ui-dialog .ui-dialog-titlebar {
  margin: 0;
  padding: 0.4em 0.6em;
  background: #eee;
  color: #000;
  border: none;
  border-bottom: 1px solid #999;
}
.ui-dialog .ui-dialog-buttonpane {
  background: #fdfdfd;
  border-top: 1px solid #999;
}
.ui-dialog .ui-dialog-buttonpane button {
  margin: 0.1em 0.1em 0.1em 0;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .ui-dialog {
    width: 96% !important;
    left: 2% !important;
  }
  .ui-dialog .ui-dialog-content {
    width: auto;
    overflow: auto;
  }
}

.ui-widget-overlay {
  background: #777;
  opacity: 0.5;
}

.ui-button-text-only .ui-button-text {
  padding: 0.1em 0.3em;
}

.ui-datepicker {
  margin-top: 0;
  border: 1px solid #ddd;
  box-shadow: 8px 8px 8px #888888;
  font-size: 1.2em;
}
.ui-datepicker th, .ui-datepicker td {
  font-family: Arial;
}
.ui-datepicker select {
  border: none;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  cursor: pointer;
  padding: 10px;
}
.ui-datepicker .ui-widget-header {
  background: #fff;
  color: #000;
  padding: 1px;
  border: none;
}
.ui-datepicker .ui-datepicker-current-day a {
  background: red !important;
  color: #fff !important;
}
.ui-datepicker .ui-datepicker-today a {
  background: yellow !important;
  color: #000 !important;
}
.ui-datepicker .ui-datepicker-calendar th {
  background: #fff;
  color: #000;
}
.ui-datepicker .ui-datepicker-calendar td a {
  background: #fff;
  color: #000;
  border: none;
  padding: 4px 8px;
}
.ui-datepicker .ui-datepicker-calendar td a:hover {
  font-weight: bold;
  background: #dad8dc;
}
.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-other-month a {
  color: rgba(0, 0, 0, 0.5);
}
.ui-datepicker .ui-datepicker-calendar .ui-state-highlight {
  font-weight: bold;
  background: #dad8dc;
}

.ui-datepicker-multi .ui-datepicker-group {
  padding: 0;
}
.ui-datepicker-multi .ui-datepicker-group table {
  width: 100%;
}

.ui-datepicker-month {
  font-weight: normal;
}

.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
  border-top-left-radius: 0;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
  border-top-right-radius: 0;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
  border-bottom-left-radius: 0;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
  border-bottom-right-radius: 0;
}

.ui-menu .ui-menu-item.sep {
  border-bottom: 1px solid !important;
}

.navbar {
  display: flex;
  justify-content: space-between;
  background: var(--col-navbar-bg);
  line-height: var(--lh-navbar);
  align-content: center;
}
.navbar .dropdown > li {
  white-space: nowrap;
}
.navbar > div {
  padding: 0;
}
.navbar a.msg-count {
  display: block;
  background-color: var(--col-danger);
  padding: 0 8px 0 8px;
  font-weight: bold;
  line-height: var(--lh-navbar);
  align-content: center;
}
.navbar #flash-msg-show {
  display: none;
}
.navbar .left .dropdown > li a {
  white-space: nowrap;
}
.navbar .right form {
  margin: 0;
  padding: 0;
}
.navbar .right .navbar-search {
  display: flex;
  padding: 0;
}
.navbar .right .navbar-search > * {
  flex: 1;
  border-radius: 0;
  border: none;
  line-height: var(--lh-navbar);
  margin: 0;
}
.navbar .right .navbar-search button {
  max-width: 28px;
  background: var(--col-warning);
}
.navbar .right .navbar-search #search_for {
  padding-left: 5px;
}
.navbar .right .navbar-search #search_by {
  border-left: 1px solid #ccc;
  max-width: 40%;
}
@media screen and (max-width: 768px) {
  .navbar {
    display: block;
  }
  .navbar .dropdown > li a {
    padding: 0 3px;
  }
}

.flex {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  flex-wrap: wrap;
}
@media screen and (max-width: 760px) {
  .flex {
    display: block;
    text-align: left;
  }
}
.flex > div {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .flex-mobile {
    display: flex;
  }
  .flex-mobile > div {
    flex: 1;
  }
}

.flex-links {
  display: flex;
  flex-wrap: wrap;
}
.flex-links > a {
  display: block;
  flex: 1;
  text-align: center;
}
.flex-links > a.text-right {
  text-align: right;
}
.flex-links > a:hover {
  background: #fff;
}

.flex-links-row {
  display: flex;
  background: var(--col-main-light);
  flex-wrap: wrap;
}
.flex-links-row a {
  flex: 1;
  padding: 2px;
  color: #555;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.flex-links-row a.no-line {
  border-bottom: none;
}
.flex-links-row a.text-right {
  text-align: right;
}
.flex-links-row a:last-child {
  border-right: none;
}
.flex-links-row a:hover {
  background: var(--col-main);
  color: #fff;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink {
  flex-shrink: 1;
}

.flex-1 {
  flex: 1;
}

.header.flex, .justify.flex {
  align-items: center;
}
.header.flex > *, .justify.flex > * {
  flex: none;
}
@media screen and (max-width: 760px) {
  .header.flex, .justify.flex {
    display: block;
    text-align: left;
  }
}

.div-mobile-box {
  background: #fff;
  padding: 4px 4px 0 4px;
}
.div-mobile-box:nth-child(1) {
  margin-top: 0;
}
.div-mobile-box .flex-links {
  text-align: center;
  border-right: 1px solid #e5e5e5;
}
.div-mobile-box .flex-links-row {
  background: #f4f4f4;
}

.div-form {
  background: #FFF;
  margin: auto;
  width: 100%;
  padding-bottom: 4px;
}
.div-form label {
  color: #555;
  display: inline-block;
  padding-left: 4px;
  vertical-align: top;
}
.div-form .subheader {
  border-bottom: 1px solid #ddd;
  color: #555;
  font-weight: bold;
  margin-top: 8px;
  padding-left: 5px;
}
.div-form hr {
  background: #DDD;
  border: 0;
  height: 1px;
}
.div-form input {
  font-size: 1.1em;
  padding: 4px;
}
.div-form input[type=text]:focus, .div-form input[type=password]:focus {
  outline: none;
  background: lightyellow;
}
.div-form input[type=color] {
  background: #f7f7f7;
  border: none;
}
.div-form input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
@media (max-width: 760px) {
  .div-form input {
    padding: 4px;
  }
}
.div-form textarea {
  min-height: 60px;
}
.div-form textarea:focus {
  outline: none;
  background: lightyellow;
}
.div-form select:not([multiple]) {
  /* styling */
  outline: none;
  background-color: white;
  border: thin solid #999;
  border-radius: 4px;
  display: inline-block;
  font-size: 1.1em;
  line-height: inherit;
  padding: 0.2em 1.6em 0.2em 2px;
  margin: 2px;
  /* reset */
  /*margin: 0;*/
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 10px) calc(.8em + 0px), calc(100% - 5px) calc(.8em + 0px), calc(100% - 1.5em) 0;
  background-size: 5px 5px, 5px 5px, 1px 2em;
  background-repeat: no-repeat;
}
.div-form select:not([multiple]) option {
  background: #fff;
}
.div-form select:not([multiple]):focus {
  outline: none;
  background: lightyellow;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 10px) calc(.8em + 0px), calc(100% - 5px) calc(.8em + 0px), calc(100% - 1.5em) 0;
  background-size: 5px 5px, 5px 5px, 1px 2em;
  background-repeat: no-repeat;
}
.div-form select:not([multiple]):focus:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
.div-form .row {
  display: flex;
  line-height: 1.6;
  align-items: center;
}
.div-form .row:last-child {
  padding-bottom: 4px;
}
.div-form .row > div:nth-child(1), .div-form .row > label {
  color: #555;
  max-width: 160px;
  padding-right: 8px;
  padding-left: 4px;
  min-width: 120px;
}
.div-form .row > div:nth-child(1) > label, .div-form .row > label > label {
  color: #555;
  display: inline-block;
}
.div-form .row > div:nth-child(2) {
  width: 100%;
}
.div-form .row-4 > div:nth-child(1), .div-form .row-4 > label {
  width: 12.5%;
}
.div-form .row-4 > div:nth-child(2) {
  width: 87.5%;
}
.div-form .form-error {
  display: block;
  color: red;
}
.div-form .error {
  border: 1px solid #ffeb99;
  border-left: 3px solid red;
}
.div-form .error-messages {
  padding: 4px;
  border: 2px solid red;
  background: #ffebef;
  display: none;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}
.div-form .zebra .row:nth-child(odd) {
  background: var(--col-row1);
}
.div-form .zebra .row:nth-child(even) {
  background: var(--col-row2);
}
.div-form.sm input {
  font-size: 12px;
  padding: 1px;
}
.div-form.sm select {
  font-size: 12px;
}

@media screen and (max-width: 760px) {
  .ui-autocomplete .ui-menu-item a {
    padding: 6px;
    font-size: 1.1em;
  }
}

*:required,
select:not([multiple]):required,
[required=required],
[data-validation~=required],
[data-validation~=length],
select[data-validation~=required],
select:not([multiple])[data-validation~=required] {
  border-left: 3px solid red;
}

.size-xxs {
  width: 30px;
  max-width: 90%;
}

.size-xs {
  width: 40px;
  max-width: 90%;
}

.size-sm {
  width: 80px;
  max-width: 90%;
}

.size-md {
  width: 140px;
  max-width: 90%;
}

.size-lg {
  width: 200px;
  max-width: 90%;
}

.size-xg {
  width: 240px;
  max-width: 90%;
}

.size-xxg {
  width: 280px;
  max-width: 90%;
}

.size-xxxg {
  width: 320px;
  max-width: 90%;
}

.size-90p {
  width: 90%;
  max-width: 90%;
}

.size-100p {
  width: 100%;
  max-width: 100%;
}

.grid-form {
  background: #FFF;
  margin: auto;
  width: 100%;
  padding-bottom: 4px;
}
.grid-form label {
  color: #555;
  display: block;
  padding-left: 4px;
  vertical-align: top;
  width: 100%;
}
.grid-form .subheader {
  border-bottom: 1px solid #ddd;
  color: #555;
  font-weight: bold;
  margin-top: 8px;
  padding-left: 5px;
}
.grid-form hr {
  background: #DDD;
  border: 0;
  height: 1px;
}
.grid-form input, .grid-form select, .grid-form textarea {
  font-size: 1.1em;
  width: 100%;
  padding: 4px;
}
.grid-form input[type=text]:focus, .grid-form input[type=password]:focus, .grid-form select[type=text]:focus, .grid-form select[type=password]:focus, .grid-form textarea[type=text]:focus, .grid-form textarea[type=password]:focus {
  outline: none;
  background: lightyellow;
}
.grid-form input[type=color], .grid-form select[type=color], .grid-form textarea[type=color] {
  background: #f7f7f7;
  border: none;
}
.grid-form input[type=color]::-webkit-color-swatch-wrapper, .grid-form select[type=color]::-webkit-color-swatch-wrapper, .grid-form textarea[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
@media (max-width: 760px) {
  .grid-form input, .grid-form select, .grid-form textarea {
    padding: 4px;
  }
}
.grid-form textarea {
  min-height: 60px;
}
.grid-form select:not([multiple]) {
  /* styling */
  outline: none;
  background-color: white;
  border: thin solid #999;
  border-radius: 4px;
  display: inline-block;
  font-size: 1.1em;
  line-height: inherit;
  padding: 0.2em 1.6em 0.2em 2px;
  margin: 2px;
  /* reset */
  /*margin: 0;*/
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 10px) calc(.8em + 0px), calc(100% - 5px) calc(.8em + 0px), calc(100% - 1.5em) 0;
  background-size: 5px 5px, 5px 5px, 1px 2em;
  background-repeat: no-repeat;
}
.grid-form select:not([multiple]) option {
  font-size: 1.4em !important;
}
.grid-form select:not([multiple]):focus {
  outline: none;
  background: lightyellow;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 10px) calc(.8em + 0px), calc(100% - 5px) calc(.8em + 0px), calc(100% - 1.5em) 0;
  background-size: 5px 5px, 5px 5px, 1px 2em;
  background-repeat: no-repeat;
}
.grid-form select:not([multiple]):focus:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
.grid-form :required,
.grid-form [required=required],
.grid-form [data-validation~=required],
.grid-form [data-validation~=length],
.grid-form select[data-validation~=required] {
  border-left: 3px solid red;
}
.grid-form .row {
  line-height: 20px;
  padding: 2px 4px;
}
.grid-form .form-error {
  display: block;
  color: red;
}
.grid-form .error {
  border: 1px solid #ffeb99;
  border-left: 3px solid red;
}
.grid-form .error-messages {
  padding: 4px;
  border: 2px solid red;
  background: #ffebef;
  display: none;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}
.grid-form .zebra .row:nth-child(odd) {
  background: var(--col-row1);
}
.grid-form .zebra .row:nth-child(even) {
  background: var(--col-row2);
}

@media screen and (max-width: 760px) {
  .ui-autocomplete .ui-menu-item a {
    padding: 6px;
    font-size: 1.1em;
  }
}

.div-info {
  background: #FFF;
  margin: auto auto;
  width: 100%;
}
.div-info label {
  color: #999;
  display: inline-block;
  font-weight: 500;
  padding-left: 10px;
  width: 120px;
}
.div-info hr {
  background: #ddd;
  border: 0;
  height: 1px;
}
.div-info .row {
  display: flex;
  align-items: center;
  line-height: 1.4;
}
.div-info .row:last-child {
  padding-bottom: 4px;
}
.div-info .row > div:nth-child(1) {
  color: #999;
  -webkit-flex: 1;
  flex: 1;
  padding-right: 8px;
  padding-left: 10px;
  width: 120px;
}
.div-info .row > div:nth-child(2) {
  -webkit-flex: 3;
  flex: 3;
}

.div-xsl {
  background: #fff;
  margin: 20px auto;
  width: 800px;
}
.div-xsl div.header {
  background: var(--col-th-bg);
  color: var(--col-th-fg);
  border-bottom: 1px solid #999;
  padding-left: 4px;
}
.div-xsl h3 {
  margin-top: 20px;
}
.div-xsl table {
  line-height: 10pt;
  width: 100%;
  border-bottom: 1px solid #aaa;
  margin: 0;
}
.div-xsl table td {
  padding: 2px;
  vertical-align: top;
}
.div-xsl table .tbl_heading {
  background: var(--col-th-bg);
  width: 20%;
}
.div-xsl .h1center {
  background: lightgreen;
  color: #000;
  text-align: center;
  font-size: 1.3em;
  border-bottom: 1px solid navy;
}
.div-xsl .narr_table {
  width: 100%;
}
.div-xsl .narr_table .narr_tr {
  background-color: #ffe;
}
.div-xsl .narr_table .narr_th {
  background-color: #999;
}
.div-xsl .narr_table .tbl_heading {
  background: #999;
  width: 20%;
}
.div-xsl .td_label {
  color: var(--col-th-fg);
}
.div-xsl .input-match-patient {
  width: 240px;
}

td.isScheduled {
  font-weight: bold;
}

.div-history {
  width: 100%;
}
.div-history table.relaxed {
  margin-bottom: 10px;
  width: 100%;
}
.div-history table.relaxed th {
  padding: 0;
  background: var(--col-main-light);
  color: #000;
  height: auto;
}
.div-history table.relaxed th a {
  color: #000;
}
.div-history table.relaxed th .new-button {
  background: var(--col-success);
  color: #fff;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
  padding: 0 5px 1px 5px;
  display: inline-block;
  border: 1px solid var(--col-success-dark);
}
.div-history table.relaxed th .new-button:hover {
  background: var(--col-success-dark);
}
.div-history table.relaxed td:last-child, .div-history table.relaxed th:last-child {
  text-align: right;
  white-space: nowrap;
}
.div-history table.relaxed td:last-child a, .div-history table.relaxed th:last-child a {
  display: inline-block;
}
.div-history table.relaxed .up-down {
  width: 30px;
  white-space: nowrap;
}
.div-history table.relaxed .up-down .flex-links {
  flex-wrap: nowrap;
}
.div-history table.relaxed .rank {
  width: 20px;
}
.div-history #tblmedlist tr td {
  color: #009600;
}
.div-history #tblmedlist tr.otc td {
  color: #000;
}
.div-history #tblmedlist td.med-note {
  color: #000;
}
.div-history #tblallergieslist td {
  color: red;
}
.div-history #tblsmokinglist {
  margin-top: 0;
}

.divider {
  padding: 20px;
}

.history-dialog .div-form label {
  width: 100%;
}

table caption {
  padding: 2px 3px;
  line-height: var(--lh-header);
}
table tr.sep {
  border-top: 1px solid #dedede;
}
table tr.subheader th, table tr.subheader td {
  color: #000;
  background: none;
  border-bottom: 1px solid #999;
  font-weight: bold;
}
table tr.number {
  font-family: var(--font-mono);
  text-align: right;
}
table td {
  vertical-align: middle;
}
table .last-column {
  text-align: right;
  white-space: nowrap;
}
table .last-column a {
  display: inline-block;
  padding: 0 4px;
  margin: 0;
}
table .last-column a:hover {
  background: var(--col-primary);
  color: #fff;
}
table .last-column a:hover .fa {
  background: var(--col-primary);
  color: #fff;
}
table.relaxed td, table.relaxed th, table tr.relaxed td, table tr.relaxed th {
  padding: 2px 3px;
}
table.relaxed thead tr, table tr.relaxed thead tr {
  line-height: var(--lh-header);
}
table.tight td, table.tight th, table tr.tight td, table tr.tight th {
  padding: 1px 1px;
}
table.tight thead tr, table tr.tight thead tr {
  line-height: 16px;
  height: 18px;
}
table.tight .number, table tr.tight .number {
  padding-right: 3px;
}
table.full {
  width: 100%;
}
table tfoot td {
  background: lightgreen;
}
table.zebra tr:nth-child(odd) {
  background: var(--col-row1);
}
table.zebra tr:nth-child(even) {
  background: var(--col-row2);
}
table.zebra tr:hover {
  background: #dedede;
}
table.zebra.nohover:hover {
  background: none;
}
table.zebra.pt-search-results tr:not([data-ptstatus=A]) {
  background: #ffd7d7;
}
table.zebra2 tr:nth-child(4n),
table.zebra2 tr:nth-child(4n-1) {
  background: var(--col-row1);
}
table.zebra2 tr:nth-child(4n-2),
table.zebra2 tr:nth-child(4n-3) {
  background: var(--col-row2);
}
table.tbody-zebra tbody:nth-child(odd) {
  background: var(--col-row1);
}
table.tbody-zebra tbody:nth-child(even) {
  background: var(--col-row2);
}
table.nowrap td {
  white-space: nowrap;
}
table.subtable th {
  color: #000;
  background: none;
  border-bottom: 1px solid #999;
  font-weight: bold;
}
table.numbered tbody tr {
  counter-increment: rowNumber;
}
table.numbered tbody tr td:first-child:before {
  content: counter(rowNumber);
}

.table-cases .documented_0,
.table-cases .documented_1,
.table-cases .documented_2,
.table-cases .documented_3,
.table-cases .documented_4,
.table-cases .documented_5, .div-cases .documented_0,
.div-cases .documented_1,
.div-cases .documented_2,
.div-cases .documented_3,
.div-cases .documented_4,
.div-cases .documented_5 {
  display: inline-block;
  padding: 0 4px;
}
.table-cases .documented_0,
.table-cases .documented_2, .div-cases .documented_0,
.div-cases .documented_2 {
  background: yellow;
}
.table-cases .documented_3, .div-cases .documented_3 {
  background: lightgreen;
}
.table-cases .count, .div-cases .count {
  display: inline-block;
  width: 20px;
}
.table-cases .right, .div-cases .right {
  display: inline-block;
  float: right;
  padding-right: 4px;
}
.table-cases .visit-date, .div-cases .visit-date {
  display: inline-block;
  width: 70px;
}
.table-cases .flex-links, .div-cases .flex-links {
  background: none;
}
.table-cases .flex-links a, .div-cases .flex-links a {
  text-align: left;
}
.table-cases .superbill_not_done, .table-cases .patient-todo, .div-cases .superbill_not_done, .div-cases .patient-todo {
  display: inline-block;
  background: red;
  padding: 0 4px;
  color: #fff;
}
.table-cases .patient-todo-working, .div-cases .patient-todo-working {
  background: green;
}
.table-cases .superbill_done, .div-cases .superbill_done {
  display: inline-block;
  padding: 0 4px;
}
.table-cases .superbill_not_submitted, .div-cases .superbill_not_submitted {
  background: #90EE90;
  padding: 0 4px;
}
.table-cases .number, .div-cases .number {
  padding-right: 4px;
}

/* LEVEL ONE */
ul.dropdown {
  --menu-bg-color: #fefefe;
  --menu-hover-color: #6eb8fd;
  --menu-outline-color: #999;
  --menu-border-color: #ddd;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
@media (width < 800px) {
  ul.dropdown {
    flex-wrap: wrap;
  }
}
ul.dropdown li {
  align-content: center;
  font-weight: bold;
  background: transparent;
  list-style: none;
  text-align: left;
}
ul.dropdown li a, ul.dropdown li .dropdown-text {
  display: block;
  padding: 0 8px;
  color: #222;
}
ul.dropdown li a span.fright, ul.dropdown li .dropdown-text span.fright {
  float: right;
}
ul.dropdown li:last-child a {
  border-right: none;
}
ul.dropdown li .hover, ul.dropdown li:hover {
  background: var(--menu-hover-color);
  color: #111;
  position: relative;
}
ul.dropdown li .hover a, ul.dropdown li:hover a {
  color: #111;
}
ul.dropdown li .hover > ul, ul.dropdown li:hover > ul {
  display: block;
}
ul.dropdown li li a:hover {
  color: #FFF;
}
ul.dropdown > li a {
  color: var(--col-th-fg);
}
ul.dropdown > li a:after {
  content: "▼";
  font-size: 10px;
  margin-left: 4px;
}
ul.dropdown > li:hover {
  background: var(--menu-bg-color);
  border-color: var(--menu-outline-color);
}
ul.dropdown > li:hover > ul {
  left: -1px;
  border-width: 0 1px 1px 1px;
}
ul.dropdown ul {
  min-width: 160px;
  display: none;
  position: absolute;
  top: 100%;
  padding: 0;
  border: 1px solid var(--menu-outline-color);
  z-index: 1000;
  /*
      LEVEL THREE
  */
}
ul.dropdown ul li {
  font-weight: normal;
  background: var(--menu-bg-color);
  color: #000;
  border-bottom: 1px solid var(--menu-border-color);
  white-space: nowrap;
  padding: 6px 2px;
  line-height: 1.2;
}
ul.dropdown ul li a {
  border-right: none;
  width: 100%;
  display: inline-block;
  padding-right: 30px;
}
ul.dropdown ul li > a:after {
  content: "►";
  color: #888;
  position: absolute;
  right: 0;
  font-size: 10px;
  margin-top: 2px;
  margin-right: 4px;
}
ul.dropdown ul ul {
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0;
}
ul.dropdown ul.dropdown-full li {
  white-space: nowrap;
}
ul.dropdown a:only-child:after {
  content: "";
}
ul.dropdown li.sep {
  padding: 0;
  height: 0;
  border-bottom: 1px solid var(--menu-outline-color);
}
ul.dropdown .flex-links a:hover {
  background: var(--menu-hover-color);
  color: #FFF;
}
ul.dropdown .no-menu:hover {
  background: none;
}
ul.dropdown .no-menu:hover a {
  color: #fff;
}
ul.dropdown .no-menu a {
  display: inline;
}
ul.dropdown .no-menu a:after {
  content: "";
}
ul.dropdown .right {
  text-align: right;
}
ul.dropdown .right:hover {
  background: none;
}
ul.dropdown.inherit > li > a {
  color: inherit;
}
@media print {
  ul.dropdown {
    display: none;
  }
}

/* LEVEL ONE */
ul.vdropdown {
  --menu-bg-color: #fefefe;
  --menu-hover-color: #6eb8fd;
  --menu-outline-color: #999;
  --menu-border-color: #ddd;
  display: block;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
ul.vdropdown li {
  font-weight: bold;
  background: transparent;
  list-style: none;
  text-align: left;
  line-height: 1.2rem;
}
ul.vdropdown li a, ul.vdropdown li .dropdown-text {
  display: block;
  padding: 0 8px;
  color: #222;
}
ul.vdropdown li a span.fright, ul.vdropdown li .dropdown-text span.fright {
  float: right;
}
ul.vdropdown li:last-child a {
  border-right: none;
}
ul.vdropdown li .hover, ul.vdropdown li:hover {
  background: var(--menu-hover-color);
  color: #111;
  position: relative;
}
ul.vdropdown li .hover a, ul.vdropdown li:hover a {
  color: #111;
}
ul.vdropdown li .hover > ul, ul.vdropdown li:hover > ul {
  display: block;
}
ul.vdropdown li li a:hover {
  color: #FFF;
}
ul.vdropdown > li {
  background: var(--col-th-bg);
}
ul.vdropdown > li a {
  color: var(--col-th-fg);
  padding: 4px;
}
ul.vdropdown > li a:after {
  content: " ►";
  font-size: 10px;
  margin-left: 4px;
}
ul.vdropdown > li:hover {
  background: var(--menu-bg-color);
  border-color: var(--menu-outline-color);
}
ul.vdropdown > li:hover > ul {
  top: 0;
  left: 100%;
  border-width: 0 1px 1px 1px;
}
ul.vdropdown ul {
  min-width: 160px;
  display: none;
  position: absolute;
  top: 100%;
  padding: 0;
  border: 1px solid var(--menu-outline-color);
  z-index: 1000;
  /*
      LEVEL THREE
  */
}
ul.vdropdown ul li {
  font-weight: normal;
  background: var(--menu-bg-color);
  color: #000;
  border-bottom: 1px solid var(--menu-border-color);
  white-space: nowrap;
}
ul.vdropdown ul li a {
  border-right: none;
  width: 100%;
  display: inline-block;
  padding-right: 30px;
}
ul.vdropdown ul li > a:after {
  content: "►";
  color: #888;
  position: absolute;
  left: 90%;
  font-size: 10px;
  margin-top: 2px;
}
ul.vdropdown ul ul {
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0;
}
ul.vdropdown ul.dropdown-full li {
  white-space: nowrap;
}
ul.vdropdown a:only-child:after {
  content: "";
}
ul.vdropdown li.sep {
  height: 0;
  border-bottom: 1px solid var(--menu-outline-color);
}
ul.vdropdown .flex-links a:hover {
  background: var(--menu-hover-color);
  color: #FFF;
}
ul.vdropdown .no-menu:hover {
  background: none;
}
ul.vdropdown .no-menu:hover a {
  color: #fff;
}
ul.vdropdown .no-menu a {
  display: inline;
}
ul.vdropdown .no-menu a:after {
  content: "";
}
ul.vdropdown .right {
  text-align: right;
}
ul.vdropdown.inherit > li > a {
  color: inherit;
}
@media print {
  ul.vdropdown {
    display: none;
  }
}

#patient-nurse-todo-div {
  background: #ffebef;
  display: none;
  margin: auto;
  max-width: 1000px;
  position: absolute;
  width: 96%;
}
#patient-nurse-todo-div td {
  border-bottom: 1px solid #bbb;
  text-align: left;
}
#patient-nurse-todo-div td.last-column {
  width: 80px;
  text-align: right;
}
#patient-nurse-todo-div .workingon {
  background: #b1d3af;
}

.emn-tooltip label {
  display: inline-block;
  min-width: 80px;
  font-weight: 500;
}

.pagination {
  display: inline-block;
  padding: 0;
  margin: 4px 0;
}
.pagination li {
  display: inline-block;
  float: left;
  background: #fff;
  border: 1px solid #999;
  padding: 0;
  margin: 1px;
  height: 20px;
  line-height: 20px;
  min-width: 30px;
  text-align: center;
}
.pagination li a {
  display: block;
  width: 30px;
}
.pagination li.next_tag a, .pagination li.last_tag a, .pagination li.first_tag a {
  width: 60px;
}
.pagination li.cur_tag {
  font-weight: bold;
}
.pagination li:hover a {
  background: #aaa;
  color: white;
}

button.button,
a.button-link,
a.button,
button.btn,
a.btn-link,
a.btn {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  font-size: 1em;
  line-height: 1em;
  box-sizing: border-box;
  box-shadow: none;
  border: 1px solid transparent;
  padding: 3px 10px;
  display: inline-block;
  background: #BBB;
  color: #000;
  cursor: pointer;
}
button.button.no-margin,
a.button-link.no-margin,
a.button.no-margin,
button.btn.no-margin,
a.btn-link.no-margin,
a.btn.no-margin {
  margin: 0;
}
button.button.small,
a.button-link.small,
a.button.small,
button.btn.small,
a.btn-link.small,
a.btn.small {
  padding: 1px 5px;
}
button.button.large,
a.button-link.large,
a.button.large,
button.btn.large,
a.btn-link.large,
a.btn.large {
  padding: 5px 10px;
}
button.button.hidden,
a.button-link.hidden,
a.button.hidden,
button.btn.hidden,
a.btn-link.hidden,
a.btn.hidden {
  display: none;
}
button.button[disabled],
a.button-link[disabled],
a.button[disabled],
button.btn[disabled],
a.btn-link[disabled],
a.btn[disabled] {
  background: lightgrey;
  cursor: auto;
  pointer-events: none;
  color: #333;
}

button.button-primary,
a.button-primary,
button.btn-primary,
a.btn-primary {
  color: #fff;
  background: var(--col-primary);
}
button.button-primary:hover, button.button-primary:focus,
a.button-primary:hover,
a.button-primary:focus,
button.btn-primary:hover,
button.btn-primary:focus,
a.btn-primary:hover,
a.btn-primary:focus {
  background: var(--col-primary-dark);
}

button.button-success,
a.button-success,
button.btn-success,
a.btn-success {
  color: #fff;
  background: var(--col-success);
}
button.button-success:hover, button.button-success:focus,
a.button-success:hover,
a.button-success:focus,
button.btn-success:hover,
button.btn-success:focus,
a.btn-success:hover,
a.btn-success:focus {
  background: var(--col-success-dark);
}

button.button-info,
a.button-info,
button.btn-info,
a.btn-info {
  color: #fff;
  background: var(--col-info);
}
button.button-info:hover, button.button-info:focus,
a.button-info:hover,
a.button-info:focus,
button.btn-info:hover,
button.btn-info:focus,
a.btn-info:hover,
a.btn-info:focus {
  background: var(--col-info-dark);
}

button.button-warning,
a.button-warning,
button.btn-warning,
a.btn-warning {
  color: #fff;
  background: var(--col-warning);
}
button.button-warning:hover, button.button-warning:focus,
a.button-warning:hover,
a.button-warning:focus,
button.btn-warning:hover,
button.btn-warning:focus,
a.btn-warning:hover,
a.btn-warning:focus {
  background: var(--col-warning-dark);
}

button.button-danger,
a.button-danger,
button.btn-danger,
a.btn-danger {
  color: #fff;
  background: var(--col-danger);
}
button.button-danger:hover, button.button-danger:focus,
a.button-danger:hover,
a.button-danger:focus,
button.btn-danger:hover,
button.btn-danger:focus,
a.btn-danger:hover,
a.btn-danger:focus {
  background: var(--col-danger-dark);
}

.vcenter {
  display: flex;
  align-items: center;
}

.btn-group {
  padding: 0;
  display: inline-flex;
}
@media (width < 800px) {
  .btn-group {
    flex-wrap: wrap;
  }
}
.btn-group .btn {
  border-left: 1px solid #fff;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-left: none;
}

.btn-print .fa {
  color: #fff;
  background: transparent;
  font-size: 1.1em;
  cursor: pointer;
  margin: 0;
}
.btn.btn-ai {
  background: linear-gradient(135deg, #4da6ff, #1e90ff);
  color: #ffffff;
}

.btn.btn-ai:hover {
  background: linear-gradient(135deg, #1e90ff, #4da6ff);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(30, 144, 255, 0.35);
}

.btn.btn-ai:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(30, 144, 255, 0.2);
}

.btn.btn-ai:disabled {
  background: #a7cdee;
  cursor: not-allowed;
  box-shadow: none;
}

.patient-div {
  position: fixed;
  display: none;
  background: green;
  color: #FFF;
  width: 100%;
  border-bottom: 1px solid #fff;
  text-align: center;
  font-weight: bold;
  z-index: 990;
}
.patient-div > div {
  display: table-cell;
  padding: 4px;
}
.patient-div a {
  color: #FFF;
}
.patient-div .gc-cs-link {
  color: inherit !important;
  text-decoration: none !important;
}

.sticky {
  display: table;
  position: fixed;
  top: 0;
  width: 100%;
}

body.loading .ajax-loading {
  display: block;
}

.ajax-loading {
  height: 6px;
  width: 100%;
  left: 0;
  top: -1px;
  margin: 0;
  position: fixed;
  border: none;
  display: none;
  z-index: 1000;
  background: #ffffff linear-gradient(-45deg, var(--col-th-bg) 25%, transparent 25%, transparent 50%, var(--col-th-bg) 50%, var(--col-th-bg) 75%, transparent 75%, transparent);
  background-size: 50px 50px;
  animation: loadingmove 1s linear infinite;
}

@keyframes loadingmove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}
.pt-pic-thumbnail {
  width: 20px;
  height: 15px;
  max-height: 15px;
  margin: 0 5px;
  position: relative;
  border: 1px solid #777;
  cursor: pointer;
  vertical-align: middle;
  display: inline-block !important;
}
.pt-pic-thumbnail:hover {
  border: none;
  -moz-transform: scale(15);
  -webkit-transform: scale(15);
  -o-transform: scale(15);
}

th .pt-pic-thumbnail,
.div-info .header .pt-pic-thumbnail,
.div-form .header .pt-pic-thumbnail {
  border: 1px solid #ddd;
}
th .pt-pic-thumbnail:hover,
.div-info .header .pt-pic-thumbnail:hover,
.div-form .header .pt-pic-thumbnail:hover {
  border: none;
}
