html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    padding-top: 40px;
    background-color: #f2f2f2;
}
/*
@media (min-width: 100px) and (max-width: 900px) {
    .container {
        margin-top: -75px;
        width: inherit;
        margin-left: auto;
        margin-right: auto;
    }
}
*/

#add-patient {
    margin-left: -27px;
}
.mobile-patient-list {
    padding: 0;
}
.mobile-patient-link {
    list-style-type: none;
    border-bottom: solid thin #bdbcc1;
}

form {
    margin-bottom: 40px;
}

.clickable {
    cursor: pointer;
}
.glyphicon-pencil {
    cursor: pointer;
}
.alert-note {
    background: none;
    color: red;
    font-weight: bold;
}
#patientList tbody tr {
    cursor:pointer;
}

#locationFilter li {
    cursor:pointer;
}

#patient-list {
    margin-top: 20px;
}

.hidden {
    display: none;
}
.space-top {
    margin-top: 10px;
}
.space-bottom {
    margin-bottom: 10px;
}
.spacer {
    width: 50px;
    min-width: 50px;
}
#to-do-text {
    margin-top: 12px;
    width: 420px;

}
#todo-priority {
    width: 400px;
}
.patient-link {
    cursor: pointer;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: #e5e5e5;
}

.modal-dialog {
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 100;
}

#loginModal {
    width: 568px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
}

#loginModal-mobile {
    padding-left: 1px;
    max-width: 500px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    margin-top: -80px;
    left: 0;
    right: 0;
}

#loginModal > #header {
    width: 568px;
    height: 240px;
    padding-top:5px;
    background-color: #313d47;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-left: -1px;
    margin-bottom: 20px;
}

#loginModal-mobile > #header-mobile {
    width: auto;
    height: 195px;
    background-color: #313d47;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-left: -1px;
    margin-bottom: 20px;
    box-shadow: 0 2px 2px 0px #232323;
    -moz-box-shadow: 0 2px 2px 0px #232323;
    -webkit-box-shadow: 0 2px 2px 0px #232323;
}
#loginModal > #header > #logo {
    width: 548px;
    height: 195px;
    margin: 20px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
#loginModal-mobile > #header-mobile > #logo-mobile {
    width: 190px;
    height: 190px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

div.navbar div.navbar-logo {
    width: 200px;
    height: 60px;
    margin-right: 20px;
    cursor: pointer;
}
div.navbar div.navbar-logo-mobile {
    width: 54px;
    height: 54px;
    margin-right: 20px;
    cursor: pointer;
    float: left;
}
.mobile-header {
    padding-left: 20px;
    padding-right: 20px;
    align-content: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
li.nav {
    float: left;
}
li.mobile-nav {
    margin: -5px;
}
li.logout {
    float: right;
}
li.dropdown {
    float: left;
    cursor: pointer;
}
.form-horizontal .btn-default {
    color: black;
    font-weight: bold;
    background: white;
}
.form-horizontal .active {
    color: white;
    font-weight: bold;
    background: #428bca;
}
.form-control {
    min-width: 90px;
}
.btn-low.active, .btn-low:active {
    color: white;
    font-weight: bold;
    background: #2aca54;
}

.btn-medium.active, .btn-medium:active {
    color: white;
    font-weight: bold;
    background: #f0ad4e;
}

.btn-high.active, .btn-high:active {
    color: white;
    font-weight: bold;
    background: #ac2925;
}

div.navbar-custom {
    background-color: #313d47;
}

div.navbar-custom .nav > li > a {
    line-height: 20px;
    font-size: 20px;
    color: white;
    background-color: #313d47 !important;
}
div.navbar-custom .nav > li > a:hover {
    color: white;
    background: #313d47 !important;
}
div.navbar-custom .nav > li > a.active {
    color: white;
    background: #313d47 !important;
}
div.navbar-custom .nav > li > a:visited {
    color: white;
    background: #313d47 !important;
}
.dropdown-menu>li>a {
    color: white;
    background: #313d47 !important;
}
.navbar-nav>li>.dropdown-menu {
    color: white;
    background: #313d47 !important;
}
a.logout {
    cursor: pointer;
}
/*
div.navbar-custom .nav > li > a {
    color: #dddddd;
}

div.navbar-custom .nav > li > a:hover {
    color: #ffffff;
    background-color: #435361;
}

div.navbar-custom .nav > li > a.active {
    background-color: #28323b;
}
*/


div.navbar-custom .nav > li > p.divider {
    line-height: 20px;
    font-size: 20px;
    color: #666666;
}

div.navbar-custom .nav .open > a:focus {
    background: #313d47 !important;
}


.active-patient {
    background: url('../img/active-badge-mobile.png') no-repeat 5px 15px;
    padding-left: 20px !important;
}
.active-patient-mobile {
    background: url('../img/active-badge-mobile.png') no-repeat center;

    padding-left: 12px !important;
}

.red-status {
  background: url('../img/red-status.png') no-repeat 5px 15px;
  padding-left: 20px !important;
}
.orange-status {
  background: url('../img/orange-status.png') no-repeat 5px 15px;
  padding-left: 20px !important;
}
.yellow-status {
  background: url('../img/yellow-status.png') no-repeat 5px 15px;
  padding-left: 20px !important;
}
.green-status {
  background: url('../img/green-status.png') no-repeat 5px 15px;
  padding-left: 20px !important;
}
.red-status-mobile {
  background: url('../img/red-status.png') no-repeat center;
  padding-left: 12px !important;
}
.orange-status-mobile {
  background: url('../img/orange-status.png') no-repeat center;
  padding-left: 12px !important;
}
.yellow-status-mobile {
  background: url('../img/yellow-status.png') no-repeat center;
  padding-left: 12px !important;
}
.green-status-mobile {
  background: url('../img/green-status.png') no-repeat center;
  padding-left: 12px !important;
}

.inactive-patient {
    padding-left: 35px !important;
}

#patient-header {
    margin-bottom: 10px;
}

#patient-header .patient-name {
    margin-top: 0px;
    margin-bottom: 0px;
}

#patient-header .patient-status {
    margin-top: 10px;
    margin-bottom: 0px;
}

#patient-header div.patient-active {
    margin-left: 20px;
    margin-right: 20px;
}

#patient-details > ul.nav {
    margin-bottom: 10px;
}

#patient-details > ul.nav.nav-pills > li {
    font-size: 17px;
    cursor: pointer;
}

#patient-details > ul.nav.nav-pills > li + li {
    padding-left: 2px;
}

#patient-details > ul.nav.nav-pills > li > a {
    color: #3498db;
    background-color: #ffffff;
}

#edit-patient-button {
 margin-top: 10px;
}
#patient-details > ul.nav.nav-pills > li > a:hover {
    background-color: #f9f9f9;
}

#patient-details > ul.nav.nav-pills > li.active > a,
#patient-details > ul.nav.nav-pills > li.active > a:hover
#patient-details > ul.nav.nav-pills > li.active > a:focus {
    color: #ffffff;
    background-color: #3498db;
}

#patient-details div.row.resuscitation-status {
    margin-top: 10px;
}

#patient-details div.row.resuscitation-status div.alert {
    margin-bottom: 0;
}

#patient-details div.row.resuscitation-status div.alert h4 {
    color: #ffffff;
    margin: 0;
}

.value pre {
    background: none;
    border: none;
    color: black;
    font-family: arial, sans-serif;
    font-size: 14px;
}

#patient-details div.row.resuscitation-status div.alert.no_cpr { background-color: #e74c3c; }
#patient-details div.row.resuscitation-status div.alert.not_discussed { background-color: #f39c12; }
#patient-details div.row.resuscitation-status div.alert.full_code { background-color: #18bc9c; }
#patient-details div.row.resuscitation-status div.alert.modified_code { background-color: #3498db; }

div.field-values div.field-value div.title {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    color: #999999;
}

div.field-values div.row div.field-value + div.field-value {
    border-left: 1px solid #ecf0f1;
}

div.panel-default {
    border-color: #e2e2e2;
}

div.edit-form h1 {
    margin-top: 30px;
    margin-left: 30px;
}

div.edit-form form {
    margin-top: 20px;
}

form .help-inline {
    padding-left: 0;
    padding-top: 11px;
}

.edit-todo-input {
    margin-bottom: 15px !important;
}
.todos li.todo {
    list-style-type: none;
    padding-left: 10px;
}

.todos li.todo div.check-icon {
    width: 40px;
    height: 40px;
}

.todos .complete li.todo div.check-icon {
    background: url('../img/checked.png') no-repeat;
}

.todos .incomplete li.todo div.check-icon {
    background: url('../img/unchecked.png') no-repeat;
}

.todos .incomplete li.todo div.check-icon:hover {
    background: url('../img/unchecked-hover.png') no-repeat;
}

.todos li.todo:hover {
    background-color: #f8f8f8;
}

.todos li.todo .controls button {
    opacity: 0.5;
}

.todos li.todo:hover .controls button {
    opacity: 1.0;
}

.todos .incomplete li.todo span.task {
    font-weight: bold;
}

.todos .complete li.todo span.task {
    color: #999999;
    text-decoration: line-through
}

.modal-block {
    opacity: 1;
    display: block;
}

.spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #428BCA;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 40% {
          transform: scale(1.0);
          -webkit-transform: scale(1.0);
      }
}

.typeahead {
    list-style-type: none;
    padding: 5px;
    margin-top: 3px;
    border: solid 1px grey;
    border-radius: 3px;
    position: absolute;
    z-index: 2;
    background-color: white;
    overflow-y: scroll;
    max-height: 300px;
    width: 200px}


/*!
 * Datepicker for Bootstrap
 *
 * Copyright 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */

.datepicker {
  margin-left: 15px;
  margin-top: 50px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  max-width: 276px;
  padding: 1px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, .2);

  line-break: auto;
}

.datepicker:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -7px;
    left: 6px;
}
.datepicker:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    position: absolute;
    top: -6px;
    left: 7px;
}
.datepicker > div {
    display: none;
}
.datepicker table {
    width: 100%;
    margin: 0;
}

.datepicker td,
.datepicker th {
    text-align: center;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.datepicker td.day:hover {
    background: #eeeeee;
    cursor: pointer;
}
.datepicker td.day.disabled {
    color: #eeeeee;
}
.datepicker td.old,
.datepicker td.new {
    color: #999999;
}
.datepicker td.active,
.datepicker td.active:hover {
    color: #ffffff;
    background-color: #006dcc;
    background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
    background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
    background-image: -o-linear-gradient(top, #0088cc, #0044cc);
    background-image: linear-gradient(to bottom, #0088cc, #0044cc);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
    border-color: #0044cc #0044cc #002a80;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #0044cc;
    /* Darken IE7 buttons by default so they stand out more given they won't have borders */

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker td.active:hover,
.datepicker td.active:hover:hover,
.datepicker td.active:focus,
.datepicker td.active:hover:focus,
.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active,
.datepicker td.active.disabled,
.datepicker td.active:hover.disabled,
.datepicker td.active[disabled],
.datepicker td.active:hover[disabled] {
    color: #ffffff;
    background-color: #0044cc;
    *background-color: #003bb3;
}
.datepicker td.active:active,
.datepicker td.active:hover:active,
.datepicker td.active.active,
.datepicker td.active:hover.active {
    background-color: #003399 \9;
}

.datepicker td {
    cursor: pointer;
}
.datepicker td.month, td.year, {
    line-height: 54px;
    margin: 2px;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.datepicker td span {
    display: block;
    line-height: 54px;
    float: left;
    margin: 2px;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.datepicker td:hover {
    background: #eeeeee;
}
td span.glyphicon:hover {
    background: inherit;
}
.datepicker td span.active {
    color: #ffffff;
    background-color: #006dcc;
    background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
    background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
    background-image: -o-linear-gradient(top, #0088cc, #0044cc);
    background-image: linear-gradient(to bottom, #0088cc, #0044cc);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
    border-color: #0044cc #0044cc #002a80;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #0044cc;
    /* Darken IE7 buttons by default so they stand out more given they won't have borders */

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker td span.active:hover,
.datepicker td span.active:focus,
.datepicker td span.active:active,
.datepicker td span.active.active,
.datepicker td span.active.disabled,
.datepicker td span.active[disabled] {
    color: #ffffff;
    background-color: #0044cc;
}
.datepicker td span.active:active,
.datepicker td span.active.active {
    background-color: #003399 \9;
}
.datepicker td span.old {
    color: #999999;
}
.datepicker th.switch {
    width: 145px;
}
.datepicker th.next,
.datepicker th.prev {
    font-size: 21px;
}
.datepicker thead tr:first-child th {
    cursor: pointer;
}
.datepicker thead tr:first-child th:hover {
    background: #eeeeee;
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
    display: block;
    cursor: pointer;
    width: 16px;
    height: 16px;
}
td.year, td.month {
    text-align: center;
}
.user-menu-left-button {
    color: #fff;
    padding:                   5px;
    border-top-left-radius:    5px;
    border-bottom-left-radius: 5px;
}
.user-menu-right-button {
    color: #fff;
    padding:                    5px;
    border-top-right-radius:    5px;
    border-bottom-right-radius: 5px;
}
.user-menu-ok-button {
    background-color: #428bca;
}
.user-menu-ok-button:hover {
    background-color: #327adb;
}
.user-menu-danger-button {
    background-color: #e74c3c;
}
.user-menu-danger-button:hover {
    background-color: #e63b2b;
}


/*        calendar things          */
.fc-day-grid-event .fc-content {
    white-space: normal;
}

.ftm-slot {
    background-color: #3a87ad;
    border-color: #3a87ad;
}

.onc-slot {
    background-color: #a56948;
    border-color: #a56948;

}

.other-slot {
    background-color: #444;
    border-color: #444;
}

.task-slot {
    background-color: rebeccapurple;
    border-color: rebeccapurple;

}