/**
 *  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);
}
.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 #b13a36;
}
.thumb-off {
	border: 1px solid #b13a36;
}

#thumb-cnt .thumb-on, #thumb-cnt .thumb-off{
	float:left;
}
#thumb-cnt li{float:left}
#thumb-cnt img{margin:5px}
#thumb-cnt {
	float: none;
	display: none;
	padding:0;
	width:300px;	
}

#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%;
	height:100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 990;
}
.popup {
	border: 8px solid #731314;
	width: 560px;
	height: 484px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -288px;
	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;
	top: -15px;
	width: 30px;
}
#image-cnt{padding:10px 0!important}
.rllover{color:#aeaeae;font:normal 12px Georgia}
#thumb-wrapper{width:100%}
