/*
 * PhotoSwipe - http://www.photoswipe.com/
 * Copyright (c) 2011 by Code Computerlove (http://www.codecomputerlove.com)
 * Licensed under the MIT license
 *
 * Default styles for SwipeGallery
 * 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 
{
	-webkit-text-size-adjust: none;
	overflow: hidden;
}
body.ps-active * 
{ 
	-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}
body.ps-active *:focus 
{ 
	outline: 0; 
}


/* Document overlay */
div.ps-document-overlay 
{
	background: #000  ;
	height: 1000000px !important;
	margin-top: 41px;
}

div.ps-carousel 
{
	margin-top: 80px;
	height: calc(100% - 160px) !important;
	margin-left: 80px;
	margin-right: 80px;
	width: calc(100% - 160px) !important;
	width: -webkit-calc(100% - 160px) !important;
	width: -moz-calc(100% - 160px) !important;
}

.ps-carousel-item img
{
}

/* Viewport */
div.ps-viewport 
{
	background: #fff  ;
	cursor: pointer;
	margin-top: 60px;
}


/* Zoom/pan/rotate layer */
div.ps-zoom-pan-rotate{
	background: #fff;
}


/* Slider */
div.ps-carousel-item-loading 
{ 
	margin-top: -50px;
	background: url(../images/photoswipe-loader.gif) no-repeat center center; 
	display: none;
}


/* Caption */
div.ps-caption
{ 
	color: #ffffff;
	font-size: 13px;
	font-family: Lato;
	text-align: center;
	height: 0px;
	overflow: visible !important;
}

div.ps-caption-bottom
{ 

}

div.ps-caption-content
{
	position: fixed;
	bottom: 35px;
	width: 100vw;
	text-align: center;
}


/* Toolbar */
div.ps-toolbar
{ 
/*	background: #fff;*/
/*	border: 1px solid #A8A8A8;*/	
	color: #000;
	font-size: 13px;
	font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: left;
	height: 0px;
	overflow: visible !important;
	float: left;
	top: 50vh !important;
	display: block; !important;
	table-layout: fixed;
	margin-left: 20px;
	width: calc(100% - 30px) !important;

}

div.ps-toolbar-top 
{
	border-top: none;
}

div.ps-toolbar-close, div.ps-toolbar-previous, div.ps-toolbar-next, div.ps-toolbar-play
{
	cursor: pointer;
	display: table-cell;
}

div.slide-options {
	height: 0px;
	overflow: visible;
}

div.ps-toolbar-close {
	position: fixed;
	top: 70px;
	right: 30px;
}

div.ps-toolbar-previous {
	position: fixed;
	top: 50vh;
	left: 30px;
}

div.ps-toolbar-next {
	position: fixed;
	top: 50vh;
	right: 30px;
}

div.ps-toolbar div div.ps-toolbar-content
{
	width: 44px;
	height: 44px;
	margin: 0 auto 0;
	background-image: url(../images/photoswipe-icons.png);
	background-repeat: no-repeat;
}

div.ps-toolbar-close div.ps-toolbar-content
{
	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;
}

.ps-caption{
opacity:1 !important;
}

.ps-toolbar {
opacity:1 !important;
}

/* Hi-res retina display */
/*@media only screen and (-webkit-min-device-pixel-ratio: 2)
{
	div.ps-toolbar div div.ps-toolbar-content
	{
		-webkit-background-size: 176px 88px;
		background-image: url(../images/photoswipe-icons@2x.png);
	}
}*/

@media screen and (max-width: 540px){
	div.ps-toolbar {
		display: none !important;
	}

	div.ps-carousel 
	{
		height: calc(100% - 160px) !important;
		margin-left: 10px;
		margin-right: 10px;
		width: calc(100% - 20px) !important;
		width: -webkit-calc(100% - 20px) !important;
		width: -moz-calc(100% - 20px) !important;
	}
}