* {margin:0;padding:0;}
html, body {height:100%;}
*:focus {outline:none;}
body {
	font: 13px/1.5 "Trebuchet MS", "Geneva CE", lucida, sans-serif;
	color: #333;
	background: #EBEBEB;
	text-align: center;
}
a {
	color: #165ca3;
}
h2 {
	color: #165ca3;
}
#loginWrapper {
	position: relative;
	width: 300px;
	margin: 0 auto;
	margin-top: 15%;
	text-align: left;
	border: 2px solid #CCC;
	background: #FFF url(../images/lock.jpg) right center no-repeat;
	padding: 25px 40px;
}
#loginWrapper #snippet--flashMessage {
	position: absolute;
	width: 400px;
	top: -80px;
	left: -10px;
}
#loginPromo {
	position: relative;
	margin-top: -25px;
	bottom: -60px;
	width: 400px;
}
#loginPromo img {
	position: relative;
	top: 3px;
}
#wrapper {
	position: relative;
	width: 970px;
	margin: 0 auto;
	text-align: left;
	border-left: 1px solid #BCBCBC;
	border-right: 1px solid #BCBCBC;
	background: #FFF;
	padding: 0 10px;
}
body>#wrapper {height:auto;min-height:100%;}
#navigation {
	position: relative;
	list-style-type: none;
	padding-top: 8px;
}
#navigation li {
	display: inline;
}
#navigation a {
	position: relative;
	width: 90px;
	padding: 8px 15px;
	margin: 0 15px 10px 0;
	border: 1px solid #14ABF8;
	background: url(../images/th-bg.gif) no-repeat;
	color: #165ca3;
	text-decoration: none;
	font-weight: bold;
	float: left;
	text-align: center;
}
#navigation a#linkLogout {
	float: right;
	margin-right: 0px;
}
h1 {
	font-size: 130%;
	color: #165ca3;
	margin-bottom: 10px;
}
#content {
	position: relative;
	clear: both;
	padding-bottom: 90px;
}
#content h1 {
	border:1px solid #14ABF8;
	padding:5px 10px;
	font-weight:bold;
	background:url(../images/th-bg.gif);
	clear: both;
}
div.contentBorderBox {
	position: relative;
	width: 948px;
	border:1px solid #14ABF8;
	padding:10px;
	clear: both;
	background:#BDEDFF;
}
a.linkAdd {
	position: relative;
	margin-top: -38px;
	right: 20px;
	float: right;
	padding-left: 24px;
	text-decoration: none;
	background: url(../images/add.png) left 3px no-repeat;
	text-decoration: underline;
}
a.linkBack {
	position: relative;
	margin-top: -38px;
	right: 20px;
	float: right;
	padding-left: 24px;
	text-decoration: none;
	background: url(../images/back.png) left 3px no-repeat;
	text-decoration: underline;
}
a.linkCreatePdf {
	position: relative;
	right: 10px;
	float: right;
	margin-top: -40px;
	border:1px solid #14ABF8;
	padding:5px 10px 5px 32px;
	font-weight:bold;
	background: #FFF url(../images/pdf.gif) 8px 7px no-repeat;
	text-decoration: none;
}
a.linkCreateCsv {
	position: relative;
	right: 10px;
	float: right;
	margin-top: -40px;
	border:1px solid #14ABF8;
	padding:5px 10px 5px 32px;
	font-weight:bold;
	background: #FFF url(../images/csv.png) 8px 7px no-repeat;
	text-decoration: none;
}

#footer {
	position:absolute;
	width:970px;
	bottom:0px;
	left:0px;
	border-top:1px dotted #0097DC;
	padding:10px 0px;
	margin:0 10px;
	text-align:right;
}
#footer img {
	position:relative;
	top:3px;
}

/* Raw Material, Prescription, Supplier */
#PrescriptionItems, #ContactPersons, #BranchOffices {
	position: relative;
	margin-top: 15px;
	padding: 10px;
	border:1px solid #14ABF8;
	background: #FFF;
}
#PrescriptionItems h2, #ContactPersons h2, #BranchOffices h2 {
	display: inline;
	font-size: 15px;
}
#linkAddRawMaterialSupplier, #linkAddRawMaterial, #linkAddContactPerson, #linkAddBranchOffice, #linkAddRawMaterialNutritional,
#linkAddSecondaryCosts, #linkMultiAddRawMaterialNutritional {
	position: relative;
	padding-left: 24px;
	text-decoration: none;
	margin-bottom: 15px;
	display: block;
	background: url(../images/add.png) left 3px no-repeat;
	text-decoration: underline;
	font-size: 13px;
	float: right;
}
#linkMultiAddRawMaterialNutritional {
  margin-right: 15px;
}
table.listItems {
	width: 100%;
	border-collapse: collapse;
	background: #FFF;
	border-bottom:1px solid #14ABF8;
}
table.listItems th {
	border:1px solid #14ABF8;
	padding:5px 10px;
	background:url(../images/th-bg.gif);
	color: #165ca3;
	font-weight: bold;
}
table.listItems td {
	padding: 5px 3px;
}
table.listItems a {
	position: relative;
	top: 4px;
	margin-left: 5px;
}
table.listItems.calculation input[type=text] {
	font-size: 12px;
	text-align: right;
	padding: 2px;
}
#snippet--supplierForm select, #snippet--rawMaterialForm select, 
#snippet--prescriptionForm select {
	width: 250px;
}
optgroup {
	font-style: normal;
}
optgroup option {
	padding-left: 15px;
}

/* Protocol */
.protocolTable {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 10px;
}
.protocolTableNoMargin {
	width: 100%;
	border-collapse: collapse;
}
.ProtocolItems {
	position: relative;
	margin-top: 15px;
	padding: 10px;
	border:1px solid #14ABF8;
	background: #FFF;
}
.ProtocolItems h2 {
	font-size: 15px;
	margin-bottom: 10px;
}
.ProtocolItems h2.noBottomMargin {
	margin-bottom: 0;
}
table.protocolTable th, table.protocolTable td, table.protocolTableNoMargin th, table.protocolTableNoMargin td {
	padding: 5px 3px;
	text-align: left;
}
.ProtocolItems textarea {
	position: relative;
	width: 99.3%
}
td.redFont {
	color: #FF0000;
}


#wrapper .appForm, #wrapper .ajaxAppForm {
	position: relative;
	width: 97.8%;
	background: #FFF;
	border:1px solid #14ABF8;
	padding: 20px 1%;
}
#wrapper .appForm th, #wrapper .ajaxAppForm th {
	width: 120px;
}
.appForm th, .ajaxAppForm th {
	text-align: right;
	font-weight: normal;
	padding: 2px 5px 2px 0;
}
.appForm td, .ajaxAppForm td {padding: 2px 5px 2px 0;}
table.detailItem {
	position: relative;
	padding: 10px;
	border:1px solid #14ABF8;
	background: #FFF;
	width: 100%;
}
table.detailItem td, table.detailItem th {
	padding: 4px 20px 4px 0;
	vertical-align: baseline;
}
tr.dark td, tr.dark th {
	background: #BDEDFF;
}
input[type=checkbox] {
	position: relative;
	top: 1px;
	margin-right: 10px;
}
input[type=text], input[type=password], select, textarea {
	padding: 3px 2px;
	border: 1px solid #CCC;
}
.required input[type=text], .required input[type=password], .required select, input.required {
	border: 1px solid #FF0000;
}
select {
	min-width: 60px;
}
.txtLft, table .txtLft {
	text-align:left;
}
.txtCntr, table .txtCntr, table td.txtCntr, table th.txtCntr {
	text-align:center;
}
.txtRght, table .txtRght, table td.txtRght, table th.txtRght {
	text-align:right;
}
.cleaner {
	position: relative;
	clear: both;
	font-size: 0px;
	height: 0px;
	line-height: 0px;
}
#ajax-spinner {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:#000;
	z-index:10000;
	display: none;
	font-size: 0;
}
#ajax-spinner span {
	position: absolute;
	top:50%;
	left:50%;
	margin:-35px 0 0 -20px;
	width:35px;
	height:35px;
	border:2px solid #666;
	background: #FFF url('../images/spinner.gif') no-repeat 50% 50%;
	z-index:10001;
}
ul.error {
	list-style-type: none;
	margin:0;
	padding:0;
}
ul.error li {
	position:relative;
	margin: 5px 0;
	padding:5px 50px;
	border-top:1px solid #F8DB54;
	border-bottom:1px solid #F8DB54;
	background:#FFFFAA url(../images/flashError.png) 10px center no-repeat;
}
.flash {
	position:relative;
	margin: 10px 0 8px 0;
	padding:14px 50px;
	border-top:1px solid #F8DB54;
	border-bottom:1px solid #F8DB54;
	cursor:pointer;
}
#colorboxWindow .flash {
	position:absolute;
	margin:0px;
	width: 100%;
	top: 0px;
	left: 0px;
}
#colorboxWindow {
	position: relative;
	padding: 20px;
	text-align: left;
	overflow: hidden;
}
.flash.succes {
	background:#FFFFAA url(../images/flashSucces.png) 10px center no-repeat;
}
.flash.info {
	background:#FFFFAA url(../images/flashInfo.png) 10px center no-repeat;
}
.flash.error {
	background:#FFFFAA url(../images/flashError.png) 10px center no-repeat;
}
a img {
	border: none;
}
a[href^="error:"] {
	background: #FF0000;
	color: #FFF;
}
ul.styled li {
    margin-left: 20px;
}
.bold {
  font-weight: bold;
}