/**
 * The "stylespin" theme CSS for Shadowbox.
 *
 * Shadowbox is an online media viewer application written by Michael J. I.
 * Jackson <mjijackson@gmail.com> that supports all of the web's most popular
 * media publishing formats. Shadowbox is written entirely in JavaScript and
 * CSS and is highly customizable. Using Shadowbox, website authors can showcase
 * a wide assortment of media in all major browsers without navigating users
 * away from the linking page.
 *
 * Shadowbox is released under version 3.0 of the Creative Commons Attribution-
 * Noncommercial-Share Alike license. This means that it is absolutely free
 * for personal, noncommercial use provided that you 1) make attribution to the
 * author and 2) release any derivative work under the same or a similar
 * license.
 *
 * If you wish to use Shadowbox for commercial purposes, licensing information
 * can be found at http://mjijackson.com/shadowbox/.
 */

/*
|-------------------------------------------------------------------------------
| Container & Overlay
|-------------------------------------------------------------------------------
*/

#sb-container, #sb-overlay {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

#sb-container {
  position: fixed;
  display: none;
  visibility: hidden;
  z-index: 999;
  text-align: left; /* reset left alignment */
}

#sb-overlay {
  position: absolute;
}

/*
|-------------------------------------------------------------------------------
| Shadowbox
|-------------------------------------------------------------------------------
*/

#sb-wrapper {
  position: relative;
  text-align: left; /* reset left alignment */
}

/*
|-------------------------------------------------------------------------------
| Body
|-------------------------------------------------------------------------------
*/

#sb-body {
  position: relative;
  margin: 0;
  padding: 0;
  border: 10px solid #FFF;
  overflow: hidden;
}

#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%;
}

#sb-body, #sb-loading {
  background-color: #FFF; /* should match loading image background color */
}

#sb-loading-indicator {
  height: 100%;
  width: 100%;
  background-image: url(resources/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
}

/*
|-------------------------------------------------------------------------------
| 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: Arial, sans-serif;
}

#sb-title {
  height: 37px;
}

#sb-title-inner {
  font-size: 8pt;
  padding: 10px 0;
  color: #fff;
  line-height: 17px;
}

#sb-info {
  height: 37px;
}

#sb-info-inner {
  font-size: 8pt;
  padding: 10px 0;
  color: #fff;
  line-height: 17px;
}

/*
|-------------------------------------------------------------------------------
| Navigation
|-------------------------------------------------------------------------------
*/

#sb-nav {
  float: right;
  height: 17px;
  padding: 0;
  width: 45%;
}

#sb-nav a {
  display: block;
  float: right;
  height: 17px;
  margin-left: 10px;
  cursor: pointer;
}

#sb-nav a:hover {
  background-position: 0 -17px;
}

#sb-nav-close {
  width: 17px;
  background-image: url(resources/close.gif);
  background-repeat: no-repeat;
}

#sb-nav-next {
  width: 11px;
  background-image: url(resources/next.gif);
  background-repeat: no-repeat;
}

#sb-nav-previous {
  width: 11px;
  background-image: url(resources/previous.gif);
  background-repeat: no-repeat;
}

#sb-nav-play {
  width: 11px;
  background-image: url(resources/play.gif);
  background-repeat: no-repeat;
}

#sb-nav-pause {
  width: 11px;
  background-image: url(resources/pause.png);
  background-repeat: no-repeat;
}

/*
|-------------------------------------------------------------------------------
| Counter
|-------------------------------------------------------------------------------
*/

#sb-counter {
  float: left;
  padding: 0;
  width: 45%;
}

#sb-counter a {
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
}

#sb-counter a.shadowbox-counter-current {
  text-decoration: underline;
}

/*
|-------------------------------------------------------------------------------
| Clear
|-------------------------------------------------------------------------------
*/

div.shadowbox-clear {
  clear: both; /* clear floating counter & nav */
}

/*
|-------------------------------------------------------------------------------
| Messages
|-------------------------------------------------------------------------------
*/

div.shadowbox-message {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  padding: 10px;
  text-align: center;
}

div.shadowbox-message a:link,
div.shadowbox-message a:visited {
  color: #fff;
  text-decoration: underline;
}
