/*
 * 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: #000!important;
	overflow: hidden;
}
body.ps-active *, div.ps-active *, body.ps-building *, div.ps-building *
{
	-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: #000;
}


/* UILayer */
div.ps-uilayer {

	background: #000;
	cursor: pointer;

}


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


/* Carousel */
div.ps-carousel-item-loading 
{ 
	background: url(/img/photoswipe/loader.gif) no-repeat center center;
}

div.ps-carousel-item-error 
{ 
	background: url(/img/photoswipe/error.gif) no-repeat center center;
}


/* Caption */
div.ps-caption
{ 
	background: #000000;
	background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
	/*border-bottom: 1px solid #42403f;*/
	color: #fff;
	font-size: 13px;
	font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: center;
    height: 10%;
    display: table;
    table-layout: fixed;
}

div.ps-caption-bottom
{ 
	border-top: 1px solid #42403f;
	border-bottom: none;
	height: 10%;
}

div.ps-caption-content
{
    position: relative;
    top:-1px;
    /*height: 90%;*/
    vertical-align: middle;
	display: table-cell;
}

/* Toolbar */
div.ps-toolbar
{ 
	background: #000000;
	background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
	border-top: 1px solid #42403f;
	color: #ffffff;
	font-size: 13px;
	font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: center;
	height: 12%;
	display: table;
	table-layout: fixed;
}
div.ps-toolbar * { 
	display: block;
}

div.ps-toolbar-top 
{
	border-bottom: 1px solid #42403f;
	border-top: none;
}

div.ps-toolbar div.ps-toolbar-content
{
    width:100%;
	height: 100%;
	margin: 0 auto 0;
}

.ps-fixed-close {
    cursor:pointer;
    height: 90%;
    display: block;
    position:absolute;
    z-index: 170000010;
    right:1.5%;
    bottom:0;
}

.ps-fixed-num {
    cursor:pointer;
    height: 90%;
    color: #fff;
    font-size: 13px;
    display: block;
    position:absolute;
    z-index: 170000010;
    left:2%;
    bottom:0;
}


.ps-toolbar{
    opacity:0.8 !important;
    display:table !important;
    border:none!important;
    background: none!important;
}

/* 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: 176px 88px;
		-o-background-size: 176px 88px;
		-webkit-background-size: 176px 88px;
		background-size: 176px 88px;
		background-image: url(/img/photoswipe/icons-2x.png);
	}
}

/*http://twitter.github.io/bootstrap/scaffolding.html#responsive*/
/*http://stephen.io/mediaqueries/#iPad*/
/* smartphone portrait */
@media (max-width : 320px) {
    div.ps-caption-content * { font-size: 24px; }
}
/* smartphone landscape */
@media (max-width : 320px) and (orientation : landscape) {
    div.ps-caption-content * { font-size: 18px; }
}
/* tablets portrait */
@media (min-width: 768px) and (max-device-width: 1024px) {
    div.ps-caption-content * { font-size: 16px; }
}
/* tablets landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation : landscape) {
    div.ps-caption-content * { font-size: 14px; }
}