#sb-info-inner,
#sb-loading-inner,
div.sb-message {
	color: #777777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	margin-top: 5px;
}
#sb-container {
	position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 20000;
    text-align: left;
    visibility: hidden;
    display: none;
}
#sb-overlay {
	position: relative;
    height: 100%;
    width: 100%;
}
#sb-wrapper {
	position: absolute;
	visibility: hidden;
	width: 100px;
	padding: 0;
	background: #ffffff;
	border: 0 solid #FFF;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
#sb-wrapper-inner {
	position: relative;
	border-top: 0 solid #ffffff;
	border-right: 25px solid #ffffff;
	border-bottom: 0 solid #FFF;
	border-left: 25px solid #ffffff;
	/*overflow: hidden;*/
	height: 100px;
	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
#sb-body {
	position: relative;
    height: 100%;
}
.sb-body-nav-touch {
	background: none;
	height: 100%;
	opacity: 1.0;
	position: absolute;
	top: 0;
	width: 49%;
	z-index: 2000;
}
#sb-body-previous-touch {
	left: 0;
}
#sb-body-next-touch {
	right: -0px;
}
#sb-body a {
	cursor: pointer;
	display: inline;
	height: 100%;
	margin-left: 5px;
	width: 100%;
}
#sb-body a#sb-body-next {
	background: 100% 50% no-repeat;
	float: right;
}
#sb-body a#sb-body-previous {
	background: 0 50%;
	float: left;
}
.sb-body-nav-label {
	background: #ffffff;
	color: #777777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	padding: 10px;
	position: absolute;
	top: 38%;
	vertical-align: middle;
}
#sb-body-previous-label {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	left: -2px;
	text-align: left;
	z-index: -1;
}
#sb-body-next-label {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	right: -2px;
	text-align: right;
	z-index: -1;
}
#sb-body-inner {
	position: absolute;
    height: 100%;
    width: 100%;
}
#sb-player.html {
	height: 100%;
    overflow: auto;
}
#sb-player {
	border: 0 solid #777;
}
#sb-body img,
#sb-body object {
	border: 0px solid #777777;
}
#sb-loading {
	position: relative;
    height: 100%;
}
#sb-loading-inner {
	position: absolute;
    font-size: 14px;
    line-height: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    width: 100%;
    text-align: center;
}
#sb-loading-inner span {
	background: url(/Gallery/gallery_ui/shadowbox/images/loading.gif) no-repeat;
	display: inline-block;
	height: 40px;
	padding-left: 0;
	width: 40px;
}
#sb-body,
#sb-loading {
	background-color: #ffffff;
}
#sb-lower-block {
	padding: 0 25px 20px 25px;
	overflow: auto;
	position: relative;
	top: 0px;
}

/*
---------------------------------------------------------
Title
---------------------------------------------------------
*/
#sb-title {
	margin: 5px 25px 5px 25px;
    z-index: 1;
    width: auto;
    height: auto;
    text-align: left;
}
#sb-title-inner {
    color: #777777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
    line-height: 12px;
}

/*
---------------------------------------------------------
Counter
---------------------------------------------------------
*/
#sb-counter {
	color: #777777;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
	font-weight: normal;
	height: 14px;
    margin-top: 10px;
    z-index: 2;
}
#sb-counter a {
	padding: 2px;
	margin: 0 2px 0 0;
	text-decoration: none;
	cursor: pointer;
	color: #777777;
	line-height: 20px;
}
#sb-counter a.sb-counter-current {
	text-decoration: none;
    font-size: 18px;
    font-weight: normal;
}

/*
---------------------------------------------------------
Navigation
---------------------------------------------------------
*/
#sb-info {
	padding: 0;
    margin: -10px auto;
	width: 100%;
    z-index: 5;
}
#sb-info-inner {
	font-size: 12px;
}
#sb-nav {
	padding: 2px 0;
}
#sb-nav a {
	display: inline;
	float: right;
	height: 40px;
	width: 22px;
	margin: 0;
	cursor: pointer;
	background-repeat: no-repeat;
}
#sb-nav a#sb-nav-play,
#sb-nav a#sb-nav-pause {
	border: 1px solid #777777;
	border-radius: 50px;
	height: 40px;
	text-align: center;
	vertical-align: middle;
	width: 40px;
}
#sb-nav a#sb-nav-play {
	color: #999999;
	font-size: 35px;
	line-height: 45px;
	padding: 0 4px 7px 4px;
	text-decoration: none;
}
#sb-nav a#sb-nav-play:hover {
	text-decoration: none;
}
#sb-nav a#sb-nav-pause {
	color: #999999;
	font-family: "Arial Black", Arial, Helvetica;
	font-size: 25px;
	font-weight: normal;
	line-height: 45px;
	padding: 1px 4px 6px 4px;
	text-decoration: none;
}
#sb-nav a#sb-nav-pause:hover {
	text-decoration: none;
}
#sb-nav-close-container {
	float: right;
    margin-top: -5px;
    margin-right: -1px;
}
a#sb-nav-close {
	color: #777777;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: normal;
	height: 20px !important;
	line-height: 20px;
	text-align: right;
}
a#sb-nav-close:hover {
	color: #777777;
	opacity: 0.8;
	text-decoration: none;
}
#sb-nav-controls {
	margin: 0 auto;
    width: 60px;
    clear: left;
}
#sb-nav-next {
	background-image:url(images/next.png);
}
#sb-nav-previous {
	background-image: url(images/previous.png);
}
div.sb-message {
	font-size: 12px;
    padding: 10px;
    text-align: center;
}
div.sb-message a:link,
div.sb-message a:visited {
	color: #fff;
    text-decoration: underline;
}