@font-face {
    font-family: 'OpenSansLight';
    src: url('font/OpenSans-Light-webfont.eot');
    src: url('font/OpenSans-Light-webfont.eot') format('embedded-opentype'),
         url('font/OpenSans-Light-webfont.woff') format('woff'),
         url('font/OpenSans-Light-webfont.ttf') format('truetype'),
         url('font/OpenSans-Light-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'OpenSansRegular';
    src: url('font/OpenSans-Regular-webfont.eot');
    src: url('font/OpenSans-Regular-webfont.eot') format('embedded-opentype'),
         url('font/OpenSans-Regular-webfont.woff') format('woff'),
         url('font/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('font/OpenSans-Regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'OpenSansItalic';
    src: url('font/OpenSans-Italic-webfont.eot');
    src: url('font/OpenSans-Italic-webfont.eot') format('embedded-opentype'),
         url('font/OpenSans-Italic-webfont.woff') format('woff'),
         url('font/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('font/OpenSans-Italic-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'OpenSansSemibold';
    src: url('font/OpenSans-Semibold-webfont.eot');
    src: url('font/OpenSans-Semibold-webfont.eot') format('embedded-opentype'),
         url('font/OpenSans-Semibold-webfont.woff') format('woff'),
         url('font/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('font/OpenSans-Semibold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'OpenSansBold';
    src: url('font/OpenSans-Bold-webfont.eot');
    src: url('font/OpenSans-Bold-webfont.eot') format('embedded-opentype'),
         url('font/OpenSans-Bold-webfont.woff') format('woff'),
         url('font/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('font/OpenSans-Bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	font: 13px 'OpenSansRegular', sans-serif, Helvetica, Tahoma, Verdana, Arial;
	
	/*background:#f5f5f5;*/
}
/*
a {
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}*/
/* Begin of styles for the demonstration (you can remove them) */
a.expand {
	width: 150px;
	display: block;
	margin: 10px 0 0;
}
a.expand:hover {
	height: 500px;
}
/* End of of styles for the demonstration */
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;	
}
/*input[type="text"]{
	width:150px;
}
input[type="email"]{
	width:150px;
}
input[type="password"]{
	width:150px;
}
*/
input.bill_cost, input#bill_discount, input#bill_tot_cost{
	width:80px;	
}

input.date{
	width:70px;
}
#wrapper {
	width: 980px;
	margin: 0 auto;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 40px;
	min-height:39px;
	background: #02822f;
	vertical-align:middle;
}

#titlebar{
	width:150px;
	background: #02822f;
	float:left;
	padding:2px;
	color:#ffffff;
}
#searchbar{
	width: 400px;
	height:28px;
	background: #02822f;
	float:left;
	padding:5px;
	text-align:center;
}

#menubar{
	width:395px;
	height:38px;
	background: #02822f;
	float:right;
	vertical-align:middle;
}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	border-right: 1px solid #A8A8A8;
	border-left:1px solid #A8A8A8;
	min-height:730px;
	height: 1%;
	position: relative;
	background:white;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#login-middle {
	border-right: 0px solid #FFACAA;
	min-height:680px;
	height: 1%;
	position: relative;
	background: white url("/images/map.png") right center no-repeat;
}
#login-middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 828px;
	float: left;
	overflow: hidden;
	margin-right: 0px;
}
#login-container{
	width: 600px;
	float: left;
	overflow: hidden;
	margin-right: 0px;
	min-height:600px;
}
#wide-container {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-right: 0px;
}
#content {
	/*padding: 20px 20px;*/
}


/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: right;
	/*border-right: 1px solid #f5f5f5;*/
	width: 140px;
	position: relative;
	background: #fff;
	padding:60px 5px 20px 5px;
}

#loginSidepane {
	float: right;
	top:180px;
	width: 370px;
	min-height:400px;
	position: relative;
	background: transparent;
	padding:5px;
	vertical-align:middle;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	height: 40px;
	background: inherited;
	border-top:1px solid #ABABAB;
}
/* No Script
-----------------------------------------------------------------------------*/
#noscript_error{
	position: relative;
	width: 100%;
	height:30px;
	background-color: red;
	color: white;
	font-family: arial, sans-serif;
	font-weight:bold;
	font-size:14px;
	text-align:center;
	vertical-align:middle;
}

/* html elements
------------------------------------------------------------------------------*/
.page_title{
	font-size: 22px;
	font-weight: normal;
	line-height: 22px;
	margin-bottom: 10px;
}

h3.search_style {
	font-size: 16px;
	font-weight: normal;
	line-height: 20px;
}
a img {
	border: none;
}

a {
	color: #777;
}

/* for all input textboxes*/
.txtbx{
	outline:none;
	border:1px solid #a8a8a8;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	height:22px;
}

.txtbx:disabled{
	background: #cccccc;
}

.txtbx_span
{
	background: #f5f5f5;
	border:1px solid #a8a8a8;
	height:20px;
	vertical-align: middle;
	padding: 1px;
}

.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}

.fieldWithErrors {
	display: inline;
}

.fieldWithErrors, .message {
	font-size: 12px;
	color: #d00;
	padding-left: 3px;
}

.error_messages {
	/*width: 400px;*/
	border: 1px solid #DD1144;
	padding: 0px;
	padding-bottom: 12px;
	margin-bottom: 20px;
	background-color: #f0f0f0;
	font-size: 12px;
}

.error_messages h2 {
	text-align: left;
	font-weight: bold;
	padding: 0px 10px;
	font-size: 12px;
	margin: 0;
	background-color: #DD1144;
	color: #fff;
}

.error_messages p {
	margin: 8px 10px;
	font-weight:bold;
}

.error_messages ul {
	margin: 25px;
}

.date_select select{
	font-family: 'Open Sans', sans-serif, Helvetica;
	font-size: 12px;
	color: black;
	min-width:40px;
}
.nhs_select {
	font-family: 'Open Sans', sans-serif, Helvetica;
	font-size: 12px;
	color: black;
	width: 188px;
	margin-bottom: -18px;
}

input, textarea {
	font-family: 'Open Sans', sans-serif, Helvetica;
	font-size: 12px;
	color: #000000;
}

form textarea {
	border: 1px solid #A5C2C8;
	padding: 5px 5px 5px 5px;
	margin: 0 0 5px 0;
	width: 210px;
	height: 60px;
}

.flash_notice, .flash_info, .flash_success, .flash_warning, .flash_alert, .flash_error, .validation {
	border: 1px solid;
	margin: 10px 0px;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
}

.flash_notice, .flash_info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('/images/info_ico.png');
}

.flash_success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url('/images/success_ico.png');
}

.flash_alert, .flash_warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('/images/warning_ico.png');
}

.flash_error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('/images/error_ico.png');
}

.validation {
	color: #D63301;
	background-color: #FFCCBA;
	background-image: url('/images/error_ico.png');
}

.form_changes {
	background-color: #F0F0F0;
	color: #000000;
}

input#searchInput {
    background-color: #FFF;
    border:solid 1px #FFF;
    border-radius:2px;
  	-moz-border-radius: 2px;
  	-webkit-border-radius: px;
    direction: ltr;
    font-size: 14px;
    margin: 0;
    outline: medium none;
    padding: 0.2em 0 0.2em 0.2em;
    position: relative;
    width:290px;
}

.searchButton{
	background: url(/images/search1.png) no-repeat;
	color: transparent;
	display: inline-block;
	height: 18px;
	width: 17px;
	cursor:pointer;
	position:relative;
}

#ajaxSpinnerContainer {
	display: none;
	position: absolute;
	width: 105px;
	height: 84px;
	left: 50%;
	top: 30%;
	text-align: center;
	vertical-align: middle;
	background: transparent url('/images/loading_bg.png') no-repeat top left;
	z-index: 1000;
}

#sq-form-fields {
	margin: 0 auto;
	width:90%;
	text-align: left;
	border: 1px solid #ccc;
	padding: 15px;
	background: #f5f5f5;

	 behavior: url(ie-css3.htc);
}
/*
#search-form, #form-fields {
	margin:5px;
	text-align: left;
	border: 1px solid #ccc;
	background: #f5f5f5;
	border-radius: 10px;
	-ms-border-radius:10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0 0 4px #ccc;
	-ms-box-shadow:0 0 4px #ccc;
	-webkit-box-shadow: 0 0 4px #ccc;
	-moz-box-shadow: 0 0 4px #ccc;
	 behavior: url(ie-css3.htc);
}
*/
.reset_button {
	width:20px;
	height:20px;
	font-size: 0px;
	border: 0px;
	background: transparent url('/images/reset_ico.jpeg') no-repeat;
}
/*
#search-form {
	padding: 5px;
}

#form-fields{
	padding: 15px;
}

#search-form input[type="text"]{
	height: 25px;
	margin: 5px;
}

#form-fields input[type="text"]{
	height: 25px;
}

#form-fields select{
	height: 25px;
}
*/
/*
#search_submit {
	border: 1px outset buttonface;
	padding: 4px;
	text-align:center;
	line-height:24px;
	vertical-align:bottom;
	text-decoration:none;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	color: #FFFFFF;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	text-indent: 12px;
	background-color: #357AE8;
	background: left #357AE8 url('/images/view.png') no-repeat;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#4D90FE),to(#357AE8));
	background-image: -webkit-linear-gradient(top,#4D90FE,#357AE8);
	background-image: -moz-linear-gradient(top,#4D90FE,#357AE8);
	background-image: -ms-linear-gradient(top,#4D90FE,#357AE8);
	background-image: linear-gradient(top,#4D90FE,#357AE8);		
}*/

#cancel_button{
/*	border: 1px outset buttonface;
	padding: 4px;
	display:inline-block;
	line-height:24px;
	width:60px;
	height:19px;
	vertical-align:bottom;
	text-align:left;
	text-decoration:none;
	font-weight:bold;
	text-shadow: 0 1px rgba(0, 0, 0, 0.3);	
	color: #ffffff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	text-indent: 12px;
	background-color: #D14836;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#D14836),to(#D14840));
	background-image: -webkit-linear-gradient(top,#D14836,#D14840);
	background-image: -moz-linear-gradient(top,#D14836,#D14840);
	background-image: -ms-linear-gradient(top,#D14836,#D14840);
	background-image: linear-gradient(top,#D14836,#D14840);
	cursor: default;*/
}

.title-blur {
	color: #AAAAAA;
	text-align: left;
}

#close_flash {text-decoration: none;}

/*.disabled {
	visibility: hidden;
}*/

.bold{
	font-weight: 600;
}

.grace {
	border-collapse: collapse;
	border: 1px solid #C7BA99;
}

table.grace thead th{
	border-collapse: collapse;
	border: 1px solid #C7BA99;
}

div#elegance table{
	border-collapse:collapse;
	border:0px;
}

div#div-search-form table{
	border-collapse:collapse;
	border:0px;
}

div#form-fields table{
	border-collapse:collapse;
	border:0px;
	line-height: 3;
}
	
.highlight-row{
	  border-bottom:1px solid #C7BA99;
}

table.grace thead{
	background-color: #D14836;
	color: #fff;
}
table.grace thead,th{
	vertical-align: middle;
	text-align: center;
}

table.grace th,td{
	
}

table.grace thead th{
	vertical-align: middle;
	text-align: center;
}
table.grace {
	table-layout: fixed;
}

table.grace-100 {
	width:100%;
}

table.grace-80 {
	width:80%;
}

table.grace-60 {
	width:60%;
}

table.grace-50 {
	width:50%;
}

table.grace th,td{
	display: table-cell;
	padding:5px;
	word-wrap: break-word;
}

table.grace td table td{
	border: 1px solid #C7BA99;
}

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

th.center, td.center {text-align: center;}

.sort_link{
	color: #FFFFFF;
}

.sort_link:hover { 
	color: #c2ac94;
}

.laborderstatus-new
{
	font-weight: bold;
	background: #f5f5f5;
}

.records-active
{
	font-weight: bold;
	background: #f5f5f5;
}

.habits-active, .disease-active {
	font-weight:bold;
	color:#b72f2d;
}

.txtbx_label{
	border:0px;
	background:transparent;
	cursor: default;
	margin-left: 20px;
}
.label_txtbx{
	cursor: default;
	width:160px;	
	display: block;
	vertical-align: middle;
	outline:none;
	border:1px solid #a8a8a8;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 4px;
	min-height:16px;
	background: whitesmoke;
}

.no-side-border{
	border-left: 0px !important;
	border-right: 0px !important;	
}
.sno{
	width:35px;
	/*text-align:center;
	padding:0px !important;*/
}

.instructions, .findings, .plan {
	padding: 15px;
}
.instructions ol, .findings ol, .plan {
	padding-left: 30px;
}
.emr-title{
	font-size: 20px;
	font-weight: normal;
	margin-bottom: 5px;
}
.emr-subtitle{
	font-size:18px;
	font-weight:lighter;
	margin-bottom:5px;
}
.emr-data{
	font-size: 13px;
	font-weight:lighter ;
}
.emr-grace {
	border-collapse: collapse;
	border: 1px solid #C7BA99;
	padding: 5px;
}

.emr-header {
	background-color: #f5f5f5;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
	background-image: -webkit-linear-gradient(top,#f5f5f5,#e8e8e8);
	background-image: -moz-linear-gradient(top,#f5f5f5,#e8e8e8);
	background-image: -ms-linear-gradient(top,#f5f5f5,#e8e8e8);
	background-image: linear-gradient(top,#f5f5f5,#e8e8e8);
}

.whitesmoke-bg
{
	margin:10px 0px;
	text-align: left;
	border: 1px solid #ccc;
	background: #f5f5f5;
	border-radius: 10px;
	-ms-border-radius:10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0 0 4px #ccc;
	-ms-box-shadow:0 0 4px #ccc;
	-webkit-box-shadow: 0 0 4px #ccc;
	-moz-box-shadow: 0 0 4px #ccc;
	 behavior: url(ie-css3.htc);
}

.no-border {
	border:0px !important;
}
.no-border th {
	border:0px !important;
}

.round-border {
	border:1px solid #CCCCCC;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;	
}

table.no-border td table td{
	border:0px !important;
}

#emr-submit {
	display:block;
	border:0px;
	height:16px;
	width:16px;
	color: #FFFFFF;
	background: url('/images/save.png') no-repeat;		
}
.emr-data-table tr td {
	font-size: 13px;
	font-weight: lighter;
}
.tbl-ui-facelift-1 tr td:first-of-type
{
	padding-right: 15px;
	font-weight:bold;
	text-align:right;
	line-height:1.8;
	vertical-align:text-top;
}
.tbl-ui-facelift-2 tr
{
	border-bottom: 1px dotted #a8a8a8;
}
.lab-test-result-abnormalities{
	padding: 1px 2px 1px 2px;
	color:#F0F0F0;
	text-align: center;
	background-color:#D14836;
	border: 1px solid #cc3333;
}

.scheduled-drug-type {
	padding: 1px 2px 1px 2px;
	color:#F5F5F5;
	text-align: center;
	background-color:#EA3C53;
	border: 1px solid transparent;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	display: inline-block;
	font-size: 10px;
	line-height: 18px;
	text-align: center;
	text-transform: uppercase;
}

.right{
	text-align:right;
}
.left{
	text-align:left;
}
.center{
	text-align:center;
}