@constants
{
	pal_dark_grey: #191D21;
		pal_dark_grey_shade: rgba(25,29,33,0.7);
	pal_darkish_grey: #4A5A63; /* frequent? */
}

/**
 * CSS styles for Shadowbox.
 */

/* typography */
#sb-title-inner, #sb-info-inner, #sb-loading-inner, div.sb-message {
  color: #fff;
}

/* container, overlay, & wrapper */
#sb-container {
  position: fixed;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  z-index: 999;
  text-align: left;
  visibility: hidden;
  display: none;
}
#sb-overlay {
  position: relative;
  height: 100%;
  width: 100%;
}
#sb-wrapper {
  position: absolute;
  visibility: hidden;
  width: 100px; /* explicit width helps offset children calculate their width */
}
#sb-wrapper-inner {
  position: relative;

  overflow: hidden;
  height: 100px; /* explicit height helps offset children calculate their height */
}

/* body */
#sb-body {
  position: relative;
  height: 100%;
}
#sb-body-inner {
  position: absolute;
  height: 100%;
  width: 100%;
}
#sb-player.html {
  height: 100%;
  overflow: auto; /* make html content scrollable */
}
#sb-body img {
  border: none;
}

/* loading */
#sb-loading {
  position: relative;
  height: 100%;
}
#sb-loading-inner {
  position: absolute;
  font-size: 14px;
  line-height: 32px;
  height: 32px;
  top: 50%;
  margin-top: -16px;
  width: 100%;
  text-align: center;
}
#sb-loading-inner span {
  background: url(i/loading-shadow.gif) no-repeat;
  padding-left: 34px;
  display: inline-block;
}
#sb-body, #sb-loading {
  background-color: #191D21; /* 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, #sb-title-inner {
  height: 26px;
  line-height: 26px;
}
#sb-title-inner {
  font-size: 16px;
}
#sb-info, #sb-info-inner {
  height: 20px;
  line-height: 20px;
}
#sb-info-inner {
  font-size: 12px;
}

/* nav */
#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;
  background-repeat: no-repeat;
}
#sb-nav-close {
  background-image: url(i/close.png);
}
#sb-nav-play {
  background-image: url(i/play.png);
}
#sb-nav-pause {
  background-image: url(i/pause.png);
}


#sb-nav-next, #sb-nav-previous {
position: absolute; top: 0;
display: block;
height: 100%; width: 33%; line-height: 100%;
font-size: 20px; font-weight: bold;
cursor: pointer;
opacity: 0; }
	#sb-nav-next span, #sb-nav-previous span { position: absolute; top: 47%; padding: 10px; background: #191D21; background: #191D21_shade; color: #fff; }
	#sb-nav-next:hover, #sb-nav-previous:hover { opacity: 1;  }
	
		#sb-nav-next span { right: 20px; }
		#sb-nav-previous span { left: 20px; }
		
#sb-nav-next {/* background-image:url(resources/next.png);*/ right: 0; }
#sb-nav-previous { /*background-image:url(resources/previous.png);*/ left: 0; }


/* counter */
#sb-counter {
  float: left;
  width: 45%;
}
#sb-counter a {
  padding: 0 4px 0 0;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
}
#sb-counter a.sb-counter-current {
  text-decoration: underline;
}

/* messages */
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;
}
