html {
  position: relative;
  min-height: 100%;
}

body {
  font-size: 16px;
  margin-bottom: 80px;
}

.content .container-fluid {
  width: 90%;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
}

.demographics h4 {
  font-weight: bold;
}

.demographics .row {
  margin-bottom: 20px;
}

.faq .panel {
  border: 0;
  box-shadow: none;
}

.faq .panel-heading {
  background: none;
  padding: 0;
}

.faq .panel-heading .panel-title {
  border: 0;
}

.faq .panel-title a {
  font-weight: bold;
  color: #369;
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  border-bottom: 1px solid silver;
}

.faq .panel-title a:hover {
  text-decoration: none;
  opacity: 0.6;
}

/* HEADER */

.header {
  background: #fff;
  padding: 20px 0;
  color: #777;
  border-top: 4px solid #1f6a96;
}

.header h1,
.header h2,
.header h3 {
  margin: 0;
}

.office-logo {
  width: auto;
  max-height: 120px;
}

.header .fa {
  position: relative !important;
  display: inline-block !important;
}

.header .fa-user {
  position: relative;
  font-size: 100px;
  z-index: 1;
  left: 20px;
  color: #aaa;
}

.header .fa-heartbeat {
  z-index: 2;
  color: #fff;
  font-size: 24px;
  top: 54px;
  left: 54px !important;
}

/* -------------------------------------- */
/* SITE NAV */

.site-nav {
  border-radius: 0;
  border: 0;
  background: #1f6a96 !important;
  margin-bottom: 0;
  border-top: 1px solid #1f6a96;
}

/**
 * for mobile nav
 */

.site-nav .navbar-toggle {
  background: #ccc !important;
}

.site-nav .nav li a {
  background: none;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 14px 20px;
}

.site-nav .nav li a .fa {
  display: block;
  text-align: center;
  font-size: 40px;
}

.site-nav .nav li.active a {
  border-bottom: 0 !important;
  background: #fff;
  color: #1f6a96;
}

.site-nav .nav li a:hover {
  background: #b4d8ff;
  color: #1f6a96;
  border-bottom: 0 !important;
}

.site-nav .nav li.active a:hover {
  background: #f7f7f7;
  color: #b4d8ff;
}

.site-nav .nav .fa-stack,
.page-header .fa-stack {
  padding: 0 !important;
  font-size: 20px !important;
  margin: 0 auto;
}

.site-nav .nav .fa-stack-2x,
.page-header .fa-stack-2x {
  top: 7px;
  font-size: 14px !important;
}

.page-header .fa-stack-1x {
  font-size: 24px !important;
}

.page-header .fa-stack-2x {
  display: inline !important;
}

.patient-img-navbar {
  margin: 0 auto;
  display: block;
  border: 0;
  height: 40px;
  border-radius: 4px;
  border: 2px solid #fff;
}

.site-nav .navbar-text,
.site-nav .navbar-text a {
  color: #fff;
}

.site-nav .navbar-text {
  position: relative;
  top: 20px;
  font-size: 14px;
}

/**
 * user nav
 */

.user-nav {
  position: relative;
  top: 8px;
}

.user-nav li a {
  padding: 26px 8px !important;
}

.user-nav li a .fa {
  float: right;
  padding-left: 6px;
  font-size: 22px !important;
}

/**
 * style when dropdown is open
 */
.user-nav .dropdown-toggle {
  background: none !important;
  color: #fff !important;
}

.user-nav li a:hover {
  background: inherit !important;
  color: #fff !important;
}

.user-nav .dropdown-menu li a {
  color: #555;
  font-size: 12px;
  padding: 12px !important;
}

.user-nav .dropdown-menu li a .fa {
  float: left;
  padding-left: 0;
  padding-right: 6px;
  top: -4px;
  position: relative;
}

.user-nav .dropdown-menu li a:hover {
  color: #999 !important;
}

/* -------------------------------------- */
/* PATIENT HEADER */

.patient-header {
  color: #fff !important;
  padding: 10px 0;
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
}

.patient-header-photo {
  margin-left: 20px;
}

.patient-header .img-thumbnail {
  height: 70px;
  width: auto;
}

.patient-title {
  font-size: 24px;
  color: #666;
  padding: 16px;
  display: inline-block;
}

.switch-patient .patient-title {
  position: relative;
  text-decoration: underline;
  padding: 6px;
}

.switch-patient button span {
  display: inline-block;
  font-size: 24px !important;
  text-decoration: underline !important;
}

.switch-patient .fa-angle-down {
  position: relative;
  font-size: 28px !important;
  top: 0px !important;
}

.switch-patient .dropdown-menu {
  width: 400px;
}

.switch-patient .dropdown-menu img {
  height: 50px;
  width: auto;
}

.switch-patient .btn .fa {
  position: relative;
  top: 6px;
}

.patient-select {
  background: #f7f7f7;
}

.patient-select h4 {
  margin-bottom: 0;
}

.patient-select img {
  height: 70px;
  width: auto;
}

.patient-select .notice {
  position: absolute;
  right: 120px;
  top: 60px;
}

.sub-navbar {
  border-top: 0;
}

.sub-navbar ul {
  border-left: 1px solid #ddd;
}

.sub-navbar .navbar-nav > li > a {
  border-right: 1px solid #ddd;
  font-size: 15px;
  position: relative;
  color: #666;
}

.sub-navbar li.active a {
  background: #fff !important;
  color: #333 !important;
}

.sub-navbar li.active a:after {
  background: #fff;
  height: 1px;
  position: absolute;
  bottom: -1px;
  width: 100%;
  display: block;
  content: "";
  left: 0;
}

.sub-navbar li a:hover {
  background: #ddd !important;
  color: #fff;
}

/* -------------------------------------- */
/* CONTENT */

.content {
  margin-bottom: 240px;
}

.content > .container {
  margin-top: 30px;
}

.content > .container h2 {
  margin: 0 0 30px 0;
  color: #666;
}

.content > .container h3 {
  margin: 0 0 30px 0;
  color: #555;
}

.table tbody tr:first-child td {
  border-top: 0;
}

.note {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eeeeee;
}

/* ------------------------------------------------ */
/* PAGE HEADER */

.page-header {
  border-top: 0;
  border-bottom: 1px solid #ddd;
  background: #f7f7f7;
  padding: 10px 40px;
  margin-top: 0;
  margin-bottom: 0;
}

.page-header h2 {
  margin-top: 6px;
  margin-left: 10px;
  color: #666;
  text-shadow: #fff 0 1px 0;
  font-size: 24px;
}

/* ------------------------------------ */
/* CLICKABLE PANEL HEADING */

.panel-heading.clickable {
  padding: 0;
}

.panel-heading.clickable > h3 > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  margin: 0 !important;
  text-shadow: #fff 0 1px 0;
  font-size: 20px;
}

/* -------------------------------------- */
/* BADGES */

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 5px;
  font-size: 11px;
  border: 1px solid #ddd;
  background: #ab180d;
  position: absolute;
  z-index: 100;
  text-shadow: none !important;
}

.site-nav-badge {
  right: 22px;
  top: 12px;
}

.forms-badge {
  right: 0px;
  top: 8px;
}

/* -------------------------------------- */
/* FOOTER */

.footer {
  height: 180px;
  text-align: center;
  background-color: #f5f5f5;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #ccc;
  font-size: 12px;
  padding: 14px 0;
}

dl dd {
  margin-left: 0;
  margin-bottom: 20px;
}

h3.web-form-heading {
  margin-top: 20px;
  color: #777 !important;
  font-weight: bold;
}

.table td {
  vertical-align: middle !important;
}

.table .table-col-fixed-sm {
  width: 120px;
}

.panel-heading h3,
.panel-heading h4 {
  margin: 0 !important;
  text-shadow: #fff 0 1px 0;
  font-size: 20px;
  color: #555;
}

.panel-heading h4 + h5 {
  font-weight: normal;
  font-size: 16px;
  color: #555;
  margin-bottom: 0;
}

.panel-heading a {
  font-size: 14px;
}

.panel-body table:last-child {
  margin-bottom: 0;
}

.tab-content {
  padding: 20px;
}

.table tr.danger td {
  border-bottom: 1px solid #fff;
}

/* ---------------------------------------------------- */
/* Clinical Filter Panel */
.sidebar {
  width: 250px;
  float: left;
}

.sidebar label {
  font-size: 75%;
}

.table > tbody > tr > td.select {
  padding-left: 15px;
  width: 29px;
}

.table > tbody > tr > td.select > input[type="checkbox"] {
  margin: 0;
}

.filter-table > tbody > tr > td {
  font-size: 12px;
}

.widget-container {
  margin-left: 265px;
}

/* --------------------------------------------------- */
/* Clinical Widgets */
.widget-body:after {
  clear: none !important;
}

.widget-table-container {
  overflow-x: auto;
}

.widget-table-container .table > tbody > tr > td {
  min-width: 125px;
}

/* media queries */

@media only screen and (max-width: 480px) {
  .btn {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  div {
    text-align: center !important;
  }

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

  .header h2,
  .header h3 {
    margin: 0 !important;
  }

  .header .fa-stack {
    display: none !important;
  }

  .footer {
    position: relative;
  }

  .footer .left-column {
    top: 0;
  }

  .footer .onc {
    display: block;
    width: 100px;
    margin: 0 auto;
  }

  .services-nav .nav li a .fa {
    display: inline !important;
  }

  .messages-badge {
    left: 4px;
    right: auto;
  }

  .badge {
    right: 0 !important;
  }

  .patient-header-photo {
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
  }

  h2 .fa {
    display: none;
  }
}
