﻿.logo-red {
  color: #EB1B23;
}

.logo-black {
  color: #020203;
}

.blockui-message {
  font-size: 1.5em;
}

.checkbox-table {
  width: 100%;
}

.label-radiobutton {
  margin: 0 10px 0 3px;
  padding: 0;
  vertical-align: text-bottom;
  color: black !important;
}

/* used in anescan.js to find parent of a grid to set grid width */
.grid-container {
}

/* display tags */
span.tagColor {
  border: 1px solid silver;
  border-radius: 4px;
  display: inline-block;
  height: 16px;
  width: 16px;
  vertical-align: middle;
}

/* Stop IE from overlaying scrollbar on page with Boostrap 3 */
@-ms-viewport {
  width: auto !important;
}

/* Minimum width this page can be */
body {
  min-width: 280px;
}

/* container for logo, tabs and search */
#logoheadercontainer {
  margin-top: 1px;
}

.navbar-top-right {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: -1px;
}


/* Customize logo link so it isn't treated like a tab item */
li.logo-link:hover {
  background: transparent;
}

li.logo-link > a:hover {
  background: transparent;
  border: 0;
  margin: 1px 3px 1px 1px;
}

/** Master search */

.globalsearch form {
  margin: 0;
  margin-top: 3px;
  padding: 0;
  margin-left: 15px;
}

.globalsearch button {
  height: 28px;
  padding-top: 6px;
  border-color: darkgray;
}

.globalsearch input {
  height: 28px;
  padding-top: 6px;
  border-color: darkgray;
  background: #dfdfdf;
}

.globalsearch input:focus {
  height: 28px;
  padding-top: 6px;
  border-color: darkgray;
  background: white;
}

.btn-search {
  background: lightgray;
  border-color: darkgray;
}

.btn-search:hover {
  background: silver;
  border-color: darkgray;
}

/* Grid screens */
div#search {
  padding: 5px;
}

div#buttons {
  padding: 5px;
  padding-left: 0;
}


/* Patient data on form screens */
.patientName, .patientMRN {
  word-wrap: break-word;
  font-size: 24pt;
  color: Black;
}

.patientMRN {
  word-wrap: break-word;
  font-weight: bold;
}

.patientName a, .patientMRN a {
  text-decoration: none;
  color: Black;
}

.patientName a:hover, .patientMRN a:hover {
    text-decoration: underline;
}

/** View and Edit forms */
.form-container {
  margin-top: 30px;
  margin-bottom: 60px;
}

.form-header h1 {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 22px;
  color: #444;
}

.form-header-actions {
  position: relative;
  padding: 5px;
  margin: 0;
  border-bottom: 1px solid #ddd;
  height: 28px;
}

.form-body {
  padding: 5px;
  font-size: 14px;
}

.form-body .row {
  padding-top: 5px;
  padding-bottom: 5px;
}

.form-body label {
  font-weight: lighter;
  color: #999;
}

.form-body input.money {
  width: 80px;
}

.form-footer-actions {
  position: relative;
  padding: 5px;
  margin: 0;
  border-top: 1px solid #ddd;
  height: 28px;
  margin-bottom: 10px;
}

.form-actions {
  float: right;
}

.form-actions a {
  color: #555;
  margin-left: 10px;
  font-weight: normal;
}

  .form-actions a:hover {
    cursor: pointer;
  }

.form-actions img {
  vertical-align: top;
  margin-right: 3px;
}

/** Used at the bottom on simple forms that just need a left aligned set of buttons */
.form-footer-actions-simple {
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 10px;
}

/** Used to show form groups inline, like search fields above a grid */
.form-group-inline {
  margin-right: 10px !important;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
  color: #a94442;
}

.field-validation-valid {
  display: none;
}

.input-validation-error {
  border: 1px solid #a94442;
  background-color: #f2dede;
}

.validation-summary-errors {
  margin: 2px;
  padding: 5px 10px;
  border: 1px #ebccd1 solid;
  color: #a94442;
  background-color: #f2dede;
  border-radius: 6px;
}

.validation-summary-valid {
  display: none;
}


/* Customize the jqGrid  */
.ui-jqgrid {
  border-right-width: 0;
  border-left-width: 0;
}

.ui-jqgrid tr.ui-row-ltr td {
    border-right-color: transparent;
}

.ui-jqgrid tr.ui-row-ltr td {
    border-bottom-color: transparent;
}

.ui-jqgrid tr.ui-row-ltr {
    border-left-color: transparent;
}

#searchResults .ui-jqgrid .ui-icon-asc, #searchResults .ui-jqgrid .ui-icon-desc {
  height: 12px;
  margin-top: 0;
}

#searchResults .ui-state-disabled.ui-icon-desc, #searchResults .ui-state-disabled.ui-icon-asc {
  display: none;
}

table.ui-jqgrid-btable tr {
  cursor: default;
  background-color: #FCFDFF;
}

.ui-jqgrid tr.ui-state-highlight {
    background-color: #faf985 !Important;
}

.ui-jqgrid tr.parked {
    background-color: #b0d8ff;
}

.ui-jqgrid tr.canceled {
    background-color: darkgray;
    color: black;
}

.ui-jqgrid tr.open {
    background-color: palegreen;
    color: black;
    font-style: italic;
}

.ui-widget p {
  font-size: 0.8em;
}

.ui-widget p a {
  text-decoration: none;
  border-bottom: 1px dotted #5970B2;
}

.jqgrid-cell-colorFormatter {
  padding: 2px !important;
  width: 100%;
  height: 100%;
}

span.colorFormatter {
  background-image: none;
  padding-right: 14px;
  padding-top: 1px;
  border-radius: 2px;
  border: 1px black solid;
}

/* fix grid pagination etc */
.ui-jqgrid .ui-pg-selbox, .ui-pg-input {
  width: inherit;
  border: none;
  padding: 1px 5px !important;
  height: 20px !important;
  margin-top: 3px !important;
  font-size: 1.2em !important;
}

.ui-pg-button:hover {
  border: 1px transparent solid !important;
  opacity: 0.5;
}

.ui-pg-button {
  border: 1px transparent solid;
  padding-right: 2px !important;
  padding-left: 2px !important;
}

/* fix grid horizontal scroll bar in chrome */
div.ui-jqgrid-view table.ui-jqgrid-btable {
  border-style: none;
  border-top-style: none;
  border-collapse: separate;
}

div.ui-jqgrid-view table.ui-jqgrid-btable td {
  border-left-style: none;
}

div.ui-jqgrid-view table.ui-jqgrid-htable {
  border-style: none;
  border-top-style: none;
  border-collapse: separate;
}

div.ui-jqgrid-view table.ui-jqgrid-btable th {
  border-left-style: none;
}

/* Make jqgrid bigger */
.ui-jqgrid .ui-jqgrid-htable th {
  height: 30px;
}

.ui-jqgrid .ui-jqgrid-pager {
  height: 30px;
}

.ui-jqgrid tr.jqgrow td {
  height: 26px;
}

.ui-jqgrid tr.jqgrow td  .cbox {
  vertical-align: bottom;
}

/* jQuery UI - make dialogs appear on top of boostrap navbar */
.ui-front {
  z-index: 1000;
}

/* Little links in top right corner of screens */
.submitLink {
  font-size: 1.0em;
  float: right;
  margin-left: 10px;
  margin-top: 5px;
  margin-bottom: 2px;
}

  .submitLink a {
    text-decoration: none;
    border-bottom: 1px dotted;
  }

/* Popup thumbnails */
#jqgrid-thumbnail {
  position: absolute;
  background: #444;
  display: none;
  padding: 1px;
  border: 1px solid #ccc;
  text-align: center;
  background: #fff center;
  z-index: 10;
}

a.jqgrid-thumbnail {
  cursor: pointer;
}

  a.jqgrid-thumbnail img {
    padding: 1px 5px;
  }

.search-printvalue {
  display: none;
}

/************************ 
 Bootstrap Customization 
************************/

/** add xs for inputs as boostrap doesn't have xtra small except on buttons */
.input-xs {
  height: 22px;
  padding: 5px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.input-group-xs > .form-control,
.input-group-xs > .input-group-addon,
.input-group-xs > .input-group-btn > .btn {
  height: 22px;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
}


.glyphicon-lg {
  font-size: 2.0em;
}

.dropdown-header {
  font-size: 1.0em;
  padding-left: 1.0em;
  white-space: nowrap;
  overflow: hidden;
}

/* Tabs - Allow smaller tabs for the top of the screen */
.nav-tabs-small > li > a {
  padding: 2px 5px 3px 5px;
}

/* Decrease size of the navbar (menu) */
.navbar-nav > li > a {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.navbar {
  min-height: 20px !important;
  margin-bottom: 0;
}

.navbar-toggle {
  padding: 6px;
  margin: 5px;
}

@media (max-width: 767px) {
  .navbar-form .form-group {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
    .navbar-nav.navbar-right:last-child {
        margin-right: 5px;
    }
}

/* page-header is used for title of each screen */
.page-header {
    margin: 0;
    padding: 0;
    border: 0;
}

    .page-header h1 {
        margin: 5px 0;
        font-size: 1.4em;
    }

/** Allow badges to have colours and badge-link to specify a badge is clickable */
.badge-link:hover {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.badge-error {
    background-color: #b94a48;
}

.badge-link.badge-error:hover {
    background-color: #953b39;
}

.badge-warning {
    background-color: #f89406;
}

.badge-link.badge-warning:hover {
    background-color: #c67605;
}

.badge-success {
    background-color: #468847;
}

.badge-link.badge-success:hover {
    background-color: #356635;
}

.badge-info {
    background-color: #3a87ad;
}

.badge-link.badge-info:hover {
    background-color: #2d6987;
}

.badge-inverse {
    background-color: #333333;
}

.badge-link.badge-inverse:hover {
    background-color: #1a1a1a;
}


/*******************************************
KENDO UI - Customization  
*******************************************/
/* remove grey background from input-sm - for standard size you can't see the widget background, for other
sizes we need to hide it */
.k-widget.input-sm {
    background-color: transparent;
    color: #333;
}

/* Inline forms shouldn't have extra spacing around them (e.g. search fields at top of a grid) */
.form-group-inline > .k-widget.input-sm {
    padding: 0 !important;
    margin: 0 !important;
}

/* Upload buttons shouldn't have margin so they line up with other "edit" controls */
.k-upload-button {
    margin: 0 !important;
}

/* Allow drop downs to have items longer than control */
.k-list-container {
    white-space: nowrap !important;
    width: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: 240px;
}

.k-list {
    overflow-x: hidden !important;
}

.k-list > li {
    padding-right: 20px !important;
}

.k-list > li:hover {
    padding-right: 19px !important;
}

.k-list > li.k-state-selected:hover {
    padding-right: 20px !important;
}

/* Drop down width auto to fit content by default.  Keno UI has it hardcoded to 12.4em, so this will be the min now. */

.k-dropdown {
    width: auto;
    min-width: 12.4em;
}

/*
Submenus for bootstrap. Delete when a better menu system is in place for reports that doesn't require sub menus
*/

.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 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: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.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;
}

/*
Bootstrap callouts - taken from the bootstrap documentation page.
*/

.bs-callout {
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}

.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.bs-callout p:last-child {
    margin-bottom: 0;
}

.bs-callout code {
    background-color: #fff;
    border-radius: 3px;
}

.bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #d9534f;
}

.bs-callout-danger h4 {
    color: #d9534f;
}

.bs-callout-warning {
    background-color: #fcf8f2;
    border-color: #f0ad4e;
}

.bs-callout-warning h4 {
    color: #f0ad4e;
}

.bs-callout-info {
    background-color: #f4f8fa;
    border-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

/* Add padding to an element */

.pad-md {
    padding: 1em;
}

.pad-top-md {
    padding-top: 1em;
}

.pad-bottom-md {
    padding-bottom: 1em;
}

.pad-left-md {
    padding-left: 1em;
}

.pad-right-md {
    padding-right: 1em;
}