html, body{
	margin:0px;
}

html, input, textarea, select, option
{
	font-family:arial,verdana,sans-serif;
	color:#333333;
	font-size: 14px;
}

form
{
	margin: 0px;
	padding: 0px;
}

h1,h2,h3,h4,h5,h6
{
	font-family: Arial;
}

H1
{
	font-weight:bold;
	font-size:20px;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	position: relative;
	display: block;
	color: #018B98;
}

h1 span
{
	background: url(images/templateimages/logo.jpg) no-repeat;
	display: block;
	width: 369px;
	height: 59px;
	position: absolute;
	left: 0px;
	top: 0px;
	cursor: pointer;
}



h2
{
	padding-left: 67px;
	background: url(/images/templateimages/header_arrow_tag.png) no-repeat;
	background-position: 0px 2px;
	font-size: 28px;
	color: #008193;
	min-height: 28px;
	margin: 0px 0px 5px 0px;
	white-space: nowrap;
	overflow: visible;
	display: block;
}

h2 span
{
	font-size: 24px;
	margin-top: 1px;
}


h2 span.smallflashheader
{
	margin-left: -5px;
	z-index: 1000;
	padding-right: 0px;
	width: 58px;
	overflow: visible;
	
}

h2 span.smallflashheader object
{
	margin-top: 5px;
}

h2 span.sIFR-replaced
{
	float: left;
	display: block;
	font-size: 28px;
	padding-left: 0px;
	width: auto;
}

h2 span.smallflashheader .sIFR-flash
{

}

.smallflashheader
{
	font-size: 21px;
}

.flashheader
{
	margin-bottom: 0px;
}

H3{
	font-weight:bold;
	font-size:16px;
	color:#0061A1;
	padding: 0px;
	margin:0px;
	margin: 0px 0px 7px 0px;
}
h4{font-weight: bold; color: 000000; font-size: 1em; margin: 0px 0px 5px 0px;}
h5{margin:0px; padding:0px; margin-bottom: 5px; color:#000000; font-size: 14px; font-weight: bold;}
h6{}

p{margin: 10px 0px 10px;}
a{color: #018B98; text-decoration: underline;}
a:hover{text-decoration: none;}
a img{ border: 0px;}

hr{ display:block; overflow:hidden; line-height: 0px; height: 0px; font-size: 0px; border: 0px; margin: 0px; padding: 0px; border-bottom: 1px dashed #aaaaaa; padding-top:12px; margin-bottom: 12px;}

td{ vertical-align: top;}

ul
{
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}

li
{
	list-style: none;
	margin-left: 0px;
	background: url(images/templateimages/list_arrow.gif) no-repeat 0px 1px;
	padding-left: 40px;
	line-height: 18px;
	margin-bottom: 10px;

}


.clearboth
{
	clear: both;
}

/*---------CLEARFIX CODE -------------------- */
/* What is this? */
.clearfix:after { 
    content: ".";  
    display: block;  
    height: 0;  
    clear: both;  
    visibility: hidden; 
} 
 
.clearfix {
	display: inline-table;
} 
 
/* Hides from IE-mac \*/ 
* html .clearfix {height: 1%;} 
.clearfix {
	display: block;
} 
/* End hide from IE-mac */

/*------------TEMPLATE ELEMENTS---------------*/



#logolinkswrapper, 
#menu
{
	width: 990px;
	margin: 0px auto;
}

#logolinkswrapper
{
	height: 66px;
}

#logopanel
{
	float: left;
}

#toprightpanel
{
	float: right;
	position: relative;
	height: 66px;
}

#tophamiltonlogo
{
	float: right;
	margin-top: 10px;
	margin-right: 18px;
	float: right;
}

#topsearchpanel
{
	float: right;
}

.topsearchkeywordspanel,
.topsearchbuttonpanel
{
	float: left;
	padding-top: 12px;
}

.topsearchbuttonpanel
{
	margin-left: 2px;
}


#SearchKeyWords
{
	width: 240px;
	height: 18px;
	color: #999999;
	border: 1px solid #CCCCCC;
	padding-left: 10px;
}

#btSearch{
	width:23px;
	height:22px;
	font-size:1px;
	margin:0px;
	background-image: url(/images/templateimages/bttn_go.jpg);
	border: 0px;
	cursor: pointer;
	
}
#divSearch{
	margin:0px;
}
#divSearch form{
	margin:0px;
}
.hamiltonlogo{
	padding-top:5px;
	padding-right:5px;
	padding-left:5px;
	background-color:#FFFFFF;
	vertical-align:top;
}

.hamiltonlogo img{
	border:0px solid white;
	
}

#toplinkspanel
{
	text-align: right;
	padding-top: 17px;
	white-space: nowrap;
	width: 482px;
	z-index: 1000;
	position: absolute;
	right: 0px;
	bottom: -5px;
}

.toplink
{
	float: left;
	width: 118px;
	background: url(/images/templateimages/menu_rounded_bg.gif) no-repeat;
	margin-left: 2px;
}

.toplink a
{
	color: #ffffff;
	display: block;
	text-align: center;
	line-height: 20px;
	text-decoration: none;
	font-size: 12px;
}


#blueseperator
{
	height: 18px;
	background-color: #0061A1;
	margin-bottom: 3px;
	z-index: 1;
}

#menuwrapper
{
	height: 48px;
	
	/* fallback (Opera) */
    background: #1898A5;
    /* Mozilla: */
    background: -moz-linear-gradient(top, #37ABB6, #028B98);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,
                left top, left bottom, from(#37ABB6), to(#028B98));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(
                StartColorStr='#37ABB6', EndColorStr='#028B98', GradientType=0);
}

#maincontainer,
#firstlevelfooterpanel,
#secondlevelfooterpanel
{
	width: 990px;
	margin: 0px auto;
	padding-top: 10px;
	height: 100%;
}

#maincontainer
{
	padding-bottom: 15px;
}

.divBreadcrumbs,
.divBreadcrumbs a
{
	font-size: 0.95em;
}


#breadcrumbContainer
{
	margin-bottom: 15px;
}

#firstlevelfooterwrapper
{
	height: 49px;
	background-color: #018B98;
}

#firstlevellinkbuttonspanel
{
	float: left;
}

#firstlevelfooterwrapper .footerlinkbutton
{
	display: block;
	float: left;
	width: 134px;
	line-height: 27px;
	margin-right: 18px;
	padding-left: 33px;
	color: #ffffff;
	font-weight: bold;
	background-image: url(/images/templateimages/bttn_navy_blue_bg.png);
	background-repeat: no-repeat;
	text-decoration: none;
	white-space: nowrap;
	overflow: visible;
}

#firstleveliconlinkspanel
{
	float: right;
}

#firstleveliconlinkspanel .iconlink
{
	float: left;
	color: #ffffff;
	font-weight: bold;
	padding-left: 45px;
	display: block;
	line-height: 47px;
	margin-right: 15px;
	margin-top: -7px;
}

#firstleveliconlinkspanel .locationicon
{
	background-image: url(/images/templateimages/icon_find_library.png);
	background-repeat: no-repeat;
}

#firstleveliconlinkspanel .policyicon
{
	background-image: url(/images/templateimages/icon_policy.png);
	background-repeat: no-repeat;
	background-position: 0px center;
}

#secondlevelfooterwrapper
{
	height:500px;
	background-color: #0061A1;
	position: relative;
}

#secondlevelfooterpanel
{
	background: url(/images/templateimages/footer_bg.gif) no-repeat center 10px;
}

#footerLinksPanel
{
	clear: both;
}

.footerLinkColumn
{
	width: 165px;
	float: left;
}
.lastFooterLinkColumn
{
	float: right;
}

.footerLinkColumn h4
{
	font-size: 16px;
	margin-bottom: 15px;
}

.footerLinkColumn h4 a
{
	text-decoration: none;
}
.footerLinkColumn p.footerlink
{
	display: block;
	margin-bottom: 10px;
	margin-top: 0px;
}

.footerLinkColumn p.footerlink a
{	
	text-decoration: none;
}

#footertoolspanel
{
	position: absolute;
	width: 650px;
	clear: left;
	top: 340px ;
	left: 50%;
	margin-left: -325px;
}

#footertoolspanel .footertool
{
	float:left;
	margin-right: 38px;
}

#footertoolspanel .lastfootertool
{
	margin-right: 0px;
}

#footertoolspanel .footertool a,
#footertoolspanel .footertool img
{
	float: left;
	margin-right: 10px;
	display: block;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
}

#footertoolspanel .footertool a
{
	margin-top: 3px;
}

#fontsizeselectorwrapper
{
	display: none;
	position: absolute;
	right: -20px;
	top: -80px;
}

#fontsizetext
{
	position: absolute;
	right: -60px;
	bottom: 0px;
	color: #ffffff;
	font-size: 14px;
}

.ui-slider,
.ui-slider div,
.ui-slider *
{
	font-size: 14px;
}

.ui-slider-vertical {
 width:11px;
}

/*-----------Email this page styles----------*/
#emailpageholder
{
	width: 590px;
	margin: 6px 0px 10px 0px;
}

#emailpageholder div
{
	font-size: 12px;
}

#errorsummary
{
	margin-bottom: 15px;
	padding-top: 5px;
}

#errorsummary ul li
{
	font-size: 12px;
}

.emailpagetitle
{
	clear: both;
	margin-bottom: 12px;
	font-size: 14px;
}

#emailpageholder .leftcolumn
{
	width: 225px;
	margin-right: 25px;
}

#emailpageholder .rightcolumn
{
	width: 330px;
}

#emailpageholder .row
{
	border: 0px;
	margin-bottom: 5px;
}

#emailpageholder .normalinput
{
	height: 24px;
	line-height: 20px;
	padding-right: 0px;
	padding-left: 5px;
	margin: 0px;
	width: 220px;
	border: 1px solid #888888;
}

#emailpageholder .normaltextarea
{
	height: 155px;
	line-height: 18px;
	margin: 0px;
	border: 1px solid #666666;
	width: 330px;
}

#emailpageholder input.blur
{
	color: #888;
}

#emailpageholder #errorsummary,
#emailpageholder input.forminputerror
{
	border: 1px dashed #900 !important;
	color: #900;
	background-color: #FFF2F2;
}
#errorsummary ul
{
	margin-left: 10px;
}

#errorsummary ul li
{
	color: #900;
	background-image: url(/images/templateimages/li_arrow_error.jpg);
	line-height: 14px;
	padding-left: 15px;
}

#emailpageholder input.darkcolor
{
	color: #20282B;
}

#emailpageholder input.submit
{
	border: 0px;
	background-color: Transparent;
	width: 95px;
	height: 21px;
	background-image: url(/images/templateimages/bttn_sendit.jpg);
	background-repeat: no-repeat;
	cursor: pointer;
}

.ui-dialog .ui-dialog-content
{
	overflow: hidden;
}
/*-----------End email this page styles----------*/

.hidden
{
	display: none;
}
.floatleft 
{
	float: left;
}
.floatright{float: right;}


.content a, 
.content a:VISITED,
.homepageContent a,
.homepageContent a:VISITED,
.rightnav a,
.rightnav a:VISITED,
.breadcrumbs a,
.breadcrumbs a:VISITED{
	font-weight:bold;
	color:#FF6600;
	text-decoration:none;	
}

.content a:HOVER,
.homepageContent a:HOVER,
.rightnav a:HOVER,
.breadcrumbs a:HOVER{
	font-weight:bold;
	color:#FF6600;
	text-decoration:underline;	
}
.breadcrumbs,
.breadcrumbs span{
	color: #005B99;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
}
.homepageContent{
	vertical-align:top;
	padding-top:1em;
	padding-left:15%;;
}
.homepageContent p, .homepageContent ul{
margin:4px;
}
.maori{
	font-family:arial,verdana,sans-serif;
}

.whatshot{
	width:182px;
	text-align:left;
	
}
.whatshotTop{
	background-color:#015B9B;
	font-size:13px;
	font-weight:bold;
	color:white;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
	text-align:left;
	line-height:11px;
}
.whatshotMiddle{
	border-right:2px solid #008489;
	border-left:2px solid #008489;
	border-top:2px solid #008489;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
	text-align:left;
}


.sectionMenu{
	font-size:.8em;
	font-weight:bold;
	text-align:center;
}

td.selected a,
td.selected a:visited,
td.unselected a,
td.unselected:visited{
	color:#40A3A7;
	text-decoration:none;
}

td.selected a:hover,
td.unselected a:hover{
	color:#40A3A7;
	text-decoration:underline;
}

/*-----------SIDE MENU STYLES-------------*/
.divSectionMenuExpanded{width:100%;text-align:left;} 
.divSectionMenuExpanded a{text-decoration:none;} 
/*Item1*/
.divSectionMenuExpanded .item1
{
	font-weight:bold; 

    /* Mozilla: */
    background: -moz-linear-gradient(top, #59B2B6, #058D9A);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,
                left top, left bottom, from(#59B2B6), to(#058D9A));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#59B2B6', EndColorStr='#058D9A', GradientType=0);
	min-height: 27px;
	height: auto !important;
	height: 27px;
	margin-bottom: 2px;
} 

.divSectionMenuExpanded .item1 a
{
    background: url(/images/templateimages/sub_menu_top_bg.jpg) no-repeat;            
	color:#ffffff;
	display: block;	
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    position: relative;
    padding-left: 35px;
} 

.divSectionMenuExpanded .item1 a .linkwrap
{
	width: 183px;
	height: 5px;
	position: absolute;
	left: 0px;
	bottom: 0px;
    background: url(/images/templateimages/sub_menu_bottom_bg.jpg) no-repeat;            
}

.divSectionMenuExpanded .item1 a .linkarrow,
.divSectionMenuExpanded .item1-selected a .linkarrow,
.divSectionMenuExpanded .item1-selected-children-displayed a .linkarrow
{
	width: 21px;
	height: 17px;
	background: url(/images/templateimages/list_arrow.gif) no-repeat;
	position: absolute;
	top: 8px;
	left: 5px;
}

.divSectionMenuExpanded .item1_hover,
.divSectionMenuExpanded .item1-selected,
.divSectionMenuExpanded .item1-selected-children-displayed
{
	font-weight:bold; 

    /* Mozilla: */
    background: -moz-linear-gradient(top, #5294BF, #0470A0);
    /* Chrome, Safari:*/
    background: -webkit-gradient(linear,
                left top, left bottom, from(#5294BF), to(#0470A0));
    /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#5294BF', EndColorStr='#0470A0', GradientType=0);
	min-height: 27px;
	height: auto !important;
	height: 27px;
	margin-bottom: 2px;	
} 

.divSectionMenuExpanded .item1_hover a,
.divSectionMenuExpanded .item1-selected a,
.divSectionMenuExpanded .item1-selected-children-displayed a
{
	background: url(/images/templateimages/sub_menu_top_bg_hover.jpg) no-repeat;   
	color:#ffffff;
	display: block;	
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    position: relative;
    padding-left: 35px;         
} 

.divSectionMenuExpanded .item1_hover a .linkwrap,
.divSectionMenuExpanded .item1-selected a .linkwrap,
.divSectionMenuExpanded .item1-selected-children-displayed a .linkwrap
{
	width: 183px;
	height: 5px;
	position: absolute;
	left: 0px;
	bottom: 0px;
    background: url(/images/templateimages/sub_menu_bottom_bg_hover.jpg) no-repeat;            
}


.divSectionMenuExpanded .item1-selected-children-displayed{}
.divSectionMenuExpanded .item1-selected-children-displayed a{} 

/*Item2*/
.divSectionMenuExpanded .item2{padding-left:35px; padding-top:1px;padding-bottom:1px;font-weight:bold;} 
.divSectionMenuExpanded .item2 a{color:#008489;} 
.divSectionMenuExpanded .item2-selected{padding-left:35px;padding-top:1px;padding-bottom:1px;font-weight:bold;} 
.divSectionMenuExpanded .item2-selected a{color:#FF6600;}
.divSectionMenuExpanded .item2-selected-children-displayed{padding-left:35px;padding-top:1px;padding-bottom:1px;font-weight:bold;}
.divSectionMenuExpanded .item2-selected-children-displayed a{color:#FF6600;} 
/*Item3*/
.divSectionMenuExpanded .item3{padding-left:45px; padding-top:1px;padding-bottom:1px; background-image:url(images/line.gif); background-repeat:no-repeat; background-position:20px 50%;font-weight:bold;font-size:.9em;} 
.divSectionMenuExpanded .item3 a{color:#008489;} 
.divSectionMenuExpanded .item3-selected{padding-left:45px;padding-top:1px;padding-bottom:1px; background-image:url(images/line.gif); background-repeat:no-repeat; background-position:20px 50%;font-weight:bold;font-size:.9em;} 
.divSectionMenuExpanded .item3-selected a{color:#FF6600;}
.divSectionMenuExpanded .item3-selected-children-displayed{padding-left:45px;padding-top:1px;padding-bottom:1px;background-image:url(images/line.gif); background-repeat:no-repeat; background-position:20px 50%;font-weight:bold;font-size:.9em;}
.divSectionMenuExpanded .item3-selected-children-displayed a{color:#FF6600;} 
/*Item4*/
.divSectionMenuExpanded .item4{padding-left:40px; padding-top:1px;padding-bottom:1px;background-image:url(images/circle.gif); background-repeat:no-repeat; background-position:30px 50%;font-weight:bold;font-size:.9em;} 
.divSectionMenuExpanded .item4 a{color:#FF6600;} 
.divSectionMenuExpanded .item4-selected{padding-left:40px;padding-top:1px;padding-bottom:1px; background-image:url(images/circle.gif); background-repeat:no-repeat; background-position:30px 50%;font-weight:bold;font-size:.9em;} 
.divSectionMenuExpanded .item4-selected a{color:#008489;}
.divSectionMenuExpanded .item4-selected-children-displayed{padding-left:40px;padding-top:1px;padding-bottom:1px;background-image:url(images/circle.gif); background-repeat:no-repeat; background-position:30px 50%;font-weight:bold;font-size:.9em;}
.divSectionMenuExpanded .item4-selected-children-displayed a{color:#008489;} 

/*----- STYLES TO BE USED FOR NEWS AND JOBS -----*/
.JobsCategory-sectionTitle, .jobsCategories-controlTitle, .divNews-sectionTitle, .newsCategories-sectionTitle, .divNewsCategory-sectionTitle, .newsArchives-sectionTitle, .NewsArchive-sectionTitle  {color:#005B99;font-size:1.3em;font-weight:bold;margin-top:10px;margin-bottom:5px;}
.jobsCategories-categoryTitle, .categoriesLink, .archiveLink, .currentNewsLink, .newsCategories-category, .newsArchives-link  {padding-left:25px;}
.JobsCategory-job, .NewsArchive-article, .divNewsCategory-article, .divNews-article {padding-bottom:20px;}
.JobsCategory-postDate, .NewsArchive-date, .divNewsCategory-date, .divNews-date {padding-bottom:5px;font-size:smaller;}
.JobsCategory-title a:link {font-size: 1.2em; font-weight:bold}
.JobsCategory-title a:active {font-size: 1.2em; font-weight:bold}
.JobsCategory-title a:VISITED{font-size: 1.2em; font-weight:bold}
.JobsCategory-title a:HOVER{font-size: 1.2em; font-weight:bold}
.JobsCategory-additionalData {font-size: .95em; font-weight:bold}
/* .JobsCategory-preview, .divNewsCategory-content, .NewsArchive-content {padding-left:25px; border-top:thin dashed #EEEEEE; border-bottom:thin dashed #EEEEEE} */
img{
	border:0;
}
img.twopixelpadding{margin:2px;}
img.fivepixelpadding{margin:5px;}
img.tenpixelpadding{margin:10px;}
img.twopixelpaddingrightalign{float:right;margin:2px;}
img.fivepixelpaddingrightalign{float:right;margin:5px;}
img.tenpixelpaddingrightalign{float:right;margin:10px;}
img.twopixelpaddingleftalign{float:left;margin:2px;}
img.fivepixelpaddingleftalign{float:left;margin:5px;}
img.tenpixelpaddingleftalign{float:left;margin:10px;}


