html {height: 100%;}

body {
	background-image: url(images/footpattern2.gif);
	background-repeat: repeat;
	background-position: center center ;
	margin: 0px;
	font-family: Helvetica, Verdana, Arial, sans-serif;
height: 100%;
text-align: center;
background-attachment: scroll;
-webkit-text-size-adjust: none;
}

* html body {background-position: center -53px} /*-10?*/


a {outline: none;border: 0;} /* get rid of the dashed line around links in firefox*/

div#roof {
	width: 100%;
	margin-left: -50%;
	text-align: center;
	left: 50%;
	position: absolute;
	top: 0em;
	height: 9px;
	background-color: #ffffff;
	border-bottom: 1px #506297 solid; }

div#roof img{
width: 5px;
height: 1px;
}

div#full {
	width: 790px;
	height: auto;
	margin-top: -260px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -395px;
	margin-right: auto;
}

div#floor {
height: 35px;
	width: 100%;
	margin-top: 35px;
	margin-bottom: 0px;
	margin-left: -50%;
	margin-right: auto;
	text-align: center;
	bottom: 0em;
	left: 50%;
	position: absolute;
	background-image: url(images/footpattern3.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}
* html div#floor {
	margin-bottom:-1px;
}

/*thumbnail area*/
div#thumbfront{
	background-image: url(images/footpattern2.gif);
	background-position: center 38px;
	height: 180px;
	width: 100%;
}

* html body div#thumbfront{background-position: center 30px;}

div#thumbback {
	background-image: url(images/thumbshadow.png);
	background-position: center 111px;
	background-repeat: no-repeat;
	height: 160px;
	width: 100%;
	text-align: center;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #3e3e3e;
	overflow: hidden;
}
*html div#thumbback {
	background-image: url(images/thumbshadow-ie.jpg);
	background-position: center 108px;
}

div#thumbback a:link img,
div#thumbback a:visited img,
div#thumbback a:active img {
	background-image: url(images/shadow2.png);
	padding: 12px 15px 17px;
	outline: none;
	margin-top: 110px;
	margin-right: -9px;
	margin-left: -9px;
}

* html div#thumbback a:link img#thumb,
* html div#thumbback a:visited img#thumb,
* html div#thumbback a:active img#thumb {
background-color: #ffffff;
background-image: url(images/thumbhilite.jpg);
background-repeat: no-repeat;
background-position: bottom right;
padding: 6px;
margin-right: 0px;
margin-left: 0px;
border: 1px solid #cccccc;
}

* html div#thumbback a:hover img#thumb{
	background-color: #eeeeee;
	background-image: url(images/thumbhilite.jpg);
	background-repeat: no-repeat;
	background-position: bottom right;
	padding: 6px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #cccccc;
	margin-top: 0px;
}

div#thumbback a:hover img{
	background-image: url(images/shadow_over2.png);
	background-repeat: no-repeat;
	background-position: 0px -2px;
	padding: 10px 15px 128px;
	outline: none;
	margin-top: -5px;
	margin-right: -9px;
	margin-left: -9px;
}

div#thumbback a:hover img#leftarrow,
div#thumbback a:hover img#rightarrow,
div#thumbback a:active img#leftarrow,
div#thumbback a:active img#rightarrow,
div#thumbback a:visited img#leftarrow,
div#thumbback a:visited img#rightarrow,
div#thumbback a:link img#leftarrow,
div#thumbback a:link img#rightarrow {
	margin-bottom: 118px;
	margin-top: 0;
	outline: none;
	border: none;
	height: 45px;
	width: 45px;
	margin-right: 0px;
	margin-left: 0px;
	padding: 0;
	background-color: none;	
}

div#thumbback img#leftarrow,
div#thumbback a img#leftarrow,
div#thumbback a:hover img#leftarrow,
div#thumbback a:active img#leftarrow,
div#thumbback a:visited img#leftarrow,
div#thumbback a:link img#leftarrow{
	background-image: url(images/leftarrow.png);}

div#thumbback img#rightarrow,
div#thumbback a img#rightarrow,
div#thumbback a:hover img#rightarrow,
div#thumbback a:active img#rightarrow,
div#thumbback a:visited img#rightarrow,
div#thumbback a:link img#rightarrow{
	background-image: url(images/rightarrow.png);}
	
* html div#thumbback img#leftarrow,
* html div#thumbback a img#leftarrow,
* html div#thumbback a:hover img#leftarrow,
* html div#thumbback a:active img#leftarrow,
* html div#thumbback a:visited img#leftarrow,
* html div#thumbback a:link img#leftarrow{
	background-image: url(images/arrow.gif);
	margin-bottom: 102px;
	background-color: none;}
	
* html div#thumbback img#rightarrow,
* html div#thumbback a img#rightarrow,
* html div#thumbback a:hover img#rightarrow,
* html div#thumbback a:active img#rightarrow,
* html div#thumbback a:visited img#rightarrow,
* html div#thumbback a:link img#rightarrow{
	background-image: url(images/arrow.gif);
	margin-bottom: 102px;
	background-color: none;
	background-position: 45px 0}		


/*content area*/

div#main {
height: 296px;
	width: 790px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-image: url(images/crud.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: relative;
	z-index: 100;
	}
	
* html body div#main {background-image: url(images/crud-IE.jpg);}

div#main2 div#main{
	height: 296px;
	width: 100%;
	margin-top: 0px;
	text-align: center;
	background-image: url(images/crud2.png);
	background-position: center center;
	background-repeat: no-repeat;
	}
	
* html body div#main2 div#main {background-image: url(images/crud2-IE.jpg);}

div#main2 div#main img{
	padding-top: 115px;}

div#main p{
	color: #545a6b;
	font-size: smaller;
	text-align: center;
	margin: 0px}
div#main div#portimage{
	text-align: right;
	padding-right: 12px;
	padding-top: 18px;
	vertical-align: middle;
	float: right;
	width: auto;
}
* div#main div#portimage {
	padding-top: 8px;
}

* html div#main div#portimage{
margin-top:-8px;
margin-bottom: -5px;}
div#main div#portimage div#box{
	float: right;
	background-image: url(images/shadow_corner.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-bottom: 2px;
	margin-top: -4px;
	margin-right: -12px;
	margin-left: 20px;
	padding-bottom: 13px;
	padding-bottom: 10px !ie;
	padding-top: 0px;
	padding-right: 10px;
	padding-left: 0px;}
	
* html div#main div#portimage div#box{
		float: right;
		background-image: none;
		margin-top: 0px;
		margin-bottom: 0px;
		margin-left: 7px;
		margin-right: 0px;
		padding: 0;
		}

div#main div#portimage div#box img{
	background-color: #eeeeee;
	padding: 3px;
	border: 1px solid #cccccc;
	background-image: url(images/thumbhilite.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-bottom: 0px;
	margin-top: -5px;
	margin-right: 0px;
	margin-left: -5px;
}

* html div#main div#portimage div#box img{
	background-color: #eeeeee;
	padding: 3px;
	border: 1px solid #cccccc;
	background-image: url(images/thumbhilite.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin: 0;
}

div#main div#portimage img {
	background-image: url(images/portshadow.png);
	background-repeat: no-repeat;
	padding: 5px;
	background-width:100%;
	background-height:100%;
}

div#main div#portext{
	text-align: left;
	vertical-align: middle;
	padding-left: 12px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #545a6b;
	padding-top: 20px;
	padding-bottom: 30px;
}
div#main div#portext h1{
	color: #545a6b;
	text-align: left;
	font-size: 23px;
	font-weight: normal;
	text-decoration: none;
	line-height: .35em;
}
div#main div#portext h2{
	font-size: 11px;
	font-weight: bold;
	color: #545a6b;
	line-height: .1em;
}


div#main div#portext p{
	text-align: left;
	width: 270px;
	font-size: 13px;
	line-height: 1.1em;
}
div#main div#portext  a:link,
div#main div#portext  a:visited,
div#main div#portext  a:active{
color: #444f6e;
	text-align: left;
	font-weight: bold;
	text-decoration: none;
}

div#main div#portext  a:hover{
	color: #1f2638;
	text-align: left;
	font-weight: bold;
	text-decoration: none;
}

div#main div#portext ul{
	list-style-type: none;
	padding: 0;
	text-align: left;
	width: 270px;
	font-size: 13px;
	line-height: 1.1em;
}

div#main div#intro{
	padding-top: 95px;
	background-repeat: no-repeat;
	background-position: center 70px;
}

div#main div#intro p{
	padding-top: 45px;
}

/*navigation area*/
div#nav{
	z-index: 50;
	width: 100%;
	padding: 0;
	text-align: center;
	background-image: url(images/buttonfadebg.png); 
	margin-top: -2px !ie;
	background-repeat: no-repeat;
	background-position: center top;
	background-position: center 2px !ie;
	


}
* html body div#nav{
		background-image: url(images/buttonfadebg-ie.jpg);
		background-position: center 2px;}

div#nav a{
	font-size: .8em;
	color: #3a3e30;
	letter-spacing: .1em;
	letter-spacing: 0 !ie;
	background-image: url(images/buttonfade.png);
	background-repeat: repeat-x;
	background-position: 0 bottom;
	text-decoration: none;
	padding-bottom: 15px;
	padding-bottom: 14px !ie;
	padding-top: 3px; /*basic - for firefox*/
	padding-top: 0px !ie;
	padding-left: 8px;
	padding-right: 8px;
margin: 0;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
div#nav a {padding-top: 0px;}
}

html:first-child div#nav a{padding-top: 0px;} /*fixes opera?*/

* html div#nav a{
	background-image: url(images/buttonfade-ie.gif) bottom center;
	}

/*\*/
html*div#nav a{
padding-top: 0px; /*for safari*/
}/**/

div#nav a:link, div#nav a:visited, div#nav a:active{
	text-decoration: none;
	margin-top: -1px !ie;
	padding-top: 0px !ie; /*for IE*/
}

div#nav a:hover{
	background-position: 0em -36px;
	text-decoration: none;
	padding-left: 7px;
	padding-right: 7px;
	vertical-align: -10px;
	padding-top: 13px;
	padding-top: 14px !ie; /*for IE*/
	padding-bottom: 6px;
	margin: 0;
	border-right: 1px solid #aeca6c;
	border-left: 1px solid #aeca6c;
	border-bottom: 1px solid #aeca6c;
	}
	


@media screen and (-webkit-min-device-pixel-ratio:0) {
div#nav a:hover{ padding-top: 10px; /*for safari*/}
}

div#nav img{
	margin-top: 0px;
	vertical-align: -18px;
	vertical-align: -17px !ie;
	height: 30px;
	background-repeat: no-repeat;
}

div#nav img#left{
	background-image: url(images/buttonfadeendleft.png);
	width:30px;}
	
div#nav img#right{
	background-image: url(images/buttonfadeendright.png);
	width:30px;}

div#nav img#break{
	background-image: url(images/buttonfadebreak.png);
	width:40px;}

* html div#nav img#left{
	background-image: url(images/buttonfadeendleft-ie.gif);
	width:30px;}
	
* html div#nav img#right{
	background-image: url(images/buttonfadeendright-ie.gif);
	width:30px;}

* html div#nav img#break{
	background-image: url(images/buttonfadebreak-ie.gif);
	width:40px;}


div#error{
	margin-top: 30px;
	font-size: 13px;
	color: #444f6e;
	text-align: center;
}

div#error a:link,
div#error a:visited,
div#main div#error a:active{
	color: #1f2638;
	font-weight: bold;
	text-decoration: none;
}

div#error a:hover{
	text-decoration: underline;
}



body hidden {
	visibility: hidden;
	display: none;
}