﻿svg.thumb
{
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
div.video {
	width: 65%;
	float: left;
}
div.novideo {
	width: 100%;
}
div.video a.thumb {
    display: inline-block;
    position: relative;
    width: 29%;
    margin-right: 3%;
    margin-bottom: 3%;
}
div.novideo a.thumb {
    display: inline-block;
    position: relative;
    width: 20%;
    margin-right: 3%;
    margin-bottom: 3%;
}

a.thumb:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}

svg.thumb:hover image
{
    filter: none;
}

svg.thumb image
{
    filter: url(#grayscale);
}

#videos {
    border-style:dotted; 
    border-width: 0 1em 0 1em; 
    border-color:rgba(255, 255, 255, 0.1); 
    padding: 0 2% 0 2%;
}

#videos iframe {
    width:100%; 
    height:auto;
    margin-top:0.25em;
    margin-bottom:0.25em;
}

#videos iframe:first-child {
    margin-top:0;
}

#videos iframe:last-child {
    margin-bottom:0;
}

#gallery-static-content {
    margin-bottom: 1em;
    text-align: left;
}

#pd-canvas
{
    position:fixed; 
    top:0px; 
    left:0px; 
    background-color:transparent; 
    background-image:url(/image/pd-canvas-bg.png); 
    width:100%; 
    height:100%; 
    z-index:99999;
}

#pd-btt-close {
    display:inline-block; 
    width: 46px; 
    height:46px; 
    background-image:url(/image/pd-btt-close.svg); 
    background-size:contain; 
    background-repeat:no-repeat;  
    position: absolute; 
    top: 10px; 
    right: 10px; 
    cursor:pointer;
}

#pd-btt-prev, #pd-btt-next {
    display: inline-block; 
    width: 58px;
    height:58px;
    background-size:contain; 
    background-repeat:no-repeat;
    position:absolute;
    cursor:pointer;
    top:50%;
    margin-top:-29px;
}

#pd-btt-prev {
    background-image:url(/image/pd-btt-prev.svg);
    background-position:left;
    left:-10px;
}

#pd-btt-next {
    background-image:url(/image/pd-btt-next.svg); 
    background-position:right; 
    right:-10px;
}

#pd-photo {
    width:760px; 
    height:480px; 
    position:absolute; 
    top:10%; 
    left:50%; 
    margin-left:-370px; 
    text-align:center;
}

#pd-photo-img {
    max-width:640px; 
    max-height:480px; 
    background-color:transparent;
}

#pd-fb-like
{
    width: 50px;
    height: 50px;
    position: absolute;
    top:0px; 
    left:0px; 
}

#pd-photo-text {
    display: block;
    margin-bottom: 1em;
    min-height: 1em;
}
#pd-photo-text p {
    display: inline;
    margin-left:1em;
    color: white;
}

#pd-photo-text h1 {
    font-weight: bold;
    font-size: inherit;
    margin: 0;
    padding: 0;
    display: inline;
    color: #F6B237;
}