/* define background image for the expose mask */
#mask {
	background-color: #2B282C;
}

/* general settings for both scrollables */
.items {
	width:20000em;
	position:absolute;
	clear:both;
	margin: 0px;
	padding: 0px;
}

/* next/prev buttons */
.navi {
	background-image:url(../images/elements/navi_but.png);
	width:29px;
	height:29px;
	cursor: pointer;
	position: absolute;
	z-index: 2000;
	margin: 0px;
	padding: 0px;
	float: left;
}

.navi:hover  		{
	background-position:-29px 0;
}
.navi:active  		{
	background-position:-58px 0;
}
.nextPage 			{
	background-position: 0 -29px;
	clear:right;
	left: 1120px;
	top: 173px;
}
.nextPage:hover 	{
	background-position:-29px -29px;
}
.nextPage:active 	{
	background-position:-58px -29px;
} 
.prevPage 			{
	left: 109px;
	top: 173px;
}

.navi.disabled {
	visibility:hidden;		
}


/* the thumbnail scrollable */
#thumbnails {
	position:relative;
	overflow:hidden;
	float:left;
	width: 974px;
	height:343px;
	padding: 0px;
	background-color: #000000;
	left: 1px;
	top: -350px;
	border: 1px solid #444245;
	z-index: 1000;
	clear: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: -345px;
	margin-left: 0px;
}

#thumbnails .items div {
	float:left;
	margin: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #444245;
	position: relative;
	overflow: hidden;
	padding: 4px;
}
#thumbnails .items div h1{
	float:left;
	margin: 0px;
	position: absolute;
	padding: 0px;
	font-size: 30px;
	left: 4px;
	bottom: 4px;
	color: #57505A;
}
#thumbnails .items img {
	height: 335px;
	cursor: pointer;
}
/* tooltip styling */ 
#tooltip {
	color:#fff;
	font-size:14px;
	height:90px;
	display:none;
	width:auto;
	background-color: #2B282C;
	position: relative;
	bottom: 0px;
	padding: 0px;
	float: none;
	margin: 0px;
	cursor: pointer;
	z-index: 2000;
}
/* box styling */
#box {
	background-image:url(../images/elements/box_bg.png);
	width:761px;
	height:572px;
	position:absolute;
	display:none;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	clear: none;
	background-position: 0px 0px;
	background-color: transparent;
}

/* 
	image is contained on the overlay background image. 
	the closing button is thus just a transparent container. 
*/
#box .close {
	position:absolute;
	left:0px;
	top:0px;
	cursor:pointer;
	height:33px;
	width:33px;
	text-decoration:none;
	background-color: transparent;
	display: block;
}

/* overlay scrollable */
#images {
	position:absolute;
	overflow:hidden;
	width:735px;
	height:545px;
	text-align: center;
	margin-top: 31px;
	margin-right: 12px;
	margin-bottom: 12px;
	margin-left: 14px;
	padding: 0px;
	left: 0px;
	top: 0px;
}

/* single image */
#images .items div {
	width:735px;
	height:465px;
	margin: 0px;
	padding: 0px;
	float: left;
	position: relative;
}
#images .items div h1{
	margin: 0px;
	padding: 0px;
	position: relative;
	top: 3px;
}
#box #images .items img {
	height: 465px;
	padding: 4px;
	border: 1px solid #444245;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 4px;
	margin-left: 0px;
	cursor: pointer;
}

/* the tooltip */
#images .items .info {
	color:#fff;
	font-size:14px;
	height:90px;
	display:none;
	width:735px;
	background-color: #2B282C;
	position: relative;
	bottom: 0px;
	padding: 0px;
	float: none;
	margin: 0px;
	cursor: pointer;
}
#images  .items  .info  h1 {
	color:#FFFFFF;
	margin-top:10px;
	font-size: 30px;
}
	

/* override button style on the overlay */
#box .navi {
	position:relative;
	float: left;
	top: 513px;
}
#box .prevPage {
	left: 117px;
}

#box .nextPage {
	left:580px;
}


/* general overlay */ 
#overlay {
	background-image:url(../images/elements/box_bg.png);
	width:761px;
	height:572px;
}

/* container for external content. uses vertical scrollbar, if needed */
.contentWrap {
	height:500px;
	overflow-y:auto;
}

/* the overlayed element */
.apple_overlay {
	width:761px;
	height:572px;
	display: none;
	padding-top: 35px;
	padding-right: 0px;
	padding-bottom: 35px;
	padding-left: 0px;
}

/* default close button positioned on upper right corner */
.apple_overlay div.close {
	position:absolute;
	left:0px;
	top:0px;
	cursor:pointer;
	height:33px;
	width:33px;
	text-decoration:none;
	background-color: transparent;
	display: block;
}
div.apple_overlay.black {
	background-image:url(../images/elements/box_bg.png);
	color:#fff;
}

div.apple_overlay h2 {
	margin:10px 0 -9px 0;
	font-weight:bold;
	font-size:14px;
}

div.black h2 {
	color:#fff;
}
	/* Custom Overlays */

#triggers {
	margin-top:10px;
	text-align:center;
}

#triggers img {
	background-color:#fff;
	padding:2px;
	border:1px solid #ccc;
	margin:2px 5px;
	cursor:pointer;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

#custom {
	background-image:url(../images/elements/box_bg.png);
	width:512px;
	height:531px;
	padding:0px;
}

#custom div.close {
	right:-15px;
	top:-10px;
}
#apple {
	background-image:url(../images/elements/box_bg.png);
	position: absolute;
	text-align: center;
}
iframe {
	border: none;
}
