/*----------------------------------------------------*/
/*------------------- Reset --------------------------*/
/*----------------------------------------------------*/

* { padding:0; margin:0; } h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, label, ul, ol, dl, fieldset, address { margin:5px 0; } li, dd, blockquote { margin-left: 40px; } fieldset { padding:10px; } 

/*----------------------------------------------------*/
/*------------------- Global -------------------------*/
/*----------------------------------------------------*
   Dark orange text: #E5A704
   Link colour: #5f5f5f
   Background colour: #E3E3E3
   Table border/cell colour: #D3D3D3
	Light blue heading: #EEEEEE
*/

body {
	background-color: #E3E3E3;
	font-family: "Tahoma", Verdana, Arial, serif;
	text-align: center;
	font-size: 11px;
}


a{
   text-decoration: underline;
   font-weight: bold;
   text-align: left;
   color: #5f5f5f; 
}

a:hover{
	text-decoration: underline;
	color: #E5A704; 
	cursor: pointer;
	cursor: hand;
}

img{
   border: 0;
   vertical-align: middle;
}

h1{
   color:#E5A704;
   font-size: 18px;
   font-weight: bold;
   padding: 0 0 4px 0;
}
.h1{
   color:#E5A704;
   font-size: 18px;
   font-weight: bold;
   padding: 0 0 4px 0;
}

h2{
   color:#000;
   font-weight: bold;
}

table
{
	margin-top: 8px;
	width:100%;
	border-collapse:collapse;
	border:0px solid #D3D3D3;
	font-family: "Tahoma", Verdana, Arial, serif;
	font-size: 11px;
	line-height:1.4em;
}

td{
   border:0px solid #D3D3D3;
   padding:4px 8px;
}

milkhubText{
   color:#E5A704;
   font-size: 12px;
   font-weight: bold;
   padding: 0 0 4px 0;
}

milkhubTextSubTitle{
   color:#000;
   font-size: 12px;
   padding: 0 0 4px 0;
}

/*-------------- 'Input controls -------------*/

select{
	font-family: Tahoma;
	font-size: 11px;
	padding: 2px 2px 2px 2px;
	height: 21px;
	color:#000;
	width:110px;
}

#popup select{
	width:130px;
}

select option{
	padding: 2px 2px 2px 2px;
}

input.text{	
	font-family: Tahoma;
	font-size: 11px;
	padding: 2px;
	width:140px;
	height: 21px;
}

input.shorttext{	
	font-family: Tahoma;
	font-size: 11px;
	padding: 2px;
	width:40px;
}

input.checkbox{
	padding-left: 4px;
}

input.btn{
	font-weight: bold;
	font-family: Arial;
	padding: 0 2px;
}

input.file{
	font-family: Tahoma;
	font-size: 11px;
	padding: 3px;
	vertical-align:middle;
	margin: 0 4px;
}

textarea{
	font-family: Tahoma;
	font-size: 11px;
	padding: 2px;
	height: 80px;
}

.error{
   font-weight: bold;
   font-size: 11px;
   color: red;
}

.alert{
	color: #cc0000;
	background-color: #ffe4e1;
	font-weight: bold;
}

.success{
	color:#00C000;
	font-weight: bold;
}

form{
	margin:0;
}

/*----------------------------------------------------*/
/*-------------------- Containers --------------------*/
/*----------------------------------------------------*/

#container{
	position: relative;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	background-image: url(../mainbg.jpg);
	background-repeat: repeat-y;
	width: 1000px;	
}

/*----------------------------------------------------*/
/*-------------------- Heading -----------------------*/
/*----------------------------------------------------*/

.heading{
	position: relative;
	width: 964px;
	height: 79px;
	background-image: url(../MHtop_bg.jpg);
	background-repeat: repeat-x;
	margin-left: 18px;
}

#header {
	margin:0;
	padding:0;
	width: 189px;
	height: 79px;
	position: relative;
	float:left;
	}
	
#header span {
	background: url(../MHtitle.gif) no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
}

/*----------------------------------------------------*/
/*-------------------- Main Nav ----------------------*/
/*----------------------------------------------------*/

#mainNav{
	margin: 0 18px;
	text-align:center;
	background: url(../topbg3.jpg) repeat-x;
	height:2.8em;
	line-height: 2.6em;
}

#mainNav a
{
	background: url(../topdiv.jpg) no-repeat;
	text-decoration: none;
	font-weight: bold;
	text-align: left;
	font-size: 13px;
	color: #5f5f5f;
	padding: 7px 14px;        
}

#mainNav a:hover{
   color: #E5A704;  
   text-decoration: underline;             
}

#mainNav a.first{
   background: 0;   
}

#mainNav a:active {
	outline: none;
}

#mainNav ul{
   margin: 0;
   padding: 0;
   white-space: nowrap; 
}

#mainNav li{
   display: inline;
   list-style-type: none;
   margin:0;
   padding:0;
}

#submainNav{
	margin: 0 18px 0 18px;
	border: 0;
	height:12px;
	background: url(../topbg4.jpg);
	background-repeat: repeat-x;
}

/*----------------------------------------------------*/
/*-------------------- Main Content ------------------*/
/*----------------------------------------------------*/

#outer{
	margin: 0 24px 4px 206px;
	border: 1px solid #A9A9A9;
	padding: 12px;
	min-height:200px;
	height:auto !important;
	height:200px;
}

#main{
   float: left;
}

#main.withcontrol{
   width: 610px;
}



.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

#main ul{
	list-style: none;
	margin: 0;
	padding: 0;
	width: 748px;
}

#main li{
	margin-left: 0;
	padding: 4px 4px 20px 22px;
	background: url(../bullet.gif) no-repeat;
	background-position: 0em 0.4em;
	position: relative;
	border: solid 1px white;
}

#main li.news:hover, #main li.news.Highlight
{
	border: solid 1px #E5A704;
	background-color: #ffc;
}

#main.withcontrol ul{
   width: 580px;
}

/*------------ Main area navigation -----------------*/

#subnav ul
{	
	text-align:center;
	margin: 0;
	padding: 0;
	white-space: nowrap; 
}

#subnav li{
   display: inline;
   list-style-type: none;
   background: 0;
   margin:0;
   padding: 0 8px;
   border-left: solid 1px black;
}

#subnav li.first
{
	border: 0;
	padding: 0 4px 0 0;	
}

/*----------------------------------------------------*/
/*--------------- Tables and Datagrids ---------------*/
/*----------------------------------------------------*/

.hiddenCol{
	display: none;
}

.nodata{
	font-size: 7pt;
	color: #808080;
}

.nodatamessage{
	font-weight: bold;
	line-height: 3.8em;
}


/*----------------------------------------------------*/
/*--------------- Box Controls and Info --------------*/
/*----------------------------------------------------*/

.box{
	background-color:#eeeeee;
	border: 1px solid #A9A9A9;
	text-align: center;
	padding: 8px 6px;
	margin-bottom:16px;
	position: relative;
}

#infoCol{ 
   float:left;
   width: 176px;
   margin:0 0 0 24px;
}

.info{
	background-image: url(../MHleftTitle176.jpg);
	background-repeat: no-repeat;
	background-position: fixed;
}

.info .box{
	margin-top: 4px;
}

.info h2{
   color:#FFF;
   font-size: 13px;
   text-align:center;
   padding-top: 4px;
}

#controlCol{
	float:right;
	width: 166px;
	overflow : hidden;
}

.control{
	text-align: left;
	margin: 8px 0 0 0;
	z-index:-1;
}

.control{
	padding-bottom: 10px;
}

.control select{
	width: 150px;
}

.control .floatRight{
	float:right;
	z-index: 1;
}

/* input for characters or digits e.g. no of pages/records etc */
input.text.charVal{
	width:32px;
	vertical-align: middle;
}

/* Text box for herd management column values */
.control input.text.herd{
	width: 60px;
	height: 21px;
	vertical-align: middle;
}

/* Text box for control range values */
.control input.text.rng{
	width: 60px;
	height: 21px;
	vertical-align: middle;
}

/* Text box for control box */
.control input.text.ctrl{
	width: 150px;
	height: 21px;
	vertical-align: middle;
}

a.expandLink:hover{
	text-decoration: underline;
	color: #E5A704;
	cursor: pointer;
	cursor: hand;
}

.chkList{
	border:0;
	width: 140px;
}

.chkList td{
	border:0;
	padding: 2px;
}

.chkList label{
	padding-left:4px;
}

input.chkItem
{
	padding-left: 4px;
	vertical-align: middle;
	width: 120px;
}




/*----------------------------------------------------*/
/*-------------------- Footer ------------------------*/
/*----------------------------------------------------*/

#footer {
	position: relative;
	margin: 0 18px 0 18px;
	height: 5em;
	line-height: 5em;
	background: url(../MHbot1.gif) repeat-x;
	text-align:center;
}
