﻿/*#region Fonts */

@font-face {
    font-family: 'ClearSans';
    src: url('fonts/ClearSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'ClearSansThin';
    src: url('fonts/ClearSans-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'ClearSansBold';
    src: url('fonts/ClearSans-Bold.ttf') format('truetype');
}

/*#endregion */

/*#region To include into Graphics2013.css */

.userSelectNone {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.height-auto {
    height: auto !important;
}

.box-sizing-border {
    box-sizing: border-box;
}

.margin-bottom-sm {
    margin-bottom: 4px;
}

.no-margin-horizontal {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/*#endregion */

#th_wrapper {
    position: relative;
    font-family: 'ClearSans';
}
#th_wrapper.fixed {
    margin-bottom: 62px;
}

#th_mainContent {
    position: relative;
}

.th_scroll {
    scrollbar-base-color: #dfdad5;
    scrollbar-face-color: #b0aaa4;
    scrollbar-arrow-color: #b0aaa4;
    scrollbar-highlight-color: #dfdad5;
}
.th_scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #eceae6;
}
.th_scroll::-webkit-scrollbar-thumb {
    background-color: #dfdad5;
}

/*#region Common */

#th_wrapper .th-text-green {
    color: #74b056;
}

/*#endregion */

/*#region Header and scroll */

#th_header {
    position: relative;
    height: 62px;
}
#th_header.fixed {
    position: fixed !important;
    background: #FFF;
    z-index: 11; 
}

#th_topBar {
    height: 40px;
}

#th_leftBar {
    position: relative;
    float: left;
    width: 240px;
    height: inherit;
}

#th_rightBar {
    position: relative;
    float: left;
    width: calc(100% - 240px);
    height: inherit;
    overflow: hidden;
}

#th_filters {
    display: flex;
    width: 240px;
    float: left;
    height: 22px;
}
#th_filters > * {
    flex-grow: 1;
}

#th_header2Day {
    width: calc(100% - 240px);
    height: 22px;
    background-color: #cad2ff;
    position: relative;
    overflow: hidden;
}

.th_header2DayHour {
    width: 4.16666%;
    height: inherit;
    float: left;
}

.th_header2DayHour.th_even {
	background: linear-gradient(to bottom, #FFFFFF 80%, #414042 80%, #414042 100%);
}

.th_header2DayHour.th_odd {
	background: linear-gradient(to bottom, #FFFFFF 80%, #cccbc9 80%, #cccbc9 100%);
}

.th_header2DayHour.th_currentDay {
	background: linear-gradient(to bottom, #393536 80%, #4d99d9 80%, #4d99d9 100%);
	color: #FFFFFF;
}

#th_horizontalPanelSeparator {
    display: flex;
    width: 100%;
    min-height: 32px;
    background: #fcfdff;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    line-height: 32px;
    border-top: 2px solid;
	box-sizing: border-box;
    padding: 0px 10px;
}

/*#endregion */

/*#region Loading */

.th_loading {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    z-index: 99999;
}
.th_loading.fixed {
    position: fixed !important;
}

.th_loadingBlack {
    background: rgba(255, 255, 255, .4) url('img_therapy/loadingBlack.gif') 50% 50% no-repeat;
    background-size: 64px;
}

.th_loadingWhite {
    background: rgba(0, 0, 0, .4) url('img_therapy/loadingWhite.gif') 50% 50% no-repeat;
    background-size: 64px;
}

.th_loadingWatermark:before {
    content: '';
    background: url('img_therapy/loadingBlack.gif') 50% 50% no-repeat;
    background-size: 28px;
    position: absolute;
    right: 2px;
    top: calc(50% - 14px);
    width: 28px;
    height: 28px;
}

.th_loadingWatermark.th_btn20:before {
    background-size: 16px;
    top: calc(50% - 8px);
    width: 16px;
    height: 16px;
}

.th_loadingWatermark.th_btn40:before {
    background-size: 28px;
    top: calc(50% - 14px);
    width: 28px;
    height: 28px;
}

/*#endregion */

/*#region Therapies */

/*#region Days selector */

.th_daySelWrapper {
    position: relative;
    float: left;
    width: calc(25% - 2px);
    height: inherit;
    margin: 0 2px 0 0px;
}

.th_daySel {
    width: 100%;
    height: inherit;
    background-color: #eceae6;
    color: #626469;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}
.th_daySel:hover, .th_daySel.active:hover {
    background-color: #b4e39d;
    color:#27953c !important;
} 
.th_daySel.active {
    background-color: #74b056;
    color:#ffffff;
}

/*#endregion */

/*#region Filters */

/*#endregion */

/*#region Days */

.th_dayArrow {
    position: absolute;
    color: #FFF;
    z-index: 2;
    font-size: 23px;
    top: calc(50% - 13px);
}

.th_dayLeftArrow {
    left: 8px;
}

.th_dayRightArrow {
    right: 8px;
}

#th_dayContainer {
    position: absolute;
    height: 40px;
    width: 100%;
    white-space: nowrap;
    font-size: 0;
}

.th_dayWrapper {
    position: relative;
    display: inline-block;
    height: inherit;
    padding: 0px;
}

.th_dayWrapper.th_dayWrapper2Left {
	width: calc(66.66667% - 28px);
	transition: width 0.5s ease-in-out;
}

.th_dayWrapper.th_dayWrapper2Right {
	width: calc(33.33333% - 28px);
	transition: width 0.5s ease-in-out;
}

.th_dayWrapper.th_dayWrapper3 {
	width: 33.33333%;
}

.th_dayWrapper.th_dayWrapper7 {
	width: 14.28571%;
}

.th_day {
    width: 100%;
    height: inherit;
    background-color: #b4e39d;
    display: inline-block;
}

.th_currentDay .th_day {
    background-color: #74b056;
}

.th_dayContentWrapper {
    text-align: center;
    display: table;
    width: inherit;
    height: inherit;
    color: #FFFFFF;
    margin-top: 6px;
}

.th_dayDate {
    font-size: 24px;
    font-family: "ClearSansThin";
}

.th_dayMonth {
    font-size: 14px;
    margin-left: 4px;
}

/*#endregion */

/*#region Therapy */

#th_therapies {
    position: relative;
}
#th_therapies.expanded {
	height: calc(110px + 240px);
}

#th_therapies .th_noDataPlaceholder {
    font-size: 24px;
    text-align: center;
    padding: 30px 0 44px;
}

.th_therapyCategory {
    margin: 0 0 0 0;
    position: relative;
}

.th_therapyCategoryHeader {
    padding: 0 0 0 8px;
    font-size: 14px;
    color: #4d99d9;
    height: 22px;
    float: left;
    margin: 0 0 8px 0;
    width: 100%;
    box-sizing: border-box;
}
.th_therapyCategoryGroupHeader {
    padding: 0 0 0 8px;
    font-size: 16px;
    width: 100%;
    height: 22px;
    float: left;
    margin: 0 0 8px 0;
    font-weight: 600;
    box-sizing: border-box;
}
.th_therapyCategoryGroup[data-group-name="SUSPENDED"] .th_therapyCategoryGroupHeader {
    background: #BBBCBC;
    color: #FFF;
}
.th_therapyCategoryGroup[data-group-name="WHENNEEDED"] .th_therapyCategoryGroupHeader {
    background: #4d99d9;
    color: #FFF;
}

.th_therapy {
    padding: 0 0 3px 0px;
    position: relative;
    display: table;
    width: 100%;
    box-sizing: border-box;
}

.th_therapy.th_notSigned .th_drugName, .th_therapy.th_notSigned .th_roa, .th_therapy.th_notSigned .th_daysActive, .th_therapy.th_notSigned .th_deliveriesScroll {
    opacity: 0.6;
}

.th_therapy.active {
    background: #dbf9c7;
}

.th_plan {
    position: relative;
    width: 224px;
    vertical-align: top;
    float: left;
    min-height: 50px;
    border-right: 2px dotted #BBBCBC;
    box-sizing: border-box;
    margin: 0 8px;
}

.th_drugName {
    margin: 0 16px 2px 0;
    padding: 2px 4px 2px 4px;
    position: relative;
    font-size: 11px;
    border: 1px solid #cccccc;
    box-shadow: 0px 2px 1px rgba(30, 30, 30, 0.15);
}

.th_drugName div.th_scroll {
	max-height: 65px;
	overflow: auto;
	cursor: pointer;
}

.th_therapy.th_confirmed .th_drugName {
    padding-right: 12px;
    background-image: linear-gradient(to left, #4D9ADA, #4D9ADA 8px, #FFFFFF 8px, #FFFFFF 12px, transparent 12px);
}

.th_therapy.th_notConfirmed .th_drugName {
    padding-right: 12px;
    background-image: linear-gradient(to left, #d81920, #d81920 8px, #FFFFFF 8px, #FFFFFF 12px, transparent 12px);
}

.th_therapy.th_resumable .th_drugName {
    padding-right: 12px;
    background-image: linear-gradient(to left, #000, #000 8px, #FFFFFF 8px, #FFFFFF 12px, transparent 12px);
}

.th_therapy.th_validated .th_drugName:before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 4px;
    height: 100%;
    background: #27953C;
}

.th_therapy.th_notValidated .th_drugName:before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 4px;
    height: 100%;
    background: #D81920;
}

.th_plan .th_note, .th-legend-icon.th_note {
    color: #f6be0b;
}

.th_drugNameSwitcher {
    position: absolute;
    top: 5px;
    right: 3px;
    cursor: pointer;
}

.th-therapy-subpanel {
    min-height: 14px;
}

.th_therapy .th_checkbox {
    display: none;
    width: 12px;
    height: 12px;
    background-color: #A6A4A5;
    position: relative;
    cursor: pointer;
}

.th_therapy.th_selectable .th_checkbox {
    display: block;
}

.th_therapy.th_selected .th_checkbox:after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    background: #000000;
    width: 6px;
    height: 6px;
}

.th_roa {
    padding: 0 4px 0 4px;
    border-left: 1px solid #d2d1d1;
    border-bottom: 1px solid #d2d1d1;
    border-right: 1px solid #d2d1d1;
    font-size: 10px;
    background: #FFF;
}

.th_daysActive {
    padding: 0 4px 0 4px;
    border-bottom: 1px solid #d2d1d1;
    border-right: 1px solid #d2d1d1;
    font-size: 10px;
    background: #FFF;
}

.th_deleteTherapyBtn {
    color: #D91920;
    cursor: pointer;
}
.th_therapy .th_unavailable, #th_legend .th_unavailable {
    background-image: url('img_therapy/outsideDruglist.png');
    background-size: 100% 100%;
    width: 10px;
    height: 10px;
    position: relative;
    display: inline-block;
    top: 1px;
}
.th_interactionsBtn {
	color: #ed2844;
	padding: 1px 2px;
}

.th_deliveriesWrapper {
    overflow-y: visible;
}

.th_deliveriesInner {
    overflow-x: hidden;
    width: calc(100% - 240px);
}

.th_deliveries {
    border-top: 1px dotted #d2d1d1;
    position: relative;
    width: 100%;
    vertical-align: top;
    float: left;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
}

.th_deliveriesScroll {
    position: relative;
}

.th_deliveryDay {
    vertical-align: top;
    position: relative;
    display: inline-block;
    font-size: 10px;
}

.th_deliveryDay2Left {
    width: calc(66.66667%);
    height: 50px;
    transition: width 0.5s ease-in-out;
}

.th_deliveryDay2Right {
    width: calc(33.33333%);
    height: 50px;
    transition: width 0.5s ease-in-out;
}

.th_deliveryDay3 {
    width: 33.33333%;
}

.th_deliveryDay7 {
    width: 14.28571%;
}

.th_deliveryDay7Metro {
    width: 14.28571%;
    height: 50px;
}

.th_deliveryDay7Turns {
    height: 8px;
    width: 100%;
    margin: 2px 0 0 0;
}

.th_deliveryDay7Metro + .th_deliveryDay7Metro:before {
    position: absolute;
    height: 20px;
    width: 4px;
    background-color: #231f20;
    display: block;
    margin-top: -6px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    content: '';
}

/*#endregion */

/*#region Deliveries */

.th_delivery, .th_notSigned .th_end {
    cursor: pointer;
}

.th_delivery.th_whenNeeded.th_planned, .th_delivery.th_whenNeededPlaceholder.th_planned, .th_delivery7 {
	cursor: default;
}

.th_delivery.th_notSigned, .th_delivery7MetroLine.th_notSigned, .th_end.th_notSigned, .th_infusiveLine.th_notSigned, .th_event.th_notSigned {
	opacity: 0.6;
}

.th_therapy.th_notSigned .th_delivery, .th_therapy.th_notSigned .th_delivery7MetroLine, .th_therapy.th_notSigned .th_event, .th_delivery.th_notSigned .th_event, .th_infusiveLine.th_notSigned .th_event {
	opacity: initial;
}

.th_delivery .th_icon { font-size: 8px; }
.th_delivery .th-icon-wrapper {
    position: absolute;
    bottom: 0px;
    right: 1px;
    font-size: 11px;
}

.th_tag {
    width: 20px;
    height: 20px;
    background: #393536;
    color: #FFFFFF;
    text-align: center;
    border-radius: 50%;
    box-sizing: border-box;
    padding: 2px;
    float: left;
}

.th_event {
    text-align: center;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}
.th_event .th_deletedIcon {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 12px;
}

.th_event.th_deleted {
	font-family: 'ClearSansBold';
	background: transparent;
	color: #000;
}

.th_event.th_planned {
	background: #8e9194;
	color: #FFF;
}

.th_event.th_confirmed {
	background: #27953c;
	color: #FFF;
}

.th_event.th_notAdjusted {
	background-color: #FFFFFF;
	color: #d81920;
	border: 2px solid #d81920;
}

.th_event.th_toAdjust {
	background: #f6be0b;
	color: #FFF;
}

.th_event.th_placeholderEvent.th_confirmed {
	cursor: default;
	background: #4D9ADA;
}

.th_event.th_placeholderEvent.th_notConfirmed {
	background: #d81920;
}

.th_event.th_infusiveComputedEnd {
	background: #F6BE0B;
}

.th_eventAggregator {
    background: #27953c;
}

.th_eventAggregator.th_toAdjust {
	background: #f6be0b;
}

.th_eventAggregator.th_missed {
	background-color: #d81920;
}

.th_aggregatedEvent .th_toAdjust {
    color: #f6be0b;
}

.th_aggregatedEvent .th_missed {
    color: #d81920;
}

/*#region 2 Days */

.th_delivery2 {
    box-sizing: border-box;
    position: absolute;
    vertical-align: top;
    margin: 0 0 10px 0;
    height: 40px;
    z-index: 2;
}

.th_deliveryDay2Left .th_delivery2 {
    width: 6.25%;
}

.th_deliveryDay2Right .th_delivery2 {
    width: 12.5%;
}

.th_delivery2.th_delivered, .th_delivery2.th_managed {
    background-color: #27953c;
    color: #FFFFFF;
}

.th_delivery2.th_managed {
    border: 3px solid #d81920;
}

.th_delivery2.th_planned {
    background-color: #8e9194;
    color: #FFFFFF;
}

.th_delivery2.th_toDeliver {
    background-color: #f6be0b;
    color: #FFFFFF;
}

.th_delivery2.th_notConfirmed {
    background-color: #FFFFFF;
    color: #231f20;
    border: 1px solid #231f20;
}

.th_delivery2.th_line.th_notConfirmed {
    border-right: none;
}

.th_delivery2.th_notDelivered {
    background-color: #FFFFFF;
    color: #d81920;
    border: 3px solid #d81920;
}

.th_delivery2.th_urgent {
    background-color: #ed2844;
    color: #FFFFFF;
}

.th_delivery2.th_stopped {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAFklEQVQIW2NkYGD4D8SMQAwhYACFAwAjcQEE0gngKAAAAABJRU5ErkJggg==);
    color: #000000;
}

.th_delivery2.th_line:after {
    position: absolute;
    top: 0;
    right: -14px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    content: '';
    z-index: 2;
}

.th_delivery2.th_line.th_delivered:after {
    border-left: 14px solid #27953c;
}

.th_delivery2.th_line.th_planned:after {
    border-left: 14px solid #8e9194;
}

.th_delivery2.th_line.th_toDeliver:after {
    border-left: 14px solid #f6be0b;
}

.th_delivery2.th_line.th_notConfirmed:after {
    border-left: 14px solid #000000;
}

.th_delivery2.th_late {
    background-image: linear-gradient(to left, #D81920 8px, transparent 8px, transparent);
}
.th_delivery2.th_linePlaceholder.th_late, .th_deliveryInner.th_linePlaceholder.th_late {
	background: #D81920;
}
.th_delivery2.th_linePlaceholder.th_inactive, .th_deliveryInner.th_linePlaceholder.th_inactive {
    background: #8e9194;
}
.th_delivery2.th_linePlaceholder.th_stopped, .th_deliveryInner.th_linePlaceholder.th_stopped {
    background: #27953c;
}

.th_delivery2.th_line.th_late:after {
    border: none;
}

.th_delivery2.th_linePlaceholder {
    cursor: pointer;
    color: #FFF;
}

    .th_delivery2.th_linePlaceholder.th_active {
        background: #4D9ADA;
    }

    .th_delivery2.th_linePlaceholder.th_inactive {
        background: #8e9194;
    }

.th_linePlaceholder .th_lineArrow {
    font-size: 24px;
    margin-left: 0px;
    margin-top: 5px;
}

.th_delivery2.th_drip {
    background-image: linear-gradient(to right, #4B0082 8px, transparent 8px);
}

.th_delivery2.th_noDrip {
    background-image: linear-gradient(to right, #FF9900 8px, transparent 8px);
}

    .th_delivery2.th_drip .th_deliveryLabel, .th_delivery2.th_noDrip .th_deliveryLabel {
        display: none;
    }

.th_delivery2.th_lastInfo {
    cursor: pointer;
    background: #4D9ADA;
    color: #FFF;
}

.th_delivery2.th_whenNeededPlaceholder {
    background-color: #4d99d9;
    color: #FFFFFF;
}

    .th_delivery2.th_whenNeededPlaceholder.th_planned {
        border: 1px solid #231f20;
        background-color: #FFFFFF;
        color: #231f20;
    }
.th_delivery2.th_whenNeededPlaceholder .th_deliveryLabel {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.th_delivery2.th_whenNeededPlaceholder .th_deliveryLabel .th_deliveryDose {
	white-space: nowrap;
}


.th_delivery2.th_whenNeeded {
    background-color: #27953c;
    color: #FFFFFF;
	height: 22px;
	bottom: 0;
}

.th_delivery2.th_modified:not(.th_delivered) .th_mainDeliveryTimestamp, .th_delivery2.th_modified:not(.th_delivered) .th_secondaryDeliveryTimestamp, .th_delivery2.th_modified:not(.th_delivered) .th_deliveryDose {
    margin-left: 8px;
}

.th_delivery2:not(.th_delivered) .th_modified:not(.th_deliveryInner) {
    position: absolute;
    width: 8px;
    height: 100%;
    background-color: #932126;
}

.th_delivery2.th_end {
    box-sizing: content-box;
    border: 3px solid #000000;
    background: #FFFFFF;
    background-image: linear-gradient(to right bottom, transparent, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%), linear-gradient(to left bottom, transparent 0%, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%);
}

.th_deliveryDay .th_delivery2.th_end {
    width: 32px;
    height: 32px;
}

.th_deliveryDay .th_delivery2.th_endIE9 {
    background-image: url('img_therapy/crossBlack.png');
    background-size: 100% 100%;
}

.th_delivery2.th_dom:before {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 8px;
    background: #231f20;
    content: '';
}
.th_delivery2.th_notDelivered.th_dom:before, .th_delivery2.th_managed.th_dom:before {
    top: 37px;
    left: -3px;
    width: calc(100% + 6px);
}
.th_delivery2.th_notConfirmed.th_dom:before {
    top: 39px;
    left: -1px;
    width: calc(100% + 2px);
}

.th_delivery2.th_multiple {
    background-color: transparent;
    border: none;
}

.th_infusive2 {
    position: absolute;
    margin-top: 18px;
    height: 4px;
}

    .th_infusive2.th_planned {
        background-color: #8e9194;
    }

    .th_infusive2.th_delivered {
        background: #27953c;
    }

.th_event2 {
    position: absolute;
    margin-top: 12px;
    z-index: 3;
    line-height: 11px;
}

    .th_event2.th_eventAggregator {
        margin-left: 4px;
    }

    .th_event2.th_infusiveComputedEnd {
        margin-left: 24px;
    }

    .th_event2.th_placeholderEvent {
        margin-left: 4px;
        z-index: 10;
    }

    .th_event2.th_eventBot {
        margin-top: 20px;
        border: 1px solid #FFF;
    }

    .th_event2.th_eventTop {
        margin-top: 2px;
        border: 1px solid #FFF;
    }

/*#region Inner */

.th_deliveryInner {
    float: left;
    margin: 0 2px 0 2px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    color: #231f20;
}
.th_deliveryInner.th_delivered, .th_deliveryInner.th_managed {
    background-color: #27953c;
}
.th_deliveryInner.th_managed {
    border: 3px solid #d81920;
}

.th_deliveryInner.th_planned {
    background-color: #8e9194;
}

.th_deliveryInner.th_toDeliver {
    background-color: #f6be0b;
}

.th_deliveryInner.th_notConfirmed {
    background-color: #FFFFFF;
    border: 1px solid #231f20;
}

.th_deliveryInner.th_notDelivered {
    background-color: #FFFFFF;
    border: 3px solid #d81920;
}

.th_deliveryInner.th_urgent {
    background-color: #ed2844;
}

.th_deliveryInner.th_stopped {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAFklEQVQIW2NkYGD4D8SMQAwhYACFAwAjcQEE0gngKAAAAABJRU5ErkJggg==);
}

.th_deliveryInner.th_whenNeeded {
    background-color: #27953c;
    color: #FFFFFF;
}

.th_deliveryInner.th_drip {
    background: #4B0082;
}

.th_deliveryInner.th_noDrip {
    background: #FF9900;
}

.th_deliveryInner.th_lastInfo {
    cursor: pointer;
    background: #4D9ADA;
}

.th_deliveryInner.th_dom:before {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 8px;
    background: #231f20;
    content: '';
}

.th_deliveryInner:not(.th_delivered) .th_modified {
    position: absolute;
    width: 8px;
    height: 100%;
    background-color: #932126;
}

.th_deliveryInner.th_end {
    border: 3px solid #231f20;
    background-image: linear-gradient(to right bottom, transparent, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%, transparent 100%), linear-gradient(to left bottom, transparent 0%, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%, transparent 100%);
}

.th_deliveryInner.th_endIE9 {
    background-image: url('img_therapy/crossBlack.png');
    background-size: 100% 100%;
}


/*#endregion */

/*#endregion */

/*#region 3 Days */

.th_delivery3 {
    position: relative;
    box-sizing: border-box;
    vertical-align: top;
    width: 60px;
    height: 40px;
    margin: 0 4px 10px 0;
    float: left;
    z-index: 2;
}

    .th_delivery3.th_delivered, .th_delivery3.th_managed {
        background-color: #27953c;
        color: #FFFFFF;
    }

    .th_delivery3.th_managed {
        border: 3px solid #d81920;
    }

    .th_delivery3.th_planned {
        background-color: #8e9194;
        color: #FFFFFF;
    }

    .th_delivery3.th_toDeliver {
        background-color: #f6be0b;
        color: #FFFFFF;
    }

    .th_delivery3.th_notConfirmed {
        background-color: #FFFFFF;
        color: #231f20;
        border: 1px solid #231f20;
    }

    .th_delivery3.th_notDelivered {
        background-color: #FFFFFF;
        color: #d81920;
        border: 3px solid #d81920;
    }

    .th_delivery3.th_urgent {
        background-color: #ed2844;
        color: #FFFFFF;
    }

    .th_delivery3.th_stopped {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAFklEQVQIW2NkYGD4D8SMQAwhYACFAwAjcQEE0gngKAAAAABJRU5ErkJggg==);
        color: #000000;
    }

    .th_delivery3.th_linePlaceholder {
        width: 40px;
        cursor: pointer;
        color: #FFF;
    }

.th_delivery3.th_linePlaceholder.th_active {
    background: #4D9ADA;
}
.th_delivery3.th_linePlaceholder.th_inactive {
    background: #8e9194;
}
.th_delivery3.th_linePlaceholder.th_stopped {
    background: #27953c;
}
.th_delivery3.th_linePlaceholder.th_late {
    background: #d81920;
}

.th_linePlaceholder .th_lineArrow {
    font-size: 24px;
    margin-left: 0px;
    margin-top: 5px;
}

.th_delivery3.th_drip {
    width: 8px;
    background: #4B0082;
}

.th_delivery3.th_noDrip {
    width: 8px;
    background: #FF9900;
}

    .th_delivery3.th_drip .th_deliveryLabel, .th_delivery3.th_noDrip .th_deliveryLabel {
        display: none;
    }

.th_delivery3.th_lastInfo {
    width: 40px;
    cursor: pointer;
    background: #4D9ADA;
    color: #FFF;
}

.th_delivery3.th_line .th_lineEl:before {
    position: absolute;
    left: -4px;
    width: 4px;
    height: 8px;
    vertical-align: top;
    content: '';
}

.th_delivery3:first-of-type.th_line .th_lineEl:before {
    display: none;
}

.th_delivery3.th_line.th_delivered .th_lineEl:before {
    background-color: #27953c;
}

.th_delivery3.th_line.th_planned .th_lineEl:before {
    background-color: #8e9194;
}

.th_delivery3.th_line.th_toDeliver .th_lineEl:before {
    background-color: #f6be0b;
}

.th_delivery3.th_line.th_stopped + .th_delivery3.th_line .th_lineEl:before {
    background-color: transparent;
}

.th_delivery3.th_whenNeeded {
    width: 120px;
    background-color: #4d99d9;
    color: #FFFFFF;
    margin-right: 0;
}

    .th_delivery3.th_whenNeeded.th_planned {
        background: linear-gradient(145deg, #4d99d9 0%, #4d99d9 65%, transparent 65%);
        color: #FFF;
        cursor: pointer;
    }

.th_delivery3.th_modified:not(.th_delivered) .th_mainDeliveryTimestamp, .th_delivery3.th_modified:not(.th_delivered) .th_secondaryDeliveryTimestamp, .th_delivery3.th_modified:not(.th_delivered) .th_deliveryDose {
    margin-left: 8px;
}

.th_delivery3:not(.th_delivered) .th_modified {
    position: absolute;
    width: 8px;
    height: 100%;
    background-color: #932126;
}

.th_delivery3.th_end {
    box-sizing: content-box;
    width: 32px;
    height: 32px;
    border: 3px solid #000000;
    background: #FFFFFF;
    background-image: linear-gradient(to right bottom, transparent, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%), linear-gradient(to left bottom, transparent 0%, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%);
}

.th_delivery3.th_endIE9 {
    background-image: url('img_therapy/crossBlack.png');
    background-size: 100% 100%;
}

.th_delivery3.th_dom:before {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 8px;
    background: #231f20;
    content: '';
}
.th_delivery3.th_notDelivered.th_dom:before, .th_delivery3.th_managed.th_dom:before {
    top: 37px;
    left: -3px;
    width: calc(100% + 6px);
}
.th_delivery3.th_notConfirmed.th_dom:before {
    top: 39px;
    left: -1px;
    width: calc(100% + 2px);
}

.th_deliveryLabel {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.th_deliverBar {
    position: relative;
    float: left;
    width: 8px;
    height: 40px;
    background-color: #27953c;
}
.th_deliverBar.th-previous-day {
    margin: 0 8px 0 0;
}
.th_deliverBar:not(.th-previous-day) {
    margin: 0 0 0 8px;
}
.th_deliverBar.th_dripChange { background-color: transparent; }

.th_mainDeliveryTimestamp {
    font-size: 14px;
    font-family: "ClearSansBold";
    margin-left: 3px;
    line-height: 14px;
}

.th_secondaryDeliveryTimestamp {
    margin-left: 3px;
    line-height: 10px;
}

.th_deliveryDose {
    margin-left: 3px;
    white-space: normal;
}

.th_infusive3 {
    float: left;
    padding-top: 12px;
    margin-left: -4px;
}

    .th_infusive3.th_planned {
        background: linear-gradient(to bottom, #8e9194 0, #8e9194 6px, transparent 6px);
    }

    .th_infusive3.th_delivered {
        background: linear-gradient(to bottom, #27953c 0, #27953c 6px, transparent 6px);
    }

.th_event3 {
    margin-left: 2px;
    margin-right: 2px;
    float: left;
    line-height: 10px;
}

    .th_event3.th_placeholderEvent {
        margin-right: 6px;
    }

/*#endregion */

/*#region 7 days metro */

.th_delivery7Metro {
    position: absolute;
    top: 6px;
    z-index: 2;
}

.th_delivery7MetroLabel {
    -webkit-transform-origin: right;
    -webkit-transform: rotate(-45deg);
    -moz-transform-origin: right;
    -moz-transform: rotate(-45deg);
    transform-origin: right;
    transform: rotate(-45deg);
    margin-top: 1px;
}

.th_delivery7MetroSymbol {
    vertical-align: middle;
    display: inline-block;
    margin: 0 0 0 4px;
}

.th_delivery7Metro.th_delivered .th_delivery7MetroSymbol, .th_delivery7Metro.th_managed .th_delivery7MetroSymbol {
    background-color: #27953c;
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_managed .th_delivery7MetroSymbol {
    border: 1px solid #d81920;
}

.th_delivery7Metro.th_planned .th_delivery7MetroSymbol {
    background-color: #8e9194;
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_toDeliver .th_delivery7MetroSymbol {
    background-color: #f6be0b;
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_notConfirmed .th_delivery7MetroSymbol {
    border: 1px solid #000000;
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_notDelivered .th_delivery7MetroSymbol {
    border: 3px solid #d81920;
    width: 4px;
    height: 4px;
}

.th_delivery7Metro.th_urgent .th_delivery7MetroSymbol {
    background-color: #ed2844;
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_late .th_delivery7MetroSymbol {
    background-image: linear-gradient(to left, #D81920 4px, transparent 4px, transparent);
}

.th_delivery7Metro.th_end {
    top: 10px;
}

    .th_delivery7Metro.th_end .th_delivery7MetroSymbol {
        width: 8px;
        height: 8px;
        border: 1px solid #000000;
        background: #FFFFFF;
        background-image: linear-gradient(to right bottom, transparent, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%), linear-gradient(to left bottom, transparent 0%, transparent 47%, #000000 48%, #000000 52%, transparent 53%, transparent 100%);
    }

.th_delivery7Metro.th_endIE9 .th_delivery7MetroSymbol {
    background-image: url('img_therapy/crossBlack.png');
    background-size: 100% 100%;
}

.th_delivery7Metro.th_line .th_delivery7MetroSymbol {
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_line.th_delivered .th_delivery7MetroSymbol {
    background-color: #27953c;
}

.th_delivery7Metro.th_line.th_planned .th_delivery7MetroSymbol {
    background-color: #8e9194;
}

.th_delivery7Metro.th_line.th_toDeliver .th_delivery7MetroSymbol {
    background-color: #f6be0b;
}

.th_delivery7Metro.th_line.th_notConfirmed .th_delivery7MetroSymbol {
    background-color: #FFFFFF;
    border-left: 1px solid #000000;
    border-top: 1px solid #000000;
    border-bottom: none;
    border-right: none;
    box-sizing: border-box;
}

.th_delivery7Metro.th_line.th_stopped {
    color: transparent;
}

.th_delivery7Metro.th_drip, .th_delivery7Metro.th_noDrip {
    top: 12px;
}

    .th_delivery7Metro.th_drip .th_delivery7MetroLabel, .th_delivery7Metro.th_noDrip .th_delivery7MetroLabel {
        -webkit-transform: none;
        -moz-transform: none;
        transform: none;
    }

        .th_delivery7Metro.th_drip .th_delivery7MetroLabel span, .th_delivery7Metro.th_noDrip .th_delivery7MetroLabel span {
            display: none;
        }

    .th_delivery7Metro.th_drip .th_delivery7MetroSymbol {
        width: 4px;
        height: 11px;
        background: #4B0082;
    }

    .th_delivery7Metro.th_noDrip .th_delivery7MetroSymbol {
        width: 4px;
        height: 11px;
        background: #FF9900;
    }

.th_delivery7Metro.th_lastInfo .th_delivery7MetroSymbol {
    cursor: pointer;
    background: #4D9ADA;
}

.th_delivery7MetroLine {
    position: absolute;
    top: 12px;
    height: 11px;
}

    .th_delivery7MetroLine.th_notConfirmed {
        background: #FFFFFF !important;
        border: 1px solid #000000;
        border-left: none;
        box-sizing: border-box;
    }

    .th_delivery7MetroLine.th_stopped {
        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAFklEQVQIW2NkYGD4D8SMQAwhYACFAwAjcQEE0gngKAAAAABJRU5ErkJggg==) !important;
    }

.th_delivery7Metro.th_whenNeededPlaceholder {
    background-color: #4d99d9;
    color: #FFFFFF;
    top: 10px;
}

.th_delivery7Metro.th_whenNeededPlaceholder .th_deliveryLabel {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.th_delivery7Metro.th_whenNeededPlaceholder .th_deliveryLabel .th_deliveryDose { white-space: nowrap; }
    .th_delivery7Metro.th_whenNeededPlaceholder.th_planned {
        border: 1px solid #231f20;
        background-color: #FFFFFF;
        color: #231f20;
        top: 9px;
    }

.th_delivery7Metro.th_whenNeeded .th_delivery7MetroSymbol {
    background-color: #27953c;
    width: 8px;
    height: 8px;
}

.th_delivery7Metro.th_modified .th_delivery7MetroSymbol {
    box-shadow: inset 0 0 3px #FFF;
    border: 1px solid #d81920;
}

.th_delivery7Metro.th_note .th_delivery7MetroSymbol:before {
    position: absolute;
    right: 0;
    top: 13px;
    width: 8px;
    height: 4px;
    background: #f6be0b;
    content: '';
}

.th_delivery7Metro.th_dom .th_delivery7MetroSymbol:before {
    position: absolute;
    right: 0;
    top: 13px;
    width: 8px;
    height: 4px;
    background: #231f20;
    content: '';
}

.th_delivery7Metro.th_note.th_dom .th_delivery7MetroSymbol:before {
    position: absolute;
    right: 0;
    top: 13px;
    width: 8px;
    height: 4px;
    background: linear-gradient(to right, #f6be0b 50%, #231f20 50%, #231f20 100%);
    content: '';
}

.th_event7 {
    position: absolute;
    width: 11px;
    height: 11px;
    margin-top: 2px;
    padding-top: 0;
    font-size: 8px;
    line-height: 9px;
    z-index: 3;
}

/*#endregion */

/*#endregion */

/* #endregion */

/*#region Footer */

#th_fullFooter {
    position: relative;
    background: #FFF;
}
#th_fullFooter.fixed {
    position: fixed !important;
    z-index: 10;
}
#th_footer {
    position: relative;
    height: 240px;
}

/*#region ActionPanel */

#th_actionPanel {
    background-color: #eceae6;
    width: calc(100% - 226px - 18px);
    height: inherit;
    float: left;
}

    #th_actionPanel.expanded {
        width: calc(100% - 18px);
    }

    #th_actionPanel.collapsed {
        width: 80px !important;
        overflow: hidden;
    }

.th_administrationVitals {
    float: left;
    width: 400px;
    background: #2E2C2D;
    overflow: auto;
}

#th_hotkeysPanel {
    max-height: 50%;
    overflow-y: auto;
}

/*#region Placeholders */

.th_unfilledPlaceholder {
    color: #D81920;
}

.th_filledPlaceholder {
    color: #4D9ADA;
}

/*#endregion */

/*#region Breadcrumbs */

#th_breadcrumbContainer {
    cursor: default;
    -ms-flex: 1 1 auto;
    flex-grow: 1;
}

.th_breadcrumb {
    font-weight: bold;
    cursor: pointer;
}

    .th_breadcrumb:hover {
        text-decoration: underline;
    }

    .th_breadcrumb:last-of-type {
        cursor: default;
    }

        .th_breadcrumb:last-of-type:hover {
            text-decoration: none;
        }

/*#endregion */

/*#region Notification */

@keyframes sos-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

#th_notificationWrapper {
    display: flex;
    -ms-flex: 0 0 auto;
}

.th_notification {
    padding-right: 8px;
    padding-left: 8px;
    margin-left: 4px;
    float: right;
    cursor: default;
}

    .th_notification.th_error {
        background-color: #d81920;
        color: #FFF;
    }

    .th_notification.th_warning {
        animation: sos-animation 1s linear 0s 8;
        background: #f6be0b;
        color: #000;
    }

.th_notificationBtn {
    cursor: pointer;
}

.th_warning .th_notificationBtn {
    background: #211D1D;
    color: #FFF;
    padding: 4px;
}

    .th_warning .th_notificationBtn:hover {
        background: #BBBCBC;
        color: #000;
    }

/*#endregion */

/*#region Legend panel */

.th-legend-toggle {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    color: #74b056;
}
.th-legend-toggle.active, .th-legend-toggle:hover {
    background: #74b056;
    color: #FFFFFF;
}

.th-legend-panel {
    position: absolute;
    right: 42px;
    width: 500px;
    background: #FFF;
    z-index: 2;
    border: 2px solid #000;
    padding: 0 0 4px 4px;
}

.th-legend-panel #th_legend {
    height: 200px;
}

/*#endregion */

/*#region Layer */

.th_layer {
    width: 100%;
    height: 100%;
    float: left;
}

.th_layerNav {
    float: left;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    box-sizing: border-box;
}

.th_layerContainer {
    float: left;
    height: 100%;
    font-size: 16px;
}

.th_layerCmd {
    float: left;
    width: 140px;
    height: 100%;
    background: #c9c3be;
    overflow-y: auto;
}

.th_layer.collapsed > .th_layerNav .th_btnDescription, #th_actionPanel.collapsed > .th_layer > .th_layerNav .th_btnDescription {
    width: 16px;
    font-size: 0;
}

.th_layer.collapsed > .th_layerContainer > .th_content {
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
}

.th_layer.collapsed > .th_layerCmd {
    width: 0;
    height: 0;
    overflow: hidden;
}

.th_content {
    height: 100%;
    overflow-y: auto;
}

.th_textWall {
    padding: 8px;
    color: #626469;
    box-sizing: border-box;
}

.th_staticWarningArea, .th_staticWarningArea[disabled] {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    float: left;
    resize: none;
    border: none;
    background: #D91920;
    color: #FFF;
    margin: 8px;
    padding: 8px;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
    font-size: 40px;
}

.th_noteWrapper {
    display: flex;
    display: -ms-flexbox;
    height: 100%;
    font-size: 18px;
}

    .th_noteWrapper > * {
        flex-grow: 1;
        -ms-flex: 1;
    }

.th_staticNoteArea, .th_staticNoteArea[disabled] {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    float: left;
    resize: none;
    border: none;
    background: #fff876;
    color: #000000;
    margin: 8px;
    padding: 8px;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
    flex-grow: 1;
    -ms-flex: 1;
}

.th_simpleNoteArea, .th_simpleNoteArea[disabled] {
    background: #F7BF0B;
    color: #000000;
    margin: 8px;
    padding: 8px;
}

.th_simpleInfoArea {
    color: #626469;
    margin: 2px;
    padding: 8px;
}

.th_profile {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 4px;
}

.th_title {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    color: #626469;
    font-weight: 600;
}

.th_body {
    padding: 4px;
    box-sizing: border-box;
    color: #626469;
}
.th_indentedList {
    margin-left: 1.5em;
}

/*#region Profiles*/

#th_profilesHeader {
    height: 40px;
    width: 100%;
    background: #eceae6;
    color: #222222;
    border-bottom: 1px solid #c9c3be;
    box-sizing: border-box;
}

#th_profilesBtns {
    float: left;
    width: 40px;
    height: 100%;
    padding: 13px;
    font-size: 14px;
    box-sizing: border-box;
    border-right: 1px solid #c9c3be;
}

#th_profilesTabs {
    overflow-x: auto;
    float: left;
    width: calc(100% - 40px);
    height: 40px;
    white-space: nowrap;
}

.th_profileTab {
    display: inline-block;
    color: #74b056;
    padding: 2px 4px 0 4px;
    cursor: pointer;
    height: 100%;
    box-sizing: border-box;
}
.th_profileTab:hover {
    background: #b4e39d;
    color: #74b056;
}
.th_profileTab.active {
    background: #74b056;
    color: #FFF;
}
.th_profileTab + .th_profileTab {
    margin-left: 8px;
}
#th_profilesContent {
    height: calc(100% - 40px);
    overflow-y: auto;
    padding: 4px;
    box-sizing: border-box;
    color: #222222;
}

/*#endregion*/

/*#endregion */

/*#region InputPanel */

.th_inputPanel {
    /*! background: #dfdad5; */
    padding: 0 0 8px 0;
}

.th_sideInputPanel {
    float: left;
    height: 100%;
    width: 50%;
    box-sizing: border-box;
}

.th_inputPanel.th_validated {
    background: #dfdad5;
}

.th_input {
    box-sizing: border-box;
    border: none;
    padding: 0 4px;
    font-size: 12px;
}
.th_input::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

    .th_input.th_btn40.th_topAligned {
        padding: 0 0 20px 4px;
    }

    .th_input[disabled] {
        color: #626469 !important;
        background: #b6b7b7 !important;
    }

        .th_input[disabled]::-webkit-input-placeholder {
            color: #000000 !important;
        }

        .th_input[disabled]::-moz-placeholder {
            color: #000000 !important;
        }

        .th_input[disabled]:-ms-input-placeholder {
            color: #000000 !important;
        }

.th_subPanel {
    float: left;
    width: 100%;
    height: 100%;
}

.th_subInputContainer {
    float: left;
    width: calc(100% - 48px);
    max-height: 48px;
    overflow: auto;
}

.th_subInputPanel {
    float: left;
    width: 100%;
    height: 48px;
}

.th_inputField[data-required]:before {
    content: '';
    width: 100%;
    height: 4px;
    position: absolute;
    background: #d81920;
    top: 0;
    left: 0;
    z-index: 1;
}

.th_input[data-required] {
    background: linear-gradient(to bottom, #FF0000 4px, #FFFFFF 4px);
}

.th_filledIn:before {
    content: '';
    width: 100%;
    height: 4px;
    position: absolute;
    background: #27953c !important;
    top: 0;
    left: 0;
    z-index: 2;
}

.th_input.th_filledIn {
    background: linear-gradient(to bottom, #27953c 4px, #FFFFFF 4px);
}

.th_focused {
    box-shadow: 0 0 5px #FFFFFF;
}

.th_inputSeparator {
    float: left;
    height: 40px;
    font-size: 26px;
    margin: 8px 0 0 0;
}

/*#endregion */

/*#region Btn */

/*#region Basic */

.th_btn {
    display: table;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

    .th_btn.disabled {
        cursor: default;
    }

.th_floatBtn {
    float: left;
    margin: 8px 0 0 8px;
}

.th_btn.th_floatBtn.th_rightSide {
    margin-left: -8px;
}

.th_btnTitle {
    height: 100%;
    text-align: center;
    display: table;
    float: left;
    position: relative;
    box-sizing: border-box;
}

.th_btnDescription {
    width: 100%;
    height: 100%;
    display: table;
    padding: 0 8px;
    float: left;
    box-sizing: border-box;
    position: relative;
}

.th_btnContent {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
}
.th_btn20 .th_btnContent {
    font-size: 14px;
}

.th_btn.th_topAligned .th_btnContent {
    vertical-align: top;
}

.th_btnWatermarkWrapper {
    position: relative;
    float: left;
    margin: 8px 0 0 0;
    height: 40px;
    text-align: right;
}

.th_btnWatermark {
    position: absolute;
    right: 2px;
    bottom: 0;
    color: #3C3A3D;
    font-size: 8pt;
}

.th_btn[disabled] .th_btnTitle, .th_btn[disabled]:hover .th_btnTitle, .th_btn[disabled] .th_btnDescription, .th_btn[disabled]:hover .th_btnDescription {
    background: #b6b6b7 !important;
    color: #626469 !important;
    cursor: default !important;
}

.th_textBtn:not([disabled]) {
    cursor: pointer;
}

    .th_textBtn:not([disabled]):hover {
        color: #4D9ADA;
    }

.th_iconBtn {
    cursor: pointer;
    transition: transform ease-in-out 0.6s;
}

    .th_iconBtn:hover {
        color: #74b056;
        transform: rotate(360deg);
    }

    .th_iconBtn[disabled] {
        cursor: default !important;
    }

.th_textBtn:not([disabled]) {
    cursor: pointer;
}

    .th_textBtn:not([disabled]):hover {
        color: #4D9ADA;
    }

/*#endregion */

/*#region Label */

.th_labelBtn {
    margin-right: -8px;
    background: #969696 !important;
}

/*#endregion */

/*#region Size */

.th_btn20 {
    height: 20px;
}

.th_btn40 {
    height: 40px;
}

.th_btn60 {
    height: 60px;
}

/*#endregion */

/*#region Approved */

.th_btn.th_approved .th_btnDescription {
    background: #27953c !important;
    color: #FFFFFF !important;
}

/*#endregion */

/*#region SaveBtn */

.th_saveBtn {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
}

/*#endregion*/

/*#region FreeText */

.th_freeText.th_btn40 {
    padding-top: 8px;
    box-sizing: border-box;
}

/*#endregion */

/*#region PlusBtn */

.th_plusBtn {
    position: relative;
    border-style: solid;
    border-color: #74b056;
    cursor: pointer;
}

.th_plusBtn[disabled] {
	border-width: 2px !important;
	border-color: #969696 !important;
	cursor: default;
}
    .th_plusBtn.th_btn20 {
        width: 20px;
        height: 20px;
        border-width: 1px;
        border-radius: 10px;
    }

    .th_plusBtn.th_btn40 {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .th_plusBtn:before {
        position: absolute;
        width: 10%;
        height: 50%;
        background: #74b056;
        left: 45%;
        top: 25%;
        content: '';
    }

.th_plusBtn[disabled]:before { background: #969696 !important; }

    .th_plusBtn:after {
        position: absolute;
        width: 50%;
        height: 10%;
        background: #74b056;
        left: 25%;
        top: 45%;
        content: '';
    }

.th_plusBtn[disabled]:after { background: #969696 !important; }

    .th_plusBtn:hover {
        border: 1px solid #b4e39d;
    }

        .th_plusBtn:hover:before, .th_plusBtn:hover:after {
            background: #b4e39d;
        }

/*#endregion */

/*#region LayerNav */

.th_navBtn {
    font-size: 20px;
    font-family: "ClearSansThin";
}

    .th_navBtn .th_btnTitle {
        width: 80px;
        background: #eceae6;
    }

    .th_navBtn.disabled .th_btnTitle {
        background: #2E2C2D !important;
    }

    .th_navBtn:hover .th_btnTitle {
        background: #BBBCBC;
        color: #000000;
    }

    .th_navBtn.active .th_btnTitle {
        background: #27953c;
        color: #FFFFFF;
    }

    .th_navBtn .th_btnDescription {
        margin: 0 0 0 8px;
        width: 192px;
        background: #dfdad5;
    }

    .th_navBtn.disabled .th_btnDescription {
        background: #2E2C2D !important;
    }

    .th_navBtn:hover .th_btnDescription {
        background: #BBBCBC;
        color: #000000;
    }

    .th_navBtn.active .th_btnDescription {
        background: #27953c;
        color: #FFFFFF;
    }

    .th_navBtn + .th_navBtn.th_approved .th_btnDescription, .th_navBtn + .th_navBtn.th_approved .th_btnTitle {
        border-top: 1px solid #2e2c2d;
    }

.th_layer:not(.collapsed) > .th_layerNav > .th_navBtn + .th_navBtn .th_btnDescription:before {
    border-top: 1px dotted #BBBCBC;
    content: '';
    position: absolute;
    width: 92%;
    left: 4%;
}

/*#endregion */

/*#region LayerCmd */

.th_layerCmd .th_btn {
    width: calc(100% - 16px);
    margin: 8px 8px 0 8px;
}

/*#endregion */

/*#region ActionBtn */

.th_actionBtn {
    color: #FFFFFF;
    font-size: 15px;
}

    .th_actionBtn .th_btnDescription {
        background: #74b056;
    }

    .th_actionBtn:hover .th_btnDescription {
        background: #b4e39d;
        color: #27953c;
    }

    .th_actionBtn.active .th_btnDescription {
        background: #27953c;
        color: #FFFFFF;
    }

/*#endregion */

/*#region Flag */

.th_flag {
    color: #ffffff;
    font-size: 12px;
}
.th_flag .th_btnDescription {
    background: #74b056;
}
.th_flag.active .th_btnDescription {
    background: #27953c;
}
.th_flag:hover .th_btnDescription {
    background: #b4e39d;
    color: #27953c;
}
.th_flag.active:hover .th_btnDescription {
    background:#27953c;
    color:white;
}
.th_flag.th_anonymous {
    margin-right: -8px;
    width: 8px;
}
.th_flag:not([title]) .th_btnContent:before {
    content: "\f096";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 1px;
    position: relative;
    margin-right: 4px;
}
.th_flag:not([title]).active .th_btnContent:before {
    content: "\f046";
}

/*#endregion */

/*#region DropDown */

.th_dropDown {
    color: #FFFFFF;
    font-size: 12px;
}
.th_dropDown .th_btnDescription {
    background: #74b056;
}
.th_dropDown:hover .th_btnDescription {
    background: #b4e39d;
    color: #27953c;
}
.th_dropDown .th_btnContent:after {
    content: "\f0d7";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 1px;
    position: relative;
    margin-left: 4px;
}
.th_dropDown.active .th_btnContent:after {
    content: "\f0d8";
}

/*#endregion */

/*#region FormulaComputer */

.th_formulaComputer {
    color: #FFFFFF;
}

    .th_formulaComputer.active:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #4d99d9;
        z-index: 2;
    }

    .th_formulaComputer .th_btnDescription {
        background: #74b056;
    }

    .th_formulaComputer:hover .th_btnDescription {
        background: #b4e39d;
        color: #27953c;
    }

/*#endregion */

/*#region Formula */

.th_formula {
    color: #FFFFFF;
    font-size: 12px;
    cursor: default;
}

    .th_formula .th_btnDescription {
        background: #211d1d;
    }

/*#endregion */

/*#region Component */

.th_component, .th_parametricDoseCreator  {
    color: #FFFFFF;
}

    .th_component.active:after, .th_parametricDoseCreator.active:after  {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #4d99d9;
        z-index: 2;
    }

    .th_component .th_btnDescription, .th_parametricDoseCreator .th_btnDescription  {
        background: #74b056;
    }

    .th_component:hover .th_btnDescription, .th_parametricDoseCreator:hover .th_btnDescription  {
        background: #b4e39d;
        color: #27953c;
    }

.th_subComponentContainer, .th_parametricRangesContainer  {
    float: left;
    width: calc(100% - 28px);
    max-height: 100%;
    overflow: auto;
}

.th_subComponentPanel, .th_parametricRangePanel  {
    float: left;
    width: 100%;
}

    .th_subComponentPanel + .th_subComponentPanel {
        margin-top: 8px;
    }

/*#endregion */

/*#region ParametricDoseSelector */

.th_parametricDoseSelector {
    position: relative;
    background: #969696;
}
.th_parametricDoseSelector-info, 
.th_parametricDoseSelector-vital {
    margin: 0;
}
.th_parametricDoseSelector-parameter,
.th_parametricDoseSelector-timestamp {
    text-align: center;
}
.th_parametricDoseSelector .th_iconBtn {
    position: absolute;
    top: 2px;
    right: 2px;
}

/*#endregion */

/*#region SpeedSchema */

.th_speedSchema {
    color: #FFFFFF;
}

    .th_speedSchema .th_btnDescription {
        background: #211d1d;
    }

    .th_speedSchema:hover .th_btnDescription {
        background: #3c3a3d;
    }

.th_subSpeedSchemaContainer {
    float: left;
    width: calc(100% - 28px);
    max-height: 100%;
    overflow: auto;
}

.th_subSpeedSchemaPanel {
    float: left;
    width: 100%;
}

/*#endregion */

/*#region Note */

.th_noteBtn {
    color: #FFFFFF;
}

    .th_noteBtn .th_btnDescription {
        background: #FFF876;
        color: #626469;
    }

    .th_noteBtn:hover .th_btnDescription {
        background: #f6be0b;
        color: #ffffff;
    }

    .th_noteBtn.th_note .th_btnDescription {
        background: #f6be0b;
    }

/*#endregion */

/*#endregion */

/*#region DynamicPanel */

.th_dynamicPanel {
    float: left;
    margin: 8px 8px 0 8px;
    width: calc(100% - 72px);
    overflow: auto;
}

.th_sideDynamicPanel {
    height: calc(100% - 16px);
    width: calc(100% - 8px);
}

.th_dynamicPanel .th_btn:not(.hidden):last-of-type {
    margin-bottom: 8px;
}

/*#endregion */

/*#region Controls */

.th_dropDownPanel, .th_autoCompletePanel, .th_clientFilterPanel, .th_multiCompletePanel, .th_webCompletePanel, .th_barcodeSearchPanel {
    border: #dfdad5 solid 2px;
}

/*#region MultiComplete */

.th_multiCompletePanel {
    width: calc(100% - 47px);
    float: left;
}

/*#endregion */

/*#region NoteEdit */

.th_noteEditPanel {
    width: 100%;
    height: 100%;
    background: #fff876;
}

.th_noteArea {
    width: calc(100% - 64px);
    height: 100%;
    float: left;
    resize: none;
    border: none;
    background: #fff876;
    margin: 0;
    padding: 8px;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
    font-size: 18px;
}

/*#endregion */

/*#region Feedback */

.th_feedbackPanel {
    max-height: inherit;
    color: #FFFFFF;
    position: relative;
}

.th_closeFeedback {
    position: absolute;
    top: -4px;
    right: 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: #626469;
}

.th_feedbackIcon {
    float: left;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
}

.th_feedbackDanger .th_feedbackIcon {
    color: #D91920;
}

.th_feedbackInfo .th_feedbackIcon {
    color: #27953C;
}

.th_feedback {
    padding: 4px 8px;
    float: left;
    max-height: inherit;
    width: calc(100% - 40px);
    overflow: auto;
    font-size: 14px;
    box-sizing: border-box;
}

.th_feedbackDanger .th_feedback {
    color: #D91920;
}

.th_feedbackInfo .th_feedback {
    background: #27953C;
}

.th_feedbackConfirm {
    padding: 4px 8px;
    margin: 2px 0 0 40px;
    width: calc(100% - 40px);
    font-size: 14px;
    box-sizing: border-box;
}

.th_feedbackDanger .th_feedbackConfirm {
    color: #D91920;
}

.th_feedbackInfo .th_feedbackConfirm {
    color: #27953C;
}

.th_feedbackConfirm .th_label {
    float: left;
    margin-right: 8px;
}

/*#endregion */

/*#region Component */

.th_componentPanel, .th_parametricDoseCreatorPanel, .th_speedComputerPanel {
    width: calc(50% - 48px);
    height: 100%;
    float: left;
    border: #dfdad5 solid 2px;
    padding: 0;
    box-sizing: border-box;
}

.th_componentDynamicPanel, .th_parametricDoseCreatorDynamicPanel, th_speedComputerDynamicPanel  {
    width: calc(50% - 8px);
    margin: 0 0 0 8px;
}

/*#endregion */

/*#region FormulaComputer */

.th_formulaComputerPanel {
    width: calc(100% - 48px);
    height: 100%;
    float: left;
    padding: 0;
}

/*#endregion */

/*#region BarcodeSearch */

.th_barcodeSearchPanel {
    padding: 4px;
}

/*#endregion */

.th_infusedVolumes td {
    padding: 0 4px;
}

/*#endregion */

/*#endregion */

/*#region Footer */

.th_verticalSeparator {
    position: relative;
    width: 18px;
    height: 100%;
    float: left;
    cursor: pointer;
}

    .th_verticalSeparator .glyphicon {
        font-size: 18px;
    }

    .th_verticalSeparator:before {
        position: absolute;
        top: calc(50% - 20px);
        right: 1px;
        border-right: 1px solid transparent;
        border-bottom: 15px solid transparent;
        border-top: 15px solid transparent;
        border-left: 13px solid #74b056;
        content: '';
    }

    .th_verticalSeparator.collapsed:before {
        border-left: 1px solid transparent;
        border-right: 13px solid #74b056;
    }

/*#region VitalsGraph */

#th_vitalsPanel {
    background-color: #2e2c2d;
    width: calc(100% - 18px - 80px);
    height: inherit;
    float: left;
    margin: 0;
    overflow-y: auto;
}

    #th_vitalsPanel.collapsed {
        width: 0;
        height: 0;
        overflow: hidden;
    }

.th_vital {
    margin: 8px 0 0 8px;
    width: calc(100% - 8px);
    height: 30px;
}

    .th_vital.th_graph {
        height: 80px;
    }

.th_vitalLabel {
    float: left;
    width: 102px;
    height: 30px;
    background: #000000;
    color: #FFFFFF;
    padding: 8px 0 8px 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 4px;
}

.th_vitalScale {
    float: left;
    width: 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.th_vital.th_graph .th_vitalScale {
    background: #C1B8B3;
    color: #FFFFFF;
}

.th_vitalScale .th_label {
    padding: 0 4px 0 0;
    box-sizing: border-box;
    text-align: right;
    position: absolute;
    transform: translate(0, -50%);
    left: 0;
    width: 100%;
}

.th_vitalCanvas {
    float: left;
    width: calc(100% - 134px);
    height: 100%;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
    border-right: 5px solid #2e2c2d;
    box-sizing: border-box;
}

.th_scaleBar {
    border-bottom: 1px dashed #A89E9B;
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 1px;
}

.th_vitalDetection {
    position: absolute;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%) rotate(-45deg);
    transform-origin: center center;
}

.th_vitalLine {
    position: absolute;
    height: 4px;
    transform-origin: 0 50%;
}

/*#endregion */

#th_sideBarPanel {
    background-color: #eceae6;
    width: 190px;
    height: inherit;
    float: left;
    margin: 0;
    padding: 0 0 0 18px;
    position: relative;
}
#th_sideBarPanel.collapsed {
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
}

/*#region Tabs */

.th_tab {
    height: calc(100% - 8px);
    margin-top: 8px;
}

.th_tabHeaders {
    border-bottom: 1px solid #74b056;
}

.th_tabHeader {
    color: #74b056;
    font-size: 14px;
    height: 20px;
    float: left;
    padding: 4px;
    cursor: pointer;
}

    .th_tabHeader + .th_tabHeader {
        margin-left: 8px;
    }

    .th_tabHeader:hover {
        background: #BBBCBC;
        color: #000000;
    }

    .th_tabHeader.active {
        background: #74b056;
        color: #FFFFFF;
    }

.th_tabBodies {
    margin: 8px 0 0 0;
    height: calc(100% - 37px);
}

/*#endregion */

/*#region PatientData */

#th_patient {
    max-height: 100%;
    overflow-y: auto;
}

.th_patientData + .th_patientData {
    margin: 8px 0 0 0;
}

.th_patientDataHeader {
    background-color: #fefefe;
    color: #211d1d;
    padding: 0 0 0 2px;
    font-size: 11px;
    font-family: "ClearSansBold";
}

.th_patientDataValue {
    color: #626469;
    padding: 0 0 0 8px;
}

/*#endregion */

/*#region Legend */

#th_legend {
    max-height: 100%;
    overflow-y: auto;
    color: #626469;
}

.th_legendRow7 {
    position: relative;
    height: 50px;
}

.th_legendDelivery {
    position: relative;
    float: left;
    width: 60px;
    cursor: default;
}

.th_legendDelivery7 {
    position: relative;
    float: left;
    cursor: default;
}

.th_legendDescription {
    margin-left: 24px;
}
div.th_legendDescription {
    float: left;
}

/*#endregion */

/*#endregion */

/*#endregion */

/*#region TherapySchemas */

.side-menu {
    margin: 4px !important;
    margin-bottom: 8px !important;
    width: calc(15% - 8px);
    box-sizing: border-box;
}

.outer-content {
    display: inline-block;
}

.flex-content {
    display: flex !important;
    flex: 1 1 auto;
}

.inner-menu {
    width: calc(18% - 8px);
    box-sizing: border-box;
    margin-bottom: 4px !important;
    margin-right: 4px !important;
}

.inner-content {
    display: inline-block;
    min-height: 500px;
    width: calc(82% - 4px);
    box-sizing: border-box;
    margin-bottom: 4px !important;
    margin-left: 4px !important;
    display: flex;
    flex: 1 1 auto;
}

.jumbotron-margin {
    margin-bottom: 4px !important;
}

.strike-text {
    text-decoration: line-through;
}

/*#endregion */
