	@font-face {
		font-family:VarelaRound;
		src:url(../css/fonts/VarelaRoundRegular.ttf);
	}
	@font-face {
		font-family:PaulSignature;
		src:url(../css/fonts/PaulSignature-WEJY.ttf);
	}
	.ui-widget {
		font-size: 1em !important;
	}
	.ui-widget-overlay {
		background-color:white;
		opacity: .6;
		filter: Alpha(Opacity=80);
		background-image:none;
	}
	.ui-dialog {
		border-radius:3px;
		border:none;
	}
	.ui-dialog-titlebar {
		background-color:inherit;
		background-image:none;
		border:none;
		color:#FFFFFF;
		padding:0.2em 0.4em !important;
		font-size:1.1em;
	}
	.lt-trends-dialog .ui-dialog-titlebar {
		position: relative;
		padding-right: 5.5em !important;
	}
	.lt-trends-view-toggle {
		position: absolute;
		right: 2.4em;
		top: 50%;
		transform: translateY(-50%);
		color: #fff;
		font-size: 11px;
		font-weight: normal;
		text-decoration: none;
		padding: 2px 8px;
		border: 1px solid rgba(255,255,255,0.45);
		border-radius: 3px;
		line-height: 1.3;
		white-space: nowrap;
	}
	.lt-trends-view-toggle:hover {
		background: rgba(255,255,255,0.15);
		color: #fff;
	}
	.ui-dialog-buttonpane {
		background-color:inherit;
		border:none;
		padding:0 0.4em 0 0.4em !important;
		margin-top:0px !important;
		font-size:1.1em;
	}
	.ui-dialog-buttonpane button {
		margin: 0em 0.2em 0.4em 0em;
	}
	.ui-widget-content {
		background-image:none;
	}
	.ui-dialog-content > div:nth-of-type(1) {
		background-color:rgba(255,255,255,0.6);
		border-radius:3px;
		width:calc(100% - 20px);
		min-height:calc(100% - 24px);
		height:calc(100% - 24px);
		padding:10px;
		margin:0px;
		overflow-y:auto;
		padding:0.4em
	}
	#TopOfChart{
		height: auto;
		min-height:23px;
	}
	.ui-multiselect-checkboxes label {
		text-align:left;
		font-weight:normal;
		font-size:smaller;
	}
	button.ui-multiselect {
		width:200px !important;
	}
	.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
	.ui-timepicker-div dl { text-align: left; }
	.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
	.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
	.ui-timepicker-div td { font-size: 90%; }
	.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
	.ui-timepicker-rtl{ direction: rtl; }
	.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
	.ui-timepicker-rtl dl dt{ float: right; clear: right; }
	.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }
	.ui-autocomplete {
		max-width:400px;
		overflow:hidden;
		white-space: nowrap;
	}
	div.token-input-dropdown-facebook {
		max-height:400px;
		overflow-y:auto !important;
		z-index:9999;
	}
	div.token-input-dropdown {
		z-index:9999;
	}
	html {
	    height: 100%;
	    overflow:hidden;
	}
	body {
		font-size:0.9em;
		overflow:hidden;
    	margin: 0;
    	padding: 0;
    	width: 100%;
    	display:block;
    	background-size: cover;
	}
	table {
		width:100%;
	}
	thead {
		font-size:.9em;
		text-align:left;
	}
	tbody {
		font-size:.8em;
		background-color:inherit;
	}
	.encBody tbody {
		font-size:1em;
	}
	th {
		padding:5px;
		color:#FFF;
	}
	td {
		padding:3px;
	}
	.altRows > tr:nth-of-type(odd) {
		background-color:rgba(0,0,0,0.1);
	}
	tbody > tr > td {
		border-bottom:1px solid rgba(0,0,0,0.2);
	}
	table.transparent tbody {
		background-color:inherit;
	}
	.ui-dialog-content label {
		width:7em;
		clear:left;
		float:left;
		text-align:right;
		margin-right:10px;
		font-weight:bold;
	}
	input:disabled,textarea:disabled {
		background-color:#e9e9e9 !important;
		color:#555 !important;
	}
	.button {
	   display: inline-block;
	   text-decoration: none;
	   line-height: 1;		
	   color: #fff;
	   background-color: #39c;
	   -moz-border-radius: 4px;
	   -webkit-border-radius: 4px;
	   -khtml-border-radius: 4px;
	   border-radius: 4px;
		text-align:center;
	}
	.buttonDiv {
		display:inline-block;
		color:#fff;
		background-color: rgb(0, 102, 102);
		border-radius:6px;
		min-height:1.5em;
		min-width:6.5em;
		text-align:center;
		line-height:1.7em;
		border:1px solid #fff;
		font-size:0.9em;
		cursor:pointer;
		padding:2px;
	}
	.buttonDiv2 {
		display:inline-block;
		color:#000;
		background-color:rgba(0,0,0,0.2);
		border-radius:6px;
		min-height:1.5em;
		min-width:6.5em;
		text-align:center;
		line-height:1.7em;
		border:1px solid #000;
		font-size:1.0em;
		cursor:pointer;
		padding:6px 10px 6px 10px;
	}
	.buttonDiv2:hover {
		background-color:rgba(0,0,0,0.1);
	}
	.headerGroup > div {
		color:#FFFFFF;
	}
	.leftHeader {
		font-size:1.2em;
		font-weight:bold;
		margin:6px;
		padding-top:10px;
	}
	.loadingData {
		float:right;
		width:1.8em;
		height:1.8em;
		background-image:url(../css/images/loading_icon.gif);
		background-position:0 0;
		background-repeat:no-repeat;
		background-size:1.8em 1.8em;
	}
	#content {
		height:100%;
	}
	.linkButton:hover {
		color:#890202 !important;
	}
	.linkButton {
		text-decoration:underline;
		color:blue;
		cursor:pointer;
	}
	.linkButtonWhite {
		text-decoration:underline;
		color:white;
		cursor:pointer;
	}
	.linkButton2 {
		padding:3px;
		background-color:rgba(0,0,0,0.1);
		font-size:0.9em;
		border-radius:4px;
		margin:3px 0px;
	}
	.linkButton2:hover {
		background-color:rgba(255,255,255,0.3);
		color:#0e96d1 !important;
		cursor:pointer;
	}
	input,select,textarea {
		margin-bottom:2px;
	}
	input[type="text"],input[type="date"] {
   		-moz-box-sizing:border-box;
   		-webkit-box-sizing:border-box;
    	box-sizing:border-box;
	}
	input[type="checkbox"] {
		/*float:left;*/
		vertical-align: bottom;
	}
	.placeholder {
		outline: 1px dashed #4183C4;
	}
	.checkbox_label {
		clear:none !important;
		float:none !important;
		display:inline !important;
		width:intrinsic !important;
		margin-left:0 !important;
		padding-left:0 !important;
	}
	.noselect {
	    -webkit-touch-callout: none;
	    -webkit-user-select: none;
	    -khtml-user-select: none;
	    -moz-user-select: none;
	    -ms-user-select: none;
	    user-select: none;
	}
.segmentBox {
	display:inline-block;
	width:calc(50% - 10px);
	vertical-align: top;
	overflow:auto;
	min-width:220px;
}
.segmentBoxHeader {
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	border-bottom:0;
	font: normal normal 15px/1.2em questrial,sans-serif;
	letter-spacing: 1px;
	width:calc(100% - 22px);
	margin-bottom:0px;
	padding:10px;
	padding-bottom:0px;
	display:inline-block;
	color:white;
	background-color: rgba(255,255,255,0.2);
	cursor:pointer;
	overflow: hidden;
	overflow:hidden;
}
.segmentBoxBody {
	border-bottom-left-radius:8px;
	border-bottom-right-radius:8px;
	height:200px;
	margin:0px;
	margin-top:0px;
	margin-bottom:12px;
	padding:6px;
	width:calc(100% - 14px);
	overflow-y:hidden;
	overflow-x:hidden;
	background-color: rgba(255,255,255,0.2);
}
.segmentBoxBodyWidget {
	border-bottom-left-radius:24px;
	border-bottom-right-radius:24px;
	height:auto;
	margin:0px;
	margin-top:0px;
	margin-bottom:12px;
	padding:10px;
	width:calc(100% - 22px);

	background-color: rgba(255,255,255,0.2);
}
.segmentBoxBodyInner {
	background-color:rgba(255,255,255,0.4);
	padding:6px;
	border-radius:3px;
	min-height:calc(100% - 18px);
	font-size:0.9em;
	color:black;
	overflow:auto;
}
.segmentBoxBodyInner.autoHeightLink {
	min-height:20px;
	height:auto;
	margin-bottom:8px;
}
.segmentBoxBodyInner.autoHeightLink:hover {
	background-color:rgba(0,0,0,0.1);
	cursor:pointer;
}
.addButton {
	background:url('../css/images/add.png') no-repeat;
	float:right;
	width:22px;
	height:22px;
	cursor:pointer;
}

.simpleView {
	display:block;
}
.tableView {
	display:none;
}
.simpleView {
	display:block;
}
div.nifty_big{
	margin:auto;
	margin-bottom: 25px;
	padding:5px;
	border-radius: 10px;
}
div.nifty_normal {
	background-color:rgba(255,255,255,0.5);
	border-radius:4px;
	padding:5px;
}
#icomPane {
	position:absolute;
	top:95px;
	right:0;
	width:30px;
	height:calc(100% - 70px);
	overflow:hidden;
}
#icomHandle {
	background-color:#D19365;
	position:relative;
	top:30px;
	width:10px;
	height:90px;
	text-align:center;
	color:#E6F4DE;
	padding:10px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	cursor:pointer;
	display:inline-block;
	float:left;
}
#icomFrame {
	position:absolute;
	top:0px;
	left:28;
	height:100%;
	width:247px;
	border:none;
	padding-left:12px;
	border-radius:5px;
	background-color:#D19365;
}
#top_of_chart{
	width:100%;
}
.btn {
    display: inline-block;
    margin: 1px;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 2px solid #ccc;
    white-space: nowrap;
    padding: 4px 1px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    background-color: #efefef;
}
.btn:hover {
	background-color:#ddd;
}
.btn-default,.btn-white {
    color: #333;
    border-color:#333;
}
.btn-red {
	color:#DD0000;
	border-color:#DD0000;
}
.btn-yellow {
	color:#CCCC00;
	border-color:#CCCC00;
}
.btn-green {
	color:#228B22;
	border-color:#228B22;
}
.btn-blue {
	color:#0000FF;
	border-color:#0000FF;
}
.btn-gray {
	color:#969696;
	border-color:#969696;
}
.iconbutton{
	width:24;
	height:24;
	border-radius: 100%;
	background: #294154;
	cursor:pointer;
	margin-right:5px;
	/*box-shadow: 10px 10px 5px #aaaaaa;*/
}
.supportbutton{
	width:60px;
	height:60px;
	background:#294154;
}
.iconbutton svg{
	display:flex;
	flex-direction: row;
	align-items:center;
	justify-content:center;
	height: 18px;;
	margin: 3px auto;
}
.fab-container{
	position:fixed;
	bottom:30px;
	left:30px;
	cursor:pointer;
}
.iconbutton path{
	fill:#9cdd93;
}
.iconbutton path:hover{
	fill:white;
}
::-webkit-scrollbar {
    height: 10px;
    width: 10px;
    overflow: hidden;
    border-radius:3px;
}
::-webkit-scrollbar-corner {
    display: none;
    background: transparent;
}
::-webkit-scrollbar-button {
    display: none;
    height:0;
    width: 0;
}

::-webkit-scrollbar-button:start:decrement,::-webkit-scrollbar-button:end:increment             {
    display: block;
}

::-webkit-scrollbar-button:vertical:start:increment,::-webkit-scrollbar-button:vertical:end:decrement {
    display: none;
}

::-webkit-scrollbar-track {
    -moz-background-clip: border;
    -webkit-background-clip: border;
    background-clip: padding-box;
    background-color: rgba(0,0,0,0.09);
    border-radius:5px;
}

::-webkit-scrollbar-track:vertical, ::-webkit-scrollbar-track:horizontal {
    border-left-width: 0;
    border-right-width: 0;
}

::-webkit-scrollbar-track:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-track:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-thumb:horizontal {
    border-style: solid;
    border-color: transparent;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
    background-clip: padding-box;
    background-color: rgba(0,0,0,.2);
    min-height: 28px;
    padding-top: 100px;
    border-radius:5px;
}

::-webkit-scrollbar-thumb:hover {
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,.25);
    background-color: rgba(0,0,0,.4);
}

::-webkit-scrollbar-thumb:active {
    -webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,.35);
    background-color: rgba(0,0,0,.5);
}

::-webkit-scrollbar-thumb:vertical, ::-webkit-scrollbar-thumb:horizontal {
    border-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

#cds_feedback{
	background-image: url('../css/images/feedback.png');
	background-repeat: no-repeat;
	padding:5px 0 10px 26px;
	float:right;
	width:125px;
	
}/**
 * EMR Modern UI — shared component library
 *
 * Include via StyleService.php (project-wide) or link directly:
 *   ../mvc/css/emr-ui.css  (from emr/codeset/)
 *   ../../mvc/css/emr-ui.css  (from emr/codeset/scripts/)
 *
 * Primary classes use the emr-* prefix. Legacy lab-* aliases are kept
 * for backwards compatibility during migration.
 */

:root {
	--emr-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--emr-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	--emr-color-text: #1e293b;
	--emr-color-text-muted: #475569;
	--emr-color-text-subtle: #64748b;
	--emr-color-accent: #667eea;
	--emr-color-accent-dark: #5a6fd6;
	--emr-color-accent-border: rgba(102, 126, 234, 0.22);
	--emr-color-accent-border-light: rgba(102, 126, 234, 0.16);
	--emr-color-accent-bg: rgba(102, 126, 234, 0.08);
	--emr-color-accent-bg-strong: rgba(102, 126, 234, 0.06);
	--emr-color-danger: #dc2626;
	--emr-color-danger-dark: #b91c1c;
	--emr-color-danger-bg: #fef2f2;
	--emr-color-danger-border: #fecaca;
	--emr-color-border: #e2e8f0;
	--emr-color-border-light: #f1f5f9;
	--emr-color-surface: #fff;
	--emr-color-surface-muted: #f8fafc;
	--emr-radius: 8px;
	--emr-radius-sm: 6px;
	--emr-radius-xs: 4px;
	--emr-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
	--emr-shadow-md: 0 1px 4px rgba(15, 23, 42, 0.12);
}

/* ------------------------------------------------------------------ */
/* Page shells                                                        */
/* ------------------------------------------------------------------ */

.emr-page-white,
body.lab-results-page {
	font-family: var(--emr-font-sans);
	font-size: 13px;
	line-height: 1.45;
	color: var(--emr-color-text);
	background: var(--emr-color-surface);
	margin: 0;
}

.emr-content-pane,
.lab-results-content {
	padding: 8px 14px 20px;
}

html.emr-page-full,
html.emr-page-full body.labs-page,
html body.labs-page {
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.emr-split-shell,
.labs-shell {
	display: flex;
	box-sizing: border-box;
	height: 100vh;
	padding: 8px;
	gap: 8px;
}

.emr-split-main,
.labs-main-pane {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.emr-split-side,
.labs-side-pane {
	width: 320px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.emr-result-pane,
.labs-result-pane {
	flex: 1;
	min-height: 0;
	background: var(--emr-color-surface);
	border: 1px solid var(--emr-color-accent-border-light);
	border-radius: var(--emr-radius);
	box-shadow: var(--emr-shadow-sm);
	overflow: hidden;
}

.emr-result-pane iframe,
.labs-result-pane iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--emr-color-surface);
}

.emr-split-side iframe,
.labs-side-pane iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--emr-radius);
	background: var(--emr-color-surface);
	box-shadow: var(--emr-shadow-md);
}

.emr-patient-bar,
.labs-patient-bar {
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--emr-color-accent-border);
	border-radius: var(--emr-radius);
	box-shadow: var(--emr-shadow-sm);
	padding: 6px 10px;
}

.emr-patient-bar #ptdemoinfo,
.labs-patient-bar #ptdemoinfo {
	font-size: 12px;
	line-height: 1.45;
	color: var(--emr-color-text);
}

.emr-patient-bar #pt_header1 td,
.labs-patient-bar #pt_header1 td {
	border: 0 !important;
}

.emr-patient-bar strong,
.labs-patient-bar strong {
	color: var(--emr-color-text-subtle);
	font-weight: 600;
}

.emr-empty-state,
.labs-empty-state {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 120px;
	margin: 0;
	padding: 24px;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--emr-color-text-subtle);
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* Sidebar panel (viewinfo, narrow iframes)                           */
/* ------------------------------------------------------------------ */

.emr-sidebar-panel {
	font-family: var(--emr-font-sans);
	font-size: 12px;
	line-height: 1.45;
	color: var(--emr-color-text-muted);
	border-radius: var(--emr-radius);
	padding: 4px;
}

.emr-sidebar-panel .innerBox1,
.emr-sidebar-panel .innerBox2,
.emr-panel {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--emr-color-accent-border-light);
	border-radius: var(--emr-radius-sm);
	padding: 6px 8px;
	margin-top: 0 !important;
	margin-bottom: 6px !important;
	color: var(--emr-color-text);
}

.emr-sidebar-panel .innerBox3,
.emr-panel-muted {
	background: var(--emr-color-accent-bg-strong) !important;
	border: 1px solid var(--emr-color-accent-border-light);
	border-radius: var(--emr-radius-xs);
	padding: 6px 8px;
	margin-top: 4px !important;
	margin-bottom: 4px !important;
}

.emr-sidebar-panel .toggleCtl,
.emr-sidebar-panel .panelToggle strong,
.emr-panel-title {
	color: #334155;
	font-weight: 600;
	font-size: 12px;
	cursor: pointer;
}

.emr-sidebar-panel .panelContent {
	padding-left: 8px;
}

.emr-sidebar-panel label {
	color: var(--emr-color-text-muted);
}

.emr-sidebar-panel label.emr-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	position: static;
	top: auto;
	margin: 0;
	cursor: pointer;
	line-height: 1.2;
}

.emr-checkbox-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
}

.emr-sendto-row,
.emr-sidebar-panel #sendLog {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 6px 0 0 !important;
	margin: 0 !important;
}

.emr-sidebar-panel ul.token-input-list-facebook {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid #cbd5e1 !important;
	border-radius: var(--emr-radius-sm);
	background: var(--emr-color-surface);
	font-family: inherit;
	font-size: 12px;
	min-height: 28px;
}

.emr-sidebar-panel ul.token-input-list-facebook li input {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	margin: 2px 0;
	padding: 2px 4px;
	width: auto;
	min-width: 80px;
}

.emr-form-actions {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
	margin-bottom: 0;
	width: 100%;
	overflow-x: auto;
}

.emr-form-actions input[type=submit],
.emr-form-actions input[type=button],
.emr-form-actions button {
	flex: 0 0 auto;
	padding: 2px 6px !important;
	font-size: 10px !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	white-space: nowrap;
}

.emr-activity-log,
.emr-sidebar-panel #message_log {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--emr-color-accent-border-light);
	border-radius: var(--emr-radius-sm);
	padding: 6px 8px;
	margin-top: 0 !important;
	margin-bottom: 6px !important;
}

.emr-activity-log-list,
.emr-sidebar-panel #message_log #logs {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.emr-log-entry {
	background: rgba(255, 255, 255, 0.55) !important;
	border: 1px solid var(--emr-color-accent-border-light) !important;
	border-radius: var(--emr-radius-xs) !important;
	box-shadow: none !important;
	padding: 6px 8px !important;
	margin: 0 0 6px 0 !important;
}

.emr-log-entry:last-child {
	margin-bottom: 0 !important;
}

.emr-log-entry table {
	width: 100%;
	border-collapse: collapse;
}

.emr-subsection {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 6px 0 0 !important;
	margin: 0 !important;
}

.emr-sidebar-panel .innerBox2 .panelContent,
.emr-sidebar-panel #logPanelContent {
	padding-left: 0;
}

.emr-sidebar-panel textarea,
.emr-sidebar-panel input[type=text],
.emr-sidebar-panel input[type=password],
.emr-sidebar-panel select {
	border-radius: var(--emr-radius-sm);
	background-color: var(--emr-color-surface);
	border: 1px solid #cbd5e1;
	font-family: inherit;
	font-size: 12px;
	color: var(--emr-color-text);
}

.emr-sidebar-panel input[type=button],
.emr-sidebar-panel input[type=submit],
.emr-sidebar-panel button,
.emr-btn {
	border-radius: var(--emr-radius-sm);
	background-color: rgba(255, 255, 255, 0.85);
	border: 1px solid #cbd5e1;
	margin-left: 2px;
	margin-right: 2px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	color: var(--emr-color-text-muted);
	padding: 3px 8px;
	cursor: pointer;
}

.emr-sidebar-panel input[type=button]:hover,
.emr-sidebar-panel input[type=submit]:hover,
.emr-sidebar-panel button:hover,
.emr-btn:hover {
	border-color: var(--emr-color-accent);
	color: var(--emr-color-accent);
	background: var(--emr-color-accent-bg);
}

.emr-sidebar-panel a:not(.emr-compact-nav-link):not(.lab-view-nav-link):not(.emr-compact-nav-alert):not(.lab-view-nav-alert) {
	color: var(--emr-color-text-muted);
	font-weight: 600;
	font-size: 11px;
	text-decoration: none;
}

.emr-sidebar-panel a:not(.emr-compact-nav-link):not(.lab-view-nav-link):not(.emr-compact-nav-alert):not(.lab-view-nav-alert):hover {
	color: var(--emr-color-accent);
	text-decoration: underline;
}

.emr-sidebar-panel hr {
	border: 0;
	border-top: 1px solid var(--emr-color-border);
	color: var(--emr-color-border);
	margin: 6px 0;
}

.emr-sidebar-panel .sectionHeader {
	border-bottom: 1px solid var(--emr-color-border);
	padding-bottom: 4px;
	margin-bottom: 6px;
}

.emr-sidebar-panel .sectionHeader .titleVerdana,
.emr-sidebar-panel .titleVerdana {
	font-family: var(--emr-font-sans) !important;
	font-size: 12px !important;
	color: #334155 !important;
}

.emr-summary-table,
.emr-sidebar-panel #summary_box {
	width: 100%;
	border-collapse: collapse;
}

.emr-summary-table tr,
.emr-sidebar-panel #summary_box tr {
	height: auto;
	line-height: 1.35;
	border: 0;
}

.emr-summary-table td,
.emr-sidebar-panel #summary_box td {
	height: auto;
	line-height: 1.35;
	border: 0;
	padding: 1px 0;
	color: var(--emr-color-text-muted);
	font-family: var(--emr-font-sans);
	font-size: 11px;
	vertical-align: top;
	margin: 0;
}

#pt_contact_info:hover:after {
	content: attr(alt);
	white-space: pre-wrap;
	position: absolute;
	background-color: var(--emr-color-surface-muted);
	padding: 6px 8px;
	border-radius: var(--emr-radius-sm);
	border: 1px solid #cbd5e1;
	font-size: 11px;
	color: #334155;
	box-shadow: var(--emr-shadow-md);
	z-index: 10000;
}

/* ------------------------------------------------------------------ */
/* Compact inline nav                                                 */
/* ------------------------------------------------------------------ */

.emr-compact-nav,
.lab-view-nav {
	margin-top: 1px;
	padding: 0;
	border: 1px solid var(--emr-color-accent-border-light);
	border-radius: var(--emr-radius-xs);
	overflow: hidden;
	font-family: var(--emr-font-sans);
	font-size: 11px;
	line-height: 1.45;
	color: var(--emr-color-text-muted);
}

.emr-compact-nav-top,
.lab-view-nav-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 4px;
	font-family: var(--emr-font-sans);
	font-size: 11px;
	line-height: 1.45;
}

.emr-compact-nav-alert,
.lab-view-nav-alert {
	display: inline-block;
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	line-height: inherit;
	color: var(--emr-color-danger) !important;
	text-decoration: none !important;
}

.emr-compact-nav-alert:hover,
.lab-view-nav-alert:hover {
	color: var(--emr-color-danger-dark) !important;
	text-decoration: underline !important;
}

.emr-compact-nav-line,
.lab-view-nav-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 16px;
	padding: 3px 8px;
	background: rgba(255, 255, 255, 0.55);
}

.emr-compact-nav-line + .emr-compact-nav-line,
.lab-view-nav-line + .lab-view-nav-line {
	border-top: 1px solid rgba(102, 126, 234, 0.14);
	background: var(--emr-color-accent-bg-strong);
}

.emr-compact-nav-link,
.lab-view-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--emr-color-text-muted) !important;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.emr-compact-nav-link:hover,
.lab-view-nav-link:hover {
	color: var(--emr-color-accent) !important;
	text-decoration: underline !important;
}

.emr-compact-nav-link img,
.lab-view-nav-link img {
	vertical-align: middle;
	width: 12px;
	height: 12px;
}

.emr-compact-nav-sep,
.lab-view-nav-sep {
	color: #cbd5e1;
	padding: 0 5px;
	font-weight: 400;
	user-select: none;
}

.emr-compact-nav-right,
.lab-view-nav-right {
	margin-left: auto;
}

.emr-icon,
.emr-compact-nav-icon,
.lab-view-nav-icon {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 12px 12px;
	flex-shrink: 0;
	opacity: 0.85;
}

.emr-icon-trends,
.emr-compact-nav-icon-trends,
.lab-view-nav-icon-trends {
	background-image: url(images/trendsicon.png);
}

/* ------------------------------------------------------------------ */
/* Floating toolbar                                                   */
/* ------------------------------------------------------------------ */

.emr-floating-toolbar,
.lab-results-toolbar {
	position: fixed;
	top: 8px;
	right: 10px;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	pointer-events: none;
}

.emr-floating-toolbar a,
.emr-toolbar-btn,
.lab-results-toolbar a {
	color: var(--emr-color-text-muted);
	text-decoration: none;
	font-size: 11px;
	font-weight: 500;
	padding: 3px 8px;
	border-radius: var(--emr-radius-sm);
	border: 1px solid #cbd5e1;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--emr-shadow-md);
	pointer-events: auto;
}

.emr-floating-toolbar a:hover,
.emr-toolbar-btn:hover,
.lab-results-toolbar a:hover {
	color: var(--emr-color-accent);
	border-color: var(--emr-color-accent);
	background: var(--emr-color-accent-bg);
}

/* ------------------------------------------------------------------ */
/* Data tables                                                        */
/* ------------------------------------------------------------------ */

.emr-data-table,
.lab-results-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--emr-color-border);
	border-radius: var(--emr-radius);
	overflow: hidden;
	margin-bottom: 16px;
	background: var(--emr-color-surface);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.emr-data-table th:first-child,
.lab-results-table th:first-child {
	min-width: 280px;
	width: 30%;
}

.emr-data-table tr:not(.emr-data-table__section-row):not(.emr-data-table__panel-row):not(.emr-data-table__notes-row):not(.lab-section-row):not(.lab-panel-row):not(.lab-notes-row) > td:first-child,
.lab-results-table tr:not(.lab-section-row):not(.lab-panel-row):not(.lab-notes-row) > td:first-child {
	min-width: 280px;
	white-space: nowrap;
}

.emr-data-table th,
.lab-results-table th {
	background: linear-gradient(180deg, var(--emr-color-accent) 0%, var(--emr-color-accent-dark) 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 5px 8px;
	border: 0;
	border-bottom: 1px solid #4f63c7;
	text-align: left;
	white-space: nowrap;
}

.emr-data-table th u,
.lab-results-table th u {
	text-decoration: none;
}

.emr-data-table td,
.lab-results-table td {
	padding: 4px 8px;
	border: 0;
	border-bottom: 1px solid var(--emr-color-border-light);
	vertical-align: top;
	line-height: 1.3;
}

.emr-data-table tr:last-child td,
.lab-results-table tr:last-child td {
	border-bottom: 0;
}

.emr-data-table tbody tr:nth-child(even):not(.emr-data-table__section-row):not(.emr-data-table__panel-row):not(.emr-data-table__notes-row):not(.lab-section-row):not(.lab-panel-row):not(.lab-notes-row),
.lab-results-table tbody tr:nth-child(even):not(.lab-section-row):not(.lab-panel-row):not(.lab-notes-row) {
	background: #fafbfc;
}

.emr-data-table tbody tr:hover:not(.emr-data-table__section-row):not(.emr-data-table__panel-row):not(.emr-data-table__notes-row):not(.lab-section-row):not(.lab-panel-row):not(.lab-notes-row),
.lab-results-table tbody tr:hover:not(.lab-section-row):not(.lab-panel-row):not(.lab-notes-row) {
	background: rgba(102, 126, 234, 0.04);
}

.emr-data-table__section-row td,
.emr-data-table__panel-row td,
.lab-results-table .lab-section-row td,
.lab-results-table .lab-panel-row td,
.lab-section-row td,
.lab-panel-row td {
	background: var(--emr-color-accent-bg);
	border-bottom: 1px solid rgba(102, 126, 234, 0.15);
	padding: 5px 8px;
	font-weight: 600;
	color: #334155;
}

.emr-data-table__notes-row td,
.lab-results-table .lab-notes-row td,
.lab-notes-row td {
	background: var(--emr-color-surface-muted);
	color: var(--emr-color-text-subtle);
	font-size: 12px;
	padding: 3px 8px 3px 20px;
}

.emr-data-table td font[color="red"],
.emr-data-table td font[color=red],
.lab-results-table td font[color="red"],
.lab-results-table td font[color=red] {
	color: var(--emr-color-danger-dark) !important;
	font-weight: 600;
}

.emr-abn-flag,
.lab-results-table .lab-abn-flag {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 5px;
	border-radius: var(--emr-radius-xs);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	background: var(--emr-color-danger);
	vertical-align: middle;
}

.emr-abn-flag--critical,
.lab-results-table .lab-abn-flag.lab-abn-flag-critical {
	background: #991b1b;
}

.emr-pre,
.emr-data-table .pret,
.lab-results-table .pret {
	font-family: var(--emr-font-mono);
	font-size: 11.5px;
	white-space: pre-wrap;
	word-break: break-word;
}

.emr-data-table--meta,
.lab-results-meta {
	width: auto;
	margin-bottom: 12px;
}

.emr-data-table--meta th,
.lab-results-meta th {
	background: #f1f5f9;
	color: var(--emr-color-text-muted);
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
	border-bottom: 1px solid var(--emr-color-border);
}

.emr-data-table--meta td:first-child,
.lab-results-meta td:first-child {
	font-weight: 600;
	color: var(--emr-color-text-subtle);
	width: 180px;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Alerts & info boxes                                                */
/* ------------------------------------------------------------------ */

.emr-alert,
.lab-results-alert {
	padding: 8px 12px;
	margin-bottom: 12px;
	border-radius: var(--emr-radius-sm);
	background: var(--emr-color-danger-bg);
	border: 1px solid var(--emr-color-danger-border);
	color: #991b1b;
	font-size: 12px;
}

.emr-info-box,
.lab-results-extra {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: var(--emr-radius-sm);
	background: var(--emr-color-surface-muted);
	border: 1px solid var(--emr-color-border);
	color: var(--emr-color-text-muted);
	font-size: 12px;
}

#accordion h2 {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin: 12px 0 8px;
}

/* ------------------------------------------------------------------ */
/* Lab trends dialog (content area; titlebar in main.css)             */
/* ------------------------------------------------------------------ */

.lt-trends-dialog .ui-dialog-content {
	padding: 0;
	overflow: hidden;
}

.lt-trends-dialog iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ------------------------------------------------------------------ */
/* Print                                                              */
/* ------------------------------------------------------------------ */

@media print {
	.emr-floating-toolbar,
	.lab-results-toolbar {
		display: none;
	}

	.emr-data-table,
	.lab-results-table {
		box-shadow: none;
	}

	.emr-data-table th,
	.lab-results-table th {
		background: var(--emr-color-border) !important;
		color: var(--emr-color-text) !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
body {
	font-family:VarelaRound;
	background-color:#d7dadf;
    background-repeat: no-repeat;
    background-size: cover;
	background-position:bottom right;
	background-image:url('../css/images/backgrounds/bckgrd_grey.jpg');}
.background_overlay {
	height:100%;
	background-color:#d7dadf;
	background-image:none;
	margin:0px;
	padding:0px;
}
.ui-dialog,.dialog_background {
	background-color:#a5a8b2;
	background-image:none;
}
.enc_nav_item,thead,#clinicPane,.chartHeader,#searchHeader,#newPtHeader,#chartBody,#chartBodyRight,#leftMenuPane,.nifty_big,div#encounter_body, #encounter_header,  #encounter_data,div.emrSlideOut,#sys_leftSidebar,.menuItem,.mainHeader,#mainBody,div.outerBox,#patientSummary,.dispHeader,#container,#ptact_actionContent {
	background-color:#a5a8b2;
}
#dashboardFilters,#header_overlay,#quickLinksPane {
	background-color:#71737a;
}
#encTab_submenu,.tabdata,#encTabs li#current,#sys_mainBody,#rightpane {
	background-color:#d7dadf;
}
div.bottom-rounded,div.ui-img_logout a,div.ui-img_settings a{
	color:#f5fafe !important;
}
#enc_menubar {
	background-color:#a5a8b2;
}
#enc_body {
	background-color:#d7dadf;
}
.enc_nav_item,.segmentBoxHeader,.ui-dialog-titlebar,#icomHandle,.menuPaneOption,.chartHeader,#clinicFilters,#sys_leftSidebarContainer,.login_label {
	color:#FFFFFF;
}
#imedLogo div {
	background-image: url("../css/images/logos/Infinx EHR White.svg");	background-repeat: no-repeat;
	background-size:contain;
	width: 280px;
	height: 40px;
	margin: 0 0 0 10px;
	padding: 0;
}
#imedLogo div span {
	padding-left:125px;
	line-height:75px;
	font-size:.5em;
	color:rgba(255,255,255,0.7);
}
#imed_login_logo {
	background-image: url("../css/images/logos/Infinx EHR White.svg");	background-repeat: no-repeat;
	background-size:contain;
	height: 90px;
	width:300px;
	margin: 0;
	padding: 0;
	display:inline-block;
	text-align:left;
}
#imed_login_logo span{
	font-family: 'Roboto', sans-serif;
	padding-left:265px;
	line-height:160px;
	font-size:.8em;
	font-weight:bold;
	color:rgba(0,0,0,0.8);
}
.fake_pass_input { -webkit-text-security: disc; }
.loginBoxColor {
	background-color:#a5a8b2;
}