/*
Theme Name: Pythagor Full One
Theme URI: http://pythagor.com/
Description: Full screen gallery.
Author: Andrei Chugunov
Author URI: http://pythagor.com/
Version: 0.1
License:
License URI:
Tags:
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
	overflow-x: hidden;
	overflow-y: auto;
	background: #2d2d2d;
	text-align: center;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}


a, a:visited, a:link {
	color: #eee;
}
.advertString {
	float: right;
	margin: 1em;
	color: #aaa;
}
#arrow {
	position: absolute;
	width: 200px;
	height: 100px;
}
#arrowPrev, #arrowNext {
	width: 100px;
	height: 100px;
}
#arrowPrev {
	float: left;
}
#arrowNext {
	float: right;
}
#arrowWrap {
	position: absolute;
	color: black;
	width: 100px;
	height: 100px;
	overflow: hidden;
	display: none;
}
#bg {
	/* Set rules to fill background
	min-height: 100%;
	max-height: 100%;
	min-width: 800px;*/

	/* Set up proportionate scaling*/
	width: 100%;
	height: 100%;

	/* Set up positioning */
	position: fixed;
	top: 0;
	left: 0;
}
.caption {
	-moz-transition: all .5s 0s;
	-webkit-transition: all .5s 0s;
	-o-transition: all .5s 0s;
	position: relative;
	float: left;
	width: 100%;
	margin: 0;
	top: 0;
	height: 100%;
	background-color: rgba(0,0,0,.6);
	background: -moz-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: -webkit-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: -o-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: -ms-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
	text-align: center;
}
.caption:hover {
    -moz-transition: all .5s 0s;
	-webkit-transition: all .5s 0s;
	-o-transition: all .5s 0s;
	cursor: pointer;
	background-color: rgba(0,0,0,.6);
    background: -moz-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: -webkit-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: -o-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: -ms-linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
    background: linear-gradient(top, rgba(50,50,50,.6) 0%, rgba(20,20,20,.6) 2%, rgba(30,30,30,.6) 25%, rgba(20,20,20,.6) 50%, rgba(10,10,10,.6) 100%);
	text-shadow: black 1px 1px 2px, white 0 0 1em;
	top: -5%;
}
.caption h2 {
	font-size: 250%;
/*Font family by theme options*/
	margin: 5%;
	text-decoration: none;
}
.captionActive {
	text-shadow: black 1px 1px 2px, white 0 0 1em;
	background-color: rgba(0,0,0,.5);
}
.content {
	position: absolute;
	left: 0;
	bottom: 100%;
	width: 100%;
	height: 0;
	overflow: hidden;
	margin: 0;
	background-color: rgba(0,0,0,.3);
	text-align: left;
	text-shadow: black 1px 1px 2px, black 0 0 1em;
}
.content h3 {
	margin: .5em 1em;
	font-size: 200%;
	font-family: "Trebuchet MS", sans-serif;
	font-weight: bold;
}
.content p {
	max-width: 1000px;
	margin: .5em 1em .5em 3em;
	font-size: 150%;
	font-family: "Trebuchet MS", sans-serif;
}
.contentWrap {

}
.contentWrap ul {
	float: left;
}
p.keywords {
	font-size: 75%;
}
#label {
	position: relative;
	float: left;
	width: 100%;
	margin: 0;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	background: -moz-linear-gradient(top, rgba(50,50,50,.8) 0%, rgba(20,20,20,.8) 2%, rgba(30,30,30,.8) 25%, rgba(20,20,20,.8) 50%, rgba(10,10,10,.8) 100%);
    background: -webkit-linear-gradient(top, rgba(50,50,50,.8) 0%, rgba(20,20,20,.8) 2%, rgba(30,30,30,.8) 25%, rgba(20,20,20,.8) 50%, rgba(10,10,10,.8) 100%);
    background: -o-linear-gradient(top, rgba(50,50,50,.8) 0%, rgba(20,20,20,.8) 2%, rgba(30,30,30,.8) 25%, rgba(20,20,20,.8) 50%, rgba(10,10,10,.8) 100%);
    background: -ms-linear-gradient(top, rgba(50,50,50,.8) 0%, rgba(20,20,20,.8) 2%, rgba(30,30,30,.8) 25%, rgba(20,20,20,.8) 50%, rgba(10,10,10,.8) 100%);
    background: linear-gradient(top, rgba(50,50,50,.8) 0%, rgba(20,20,20,.8) 2%, rgba(30,30,30,.8) 25%, rgba(20,20,20,.8) 50%, rgba(10,10,10,.8) 100%);
	text-align: center;
}
#label a {
	text-decoration: none;
}
#label h1 {
	font-size: 300%;
/*font family by theme options*/
	margin: 0;
	line-height: 80%;
}
#label h1:first-line {
	font-size: 40%;
}
#label li {
	margin: 5px;
}
#label ul {
	position: absolute;
	float: left;
}
p.tags {
	margin: .5em 8em .5em 8em;
	font-size: 100%;
	visibility: hidden;
	opacity: 0;
}
p.tagsCloud {
	float: right;
	margin: 1em;
	visibility: hidden;
	opacity: 0;
}
p.tagsCloud a, p.tags a {
	color: #ddd;
}
#panel {
	position: fixed;
	z-index: 999;
	bottom: 20px;
	left: 0;
	width: 100%;
	height: 15%;
	min-height: 60px;
	color: #eee;
	text-align: left;
}
#panel> li {
	height: 100%;
	width: 24.6%;
	float: left;
	margin: 0 .2%;
}
p.vignette {
	font-size: 50%;
	text-align: center;
	margin: auto;
	clear: both;
}
#sidebar {
	top: 3em;
}
span.vign  {
	font-size: 200%;
	font-weight: bold;
}
span.vign1 {
	font-size: 300%;
	font-weight: bold;
}
.thumbnail {
	position: relative;
	vertical-align: top;
	width: 25%;
	margin-left: auto;
	margin-right: auto;
	display: inline-block;
}
.thumbnailImg {
	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	background: #333333;
	border-radius: 10px;
	opacity: 0.8;
	background: -webkit-linear-gradient(top, #333333 0%, #444444 25%, #2d2d2d 100%);
	background: -moz-linear-gradient(top, #333333 0%, #444444 25%, #2d2d2d 100%);
	background: -ms-linear-gradient(top, #333333 0%, #444444 25%, #2d2d2d 100%);
	background: -o-linear-gradient(top, #333333 0%, #444444 25%, #2d2d2d 100%);
	background: linear-gradient(top, #333333 0%, #444444 25%, #2d2d2d 100%);
	box-shadow: inset #555555 1px 1px 0, inset #222222 -1px -1px 0;
}
.thumbnailImg1 {
	top: 12%;
	left: 9%;
	position: absolute;
	width: 82%;
	height: 76%;
	border-top: 1px solid #222222;
	border-right: 1px solid #555555;
	border-bottom: 1px solid #555555;
	border-left: 1px solid #222222;
}
.thumbnailImg:hover {
	width: 110%;
	height: 110%;
	z-index: 900;
	-webkit-transition:  all .5s 0s;
	-moz-transition: all .5s 0s;
	-o-transition: all .5s 0s;
	opacity: 1;
	border-radius: 10px;
	-webkit-box-shadow:  #000 0px 0px 60px;
	-moz-box-shadow:  #000 0px 0px 60px;
	box-shadow: inset #555555 1px 1px 0, inset #555555 -1px -1px 0, #000 0px 0px 60px;
	 -webkit-transform: rotate(-4deg);
    -moz-transform: rotate(-4deg);
    -o-transform: rotate(-4deg);
}
.thumbnailTip {
	-webkit-transition:  all .2s 0s;
	-moz-transition: all .2s 0s;
	-o-transition: all .2s 0s;
	position: absolute;
	-webkit-box-shadow:  #000 0px 0px 60px;
	-moz-box-shadow:  #000 0px 0px 60px;
	box-shadow: #000 0px 0px 60px;
	background: linear-gradient(top, #fefcea, #f1da36);
	background: #b5bdc8;
    background: -webkit-linear-gradient(top, #ff8000 0%, #ff9225 66%, #c06000 100%);
	background: -moz-linear-gradient(top, #ff8000 0%, #ff9225 66%, #c06000 100%);
    background: -ms-linear-gradient(top, #ff8000 0%, #ff9225 66%, #c06000 100%);
    background: -o-linear-gradient(top, #ff8000 0%, #ff9225 66%, #c06000 100%);
    background: linear-gradient(top, #ff8000 0%, #ff9225 66%, #c06000 100%);
	left: 10%;
	top: 100%;
	width: 80%;
	height: 0;
	border-radius: 0 0 6px 6px;
	overflow: hidden;
	text-align: center;
	box-shadow: inset 0 .4em .3em rgba(0,0,0,0.5);
}
.thumbnailTipActive {
	-webkit-transition:  all .5s cubic-bezier(.55,.52,.03,1.7) 0s;
	-moz-transition: all .5s cubic-bezier(.55,.52,.03,1.7) 0s;
	-o-transition: all .5s cubic-bezier(.55,.52,.03,1.7) 0s;
	height: 40px;
}
.tipText {
	position: absolute;
	bottom: 0;
	padding-bottom: 10px;
	color: #884400;
	font-family: "Tahoma";
	font-weight: bold;
	text-shadow: 0 1px 1px white;
}
@media (max-width: 1200px) {
	body {
		font-size: 80%;
	}
	.thumbnail {
		width: 33.3%;
	}
}
@media (max-width: 800px) {
	body {
		overflow-x: hidden;
		overflow-y: scroll;
		font-size: 70%;
	}

	.caption, #label {
		position: relative;
		height: auto;
		float: none;
		padding: 1em;
	}
	.content {
		position: relative;
		top: 100%;
		float: none;
		width: 200%;
	}
	.content p {
		width: 95%;
		margin: 1em;
	}
	#panel {
		position: fixed;
		top: 80px;
		height: 400px;
	}
	#panel> li {
		position: relative;
		height: auto;
		min-height: 10%;
		float: none;
		width: 50%;
		min-width: 30%;
	}
	.thumbnail {
		width: 50%;
	}
}