#sb-container, #sb-wrapper {
	text-align: left;
}

#sb-container, #sb-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0;
}

#sb-container {
	height: 100%;
	display: none;
	visibility: hidden;
	z-index: 999;
}

body > #sb-container {
	position: fixed;
}

#sb-overlay {
	height: expression(document.documentElement.clientHeight + 'px');
}

#sb-container > #sb-overlay {
	height: 100%;
}

/*---------- General framing ----------*/

#sb-wrapper {
	position: relative;
}

#sb-wrapper img {
	border: none;
}

#sb-body {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
	/* define outer border */
	border: 0px solid #c53543;
}

#sb-body-inner {
	position: relative;
	height: 100%;
}

#sb-content.html {
	height: 100%;
	overflow: auto;
	/* make html content scrollable */
}

/*---------- Loading ----------*/

#sb-loading {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	padding-top: 10px;
}

#sb-body, #sb-loading {
	color: #000000;
	background-color: #ffffff;
	/* should match loading image background color */
}

/*---------- Title & Info  ----------*/

#sb-title, #sb-info {
	position: relative;
	margin: 0;
	/* these must have no vertical margin or padding */
	padding: 0;
	overflow: hidden;
}

#sb-title-inner, #sb-info-inner {
	position: relative;
	font-family: 'Lucida Grande', Tahoma, sans-serif;
	line-height: 16px;
}

#sb-title, #sb-title-inner {
	height: 26px;
}

#sb-title-inner {
	font-size: 16px;
	padding: 5px 0;
	color: #ffffff;
}

#sb-info, #sb-info-inner {
	height: 20px;
}

#sb-info-inner {
	font-size: 12px;
	color: #ffffff;
}

/*---------- Navigation ----------*/

#sb-nav {
	float: right;
	height: 16px;
	padding: 2px 0;
	width: 45%;
}

#sb-nav a {
	display: block;
	float: right;
	height: 16px;
	width: 16px;
	margin-left: 3px;
	cursor: pointer;
}

#sb-nav-close {
	background-image: url(resources/close.png);
	background-repeat: no-repeat;
}

#sb-nav-next {
	background-image: url(resources/next.png);
	background-repeat: no-repeat;
}

#sb-nav-previous {
	background-image: url(resources/previous.png);
	background-repeat: no-repeat;
}

#sb-nav-play {
	background-image: url(resources/play.png);
	background-repeat: no-repeat;
}

#sb-nav-pause {
	background-image: url(resources/pause.png);
	background-repeat: no-repeat;
}

/*---------- Counter ----------*/

#sb-counter {
	float: left;
	padding: 2px 0;
	width: 45%;
}

#sb-counter a {
	padding: 0 4px 0 0;
	text-decoration: none;
	cursor: pointer;
	color: #ffffff;
}

#sb-counter a.sb-counter-current {
	text-decoration: underline;
}

/*---------- Messages ----------*/

div.sb-message {
	font-family: 'Lucida Grande', Tahoma, sans-serif;
	font-size: 12px;
	padding: 10px;
	text-align: center;
}

div.sb-message a:link, div.sb-message a:visited {
	color: #fff;
	text-decoration: underline;
}
