/**
 * jquery.butterfly.js
 * @version 0.10
 * @see http://irama.org/web/dhtml/butterfly/
 * @license GNU GENERAL PUBLIC LICENSE (GPL) <http://www.gnu.org/licenses/gpl.html>
 */
 
#jb-overlay {
	background: #000;
	z-index: 999;
	position: fixed;
	top: 0;
	height: 100%;
	left: 0;
	width: 100%;
	opacity: .9 !important;
}
#jb-window {
	z-index: 1000;
	position: fixed;
	top: 0;
	height: 100%;
	left: 0;
	width: 100%;
}

#jb-window-inner {
	background-color: #fff;
	color: #444;
	width: 50%;
	height: 50%;
	margin: auto;
	overflow: auto;
	/*position: relative;*/
}

#jb-loading { /* For semantic value, not to be seen */
	position: absolute;
	left: 0; top: 0;
	width: 0; height: 0;
	padding: 0; margin: 0;
	line-height: 0;
	display: block;
	overflow: hidden;
}

#jb-window.reactive {
	background: transparent url("images/reactive-overlay.png") right top no-repeat;
}


#jb-window.loading #jb-window-inner {
	background-image: url("images/loading-black-on-white.gif");
	background-position: center center;
	background-repeat: no-repeat;
}
/*.type-fragment #jb-window-content, */
.type-ajax #jb-window-content {
	padding: 0 1em 1em;
}

.type-media #jb-window-content {
	padding: 0;
}

#jb-window-content:focus {
	outline: none;
}

#jb-window-content .jb-caption {
	display: block;
	clear: both;
	margin: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #fff;
	width: 100%;
}
#jb-window-content .jb-caption span {
	display: block;
	padding: .5em 1em;
}




#jb-close-button img {
	border: none;
}

#jb-window.error-no-content #jb-window-content {
	background: transparent url("images/alert-64.png") 15px center no-repeat;
	padding-left: 70px;
}

/* Image replacement on gallery controls */
	#jb-gallery-prev,
	#jb-gallery-next {
		height: 0;
		padding-top: 85px;
		width: 49px;
		background: transparent url("images/gallery-controls-sprite.png") left top no-repeat;
	}
	#jb-gallery-next {
		background-position: -49px top;
	}
	#jb-gallery-prev:hover,
	#jb-gallery-prev:focus {
		background-position: left -85px;
	}
	#jb-gallery-next:hover,
	#jb-gallery-next:focus {
		background-position: -49px -85px;
	}
	#jb-gallery-prev.disabled,
	#jb-gallery-next.disabled {
		background: none;
		cursor: default;
	}
	
	.type-iframe #jb-window-content iframe {
		border: none;
		background: transparent;
		padding: 0;
	}
