/*
 *   CSS Document - Mandometer | Mandobase
 *   Author: Magnus Erkenfelt
 *
 
 *****************************************************************************
 *     COLORS                                                                *
 *****************************************************************************
 Text-color: 		#3b3b3b
 Background-color: 	#f1f1f1
 Header/Link-color: #990000
 Menu-border:		#d1d1d1 / #c1c1c1
 Formobject:		#d1d1d1
 SolidBorder:		#d1d1d1
 
 *****************************************************************************
 *     STANDARD ELEMENTS                                                     *
 *****************************************************************************/

body{
	background: #f1f1f1 url(../images/contentsbg.png) center repeat-y;
	margin: 0px;
	padding: 0px;
	color: #3b3b3b;
	font: 0.7em Verdana, "Microsoft Sans Serif", Arial, Geneva;	
}
body#loginbody{
	background: #f1f1f1;	
}
body#errorbody{
	background: #f1f1f1;	
}
h1, h2, h3, h4 {
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	margin: 0px;
	padding: 0px;
	color: #990000;
}
p {	color: #3b3b3b; margin: 0px; padding: 0px; padding-bottom: 1px; }	
h1 { font-size: 1.4em; } 
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }
h4 { font-size: 0.7em; }
a{
	border-bottom: 1px dotted #3b3b3b;	
	text-decoration: none;	
	color: #3b3b3b;
}
a:hover{ 
	border-bottom: 1px solid #990000;
	color: #990000;	
}
input, select, .short, input.error, input.standard{
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 10px; 	
	border: 1px solid #d1d1d1;
	color: #3b3b3b;
	background-color: #fff;
	width: 14em;
	height: 16px;
	margin: 0px 2px 0px 0px;
	padding: 0px;
}
input.error, input.error:focus, select.error, select.error:focus{
	border: 2px solid #990000;
}
input:focus, select:focus, textarea:focus, .short:focus, input.standard:focus{
	background-color: #f1f1f1;
	border: 1px solid #c1c1c1;	
}
input.checkobj{
	width: 14px;
	height: 14px;
	border: 0px;	
}
textarea, textarea.error{
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 10px; 	
	border: 1px solid #d1d1d1;
	color: #3b3b3b;
	background-color: #fff;
	margin: 2px 2px 0px 0px;
	padding: 0px;
}
textarea.error{
	border: 2px solid #990000;
}
select{
	margin: 0px 2px 0px 0px;
}
table, tr, td, form, label{
	margin: 0px;
	padding: 0px;
	border: 0px;	
}
td{
	padding-right: 2px;
}
tr.light{
	background-color: #f1f1f1;	
}

table.search tr:hover{
	color: #990000;
	background-color: #e1e1e1;
}
table.search tr.head, table.search tr.head:hover{
	color: #990000;
	background-color: #fff;
}

tr.alarmlight{
	background-color: #ff4d4d;
	padding: 3px;		
}
tr.alarmlight a {
	color: white;
}
tr.alarm{
	background-color: #ff8080;	
	padding: 3px;		
}
tr.alarm a {
	color: white;
}



table.search tr.alarm:hover {
	color: #333;
}
table.search tr.alarmlight:hover {
	color: #333;
}
tr.alarm:hover td {
	color: #333;
	background-color: #900;
}
tr.alarmlight:hover td {
	color: #333;
	background-color: #900;
}
tr.alarm:hover, tr.alarmlight:hover{
	color: #333;
}
tr.alarm, tr.alarmlight a:hover{
	color: #333;
}


tr.assesslight{
	background-color: #F9B989;
	padding: 3px;		
}
tr.assesslight a {
	color: white;
}
tr.assess{
	background-color: #F9B585;	
	padding: 3px;		
}
tr.assess a {
	color: white;
}
table.assess tr:hover td {
	color: #333;
}
table.assesslight tr:hover td {
	color: #333;
}
tr.assess:hover, tr.assesslight:hover{
	color: #333;
}
tr.assess, tr.assesslight a:hover{
	color: #333;
}



li.alarm{
	background-color: #ff8080;	
}
li.assess{
	background-color: #F9B585;	
}



dl, dt, dd{
	margin: 0px;
	padding: 0px;
}
dt, dd{
	line-height: 17px;
	height: 19px;
	color: #990000;
	margin: 1px;
}	


/*****************************************************************************
 *     CONTAINERS                                                            *
 *****************************************************************************/

#container{		
	margin: 0px auto;
	padding: 20px 30px 30px 30px;
	width: 940px;
	height: 100%;	
}
#header{ height: 100px; }
#logo_lean{
	background: url(../images/mandolean.gif) top left no-repeat;
	height: 55px;
	text-align: right;
}
#logo_meter{
	background: url(../images/mandometer.gif) top left no-repeat;	
	height: 55px;
	text-align: right;
}
/*.info {	height: 195px; }*/
.info dt{
	clear: both;
	width: 100px;	
}
.info dt.long{
	clear: both;	
	width: 200px;	
}
.info dd{ 
	width: 150px; 
}
.info dd.long{ 
	width: 320px; 
}
.info dd p, .info dd p.short, .info dd p.long{
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 10px; 	
	border: 1px solid #fff;
	border-bottom: 1px solid #d1d1d1;
	color: #3b3b3b;
	width: 130px;	
}
.info dd p.short{ width: 5em; }
.info dd p.long{ width: 28em; }
dd.wide{ width: 16em; }
#footer{	
	margin: 50px auto;
	padding: 20px 30px 30px 0px;
	width: 940px;
	clear: both;
	color: #900;
	font-size: 9px;
}
#editprescription{ 
	visibility: hidden;
	height: 180px;
	width: 270px;
}
#pretable{
	height: 90px;
	width: 100%;	
}
#preinfo{
	height: 90px;	
}
div#login{
	position: relative;
	top: 100px;
	background: #fff;
	width: 300px;
}
div#error{
	position: relative;
	top: 100px;
	background: #fff;
	width: 300px;
}
div#phone{
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 10px; 
	position: relative;
	top: -5px;
	right: 27px;
	width: 23px;	
}
div#orders{	
	width: 100%;
	height: 130px;
	overflow: auto;	
}
/*****************************************************************************
 *     NAVIGATION                                                            *
 *****************************************************************************/
.menu {	
	height: 32px; 
	position: relative; 
	z-index: 100;
	float:left;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
}
.menu ul ul {
	width: 110px;
	padding: 0px;
	margin: 0px;		
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float: left;
	width: 120px;
	position: relative;
	margin: 0px 2px 0px 0px;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	background: #fff url(../images/menubutton.png);
	border: 1px solid #d1d1d1;
	display: block;
	font-size:11px;
	font-weight: bold;
	margin: 3px 5px 0px 0px;
	padding: 5px 0px 5px 8px;
	width: 110px;
	text-decoration:none; 	
}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top: 28px;
	left:0; 
	width:110px;
}
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited, .menu ul ul a.bottom {
	background: #fff;
	height: auto;
	font-weight: normal; 
	line-height: 1em; 
	padding: 5px 5px;
	margin: 0px;
	width: 108px;
	border: 1px solid #990000;
	border-top: 0px;
}
/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color: #990000; 
	background: #f1f1f1;	
}
.menu :hover > a, .menu ul ul :hover > a {
	color:#990000;
	background:#f1f1f1;
	border: 1px solid #990000;
}
.menu ul ul :hover > a{
	border-top: 0px;
}
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
	visibility:visible; 
}
.menufill a,.menufill a:hover{
	background: #fff url(../images/menubutton.png);
	border: 1px solid #d1d1d1;
	display: block;
	font-size:11px;
	font-weight: bold;
	margin: 3px 5px 0px 0px;
	padding: 5px 0px 5px 8px;
	width: 345px;
	text-decoration: none; 	
}
.actions{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0px;
	padding: 5px 0px 0px 0px;
	width: 80px;
}
.actions li a{
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 10px;	
	text-decoration: none;
	color: #990000;
	display: block;
	text-align: right;
	border: 1px solid #fff;
	border-bottom: 1px solid #d1d1d1;	
}
.actions li a:hover{
	background: #990000;
	color: #fff;
}
/*****************************************************************************
 *     QUICK SEARCH                                                          *
 *****************************************************************************/
 #qsearch{
 	background: #fff url(../images/menubutton.png);
 	margin-top: 3px;
 	padding: 5px 7px;
 	height: 13px;
	font-size:11px;
	font-weight: bold;
	float: left;
	width: 182px;
 }
 #qsearchicon{
 	float: left;
 	border: 0px;
 	width: 29px;
 	height: 25px;
 	margin-top: 3px;
 	margin-left: -2px;
 }
 #search{
 	float: left;
 	position: relative; 
	z-index: 100;
 }
 #search ul {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	visibility: visible;
	position:absolute;
	top: 28px;
	left: 0px; 
	width: 182px;
 }
 #search li a, #search li a:visited{
	background:#fff;
	font-weight: normal; 
	padding: 5px 10px;
	margin: 0px;
	width: 176px;
	border: 1px solid #990000;
	border-top: 0px;
	display: block;
 }
 #search li a:hover{
	color: #990000; 
	background: #f1f1f1;
 } 
/*****************************************************************************
 *     ALIGNS/CLEARS/SIZE                                                    *
 *****************************************************************************/
 
.left{ float: left; } 
.right{ float: right; }
.center{ margin: 0px auto; }
.bottom{
	position: absolute;
	bottom: 7px;
	right: 5px;
}
.autowidth{	width: auto; }
.short{ width: 5em; }
.long{ width: 23em; }
.pheight{ height: 210px; }
.mandoheight{ height: 310px; }
.adminheight{ height: 180px; }
.sheight{ height: 110px; }
.clearboth{ clear: both; }
.clearright{ clear: right; }
.clearleft{ clear: left; }
.halfwidth{ width: 330px; }
.thirdwidth{ width: 220px; }
.fullwidth{ width: 660px; }

/*****************************************************************************
 *     BORDERS/BUTTONS                                                       *
 *****************************************************************************/
 
.solidBorder{ border: 1px solid #d1d1d1; padding: 12px; }
.noBorder{ border: 0px; text-decoration: none; }
.hiddenBorder{ border: 1px solid #fff; padding: 2px; }
.button, .button:hover{ 
	font-size: 11px;
	font-family: Verdana, sans-serif;
	color: #990000;
	height: 19px;
	width: 60px;
	border: 1px solid #d1d1d1;
	padding: 2px;
	text-align: center;
}
.button:hover{ 
	background-color: #d1d1d1;
	border: 1px solid #990000;	
}
.smallbutton, .smallbutton:hover, .smallbutton:active{ 
	border:  1px solid #d1d1d1;
	padding: 1px;
	margin: 1px 1px 0px 0px;
	color:   #990000;
}
.smallbutton:hover{ 
	border:  1px solid #990000;
	background-color: #d1d1d1;
}
.widebutton, widebutton.hover{
	font-size: 11px;
	font-family: Verdana, sans-serif;
	color: #990000;
	height: 19px;
	width: 100px;
	border: 1px solid #d1d1d1;
	padding: 2px;
	text-align: center;	
}
.widebutton.hover{
	background-color: #d1d1d1;
	border: 1px solid #990000;
}

/*****************************************************************************
 *     POPUPS                                                                *
 *****************************************************************************/
 
div#overlay {
	position:fixed;
	display:block;
	float: left;
	-moz-opacity: 0.6;
	opacity: 0.6;
	background-color:#555;
	margin: auto;
	width: 0%;
	height:100%;
	z-index: 500;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	visibility: hidden;	
}
div#popup {
	position: fixed;
	width: 660px;
	height: 400px;
	z-index: 600;
	margin-left: -353px;
	left: -50%;
	margin-top: -250px;
	top: 50%;
	padding: 20px;
	background-color: #ffffff;
	border: 4px solid #d1d1d1;
	visibility: hidden;
}
div#order {
	position: fixed;
	width: 300px;
	height: 320px;
	z-index: 600;
	margin-left: -160px;
	left: -50%;
	margin-top: -250px;
	top: 50%;
	padding: 20px;
	background-color: #ffffff;
	border: 4px solid #d1d1d1;
	visibility: hidden;
}
div#report {
	position: fixed;
	width: 300px;
	height: 320px;
	z-index: 600;
	margin-left: -160px;
	left: -50%;
	margin-top: -250px;
	top: 50%;
	padding: 20px;
	background-color: #ffffff;
	border: 4px solid #d1d1d1;
	visibility: hidden;
}
div#waitscreen {
	position: fixed;
	width: 300px;
	height: 60px;
	z-index: 600;
	margin-left: -170px;
	left: -50%;
	margin-top: -150px;
	top: 50%;
	padding: 20px;
	background-color: #ffffff;
	border: 4px solid #d1d1d1;
	visibility: hidden;
}
.close{
	float: right;
	position: absolute;
	top: 3px;
	right: 3px;
	border: 0px;
	padding: 0px;
	margin: 0px;	
}
.close a{
	border: 0px;
	padding: 0px;
	margin: 0px;	
}
div#popupinfo {
	position: absolute;
	float: left;
	width: 180px;
	min-height: 120px;
	z-index: 700;
	padding: 5px;
	background-color: #ffffff;
	border: 2px solid #d1d1d1;
	visibility: hidden;	
}
div#popupinfoshadow {
	position: absolute;
	float: left;
	width: 180px;
	min-height: 120px;
	z-index: 650;
	padding: 5px;
	background-color: #000;
	border: 2px solid #000;
	visibility: hidden;
	-moz-opacity: 0.4;
	opacity: 0.4;	
}