body {
    margin: 0; 
    padding: 0; 
    background: #f5f5f5; 
    text-align: center;
    font: 1.1em Verdana;
    line-height: 20px;
    color: #666;
}
table {
	width: 670px;
	border-collapse:collapse;
    	text-align: left;
}

#header {
    width: 800px; 
    height: 111px;
    margin: 10px auto; 
    text-align: left; 
    margin-bottom: 0;
}

#login {
	width: 700px;
	height: 20px;
	margin: 10px auto; 
	text-align: right;
	top: 90px;
	position: relative;
	font-size: 0.7em;
	font-weight: bold;
}

#main {
    width: 770px; 
    margin: 0px auto;
    padding-bottom: 10px;
    background: url(Box-Middle.png) repeat-y top center; 
    border-bottom: 1px solid transparent;
}

.content-mat {
    padding: 15px 15px 0px 30px;
    margin: auto;
    background: none;
}

#main h1 { font-size: 10pt; margin: 0px; padding: 0px; padding-top: 6px; padding-bottom: 4px;}
#main h2 { font-size: 10pt; margin: 0px; padding: 0px; padding-top: 6px; padding-bottom: 4px;}
#main h3 { font-size:  9pt; margin: 0px; padding: 0px; padding-top: 6px; padding-bottom: 4px;}
#main h4 { font-size:  8pt; margin: 0px; padding: 0px; padding-top: 6px; padding-bottom: 4px;}


#content {
    float: left;
    width: 700px; 
    text-align: justify;
    border: 1px solid #00f; 
}

div.clearer{
    clear: both; 
    display: block; 
    margin: 0; 
    padding: 0; 
    height: 0; 
    line-height: 1px; 
    font-size: 1px;
}

.menubar {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 1em;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #64C570;
}

.menubar ul {
    list-style: none;
    text-indent: 0px;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: default;
}

.menubar ul li {
    display: inline;
    padding-left: 1px;
    padding-right: 1px;
    margin-left: 3px;
    margin-right: 3px;
}
.menubar ul li a:hover {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
.menubar .selected
{
	padding-top: 13px;
	padding-bottom: 13px;
	background-color: #439D54;
}

.vspace { 
	margin-top: 6px;
	margin-bottom: 6px;
}
p.vspace {
	padding-top: 3px;
	padding-bottom: 3px;
}

a { 
	text-decoration:none; 
	color: #00f; 
}
a:visited { 
	text-decoration:none; 
	color: #00f; 
}
a:active { 
	color: #00f; 
}


#text {
    margin-top: 12px;
    margin-bottom: 12px;
    font-family: monospace;
}

hr {
    border: 0px;
    height: 1px;
    background-color: #ccc;
    color: #ccc;
}

p {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0px;
}

#messages {
	border: 1px solid #00f;
	visibility: hidden;
	display: none;
}
#errors {
	padding: 10px;
	border: 1px solid #f00;
	visibility: hidden;
	display: none;
}

#footer {
    background: url(Box-Bottom.png) no-repeat top center; 
    width: 770px; 
    height: 40px;
    border: 1px none #ccc; 
    margin: 0px auto;
    padding: 0px 0px 8px 0px auto;
}

#copyright {
    margin-left: 12px;
    margin-right: 12px;
    border-top: 1px solid #ccc;
    font-size: 9px;
}

.requiredAsterisk
{
	color: #f00;
}
#orders {
	width: 600px;
	text-align: center;
}
#medicines {
	width: 700px;
}
.table_small {
	width: 700px;
	font-size: 9px;
}
.up {
	background: url(graphics/up.jpg) no-repeat center center;
	vertical-align:middle;
	width: 20px;
    	height: 20px;
    	padding: 5px;
    	display: inline;
}
.down {
	background: url(graphics/down.jpg) no-repeat center center;
	vertical-align:middle;
	width: 20px;
    	height: 20px;
    	padding: 5px;
    	display: inline;
}
.good {
	color: green;
}
.bad {
	color: red;
}
.clear {
    background-color: #f5f5f5;
}
.dark {
    background-color: #ddd;
}
