/*
 * photoswipe.css
 * Copyright (c) %%year%% by Code Computerlove (http://www.codecomputerlove.com)
 * Licensed under the MIT license
 *
 * Default styles for PhotoSwipe
 * Avoid any position or dimension based styles
 * where possible, unless specified already here.
 * The gallery automatically works out gallery item
 * positions etc.
 */
 
body.ps-active, body.ps-building, div.ps-active, div.ps-building
{
	background: #fff;
	overflow: hidden;
}
body.ps-active *, div.ps-active *
{ 
	-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
	display: none;
}
body.ps-active *:focus, div.ps-active *:focus 
{ 
	outline: 0; 
}


/* Document overlay */
div.ps-document-overlay 
{
	background: #fff;
	outline:10000px solid #fff;
}


/* UILayer */
div.ps-uilayer { 
	
	background: #fff;
	cursor: pointer;
	
}


/* Zoom/pan/rotate layer */
div.ps-zoom-pan-rotate{
	background: #fff;
}
div.ps-zoom-pan-rotate *  { display: block; }


/* Carousel */
div.ps-carousel-item-loading 
{ 
	background: url(loader.gif) no-repeat center center; 
}

div.ps-carousel-item-error 
{ 
	background: url(error.gif) no-repeat center center; 
}


/* Caption */
div.ps-caption
{ 
	background: #fff;
	border-bottom: 1px solid #fff;
	color: #000;
	font-size: 13px;
	font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: center;
}
div.ps-caption *  { display: inline; }

div.ps-caption-bottom
{ 
	border-top: 1px solid #fff;
	border-bottom: none;
	min-height: 44px;
}

div.ps-caption-content
{
	padding: 13px;
	display: block;
}


/* Toolbar */
div.ps-toolbar
{ 
	background: #fff;
	border-top: 1px solid #fff;
	color: #000;
	font-size: 40px;
	line-height: 14px;
	font-family: Lato, "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: center;
	height: 44px;
	display: table !important;
	-moz-opacity: 1 !important;
	-webkit-opacity: 1 !important;
	opacity: 1 !important;
	filter:alpha(opacity=100) !important;
}
div.ps-toolbar * { 
	display: block;
}

div.ps-toolbar-top 
{
	border-bottom: 1px solid #ddd;
	border-top: none;
}

div.ps-toolbar-close, div.ps-toolbar-previous, div.ps-toolbar-next, div.ps-toolbar-play, div.ps-download-button-low, div.ps-download-button-high, div.ps-thumbs-button
{
	cursor: pointer;
	display: table-cell;
}

div.ps-toolbar div div.ps-toolbar-content
{
	width: 44px;
	padding-top: 12px;
	height: 32px;
	margin: 0 auto 0;
	background-image: url(icons.png);
	background-repeat: no-repeat;
}

div.ps-toolbar-close div.ps-toolbar-content
{
	font-size: 36px;
	position: relative;
	top: -4px;
	background-position: 0 0;
}

div.ps-toolbar-previous div.ps-toolbar-content
{
	background-position: -44px 0;
}

div.ps-toolbar-previous-disabled div.ps-toolbar-content
{
	background-position: -44px -44px;
}

div.ps-toolbar-next div.ps-toolbar-content
{
	background-position: -132px 0;
}

div.ps-toolbar-next-disabled div.ps-toolbar-content
{
	background-position: -132px -44px;
}

div.ps-toolbar-play div.ps-toolbar-content
{
	background-position: -88px 0;
}

div.ps-download-button-low div.ps-toolbar-content
{
	background-position: -176px 0;
}

div.ps-download-button-high div.ps-toolbar-content
{
	background-position: -220px 0;
}

div.ps-thumbs-button div.ps-toolbar-content
{
	background-position: -308px 0;
}

/* Hi-res display */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (-moz-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
	div.ps-toolbar div div.ps-toolbar-content
	{
		-moz-background-size: 352px 88px;
		-o-background-size: 352px 88px;
		-webkit-background-size: 352px 88px;
		background-size: 352px 88px;
		background-image: url(icons@2x.png);
	}
}



/* ==================== Fullscreen thumbs mod ==================== */

div.ps-toolbar.has-thumbs {
	height:144px; /* 44 default + 100 for the thumbs */
}
div.ps-thumbs-wrapper {
	display:none;
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:100px;
	text-align:center;
}
div.ps-toolbar.has-thumbs div.ps-thumbs-wrapper {
	display:block;
}
div.ps-toolbar.has-thumbs div.ps-thumbs-button div.ps-toolbar-content {
	background-position: -264px 0;
}
div.ps-thumbs {
	width:100%;
	height:100%;
	white-space:nowrap;
}
div.ps-thumbs .item {
	display:inline-block;
	margin:10px;
	height:65px;
	width:65px;
}
div.ps-thumbs .item a, div.ps-thumbs .item img {
	height:65px;
	width:65px;
}
div.ps-thumbs .item a {
	-moz-opacity:0.7;
	-webkit-opacity:0.7;
	opacity:0.7;
	filter:alpha(opacity=70);
}
div.ps-thumbs .item a.selected {
	border:2px solid #fff;
	margin:-2px;
	-moz-opacity:1;
	-webkit-opacity:1;
	opacity:1;
	filter:alpha(opacity=100);
}


/* jScrollPane */

div.has-thumbs .jspContainer
{
	overflow: hidden;
	position: relative;
}

div.has-thumbs .jspPane
{
	position: absolute;
}

div.has-thumbs .jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 100%;
	background: red;
}

div.has-thumbs .jspHorizontalBar
{
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	height: 10px;
	background: transparent;
}

div.has-thumbs .jspVerticalBar *,
div.has-thumbs .jspHorizontalBar *
{
	margin: 0;
	padding: 0;
}

div.has-thumbs .jspCap
{
	display: none;
}

div.has-thumbs .jspHorizontalBar .jspCap
{
	float: left;
}

div.has-thumbs .jspTrack
{
	background: transparent;
	position: relative;
}

div.has-thumbs .jspDrag
{
	background: #777;
	-moz-border-radius:100px;
	-webkit-border-radius:100px;
	border-radius:100px;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
}

div.has-thumbs .jspHorizontalBar .jspTrack,
div.has-thumbs .jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

div.has-thumbs .jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

div.has-thumbs .jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

div.has-thumbs .jspVerticalBar .jspArrow
{
	height: 16px;
}

div.has-thumbs .jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

div.has-thumbs .jspVerticalBar .jspArrow:focus
{
	outline: none;
}

div.has-thumbs .jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html div.has-thumbs .jspCorner
{
	margin: 0 -3px 0 0;
}