﻿::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #faece1;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0.2;
  border: 1px solid #5384C7;
  border-width: 0 1px;
}
/*::-webkit-scrollbar-track-piece {
    background: red;
}*/
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #bbcdde;
  border: 1px solid #5384C7;
}
::-webkit-scrollbar-thumb:hover {
  background: #8abb67;
  border: 1px groove #5384C7;
}
::-webkit-scrollbar-thumb:active {
  background: #76BA25;
  border: 1px outset #B9BFC3;
}
body {
  padding-top: 95px;
}
main {
  padding: 0 !important;
}
html {
  background-color: #fff !important;
}
div[ui-view] {
  position: relative;
}
/*------------Helper Styles------------*/
.line {
  border-top: 1px solid #e3e4e5;
  width: 100%;
  display: block;
  clear: both;
  margin: 15px 0;
}
.fullwidth {
  width: 100%;
}
.text-small {
  font-size: 11px;
}
.noMrgBtm {
  margin-bottom: 0 !Important;
}
.noMrgTop {
  margin-top: 0 !Important;
}
.noMrgLft {
  margin-left: 0 !Important;
}
.noMrgRgt {
  margin-right: 0 !Important;
}
.margin15 {
  margin: 15px !important;
}
.marginBtm15 {
  margin-bottom: 15px !important;
}
.marginTop15 {
  margin-top: 15px !important;
}
.mrgRt10 {
  margin-right: 10px !important;
}
.paddTop {
  padding-top: 15px !important;
}
.padRt10 {
  padding-right: 10px !important;
}
.noPad {
  padding: 0 !important;
}
.b {
  font-weight: bold;
}
.cursor {
  cursor: pointer;
}
.spacer {
  display: block;
  clear: both;
  width: 100%;
  height: 15px;
}
.img-responsive {
  width: 100%;
}
/*------------Page Styles------------*/
.boxed {
  border: 1px solid #75A288;
  border-radius: 4px;
  height: 100%;
  margin-top: 10px;
  overflow-y: auto;
}
.boxed .well {
  border: dashed 1px #B9BFC3;
  background: #f0f1f2;
  height: 30vh;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: #B9BFC3;
  padding: 14% 0;
  margin: 0px 15px;
}
.container {
  top: 0;
  max-width: unset;
  padding: 0 !important;
  /*margin-top: 10px;*/
}
aside {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  font-style: 'Muli', sans-serif;
  padding: 25px;
  background: #e3e4e5;
}
aside .form-group > label {
  font-size: 16px;
  margin-bottom: 10px;
}
.binder {
  border: solid;
  border-color: #76BA25;
  border-width: thin;
}
.filters {
  margin-top: 15px;
  padding: 10px;
}
h1 {
  margin-bottom: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
}
.fa-pencil {
  cursor: pointer;
  outline: none;
}
.fa-pencil:hover {
  color: #76BA25;
}
.btn-sm {
  padding: 4px 10px;
}
.section-header {
  padding: 8px 0 0 20px;
  color: #66727B;
  background: #e3e4e5;
  /*margin-bottom: 10px;*/
  border-bottom: 1px solid #66727B;
  height: 42px;
}
.section-header i {
  font-size: 20px;
}
.section-header p {
  padding-left: 8px;
  display: inline;
  font-weight: bold;
  font-size: 18px;
}
.dash-upper {
  display: inline-block;
  position: relative;
  width: 100%;
  /*max-height: 70vh;*/
  overflow-y: auto;
}
.dash-upper .boxed {
  min-height: 40vh;
  max-height: 40vh;
}
.dash-upper .boxed .table-upper {
  max-height: 40vh;
  overflow-y: auto !important;
}
@media (max-width: 668px) {
  .dash-upper .cal-container {
    display: none;
  }
}
.dash-lower {
  max-height: 60vh;
}
.dash-lower .boxed {
  min-height: 40vh;
  max-height: 40vh;
}
.dash-lower .boxed .table-upper {
  max-height: 40vh;
  overflow-y: auto !important;
}
.dash-lowest {
  display: inline-block;
  position: relative;
  max-height: 50vh;
  overflow-y: auto;
  margin-top: 4px;
}
.navbar-default {
  background-color: white;
  font-weight: 400;
  border-bottom: 1.5px solid blue;
  border-radius: 0;
  margin: 0;
  border: none;
}
.navbar-default a,
.navbar-default .navbar-text {
  color: white !important;
}
.navbar-default .navbar-header {
  width: 100%;
  border-bottom: 1px solid #B9BFC3;
}
.navbar-default .navbar-header > .navbar-text {
  font-size: 50px;
  line-height: 26px;
}
.navbar-default .navbar-brand {
  padding: 6px 0px 6px 25px;
  margin-right: -10px;
  max-width: 900px;
}
.navbar-default .navbar-brand > img {
  /*width : 20%;*/
}
@media (max-width: 420px) {
  .navbar-default .navbar-brand {
    display: none;
  }
  .navbar-default .navbar-brand > img {
    display: none;
    /*height: 50px;
            width: 127px;*/
  }
}
@media (min-width: 420px) {
  .navbar-default .navbar-brand > img {
    /*display: none;*/
    height: 70px;
    width: 175px;
  }
}
/*
 * Sidebar
 */
.sidebar {
  position: fixed;
  top: 75px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
  border-right: 1.5px solid #8abb67;
  font-size: 18px;
  color: white;
  background-color: #87a7c5;
}
#header-right {
  float: right;
}
#header-right .header-user {
  float: left;
  margin: 5px 10px;
}
#header-right .header-user .btn-link {
  padding: 0;
  font-size: 16px;
}
#header-right .header-user .btn-link .fa-chevron-down {
  margin-left: 8px;
  color: orange;
}
#header-right .header-user p {
  color: #a0bbe0;
  font-size: 22px;
  text-align: right;
  margin: 0;
}
#header-right .header-user .ShowNav {
  margin-right: 5px;
}
@media (min-width: 768px) {
  #header-right .header-user .ShowNav {
    display: none;
  }
}
#header-right .header-avatar {
  float: right;
  width: 85px;
  margin: 3px 10px;
  border: 2px solid #8abb67;
}
/* Sidebar navigation */
.sidebar {
  padding-left: 0;
  padding-right: 0;
}
.sidebar .nav {
  margin-bottom: 20px;
}
.sidebar .nav-item {
  width: 100%;
  border-bottom: 1px solid white;
  font-family: 'Muli', sans-serif !important;
}
.sidebar .nav-item ul {
  list-style-type: none;
  background-color: #dde6ef;
}
.sidebar .nav-item ul li {
  height: 28px;
  padding-left: 10px;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
.sidebar .nav-item ul li a {
  color: #87a7c5;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
.sidebar .nav-item + .nav-item {
  margin-left: 0;
}
.sidebar .nav-link {
  border-radius: 0;
  font-family: 'Muli', sans-serif !important;
  color: white;
}
.nav > li > a {
  color: white;
}
.nav > li > a:hover {
  background-color: #dfeaf5;
  color: #5384C7;
  border-right: 7px solid #5384C7;
}
.nav > li > a:active {
  background-color: lightseagreen;
  color: #5384C7;
  border-right: 7px solid #5384C7;
}
.sublink {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Muli', sans-serif !important;
}
a:hover,
.nav > li > a:focus {
  background-color: #d8f1ba;
}
#loginBody {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
#login {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 15px 20px;
  position: absolute;
  top: calc(50vh - 170px);
  left: 0;
  right: 0;
  margin: auto;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 420px) {
  #login {
    top: 0;
  }
}
#loginBody:before {
  background-image: url('../Images/SobobaLoginBG.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  content: "";
  opacity: 1;
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
}
.top-right {
  float: right;
}
.btn-right {
  float: right;
  padding: 2px 20px;
  margin: 0 10px;
  border: 1px solid #E38A46;
  border-radius: 3px;
  text-align: center;
}
.btn-right i {
  font-size: 14px;
  margin-right: 10px;
}
.loader {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 33vh 0;
  z-index: 100;
}
.loader .fa {
  display: block;
  margin-bottom: 10px;
  color: #8abb67;
}
.content {
  padding-left: 200px;
}
.loading {
  padding-left: 5px;
  color: red;
  font-size: larger;
  font-weight: bold;
}
.loading_time {
  color: red;
  padding-bottom: 2px;
}
.error {
  color: #a94442;
}
.btnSubmit {
  margin-top: auto;
}
.PatientLookup {
  /*background: whitesmoke;
  position: absolute;
  left: 50%;
  margin-left: -200px;
  margin-top: auto;

  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  box-shadow: inset 1px 1px 0 white;*/
}
#Patient_ul {
  margin: 0 auto;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 5px 0 5px;
  border-left: none;
  border-right: none;
}
#Product_ul {
  margin: 0 auto;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 5px 0 5px;
  border-left: none;
  border-right: none;
}
.PatientLookup li {
  list-style: none;
  background-color: rgba(0, 0, 0, 0.05);
  background-image: linear-gradient(90deg, #8abb67 10px, #EEE 10px, #EEE 11px, transparent 11px);
  padding: 4px 15px 4px 25px;
  border: 1px solid #CCC;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 3px;
}
.PatientLookup li:hover {
  background-color: #faece1;
  color: #a94442;
  font-weight: 600;
  background-image: linear-gradient(90deg, #a94442 12px, #EEE 10px, #EEE 11px, transparent 11px);
}
.PatientLookup select {
  margin-left: 312px;
  margin-top: -47px;
  border-radius: 0 3px 3px 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  position: absolute;
  padding: 7.5px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
  float: left;
}
.PatientLookup select:focus,
#query:focus {
  border: 1px solid #FFD32E;
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.1);
  outline: none;
}
.PatientLookup li:focus {
  border: 2px solid #76BA25;
  outline: medium;
}
.query {
  width: 100%;
  box-sizing: border-box;
  font-size: 19px;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.labels {
  color: #19a6b7;
  font-size: 16px!important;
  margin-bottom: 2px;
}
.labels.text-warning {
  color: #E38A46;
}
.side_label {
  color: #95989A;
  font-size: 12px!important;
  margin-bottom: 10px;
}
input[type="file"] {
  display: none;
}
textarea {
  width: 100%;
}
.message {
  color: #a94442;
  font-size: 16px!important;
  margin-bottom: 10px;
}
/*.transactions {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;

}*/
.req:before {
  content: "*";
  color: red;
}
.table thead > tr > th {
  background-color: #87a7c5;
}
table {
  margin-top: 0;
}
table th {
  color: #dde6ef;
}
/* Widget: Calendar*/
.calendar .fc-header-toolbar {
  padding: 10px 10px 0;
  margin-bottom: 5px;
}
.calendar .fc-header-toolbar h2 {
  font-size: 26px;
}
.calendar .fc-view-container .fc-widget-content .fc-day-grid-container .fc-event-container a:hover {
  background-color: #19a6b7;
}
.calendar .fc-view-container .fc-widget-content .fc-day-grid-container .fc-event-container .fc-time {
  color: #f0c29f;
  margin-right: 5px;
  min-width: 33px;
  display: inline-block;
  font-size: 11px;
}
.calendar .fc-view-container .fc-widget-content .fc-day-grid-container .fc-event-container .fc-title {
  font-size: 10px;
}
.calendar .fc-highlight {
  background: #5384C7;
}
/* Small Calendar */
.sm-cal .fc-week {
  min-height: 2em !important;
  height: 25px !important;
}
.sm-cal .fc-day-grid-container {
  height: auto !important;
}
.sm-cal .fc-header-toolbar {
  padding: 3px 3px 0 !important;
  margin-bottom: 0;
}
.sm-cal .fc-header-toolbar h2 {
  font-size: 20px !important;
  margin-top: 6px !important;
}
.sm-cal .fc-button {
  font-size: 0.95em !important;
}
/* Dashboard Style */
#dashboard .calendar .fc-day-grid-container {
  overflow: auto !important;
  height: 293px !important;
}
#dashboard .calendar .fc-day-grid-container .fc-event-container a {
  border: 1px solid #5384C7;
  border-radius: 30%;
  width: 30px;
  padding: 2px;
  background-color: #dde6ef !important;
  color: #87a7c5 !important;
  font-weight: 600;
  text-align: center;
  margin-left: 4px;
}
#dashboard .calendar .fc-day-grid-container .fc-event-container a:hover {
  background-color: #19a6b7;
}
#dashboard .calendar .fc-day-grid-container .fc-event-container .fc-time {
  color: #f0c29f;
  margin-right: 5px;
  min-width: 33px;
  display: inline-block;
  font-size: 11px;
}
#dashboard .calendar .fc-day-grid-container .fc-event-container .fc-title {
  font-size: 12px;
}
#dashboard .section-header {
  height: 50px;
  margin: 0;
}
/*Reports Style*/
#reports .section-header {
  height: 50px;
}
/* Reports DETAIL Style */
#reportsDetail .section-header {
  padding: 4px 0 0 12px;
  height: 32px;
}
#reportsDetail .dash-upper .boxed {
  min-height: 29vh;
  max-height: 29vh;
}
#reportsDetail .dash-lower .boxed {
  min-height: initial;
  max-height: initial;
}
#reportsDetail .dash-lower .rpt-sales {
  margin: 0;
}
#reportsDetail .dash-lower .rpt-sales th {
  padding: 4px 8px;
  padding-right: 20px;
}
#reportsDetail .dash-lower .rpt-sales td {
  padding: 2px 10px;
  padding-right: 20px;
}
#reportsDetail .dash-lower .rpt-sales tr:hover {
  background-color: #dde6ef !important;
}
/* Patients */
#Patients .input-sm {
  height: 28px;
}
/* Patient Details Style */
/* Inventory Style */
#Inventory .filters input {
  width: 300px;
  float: right;
}
/* Order Details Style */
#OrderDetails .section-header {
  padding: 8px 0 8px 20px;
  margin-bottom: 0;
}
#OrderDetails form {
  margin-top: -5px;
}
#OrderDetails table {
  border-bottom: 1px solid #B9BFC3;
}
/* Transactions Style */
#transactionDiv .trans-products .PatientLookup {
  margin: 0;
}
#transactionDiv .trans-products .filters .addNewItem {
  display: inline;
  margin-top: 30px;
}
#transactionDiv .trans-payments #newPaymentDiv .addPayemnt {
  margin-top: 24px;
}
/* Calendar Dashboard */
#calendarDash {
  margin-right: 15px;
}
#calendarDash .appt-Details .section-header {
  margin-bottom: 15px;
}
#calendarDash .appt-Details textarea {
  min-height: 34px;
  min-width: 100%;
  max-width: 100%;
}
/* Admin Style */
#Admin {
  padding-right: 15px;
}
#Admin h3 {
  margin-top: 15px;
}
#Admin .viewBtns .btn-group .btn + .btn {
  margin-left: -2px;
}
#Admin .viewBtns .btn {
  border: 1px solid #8abb67;
  background-color: #eff2f6;
  -moz-box-shadow: inset 0 0 1px #98a6b3;
  -webkit-box-shadow: inset 0 0 1px #98a6b3;
  box-shadow: inset 0 0 1px #98a6b3;
}
#Admin .viewBtns .selected {
  background-color: #5cb85c;
  color: white;
}
.confirmed {
  background-color: #47a447 !important;
  color: white;
}
@media (max-width: 420px) {
  * {
    font-size: 11px;
  }
  .sublink {
    font-size: 11px;
  }
  .section-header {
    height: 32px;
  }
  .section-header i {
    font-size: 16px;
  }
  .section-header p {
    font-size: 14px;
    line-height: 0.8;
    vertical-align: text-top;
  }
  .dash-lower .boxed {
    min-height: initial;
    max-height: initial;
  }
}

body.md-dialog-is-showing {
    position: unset !important;
}

.col-md-8-heading {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.boxed.trans-products .noMrgBtm.marginTop15 .row .PatientLookup {
    height: 100%;
}

.boxed.trans-products .noMrgBtm.marginTop15 .row .PatientLookup #Product_ul {
    max-height: 390px;
}

.fc-event-highlist {
    background-color: #5384C7;
    opacity:.3;
}

@media (max-width: 667px) {
  * {
    font-size: 12px;
  }
  .nav > li > a {
    padding: 5px 15px;
  }
  .sublink {
    font-size: 12px;
    top: 6px;
    position: relative;
  }
}