body {
  padding-top: 60px;
  padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

@media print {
  body {
      padding-top: 0px;
      padding-bottom: 0px;
  }
}

body:has(#react-root) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container.body-content:has(#react-root) {
  padding: 0 !important;
  width: 100% !important;
}

/* Override the default bootstrap behavior where horizontal description lists 
 will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input:not(.form-control-max, .form-control-date),
select {
  max-width: 280px;
}

inline {
  display: inline !important;
}

/* Custom tags */
.btn-width-max {
  width: 200px;
}

/* jQueryUI combobox */
.custom-combobox {
  position: relative;
  display: inline-block;
}

.custom-combobox-toggle {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-left: -1px;
  padding: 0;
}

.custom-combobox-input {
  margin: 0;
  padding: 5px 10px;
}

.note {
  color: dimgrey;
  font-size: 11px;
}

.size100px {
  width: 100px;
}

td.cell-time {
  width: 105px;
}

span.cell-time {
  color: dimgrey;
}

.cell-type {
  width: 100px;
}

td.cell-value {
  width: 40px;
}

td.cell-date {
  width: 140px;
}
td.cell-datetime {
  width: 160px;
}
td.cell-datetimeini {
  width: 180px;
}
.cell-employeename
{
  width: 160px;
}
td.cell-shortdate {
  width: 110px;
}
td.cell-pn {
  width: 40px;
}
td.cell-menu {
  width: 40px;
  text-align: right;
}

.cell-description {
  white-space: pre-line;
  word-break: break-word;
}

.cell-ordination {
  width: 250px;
}
.cell-dose-header-normal {
  font-size: small;
  text-align: center;
  font-weight: normal;
  margin:0px;
  padding: 0px;
  width: 40px;
}
.cell-dose-header-pn {
  font-size: small;
  text-align: center;
  font-weight: bold;
}
.cell-dose-body {
  font-size: small;
  text-align: center;
}
table.table-dose {
  margin-top: 5px;
}
.text-header {
  font-size: x-small;
  color: dimgray;
  font-weight: bold;
}
.text-headline {
  font-size: medium;
  font-weight: bold;
}
.text-invert {
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.text-rotate-90 {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
.text-rotate-180 {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.text-rotate-270 {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.text-yellow {
  color: #e7c111;
}

.text-red {
  color: #d40303;
}
.text-grey {
  color: dimgray;
}
.text-small {
  font-size: x-small;
}
.text-large {
  font-size: x-large;
}
.text-time {
  font-size: medium;
  font-weight: bold;
}
.text-datetime {
  font-size:11px;
  font-weight:normal;
  color: dimgray;
}
.text-datetime-icon {
  font-size:12px;
  font-weight:100;
  color: silver;
}

.incidencedate {
  width: 100px;
}

.md-group{
  display: inline-block;

}
.md-label{
  display: inline-block;
  width: 280px;
      vertical-align: top;
}
.md-control{
  display: inline-block;
}

div.canvas {
  min-height: 300px;
}

canvas.canvas {
  position: absolute;
  left: 0px;
  top: 0px;
}

canvas.canvas-image {
  z-index: 2;
}

canvas.canvas-progression {
  z-index: 1;
}


.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}

  .bs-callout h4 {
      margin-top: 0;
      margin-bottom: 5px;
  }

  .bs-callout p:last-child {
      margin-bottom: 0;
  }

  .bs-callout code {
      border-radius: 3px;
  }

  .bs-callout + .bs-callout {
      margin-top: -5px;
  }

.bs-callout-danger {
  border-left-color: #ce4844;
}

  .bs-callout-danger h4 {
      color: #ce4844;
  }

.bs-callout-warning {
  border-left-color: #e7c111;
}

  .bs-callout-warning h4 {
      color: #e7c111;
  }

.bs-callout-info {
  border-left-color: #1b809e;
}

  .bs-callout-info h4 {
      color: #1b809e;
  }

.input-feedback{
  position: absolute;
  top: 10px;
  left: 270px;
}

.ui-autocomplete-loading {
  background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
}

.client_namebox {
  padding-top: 10px;
  padding-bottom: 5px;
}
.client_name {
  font-size: x-large;
  font-weight: bold;
}
.client_cprnumber {
  font-size: medium;
  padding-left: 40px;
}
.btn-group-block {
  width: 100%;
}

.badgeicon{
  font-size: x-large;
 
}
.badgeicon_small {
  font-size: large;
}
.badge-notify{
 /*background:#d40303;*/
 background-color:rgba(230, 3, 3, 0.8);
 position:relative;
 top: 2px;
 left: -14px;
 margin-right: -10px;
}
.notifyicon{
  font-size: large;
  padding-top: 2px;
}
.label-notify{
 /*background:#d40303;*/
 background-color:rgba(230, 3, 3, 0.8);
 position:relative;
 top: -8px;
 left: -5px;
 margin-right: -10px;
 padding: 3px;
 font-size: 8px;
}
.badge-dimgray {
  /*background:#d40303;*/
  background-color: rgba(150, 150, 150, 0.8);
  position: relative;
  top: 2px;
  left: -14px;
  margin-right: -10px;
}

.badge-gray{
 background:dimgray;
 position:relative;
 top: 2px;
 left: -14px;
 margin-right: -10px;
}
.panel-condensed{
  margin-bottom:0px !important;
}
.panel-condensed > .panel-body{
  padding: 1px;
}
.panel-condensed > .panel-heading > table,
.panel-condensed > .panel-body > table{
  margin-bottom:0px !important;
}
.panel-condensed > .panel-heading > table,
.panel-condensed > .panel-heading > table > tbody > tr,
.panel-condensed > .panel-heading > .table > tbody > tr > td{
  border: 0px !important;
  padding: 0px;
  vertical-align: middle;
}

.navbar-inverse{
  background-image: linear-gradient(to bottom,#4079a4 0,#1a67a1 100%);
  border-color: #0e4e7e;
}
.navbar-inverse .navbar-brand {
  color: #a6bfd3;
}
.navbar-inverse .navbar-nav > li > a{
  color: white;
  text-shadow: none;
}
.navbar-inverse .navbar-nav>.open>a{
  background-image: linear-gradient(to bottom,#1a67a1 0,#0e4e7e 100%);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}


BODY.news{
  background-color: #deeabc;
  padding:20px;
}
.news-header{
  font-size: x-large;
  font-weight: bold;
}
.news-date{
  font-size: small;
  color: grey;
  padding-left: 10px;
}
.news-text{
  font-size: medium;
  white-space: pre-line;
}
.news-daily{
  font-size: large;
  font-style: italic;
  color: #3d5339;
  white-space: pre-line;
}
.news-separator{
  border-color: black;
}


.breadcrumb {background: rgba(255, 255, 255, 1); border: 0px solid rgba(245, 245, 245, 1); border-radius: 4px; display: block;}

.table tbody tr > td.bg-lightgrey {
background-color: #f5f5fa !important;
}
.table-hover tbody tr:hover > td.bg-lightgrey {
background-color: #e5e5f0 !important;
}
.table-hover > tbody > tr.bg-lightgrey > td {
   background-color: #f5f5fa !important;
}
.table-hover > tbody > tr.bg-lightgrey:hover > td {
   background-color: #e5e5f0 !important;
}

.table-minimum {
  margin: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

.form-control-max {
  width: 100% !important;
  max-width: unset !important;
}
.form-control-date {
  width: 100px !important;
  max-width: unset !important;
}
.label-onwatch{
  background-color: #61a02f;
}
.label-oncall{
  background-color: #8eba6b;
  color: #cceeb1;
}
.label-xoncall {
  background-color: #a5e0f2;
  color: #eef8fb;
}
.label-sickness{
  background-color:#eb8080;
  color: #fcf2f2;
}
.label-silent {
  background-color: #eee;
  color: #999;
}

.strong {
  font-weight: bold;
}

/* Fixing navbar*/
.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
  max-height: none;
}

li.dropdown.open ul.dropdown-menu {
  background-color: #f3f3f3;
} 

.max-with100p{
  max-width: 100%;
}