/***************************************************************************
 *  Style
 **************************************************************************/

.jumbotron {
    clear: both;
    margin-top: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.no-pointer {
    cursor: default !important;
}

.no-margin { margin: 0 !important; }

a.no-underline, a.no-underline:hover {
    text-decoration: none;
}

.pointer:hover {
    cursor: pointer;
}

.clear {
    clear: both;
}

.modal-backdrop {
    z-index: 2000;
}

.modal {
    z-index: 2001;
}

/***************************************************************************
 *  Footer
 **************************************************************************/

.footer {
    clear: both;
    margin-top: 50px;
    margin-bottom: 0px !important;
}

#copyright {
    float: left;
}

#referral_program {
    float: right;
}

/***************************************************************************
 *  Daily Shifts
 **************************************************************************/

.day-navigation {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    display: block;
    padding: 0 50px;
    position: relative !important;
    height: 60px;
    margin-bottom: 15px;
}

.day-navigation .arrow-week,
.day-navigation .arrow-day {
    height: 60px;
    line-height: 60px;
    display: inline-block;
    width: 50px;
    position: absolute;
    text-align: center;
}

.day-navigation .arrow-day {
    display: none;
}

.day-navigation .arrow-week:hover,
.day-navigation .arrow-day:hover {
    cursor: pointer;
    background: #f0f0f0;
    text-decoration: none;
}

.day-navigation .arrow-week.prev-week,
.day-navigation .arrow-day.prev-day  {
    border-right: 1px solid #e1e1e1;
    left: 0;
    top: 0;
}

.day-navigation .arrow-week.next-week,
.day-navigation .arrow-day.next-day {
    border-left: 1px solid #e1e1e1;
    right: 0;
    top: 0;
}

.day-navigation .day-navigation-day {
    border-right: 1px solid #e1e1e1;
    box-sizing: border-box;
    float: left;
    height: 60px;
    padding: 10px 15px;
    text-align: center;
    width: 14.28% !important;
}

.day-navigation .day-navigation-day:nth-child(8n+0) {
    border-right: 0;
}

.day-navigation .day-navigation-day span {
    display: block;
}

.day-navigation .day-navigation-day:hover {
    cursor: pointer;
    background: #f0f0f0;
    text-decoration: none;
}

.day-navigation .day-navigation-day.active {
    background: #08c;
    color: white;
}

@media (max-width: 979px) {
    .day-navigation .day-navigation-day {
        display: none;
    }

    .day-navigation .day-navigation-day.active {
        display: block;
        width: 100% !important;
        background: white;
        color: #08c;
    }

    .day-navigation .arrow-week{
        display: none !important;
    }

    .day-navigation .arrow-day {
        display: inline-block !important;
    }
}

.daily-shift-groups {
    padding: 15px 15px 0 15px;
}

.daily-shift-group tbody {
}

.daily-shift-group .daily-shift-group-header {
    background: #faf8f6;
    border: 1px solid #d0d0d0;
    border-bottom-color: #bBb8b4;
    border-radius: 5px 5px 0 0;
    box-sizing: border-box;
    display: block;
    padding: 7px 7px 7px 15px;
}

.daily-shift-group .daily-shift-group-header .shift-time-notes-tooltip .icon-file-text {
    color: #526f8b;
}

.daily-shift-group .daily-shift-group-header .shift-time-notes-tooltip.shift-time-notes-empty .icon-file-text {
    color: #bBb8b4;
}

.daily-shift-group .daily-shift-group-header .shift-time-notes,
.daily-shift-group .daily-shift-group-header  .group-name {
    font-size: 14px;
    font-weight: bold;
    line-height: 26px;
    padding-right: 10px;
}

.daily-shift-group .daily-shift-group-header .group-note {
    font-size: 14px;
    margin-left: -2px;
}

.daily-shift-group .daily-shift-group-shifts {
    border: 1px solid #d0d0d0;
    border-top: 0;
    width: 100%;
}

.daily-shift-group .daily-shift-group-shifts thead {
    background: #e6e6E7;
    border-bottom: 1px solid #bBb8b4;
    border-top: 1px solid #e4E0ED;
}

.daily-shift-group .daily-shift-group-shifts tr.time_off,
.daily-shift-group .daily-shift-group-shifts tr.on_call {
    border-bottom: 1px solid #bBb8b4;
    width: 100%;
}

.daily-shift-group .daily-shift-group-shifts tr:last-child td:first-child {
    border-radius: 0 0 0 5px;
}

.daily-shift-group .daily-shift-group-shifts tr:last-child td:last-child {
    border-radius: 0 5px 0 0;
}

.daily-shift-group .daily-shift-group-shifts thead tr th:first-child {
    border-left: 1px solid #d0d0d0;
}

.daily-shift-group .daily-shift-group-shifts tr th {
    box-shadow: inset -1px 0 0px 0px #e4E0ED;
    text-shadow: -1px 1px 0px #e4E0ED;
    border-left-color: #bBb8b4;
    border-radius: 0 0 0 0 !important;
    font-size: 10px;
    font-weight: bold;
    color: #626f6b;
    padding: 0px 10px;
    text-align: left;
    text-transform: uppercase;
}

.daily-shift-group .daily-shift-group-shifts tr {
    border: 1px solid #d0d0d0;
    border-bottom: 0;
}

.daily-shift-group .daily-shift-group-shifts tr:last-child {
  border-bottom: 1px solid #d0d0d0;
}

.daily-shift-group .daily-shift-group-shifts tbody tr.shaded {
  background: #f9f9f9;
}

.daily-shift-group .daily-shift-group-shifts tbody tr.extra-shift-row {
  background: rgb(230, 245, 249);
}

.daily-shift-group .daily-shift-group-shifts tbody tr.extra-shift-row td {
  font-weight: bold;
  color: rgb(71, 103, 113);
}

/*
.daily-shift-group .daily-shift-group-shifts tr.on_call + tr.daily-shift-additional-row {
  background: yellow;
}
*/

.daily-shift-group .daily-shift-group-shifts tr td:first-child,
.daily-shift-group .daily-shift-group-shifts tr td:last-child {
    border-left: 0;
    border-right: 0;
}

.daily-shift-group .daily-shift-group-shifts tr td {
    border-right: 1px solid #d0d0d0;
    padding: 7px 10px;
    position: relative;
}

.daily-shift-group .daily-shift-group-shifts tr td:last-child {
    border-right: 0;
}

.daily-shift-group .daily-shift-group-shifts tr.time_off {
    background: #fcf8e3 !important;
}

.daily-shift-group .daily-shift-group-shifts tr.on_call {
    background: yellow !important;
}

.daily-shift-group .daily-shift-group-shifts tr.time_off .time-off-time span,
.daily-shift-group .daily-shift-group-shifts tr.on_call .time-off-time span {
    text-decoration: line-through;
}

.daily-shift-group .daily-shift-group-shifts tr.time_off td:first-child,
.daily-shift-group .daily-shift-group-shifts tr.on_call td:first-child {
    padding: 7px 10px;
    position: relative;
    padding-left: 75px;
    border-right: 1px solid #ddd !important;
}

.daily-shift-group .daily-shift-group-shifts tr td:first-child .time-type-code {
    font-weight: bold;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    padding: 0;
    margin-right: 10px;
    text-align: center;
    border-right: 1px solid #e1e1e1;
    height: 100%;
    line-height: calc(100% + 7px);
}

.daily-shift-group .daily-shift-group-shifts tr.on_call td:first-child .time-type-code,
.daily-shift-group .daily-shift-group-shifts tr td:first-child .time-type-code.plus-minus {
  padding: 7px 0 0;
  height: calc(100% - 7px);
}

.daily-shift-group .daily-shift-group-shifts tr.on_call + tr.daily-shift-additional-row td {
    margin-left: 74px;
    width: calc(100% - 74px);
    padding: 7px 10px 6px;
    text-align: left;
    border-left: 1px solid #e1e1e1;
    border-bottom: 1px solid #d0d0d0;
}

.daily-shift-group .daily-shift-group-shifts tr.time_off td .time-type-code .code {
    position: absolute;
    top: 25%;
    left: 10px;
    width: 50px;
    height: 100%;
}

/***************************************************************************
 *  Calendar
 **************************************************************************/

.calendar {
    width: 100%;
}

.calendar thead {
    font-weight: bold;
    text-align: center;
}
    .calendar thead td {
        padding: 3px;
    }

.calendar td {
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.calendar_day_header {
    color: white;
    font-weight: bold;
    text-align:center;
    font-size: 11px;
}

.calendar_day_header.red {
    background-color: #AA2222;
}

.calendar_day_header.gold {
    background-color: #FFA500;
}

.calendar_day_header.black {
    background-color: #333333;
}

.calendar_day_header.blue {
    background-color: #2a62bc;
}

.calendar_day_header.green {
    background-color: #3c763d;
}

ul.calendar_shift_list {
    list-style-type: none;
    margin: 5px 5px 10px;
    height: auto;
}

.calendar_location {
    color: #222222;
    font-size: 12px;
    font-weight: bold;
}

.calendar_shift_time {
    display: block;
    color: #666666;
    font-size: 12px;
    padding-left: 5px;
    font-weight: bold;
}

.calendar_shift_job_type {
    color: #666666;
    font-size: 11px;
    font-weight: bold;
}

.calendar_shift_overtime {
    color: #09668C;
}

.calendar_shift_line_2 {
    padding-left: 5px;
    font-size: 12px;
    position: relative;
}
.calendar_shift_line_2 .icon-exchange-container {
    position: absolute;
    right: 2px;
    top: 3px;
}
.calendar_shift_line_2 .icon-exchange-container:hover {
    cursor: pointer;
}

.ui-state-default .calendar_shift_line_2 .icon-remove-sign-container {
    color: #999;
    position: absolute;
    right: 17px;
    top: 3px;
}

.ui-state-default .calendar_shift_line_2 .icon-remove-sign-container:hover {
    color: #ff3333;
}
.calendar_shift_line_3 {
    padding-left: 22px;
    padding-right: 2px;
    font-size: 12px;
    position: relative;
}

#calendar_title {
    text-align: center;
}

#calendar_current_month {
    display: inline-block;
    width: 620px;
}

#calendar_next_month,
#calendar_prev_month {
    display: inline-block;
    vertical-align: bottom;
    margin-bottom: 5px;
}

.calendar_can_work {
    background-color: #8EFF87;
    border: 1px solid #5EA95A;
    padding: 2px;
    position: relative;
}

.calendar_cant_work {
    background-color: #FFAAAA;
    padding: 2px;
    border: 1px solid #C28181;
    position: relative;
}

.calendar_can_work_toggle {
    position: absolute;
    right: 5px;
    top: 0;
}

.calendar_edit_icons {
    float: right;
    padding-right: 5px;
}

.calendar_edit_icons a {
    padding-right: 5px;
    opacity: 0.3;
}

.calendar_edit_icons a:hover {
    opacity: 1;
}

ul.calendar_shift_list.sortable.person-unavailable {
    opacity: 0.4;
}

ul.calendar_shift_list .calendar_shift_person {
    display: inline;
    margin-right: 13px;
}

ul.calendar_shift_list .calendar_edit_shift_person {
    display: inline;
    margin-right: 28px;
}

ul.calendar_shift_list .calendar_shift_line_2 {
    position: relative;
}

ul.calendar_shift_list .calendar-edit-shift-edit {
    position: absolute;
    right: 0;
    top: 0;
}

ul.calendar_shift_list a.calendar-edit-shift-edit {
    opacity: 0.3;
}

ul.calendar_shift_list a.calendar-edit-shift-edit:hover {
    opacity: 1;
}

/*
 * sortable
 */
.calendar_shift_list .ui-sortable-helper,
.calendar_shift_list .ui-sortable-helper.ui-sortable-new {
    color: #333;
    background: #9acfff;
}

.calendar_shift_list .calendar-shift-change {
    background: #1989BC !important;
}
.calendar_shift_list .calendar-shift-change,
.calendar_shift_list .calendar-shift-change .icon-exchange,
.calendar_shift_list .calendar-shift-change .calendar_shift_job_type {
    color: #ddd;
}

.calendar_shift_list .calendar-shift-own.calendar-shift-change .calendar_shift_line_2 {
    color: #ddd;
    background: #1989BC;
}

.calendar_shift_list .calendar-shift-own .calendar_shift_line_2,
.calendar_shift_list .calendar-shift-own .calendar_shift_line_3 {
    background-color: #dff0d8;
}

.calendar_shift_list .calendar-shift-holdover .calendar_shift_line_2,
.calendar_shift_list .calendar-shift-holdover .calendar_shift_line_3 {
    color: #1c94c4;
    background-color: #d9edf7;
}

/* hard coded shift */
.calendar_shift_list .shift_hard_coded {
    background: #badff1 !important;
}

.calendar_shift_list .ui-sortable-new {
    background: #b3ff80;
}

/* psecial assignment */
.calendar_shift_list .calendar-shift-special-type {
    background: orange !important;
}

.preferences-table .calendar_can_work {
    background-color: #fff;
    border-color: #ccc;
    padding-right: 50px;
    min-height: 30px;
}

.preferences-table .calendar_cant_work {
    opacity: 0.3;
}

.preferences-table .shift_time_area {
    position: relative;
}

.preferences-table .shift_time_area select {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 50px;
}


/***************************************************************************
 *  Login
 **************************************************************************/
#login_extra_links {
    margin-top: 15px;
}

/***************************************************************************
 *  Preferences
 **************************************************************************/
#sortable li:hover {
    cursor: move;
}

#sortable.sortable_shift_time_list {
    width: 100%;
}

#sortable.sortable_shift_time_list li{
    /*width: 100%;*/
}

.sortable_shift_time_weekday {
    margin-left: 300px !important;
    position: relative !important;
    width: 130px;
    float: left;
}

.sortable_shift_time_date {
    position: relative !important;
    width: 120px;
    float: left;
}

.sortable_shift_time_time {
    position: relative !important;
    width: 120px;
    float: left;
}


/***************************************************************************
 *  Schedules
 **************************************************************************/
.schedule_shift_time {
    margin-left: 10px;
    color: #666666;
    font-size: 14px;
}

.schedule_location {
    float: right;
}

.schedule_beat_assignments {
    font-size: 14px;
    margin-bottom: 14px;
}

.schedule_item_container {
    margin: -15px;
}

.schedule_item {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.schedule_item:nth-child(even) {
    background-color: #f9f9f9;
}

.widget-nopadding .widget-content {
    padding: 0;
}


/***************************************************************************
 *  Month Title Header
 **************************************************************************/
#month_title {
    text-align: center;
}

#month_title_current_month {
    display: inline-block;
    width: 460px;
}

#month_title_next_month,
#month_title_prev_month {
    display: inline-block;
    vertical-align: bottom;
    margin-bottom: 5px;
}

/***************************************************************************
 *  Person List
 **************************************************************************/
.person_list_invite_sent {
    color: #999999;
}


/***************************************************************************
 *  Messages
 **************************************************************************/
.message-footer,
.message-sub-area {
    clear: both;
}

.message-area.alert.alert-warning {
    background: #FAF3E5;
    border: 1px solid #E9DBC3;
    border-left: 5px solid #c09853;
    border-radius: 0 3px 3px 0;
    box-sizing: border-box;
    float: left;
    height: auto;
    padding: 15px 30px 15px 20px;
    position: relative;
    width: 100%;
}

.message-area.alert.alert-warning .text-warning .icon-warning-sign {
    background: #c09853;
    border-radius: 12px;
    color: white;
    font-size: 13px;
    left: -14px;
    padding: 5px;
    position: absolute;
    text-shadow: none;
    top: 17px;
}

.message-area.alert.alert-warning .message-main-area.text-warning {
    width: 100% !important;
}

.message-area.alert.alert-warning .text-warning h4 {
    color: #866541;
    line-height: 1.5;
    font-size: 16px;
}

.message-area.alert.alert-warning .text-warning h4 a {
  font-size: inherit;
  line-height: inherit;
}

.message-main-area {
    width: 90%;
    float: left;
}

.message-close-area {
    font-size: 12px;
    color: #866541;
    width: 25px;
    position: absolute;
    right: 15px;
    top: 15px;
}

.message-close-area a {
  color: #866541;
}

.message-close-area a:hover {
    color: #664622;
}

.message-close-area a:hover {
    text-decoration: none;
}

.message-area h4 {
    margin-bottom: 0px;
}



/***************************************************************************
 *  jQuery UI
 **************************************************************************/
#sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
#sortable li { margin: 0px 3px 3px 3px; padding: 0.2em; padding-left: 1.5em; font-size: 1.0em; height: 18px; }
#sortable li span { position: absolute; margin-left: -1.3em; }

/***************************************************************************
 *  Bootstrap
 **************************************************************************/
.nav-tabs>li {
    margin-bottom: 0px;
}

.widget {
    position: static;
}

/* sticky footer */
html,
body {
    height: 100%;
    width: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -110px;
}

/* Set the fixed height of the footer here */
#push { height: 60px; }
#footer {
    background-color: #f5f5f5;
    height: 20px;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.text-bold { font-weight: bold; }

.text-black {
    color: #000;
}

.text-success, .text-ok, .text-green {
    color: #468847;
}

.text-error, .text-danger, .text-red {
    color: #b94a48;
}

.text-red {
    color: red;
}

.table tbody tr.success > td {
  background-color: #dff0d8;
}

.table tbody tr.error > td {
  background-color: #f2dede;
}

.table tbody tr.warning > td {
  background-color: #fcf8e3;
}

.table tbody tr.info > td {
  background-color: #d9edf7;
}

.table-hover tbody tr.success:hover > td {
  background-color: #d0e9c6;
}

.table-hover tbody tr.error:hover > td {
  background-color: #ebcccc;
}

.table-hover tbody tr.warning:hover > td {
  background-color: #faf2cc;
}

.table-hover tbody tr.info:hover > td {
  background-color: #c4e3f3;
}

.table-striped tbody>tr:nth-child(even)>td,
.table-striped tbody>tr:nth-child(even)>th {
    background-color: #fff;
}

option.coloroff {
    color: #999;
}

/* modal */

.modal-backdrop, .modal-backdrop.fade.in {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

div.modal-header-draggable:hover {
    cursor: pointer;
}

.text-red:hover, .text-red:focus {
    color: red;
}

/***************************************************************************
 *  Assignments
 **************************************************************************/

#card_details .modal-body {
    max-height: 75vh;
    overflow-y: auto;
}

#card_details .modal-body .current-assignments-notes {
    display: flex;
    font-size: 8.5pt;
    font-weight: bold;
    justify-content: space-between;
    margin-bottom: 5px;
    text-transform: uppercase;
}

#card_details .modal-body .current-notes .notes-form {
    margin-bottom: 20px;
    align-items: center;
}

#card_details .modal-body .current-notes .notes-form textarea {
    width: 100%;
}

#card_details .modal-body .current-notes .notes-form button {
    float: right;
}

#card_details .modal-body .current-notes .notes {
    border: 1px solid #eaeaea;
    background-color: white;
    padding: 5px 8px;
    margin-bottom: 15px;
    display: block;
    line-height: 1.5;
}

#card_details .modal-body .current-assignments-wrap {
    background: #f7f7f7;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    display: block;
    padding: 10px;
    margin-bottom: 15px;
}

#card_details .modal-body .current-assignments-wrap h3 {
    color: #454545;
    font-size: 9pt;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 .75em 0;
}

#card_details .modal-body .current-assignments-wrap span.time-field {
  color: #454545;
  font-size: 9pt;
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
  float: left;
  width: 30%;
}

#card_details .modal-body .current-assignments-wrap span input {
  display: block;
  margin-top: 5px;
}

#card_details .modal-body .current-assignments-wrap .current-beats {
    clear: both;
}

#card_details .modal-body .current-assignments-wrap .current-assets {
    margin-top: 15px;
}

#card_details .modal-body .assignment {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    display: inline-block;
    margin-right: 10px;
    padding: 7px 10px;
    position: relative;
}

#card_details .modal-body .assignment strong {
    padding-right: 15px;
    display: block;
}

#card_details .modal-body .assignment p {
    margin-bottom: 0;
}

#card_details .modal-body .close {
    color: #545454;
    font-size: 10pt;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 10px;
    opacity: 0.4;
}

#card_details .modal-body .close:hover {
    opacity: 0.7;
}

#card_details .modal-body .asset-navigation {
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

#card_details .modal-body .filter-assets {
    box-sizing: border-box;
    display: block;
    height: 35px;
    line-height: 35px;
    padding: 0px 10px;
    width: 100%;
}

#card_details .modal-body .asset-list {
    list-style: none;
    margin: 0;
    overflow-y: auto;
    max-height: 225px;
}

#card_details .modal-body .asset-list .asset {
    border-bottom: 1px solid #d8d8d8;
    box-sizing: border-box;
    display: block;
    padding: 10px;
    position: relative;
    width: 100%;
}

#card_details .modal-body .asset-list .asset.asset-inactive,
#card_details .modal-body .asset-list .asset.asset-inactive:hover {
    background-color: rgba(188, 0, 0, 0.03);

}

#card_details .modal-body .asset-list .asset:first-child {
    border-top: 1px solid #d8d8d8;
}

#card_details .modal-body .asset-list .asset.expanded {
    background: #f8f8f8;
}

#card_details .modal-body .asset-list .asset:hover {
    background: #f8f8f8;
    cursor: pointer;
}

#card_details .modal-body .asset-list .asset .asset-name,
#card_details .modal-body .asset-list .asset .plus-minus {
    color: #757575;
    font-size: 10pt;
    line-height: 1;
}

#card_details .modal-body .asset-list .asset .asset-name {
    margin: 0;
    padding-right: 20px;
}

#card_details .modal-body .asset-list .asset .plus-minus {
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 35px;
}

#card_details .modal-body .asset-list .asset .asset-form {
    display: block;
    margin-top: 10px;
}

#card_details .modal-body .asset-list .asset .asset-form .full_partial_select {
    display: inline-block;
    margin-right: 10px;
    height: 30px;
    width: auto;
}

#card_details .modal-body .asset-list .asset .asset-form span.time-entry-label {
    line-height: 25px;
    font-size: 9pt;
    font-weight: bold;
    padding-right: 4px;
    color: #656565;
    text-transform: uppercase;
    vertical-align: text-bottom;
}

#card_details .modal-body .asset-list .asset .asset-form .time-entry {
    margin-right: 10px;
    width: 100px;
}

#card_details .modal-body .asset-list .asset .asset-form .btn {
    display: block;
    clear: both;
}


/* job type color */
span.color-box {
    border: 1px solid #000;
    display: block;
    height: 20px;
    width: 20px;
}

span.color-box-inline {
    display: inline-block;
}

span.color-box.color-lightred { background-color: #ffcccb; }
span.color-box.color-lightpurple { background-color: #b695c0; }

.controls-color-radio {
    list-style: none;
    padding: 0 0 0 40px;
    position: relative;
}
.controls-color-radio input[type=radio] { display: none; }

.controls-color-radio li {
    border: 4px solid #fff;
    display: inline-block;
    line-height: 20px;
    margin: 0 5px 0 0;
    padding: 0;
}

.controls-color-radio li:hover { cursor: pointer; }
.controls-color-radio li.selected { border: 4px solid blue; }
.controls-color-radio li label { margin: 0; }
.controls-color-radio li label span.color-box {
    background-color: #fff;
}

.controls-color-radio li.color-lightred label span.color-box { background-color: #ffcccb; }
.controls-color-radio li.color-lightpurple label span.color-box { background-color: #b695c0; }

.controls-color-radio li.color-no-color {
    overflow: hidden;
}
.controls-color-radio li.color-no-color label span.color-box {
    border: 1px solid #fff;
    width: 58px;
    text-align: center;
}

.table-shift-color-index .controls-color-radio li.color-no-color {
    left: -25px;
    position: absolute;
}
.table-shift-color-index .controls-color-radio li.color-no-color label span.color-box {
    border: 1px solid #fff;
    width: auto;
}

/* add person select2 */
#add_person .select2-container {
    width: 350px;
}

#remove_people .color-container {
    float: right;
}

#remove_people .color-container .color-box {
    float: left;
    margin-left: 10px;
}

/* shift edit day modal */
#edit_day {
    width: 900px;
    margin-left: -450px;
}

.widget .inline {
    margin-bottom: 10px;
}
.widget .inline label {
    display: inline-block;
    margin-left: 10px;
}

.widget .calendar-locations {
    width: 200px;
    margin: 0 auto 20px auto;
}

.shift-change-modal {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    padding: 0;
}
.shift-time-notes-modal .popover-title {
    min-height: 25px;
}
.shift-change-modal .popover-content {
    max-height: 500px;
    overflow: auto;
}
.admin-shift-change-modal .popover-content {
    max-height: none;
}
.shift-change-modal h3 {
    margin: 0;
}
.shift-change-modal h3 button {
    margin-left: 10px;
}

.shift-change-modal form input[type=text],
.shift-change-modal form input[type=number],
.shift-change-modal form select {
    display: block;
}

.popover {
  z-index: 1700;
}

.popover.right .arrow {
    top: 0;
    left: -5px;
    margin-top: 0;
    border-right-color: #fff;
}
.popover.left .arrow {
    top: 0;
    right: -5px;
    margin-top: 0;
    border-left-color: #fff;
}

.blue-color {
    color: blue;
}

.shift-change-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.shift-change-box form {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.shift-change-box form > div {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}
.shift-change-box form > div button {
    width: 49%;
}
.shift-change-box-left {
    flex: 2;
    max-width: 500px;
}
.shift-change-box-left-child {
    float: left;
}
.shift-change-box-left-child.shift-assignment {
    float: right;
}
.shift-change-box-right {
    flex: 1;
}
.shift-change-box-right > div {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 20px;
}
.shift-change-box-right .js-note-required-error {
  height: auto;
}
.shift-change-box-right > div .form-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.shift-change-box-right > div .status-container {
    text-align: right;
    flex: 1;
}
.shift-change-box-right > div .first-level-status-container {
    text-align: right;
    max-width: 150px;
}
.shift-change-box .shift-red {
    border-left: 6px solid red;
    padding-left: 10px;
}
.shift-change-box .shift-gold {
    border-left: 6px solid gold;
    padding-left: 10px;
}
.shift-change-box .shift-black {
    border-left: 6px solid black;
    padding-left: 10px;
}
.shift-change-box .trade-icon {
    text-align: center;
    font-size: 80px;
    margin-top: -15px;
}
.shift-change-box .shift-assignment {
    border: 2px dotted #333;
    padding: 5px;
    display: inline-block;
    overflow-x: hidden;
    position: relative;
    margin: 0 10px 0 0;
    border-radius: 0;
}
.shift-change-box .second-level-pending-info {
    padding: 5px;
    display: block;
}

.shift-change-box-left-child.shift-assignment {
    /*width: 200px;*/
}

/* Time Tracking */
.form-element-box {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 0 0 20px 0;
    overflow:hidden;
    clear:both;
}

.form-element-box:hover {
    cursor: move;
}

.form-element-box .form-element-preview{
    width: 70%;
    float: left;
}

.form-element-box .form-element-buttons{
    float:left;
}

#choice-element-list {
    list-style-type: none;
    margin: 5px;
}

#choice-element-list .ui-icon {
    display: inline-block;
}

#choice-element-list input {
    width: 300px;
}

#choice-element-list li {
    width: 350px;
}

#choice-element-list li:hover {
    cursor: move;
}

#add-choice-element:hover {
    cursor: pointer;
}


.datepicker { z-index: 1050 !important; }

ul.ul-days-of-week { margin-top: 5px; }
ul.ul-days-of-week li {
    display: inline-block;
    margin-right: 12px;
}

ul#days-of-week li a{
    padding-right: 10px;
    padding-left: 10px;
}

.margin-right-10 { margin-right: 10px; }
.margin-left-10 { margin-left: 10px; }

.permanent-elements {
    width: 60%;
}

.permanent-elements .form-element-box:hover {
    cursor: default;
}

.table-permissions td {
    cursor: pointer;
}

.table-people {
    table-layout:fixed;
}

.table-manpower td.error,
.table-manpower.table-striped tbody tr:nth-child(odd) td.error {
    background-color: #f2dede;
}

.table-wip thead th {
    vertical-align: top;
}

.table-wip td:nth-child(n+6) {
    text-align: right;
}

.widget-form-table {
    margin: 0;
}

.navbar-search-result {
    background: #3a3f44;
    border: 1px solid #000;
    color: #fff;
    font-size: 12px;
    position: fixed;
    top: 36px;
    max-width: 700px;
    width: inherit;
    display: none;
}

.navbar-search-result h3 {
    font-size: 16px;
    color: #fff;
    margin: 0;
    padding: 0;
}

.navbar-search-result-inner,
.navbar-search-result-inner .widget-header,
.navbar-search-result-inner .widget-table thead th,
.navbar-search-result-inner .widget-table tbody td,
.navbar-search-result-inner .widget-table thead th:hover,
.navbar-search-result-inner .widget-table tbody td:hover {
    background: #3a3f44;
}

.navbar-search-result-inner .widget-header,
.navbar-search-result-inner .widget-content,
.navbar-search-result-inner .widget-table table,
.navbar-search-result-inner .widget-table thead th,
.navbar-search-result-inner .widget-table tbody td {
    border: 0;
}

.navbar-search-result-inner .widget-table thead:first-child tr:first-child th,
.navbar-search-result-inner .widget-table thead th,
.navbar-search-result-inner .widget-table tbody td {
    border-radius: 0;
}

.navbar-search-result-inner .widget-table tbody td a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.navbar-search-result-inner .widget-table tbody tr:hover td {
    background-color: #000;
}

.table-search-result td a {
    display: block;
    text-decoration: none;
}

.table-wip .align-right,
.table .align-right,
.table-grid .align-right,
.align-right {
    text-align: right;
}

.table .align-left,
.table-grid .align-left,
.align-left {
    text-align: left;
}

.table td.cell-as-link a {
    display: block;
}

.calendar_time_off {
    margin-bottom: 40px;
}

.calendar_time_off li.ui-state-default {
    background: #fcf8e3;
}

.widget-project-detail h3 {
    width: 100%;
}

.widget-project-detail .toggle-tooltip {
    text-decoration: none;
}
.project-detail-alert {
    margin-bottom: 20px;
}

.project-detail-alert .alert {
    padding: 8px 14px;
    font-weight: bold;
    text-transform: capitalize;
    margin-right: 8px;
}

.project-detail-progress .clearfix {
    position: relative;
}
.project-detail-progress .icon-info-sign {
    position: absolute;
    margin-left: -5px;
}

.widget-sortable #sortable .sortable-item {
    background-color: #efefef;
    padding: 10px;
    margin: 0 0 5px 0;
    cursor: pointer;
}

.project-detail-progress .progress {
    position: relative;
}

.progress .bar-invisible {
    position: absolute;
    background: none;
    height: 100%;
    border: 0;
    border-right: 1px solid #000;
}

.alert-success-text { color: #468847; font-weight: bold; }
.alert-danger-text { color: #b94a48; font-weight: bold; }

.widget-flexbox {
    display: flex;
    justify-content: space-between;
}

.widget-flexbox .table {
    margin: 30px 0;
    border: 1px solid #ccc;
}

.width-30 {
    width: 30%;
}

.widget-multi-top {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.widget-multi-bottom {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.widget-multi-middle {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.widget-filter .btn {
    margin-bottom: 3px;
}

.widget-filter .btn.active {
    color: #fff;
    background-color: #04c;
}

.table-nowrap td {
    white-space: nowrap;
}


.jtst-shift-time-area {
    padding: 10px;
}

.jtst-shift-time-area a {
    color: #66caff;
}

.jtst-shift-time-area a:hover {
    color: #08c;
}

.jtst-shift-time-area ul {
    list-style-type: none;
}

.jtst-element {
    font-size: 11pt;
    font-weight: bold;
    padding: 3px;
    border: 1px solid #ccc;
}

.jtst-right-header {
    text-align: center;
}

.shift-time-header.selected,
.load-to-container.selected {
    background-color: #eee;
}

.widget-content.widget-master-detail {
    padding: 10px;
    display: flex;
}

.widget-content.widget-master-detail > div {
    padding: 10px;
}

.widget-content.widget-master-detail h4 {
    padding: 5px;
    margin: 0;
}

.widget-content.widget-master-detail ul {
    margin: 0 0 10px 20px;
    padding: 0;
}
.widget-content.widget-master-detail li {
    margin: 0;
    padding: 1px 3px;
}

.grid-view-buttons {
    display: block;
    margin: 0 auto 10px auto;
    text-align: center;
}

#jtst-current {
    width: 40%;
}

#master-detail--detail-form {
    border-left: 1px solid #ccc;
}

.table-grid {
    font-size: 11px;
}
.table-grid td {
    background-color: #fff;
    border: 1px solid #ccc;
    white-space: nowrap;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.handsontable.ht_master table.htCore {
    overflow: hidden !important;
}

.handsontable.sticky-header {
    position: static;
    z-index: 2000 !important;
}

.handsontable.sticky-header tr {
    background: white !important;
    z-index: 2000 !important;
}

.handsontable tbody .group-item td,
.handsontable tbody .group-item th {
    background-color: transparent;
    vertical-align: middle;
    text-align: center;
    padding: 0 2px;
    position: relative;
    overflow: visible;
}

.handsontable > div > div > div > table > tbody > tr:nth-child(2) > td.today-header-cell:before {
   background-color: rgba(223, 240, 216, 0.1);
   background-image: linear-gradient(45deg,
                                     rgba(165,227,115,0.15) 0%,
                                     rgba(152,193,125,0.35) 25%,
                                     rgba(165,227,115,0.15) 50%,
                                     rgba(152,193,125,0.35) 75%,
                                     rgba(99,190,94,0.15) 100%);
   background-size: 10px 10px;
   content: "";
   position: absolute;
   left: 0;
   top: -100px;
   height: 10000px;
   width: 100%;
   z-index: 500;
   pointer-events: none;
}
.handsontable tbody .group-item td.today-header-cell span {
    font-family: Arial, sans-serif;
    z-index: 1300;
    position: relative;
}

.handsontable tbody tr {
    background-color: white;
}

.handsontable tbody tr.group-header {
    position: relative;
    z-index: 2000;
}

.handsontable tbody tr.group-header td:hover:after {
    content: none;
}

/* .handsontable tbody tr:hover {
    background-color: rgba(173,216,230, 0.3);
} */

td[class^="td-day-"],
td[class*=" td-day-"] {
    margin-left: -0.5px;
}

td[class*="td-day-"]:after,
td[class*=" td-day-"]:after {
    content: none;
    position: absolute;
    background-color: rgba(173,216,230, 0.3);
    left: 0;
    top: -5000px;
    height: 10000px;
    width: 100%;
    z-index: 750;
}

td[class*=" td-person-"]:before {
    content: none;
    position: absolute;
    background-color: rgba(173,216,230, 0.3);
    left: -5000px;
    top: 0;
    width: 10000px;
    height: 100%;
    z-index: 750;
}

td[class*="td-day-"]:hover::before,
td[class*=" td-day-"]:hover::before,
td[class*="td-day-"]:hover::after,
td[class*=" td-day-"]:hover::after {
    content: "";
    pointer-events: none;
}

td[class*=" td-person-"]:hover,
td[class*=" td-person-"]:hover:before {
    z-index: 750;
    content: "";
}

.handsontable tbody td span {
    padding: 0px;
}
.handsontable tbody td:first-of-type {
    text-align: left;
    padding: 0 6px 0 4px;
}

.handsontable tbody tr.warning td:first-of-type {
    background: rgb(250, 220, 218);
}

.handsontable tbody tr.warning td:first-of-type i.icon-warning-sign {
    color: rgb(170, 60, 51);
    position: absolute;
    right: 5px;
    top: 5px;
}

.handsontable span.grid-group-header {
    background-color: white;
    font-weight: bold;
    font-size: 11pt;
    padding: 0 5px;
    position: relative;
    border: 1px solid #54416a;
    line-height: 25px;
    z-index: 1500;
}

.handsontable .group-item td span {
  z-index: 900;
  position: relative;
}

table.grid-legend tr {

}
table.grid-legend {
    width: 100%;
}
table.grid-legend td {
    width: 20%;
    vertical-align: top;
}
table.grid-legend td div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
table.grid-legend td .grid-preview {
    margin-right: 15px;
}

table.grid-legend td .grid-legend-description {
    width: calc(100% - 55px);
}


.box--shift-rotation-element {
    border: 1px solid #ccc;
    padding: 5px 10px;
    margin: 10px 0;
}

.box--shift-rotation-element-arrow {
    text-align: center;
    font-size: large;
}

.widget-master-detail #sortable {
    width: auto;
}

.widget-master-detail #sortable .sortable-item:hover {
    cursor: pointer;
}

.widget-master-detail #sortable .sortable-item:hover > .box--shift-rotation-element {
    background-color: #eee;
}

span.grid-view-cell {
    font-weight: bold;
    font-size: 9pt;
    position: relative;
    z-index: 1200;
}

span.grid-view-cell-small {
    font-weight: bold;
    font-size: 10px;
    position: relative;
    line-height: 14px;
    z-index: 1300;
}

.htCore td {
    position: relative;
}

.cell-error-container {
    background-color: white;
    color: red;
    display: none;
    position: absolute;
    padding: 5px 20px 5px 10px;
}

.cell-error-container.popover.top .arrow {
    border-width: 5px;
    bottom: -11px;
    left: 20px;
}

.cell-error-container .error-close {
    position: absolute;
    right: 5px;
    top: 0;
    cursor: pointer;
    color: red;
}

table.calendar .notes-tooltip {
    margin-right: 5px;
    position: absolute;
    right: 14px;
}

.notes-tooltip .icon-file-text{
    color: #1c94c4;
}

table.calendar .notes-tooltip-edit {
    position: absolute;
    right: 26px;
}

.shift-preview--cell {
    background-color: #eee;
}

.shift-time-notes-empty {
    color: #ccc;
}

.popover-content .shift-notes {
    border: 1px solid #ccc;
    padding: 10px;
}
.popover-content .shift-notes textarea {
    display: block;
    width: 90%;
}

.table-daily-detail {
    width: 100%;
}
.table-daily-detail .calendar_shift_time {
    font-size: 16px;
}
.table-daily-detail .calendar_shift_list {
    margin-bottom: 20px;
}

.table-daily-detail .calendar_shift_list li {
    line-height: 26px;
    font-size: 14px;
}

.table-supervisor .supervisor-cell > a {
    display: inline-block;
}

.table-supervisor .supervisor-cell .supervisor-item {
    display: inline-block;
    border: 1px solid #ddd;
    background-color: #eee;
    padding: 0 5px;
    margin-bottom: 5px;
}

.table-supervisor .modal-link { color: #999; }
.table-supervisor .remove-link:hover { color: red; text-decoration: none; }
.table-supervisor .create-link:hover { color: green; text-decoration: none;  }

.popover-modal button.close {
    position: absolute;
    top: 5px;
    right: 10px;
}

.grid-update-modal label input[type="text"],
.grid-update-modal label input[type="number"],
.grid-update-modal label select {
    display: block;
}

.grid-update-modal .accordion-toggle.not-allowed {
  color: #353535;
  opacity: 0.7;
}

.grid-update-modal .accordion-toggle.not-allowed:hover {
  cursor: not-allowed !important;
  color: #141414;
  text-decoration: none;
}

.grid-modal-form h5 {
    margin: 0 0 5px 0;
    padding: 0;
}

.collapse {
    display: none;
}

.collapse.in {
    display: inline;
}

.shift-color-index-form {
    margin: 0;
}
.shift-color-index-form .controls-color-radio li {
    margin: 0;
}
.shift-color-index-form .hidden-fields {
    display: none;
}
.shift-color-index-form .grid-preview,
.grid-legend .grid-preview {
    min-height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    display: block;
    border: 1px solid #000;
    font-weight: bold;
    position: relative;
}

.shift-change-custom-form-modal {
    min-width: 300px;
}

.shift-change-custom-form-modal .form-entry {
    margin: 10px 0;
}

.shift-change-custom-form-modal .form-entry-label {
    font-weight: bold;
}

.time-off-type-fields input[type=text],
.time-off-type-fields textarea {
    display: block;
}

.time-off-type-filter .btn {
    margin-bottom: 4px;
}

/* payroll */
.table-person-payroll {
    background-color: white;
}
.table-person-payroll h3 {
    position: relative;
    top: 2px;
    left: 10px;
    display: inline-block;
    margin-right: 3em;
    font-size: 14px;
    font-weight: 800;
    color: #555;
    line-height: 18px;
    text-shadow: 1px 1px 2px rgba(255,255,255,.5);
}
.table-person-payroll tbody > tr.person-payroll-section > th {
    background: #666;
    color: #fff;
}

/* Hours Report 2.0 */

.report-wrapper {
  background: #fafafa;
  width: 100%;
  padding: 0;
  border-top: 1px solid #4e6479;
  position: absolute;
  left: 0;
  top: -16px;
}

.report-wrapper .report-header {
  margin: 15px 0;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.report-wrapper .report-header .report-title {
  margin: 0;
  line-height: 30px;
  color: #353535;
  font-weight: 100;
  font-size: 18px;
  display: inline-block;
}

.report-wrapper .report-header .report-actions {
  float: right;
}

.report-wrapper .report-filters {
  background: #eaeaea;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  width: 100%;
  padding: 0 20px 15px;
  box-sizing: border-box;
}

.report-wrapper .report-filters .input-datepicker {
  height: 28px;
  width: 100px;
  margin-right: 7px;
  padding: 0 1px 0 0;
  line-height: 28px;
  text-align: center;
}

.report-wrapper .report-filters .form-inline {
  box-shadow: inset -1px 0px 0 #e1e1e1;
  margin: 15px 0 0;
  padding-right: 15px;
  border-right: 1px solid #f6f6f6;
  margin-right: 10px;
  display: inline-block;
}

.report-wrapper .report-filters .form-inline .btn-group {
  margin-top: 0;
}

.report-wrapper #form-generate-report input,
.report-wrapper #form-generate-report button {
  vertical-align: top;
}

.report-wrapper .report-filters .dropdown-menu input {
  margin: 0 7px 0 0;
  vertical-align: top;
}

.report-wrapper .report-filters .filter-button,
.report-wrapper .report-filters .btn-group {
  margin-right: 10px;
  position: relative;
  display: inline-block;
  margin-top: 15px;
  vertical-align: top;
}

.report-wrapper .report-filters .filters-tag {
  background: #fafafa;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  padding: 0 7px;
  line-height: 28px;
  display: inline-block;
  vertical-align: top;
  margin-top: 15px;
  color: #606060;
}

.report-wrapper .report-filters .filters-tag .remove-link {
  background: #e1e1e1;
  color: #808080;
  border-radius: 30px;
  text-align: center;
  margin-left: 5px;
  height: 15px;
  width: 15px;
  display: inline-block;
  font-size: 8px;
  line-height: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-decoration: none;
}

.report-wrapper .report-filters .filters-tag .remove-link:hover {
  background: #dadada;
  color: #606060;
  cursor: pointer;
}

.report-content-wrap {
  background: white;
  width: 100%;
  padding: 0;
  position: relative;
  left: 0;
  top: 0;
  max-height: 100vh;
  overflow-x: scroll;
}

.report-content-wrap .table {
  border-top: 0;
}

.report-content-wrap .table tbody tr td {
  padding: 0;
}

.report-content-wrap .table tr td:first-child,
.report-content-wrap .table tr th:first-child {
  padding-right: 0;
  padding-left: 20px;
  box-sizing: border-box;
  left: 0;
}

.floatThead-table thead tr td,
.report-content-wrap .table thead tr td {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 11px;
  color: #646464;
}

.report-content-wrap .table tr td span {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  padding: 8px;
  width: 100%;
}

.report-content-wrap .table tr td span span.tooltip-el {
  box-sizing: content-box;
  width: 100%;
  padding: 8px;
  margin: -8px;
}

.report-content-wrap .table tr td span div.tooltip {
  margin-left: -15px;
}

.report-content-wrap .table tr td span div.tooltip .tooltip-inner {
  width: 175px;
}

.report-content-wrap .table tr td span div.tooltip .tooltip-arrow {
  left: 50% !important;
}

.report-content-wrap .table tbody tr td span span {
  padding: 0;
  width: auto;
}

.report-content-wrap .table tr th:first-child {
  text-transform: capitalize;
}

.report-content-wrap .table tr td:first-child {
  display: block;
  height: 100%;
}

.table-striped tbody>tr:nth-child(odd) {
  background: #f9f9f9;
}

/******************/
/* UPDATE BROWSER */
/******************/

#grid-browser-update {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #e6f5f9;
    border: 1px solid #d7e8ed;
    display: block;
    margin: 0 auto 25px;
    padding: 15px;
}

#grid-browser-update .browser-update-title {
    display: block;
    margin-bottom: 0px;
}

#grid-browser-update .browser-update-description {
    display: block;
    font-size: 12pt;
}

.shift-change-modal button.close {
    position: absolute;
    top: 5px;
    right: 10px;
}

/* move olark window so it doesn't cover x-scroll arrow */
.olrk-fixed-right {
    margin: 0 !important;
    right: 30px !important;
}

/* fixed table headers should have the same background */
.table-fixed-header thead {
    background: #FFF;
    background-image: -o-linear-gradient(top, #FFF, #eaeaea);
    background:-moz-linear-gradient(center top , rgb(248, 248, 248) 0%, rgb(227, 227, 227) 100%) repeat scroll 0% 0% transparent;
    background-image:-webkit-gradient(linear, 0 0, 0 100%, from(white), to(#EAEAEA));
    background-image:-o-linear-gradient(center top , rgb(248, 248, 248) 0%, rgb(227, 227, 227) 100%) repeat scroll 0% 0% transparent;
    background:linear-gradient(center top , rgb(248, 248, 248) 0%, rgb(227, 227, 227) 100%) repeat scroll 0% 0% transparent;
}

.alert {
    height: 54px;
}

.alert-grey {
    color: #333;
    background-color: #f7f7f7;
    border-color: #ebebeb;
}

.grid-update-modal .empty-shift-list ul {
    margin-left: 20px;
    list-style: disc;
}

.time-off-bank-data {
    display: flex;
    justify-content: space-between;
}

.form-normal .controls {
  margin-left: 0;
}

.table tbody > tr.alert-success > td {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.table tbody > tr.alert-danger > td {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

#grid-container .handsontable .wtHider,
#grid-container .handsontable .wtSpreader,
#grid-container .handsontable .htCore,
.sticky-header .handsontable .wtHider,
.sticky-header .handsontable .wtSpreader,
.sticky-header .handsontable .htCore { width: 100% !important; }
{ width: 100% !important; }

.preferences-grid-container {
    width: 95%;
    margin: 0 auto;
}
.preferences-grid-container table {
    background-color: #fff;
    border-collapse: separate;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.preferences-grid-container table,
.preferences-grid-container tr,
.preferences-grid-container td {
}
.preferences-grid-container td {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
}
.preferences-grid-container select {
    height: auto;
    line-height: normal;
    margin: 0;
    padding: 0;
    width: 48px;
}
.preferences-grid-container td div {
    width: 48px;
}


.widget-buttons {
    margin-bottom: 15px;
}

.calendar-beat-assignments {
    color: black;
    margin-right: 10px;
}

.table tr td.no-border {
    border: none;
}

.table tr td.border-top {
    border-top: 1px solid #000;
}

.label-clear {
    background-color: transparent;
    color: black;
    text-shadow: none;
}

.time-bank-usage-report-statement-container ul.nav {
    margin-bottom: 0;
}

.form-small,
.form-small .btn,
.form-small label {
    font-size: 13px;
}

.well.edit-shift-times {
    float: left;
    width: 100%;
    padding: 15px;
    padding-bottom: 0;
    box-sizing: border-box;
}

.well.edit-shift-times h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.well-availability-detail-shift-time-list li > * {
    margin-right: 10px;
}

.well-availability-detail-shift-time-list {
    clear: both;
    float: left;
    width: 100%;
}

.well-availability-detail-shift-time-list .editable-shift {
    background: white;
    border: 1px solid #e1e1e1;
    line-height: 20px;
    float: left;
    margin-right: 1%;
    margin-bottom: 15px;
    max-width: 23%;
}

.editable-shift .editable-shift-top {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 7px;
    height: 40px;
}

.editable-shift .editable-shift-bottom {
    box-sizing: border-box;
    display: none;
    width: 100%;
    float: left;
}

.editable-shift .editable-shift-bottom h5 {
    float: left;
    width: 100%;
    text-align: center;
    background: #f0f0f0;
    border-bottom: 1px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
    padding: 7px 0;
    margin-bottom: 7px;
    margin-top: 0;
    font-size: 12px;
    text-transform: uppercase;
}

.editable-shift .editable-shift-bottom .start-time-field,
.editable-shift .editable-shift-bottom .end-time-field {
    float: left;
    width: 100%;
    padding: 0 10px;
}

.editable-shift .editable-shift-bottom .start-time-field label,
.editable-shift .editable-shift-bottom .end-time-field label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.editable-shift .editable-shift-bottom .editable-shift-actions {
    float: left;
    width: 100%;
    padding: 5px 10px 10px;
}

.editable-shift .editable-shift-bottom .editable-shift-actions .btn {
    margin-right: 10px;
}

.table-time-bank-report-calendar td {
    padding-left: 0;
    padding-right: 0;
    vertical-align: middle;
    text-align: center;
}

.table-time-bank-report-calendar .header-row .day-cell:nth-child(2) {
  border-left: 0;
}

.table-time-bank-report-calendar tbody .header-row .day-cell {
  background: #f3f3f3;
  color: #858585;
  font-size: 8pt;
  font-weight: bold;
  line-height: 2;
  padding: 0;
  text-transform: uppercase;
}

.widget-table .table-selection {
    border-bottom: 1px solid #ccc;
}
.table-selection td {
    padding-left: 0;
    padding-right: 0;
    width: 32px;
}
.table-selection td:first-child {
    padding-left: 5px;
    padding-right: 5px;
}
.table-selection td:nth-child(n + 2) {
    text-align: center;
}

.table-selection td.disabled {
    background-color: #ddd;
    cursor: unset !important;
}

.table-selection td.day-off {
    background-color: #ccc;
}

.table-selection td.user-cell {
    background-color: #dff0d8;
}

.table-selection td.max-cell {
    background-color: #f2dede;
}

.table-selection td.has-admin-context.has-person-ids {
    background-color: #d9edf7;
}

.table-selection td.clickable {
    cursor: pointer;
}

#block-people-popover .arrow {
    top: 25px;
    left: -10px;
}

.table-time-bank-report-calendar td {
    padding-left: 0;
    padding-right: 0;
    vertical-align: middle;
    text-align: center;
}

.table-time-bank-report-calendar .header-row .day-cell:nth-child(2) {
  border-left: 0;
}

.table-time-bank-report-calendar tbody .header-row .day-cell {
  background: #f3f3f3;
  color: #858585;
  font-size: 8pt;
  font-weight: bold;
  line-height: 2;
  padding: 0;
  text-transform: uppercase;
}

.table-barcode-index .container-barcode-display {
    display: flex;
    justify-content: space-between;
}
.table-barcode-index .container-barcode-display .input-append {
    margin-bottom: 0;
}
.table-barcode-index .container-barcode-display .btn {
    display: inline-block;
}
.table-barcode-index .container-barcode-display .btn-barcode-generate {
    display: none;
}

.table-barcode-index td,
.table-barcode-index th {
    border-left: 1px solid #DDD;
}

.barcode-assigning .modal-body .modal-body-section {
  border-bottom: 1px solid #eee;
  padding: 10px;
}

.barcode-assigning .modal-body .modal-body-section:nth-child(odd) {
  background: #fdfdfd;
}

.barcode-assigning .modal-body .modal-body-section div.checkbox {
  padding-left: 0;
}

.barcode-assigning .modal-body .modal-body-section .form-field {
  display: block;
  width: 100%;
}

.barcode-assigning .modal-body .modal-body-section .form-field label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.barcode-assigning .modal-body .modal-body-section .field-full-width {
  display: block;
  width: 100%;
}

.barcode-assigning .modal-body .modal-body-section .field-full-width .form-field {
  float: left;
  width: 50%;
}

#barcode_return_asset .asset-item {
    border: 1px solid #ccc;
    margin: 5px 0;
}
#barcode_return_asset .asset-item .top > span {
    display: inline-block;
    width: 50%;
}
#barcode_return_asset .asset-item .right {
    text-align: right;
}
#barcode_return_asset .asset-item .bottom {
    background-color: #dff0d8;
    text-align: center;
}
