html {
  font-size: 10pt;
}

body {
  font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Helvetica,sans-serif;
  line-height: normal;
  margin: 0px;
  background-color: whitesmoke;
  padding: 10px;
}

body,
div,
table,
input,
select {
  transition: background-color 0.25s ease-in-out;
}

xmp {
  white-space: pre;
}

a:not(.btn) {
  color: #0275d8;
}

a:hover {
  color: #014c8c;
  cursor: pointer;
}

a:visited:not(.btn):not(.dropdown-item):not(.nav-item):not(.page-link):not(.jstree-anchor):not(.noshowvisit):not(.list-group-item-action) {
  color: purple;
}

table tr td,
table tr th {
  padding: 2px;
}

button {
  cursor: pointer;
}

button:not([class]):not([role]),
input[type='submit']:not([class]),
input[type='button']:not([class]),
input.red,
button.red,
a.btn:not([class*="btn-"]),
input.btn:not([class*="btn-"]),
*.btn:not([class*="btn-"]) {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid #ccc;
  padding: .375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  text-shadow: 0px 0px 0px;
  box-shadow: none !important;
}

button:not([class]):not([role]):not([disabled]),
input[type='submit']:not([class]):not([disabled]),
input[type='button']:not([class]):not([disabled]),
a.btn:not([class*="btn-"]):not([disabled]),
input.btn:not([class*="btn-"]):not([disabled]),
*.btn:not([class*="btn-"]):not([disabled]) {
  color: #292b2c;
  background-color: #f8f9fa;
}

button:not([class]):not([disabled]):hover,
input[type='submit']:not([class]):not([disabled]):hover,
input[type='button']:not([class]):not([disabled]):hover,
input.red:not([disabled]):hover,
button.red:not([disabled]):hover,
a.btn:not([class*="btn-"]):not([disabled]):hover,
input.btn:not([class*="btn-"]):not([disabled]):hover,
*.btn:not([class*="btn-"]):not([disabled]):hover {
  cursor: pointer;
  color: #292b2c;
  background-color: #dae0e5;
  border-color: #dae0e5;
}

button:not([class]):hover .fa,
input[type='submit']:not([class]):hover .fa,
input[type='button']:not([class]):hover .fa,
button[type='submit']:not([class]):hover .fa,
button[type='button']:not([class]):hover .fa,
a.btn:not([class*="btn-"]) .fa,
input.btn:not([class*="btn-"]) .fa,
*.btn:not([class*="btn-"]) .fa,
.input-group:focus-within .input-group-text .fa,
.input-group:focus-within .input-group-addon .fa {
  color: #5cb3fd;
  transition: all .15s ease-in-out;
}

.input-group-btn *.btn {
  margin: 0px;
  line-height: 1.25;
}

input.bluebtn[type='submit'],
input.bluebtn[type='button'],
a.bluebtn {
  color: #fff !important;
  background: #007bff !important;
  border-color: #007bff !important;
  text-shadow: 0px 0px 1px #000 !important;
}

input.bluebtn[type='submit']:not([disabled]):hover,
input.bluebtn[type='button']:not([disabled]):hover,
a.bluebtn:not([disabled]):hover {
  background: #0069d9 !important;
  border-color: #0062cc !important;
}

.btn-info {
  text-shadow: 0px 0px 1px #000 !important;
}

input.greenbtn[type='submit'],
input.greenbtn[type='button'],
a.greenbtn {
  color: #fff !important;
  background: #28a745 !important;
  border-color: #28a745 !important;
  text-shadow: 0px 0px 1px #000 !important;
}

input.greenbtn[type='submit']:not([disabled]):hover,
input.greenbtn[type='button']:not([disabled]):hover,
a.greenbtn:not([disabled]):hover {
  background: #218838 !important;
  border-color: #1e7e34 !important;
}

input.yellowbtn[type='submit'],
input.yellowbtn[type='button'],
a.yellowbtn {
  background: #ffc107 !important;
  border-color: #ffc107 !important;
  color: rgba(0,0,0,0.65) !important;
}

input.yellowbtn[type='submit']:not([disabled]):hover,
input.yellowbtn[type='button']:not([disabled]):hover,
a.yellowbtn:not([disabled]):hover {
  background: #e0a800 !important;
  border-color: #d39e00 !important;
}

input.orangebtn[type='submit'],
input.orangebtn[type='button'],
a.orangebtn,
.btn-amber {
  background-color: #ff5e00 !important;
  border-color: #ff5e00 !important;
  color: #fff !important;
}

input.orangebtn[type='submit']:not([disabled]):hover,
input.orangebtn[type='button']:not([disabled]):hover,
a.orangebtn:not([disabled]):hover,
.btn-amber:not([disabled]):hover {
  background-color: #ee4d00 !important;
  border-color: #dd3c00 !important;
}

input.redbtn[type='submit'],
input.redbtn[type='button'],
input.red,
button.red,
a.redbtn {
  color: #fff !important;
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  text-shadow: 0px 0px 1px #000 !important;
}

input.redbtn[type='submit']:not([disabled]):hover,
input.redbtn[type='button']:not([disabled]):hover,
input.red:not([disabled]):hover,
button.red:not([disabled]):hover,
a.redbtn:not([disabled]):hover {
  background-color: #c9302c !important;
  border-color: #c12e2a !important;
}

.btn-group > *:first-child:not(:last-child):not(.dropdown-toggle) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.btn-group > *:last-child:not(:first-child):not(.dropdown-toggle) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.btn-group > *:not(:last-child):not(:first-child):not(.dropdown-toggle) {
  border-radius: 0;
}

.btn-group > *:first-child {
  margin-left: 0;
}

.btn-group-vertical > *,
.btn-group > * {
  margin-left: -1px;
  position: relative;
  -webkit-box-flex: 0;
  -webkit-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
}

.btn-round {
  border-radius: 50%;
  min-width: 2.5em;
  min-height: 2.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-round.active {
  box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.3) inset;
}

#cssdropdown {
  font-size: 1.1rem;
  display: inline-block;
  padding: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

#cssdropdown li.nhead,
#cssdropdown li.headlink {
  width: auto !important;
  float: none !important;
  display: inline-block;
  margin: 0px;
}

#cssdropdown li.nhead a,
#cssdropdown li.headlink a {
  text-decoration: none;
  padding: .7rem 1.1rem;
  margin: 0px;
  white-space: nowrap;
}

#cssdropdown li.headlink:first-of-type a {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#cssdropdown li.nhead:last-of-type a,
#cssdropdown li.headlink:last-of-type a {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#cssdropdown li.headlink ul {
  padding: 0px;
  width: auto !important;
  min-width: 8rem;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  background: rgba(255,255,255,0.9);
}

#cssdropdown li.nhead a:hover,
#cssdropdown li.headlink a:hover,
#cssdropdown li.headlink ul li a:hover {
  background: rgba(255,255,255,0.5);
  color: #000;
}

#cssdropdown li.headlink:hover ul {
  top: 2.3rem;
}

#cssdropdown li.headlink ul li a {
  margin: 0px;
  padding: .45rem .85rem;
  height: auto !important;
  background: transparent;
}

#cssdropdown li.headlink ul li:last-of-type a {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.dropdown-item {
  padding: .25rem .75rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-decoration: none;
  padding: 5px 0px;
  margin-top: 5px;
  margin-bottom: 5px;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.15rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: .9rem;
}

legend :is(h1,h2,h3,h4,h5,h6),
legend .panel-heading :is(h1,h2,h3,h4,h5,h6),
legend .card-header :is(h1,h2,h3,h4,h5,h6) {
  padding: 0px;
  margin: 0px;
}

#contactlist {
  font-size: 10pt;
}

table {
  border-collapse: separate;
}

.reportingtable {
  /* Trying to use this for standard table formats*/
  width: 100%;
}

#my_file_element {
  width: 190px;
  height: 50px;
  border: 1px solid grey;
  background-color: lightyellow;
}

pre {
  overflow: visible;
}

label,
label * {
  cursor: pointer;
}

option.heading {
  background-color: cyan;
  color: black;
}

option.restricted {
  background-color: white;
  color: red;
}

option[disabled],
option.disabled {
  background-color: #ddd;
  color: #000;
}

/*account.cgi Unapproved documents OVERFLOWUDOCUMENTS*/
#accounts-unapproveddocs-table {
  background: white;
  max-height: 200px;
  overflow: auto;
}

.reportingtable td {
  border-left: 1px solid lightgrey;
}

.selected {
  background-color: #999999;
}

.colapasable {
  overflow: hidden;
  height: 18px;
  display: block;
}

tr.hourSplice {
  border: none;
  background: white;
  padding: 0px;
  margin: 0px;
  height: 57px;
}

.aprint {
  color: red;
}

#startchat {
  margin-bottom: 20px;
}

#messagedropdown {
  display: none;
  position: absolute;
  z-index: 9;
  height: 180px;
  width: 90%;
  border: 1px solid black;
  overflow: hidden;
  margin-top: -10px;
  padding: 5px 50px 5px 50px;
  background-color: silver;
  opacity: .85;
  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
}

#messagediv {
  background: lightgray;
  height: 120px;
  border: 1px solid black;
  overflow: auto;
}

#messagediv div.personal {
  background: red;
  font-color: black;
}

#messagediv div.department {
  background: yellow;
}

#messagediv div.allusers {
  font-color: green;
  background-color: silver;
  opacity: 1;
  filter: alpha(opacity=100);
  -moz-opacity: 1.00;
}

#docpreview {
  width: 80%;
  height: 450px;
  position: absolute;
  top: 150px;
  left: 10px;
  z-index: 10;
}

img.previewimage {
  margin: 2px;
  border: 1px solid green;
}

#minicalendar {
  text-align: center;
  padding: 5px;
} 

#welcome1 {
  margin-left: -10px;
  margin-top: -10px;
  width: 207px;
  background-color: #ffc0cb;
  height: 600px;
}

#welcome2 {
  margin-right: -10px;
  margin-top: -10px;
  width: 207px;
  background-color: #ffc0cb;
  height: 600px;
}

#welcomemain {
  margin-left: 205px;
  margin-right: 205px;
  padding: 3px;
  background: orange;
  height: 600px;
}

#banner {
  margin-top: -10px;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 10px;
  background: #226699;
  height: 68px;
/*
  overflow: hidden;
*/
  color: white;
  top:0px;
  position: sticky;
  display: flex;
  align-items: center;
  padding-left: 0px;
  z-index: 11;
  border-bottom: 0px;
  background-position: env(safe-area-inset-left) auto !important;
}

#banner a.remoteuser {
  position: absolute;
  top: 1px;
  left: 3px;
  z-index: 10;
  text-shadow: 0px 0px 1px #000;
  color: #ccc;
}

#banner a.logo:hover {
  text-decoration: none;
}

#banner a.logo {
  height: 100%;
  cursor: pointer;
}

#banner div.logo {
  color: white;
  width: 200px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  position: static !important;
  margin-left: env(safe-area-inset-left) !important;
}

#banner a {
  border: none;
}

#banner.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

#banner #iconcontainer {
  margin: 2px 10px;
  font-size: 0.75em;
  flex-grow: 0;
  flex-shrink: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 35px 30px;
  grid-auto-columns: 35px;
}

.box span:nth-child(4n + 2) {
   grid-row: 1;
}

#banner #iconcontainer > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

#banner #iconcontainer > span:hover {
  color: #28a745 !important;
  cursor: pointer;
}

#banner.banner-light #iconcontainer > span {
  color: rgba(0,0,0,0.6);
}

#banner #bannerchat.conf-red span,
#banner #bannerchat.badge-danger span {
  color: #fff;
}

#banner #bannerchat:hover {
  color: #17a2b8 !important;
}

#banner #bannerchatcount {
  font-size: 0.8rem;
}

#nextapp {
  color: white;
  font-size: .7rem;
  max-width: 300px;
}

#banner #nextapp a {
  display: flex;
}

#banner.banner-dark #nextapp a { color: rgba(255,255,255,0.9); }
#banner.banner-light #nextapp a { color: rgba(0,0,0,.7); }

#banner #nextapp span.fa,
#banner #nextapp span.far,
#banner #nextapp span.fas,
#banner #nextapp span.fab {
  font-size: 1rem;
}

#navsix {
  position: absolute;
  top: 0px;
  left: 200px;
  height: 69px;
  width: 94px;
  padding: 0px;
  margin-bottom: 10px;
  margin-top: 0px;
  border: none;
}

#navsix a {
  margin: 0px;
  padding: 0px;
  border: none;
}

#navsix img {
  border: none;
  margin: 0px;
  padding: 0px;
  margin-bottom: 0px;
  margin-right: -5px;
}

div#navbuttons {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 680px;
  border: none;
}

div#navbuttons img {
  float: right;
  border: none;
  margin-right: 2px;
}

#xwelcome {
  position: relative;
  margin: auto;
  border: none;
  width: 98%;
  height: 275px;
}

#blockcontainer {
  border: none;
  text-align: center;
}

#blockcontainer fieldset {
  text-align: left;
}

.welcomeblock {
  display: inline;
  overflow: auto;
  margin: .5%;
  padding: 3px;
  height: 250px;
  vertical-align: top;
  width: 30%;
}

#xaccountsdash {
  display: inline;
  overflow: auto;
  margin: .5%;
  padding: 3px;
  height: 250px;
  vertical-align: top;
  width: 24%;
}

#xcallstatus {
  display: inline;
  overflow: hidden;
  margin: .5%;
  padding: 3px;
  height: 250px;
  vertical-align: top;
  width: 50%;
}

#xcallstatus div {
  overflow: auto;
  margin: .5%;
  padding: 3px;
  height: 230px;
  vertical-align: top;
}

#xtodo {
  display: inline;
  overflow: hidden;
  margin: .5%;
  padding: 3px;
  height: 250px;
  vertical-align: top;
  width: 30%;
}

#xquickcal {
  display: inline;
  overflow: hidden;
  margin: .5%;
  padding: 3px;
  height: 250px;
  vertical-align: top;
  width: 30%;
}

#xlinks {
  display: inline;
  overflow: hidden;
  margin: .5%;
  padding: 3px;
  height: 250px;
  vertical-align: top;
  width: 30%;
}

#todaysdocs {
  margin: 5px;
  padding: 3px;
  vertical-align: top;
  width: 98%;
}

#todo div.head {
  height: 47px;
  margin-top: 0px;
  padding-top: 0px;
  border: none;
}

#todo img {
  float: left;
}

#todo h2 {
  margin: 0px;
}

#todo UL {
  margin: 0px;
  height: 200px;
  overflow: auto;
  border: none;
  list-style: none;
  padding-left: 1px;
}

#todo LI {
  float: left;
  width: 92%;
  padding-left: 5px;
  font-size: 85%;
}

.current {
  background: #44ff44 !important;
}

.due {
  background: #F0E68C !important;
}

.notdue {
  background: #e8e8e8;
}

.intime {
  background: green;
}

#links div.head {
  height: 47px;
  margin-top: 0px;
  padding-top: 0px;
  border: none;
}

#links img {
  float: left;
}

#links h2 {
  margin: 0px;
}

#links UL {
  margin: 0px;
  margin-left: 5px;
  height: 200px;
  overflow: auto;
  border: none;
  text-decoration: none;
  list-style: none;
  padding-left: 1px;
}

#links LI {
  float: left;
  width: 180px;
  padding: 3px;
}

#quickcal h2 {
  margin: 0px;
}

#quickcal P {
  margin: 0px;
}

#quickcal div.container {
  margin-top: 5px;
  height: 215px;
  overflow: auto;
  padding: 0px;
  border: none;
  text-decoration: none;
}

#quickcal LI {
  float: left;
  width: 90%;
  padding-left: 2px;
  white-space: nowrap;
}

#quickcal DIV.R {
  background: #FFAAAA;
}

#quickcal DIV.G {
  background: #CCFF99;
}

#quickcal DIV.C {
  background: #66FFFF;
}

#quickcal DIV.Y {
  background: #FFFFCC;
}

#quickcal DIV.M {
  background: #FFCCFF;
}

#quickcal DIV.B {
  background: #BBBBFF;
}

#quickcal div.entry>SPAN {
  padding: 3px;
  border-radius: 2px;
}

#quickcal SPAN.R {
  background: #FFAAAA;
}

#quickcal SPAN.G {
  background: #CCFF99;
}

#quickcal SPAN.C {
  background: #66FFFF;
}

#quickcal SPAN.Y {
  background: #FFFFCC;
}

#quickcal SPAN.M {
  background: #FFCCFF;
}

#quickcal SPAN.B {
  background: #BBBBFF;
}

#quickcal DIV.entry {
  white-space: nowrap;
  overflow: hidden;
  width: 94%;
  text-overflow: ellipsis;
  max-width: 100%;
}

#xlinks {
  background: #e8e8e8;
  border: 1px solid;
  height: 250px;
}

.xsearch {
  background: #ffffff;
  width: 98%;
  color: #000080;
}

.xresults {
  background: #cccc99;
  width: 98%;
}

table:not(.table-striped) tr.odd {
  background: #e8e8e8;
}

table:not(.table-striped) tr.even {
  background: #eeeeee;
}

.table-responsive {
  scroll-snap-type: x proximity;
}

.table-responsive td {
  scroll-snap-align: start;
}

tr.fav {
  border: 2px solid #ffc0cb;
}

#suggestions {
  position: absolute;
  border: 1px outset black;
  height: 50px;
  overflow: auto;
  background: white;
  margin-top: 0px;
  margin: 0px;
  padding: 1px;
  font-size: 75%;
}

#suggestions LI {
  overflow: hidden;
}

#suggestions LI.hover {
  background: #00008b;
  color: white;
}

.nomatch{
  background: green;
  color: red;
}

#smartertabs {
  width: 100%;
  font-size: 93%;
  line-height: normal;
  border: 0px;
  border-bottom: 1px solid #e0e0e0;
  background: none;
}

#smartertabs ul {
  margin: 0;
  list-style: none;
  padding: 10px 0px 0px 0px;
  border: 0px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#smartertabs li {
  float: left;
  margin: 0;
  padding: 0;
  border: 0px;
  display: inline-block;
  white-space: nowrap;
}

#smartertabs a {
  display: block;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  border-bottom: 0px;
  background: rgba(230,230,230,0.9);
  padding: .5em 1em;
  color: #4a4a4a;
  white-space: nowrap;
}

/*
#smartertabs #current {
  background-image: url("skins/norm_right_on.gif");
}
*/

#smartertabs #current a,
#smartertabs li a:hover {
  background-image: url("skins/norm_left_on.gif");
  border-bottom: 0px;
  background-image: none;
  background: rgba(255,255,255,0.9);
  color: #111;
}

#smartertabs li a:hover {
  border: 1px solid #ccc;
  border-bottom: 0px;
  text-decoration: none;
}

#currentcard {
  padding: 10px;
  margin-top: 0px;
  border-top: 0px;
  padding-bottom: 55px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  #currentcard {
    overflow-y: visible;
    overflow-x: visible;
  }
}

#thleft {
  text-align: right;
}

#xcards {
  width: 98%;
  margin-left: 20px;
  margin-right: 20px;
  border: 1px solid black;
}

#cards {
  border: none;
}

#cardshead h2{
  display: flex;
  justify-content: end;
  margin-bottom: 0px;
}

#cards h2 {
  text-align: right;
  margin-bottom: 0px;
}

#footer {
  border: none;
  clear: all;
}

th {
  text-align: left;
}

#fflist li {
  width: 250px;
  float: left;
}

input.cash {
  text-align: right;
}

.link {
  list-style-type: none;
}

.link:hover {
  cursor: pointer;
  background: yellow;
}

li.button {
  cursor: pointer;
  background: #d3d3d3;
  margin: 5px;
  display: inline;
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding: 5px;
}

li.button:hover {
  cursor: pointer;
  border: 1px solid yellow;
}

#docattachdiv {
  display: none;
  position: absolute;
  top: 100px;
  left: 15px;
  background: #f5f5f5;
  z-index: 20;
  width: 600px;
  height: 540px;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-bottom: 2px solid black;
  border-right: 2px solid black;
}

#docattach {
  background: white;
  margin: 5px;
  height: 410px;
  overflow: auto;
}

TR.cal-X {
  background: #FFC0CB;
}

TR.cal-B {
  background: #BBBBFF;
}

TR.cal-R {
  background: #FFAAAA;
}

TR.cal-G {
  background: #CCFF99;
}

TR.cal-C {
  background: #66FFFF;
}

TR.cal-Y {
  background: #FFFFCC;
}

TR.cal-M {
  background: #FFCCFF;
}

td.err {
  background: #66FFFF;
}

#msgcount {
  color: white;
}

/*
input.inputboxSearch {
  padding-left: 30px;
  background-color: #ffffff;
  background-image: url('skins/magnifying-glass.gif');
  background-repeat: no-repeat;
  background-position: 5px center;
}
*/

input.searching {
  background: url('skins/ajax-loader.gif') no-repeat right center;
}

input.ui-autocomplete-loading {
  background: url('skins/ajax-loader.gif') no-repeat right center;
}

input.search {
  background: url('skins/magnifying-glass.gif') no-repeat left center;
}

input.nomatch {
  background-color: #FFAAAA !important;
  color: black !important;
}

/* end */

#timesheetsummary th {
  text-align:right;
}

#timesheetsummary th.Hrs {
  width: 4em;
}

#timesheetsummary td.Hrs {
  text-align: right;
}

td.totals {
  border-top: 1px solid black;
}

.table-bordered td.totals { border-top: 3px solid black}; }

.separator {
  border-top: 2px dashed black;
  height: 30px;
}

/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
	
.jqmWindow {
    display: none;
    position: fixed;
    top: 17%;
    left: 50%;
    margin-left: -300px;
    width: 600px;
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay {
  background-color: #000;
}

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {
  position: absolute;
  top: 0;
  left: 0;
  z-index:-1;
  width: expression(this.parentNode.offsetWidth+'px');
  height: expression(this.parentNode.offsetHeight+'px');
}

#actionbuttons {
  text-align: right;
}

/* Fixed posistioning emulation for IE6. Star selector used to hide definition from browsers other than IE6. For valid CSS, use a conditional include instead */
* html .jqmWindow {
  position: absolute;
  top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

/* Misc utility classes */
.printonly {
  display: none;
}

.bold {
  font-weight: bold;
}

.smaller {
  font-size: 0.8em;
}

.warn {
  background-color: red;
}

.fixedwidthbuttons input{
  width: 100px;
}

.flr {
  float: right;
}

.flright {
  float: right;
}

.fll {
  float: left;
}

legend {
  display: block;
  box-sizing: border-box;
  font-size: 1.05rem;
  font-weight: 500;
  background: rgba(0,0,0,0.03);
  border: 0px;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 15px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  max-height: 50px;
}

fieldset {
  position: relative;
  padding: 20px;
  padding-top: 70px;
  margin-top: 10px;
  margin-bottom: 10px;
}

fieldset.nolegend {
  padding-top: 20px;
}

fieldset.search {
  box-shadow: none;
}

/*
body .card:not(.bg-dark),
*/
.bg-trans,
body table.table,
#calendar,
.dropdown-menu,
fieldset:not(.search),
fieldset.fancyfieldset,
#welcome fieldset,
nav.bodynav,
form.form,
#currentcard,
#cssdropdown,
#cssdropdown li.headlink ul {
  border: 1px solid #e0e0e0;
  background: rgba(255,255,255,0.9);
  border-radius: 5px;
}

// table:not([class]) { background: rgba(255,255,255,0.9); }

.card-header {
  font-weight: 500;
  align-items: center;
}

.card:not(.wikicard) table,
table table,
fieldset table,
fieldset fieldset,
#currentcard table:not(.dataTable):not(.table),
.bg-trans table {
  border: 0px;
  background: transparent;
}

.card,
.dropdown-menu,
fieldset:not(.search),
nav.bodynav,
.tab-content,
form.form,
#cssdropdown,
#cssdropdown li.headlink ul,
#folders,
#messages,
img.pic,
#faqlist .content,
#banner,
.popover,
.modal-dialog-slideout,
.modal-dialog:not(.modal-dialog-slideout) .modal-content,
.ui-dialog,
#fullimg,
.dragzone,
.shadow {
  /* Main box shadow  */
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.doubleshadow {
  box-shadow: 0 .5rem 1rem 1rem rgba(0,0,0,.15) !important;
}

.card :is(.card, fieldset, .shadow),
fieldset:not(.search) fieldset,
fieldset :is(.card, .shadow),
.modal :is(.card, fieldset, .shadow, .tab-content),
body .ui-dialog :is(.card, fieldset, .shadow, .tab-content),
#currentcard :is(.tab-content, .card, fieldset, .shadow),
.shadow-hover,
.hover-shadow,
div.contactavatar,
.lshadow {
  box-shadow: 0px 6px 4px -4px rgba(0,0,0,.25);
  transition: box-shadow .25s;
}

.ishadow {
  box-shadow: 0 0 1rem rgba(0,0,0,.15) inset;
}

.hovershadow:hover,
.shadow-hover:hover,
.hover-shadow:hover {
  box-shadow: 0 .5rem 1.2rem rgba(0,0,0,.3) !important;
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4,0,0.2,1);
  transition-duration: 150ms;
}

.noshadow {
  box-shadow: 0px 0px !important;
}

.fancyfieldset {
  background: url('skins/bg.png') repeat-x;
  margin-bottom: 10px;
  background-color: #e4f8bf;
}

.fancyfieldset legend {
  font-weight: bold;
}

.fancytable {
  background: url('skins/bluetotrans.png') repeat-x;
  margin-bottom: 3px;
}

.bold {
  font-weight: bold;
}

#welcome fieldset {
  background: url('skins/bg.png') repeat-x;
  margin-bottom: 10px;
  background-color: #e4f8bf;
}

.nonothing {
  border: 0px;
  padding: 0px;
  margin: 0px;
}

.tab-content {
  border: 1px solid #dee2e6;
  border-top: 0px;
}

table.form,
table.document td.address,
table.account td.info,
table.account td.address {
  padding: 10px;
  border: 1px solid #e0e0e0;
}

table.document table.doclines {
  border: 1px solid #d5d5d5;
  border-right: 0px;
  border-bottom: 0px;
  margin-top: 10px;
}

table.document table.doclines tr td,
table.document table.doclines tr th {
  color: black;
  padding: 3px;
  background-color: #f5f5f5;
  border: 1px solid #d5d5d5;
  border-left: 0px;
  border-top: 0px;
}

table.acclines tr.overdue.disputed {
  color: #ccc !important;
}

option,
table:not(.grid),
table:not(.grid) td,
table:not(.grid) th,
table:not(.grid) tr {
  border-collapse: collapse;
  empty-cells: show;
}

Xtable.document table.doclines tr:nth-of-type(even) td { background-color: #f5f5f5; }

table.oddeven thead tr:first-of-type th {
  background: rgba(255,255,255,0.9);
}

table.oddeven {
  margin-bottom: 10px;
}

table.oddeven tr td:first-of-type,
table.oddeven tr th:first-of-type {
  padding-left: 20px;
}

table.oddeven tr td:last-of-type,
table.oddeven tr th:last-of-type {
  padding-right: 20px;
}

table.oddeven tr th {
  border-bottom: 1px solid #ccc;
}

table.oddeven tr td,
table.oddeven tr th {
  padding: 5px;
}

#doclist:not(.table-striped) tbody tr:hover,
table tr.L1,
table.oddeven tr,
table.oddeven tr:nth-of-type(even) {
  background-image: none;
  background-color: transparent;
}

.bg-highlight,
.stripecont > *:nth-of-type(even),
body table.oddeven tr:nth-of-type(even) td {
  background: rgba(0,0,0,0.05) ;
}

/* Bodge for applying to non IE */
@supports not (-ms-high-contrast: none) {
  body table.oddeven tr:hover td {
    background: rgba(0,0,0,0.1);
    background-image: none;
  }
}

table.oddeven tr td a:not(.btn) {
  padding: 2px;
}

table.oddeven thead tr:hover,
table.oddeven tr:first-of-type:not(.overdue):hover {
  background-color: transparent;
}

#doclist th[data-coltitle][title^='Click to sort by'] {
  cursor: pointer;
}

#doclist tr:hover {
  border: 0px;
}

td.doccontrols {
  min-width: 100px;
  text-align: right;
}

span.doccontrols {
  background-color: transparent;
  display: flex;
  align-items:center;
}

a.btn:visited:not(.btn-light):not(.noshowvisit) {
  color: #c0c0c0 !important;
}

.bg-alternate:nth-child(even) {
  background-color: rgba(100,100,100,0.1);
}

form.form-inline label {
  display: inline-flex;
}

input[type='date'] {
  min-width: 11em !important;
}

input[type='datetime'],
input[type='datetime-local'] {
  min-width: 14em !important;
}

/*
input.searchBox:not(.form-control),
*/
textarea:not([disabled]):not(.form-control):not(.mce-textbox):not(.no-form-control):not(.money),
input[type='text']:not([disabled]):not(.form-control):not(.no-form-control):not(.money),
input[type='password']:not([disabled]):not(.form-control):not(.no-form-control):not(.money),
input[type='number']:not([disabled]):not(.form-control):not(.no-form-control):not(.money),
input[type='email']:not([disabled]):not(.form-control):not(.no-form-control):not(.money),
input[type='search']:not([disabled]):not(.form-control):not(.no-form-control):not(.money),
input[type='date']:not([disabled]):not(.form-control):not(.no-form-control):not(.money),
input:not([type]):not([disabled]):not(.form-control):not(.no-form-control):not(.money):not(.mce-textbox),
select:not(.form-control):not(.no-form-control):not(.form-select) {
  font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  padding: .5rem .75rem;
  font-size: .75rem;
*/
  color: #495057;
*/
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  box-sizing: content-box;
}

[contenteditable]:focus,
textarea:focus,
input[type='text']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='email']:focus,
input[type='search']:focus,
input[type='date']:focus,
input:not([type]):focus,
select:focus {
/*
  color: #464a4c;
*/
  background-color: #fff;
  border-color: #5cb3fd;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

input:is(:not([type='checkbox']),:not([type='radio'])):not(:placeholder-shown):invalid {
  border-color: #dc3545 !important;
  background-color: #dc3545 !important;
}

select option.heading {
  font-weight: bold;
  background-color: rgba(225,225,225,0.5);
}

#doclinesedit textarea,
#doclinesedit select,
#doclinesedit input {
  padding: .25rem .35rem;
}

.ui-widget input,
.ui-widget select,
.ui-widget .input-group:not(.input-group-sm) {
  font-size: 1rem;
}

.ui-sortable-handle {
  cursor: grab;
}

.ui-sortable-helper .ui-sortable-handle {
  cursor: grabbing;
}

.ui-menu .ui-menu-item {
  border: 1px solid transparent;
}

.ui-autocomplete {
  overflow: auto;
}

input[type="checkbox"]:focus {
  outline: 0;
}

.input-group select:not([class]) {
  border-radius: 0px;
  flex-grow: 1;
}

.selectdropdown:after {
  margin-left: auto;
}

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

/*
input.searchBox {
  height: auto;
  background-image: none;
  padding: .5rem .75rem;
}
*/

#mailwindow {
  position: absolute;
  top: 80px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#btnrow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-grow: 0;
  flex-shrink: 0;
}

#contentrow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-grow: 1;
  flex-shrink: 1;
}

#folders,
#messages,
#preview {
  margin: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  overflow: auto;
  flex-grow: 1;
  flex-shrink: 1;
}

#folders {
  flex-basis: 150px;
}

#folders div.folder {
  padding: 3px;
  padding-left: 10px;
}

#folders div.folder:hover {
  background-color: #bbe0fd;
  cursor: pointer;
}

#messages {
  flex-basis: 200px;
}

#messages div.message {
  padding: 5px;
  padding-left: 10px;
}

#messages div.message:hover {
  background-color: #bbe0fd;
  cursor: pointer;
}

#preview {
  padding: 10px;
  flex-grow: 2;
}

.toastcont {
  display: flex;
  flex-direction: column;
  position: fixed;
  padding: 1rem 0rem;
  z-index: 999;
  max-height: 100vh;
}

.toastcont > div {
  flex-grow: 0;
  padding: .75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.toastcont > button {
  flex-grow: 0;
  flex-shrink: 0;
  margin: 0.75rem;
  width: auto;
}

#toastcont-notification {
  bottom: 0px;
  right: 0px;
  margin-left: env(safe-area-inset-left);
  margin-right: env(safe-area-inset-right);
  min-width: 20em;
  max-width: 40em;
}

#toastcont-notification button {
  margin-top: .5rem;
}

#toastcont-banner {
  top: 0px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: 700px;
}

#toastcont-banner button {
  margin-bottom: .5rem;
}

.toastcont .toast {
  width: 100%;
  max-width: 100%;
  border-radius: 0.5rem;
/*
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.2);
*/
}

.toastcont .toast-header img {
  height: 1.2em;
}

#main-dz {
  position: absolute;
  padding: 10px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: flex;
  min-height: 720px;
}

#leftpane {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 10px;
}

#rightpane {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 1;
  margin-left: 10px;
  margin-right: 10px;
  min-width: 0%;
}

#composetools {
  flex-shrink: 0;
}

#main-dz #contactslist {
  position: static;
  margin-top: 10px;
  height: auto !important;
  flex-grow: 1;
  flex-shrink: 1;
  min-height: 0%;
  min-width: 0%;
  display: flex;
}

#main-dz #contactslist > div {
  flex-grow: 1;
  flex-shrink: 1;
  min-height: 0%;
  min-width: 0%;
  display: flex;
  height: auto !important;
}

#contactslist #accordion {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0%;
  min-height: 0%;
  display: flex;
  flex-direction: column;
}

#contactslist #accordion > div {
  flex-grow: 1;
  flex-shrink: 1;
}

#contactslist #accordion .ui-accordion-header {
  margin: 0px !important;
}

#messagearea {
  position: static;
  margin-bottom: 10px;
  flex-shrink: 0;
  min-width: 0%;
}

#d4 {
  position: static;
  flex-shrink: 1;
  flex-grow: 1;
  display: flex;
  border: 0px;
}

#d4 > .mce-container {
  display: flex;
}

#d4 > .mce-container > .mce-container-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#d4 .mce-edit-area {
  flex-grow: 1;
  display: flex;
  overflow: auto;
}

#d4 .mce-edit-area iframe {
  flex-grow: 1;
  flex-shrink: 1;
}

/* Bodge to apply only to IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body #messagearea .emcont {
    max-width: 660px;
  }

  #welcomeorder {
    display: flex;
    flex-wrap: wrap;
  }

  #welcomeorder .welcomecard {
    width: 100%;
    padding: 10px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 768px) {
  #welcomeorder .welcomecard {
    width: 50%;
  }

  #welcomeorder .md\:tw-col-span-2 {
    width: 100%;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 1280px) {
  #welcomeorder .welcomecard {
    width: 33.33%;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 1536px) {
  #welcomeorder .welcomecard {
    width: 25%;
  }

  #welcomeorder .\32xl\:tw-col-span-3 {
    width: 75%;
  }
}

.emcont {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid rgba(0,0,0,.15);
  min-width: 0%;
  max-height: 60px;
  overflow-y: auto;
  border-radius: .25rem;
  padding-left: .5rem;
  -webkit-overflow-scrolling: touch;
}

.emcont input {
  background-color: transparent;
  border: 0px;
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 50%;
  flex-basis: 50%;
}

.emcont input:focus {
  box-shadow: 0px 0px 0px !important;
}

.emcont .em {
  flex-grow: 0;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  #main-dz {
    flex-direction: column;
    padding-bottom: 0px;
  }

  #leftpane {
    padding-bottom: 5px;
    margin-left: 0px;
  }

  #rightpane {
    margin-left: 0px;
    margin-right: 0px;
  }

  #main-dz #contactslist {
    display: none;
  }
}

@media (min-width: 576px) {
  #leftpane {
    width: 230px;
  }
}

#folderlist {
  padding: 0px;
}

#folderlist ul {
  padding-left: 0px;
}

li.directory {
  list-style-image: none;
  list-style-type: none;
  padding: 5px;
  color: #333;
}

li.directory:before {
  font-family: "FontAwesome", "Font Awesome 5 Free","Font Awesome 5 Brands";
  font-weight: 600;
  padding-right: 10px;
  content: "\f07b";
  color: #666;
}

li.directory:hover {
  color: #000;
}

li.directory.currentfolder {
  color: #000;
  background-color: #bbe0fd;
}

li.directory.currentfolder:before {
  content: "\f07c";
}

div#imagesdiv {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

div.imgblock {
  float: none;
  padding: 0px;
  margin: 1px;
  border-radius: 3px;
  height: auto;
  min-height: 180px;
  min-width: 250px;
  max-width: 400px;
  background-color: #5a5a5a;
  overflow: hidden;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

div.imgblock label {
  cursor: pointer;
  margin: 0px;
  padding: 20px 0px 20px 0px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

div.imgblock img.animage {
  border: 0px;
  border-radius: 0px;
  box-shadow: 0px 0px 5px #000;
}

div.imgblock div.text {
  border: 1px solid #666;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0px 0px 5px #333;
}

#chatarea {
  max-height: 100vh;
  max-height: 100dvh;
}

.text-no-zoom,
.text-nozoom {
  height: calc(1.5em + .75rem + 2px);
  font-size: 16px !important;
}

.chatelem .list-group-item:not(.sticky-top) {
  max-width: 80%;
  margin: .5rem;
  font-weight: 400;
}

.chatelem .list-group-item:not(.sticky-top) .msg {
  white-space: pre-wrap;
}

.chatelem .list-group-item:not(.sticky-top) video,
.chatelem .list-group-item:not(.sticky-top) img {
  max-width: 100%;
}

.chatelem .list-group-item:not(.sticky-top) [data-replyto] img {
  max-height: 100px;
}

.chatelem .list-group-item:not(.sticky-top) b {
  font-weight: 900;
}

.chatelem .ourmsg + .ourmsg,
.chatelem .theirmsg + .theirmsg {
  margin-top: 0px;
}

.chatelem .infomsg,
.chatelem .theirmsg {
  margin-right: auto !important;
}

.chatelem .infomsg,
.chatelem .ourmsg {
  margin-left: auto !important;
}

.chatelem .nameb:after {
  content: ":";
}

.chatelem code {
  display: inline-block;
  text-align: left;
  max-width: 100%;
}

#navmenu {
  background-color: inherit;
  background: inherit;
}

#navmenu a span.badge {
  color: #fff;
  font-size: 0.6rem;
  position: absolute;
  top: 1.1em;
  right: -0.2em;
  box-shadow: 0px 1px 2px #666;
}

#navmenu.navbar-dark a span.badge {
  box-shadow: 0px 1px 2px #222;
}

#navmenu {
  flex-shrink: 0;
  z-index: 15;
  padding: 0px;
  /*Needed entirely to fix IE*/
  align-self: stretch;
}

#navmenu .navbar-collapse,
#navmenu .navbar-nav {
  align-self: stretch;
}

#navmenu a {
  padding: 10px 20px;
  font-size: 1.15rem;
  position: relative;
  align-self: stretch;
  white-space: nowrap;
}

#navmenu a:hover {
  text-decoration: none;
  background-color: rgba(0,0,0,0.1);
}

nav:not(.navbar-dark)#navmenu a:hover {
  box-shadow: 0px 3px 3px -3px #666 inset, 0px -3px 3px -3px #666 inset;
}

nav.navbar-dark#navmenu a {
  color: rgba(255,255,255,.9);
  text-shadow: 0px 0px 2px #000;
}

nav.navbar-dark#navmenu a:hover {
  color: rgba(255,255,255,.9);
  box-shadow: 0px 3px 3px -3px #000 inset, 0px -3px 3px -3px #000 inset;
}

#navmenu a:focus {
  text-decoration: none;
}

#navmenu a[data-tag]:before,
#navmenu a[data-tag] span.fa {
  display: inline-block;
  font-family: "FontAwesome", "Font Awesome 5 Free","Font Awesome 5 Brands";
  font-weight: 600;
  margin-right: 8px;
  width: 1.25em;
  font-size: 1.1rem;
}

#navmenu a[data-tag='Admin']:before {
  content:"\f085";
}

#navmenu a[data-tag='Accounts']:before {
  content: "\f09d";
}

#navmenu a[data-tag='Stock']:before,
#navmenu a[data-tag='Products']:before {
  content: "\f468";
}

#navmenu a[data-tag='Timesheets']:before {
  content: "\f017";
}

#navmenu a[data-tag='wip']:before {
  content: "\f0d1";
}

#navmenu a[data-tag='EDMS']:before {
  content: "\f0c5";
}

#navmenu a[data-tag='Calendar']:before {
  content: "\f073";
}

#navmenu a[data-tag='Projects']:before {
  content: "\f12e";
}

#navmenu a[data-tag='Companies']:before {
  content: "\f0b1";
}

#navmenu a[data-tag='Casuals']:before {
  content: "\f0c0";
}

#navmenu a[data-tag='Help']:before {
  content: "\f128";
}

#navmenu a[data-tag='Basket']:before {
  content: "\f291";
}

#navmenu a[data-tag='WIP']:before {
  content: "\f0d1";
}

#navmenu a[data-tag='Map']:before,
#navmenu a[data-tag='Maps']:before {
  content: "\f5a0";
}

#navmenu a[data-tag='Email']:before,
#navmenu a[data-tag='Mail']:before {
  content: "\f0e0";
}

#navmenu a[data-tag='Compose']:before {
  content: "\f303";
}

#navmenu a[data-tag='Cameras']:before,
#navmenu a[data-tag='Cams']:before {
  content: "\f030";
}

#navmenu a[data-tag='Prospect']:before,
#navmenu a[data-tag='New Prospect']:before {
  content: "\f0fe";
}

#navmenu a[data-tag='New Email Message']:before {
  content: "\f303";
}

#navmenu a[data-tag='Logout']:before {
  content: "\f2f5";
}

table.fancytable td.fancytable {
  background: none;
}

#loading {
  padding: 0px;
  margin: 0px;
  text-align: left;
  width: 200px;
  position: absolute;
  top: 20px;
  left: 10px;
}

#todaysdocs {
  width: auto !important;
  margin: 0px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.input-group-text input[type='checkbox'],
.input-group-text .fa,
.input-group-text .far,
.input-group-text .fas,
.input-group-text .fab,
.input-group-addon input[type='checkbox'],
.input-group-addon .fa {
  width: 1.28571429em;
}

.bg-slightly-darker {
  background-color: rgba(0,0,0,0.07);
}

.bg-disabled {
  background-color: rgb(233,236,239);
}

.bg-warning {
  color: rgba(0,0,0,0.65) !important;
}

.bg-warning .text-muted {
  color: #666 !important;
}

.bg-danger .text-muted {
  color: #ccc !important;
}

.bg-amber {
  background-color: #ff5e00 !important;
}

.bg-pink {
  background-color: rgb(244, 114, 182);
}

.text-amber {
  color: #ff5e00 !important;
}

.pointer,
.cursor-pointer {
  cursor: pointer;
}

.cursor-move {
  cursor: move;
}

.cursor-grab {
  cursor: grab;
}

.tooltip {
  font-size: 0.725rem;
}

.myprogress {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0px;
  margin: 0px;
}

.myprogress-bar {
  padding: 0px;
  margin: 0px;
  background-color: #007bff;
}

input.inputboxSearch {
  padding-left: .75rem !important;
  background-image: none !important;
}

/*
.alert .close {
  padding: 0.5rem 1.25rem !important;
  cursor: pointer;
}
*/

input.DOCLUNIT {
  width: 9em;
}

.due {
  background-color: #ffc107 !important;
}

.overdue {
  background-color: #dc3545 !important;
  color: #fff;
}

.overdue a:not(.btn) {
  color: rgba(178,181,255,1);
}

.overdue a:visited:not(.btn):not(.dropdown-item):not(.nav-item) {
  color: rgba(148,151,225,1) !important;
}

.overdue .money.neg {
  color: #ffb0b0;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.6);
}

.emoji {
  font-size: 1.2rem;
  padding: 2px;
  border: 1px solid transparent;
}

.emoji:hover {
  text-shadow: 0px 1px #000;
}

.break-all {
  word-break: break-all;
}

tr.bg-white th,
tr.bg-white td {
  background-color: #fff;
}

@media screen {
  body .tw-sticky {
    position: -webkit-sticky;
  }

/*
  table.table tr:first-of-type:not(.bg-accent) th,
  table.table tr:first-of-type:not(.bg-accent) td {
    background-color: rgba(0,0,0,.05);
  }

  table.oddeven tr:first-of-type td,
  table.sortable tr:first-of-type td,
*/
  table.oddeven thead tr th,
  table.sortable thead tr th,
  table.table thead tr th,
  table.dataTable thead tr th.sorting,
  tr.sticky-top th,
  tr.sticky-top td,
  .sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
  }

#xmyTable thead>tr>th
{
position: -webkit-sticky;
    position: sticky;
    top: 70px;
}
  
  .emaildate {
    top: 0px !important; 
    position: sticky;
    z-index:90;
  }

  table.table-striped thead tr th,
  table.dataTable thead tr th.sorting,
  table.table-striped tr.sticky-top th,
  table.table-striped tr.sticky-top td {
    top: 0px;
    background-color: rgba(242,242,242,0.75);
  }

  table.sortable thead th,
  table.oddeven thead th {
    background-color: #ccc;
  }

  tr.sticky-top {
    position: static !important;
  }

  tr.sticky-bottom th,
  tr.sticky-bottom td,
  .sticky-bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0px;
  }

  tr.sticky-bottom {
    position: static;
  }

  tr.sticky-left th,
  tr.sticky-left td,
  .sticky-left {
    position: -webkit-sticky;
    position: sticky;
    left: 0px;
  }

  tr.sticky-left {
    position: static;
  }

  tr.sticky-right th,
  tr.sticky-right td,
  .sticky-right {
    position: -webkit-sticky;
    position: sticky;
    right: 0px;
  }

  tr.sticky-right {
    position: static;
  }

  #confstatus {
    font-size: .55rem;
    position: absolute;
    top: 2px;
    left: 2px;
    margin: 0px !important;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.4);
    z-index: 20;
  }

  .conf-green {
    background-color: rgba(16,185,129,1);
  }

  .conf-red {
    background-color: rgba(220,38,38,1);
  }

  .conf-yellow {
    background-color: rgba(251,191,36,1);
  }

  .sticky-top {
    z-index: 90;
  }

  .oelist > *:nth-child(odd) {
    background-color: rgba(0,0,0,0.05);
  }
}

#bankedit {
  float: none;
  width: auto !important;
  overflow: auto !important;
  flex-grow: 1;
}

.ringing {
  box-shadow: 0px 0px 40px 2px #0b0 inset;
}

.modal {
  padding-left: max(10px, env(safe-area-inset-left));
  padding-right: max(10px, env(safe-area-inset-right));
}

caption {
  caption-side: top !important;
}

table.note tr td[rowspan='2'] {
  padding: 0px 10px;
}

table.note tr.note-I td:first-of-type {
  border-left: 2px solid #e0a800 !important;
}

table.note tr.note-I td:first-of-type {
  border-left: 2px solid #dc3545 !important;
}

.text-wrap {
  white-space: normal !important;
}

.text-no-select,
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.text-no-select img,
.noselect img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

body .popover-header {
  margin: 0px !important;
}

body .jstree-default .jstree-clicked {
  box-shadow: 0px 0px 0px;
}

body div.dataTables_wrapper div.dataTables_processing {
  position: fixed;
  top: 45%;
}

#loadInfo #todosave > table {
  table-layout: fixed;
}

#loadInfo #todosave > table tr td:first-of-type {
  width: 25%;
}

/* This is where the media SCREEN clause used to end */

@media print {
  @page {
    size: auto;
  }

  .noprint {
    display: none;
  }

  fieldset table {
    background: white;
  }

  fieldset table tr {
    background: white;
  }

  fieldset table td {
    background: white;
  }

  fieldset ul li {
    background: white;
  }

  tr.even {
    background: white;
  }

  #confstatus {
    display: none;
  }

  select {
    background-clip: initial !important;
    border-radius: initial !important;
    border: initial !important;
  }
}

@media (max-width: 768px) {
  #banner #nextapp a .text {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  #banner {
    overflow: visible !important;
  }

  #navmenu {
    position: absolute;
    top: 0px;
    right: 0px;
  }

  #navmenu a span.badge {
    top: 0.5em;
    left: 0.5em;
    right: auto !important;
  }

  #navmenu .navbar-collapse {
    min-width: 180px;
    /*box-shadow: -1px 2px 3px -2px #000;*/
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  }
}

@media (min-width: 1200px) {
  nav:not(.navbar-dark)#navmenu a:hover {
    box-shadow: 3px 0px 3px -3px #666 inset, -3px 0px 3px -3px #666 inset;
  }

  nav.navbar-dark#navmenu a:hover {
    box-shadow: 3px 0px 3px -3px #000 inset, -3px 0px 3px -3px #000 inset;
  }

  #navmenu a[data-tag]:before,
  #navmenu a[data-tag] span.fa {
    margin-right: 0px;
  }

  #navmenu {
    padding-right: 20px;
  }

/*
  #navmenu a {
    transition: all .15s ease-in-out;
  }
*/

  #navmenu a {
    display: flex;
    padding: 0px 10px;
    align-items: center;
  }

  #navmenu a[data-tag]:before,
  #navmenu a[data-tag] span.fa {
    font-size: 1.3rem;
  }

  #navmenu a[data-tag]:not([data-tag='New Email Message']):before,
  #navmenu a[data-tag]:not([data-tag='New Email Message']) span.fa {
    display: none;
  }

  #navmenu a[data-tag='New Email Message'] span.linktxt {
    display: none;
  }
}

/*
@media (min-width: 768px) and (max-width: 1200px) {
  #navmenu a span.badge {
    top: 2em;
    right: 0em;
  }

  #navmenu a[data-tag]:before,
  #navmenu a[data-tag] span.fa {
    display: inline !important;
    padding: 5px;
  }

  #navmenu a[data-tag] span.linktxt {
    display: none !important;
  }
}
*/

@media (min-width: 993px) {
  #navmenu a[data-tag='New Email Message']:before,
  #navmenu a[data-tag='New Email Message'] span.fa {
    margin-left: 7px;
  }
}

@media (min-width: 576px) {
  .modal-xxl {
    max-width: 1400px;
  }
}

#tree1 {
  height: 95%;
  overflow: auto;
}

#tree2 {
  height: 95%;
  overflow: auto;
}

#tree1 .jstree-default a .jstree-icon {
  display: none;
}

/*
.return-path {
  display: none;
  color: pink;
}
*/

span.attachment {
  padding: 2px;
  margin: 2px;
  clear: both;
  background-color: yellow;
}

div.attachment {
  padding: 2px;
  margin: 2px;
}

img.edmspage {
  border: 1px solid black;
}

div.wiki {
  overflow-x: auto;
}

/* jQuery Growl
 * Copyright 2013 Kevin Sylvestre
 * 1.2.4
 */
#growls {
  z-index: 50000;
  position: fixed;
}

#growls.default {
  bottom: 0px;
  right: 10px;
}

#growls.tl {
  top: 10px;
  left: 10px;
}

#growls.tr {
  top: 10px;
  right: 10px;
}

#growls.bl {
  bottom: 10px;
  left: 10px;
}

#growls.br {
  bottom: 10px;
  right: 10px;
}

#growls.tc {
  top: 10px;
  right: 10px;
  left: 10px;
}

#growls.bc {
  bottom: 10px;
  right: 10px;
  left: 10px;
}

#growls.tc .growl, #growls.bc .growl {
  margin-left: auto;
  margin-right: auto;
}

.growl {
  filter: alpha(opacity=80);
  position: relative;
  border-radius: 4px;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.growl.growl-incoming {
  opacity: 0;
  filter: alpha(opacity=0);
}

.growl.growl-outgoing {
  opacity: 0;
  filter: alpha(opacity=0);
}

.growl.growl-small {
  width: 200px;
  padding: 5px;
  margin: 5px;
}

.growl.growl-medium {
  width: 250px;
  padding: 10px;
  margin: 10px;
}

.growl.growl-large {
  width: 300px;
  padding: 15px;
  margin: 15px;
}

.growl.growl-default {
  color: white;
  background: blue;
}

.growl.growl-error {
  color: #FFF;
  background: #C0392B;
}

.growl.growl-notice {
  color: #FFF;
  background: #2ECC71;
}

.growl.growl-warning {
  color: #FFF;
  background: #F39C12;
}

.growl .growl-close {
  cursor: pointer;
  float: right;
  font-size: 22px;
  line-height: 18px;
  font-weight: normal;
  font-family: helvetica, verdana, sans-serif;
}

.growl .growl-title {
  font-size: 18px;
  line-height: 24px;
}

.growl .growl-message {
  font-size: 14px;
  line-height: 18px;
}

/*
a:visited {
  background: green;
  border:1px solid red;
}
*/

.bg-accent {
  color: #fff;
  background-color: rgba(0,0,0,0.25) !important;
}

.bg-accent a:not(.btn) {
  color: rgba(255,255,255,0.75);
}

.bg-accent a:not(.btn):hover {
  color: rgba(255,255,255,1);
}

.bg-black {
  background-color: #000;
}

.ui-widget {
  font-size: 1em;
}

.oauto {
  overflow: auto;
  -webkit-overflow-scrolling: touch !important;
}

.oauto-y {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch !important;
}

.oauto-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch !important;
}

.wrap-word {
  word-wrap: break-word;
}

body > .position-relative {
  margin-left: env(safe-area-inset-left);
  margin-right: env(safe-area-inset-right);
}

body > .position-relative > .row,
body > .position-relative > .form-row,
body > .position-relative > form > .row,
body > .position-relative > form > .form-row {
  margin-left: 0px;
  margin-right: 0px;
}

.redb,
.redb *,
.redborder,
.redborder>* {
  outline: 1px solid #e00 !important;
}

/* display FLEX stuff */

.oauto-x > .row,
#welcome > .row {
  margin-left: 0px;
  margin-right: 0px;
}

div.flexrow {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: flex-start;
}

div.flexrow>div {
  flex-grow: 1;
  flex-shrink: 1;
}

div.flexrow .welcomecard {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  flex-basis: 400px;
}

.welcomecard {
/*
  padding: 10px;
*/
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

div.flexrow .welcome2 {
  width: 1px;
  flex-basis: 830px;
}

div.flexrow .welcome3 {
  width: 1px;
  flex-basis: 1200px;
}

div.flexrow .welcomewide {
  -webkit-box-flex: 1 0;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1 0;         /* OLD - Firefox 19- */
  -webkit-flex: 1 0;          /* Chrome */
  -ms-flex: 1 0;              /* IE 10 */
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 99%;
  max-width: 100%;
  width: 1px;
}

div.welcomecard .card {
  -webkit-box-flex: 1 1;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1 1;         /* OLD - Firefox 19- */
  -webkit-flex: 1 1;          /* Chrome */
  -ms-flex: 1 1;              /* IE 10 */
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
}

.flex-grow,
.f-grow,
.fgrow {
  -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;         /* OLD - Firefox 19- */
  -webkit-flex: 1;          /* Chrome */
  -ms-flex: 1;              /* IE 10 */
  flex-grow: 1 !important;
}

.flex-grow-2,
.f-grow-2,
.fgrow2 {
  -webkit-box-flex: 2;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 2;         /* OLD - Firefox 19- */
  -webkit-flex: 2;          /* Chrome */
  -ms-flex: 2;              /* IE 10 */
  flex-grow: 2 !important;
}

.flex-nogrow,
.f-grow-0,
.fgrow-0 {
  -webkit-box-flex: 0;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 0;         /* OLD - Firefox 19- */
  -webkit-flex: 0;          /* Chrome */
  -ms-flex: 0;              /* IE 10 */
  flex-grow: 0 !important;
}

.flex-shrink,
.f-shrink,
.fshrink {
  flex-shrink: 1 !important;
  max-width: 100%;
  max-height: 100%;
}

.flex-shrink-0,
.flex-noshrink,
.f-shrink-0,
.fshrink-0 {
  flex-shrink: 0 !important;
}

@media (min-width: 576px) {
  .flex-shrink-md,
  .f-shrink-md-1,
  .fshrink-md-1 {
    flex-shrink: 1 !important;
  }

  .flex-noshrink-md,
  .f-shrink-md-0,
  .fshrink-md-0 {
    flex-shrink: 0 !important;
  }

  .flex-grow-md,
  .f-grow-md-1,
  .fgrow-md-1 {
    flex-grow: 1 !important;
  }

  .flex-nogrow-md,
  .f-grow-md-0,
  .fgrow-md-0 {
    flex-grow: 0 !important;
  }
}

body #welcome .card .card-block,
body #welcome .card .card-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch !important;
}

.h100 {
  height: 100px !important;
}

.h150 {
  height: 150px !important;
}

.h200 {
  height: 200px !important;
}

.h250 {
  height: 250px !important;
}

.h300 {
  height: 300px !important;
}

.h350 {
  height: 350px !important;
}

.h400 {
  height: 400px !important;
}

.h450 {
  height: 450px !important;
}

.h500 {
  height: 500px !important;
}

.h550 {
  height: 550px !important;
}

.h600 {
  height: 600px !important;
}

.h650 {
  height: 650px !important;
}

.h700 {
  height: 700px !important;
}

.h750 {
  height: 750px !important;
}

.h800 {
  height: 800px !important;
}

.h850 {
  height: 850px !important;
}

.w100p {
  width: 100% !important;
}

.minh-60,
.minh60 {
  min-height: 60px;
}

.min-40,
.min40 {
  min-width: 40px;
}

.min-50,
.min50 {
  min-width: 50px;
}

.min-60,
.min60 {
  min-width: 60px;
}

.min-80,
.min80 {
  min-width: 80px;
}

.min-100,
.min100 {
  min-width: 100px;
}

.min-200,
.min200 {
  min-width: 200px;
}

.min-300,
.min300 {
  min-width: 300px;
}

.max-50p {
  max-width: 50%;
}

.max-100,
.max100 {
  max-width: 100px;
}

.max-200,
.max200 {
  max-width: 200px;
}

.max-300,
.max300 {
  max-width: 300px;
}

.max-400,
.max400 {
  max-width: 400px;
}

.w400 {
  width: 400px !important;
}

.w500 {
  width: 500px !important;
}

.blur2,
.blur-2 {
  filter: blur(2px);
}

.blur,
.blur5,
.blur-5 {
  filter: blur(5px);
}

.blur10
.blur-10 {
  filter: blur(10px);
}

@supports not (-ms-ime-align: auto) {
  .no-blur-behind {
    -webkit-backdrop-filter: blur(0px) !important;
    backdrop-filter: blur(0px) !important;
  }

/*
  .modal-backdrop,
*/
  table.table-striped thead tr th,
  table.dataTable thead tr th.sorting,
  table.table-striped tr.sticky-top th,
  table.table-striped tr.sticky-top td,
  table.oddeven thead tr:first-of-type th,
  .blur-behind,
  .blur-behind-5,
  .blur5-behind {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .blur-behind-10,
  .blur10-behind {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.grab * {
  cursor: move !important;
  cursor: grab !important;
  cursor: -moz-grab !important;
  cursor: -webkit-grab !important;
}

.grabbing,
.grabbing * {
  cursor: move !important;
  cursor: grabbing !important;
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
}

.dragzone {
  border: 2px dashed #dc3545;
}

.dragzone:hover {
  border: 2px dashed #155724;
  background-color: #d4edda;
}

.btn-light {
  border-color: #ccc;
}

.btn-round {
  border-radius: 50%;
}

.btn-rounded {
  border-radius: 2em;
}

img.pic {
  max-height: 200px;
  max-width: 200px;
}

#chatgroups img.pic {
  max-height: 30px;
  max-width: 30px;
}

#chatgroups .chattitle {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.chatimg {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  background-size: cover;
  background-position: center;
}

img.chatimg {
  max-height: 40px;
  max-width: 40px;
}

div.contactavatar {
  width: 20px;
  height: 20px;
  margin-right: 0.5em;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border-radius: 50% !important;
}

.text-hover-underline:hover,
.text-underline {
  text-decoration: underline !important;
}

.text-gold {
  color: gold;
}

.text-shadow {
  text-shadow: 0px 1px 2px rgba(0,0,0,0.65);
}

.nowrap {
  white-space: nowrap;
}

svg > g > g:last-child {
  pointer-events: none;
}

#smartertabs .longtab {
  display: none;
}

div.em {
  display: inline-flex;
  position: relative;
  margin: 1px;
  margin-left: 5px;
  margin-right: 5px;
  height: 30px;
  border: none;
  font-family: sans-serif;
  font-size: 14px;
  background-color: #f4f4f4;
  line-height: 30px;
  text-align: center;
  cursor: default;
  border-radius: 30px;
  box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.5);
}

div.em:hover {
  background-color: #e0e0e0;
}

div.emi {
  height: 30px;
  min-width: 30px;
  border-radius: 30px;
  text-align: center;
  padding: 5px;
  background-color: rgb(107, 165, 231);
  line-height: 20px;
  font-size: 11px;
  color: white;
  box-shadow: -4px 1px 4px -3px rgba(0,0,0,0.5);
}

div.emx,
div.projx {
  background-color: #dc3545;
  border-color: #dc3545;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  text-align: center;
  color: rgba(255,255,255,0.85);
  box-shadow: 4px 1px 4px -3px rgba(0,0,0,0.5);
}

div.em .em-text {
  padding-inline: 10px;
  flex-grow: 1;
}

div.emx:hover,
div.projx:hover {
  background-color: #c9302c !important;
  border-color: #c12e2a !important;
  cursor: pointer;
}

div.emc {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 10px;
  width: 10px;
  border: 2px solid white;
  border-radius: 50%;
  text-align: center;
  background-color: black;
  line-height: 10px;
  font-size: 11px;
  color:white;
}

.exblock {
  width:200px;
  display:inline-block;
  vertical-align:top;
  margin:5px;
}

.exblock select, .exblock input {
  width:100%;
  box-sizing: border-box !important;
}

body .fc-icon:after {
  margin: 0 0;
}

.break-all,
.breakall {
  word-break: break-all;
}

.product-thumb {
  min-width: 200px;
  min-height: 200px;
  background-color: hsl(0,0%,0%,10%);
}

.modal-backdrop {
  background-color: rgba(0,0,0,0.5) !important;
  opacity: 1 !important;
}

/*for modal slide out*/
.ui-autocomplete {
  z-index: 2147483647;
  overscroll-behavior-y: none;
}

#ui-datepicker-div {
  z-index: 9999 !important;
}

@media (max-width: 576px){
  #todoInfo .modal-dialog.modal-dialog-slideout {
    width: 80%;
  }
}

#todoInfo {
  padding-right: 0px !important;
}

#todoInfo .modal-dialog-slideout {
  min-height: 100%;
  margin: 0 0 0 auto;
  background: #fff;
}

/*.modal-dialog-slideout {min-height: 100%; margin: 0 auto 0 0 ;background: #fff;}*/
#todoInfo.modal.fade .modal-dialog.modal-dialog-slideout {
  -webkit-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}

#todoInfo.modal.fade.show .modal-dialog.modal-dialog-slideout {
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
  flex-flow: column;
}

#todoInfo .modal-dialog-slideout .modal-content {
  border: 0;
}

@supports not (-ms-high-contrast: none) {
  .ieonly {
    display: none;
  }
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-6 {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-7 {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2;
}

.clickable {
  cursor: pointer;
}

.vmiddle,
.v-middle {
  display: flex;
  align-items: center;
}

.mlm1 {
  margin-left: -1px;
}

.mrm1 {
  margin-right: -1px;
}

.bg-lightish {
  background-color: #f0f1f2;
}

.bg-white-hover:hover {
  background-color: #fff;
}

.highlight {
  background-color: rgba(200,200,200,0.2);
}

select.err {
  color: #FFF !important;
  background: #C0392B !important;
}

.shake {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

body > .row {
  margin-left: 0px;
  margin-right: 0px;
}


.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

@media (min-width: 1500px) {
  .col-sl {
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -ms-flex-positive: 1;
        flex-grow: 1;
    max-width: 100%;
  }
  .col-sl-auto {
    -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .col-sl-1 {
    -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-sl-2 {
    -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-sl-3 {
    -ms-flex: 0 0 25%;
        flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sl-4 {
    -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-sl-5 {
    -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-sl-6 {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sl-7 {
    -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-sl-8 {
    -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-sl-9 {
    -ms-flex: 0 0 75%;
        flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sl-10 {
    -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-sl-11 {
    -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-sl-12 {
    -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    max-width: 100%;
  }
  .order-sl-first {
    -ms-flex-order: -1;
        order: -1;
  }
  .order-sl-1 {
    -ms-flex-order: 1;
        order: 1;
  }
  .order-sl-2 {
    -ms-flex-order: 2;
        order: 2;
  }
  .order-sl-3 {
    -ms-flex-order: 3;
        order: 3;
  }
  .order-sl-4 {
    -ms-flex-order: 4;
        order: 4;
  }
  .order-sl-5 {
    -ms-flex-order: 5;
        order: 5;
  }
  .order-sl-6 {
    -ms-flex-order: 6;
        order: 6;
  }
  .order-sl-7 {
    -ms-flex-order: 7;
        order: 7;
  }
  .order-sl-8 {
    -ms-flex-order: 8;
        order: 8;
  }
  .order-sl-9 {
    -ms-flex-order: 9;
        order: 9;
  }
  .order-sl-10 {
    -ms-flex-order: 10;
        order: 10;
  }
  .order-sl-11 {
    -ms-flex-order: 11;
        order: 11;
  }
  .order-sl-12 {
    -ms-flex-order: 12;
  }
  .offset-sl-0 {
    margin-left: 0;
  }
  .offset-sl-1 {
    margin-left: 8.333333%;
  }
  .offset-sl-2 {
    margin-left: 16.666667%;
  }
  .offset-sl-3 {
    margin-left: 25%;
  }
  .offset-sl-4 {
    margin-left: 33.333333%;
  }
  .offset-sl-5 {
    margin-left: 41.666667%;
  }
  .offset-sl-6 {
    margin-left: 50%;
  }
  .offset-sl-7 {
    margin-left: 58.333333%;
  }
  .offset-sl-8 {
    margin-left: 66.666667%;
  }
  .offset-sl-9 {
    margin-left: 75%;
  }
  .offset-sl-10 {
    margin-left: 83.333333%;
  }
  .offset-sl-11 {
    margin-left: 91.666667%;
  }
  .d-sl-none {
    display: none !important;
  }
  .d-sl-inline {
    display: inline !important;
  }
  .d-sl-inline-block {
    display: inline-block !important;
  }
  .d-sl-block {
    display: block !important;
  }
  .d-sl-table {
    display: table !important;
  }
  .d-sl-table-row {
    display: table-row !important;
  }
  .d-sl-table-cell {
    display: table-cell !important;
  }
  .d-sl-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-sl-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

div.optionblock {
  vertical-align: top;
  display: inline-block;
  min-width: 180px;
  overflow: hidden;
  text-align: left;
}

div.optionblock ul {
  padding-left: 1px;
  text-decoration: none;
  text-align: left;
}

.dateerror {
  z-index: 10;
}

.text-bg {
  color: rgba(0,0,0,0.65);
}

.bg-blue {
  background-color: rgba(59,130,246,1);
}

.bg-yellow {
  background-color: rgba(251,191,36,1);
}

.bg-green {
  background-color: rgba(16,185,129,1);
}

.fa-cspin {
  -webkit-animation: fa-cspin 2s linear infinite;
  animation: fa-cspin 2s linear infinite;
}

.fa-cspin {
  -webkit-animation:fa-cspin 2s linear infinite;
  animation:fa-cspin 2s linear infinite;
}

.fa-pulse {
  -webkit-animation:fa-cspin 1s steps(8) infinite;
  animation:fa-cspin 1s steps(8) infinite;
}

@-webkit-keyframes fa-cspin {
  0% {
    -webkit-transform:rotate(0deg);
    transform:rotate(0deg);
  }
  to {
    -webkit-transform:rotate(-1turn);
    transform:rotate(-1turn)
  }
}

@keyframes fa-cspin {
  0% {
    -webkit-transform:rotate(0deg);
    transform:rotate(0deg)
  }
  to {
    -webkit-transform:rotate(-1turn);
    transform:rotate(-1turn)
  }
}


@media not print {

  .flex-grow,
  .f-grow,
  .fgrow,
  .flex-grow-2,
  .f-grow-2,
  .fgrow2,
  .flex-nogrow,
  .f-grow-0,
  .fgrow-0,
  .flex-shrink,
  .f-shrink,
  .fshrink,
  .flex-shrink-0,
  .flex-noshrink,
  .f-shrink-0,
  .fshrink-0 {
    min-width: 0%;
    min-height: 0%;
  }

  #bannerb.xmas {
    padding: 0px;
    margin-left: -0px;
    margin-right: 50px;
    margin-top: -10px;
    margin-bottom: 10px;
    width: 100%;
    background: url('cl.png');
    background-position: center bottom;
    background-repeat: repeat-x;
    border-bottom: 0px solid #0066CC;
  }
  #bannerb.jubilee {
    padding: 0px;
    margin-left: -0px;
    margin-right: 50px;
    margin-top: -5px;
    margin-bottom: 10px;
    width: 100%;
    background: url('bunting.svg');
    background-position: center bottom;
    background-repeat: repeat-x;
    border-bottom: 0px solid #0066CC;
  }
}

.booking {
  display: flex;
  align-items: stretch;
  height: 100%;
  box-sizing: border-box;
  border: 0px;
  z-index: 9;
  padding: 0px;
  color: #fff;
  border-radius: 5px;

/* Attempt to make the text readable against any background color the user may have chosen */
  text-shadow:
        0.05em 0 hsl(0,0%,0%,40%),
        0 0.05em hsl(0,0%,0%,40%),
        -0.05em 0 hsl(0,0%,0%,40%),
        0 -0.05em hsl(0,0%,0%,40%),
        -0.05em -0.05em hsl(0,0%,0%,40%),
        -0.05em 0.05em hsl(0,0%,0%,40%),
        0.05em -0.05em hsl(0,0%,0%,40%),
        0.05em 0.05em hsl(0,0%,0%,40%);
  letter-spacing: .75px;
}

.booking:hover span.bookingtxt {
  background-color: rgba(0,0,0,0.3);
}

span.bookingtxt {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 5px;
  border-radius: 0.2rem;
}


.kanban { min-height: 300px; }

/* WebKit */
.kanban ::-webkit-scrollbar { width: 5px; height: 5px; }
.kanban ::-webkit-scrollbar-track { background-color: #f5f5f5; }
.kanban ::-webkit-scrollbar-thumb { background-color: #bbb; border-radius: 5px; }
.kanban ::-webkit-scrollbar-thumb:hover { background-color: #999; }

/* Firefox */
.kanban ::-moz-scrollbar { width: 5px; height: 5px; }
.kanban ::-moz-scrollbar-track { background-color: #f5f5f5; }
.kanban ::-moz-scrollbar-thumb { background-color: #bbb; border-radius: 5px; }
.kanban ::-moz-scrollbar-thumb:hover { background-color: #999; }

.kanban-drag {cursor: grab}
.kanban-drag-disabled {cursor: not-allowed}

.leavediary {
  overflow-x : auto;  
}
.wwts{display:none}

fieldset.search {background: none}

#backtoONET {
    display:none;
  }

@media all and (display-mode: standalone) {
  #backtoONET {
    display:block;
  }
}


/* textarea height expansion */
.grow-wrap {
  /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
  display: grid;
}
.grow-wrap::after {
  /* Note the weird space! Needed to preventy jumpy behavior */
  content: attr(data-replicated-value) " ";

  /* This is how textarea text behaves */
  white-space: pre-wrap;

  /* Hidden from view, clicks, and screen readers */
  visibility: hidden;
}
.grow-wrap > textarea {
  /* You could leave this, but after a user resizes, then it ruins the auto sizing */
  resize: none;

  /* Firefox shows scrollbar on growth, you can hide like this. */
  overflow: hidden;
}
.grow-wrap > textarea,
.grow-wrap::after {
  /* Identical styling required!! */
  padding: 0.5rem;
  font: inherit;

  /* Place on top of each other */
  grid-area: 1 / 1 / 2 / 2;
}


.teamscreate {
    color: #fff;
    background-color: #464775;
    border-color: #464775;
}

