<!--

@import url('https://fonts.googleapis.com/css?family=Nunito');

@media only screen and (max-width: 750px){
/* On really small screens make labels sit on top of the fields rather than to the left */
  div.inputwrapper {
    display: flex !important;
    flex-direction: column;
    margin-bottom: 10px;
    background-color: #E5E5E5;
  }

  div.inputlabel {
    text-align: initial !important;
  }

  div.inputfield_wrapper {
    max-width: 100vw !important;
  }

  .button_area {
    display: flex;
    flex-direction: column;
    padding: 30px;
    width: 80% !important;
  }

  /* Patient form (2 columns) rules */
  div.patientformwrapper {
    display: unset !important;
    grid-template-columns: auto !important;
  }

  div.patientformfield1_wrapper {
    max-width: 100vw !important;
  }

  div.patientformfield2_wrapper {
    max-width: 100vw !important;
  }
  /* End patient form (3 columns) rules */

/* Main menu */
  #hamburger_menu {
    display: block !important;
    width: 100vw;
  }

  #hamburger_menu div {
    width: 35px;
    height: 5px;
    background-color: #FFFFFF;
    margin: 6px 0;
  }

  #hamburger_menu section {
    width: 40px;
    padding: 5px 5px 5px 10px;
    background-color: #333333;
    cursor: pointer;
  }

  #mainmenu {
    display: none;
  }

  #mainmenu ul li {
    width: 100vw;
  }

  #mainmenu ul li span {
    text-align: left !important;
  }
/* End main menu */

  .ui-dialog {
    width: 90vw !important;
  }
}

@media only screen and (max-width: 1200px){
  #login_wrapper {
    position: relative;
    top: 15vh !important;
  }

  #logo_box {
    display: none;
  }

  #login_message {
    max-width: 90vw !important;
  }

  #mainmenu li:last-child {
    display: none !important;
  }

  #canvas {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #menubar {
    position: initial !important;
  }

  #sidebar {
    width: 98vw !important;
  }

  #flexcanvas {
    display: initial !important;
  }

  #mainbody {
    left: auto !important;
    width: 98vw !important;
  }

  #content_home_left, #content_home_right {
    width: 100% !important;
  }

  .textboxinfo {
    width: 97% !important;
  }

  .textbox, .textarea, .popup, .textboxautocompleter {
    max-width: 97% !important;
  }
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: default;
  color: #000000;
  background-color: #FFFFFF;
  font-family: 'Nunito', sans-serif;
}

A:link {color: blue; text-decoration: none}
A:visited {color: blue; text-decoration: none}
A:hover {color: blue; text-decoration: underline}

div.box {}

div.boxheader {
  width: 99%;
  background-color: #6383c0;
  color: #FFFFFF;
  padding: 4px 0 4px 0;
  border-radius: 2px;
}

div.boxlabel {
  padding: 4px;
  font-weight: bold;
}

div.boxdata {
  padding: 2px;
  width: 99%;
}

textarea {
  height: 55px;
}

th, .timeblock_header {
  background-color: #70A2C3;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.separator {
  background-color: #189DF5;
  color: #FFFFFF;
  font-weight: bold;
  padding: 3px;
  border: 1px solid white;
  clear: both;
}

table.bordered {
  border: 1px solid #000000;
  border-spacing: 0;
}

table.bordered tr:nth-child(odd) {
  background-color: #F3F3F3;
}

table.bordered tr:nth-child(even) {
  background-color: #FFFFFF;
}

table.bordered tr:hover {
  background-color: #E5E5E5;
}

blockquote.replies {
  border-left: 3px solid #E5E5E5;
  padding-left: 5px;
  margin: 10px;
}

/* This stuffs up the main menu, do not enable! */
/* #canvas { */
/*   width: 100%; */
/*   height: 100%; */
/*   padding: 0px; */
/* } */

#menubar {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

#flexcanvas {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

#sidebar {
  width: 25%;
  padding-right: 1%;
}

#mainbody {
  width: 75%;
}

#popupwindow {
  z-index: 100;
  visibility: hidden;
  position: absolute;
  top: 100px;
  left: 25%;
  width: 50%;
  padding: 1px;
  background-color: #FFFFFF;
}

#login_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center
}

#logo_box {
  margin: auto;
  position: relative;
  width: 455px;
  height: 255px;
  background-image: url('images/medpraq_logo.png');
  background-repeat: no-repeat;
}

#login_message {
  padding-top: 5vh;
  max-width: 500px;
  color: #FF4400;
}

div#login_wrapper label {
  clear: left;
  float: left;
  padding: 2px 10px 5px 0;
  text-align: right;
  font-weight: bold;
  background-color: #E5E5E5;
  max-width: 60vw;
  min-width: 120px;
}

.patientform_match {
  background-color: #7aec7a !important;
}

.patientform_mismatch {
  background-color: #f7f794 !important;
}

.patientform_missing {
  background-color: #ff6b6b !important;
}

#content_home_left, #content_home_right {
  width: 50%;
  float: left;
}

.content_home_summary {
  margin-bottom: 15px;
  /* width: 45%; */
}

.fitted_txt {
  max-width: 0; /* https://stackoverflow.com/questions/9789723/css-text-overflow-in-a-table-cell */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

div.printable {
  border: 1px dotted;
  width: 850px;
  height: 300px;
  overflow: auto;
}

div.inputwrapper {
  display: grid;
  grid-template-columns: 180px auto;
}

div.inputlabel {
  background-color: #E5E5E5;
  text-align: right;
  font-weight: bold;
  padding-top: 3px;
}

div.inputlabel label {
  padding: 3px 8px 3px 0;
}

div.inputfield_wrapper {
  max-width: 65vw;
  overflow: auto;
  white-space: nowrap;
}

.button_area {
  padding-top: 15px;
  padding-bottom: 10px;
}

/* Patient form (2 columns) rules */
div.patientformwrapper {
  display: grid;
  grid-template-columns: 350px auto;
}

div.patientformfield1_wrapper {
  max-width: 350px;
}

div.patientformfield2_wrapper {

}
/* End patient form (3 columns) rules */

.warning {
  color: #FFFFFF;
  background-color: #FF6600;
  background-image: url('images/alert.svg');
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: left center;
  font-weight: bold;
  padding: 2px 0 2px 20px;
}

.clickable {
  cursor: pointer;
}

.underline {
  text-decoration: underline;
}

.zoom, .zoom_nohover {
  padding-left: 18px;
  cursor: pointer;
  background-image: url('images/zoom.svg');
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.zoom:hover {
  color: red;
  text-decoration: underline;
}

.timeblock {
  float: left;
  padding-right: 20px;
  cursor: pointer;
}

.timeblock:hover {
  color: #FFFF00;
  text-decoration: underline;
}

.light_link A:link {color: white; font-weight: normal; text-decoration: none}
.light_link A:visited {color: white; font-weight: normal; text-decoration: none}
.light_link A:hover {color: red; font-weight: normal; text-decoration: underline}

.cal_common {
  vertical-align: top;
  border-bottom: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
}

.cal_free {
  cursor: pointer;
  background-color: #E4E4E4;
}

.cal_booked {
  background-color: #555555;
  color: #FFFFFF;
}

.cal_readyfornurse {
  background-color: #333333;
  color: #00FF00;
}

.cal_nurse_attention {
  color: #00FF00;
}

.cal_readyfordoctor {
  background-color: #333333;
  color: #FF0000;
}

.cal_left {
  background-color: #999999;
  color: #FFFF00;
}

.cal_noshow {
  text-decoration: line-through;
  background-color: #CCCCCC;
  color: #FFFF00;
}

.sidelink_active, .sidelink_inactive {
  padding-left: 20px;
  cursor: pointer;
}

.sidelink_active {
  font-style: italic;
  background-image: url('images/tick.svg');
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.sidelink_inactive:hover {
  color: red;
  text-decoration: underline;
}

.inline_icon {
  width: 16px;
  height: 16px;
}

/* .row_odd { */
/*   background-color: #E5E5E5; */
/* } */

/* .row_even { */
/* } */

.row_emphasize {
  font-style: italic !important;
}

.row_alert {
  color: #FFFFFF;
  background-color: #FF6600 !important;
  height: 20px;
}

.row_subtotal {
  background-color: #FFE4D2 !important;
  vertical-align: top;
}

.row_total {
  background-color: #EDFFD9 !important;
  height: 20px;
}

.full_calcell {
  background-color: #E4E4E4;
  width: 30px;
  height: 30px;
  border: 1px solid #FFFFFF;
}

.empty_calcell {
  background-color: #FFFFFF;
  width: 30px;
  height: 30px;
  border: 1px solid #FFFFFF;
}

.today_day {
  color: red;
  font-weight: bold;
  cursor: pointer;
}

.today_day:hover {
  text-decoration: underline;
}

.other_day {
  color: blue;
  font-weight: bold;
  cursor: pointer;
}

.other_day:hover {
  text-decoration: underline;
}

.invalid_input {
  border: 1px solid red !important;
}

.textbox, .textarea, .popup, .textboxautocompleter {
  font-size: 110%;
  color: #445550;
  text-decoration: none;
  background-color: #FFFFFF;
  border: 1px solid #244F84;
  margin: 1px;
  padding: 3px;
}

.textbox:focus, .textarea:focus, .textboxautocompleter:focus {
  background-color: #F0F0F0;
  border: 1px dotted #000000;
}

.textboxautocompleter {
  background-image: url('images/input.svg');
  background-repeat: no-repeat;
  background-size: 28px 16px;
  background-position: 2px center;
  padding-left: 32px;
}

.textboxinfo {
  font-size: 110%;
  width: 50%;
  border: 2px solid transparent;
}

.textarea {
  background-position: bottom left;
}

.textboxtick {
  background-image: url('images/tick.svg');
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 2px center;
  padding-left: 23px;
}

.textboxadd {
  background-image: url('images/lookup.svg');
  background-repeat: no-repeat;
  background-size: 16px 23px;
  background-position: 2px center;
  padding-left: 23px;
}

.buttons {
  background-color: #289cff;
  border: none;
  color: #FFFFFF;
  padding: 10px 32px 10px 32px;
  margin: 4px 2px;
}

.buttons:hover {
  background-color: #4caf50;
}

.success_message {
  background-color: #00CB18;
  border: 2px solid #000000;
}

.warning_message {
  background-color: #FFFF00;
  border: 2px solid #000000;
}

.error_message {
  background-image: url('images/error.png');
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 210px;
  padding-bottom: 30px;
}

.error_message div {
  background-color: #C81F1F;
  color: #FFFFFF;
  border: 2px solid #000000;
}

span.error_label {
  padding-left: 10px;
}

.arrow_box {
  display: inline;
  position: relative;
  background: orange;
  border: 1px solid #c2e1f5;
  color: #FFFFFF;
  font-weight: bold;
  font-style: italic;
  padding: 3px;
}

.arrow_box:after, .arrow_box:before {
  right: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow_box:after {
  border-color: rgba(0, 0, 0, 0);
  border-right-color: orange;
  border-width: 8px;
  top: 50%;
  margin-top: -8px;
}

.arrow_box:before {
  border-color: rgba(194, 225, 245, 0);
  border-right-color: #c2e1f5;
  border-width: 11px;
  top: 50%;
  margin-top: -11px;
}

.balance_negative {
  color: red;
}

.balance_positive {
  color: green;
}

/* jQuery ajax dropdowns */

.ui-helper-hidden {
  display: none;
}

.ui-helper-hidden-accessible {
  border: 0 none;
  clip: rect(0px, 0px, 0px, 0px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.ui-helper-reset {
  border: 0 none;
  line-height: 1.3;
  list-style: none outside none;
  margin: 0;
  outline: 0 none;
  padding: 0;
  text-decoration: none;
}

.ui-helper-clearfix:before, .ui-helper-clearfix:after {
  border-collapse: collapse;
  content: "";
  display: table;
}

.ui-helper-clearfix:after {
  clear: both;
}

.ui-helper-clearfix {
  min-height: 0;
}

.ui-helper-zfix {
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.ui-menu {
  display: block;
  list-style: none outside none;
  margin: 0;
  outline: medium none;
  padding: 2px;
}

.ui-menu .ui-menu {
  margin-top: -3px;
  position: absolute;
}

.ui-menu .ui-menu-item {
  margin: 0;
  padding: 0;
  width: 100%;
  border-top: 1px solid #CCCCCC;
}

.ui-menu .ui-menu-divider {
  border-width: 1px 0 0;
  height: 0;
  line-height: 0;
  margin: 5px -2px;
}

.ui-menu .ui-menu-item a {
  font-size: 110%;
  display: block;
  line-height: 1.5;
  min-height: 0;
  padding: 2px 0 2px 10px;
  text-decoration: none;
}

.ui-menu .ui-menu-item span.highlight {
  background-color: #bbd4f6;
}

.ui-menu .ui-menu-item a.ui-state-focus, .ui-menu .ui-menu-item a.ui-state-active {
  background-color: #C2DEEC;
  font-weight: normal;
}

.ui-menu .ui-state-disabled {
  font-weight: normal;
  line-height: 1.5;
}

.ui-menu .ui-state-disabled a {
  cursor: default;
}

.ui-menu-icons {
  position: relative;
}

.ui-menu-icons .ui-menu-item a {
  position: relative;
}
/*
.ui-menu .ui-icon {
  left: 0.2em;
  position: absolute;
  top: 0.2em;
}

.ui-menu .ui-menu-icon {
  float: right;
  position: static;
}

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

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

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
  font-size: 1em;
}
*/
.ui-widget-content {
  background-color: #FFFFFF;
  border: 1px solid #AAAAAA;
  color: #000000;
}

.ui-widget-content a {
  color: #000000;
}

.ui-widget span.sublabel {
  font-size: 85%;
}

.ui-autocomplete {
  position: absolute;
  top: 0;
  left: 0;
  cursor: default;
  max-height: 250px;
  overflow-x: hidden;
  z-index: 101 !important; /* Needed so it will work within a popup */
}

.ui-autocomplete-loading {
  background: url('images/wait.gif') no-repeat right center;
}

/* End jQuery ajax dropdowns */

/* Main menu */
#hamburger_menu {
  display: none;
}

#mainmenu {
  font-size: 110%;
}

#mainmenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

#mainmenu ul li {
  cursor: pointer;
  float: left;
  border-right: 1px solid #BBBBBB;
}

#mainmenu li:nth-last-child(2) {
  border-right: none;
  cursor: default;
  margin-bottom: -5px;
}

#mainmenu li:last-child {
  border-right: none;
  float: right;
  cursor: default;
}

#mainmenu li span {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#mainmenu ul li span:hover {
  background-color: #289CFF;
}

#mainmenu li:nth-last-child(2) span:hover, #mainmenu li:last-child span:hover {
  background-color: inherit;
}

/* End of main menu */

/* Navigation tabs */
#tabbar {
  padding-bottom: 10px;
  font-size: 110%;
}

#tabs ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #289CFF;
}

#tabs ul li {
  cursor: pointer;
  float: left;
  border-right: 1px solid #BBBBBB;
}

#tabs li:last-child {
  border-right: none;
}

#tabs li span {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#tabs ul li span:hover {
  background-color: #111;
}

#tabs ul li.here {
  background-color: #4CAF50;
}

#tabs ul li:first-child span {
  font-weight: bold;
  color: #000000;
  background-color: #FFFFFF;
  cursor: default;
}

#tabs ul li.highlighttab span{
  background-color: #FF6600;
  background-image: url('images/alert.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 14px 14px;
}
/* End of navigation tabs */

/* Hide close button on jQuery UI dialog box */
.no-close { /* .ui-dialog-titlebar-close include this class below to hide the X popup button as well*/
  display: none;
}

/* Position our own close button on the right by default */
.popup_buttons {
  text-align: right;
  padding-top: 70px;
}

/* Patient forms rules */
#bpbody {
  background-color: lightgrey;
}

#bpcanvas {
  height: 100%;
}

@media only screen and (max-width: 1024px){
  #bpmainbody {
    width: 90vw !important;
    font-size: 130%;
  }
  div.inputwrapper {
    display: grid;
    grid-template-columns: 240px auto;
  }
}

#bpmainbody {
  position: relative;
  margin: auto;
  width: 610px;
  top: 1%;
  border: 1px solid;
  background-color: white;
}

#bpmainbody .boxheader {
  width: 100%;
}
/* End patient forms rules */

/* jQuery UI calendar widget */

.date_controls {
  white-space: nowrap;
  display: inline;
}

.ui-datepicker {
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 1em;
  width: 17em;
  padding: .2em .2em 0;
}

.ui-datepicker-header {
  background: #fff;
  position: relative;
  padding: .2em 0;
  border: 1px solid #ddd;
  color: #333;
  font-weight: bold;
}

.ui-datepicker a.ui-datepicker-prev, .ui-datepicker a.ui-datepicker-next {
  position: absolute;
  top: 2px;
  width: 1.8em;
  height: 1.8em;
}

.ui-datepicker a.ui-datepicker-next span, .ui-datepicker a.ui-datepicker-prev span {
  display: none;
}

.ui-datepicker a.ui-datepicker-next {
  right: 5px;
  background-image: url("images/calendar_arrow_r.svg") !important;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: left center;
/*  font-weight: bold;
  padding: 2px 0 2px 20px; */
  margin-top: 1px;
  cursor: pointer;
}

.ui-datepicker a.ui-datepicker-next:hover {
  border: none;
  right: 5px;
  top: 2px;
  cursor: pointer;
}

.ui-datepicker a.ui-datepicker-prev {
  left: 5px;
  background-image: url("images/calendar_arrow_l.svg") !important;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: left center;
/*  font-weight: bold;
  padding: 2px 0 2px 20px; */
  margin-top: 1px;
  cursor: pointer;
}

.ui-datepicker a.ui-datepicker-prev:hover {
  border: none;
  left: 5px;
  top: 2px;
  cursor: pointer;
}

.ui-datepicker .ui-datepicker-title {
  margin: 0 2.3em;
  line-height: 1.8em;
  text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
  font-size: 1.03em;
  margin: 1px 0;
  padding: 1px;
  font-family: inherit;
  text-transform: none;
  color: #454545;
  text-decoration: none;
  background-color: #FFFFFF;
  border: 1px solid #e3e3e3;
  width:45%;
}

.ui-datepicker table {
  width: 100%;
  font-size: .9em;
  border-collapse: collapse;
  margin: 0 0 .4em;
}

.ui-datepicker table th {
  text-align: center;
  font-weight: bold;
  border: 0;
  background: #ABABAB;
  padding: 3px;
}

.ui-datepicker tbody{
  background: #c8eaf7 !important;
}

.ui-datepicker tbody td {
  border: 1px solid rgb(100, 135, 174) !important;
  padding:4px !important;
  text-align: center;
  font-weight: normal;
}

.ui-datepicker tbody td a{
  text-align: center;
  font-weight: normal;
  text-decoration: none;
  color: #454545;
}

.ui-datepicker tbody td a:hover {
  text-decoration: none;
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-default {
  background: #c8eaf7;
  border: none;
}

.ui-datepicker tbody td a, .ui-datepicker tbody td a.ui-state-highlight {
  text-align: center;
  border: none;
  padding: 0px !important;
}

.ui-datepicker tbody td:hover,.ui-datepicker tbody td:hover a, .ui-datepicker tbody td a:hover {
  background: #ffa84c!important;
  color: #454545 !important;
}

.ui-datepicker tbody td.ui-datepicker-current-day, .ui-datepicker tbody td a.ui-state-active {
  background: rgb(86, 158, 248) !important; 
  color: #454545 !important;
  font-weight: bold;
}

.ui-datepicker tbody td.ui-datepicker-today, .ui-datepicker tbody td a.ui-state-highlight {
  background: rgb(147, 181, 232) !important;
  color: #454545 !important;
  font-weight: bold;
}
/* End of jQuery UI calendar widget */

-->
