/* @override http://www.overboarddesigns.com/obd_wp/wp-content/themes/overboard/gall-style.css */

.before-after-gall-cont {
	display: block;
	overflow: hidden;
	width: 550px;
	text-align: center;
}

.before-after-gall-cont .big-imgs {
	
	border: 3px solid #a9a9a9;
	text-align: center;
}

.before-after-gall-cont .big-imgs .big-item {
	display: block;
	overflow: hidden;
	margin: 0 auto 0 auto;
	width: 100%;
	text-align: center;
}

.before-after-gall-cont .big-imgs .big-item img {
	padding: 10px 0;
	cursor: pointer;
	display: inline;
	vertical-align: top;
}

.before-after-gall-cont .small-imgs {
	text-align: left;
	margin: 30px auto 0 auto;
	padding-top: 10px;
	padding-bottom: 10px;
	clear: both;
	display: block;
	overflow: auto;
	max-height: 1200px;
	width: 520px;
	border: 1px solid #a9a9a9;
}

.before-after-gall-cont .small-imgs .small-item {
	display: inline-table;
	vertical-align: top;
}

.before-after-gall-cont .small-imgs .small-item img {
	float: left;
	padding: 3px;
	border: 1px solid #a9a9a9;
	margin: 5px 4px;
	cursor: pointer;
}

.before-after-gall-cont .small-imgs .small-item.double img.before{
	border-right: none;
	margin-right: 0;
	padding-right: 10px;
}

.before-after-gall-cont .small-imgs .small-item.double img.after {
	margin-left: 0;
	padding-left: 9px;
	border-left: 1px dashed #a9a9a9;
}

.before-after-gall-cont .small-imgs .small-item.double img {
	padding: 3px;
}

.small-item.double {

}

/* POP-OUT */


div#overlay { 
	background-color: #000;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10000;
}

div#modal {
	position: absolute;
	display: none;
	width: 100%;
	overflow: visible;
	height: 100%;
	z-index: 100000;
	white-space: nowrap;
	text-align: center;
}
div#modalInner {
	display: inline-block;
	margin: 0 auto;
	position: relative;
	width: auto;

}

div#modal img {
	display: inline-block;
	margin: 0 10px;
	padding: 5px;
	border: 1px solid #797979;
	vertical-align: top;
}

a#close {
	padding: 0;
	position: absolute;
	left: -6px;
	top: -15px;
	color: #000;
	text-decoration: none;
	height: 32px;
	width: 32px;
	text-indent: -9999em;
	background: url(close-btn.png) no-repeat 0 0;
}

a:hover#close {
	/*color: #fff;
	background-color: #000;*/
}
