.imageViewer {
	position: relative;
	top: 0;
	left: 0;
	/* NOTE: the size and width should be set dynamically when initialized */ /*
  width: 256px;
  height: 256px;
  */
	width: 100%;
	height: 310px;
	background-color: white;
}

.imageViewer .well, .imageViewer .surface {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	/* FIXME: let's apply this in GSV.js */ /*cursor: grab;*/
	cursor: -moz-grab;
	_cursor: url('/vg/gsv/gfx/grab.cur');
  *cursor: url('/vg/gsv/gfx/grab.cur');
}

.imageViewer .surface {
	z-index: 300;
	background: url('/vg/gsv/gfx/blank.gif') no-repeat center center;
}

.imageViewer .well {
	overflow: hidden;
	z-index: 1;
}

.imageViewer .well .tile {
	border: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0px;
	left: 0px;
	display: block;
	/*-moz-outline: 1px dashed #FF0000;*/
}

.imageViewer zoomControls {
	position: absolute;
	/* NOTE: the right and bottom can be adjusted when initialized */
	right: 0;
	bottom: 0;
	background-color: #00FFFF;
	width: 30px;
	height: 21px;
	margin: 0;
	padding: 0 0 0 4px;
	font-size: 12px;
	line-height: 20px;
	vertical-align: middle;
	font-weight: bold;
	z-index: 31;
}

.imageViewer .controls {
	position: absolute;
	/* NOTE: the right and bottom can be adjusted when initialized */
	right: 0;
	bottom: 0;
	width: 40px;
	height: 75px;
	margin: 0;
	padding: 0 0 0 4px;
	font-size: 12px;
	line-height: 20px;
	vertical-align: middle;
	font-weight: bold;
	z-index: 30;
}

.imageViewer .controls a {
	color: #000000;
	text-decoration: none;
	-moz-outline: none;
}

.imageViewer .zoomControls a img {
	border: 0;
	vertical-align: middle;
}

.imageViewer .controls a img {
	border: 0;
	vertical-align: middle;
}

.imageViewer .controls a:active {
	color: #FF0000;
}