/*
	common.css - the primary styles
	
	Author: Laza
*/


/*! normalize.css v1.1.2 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
audio,canvas,video{display:inline-block;*display:inline;*zoom:1}
audio:not([controls]){display:none;height:0}
[hidden]{display:none}
html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
html,button,input,select,textarea{font-family:sans-serif}
body{margin:0}
a:focus{outline:thin dotted}
a:active,a:hover{outline:0}
h1{font-size:2em;margin:.67em 0}
h2{font-size:1.5em;margin:.83em 0}
h3{font-size:1.17em;margin:1em 0}
h4{font-size:1em;margin:1.33em 0}
h5{font-size:.83em;margin:1.67em 0}
h6{font-size:.67em;margin:2.33em 0}
abbr[title]{border-bottom:1px dotted}
b,strong{font-weight:bold}
blockquote{margin:1em 40px}
dfn{font-style:italic}
hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
mark{background:#ff0;color:#000}
p,pre{margin:1em 0}
code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}
pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}
q{quotes:none}
q:before,q:after{content:'';content:none}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-0.5em}
sub{bottom:-0.25em}
dl,menu,ol,ul{margin:1em 0}
dd{margin:0 0 0 40px}
menu,ol,ul{padding:0 0 0 40px}
nav ul,nav ol{list-style:none;list-style-image:none}
img{border:0;-ms-interpolation-mode:bicubic}
svg:not(:root){overflow:hidden}
figure{margin:0}
form{margin:0}
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
legend{border:0;padding:0;white-space:normal;*margin-left:-7px}
button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}
button,input{line-height:normal}
button,select{text-transform:none}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}
button[disabled],html input[disabled]{cursor:default}
input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
textarea{overflow:auto;vertical-align:top}
table{border-collapse:collapse;border-spacing:0}

/* HTML5 Boilerplate prefix styles - h5bp.com */
html,button,input,select,textarea{color:#222}
body{font-size:1em;line-height:1.4}
::-moz-selection{background:#b3d4fc;text-shadow:none}
::selection{background:#b3d4fc;text-shadow:none}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
img{vertical-align:middle}
fieldset{border:0;margin:0;padding:0}
textarea{resize:vertical}
.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}

html,
body {
	height:100%;
	min-height:100%;
}
body {
	font-family:Segoe, "Segoe UI", Tahoma, Geneva, "Nimbus Sans L", sans-serif;
	font-size:13px;
	line-height:1.385;
	color:#bbbbbb;
	overflow:auto;
	background-color:#222222;
	-webkit-overflow-scrolling:touch;
	overflow-scrolling:touch;
}
select, input, textarea {  
	color: #444;
}
input[type=text]::-ms-clear {
    display:none;
}
a, a:active, a:visited {
	color:#dddddd;
	text-decoration:none;
}
a:hover {
	color:#ffffff;
}
a img {	border:none; text-decoration:none; }
h1,h2,h3 { font-weight: normal; margin:0 0 0.2em 0; line-height:1.2; }
h4,h5,h6 { font-weight: bold; margin:0 0 0.5em 0; }
h1 { font-size:300% }
h2 { font-size:200%; }
h3 { font-size:140%; }
h4 { font-size:115%; }
h5 { font-size:100%; }
h6 { font-size:90%; }

.addtop { margin-top:10px; }

.center {
	text-align:center;
}

.hook { 
	position:absolute;
	display:none;
}


/******************************************* Hint */

.hint {
	position:absolute;
	left:0;
	top:0;
	padding:6px;
	color:#000;
	max-width:240px;
	-moz-border-radius:2px; border-radius:2px;
	background-color:rgba(255,255,255,0.8);
	z-index:99999;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.4); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.4); box-shadow:1px 3px 8px rgba(0,0,0,0.4);
}
.no-rgba .hint {
	background-color:transparent;
	background-image:url(w80.png);
}
.hint a {
	color:#000;
}
.hint span.nr {
	font-size:80%;
	line-height:1.8;
	vertical-align:top;
	font-weight:bold;
	font-style:normal;
	padding:1px 3px;
	color:#ddd;
	background-color:#222;
	-moz-border-radius:2px; border-radius:2px;
}
.hint .breadcrumb a {
	display:block;
	padding:3px 5px;
}
.hint .breadcrumb a:hover {
	background-color:#000;
	color:#fff;
}
.hint.regions a {
	display:block;
	font-size:85%;
	color:#000;
	padding:2px 4px;
	line-height:1.8;
}
.hint.regions a:hover {
	color:#fff;
	background-color:#000;
}
.hint small b {
	background-color:#ddd;
	padding:1px 2px;
	-moz-border-radius:2px; border-radius:2px;
}
.hint form {
	display:inline-block;
	position:relative;
	margin:3px;
}
.hint form input {
	background-color:#fff;
	vertical-align:middle;
}
.hint.slideshowdelay input,
.hint form input.searchtext {
	padding:2px 20px 2px 6px;
	height:20px;
	line-height:20px;
	-moz-border-radius:2px; border-radius:2px;
	border:1px solid #bbb;
	-moz-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); -webkit-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4);
}
.hint.slideshowdelay input {
	width:30px;
}
.hint form input.searchtext {
	width:120px;
}
.hint form a.button {
	display:block;
	position:absolute;
	top:3px;
	right:3px;
	width:20px;
	height:20px;
	background-color:#fff;
	background-image:url(ok.png);
	background-position:0 0;
	background-repeat:no-repeat;	
	z-index:99999;
	cursor:pointer;
	-moz-border-radius:0 2px 2px 0;
	border-radius:0 2px 2px 0;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}
.hint form a.button:hover {
	background-position:0 -20px;
}
.hint p.info {
	margin:0;
	max-width:160px;
	color:#666;
	font-size:80%;
	line-height:1;
}
.hint input.fullw {
	margin:0.2em 0;
	padding:0 1%;
	width:96%;
}

/******************************************* Modal windows v2 */

._m_window {
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0;
	z-index:99998;
	overflow:hidden;
	background-color:rgba(0,0,0,0.2);
}
.no-rgba ._m_window {
	background-color:transparent;
	background-image:url(k20.png);
}
._m_panel {
	position:absolute;
	/*left: -10000px;*/
	-moz-box-shadow:2px 5px 16px rgba(0,0,0,0.2); -webkit-box-shadow:2px 5px 16px rgba(0,0,0,0.2); box-shadow:2px 5px 16px rgba(0,0,0,0.2);
}
._m_head {
	position:relative;
	height:30px;
	line-height:30px;
	-moz-border-top-left-radius:6px; -moz-border-top-right-radius:6px; border-top-left-radius:6px; border-top-right-radius:6px;
	border-bottom:1px solid #bbb;
	background-color:#d8d8d8;
	background-image:-moz-linear-gradient(top, #fff 0%,#eee 50%,#e8e8e8 50%,#ccc 100%);
	background-image:-webkit-linear-gradient(top, #fff 0%,#eee 50%,#e8e8e8 50%,#ccc 100%);
	background-image:-o-linear-gradient(top, #fff 0%,#eee 50%,#e8e8e8 50%,#ccc 100%);
	background-image:-ms-linear-gradient(top, #fff 0%,#eee 50%,#e8e8e8 50%,#ccc 100%);
	background-image:linear-gradient(top, #fff 0%,#eee 50%,#e8e8e8 50%,#ccc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#FFFFFF',endColorstr='#CCCCCC');
	-moz-background-clip:padding;
	-webkit-background-clip:padding-box;
	background-clip:padding-box; 
}
._m_head h5 {
	position:absolute;
	text-align:center;
	margin:0;
	left:35px;
	right:35px;
	color:#777;
	overflow:hidden;
	text-shadow:1px 1px 1px rgba(255,255,255,0.6);
}
._m_head a.close {
	position:absolute;
	display:inline-block;
	right:0;
	top:0;
	cursor:pointer;
	font-size:18px;
	text-align:center;
	min-width:30px;
	height:30px;
	-moz-border-radius:0 6px 0 0;
	border-radius:0 6px 0 0;
	background-color:rgba(0,0,0,0.1);
	border-left:1px solid rgba(0,0,0,0.2);
	background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAAA3NCSVQICAjb4U/gAAAARVBMVEX////////r6+vd3d3u7u7////y8vIAAAD29vZAQEBQUFAAAABAQEAwMDD6+vr4+Pj29vaUlJR+fn5mZmZFRUUwMDAsLCyD89jvAAAAF3RSTlMAIiIiRFVVZnd3iIiZmaqqqqq7zMzMzI75Qk8AAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAVUlEQVQImYXNSw6AMAgEUNRi/dVaqt7/qNLRYF3JZvISBoj+xn/jCCXmcwJbyaFI1gZ2alXkp6zeXxEtOUtv0k30TXEwe1zR/gh2CVdc2u5HzHXUcwFrKgO7NxQ3EQAAAABJRU5ErkJggg==);
	background-position:center center;
	background-repeat:no-repeat;
}
.no-rgba ._m_head a.close {
	background-color:transparent;
	background-image:url(k10.png);
	border-left:1px solid #aaa;
}
._m_head a.close:hover {
	background-color:rgba(0,0,0,0.2);
}
.no-rgba ._m_head a.close:hover {
	background-color:transparent;
	background-image:url(k20.png);
}
.no-cssgradients ._m_head a.close {
	border-radius:0;
}
._m_cont {
	position:relative;
	overflow:hidden;
	background-color:#f4f4f4;
	background-color:rgba(240,240,240,0.94);
	padding-bottom:16px;
	-moz-border-bottom-left-radius:6px; -moz-border-bottom-right-radius:6px; border-bottom-left-radius:6px; border-bottom-right-radius:6px;
	border-top:1px solid #fff;
}
._m_cont a { color: #39c; }
._m_cont a:hover { color: #3bf; }
._m_cont_i {
	padding:16px 16px 0 16px;
	overflow:auto;
	-webkit-overflow-scrolling:touch;
	overflow-scrolling:touch;
	color:#444;	
}
._m_panel a.resize {
	display:inline-block;
	position:absolute;
	right:0;
	bottom:0;
	width:14px;
	height:14px;
	background-color:#f4f4f4;
	background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOBAMAAADtZjDiAAAAA3NCSVQICAjb4U/gAAAAJ1BMVEX////l5eUdHR1QUFCFhYUeHh7h4eFtbW3h4eEdHR2lpaWjo6OdnZ2X+VkHAAAADXRSTlMAEREiRERVVWZmiIiZwLKJ3AAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAA+SURBVAiZY2BABqoQimlKApjW9IBwpy+EcGtMIdzDYHnNGksPCBcsD+SC5JmmbAbCBAZWD1EgBIongCEMAAAMFxDl/uLAxgAAAABJRU5ErkJggg==);
	cursor:se-resize;
	z-index:99999;
}

#dialog ._m_cont_i {
	text-align:center;
}

/******************************************* Buttons for modal windows */

.buttons {
	display:block;
	clear:both;
	margin-top:10px;
	text-align:center;
	line-height:30px;
}
.buttons a {
	padding:0 10px;
	margin:5px 2px;
	display:inline-block;
	color:#eee;
	white-space:nowrap;
	-moz-border-radius:2px; border-radius:2px;
	background-color:#555;
	background-image:-moz-linear-gradient(top, rgba(51,51,51,1), rgba(15,15,15,1) );
	background-image:-webkit-linear-gradient(top, rgba(51,51,51,1), rgba(15,15,15,1) );
	background-image:-o-linear-gradient(top, rgba(51,51,51,1), rgba(15,15,15,1) );
	background-image:-ms-linear-gradient(top, rgba(51,51,51,1), rgba(15,15,15,1) );
	background-image:linear-gradient(top, rgba(51,51,51,1), rgba(15,15,15,1) );
	filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,startColorstr=#FF333333,EndColorStr=#FF0F0F0F);
	-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0,startColorstr=#FF333333,EndColorStr=#FF0F0F0F)";
	-moz-background-clip:padding;
	-webkit-background-clip:padding-box;
	background-clip:padding-box;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}

.buttons a.active,
.buttons a:hover {
	color:#fff;
	background-image:-moz-linear-gradient(top, rgba(17,119,176,1), rgba(0,102,153,1) );
	background-image:-webkit-linear-gradient(top, rgba(17,119,176,1), rgba(0,102,153,1) );
	background-image:-o-linear-gradient(top, rgba(17,119,176,1), rgba(0,102,153,1) );
	background-image:-ms-linear-gradient(top, rgba(17,119,176,1), rgba(0,102,153,1) );
	background-image:linear-gradient(top, rgba(17,119,176,1), rgba(0,102,153,1) );
	filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,startColorstr=#FF1177aa,EndColorStr=#FF006699);
	-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0,startColorstr=#FF1177aa,EndColorStr=#FF006699)";
}

/******************************************* Search results window */

.searchresults > form {
	position:relative;
	margin:0 0 0.5em 0;
}
.searchresults > form input {
	padding:2px 10% 2px 2%;
	height:20px;
	width:88%;
	line-height:20px;
	border:none;
	backgroumd-color:#ddd;
	-moz-border-radius:4px; border-radius:4px;
	-moz-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); -webkit-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4);
}
.searchresults > form a.button {
	display:block;
	position:absolute;
	top:3px;
	right:3px;
	width:20px;
	height:20px;
	background-color:#fff;
	background-image:url(ok.png);
	background-position:0 0;
	background-repeat:no-repeat;	
	z-index:99999;
	cursor:pointer;
	-moz-border-radius:2px; border-radius:2px;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}
.searchresults > form a.button:hover {
	background-position:0 -20px;
}
.searchresults > a {
	margin:4px 0;
	clear:both;
	display:block;
	color:#555;
	text-align:left;
	padding:6px;
	-moz-border-radius:4px; border-radius:4px;
	background-color:#fff;
	zoom:1;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.4); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.4); box-shadow:1px 3px 8px rgba(0,0,0,0.4);
}
.searchresults > a:before, 
.searchresults > a:after { content: "\0020"; display: block; height: 0; visibility: hidden; } 
.searchresults > a:after { clear:both; }
.searchresults > a:hover,
.searchresults > a:focus {
	padding:4px;
	border:2px solid #999;
	color:#222;
}
.searchresults > a aside {
	float:left;
	display:inline-block;
	width:20%;
	min-width:60px;
	margin-right:10px;
}
.searchresults > a aside img {
	max-width:100%;
	height:auto;
}
.searchresults > a h5,
.searchresults > a p {
	margin:0 0 0.5em 0;
	overflow:hidden;
}

/******************************************* Help window */

.help { 
}
.help ul { 
	clear:both;
	margin:0;
	background-repeat:no-repeat;
	background-position:left 15px;
	padding:1em 0 1em 360px;
	list-style-type:none;
	border-bottom:1px dotted #888;
}
.help .index {
	background-image:url(helpsplash.png);
	min-height:160px;
}
.help .gall { 
	background-image:url(helpgallery.png);
	min-height:260px;
}
.help ul:after { 
	clear:both;
}
.help ul:first-child {
	margin-top:0;
}
.help ul:last-child {
	margin-bottom:0;
	border-bottom:none;
}
.help li {
	text-align:left;
	text-indent:-30px;
	line-height:2;
}
.help li em {
	-moz-border-radius:2px; border-radius:2px;
	padding:2px 5px;
	margin-left:10px;
	font-style:normal;
	font-size:85%;
	white-space:nowrap;
	border:1px solid #999;	
}
.help li b {
	-moz-border-radius:2px; border-radius:2px;
	padding:2px 5px;
	font-style:bold;
	white-space:nowrap;
	background-color:#fff;
}
.help li span {
	-moz-border-radius:2px; border-radius:2px;
	padding:2px 5px;
	margin-right:10px;
	background-color:#333;
	color:#ddd;
	font-weight:bold;
}
#help ._m_cont p {
	text-align:center;
	margin:0.5em 0 0 0;
}

/******************************************* Generic controls */

.controls a,
a.control {
	background-image:url(controls.png);
	background-repeat:no-repeat;
	background-position:0 0;
}

.controls a:hover,
a.control:hover {
	background-position:-70px inherit;
}

/******************************************* Main layout elements */

#widgetbg {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	height:0px;
	z-index:1;
}
#mainbg {
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0px;
	z-index:0;
}
#main {
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0px;
	overflow:auto;
	z-index:10;
	-webkit-text-size-adjust:120%;
	zoom:1;
}

#main header {
	position:relative;
}

#main .container {
	position:relative;
	width:940px;
	height:100%;
	max-height:100%;
	zoom:1;
	margin:0 auto;
}
#main header {
	margin-left:4px;
}
#main header .title aside {
	float:right;
	margin-top:20px;
}
#main header .title .controls:first-child {
	-moz-border-top-left-radius:4px; -moz-border-bottom-left-radius:4px; border-top-left-radius:4px; border-bottom-left-radius:4px;
}
#main header .title .controls:last-child {
	-moz-border-top-right-radius:4px; -moz-border-bottom-right-radius:4px; border-top-right-radius:4px; border-bottom-right-radius:4px;
}
#main header .description {
	clear:both;
	font-size:120%;
}
.starttxt {
	font-size:200%;
}
#main .items {
	width:928px;
	margin:0;
	overflow-x:hidden;
	overflow-y:auto;
}
#navigation {
	line-height:40px;
	text-align:center;
	background-color:rgba(0,0,0,0.7);
	border-bottom:1px solid rgba(0,0,0,0.4);
	-moz-box-shadow:0 1px 1px rgba(0,0,0,0.4);
	-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.4);
	box-shadow:0 1px 1px rgba(0,0,0,0.4);
	z-index:998;
}

#main header {
	margin-left:20px;
}
#main .items {
	position:absolute;
	left:16px;
	top:260px;
	bottom:0;
	min-height:200px;
}
.page #main .items {
	top:140px;
}
.sub-album #main .items {
	top:260px;
}


/******************************************* Scroller controls */

.scrup,
.scrdn {
	position:absolute;
	right:0;
	width:20px;
	height:20px;
	line-height:20px;
	background-repeat:no-repeat;
	background-image:url(pg.png);
}
.scrup {
	top:0;
	z-index:990;
	background-position:0 -20px;
}
.scrdn {
	bottom:0;
	z-index:991;
	background-position:0 -40px;
}
.scrup:hover {
	background-position:-20px -20px;
}
.scrdn:hover {
	background-position:-20px -40px;
}
.scrbar {
	position:absolute;
	right:3px;
	width:14px;
	top:20px;
	bottom:20px;
	-moz-border-radius:7px;
	border-radius:7px;
	background-color:rgba(255,255,255,0.3);
	-moz-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); -webkit-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4);
}
.no-rgba .scrbar {
	background-color:transparent;
	background-image:url(w40.png);
}
.scrbar div {
	position:absolute;
	top:2px;
	left:2px;
	right:2px;
	height:5px;
	-moz-border-radius:7px;
	border-radius:7px;
	background-color:#222222;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}
.scrbar div img {
	width:100%;
	height:100%;
}

/******************************************* Header */

#main header {
	width:900px;
	height:240px;
	max-height:100%;
	background-position:center center;
	background-repeat:no-repeat;
	background-color:rgba(0,0,0,0.2);
	background-size:100% auto;
	background-image:url(../folderimage.jpg);
	z-index:10;
	-moz-border-bottom-left-radius:6px; -moz-border-bottom-right-radius:6px; border-bottom-left-radius:6px; border-bottom-right-radius:6px;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.6); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.6); box-shadow:1px 3px 8px rgba(0,0,0,0.6);
}
.ie7 #main header {
	max-height:none;
}
.page #main header {
	height:120px;
}
.sub-album #main header {
	height:240px;
}
#main header.empty {
}
#main header .title {
	padding:0 20px;
	max-height:240px;
	overflow:hidden;
	color:#fff;
	background-color:transparent;
	background-image:-webkit-linear-gradient(top, rgba(0,0,0,0.6), rgba(0,0,0,0));
	background-image:-moz-linear-gradient(top, rgba(0,0,0,0.6), rgba(0,0,0,0));
	background-image:-ms-linear-gradient(top, rgba(0,0,0,0.6), rgba(0,0,0,0));
	background-image:linear-gradient(top, rgba(0,0,0,0.6), rgba(0,0,0,0));
	filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#99000000',endColorstr='#00000000');
}
.page #main header .title {
	max-height:120px;
}
.sub-album #main header .title {
	max-height:240px;
}
#main header .title .upbtn {
	float:left;
	margin:20px 20px 0 0;
}
#main header .title .controls {
	display:inline-block;
	width:40px;
	height:40px;
	line-height:40px;
	background-color:rgba(0,0,0,0.6);
}
.no-rgba #main header .title .controls {
	background-color:transparent;
	background-image:url(k60.png);
}
#main header .title .controls a {
	display:block;
}
#main header .title .controls:hover {
	background-color:rgba(0,0,0,0.8);
}
.no-rgba #main header .title .controls:hover {
	background-color:transparent;
	background-image:url(k80.png);
}
#main header .share a {
	background-position:-735px -15px;
}
#main header .download a {
	background-position:-835px -15px;
}
#main header .new a {
	background-position:-885px -15px;
}
#main header .search a {
	background-position:-685px -15px;
}
#main header .about a {
	background-position:-275px -15px;
}
#main header .parent a {
	background-position:-5px -15px;
}
#main header .share a:hover {
	background-position:-735px -85px;
}
#main header .download a:hover {
	background-position:-835px -85px;
}
#main header .new a:hover {
	background-position:-885px -85px;
}
#main header .search a:hover {
	background-position:-685px -85px;
}
#main header .about a:hover {
	background-position:-275px -85px;
}
#main header .parent a:hover {
	background-position:-5px -85px;
}

/* Page title and description */
#main header hgroup {
	margin-top:10px;
	padding:10px 0;
	margin-right:110px;
	overflow-x:hidden;
	max-height:200px;

	overflow:hidden;
}
.page #main header hgroup {
	max-height:80px;
}
.sub-album #main header hgroup {
	max-height:200px;
}
#main header h1 {
	font-weight:normal;
	line-height:1.1;
    text-overflow:ellipsis;
	text-shadow:2px 3px 6px rgba(0,0,0,0.5);
}
#main header .description {
	display:inline-block;
	font-weight:normal;
	padding:3px 5px;
	text-shadow:2px 3px 6px rgba(0,0,0,0.5);
	-moz-border-radius:2px; border-radius:2px;
}
.no-rgba #main header .description {
	background-color:transparent;
	background-image:url(k20.png);
}

#main header .description {
	background-color:transparent;
	transition:background-color 500ms linear;
	-webkit-transition:background-color 500ms linear;
	-moz-transition:background-color 500ms linear;
	-ms-transition:background-color 500ms linear;
}
#main header .description:hover {
	background-color:rgba(0,0,0,0.2);
}
.no-rgba #main header .description:hover {
	background-color:transparent;
	background-image:url(k20.png);
}
#main header .description a {
	text-decoration:underline;
	color:#fff;
}
#main header .description a:hover {
	color:#adf;
}
/* Breadcrumb path */
#main header .breadcrumb {
	font-size:90%;
	display:block;
	margin:0.2em 0 0.4em 0;
}
#main header .breadcrumb div {
	display:inline-block;
	overflow:hidden;
	-moz-border-radius:4px; border-radius:4px;
	background-color:rgba(0,0,0,0.2);
	-moz-box-shadow:inset 0px 4px 10px rgba(0,0,0,0.4); -webkit-box-shadow:inset 0px 4px 10px rgba(0,0,0,0.4); box-shadow:inset 0px 4px 10px rgba(0,0,0,0.4);
}
.no-rgba #main header .breadcrumb div {
	background-color:transparent;
	background-image:url(k20.png);
} 
#main header .breadcrumb a {
	display:inline-block;
	font-weight:bold;
	padding:0 0.5em;
	line-height:2em;
	height:2em;
	color:#ddd;
	text-shadow:1px 2px 4px rgba(0,0,0,0.5);
}
#main header .breadcrumb a:hover,
#main header .breadcrumb a:focus {
	color:#fff;
	background-color:rgba(0,0,0,0.5);
}
#main header .breadcrumb a:first-child {
	-moz-border-top-left-radius:4px; -moz-border-bottom-left-radius:4px; border-top-left-radius:4px; border-bottom-left-radius:4px;
}
#main header .breadcrumb a:last-child {
	-moz-border-top-right-radius:4px; -moz-border-bottom-right-radius:4px; border-top-right-radius:4px; border-bottom-right-radius:4px;
}

/*********************************** Start slideshow */

.startshow {
	position:absolute;
	overflow:hidden;
	bottom:20px;
	right:20px;
	width:90px;
	height:90px;
	-moz-border-radius:4px; border-radius:4px;
	background-color:rgba(0,0,0,0.2);
	cursor:pointer;
	-webkit-transition:background-color 500ms linear;
	-moz-transition:background-color 500ms linear;
	-ms-transition:background-color 500ms linear;
	transition:background-color 500ms linear;
}
.no-rgba .startshow {
	background-color:transparent;
	background-image:url(k20.png);
}
.startshow:hover {
	background-color:rgba(0,0,0,0.8);
}
.no-rgba .startshow:hover {
	background-color:transparent;
	background-image:url(k80.png);
}
.starttxt {
	float:right;
	height:90px;
	padding:0 90px 0 20px;
	line-height:84px;
	color:#fff;
	overflow:hidden;
	text-align:right;
    text-overflow:ellipsis;
	white-space:nowrap;
	background-image:url(start.png);
	background-repeat:no-repeat;
	background-position:right 0;
}
.startshow:hover .starttxt {
	background-position:right -90px;
}

/*********************************** Left box = map and FB commenting */

.left-box {
	margin-top:20px;
	margin-left:4px;
	min-height:120px;
}

/*********************************** Items */

#main .items > .cont {
	display:block;
	width:908px;
	padding-right:20px;
}

/*********************************** Footer */

#main footer {
	clear:both;
	display:block;
	margin:10px 4px;
	text-align:center;
}
#main footer .wrap {
	padding:0.5em 1em;
	-moz-border-radius:4px; border-radius:4px;
}
#main footer .wrap img {
	max-width:100%;
}
#main footer .promotion,
#main footer .footer-links {
	font-size:75%;
}
#main .footer em {
	font-style:italic;
}

/*********************************** Top navigation */

.no-rgba #navigation {
	background-color:transparent;
	background-image:url(k80.png);
}

#navigation nav {
	text-align:center;
}
#navigation nav > ul {
}
#navigation nav ul {
	display:inline-block;
	padding:0;
	margin:0;
	list-style-type:none;
}
#navigation nav li {
	transition:background-color 500ms linear;
	-webkit-transition:background-color 500ms linear;
	-moz-transition:background-color 500ms linear;
	-ms-transition:background-color 500ms linear;
	-o-transition:background-color 500ms linear;
}
#navigation nav ul a {
	display:block;
	line-height:40px;
    text-overflow:ellipsis;
	white-space:nowrap;
	color:#ccc;
	transition:color 300ms linear;
	-webkit-transition:color 300ms linear;
	-moz-transition:color 300ms linear;
	-ms-transition:color 300ms linear;
	-o-transition:color 300ms linear;
	text-shadow:1px 2px 4px rgba(0,0,0,0.5);
}
#navigation nav > ul > li > a {
	max-width:180px;
	overflow:hidden;
}
#navigation nav > ul > li {
	position:relative;
	display:inline-block;
	vertical-align:top;
	width:auto;
	height:40px;
}
.ie7 #navigation nav > ul > li {
	float:left;
}
#navigation nav > ul > li.home {
	width:40px;
	height:40px;
}
#navigation nav > ul > li.home a {
	display:block;
	line-height:40px;
	background-position:-785px -15px;
}
#navigation nav > ul > li.home a:hover {
	background-position:-785px -85px;
}
#navigation nav li.actual {
	background-color:#000;
}
#navigation nav li:hover {
	background-color:rgba(0,0,0,0.8);
}
.no-rgba #navigation nav li:hover {
	background-color:transparent;
	background-image:url(k90.png);
}
#navigation nav li:hover > a {
	color:#fff;
}
#navigation nav > ul > li > a {
	font-size:110%;
	padding:0 8px;
}
#navigation nav > ul > li ul {
	display:none;
	position:absolute;
	line-height:30px;
	text-align:left;
	z-index:999;
	background-color:rgba(0,0,0,0.8);
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.6); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.6); box-shadow:1px 3px 8px rgba(0,0,0,0.6);
}
.no-rgba #navigation nav > ul > li ul {
	background-color:transparent;
	background-image:url(k80.png);
}
#navigation nav > ul > li > ul {
	min-width:100%;
}
#navigation nav > ul > li > ul li {
	position:relative;
	display:block;
}
#navigation nav > ul > li > ul > li a {
	line-height:30px;
	font-size:100%;
	padding:0 8px;
}
#navigation nav > ul > li > ul > li ul {
	position:absolute;
	left:100%;
	top:0;
}
#navigation nav > ul > li:hover > ul,
#navigation nav > ul > li > ul > li:hover > ul,
#navigation nav > ul > li > ul > li > ul > li:hover > ul {
	display:block;
}

/******************************************* Pages */

#main article {
	display:block;
	position:relative;
	margin:0 4px;
	padding:20px;
	color:#bbbbbb;
	background-color:rgba(255,255,255,0.1);
	-moz-border-radius:6px; border-radius:6px;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.4); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.4); box-shadow:1px 3px 8px rgba(0,0,0,0.4);
}
.no-rgba #main article {
	background-color:transparent;
	background-image:url(w10.png);
}
#main article code {
	font-family:Consolas, "Lucida Console", Monaco, monospace;
	font-size:0.92em;
	background-color:#fff;
	color:#333;
	margin:0 0.3em;
	padding:0.1em 0.3em;
	-moz-border-radius:2px; border-radius:2px;
}

/******************************************* Folders */

.thumbs,
.folders {
	table-layout:fixed;
	width:908px;
	clear:both;
	border-collapse:separate;
	border-spacing:4px;
	margin-top:-4px;
}
.ie7 .folders {
	margin-right:-20px;
}
.thumbs td,
.folders td {
	position:relative;
	padding:0;
	vertical-align:top;
	color:#bbbbbb;
	overflow:hidden;
	-moz-border-radius:4px; border-radius:4px;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}
.folders td {
	width:33.333333333333336%;
	max-width:297px;
	background-color:rgba(255,255,255,0.1);
	transition:background-color 250ms linear;
	overflow:hidden;
	-webkit-transition:background-color 250ms linear;
	-moz-transition:background-color 250ms linear;
	-ms-transition:background-color 250ms linear;
	-o-transition:background-color 250ms linear;
}
.folders.pages td {
}
.no-rgba .folders td {
	background-color:transparent;
	background-image:url(w10.png);
}
.folders td:hover {
	background-color:rgba(255,255,255,0.2);
}
.no-rgba .folders td:hover {
	background-color:transparent;
	background-image:url(w20.png);
	/*-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff, endColorstr=#33ffffff)";*/
}
.thumbs td.empty,
.rgba .thumbs td.empty,
.no-rgba .thumbs td.empty,
.folders td.empty,
.rgba .folders td.empty,
.no-rgba .folders td.empty {
	background-image:none;
	background-color:transparent !important;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}
.folders a {
	color:#dddddd;
}
.folders a:hover {
	color:#ffffff;
	outline:none;
}

.folders aside {
	position:relative;
	margin:48px auto 0.5em auto;
	display:table;
	text-align:center;
	border-collapse:collapse;
	border-spacing:0;
	-webkit-text-size-adjust:100%;
}
.ie7 .folders aside {
	display:inline;
}
.folders aside a {
	display:table-cell;
	width:200px;
	height:150px;
	vertical-align:middle;
}
.ie7 .folders aside a {
	display:block;
}
.folders aside a img {
	max-width:200px;
	max-height:150px;
	vertical-align:top;
	border:none;
}
.folders .data {
	overflow-x:hidden;
	padding:0.8em 10px;
	max-width:277px;
	text-align:center;
	-webkit-overflow-scrolling:touch;
	overflow-scrolling:touch;
}
.folders.pages .data {
	padding:0.8em;
}
.folders h4 {
	font-size:150%;
	line-height:1.15;
	font-weight:normal;
	margin:0 0 0.2em 0;
	text-shadow:1px 1px 2px rgba(0,0,0,0.4);
}
.folders .caption,
.folders p {
	margin-top:0.5em;
	margin-bottom:0;
}
.folders p.info {
	font-size:85%;
}
.neighbors {
	clear:both;
	line-height:40px;
	margin:0 4px 4px 4px;
}
.neighbors a {
	display:inline-block;
	vertical-align:top;
	color:#bbbbbb;
	max-width:426px;
	max-height:40px;
	overflow:hidden;
	padding:11px;
	background-color:rgba(255,255,255,0.1);
	transition:background-color 250ms linear;
	-webkit-transition:background-color 250ms linear;
	-moz-transition:background-color 250ms linear;
	-ms-transition:background-color 250ms linear;
	-o-transition:background-color 250ms linear;
	-moz-border-radius:4px; border-radius:4px;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}
.neighbors a span {
	display:block;
	max-height:40px;
	margin:0 .5em;
	overflow:hidden;
	text-overflow:ellipsis;
}
.no-rgba .neighbors a {
	background-color:transparent;
	background-image:url(w10.png);
}
.neighbors a:hover {
	background-color:rgba(255,255,255,0.2);
}
.no-rgba .neighbors a:hover {
	background-color:transparent;
	background-image:url(w20.png);
}
.neighbors a.next {
	float:right;
}
.neighbors a.previous {
	float:left;
}
.neighbors a img {
	display:inline-block;
	width:auto;
	height:40px;
	vertical-align:top;
}
.neighbors a.next img {
	float:right;
	margin-left:.5em;
}
.neighbors a.previous img {
	float:left;
	margin-right:.5em;
}

/******************************************* Thumbnail grid on index page */

.thumbs td {
	width:25.0%;
	padding:0;
	background-color:rgba(255,255,255,0.1);
}
/*.thumbs table td {
	width:222px;
}*/
.thumbs td > a {
	display:block;
	position:relative;
	height:150px;
	line-height:146px;
	overflow:hidden;
	text-align:center;
	padding:11px;
	-moz-border-radius:4px; border-radius:4px;
	transition:background-color 250ms linear;
	-webkit-transition:background-color 250ms linear;
	-moz-transition:background-color 250ms linear;
	-ms-transition:background-color 250ms linear;
	-o-transition:background-color 250ms linear;
	-webkit-text-size-adjust:100%;
}
.no-rgba .thumbs td > a {
	background-color:transparent;
	background-image:url(w10.png);
}
.thumbs td > a:hover, 
.thumbs td > a:focus {
	background-color:rgba(255,255,255,0.2);
	color:#ffffff;
	outline:none;
}
.no-rgba .thumbs td > a:hover, 
.no-rgba .thumbs td > a:focus {
	background-color:transparent;
	background-image:url(w20.png);
	/*-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff, endColorstr=#33ffffff)";*/
}
.thumbs td > a.active {
	background-color:rgba(255,255,255,0.4);
}
.no-rgba .thumbs td > a.active {
	background-color:transparent;
	background-image:url(w40.png);
}
.thumbs td > a img {
	display:inline;
	vertical-align:middle;
	max-width:200px;
	max-height:150px;
	border:0;
	outline:none;
}
.thumbs td > a b {
	vertical-align:middle;
	display:inline-block;
	height:100%;
	font-size:1px;
}
.thumbs td > .caption {
	margin:0;
	padding:0.5em 8px;
	line-height:1.2;
	max-width:206px;
	overflow-x:hidden;
	text-align:center;
	-webkit-overflow-scrolling:touch;
	overflow-scrolling:touch;
}
.thumbs td > .caption span.nr {
	font-size:80%;
	line-height:1.6;
	vertical-align:top;
	font-weight:normal;
	font-style:normal;
	padding:0px 3px;
	color:#eee;
	background-color:#bbbbbb;
	-moz-border-radius:2px; border-radius:2px;
}
.thumbs td > .caption .comment {
	font-size:90%;
	margin-top:0.2em;
}
.newlabel {
	display:inline;
	position:absolute;
	line-height:1.2;
	padding:2px 4px;
	right:11px;
	top:11px;
	border-right:3px solid #c00;
	background-color:#000;
	background-color:rgba(192,0,0,0.6);
	color:#ddd;
	font-size:66.7%;
}
.folders .newlabel {
	right:0;
	top:0;
}
.cont.load .wait {
	display:inline;
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	min-height:20px;
	background-image:url(load.gif);
	background-position:center center;
	background-repeat:no-repeat;
	z-index:99;
}

/******************************************* Map on index page */

#map {
	display:block;
	margin:0 4px;
	padding:11px;
	background-color:rgba(255,255,255,0.1);
	overflow:hidden;
	-moz-border-radius:4px; border-radius:4px;
	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4); box-shadow:0px 1px 2px rgba(0,0,0,0.4);
}
.no-rgba #map {
	background-color:transparent;
	background-image:url(w10.png);
}
#map .cont {
	position:relative;
	width:878px;
	height:300px;
}

.fb-comments {
	margin-left:4px
}

#slide .fb-comments {
	margin:0;
}

/******************************************* Share box */

.shares a {
	display:block;
	font-size:85%;
}
.shares > a {
	color:#000;
	padding:2px 4px;
	line-height:20px;
	background-image:url(share.png);
	background-repeat:no-repeat;
}
.shares > a:hover {
	color:#fff;
	background-color:#000;
}
.shares .likebtn {
	display:block;
	width:120px;
	height:20px;
	line-height:20px;
	margin-bottom:4px;
	background-color:rgba(255,255,255,0.6);
	overflow:hidden;
}
.shares a.facebook,
.shares a.twitter,
.shares a.gplus,
.shares a.pinterest,
.shares a.digg,
.shares a.delicious,
.shares a.myspace,
.shares a.stumbleupon,
.shares a.email,
.shares a.reddit,
.shares a.tumblr {
	background-image:url(share.png);
	padding-left:28px;
}
.shares a.facebook { background-position:0 -24px; }
.shares a.twitter { background-position:0 -48px; }
.shares a.digg { background-position:0 -72px; }
.shares a.myspace { background-position:0 -96px; }
.shares a.delicious { background-position:0 -120px; }
.shares a.stumbleupon { background-position:0 -144px; }
.shares a.email { background-position:0 -168px; }
.shares a.reddit { background-position:0 -192px; }
.shares a.tumblr { background-position:0 -216px; }
.shares a.flickr { background-position:0 -240px; }
.shares a.foursquare { background-position:0 -264px; }
.shares a.gplus { background-position:0 -288px; }
.shares a.linkedin { background-position:0 -312px; }
.shares a.picasa { background-position:0 -336px; }
.shares a.skype { background-position:0 -360px; }
.shares a.vimeo { background-position:0 -384px; }
.shares a.youtube { background-position:0 -408px; }
.shares a.phone { background-position:0 -432px; }
.shares a.jalbum { background-position:0 -456px; }
.shares a.pinterest { background-position:0 -480px; }
.shares a.instagram { background-position:0 -504px; }
.shares a.github { background-position:0 -528px; }
.shares a.rss { background-position:0 -552px; }

/*********************************** Regions */

.regions-cont {
	position:absolute;
}
.regions-cont a {
	position:absolute;
	display:block;
	-moz-border-radius:4px; border-radius:4px;
	border:3px solid #fff;
	opacity:0;
	cursor:pointer;
	background-image:url(blank.png);
}
.regions-cont a,
.regions-cont a:hover,
.regions-cont a.active 
.regions-cont.active a,
.regions-cont.active a.active,
.regions-cont.active a:hover {
	transition:opacity 500ms ease;
	-webkit-transition:opacity 500ms ease;
	-moz-transition:opacity 500ms ease;
	-ms-transition:opacity 500ms ease;
}
.regions-cont a:hover,
.regions-cont a.active,
.regions-cont.active a.active,
.regions-cont.active a:hover {
	opacity:1;
}
.regions-cont.active a {
	opacity:0.3;
}
.regions-cont a span {
	position:absolute;
	top:0;
	right:0;
	max-width:85%;
	padding:0 4px 4px 6px;
	-moz-border-radius:0 2px 0 2px;
	border-radius:0 2px 0 2px;
	background-color:#fff;
	font-size:80%;
	color:#333;
	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;
}
.regions-cont a:hover span {
	max-width:none;
}

/**************************************************************** Images page */

.gallery {
	position:absolute;
	display:none;
	left:0;
	right:0;
	top:0;
	bottom:0px;
	z-index:10000;
	background-color:#222222;
	overflow:hidden;
	-webkit-text-size-adjust:120%;
	-webkit-overflow-scrolling:auto;
}
#slide .gallery {
	display:block;
}
.gallery a {
	text-decoration:none;
	outline:none;
}
.gallery .navigation {
	position:absolute;
	left:0;
	right:0;
	margin:0;
	z-index:10000;
}
.gallery .navigation.hide {
	top:-120px;
}
.gallery .navigation nav {
	position:relative;
	display:none;
	padding-top:6px;
	margin:0 auto;
	-moz-border-bottom-left-radius:6px; -moz-border-bottom-right-radius:6px; border-bottom-left-radius:6px; border-bottom-right-radius:6px;
	height:70px;
	background-color:rgba(0,0,0,0.8);
	overflow:hidden;
	white-space:nowrap;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.6); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.6); box-shadow:1px 3px 8px rgba(0,0,0,0.6);
	-webkit-text-size-adjust:100%;
}
.no-rgba .gallery .navigation nav {
	background-color:transparent;
	background-image:url(k80.png);
}
#slide .gallery .navigation nav {
	width:410px;
}
.gallery .navigation nav a {
	display:inline-block;
	width:50px;
	height:70px;
	line-height:70px;
	background-image:url(controls.png);	
	background-repeat:no-repeat;
	background-position:-50px 0;
}
.hook-c {
	background-image:url(controls.png);	
}
.gallery .navigation nav a.prev {
	background-position:-50px 0;
	width:70px;
}
.gallery .navigation nav a.prev:hover {
	background-position:-50px -70px;
}	
.gallery .navigation nav a.up {
	background-position:-120px 0;
}
.gallery .navigation nav a.up:hover {
	background-position:-120px -70px;
}
.gallery .navigation nav a.resize {
	background-position:-170px 0;
}
.gallery .navigation nav a.resize:hover {
	background-position:-170px -70px;
}
.gallery .navigation nav a.noresize {
	display:none;
	background-position:-220px 0;
}
.gallery .navigation nav a.noresize:hover {
	background-position:-220px -70px;
}
.gallery .navigation nav a.showinfo {
	background-position:-270px 0;
}
.gallery .navigation nav a.showinfo:hover {
	background-position:-270px -70px;
}
.gallery .navigation nav a.hideinfo {
	display:none;
	background-position:-320px 0;
}
.gallery .navigation nav a.hideinfo:hover {
	background-position:-320px -70px;
}
.gallery .navigation nav a.showthumbs {
	background-position:-370px 0;
}
.gallery .navigation nav a.showthumbs:hover {
	background-position:-370px -70px;
}
.gallery .navigation nav a.hidethumbs {
	display:none;
	background-position:-420px 0;
}
.gallery .navigation nav a.hidethumbs:hover {
	background-position:-420px -70px;
}
.gallery .navigation nav a.play {
	width:70px;
	background-position:-470px 0;
}
.gallery .navigation nav a.play:hover {
	background-position:-470px -70px;
}
.gallery .navigation nav a.pause {
	display:none;
	width:70px;
	background-position:-540px 0;
}
.gallery .navigation nav a.pause:hover {
	background-position:-540px -70px;
}
.gallery .navigation nav a.next {
	width:70px;
	background-position:-610px 0;
}
.gallery .navigation nav a.next:hover {
	background-position:-610px -70px;
}

.gallery .scrollbox {
	position:relative;
	top:0;
	left:0;
	display:block;
	width:920px;
	height:120px;
	max-width:80%;
	margin:0 auto;
	-moz-border-bottom-left-radius:6px; -moz-border-bottom-right-radius:6px; border-bottom-left-radius:6px; border-bottom-right-radius:6px;
	overflow:hidden;
	background-color:rgba(0,0,0,0.6);
	transition: background-color 500ms;
	-moz-transition: background-color 500ms;
	-webkit-transition: background-color 500ms;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.6); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.6); box-shadow:1px 3px 8px rgba(0,0,0,0.6);
}
.rgba.touch .gallery .scrollbox,
.rgba .gallery .scrollbox:hover {
	background-color:rgba(0,0,0,0.8);
}
.no-rgba .gallery .scrollbox {
	background-color:transparent;
	background-image:url(k60.png);
}
.no-rgba .gallery .scrollbox:hover {
	background-color:transparent;
	background-image:url(k80.png);
}
.gallery .scrollbox .wrap {
	position:relative;
	top:5px;
	margin:0 40px;
	height:108px;
	overflow:hidden;
}
.gallery .scrollbox ul.cont {
	position:absolute;
	left:0;
	top:0;
	bottom:0;
	margin:0;
	padding:0;
	white-space:nowrap;
	-webkit-text-size-adjust:100%;
}
.gallery .scrollbox ul.cont li {
	display:table;
	float:left;
	display:inline;
	position:relative;
	width:139px;
	height:106px;
	overflow:hidden;
	margin:1px;
	text-align:center;
}
.gallery .scrollbox .cont a {
	display:table-cell;
	vertical-align:middle;
	position:relative;
	padding:3px;
	margin-right:1px;
	width:133px;
	height:100px;
	text-align:center;
}
.gallery .scrollbox .cont a img {
	max-width:133px;
	max-height:100px;
	vertical-align:middle;
}
.gallery .scrollbox .cont a:hover, 
.gallery .scrollbox .cont a:focus {
	background-color:rgba(255,255,255,0.2);
	outline:none;
}
.no-rgba .gallery .scrollbox .cont a:hover, 
.no-rgba .gallery .scrollbox .cont a:focus {
	background-image:url(w20.png);
}
.gallery .scrollbox .cont a.active {
	background-color:rgba(255,255,255,0.4);
}
.no-rgba .gallery .scrollbox .cont a.active {
	background-color:transparent;
	background-image:url(w40.png);
}
.hook-s,
.gallery .scrollbox .scleft,
.gallery .scrollbox .scright {
	position:absolute;
	top:5px;
	width:24px;
	height:108px;
	background-image:url(scroll.png);
	background-repeat:no-repeat;
	background-position:left center;
}	
.gallery .scrollbox .scleft {
	left:10px;
	background-position:0 center;
}
.gallery .scrollbox .scright {
	right:10px;
	background-position:-48px center;
}
.gallery .scrollbox .scleft:hover {
	background-position:-24px center;
}
.gallery .scrollbox .scright:hover {
	background-position:-72px center;
}

.gallery .img {
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0;
	overflow:hidden;
	-webkit-overflow-scrolling:auto;
}
.gallery .img .main {
	position:relative;
	display:inline-block;
	background-color:#eeeeee;
	padding:10px;
	/*border:10px solid #ffeeeeee;*/
	-moz-box-shadow:3px 6px 32px rgba(0,0,0,0.6); -webkit-box-shadow:3px 6px 32px rgba(0,0,0,0.6); box-shadow:3px 6px 32px rgba(0,0,0,0.6);
}
.gallery .img .image > img,
.gallery .img .image > a > img {
	vertical-align:top;
	width:100%;
	height:100%;
	cursor:default;
	-ms-interpolation-mode:bicubic;
}
.gallery .img .other {
	width:400px;
	text-align:center;
	background-color:rgba(240,240,240,0.85);
	color:#555;
	-moz-border-radius:4px; border-radius:4px;
}
.no-rgba .gallery .img .other {
	background-color:transparent;
	background-image:url(w80.png);
}
.gallery .img .other > a {
	display:block;
	margin:15px 15px 0 15px;
	padding:20px 0;
	border-bottom:1px solid #ccc;
}
.gallery .img .other > a > img {
	min-height:128px;
}
.gallery .img .other p {
	margin:10px 15px 15px 15px;
	overflow:hidden;
}
.gallery .img .main.video,
.gallery .img .main.audio {
	overflow:hidden;
}
.gallery .img .main.video > a,
.gallery .img .main.audio > a {
	display:block;
	height:100%;
	margin-bottom:10px;
}
.gallery .img .main.video > a > img,
.gallery .img .main.audio > a > img {
	width:100%;
	height:100%;
}
.gallery > .wait {
	display:none;
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0px;
	background-image:url(wait.gif);
	background-position:center center;
	background-repeat:no-repeat;
	z-index:3;
}
.gallery .bottom {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	z-index:11;
}
.gallery .bottom.hide {
	bottom:-100%;
}
.gallery .bottom .cont {
	position:relative;
	width:890px;
	max-width:80%;
	margin:0 auto;
	padding:5px 15px 10px 15px;
	text-align:left;
	-moz-border-top-left-radius:6px; -moz-border-top-right-radius:6px; border-top-left-radius:6px; border-top-right-radius:6px;
	color:#bbbbbb;
	background-color:rgba(0,0,0,0.4);
	transition: background-color 500ms;
	-moz-transition: background-color 500ms;
	-webkit-transition: background-color 500ms;
	-moz-box-shadow:1px 3px 8px rgba(0,0,0,0.6); -webkit-box-shadow:1px 3px 8px rgba(0,0,0,0.6); box-shadow:1px 3px 8px rgba(0,0,0,0.6);
}
.no-rgba .gallery .bottom .cont {
	background-color:transparent;
	background-image:url(k40.png);
}
.rgba.touch .gallery .bottom .cont,
.gallery .bottom .cont:hover {
	background-color:rgba(0,0,0,0.9);
}
.no-rgba .gallery .bottom .cont:hover {
	background-image:url(k80.png);
}
.gallery .bottom .cont:before, 
.gallery .bottom .cont:after { content: "\0020"; display: block; height: 0; visibility: hidden; } 
.gallery .bottom .cont:after { clear:both; }
.gallery .bottom h2 {
	margin-top:10px;
	font-size:140%;
}
.gallery .bottom .caption {
	margin-top:10px;
}
.gallery .bottom .caption a {
	color:#dddddd;
}
.gallery .bottom .caption a:hover {
	color:#ffffff;
}
.gallery .bottom .comment {
	max-height:12em;
	overflow:auto;
}
.gallery .bottom .comment a {
	text-decoration:underline;
}
.gallery .bottom nav {
	float:right;
	display:inline;
	margin:5px 0 5px 15px;
	height:28px;
	line-height:24px;
	font-size:85%;
	-moz-border-radius:2px; border-radius:2px;
	border:1px solid #111;
	color:#bbb;
	background-color:#111;
	z-index:999;
	background-image:-webkit-linear-gradient(top, rgba(51,51,51,1), rgba(17,17,17,1));
	background-image:-moz-linear-gradient(top, rgba(51,51,51,1), rgba(17,17,17,1));
	background-image:-o-linear-gradient(top, rgba(51,51,51,1), rgba(17,17,17,1));
	background-image:-ms-linear-gradient(top, rgba(51,51,51,1), rgba(17,17,17,1));
	background-image:linear-gradient(top, rgba(51,51,51,1), rgba(17,17,17,1));
	filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF333333',EndColorStr='#FF111111');
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box; 
 	-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.6); -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.6); box-shadow:0px 1px 2px rgba(0,0,0,0.6);
}
.gallery .bottom nav a {
	display:inline-block;
	height:28px;
	line-height:28px;

	width:20px;
	padding:0 6px;
	white-space:nowrap;
	background-image:url(buttons.png);
	background-position:6px 0;
	background-repeat:no-repeat;
	border-left:1px solid #000;
	cursor:default;
}
.gallery .bottom nav a:first-child {
	border-left:none;
	-moz-border-top-left-radius:2px; -moz-border-bottom-left-radius:2px; border-top-left-radius:2px; border-bottom-left-radius:2px;
}
.gallery .bottom nav a:last-child {
	-moz-border-top-right-radius:2px; -moz-border-bottom-right-radius:2px; border-top-right-radius:2px; border-bottom-right-radius:2px;
}
.gallery .bottom nav a:hover {
	color:#fff;
}
.gallery .bottom nav a.active {
	background-color:#000;
	border-left-color:#111;
	color:#aaa;
}
.gallery .bottom .nr {
	float:right;
	display:inline;
	margin:5px 0 5px 15px;
	line-height:32px;
	padding:0;
	white-space:nowrap;
	-moz-border-radius:4px; border-radius:4px;
}
.gallery .bottom .meta .icon {
	background-position:0 -1px;
}
.gallery .bottom nav a.meta-icon {
	background-position:6px -1px;
}
.gallery .bottom .map .icon {
	background-position:0 -33px;
}
.gallery .bottom nav a.map-icon {
	background-position:6px -33px;
}
.gallery .bottom .shop .icon {
	background-position:0 -65px;
}
.gallery .bottom nav a.shop-icon {
	background-position:6px -65px;
}
.gallery .bottom nav a.link-icon {
	background-position:6px -97px;
}
.gallery .bottom .share .icon {
	background-position:0 -129px;
}
.gallery .bottom nav a.share-icon {
	background-position:6px -129px;
}
.gallery .bottom .print .icon {
	background-position:0 -161px;
}
.gallery .bottom nav a.print-icon {
	background-position:6px -161px;
}
.gallery .bottom .comments .icon {
	background-position:0 -193px;
}
.gallery .bottom nav a.comments-icon {
	background-position:6px -193px;
}
.gallery .bottom .regions .icon {
	background-position:0 -225px;
}
.gallery .bottom nav a.regions-icon {
	background-position:6px -225px;
}
.gallery .bottom .fotomoto .icon {
	background-position:0 -257px;
}
.gallery .bottom nav a.fotomoto-icon,
.gallery .bottom nav a.mostphotos-icon {
	background-position:6px -257px;
}
.gallery .bottom .custom .icon {
	background-position:0 -289px;
}
.gallery .bottom nav a.custom-icon {
	background-position:6px -289px;
}

.gallery .bottom .panel {
	clear:both;
	position:relative;
	font-size:85%;
	color:#ccc;
	margin-top:10px;
	padding-left:30px;
	color:#bbbbbb;
}
.gallery .bottom .icon {
	position:absolute;
	left:0;
	top:-6px;
	width:20px;
	height:26px;
	background-image:url(buttons.png);
	background-repeat:no-repeat;
}
.gallery .bottom .meta b {
	color:#fff;
}
.gallery .bottom .map .mapcont {
	position:relative; 
	overflow:hidden;
	height:240px;
}
.gallery .bottom .shop .icon {
	top:-1px;
}
.gallery .bottom .shop form {
	float:left;
	display:inline;
	line-height:30px;
}
.gallery .bottom .shop input,
.gallery .bottom .shop select {
	vertical-align:middle;
	margin:0 4px;
	padding:4px 6px;
	border:none;
	outline:none;
	-moz-border-radius:2px; border-radius:2px;
}
.gallery .bottom .shop select {
	background-color:#ddd;
	margin:-2px 6px 0 0;
}
.gallery .bottom .shop .total,
.gallery .bottom .shop .copies {
	-moz-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); -webkit-box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4); box-shadow:inset 0px 2px 4px rgba(0,0,0,0.4);
}
.gallery .bottom .shop .copies {
	width:24px;
}
.gallery .bottom .shop .discount {
	display:inline-block;
	margin:0 6px 0 0;
	padding:0 6px;
	line-height:20px;
	background-color:#c00;
	color:#fff;
	-moz-border-radius:2px; border-radius:2px;
}
.gallery .bottom .shop .total {
	width:40px;
	background-color:#999;
	font-weight:bold;
	text-align:right;
	color:#fff;
}
.gallery .bottom .comments {
	height:160px;
	overflow-x:hidden;
	overflow-y:auto;
	-webkit-overflow-scrolling:touch;
	overflow-scrolling:touch;
}

#bgaudio {
	position:fixed;
	right:0px;
	top:0;
	width:100px;
	height:34px;
	z-index:99999;
	-moz