

img{
	border: none;
}

input{
	vertical-align: middle;
}

/* General */
div#container{
	width: 450px;
	margin: 2em auto;
}

div#jas-container{
	/* Width HAS to be here for IE to render the filter */
	width: 100%;
	min-height:500px; 
}

td#jas-frame{
	float: left;
	width: 100%;
	height:480px;
	margin: 10px 0;
	text-align: center;
	vertical-align:middle; 
}


/* Thumbnial list */

div#jas-thumbnails{
	border: 1px solid #a5a5a5;
	border-width: 1px 0;
	padding: 10px 0;
	overflow-x: scroll;
	overflow-y: hidden;
	width:569px;
	height: 140px;
	}

div.thumbscroller {width: 3000px;}	
	
div.thumbscroller img {
	margin-right:16px;
	float:left;
	}
	

div#jas-thumbnails ul{
	list-style: none;
	width: 1780px;
	margin: 0; padding:0;
	overflow: hidden;
}

div#jas-thumbnails ul li{
	float: left;
	width: 55px;
	height: 55px;
	margin: 0 16px 10px  0;
	padding:0;
}

div#jas-thumbnails ul li img{
	width: 55px;
	height: 55px;
	cursor: pointer;
}

div#jas-thumbnails ul li.selected-parent{
	width: 53px;
	height: 53px;
	border: 1px solid #E64F22;
}

div#jas-thumbnails ul li img.selected{
	width: 49px;
	height: 49px;
	margin: 2px 0 0 2px;
}

h2#jas-image-text{
	text-align: center;
}

img#jas-image{
	margin-bottom: 1em;
	max-width:569px;
}
* html img#jas-image{
	/* width:569px; */
}

ul#links{
	display: block;
	clear: left;
	padding: 2em 0 1em 4em;
}

ul#links li{
	line-height: 2em
}

ul#navigation-controls{
	width: 260px;
	list-style: none;
	margin: 0 auto;
}

ul#navigation-controls li{
	float: left;
	line-height: 1.5em;
	margin-right: 0.5em;
}

ul#navigation-controls li#image-counter{
	margin: 0 0.75em 0 0.5em;
}


