body
{
  font-size: 12px;
}

a
{
  color: #000;
}

/**
 * OSx hides scrollbars while not in use to make it seem more "slick".
 * Show something that looks similar to it but is displayed all the time.
 */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.album_wrap
{
  min-width: 800px;
  overflow: hidden;
}

.album_wrap .photo_wrap
{
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  display: table;
}

.album_wrap .photo_wrap img
{
  clear: none;
  border: 2px solid #666;
  z-index: 1;
}

.album_wrap .photo_wrap .photo_content
{
  position: relative;
  width:935px;
  margin:0 auto;
}


.album_wrap .thumbs
{
  overflow: hidden;
  margin: 0 auto;
  z-index: 1;
}

.album_wrap .thumbs_nav_wrapper
{
  position: relative;
}

.thumb
{
  float: left;
  margin: 4px;
  position: relative;
}

.thumb.media_item
{
  width: 178px;
  height: 134px;
  line-height: 130px;
}

.thumb img
{
  border: 2px solid #777;
}

.thumb.current img
{
  -webkit-box-shadow:  0px 0px 4px 2px rgba(0, 0, 0, 0.4);
  box-shadow:  0px 0px 4px 2px rgba(0, 0, 0, 0.4);

  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity:0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}

.thumb .title
{
  width: 160px;
}

.thumb .counter
{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background-color: #777;
  border: 2px solid #ccc;
}
.thumb .counter .num
{
  position: absolute;
  color: #777;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  background-color: #fff;
  font-size: 9px;
  margin: 4px;
  border: 1px solid #ccc;
  z-index: 2;
}
.thumb .counter .decoration
{
  width: 15px;
  height: 15px;
  background-color: #fff;
  position: absolute;
  bottom: 7px;
  right: 7px;
  z-index: 1;
}

.clear
{
  clear: both;
}

.hidden
{
  display: none;
}

.thumbs_nav_left,
.thumbs_nav_right
{
  display: block;
  width: 26px;
  height: 122px;
  margin-top: 5px;
  border: 1px solid #cacaca;
  line-height: 126px;
  text-align: center;
  text-decoration: none;
  background: #dadada;
  position: absolute;
  top: 0;
  z-index: 3;
}

.thumbs_nav_left
{
  left: 0;
}

.thumbs_nav_right
{
  right: 0;
}

.previous_photo,
.next_photo
{
  display: block;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
}

.previous_photo
{
  left: 0;
  background: url('../img/display-nav-back.png') top left no-repeat;
}

.next_photo
{
  right: 0;
  background: url('../img/display-nav-next.png') top right no-repeat;
}

.next_photo:hover
{
  background: url('../img/display-nav-next-hover.png') top right no-repeat;
}

.previous_photo:hover
{
  background: url('../img/display-nav-back-hover.png') top left no-repeat;
}

.next_photo_wide,
.previous_photo_wide
{
  position: absolute;
  top: 190px;
  height: 100%;
  width: 50%;
  z-index: 5;
  pointer-events: none;
}

.next_photo_wide
{
  right: 0;
}

.previous_photo_wide
{
  left: 0;
}

.paginator_info
{
  overflow:hidden;
  clear:both;
}

ul.paginator
{
  display:block;
  float:right;
  list-style: none;
  margin-left: 0;
  padding-left: 5px;
}

ul.paginator li
{
  display: inline;
}

ul.paginator li a
{
  text-decoration: none;
  display: inline-block;
  padding: 0 7px 0 7px;
  line-height: 22px;
  text-align: center;
  color: #aaa;
  border: 1px solid #aaa;

}

ul.paginator li.active a,
ul.paginator li a:hover
{
  background: #999;
  color: #fff;
}

.breadcrumb
{
  float: left;
  padding: 20px 0;
  color: #777;
}

.album_wrap .nav_go_back,
.video_wrap .nav_go_back
{
  color: #777;
}

.video_wrap .player_wrap
{
  text-align: center;
}

.current_photos
{
  width: 100%;
  height: auto;
  max-height: 108px;
  overflow: auto;
}


.album_popup_wrapper
{
  width: 900px;
  position: relative;
  margin: 0 auto;
}

a.photo_thumb img
{
  width: 82px;
  height: 62px;
}

.nav_thumb img
{
  border: none;
  vertical-align: middle;
}

.nav_thumb.media_item
{
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #777;
  background: url('../img/placeholder_album_cover.png') top left no-repeat;
  text-align: center;
}

.photo_wrap .photo_title
{
  color:#777;
}

.mejs-container
{
  margin: 0 auto;
}

#mediaType
{
  display: none;
}