 
/* @group Colorss */
@red-lightest: rgba(237,50,83,1);
@red-lighter: rgba(235,27,63, 1);

@red: rgba(194, 17, 48, 1);
@ltgray: rgba(224, 224, 224, 1);
@medgray: rgba(153, 153, 153, 1);
@drkgray: rgba(102, 102, 102, 1);
@bgwhite: rgba(245, 245, 245, 1);
@black: rgba(0, 0, 0, 1);

/* @end */

html {
	height: 100%;
}

body {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	background: url("../images/concrete.jpg") repeat left top;
	margin: 0;
	padding: 0;
	height: 100%;
}

#container {
	color: @drkgray;
	padding: 0 20px 20px;
	font-weight: 200;
	min-height: 100%;
	position: relative;
}

#content {
	padding: 10px;
	padding-bottom: 100px;
}

footer {
	color: @medgray;
	font-size: .8em;
	width: 100%;
	position: absolute;
	bottom: 0;
	height: 40px;
	padding-left: 10px;
}


h2, h3, h4, h5, h6 {
	font-family: 'IM Fell English', serif;
	margin: 0 0 20px 0;
}

h2 {
	font-size: 1.5em;
	color: #444;
	text-shadow: 0 1px rgba(255,255,255,1.0);
}

h3 {
	font-size: 1.3em;
}

a {
	color: @black;
}

a:hover {
	color: @drkgray;
}

#logo {
	background: url("../images/logo-med.png") no-repeat left top;
	height: 98px;
	width: 275px;
	float: left;
}


header {
	height: 100px;
	padding-bottom: 10px;
	padding-top: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid @medgray;
	background: transparent url("../images/header_bg2.jpg") no-repeat left top;
}

#headerLinks {
	margin: 10px 0;
	background: none;
	float: right;
}

#headerLinks li {
	display: inline-block;
	color: @medgray;
	border: none;
}

#headerLinks a {
	text-decoration: none;
	text-shadow: 0 1px rgba(255,255,255,1.0);
	font-size: .9em;
}

nav {
	height: 36px;
	float: right;
	clear: right;
}

nav ul {
	color: @drkgray;
	text-shadow: 0 1px rgba(255,255,255,1.0);
	background: #f5f5f5 url('../images/body.png') left top ;
	border-radius: 6px;
	padding: 10px;
	float: right;
}

.userMenu {
	margin-left: -17px;
}

nav a {
	text-decoration: none;
}

/*nav a:hover {
	color: #c21130;
}*/

nav li {
	display: inline-block;
	padding: 0 10px	;
	border-right: 1px solid @medgray;
}


.userMenu li:last-child, .basicMenu li:last-child {
	border-right: none;
}

.basicMenu li:first-child {
	font-weight: bold;
}

.buttonset {
	margin: 20px 0;
}

.buttonPrimary {
	font-size: 15px !important;
	border-radius: 3px;
	padding: 8px 10px;
	margin: 10px 0;
	text-shadow: 0 0 1px #fff;
	font: inherit;
	font-weight: inherit;
	border: solid 1px @medgray;
	background: rgb(238,238,238); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(204,204,204,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-8 */
	
}

.buttonPrimary:hover {
	color: @drkgray;
}

.buttonSecondary {
	display: inline-block;
	margin-left: 5px;
	font-size: .9em;
	text-decoration: underline;
}

.slate {
	box-shadow: 0px 1px 10px 0 rgba(0, 0, 0, 0.15);
	background: #f5f5f5;
	padding: 15px;
	border-radius: 5px;
}

/* @group Form Elements */

/*#userInfo {
	float: left;
	padding-right: 40px;
}*/

legend {
	padding-bottom: 10px;
}

span.error, p.error, label.error {
	color: white;
	background: red;
	font-size: 12px;
	padding: 3px 5px;
	display: inline-block;
	width: 218px;
	line-height: 1.4em;
}

label.error.checked {
	padding: 0;
	margin: 0;
	background: none;
	line-height: 0;
	width: 0;
	height: 0;
}

label {
	font-size: 15px;
}

form div {
	padding-bottom: 10px;
}

textarea, input[type="text"], input[type="password"], input[type="tel"], select {
	display: block;
}

input[type="text"]:required {
	
}

.required {
	font-weight: 400;
}

#loginForm input[type="text"], #loginForm input[type="password"] {
-moz-border-bottom-colors: none;
-moz-border-image: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: transparent;
border-style: none none solid;
border-width: 0 0 1px;
border-color: @medgray;
color: @drkgray;
font-size: 16px;
margin: 2px 0 15px;
outline: medium none;
padding: 5px 3px;
width: 250px;
}

#siteLogin, #patient-info {
	width: 300px;
	margin: 0 auto;
}

#siteLogin {
	margin-bottom: 40px;
}


#patient-info a {
	text-decoration: underline;
}

#registerLink {
	font-size: 14px;
}

.registerLink {
	font-weight: bold;
	color: @red-lighter;
}

#uploadCSV, #addHerb, #editHerb {
	width: 300px;
	margin: 0 auto;
}

#refill {
	width: 400px;
	margin: 0 auto;
}

#refill input, #refill select {
	width: 200px;
	margin-bottom: 20px;
}

#refill input[type="radio"] {
	width: 15px;
	font-size: 14px;
	margin-bottom: 5px;
}

.note {
	font-size: .8em;
	display: block;
}

#confirmOrder {
	width: 600px;
	margin: 0 auto;
}

#confirmOrder div {
	margin-bottom: 20px;
}

#confirmOrder h4 {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin-top: 10px;
	margin-bottom: 5px;
	border-bottom: solid 1px #D0D0D0;
	padding-bottom: 5px;
}

#confirmOrder th {
	text-align: left;
	width: 133px;
	font-weight: normal;
	color: @medgray;
}

#submitFormula {
	margin: 40px 0;
	height: 20px;
}

/* @end */

/* @group Data Tables Overrides */

.dataTables_wrapper {

}

.dataTables_filter input, 
.dataTables_length select {
	display: inline;
}

.dataTables_filter, .dataTables_length {
	height: 22px;
	padding: 10px;
}

.dataTables_info, .dataTables_paginate {
	height: 25px;
	line-height: 25px;
	padding: 10px;
}

table td input[type="text"] {
	display: table-cell;
}

.action {
	padding: 0 !important;
	width: 15px;
}

.nohead {
	width: auto !important;
	padding: 0 !important;
}

table.display thead th {
	text-align: left;
	font-weight: normal !important;
	border-top: 1px solid @ltgray;
	border-bottom: 1px solid @ltgray !important;
	background: rgb(255,255,255); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2VkZWRlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(243,243,243,1)), color-stop(51%,rgba(237,237,237,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
	
}

table.display td {
	vertical-align: middle;
	padding: 10px 5px !important;
	white-space: nowrap;
	font-size: 15px;
}

table.display thead tr {
	background: #f5f5f5;
}

.paging_full_numbers span.paginate_button {
	background: white;
}

.paging_full_numbers span.paginate_button:hover {
	background: @ltgray;
}

.paging_full_numbers span.paginate_active {
	background-color: @medgray !important;
	color: white;
}

/* @end */

/* @group View Herbs */


.editHerb, .editUserLink {
	display: block;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
	background: url('../images/sprites.png') no-repeat -59px -2px;
}

.deleteHerb, .deleteUser {
	display: block;
	margin-left: 5px;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
	background: url('../images/sprites.png') no-repeat -84px -2px;
}

#deleteHerb {
	width: 300px;
	margin: 40px auto;
}

#delete-user {
	padding: 10px;
	padding-bottom: 20px;
	width: 500px;
	margin: 0 auto;
}

/* @end */

/* @group Create Formula */

#herbOrder {
	width: auto;
}

.instructions {
	margin-bottom: 20px;
}

.instructions #hide {
	text-decoration: underline;
}

.instructions #hide:hover {
	color: @black;
	cursor: pointer;
}

.instructions ol {
	margin-left: 20px;
	display: none;
}

.instructions li {
	list-style: decimal;
	
}

.orderTable th {
	text-align: left;
	font-weight: 500;
}

.orderTable tr {
	height: 30px;
}

.removerow {
	display: block;
	margin-left: 5px;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
	background: url('../images/sprites.png') no-repeat -104px -4px;
}

.removerow:hover {
	background-position: -124px -4px;
}

tr.validationIssue {
	border: @red solid 2px;
}

tr.validationIssue .quantity input {
	background-color: @red-lightest;
	display: inline-block;
}

.orderTable tr.header {
	height: 25px;
}

.orderTable th {
	font-weight: normal;
	font-size: 14px;
}

.brand select {
	width: 120px;
}

.subtotalRow td {
	text-align: right;
}

.practitionerDiscount select {
	position: relative;
	right: 0;
}

.addRow.buttonPrimary:hover {
	cursor: pointer;
}

/* @end */

#newuser, #newherb {
	margin-bottom: 20px;
	height: 29px;
	line-height: 25px;
}

/*#newuser a {
	border: solid @drkgray 2px;
	padding: 5px 10px;
	background: @drkgray;
	color: white;
}*/

.message {
	position: relative;
	background: #9F9;
	padding: 10px;
	min-height: 18px;
	width: 600px;
	margin: 0 auto 20px;
}

.message .close {
	background: transparent url('../images/sprites.png') no-repeat -104px -4px;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
	margin-top: -14px;
	position: absolute;
	right: 10px;
	top: 20px;
}

.message .close:hover {
	background-position-x: -124px;
	cursor: pointer;
}

.message p {
	width: 550px;
	margin-bottom: 10px;
}

/* @group jQueryUI Overrides */

.ui-widget {
	font-size: .9em !important;
	font-family: 'Helvetica Neue', Arial, sans-serif !important;
}

.ui-state-hover {
	background: @ltgray !important;
}

/* @end */

.help {
	font-size: 13px;
	margin-bottom: 10px;
	background-color: #D9EDF7;
	border: 1px solid #BCE8F1;
	border-radius: 3px;
	padding: 5px;
	margin-top: 5px;
	width: 287px;
}

#id-help {
	margin-bottom: 0;	
}

#input-formulaID {
	margin-bottom: 0 !important;
	display: inline;
	width: 100px !important;
}

#refill-type {
	margin-bottom: 10px;
}

strong {
	font-weight: bold;
}

select.error {
	background: @red-lightest;
	color: white;
}

/*404*/

#content.error {
	width: 282px;
	margin: 0 auto;
}

.error h1 {
	font-size: 8em;
	font-family: 'IM Fell English', serif;
	color: @red;
	text-align: center;
}

.error h2 {
	text-align: center;
}