/**
 *  Image Browser
 */
/*
#imb-wrapper {
    position: relative;
    width: 266px;
}
*/


#image-wrapper {    
    vertical-align: middle;
}

#image-cnt {
	padding:0;
    _width: expression(this.width > 266 ? 266: true);
	_height: expression(this.height > 180 ? 180: true);
	border:1px solid #777
}
.thumb-on, .thumb-off {
	margin:0 auto;
	padding:0px;
	max-width: 63px;
	max-height: 63px;
	_width: expression(this.width > 63 ? 63: true);
	_height: expression(this.height > 63 ? 63: true);
}

.thumb-on{
	border: 1px solid #AFBEC2;
}
.thumb-off {
	border: 1px solid #ffffff;
}

#thumb-cnt li {
	float: left;
	margin-right: 5px
}

#thumb-cnt li a {
	border: 1px solid #777;
	display: block
}

#thumb-wrapper ul#thumb-cnt {
	float: none;
	display: none;
	padding: 0;
	margin-top: 11px
}

#imb-wrapper ul{
	margin:0
}

#imb-wrapper li{
	list-style: none;	
}

.image-off {
	display: none;
}

.enlarge-off {
	display: none;
}

div.zoomdiv {
	z-index: 100;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 150px;
	height: 150px;
	background: #ffffff;
	border: 1px solid #CCCCCC;
	display: none;
	text-align: center;
	vertical-align: middle;
	overflow: hidden;
}

.image-on{
	cursor: crosshair;
	position: relative;	
}

/**
 *  Popup window styles
 */
.bgpopup {
	background: #8e9679;
	position: fixed;
	*position: absolute;	
	*width: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 990;
}
.popup {
	border: 8px solid #0076A3 ;
	width: 560px;
	height: 484px;
	position: fixed;
	*position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -288px;
	margin-top: -250px;
	z-index: 999;
}
.popup .popup-wrap {
	border: 1px solid #fff;
	width: 558px;
	height: 482px;	
}

.popup .popup-close {
	background: url(/site/addons/imb/imb_close.png) no-repeat left transparent;
	cursor: pointer;
	display: block;
	height: 30px;
	position: absolute;
	right: -15px;
	text-indent: -100000px;
	top: -15px;
	width: 30px;	
}

