html, body{
	margin: 0;
	padding: 0;
}
body{
	background:#000;
}
.tf_bg{
	width:100%;
	height:100%;
	position:fixed;
	top:0px;
	left:0px;

}
.tf_bg img{
	position:absolute;
	top:0px; /*-482px;	 -(imgh/2 - wh/2) */
	left:0px;	/* calculate a negative value to center horizontally */
	width:100%;	/* windowwidth plus negative value of left */
	/*height:1650px; /* windowheight plus negative value of top */
	z-index:1;
	display:none;
}
.tf_pattern{
	position:absolute;
	width:100%;
	height:100%;
	background:transparent url(../images/uprav_gal/pattern.png) repeat top left;
	z-index:2;
}
.tf_content{
	position:absolute;
	width: 962px;
	bottom:50px;
	left:50px;
	z-index:10;
	display:none;
}
.tf_content h2{
	color:#fff;
	font-size:70px;
	padding:0;
	margin:0;
	font-family: 'Dancing Script', arial, serif;
	text-shadow:1px 1px 2px #000;
}
.tf_content p{
	color:#fff;
	padding:0;
	margin:0;
	background:transparent url(../images/uprav_gal/bg_content.png) repeat top left;
	padding:40px;
	width:500px;
	font-family: 'PT Sans Narrow', arial, serif;
	font-size:20px;
	line-height:25px;
	text-transform:uppercase;
	text-shadow:2px 2px 1px #000;
	-moz-box-shadow:1px 1px 5px #202020;
	-webkit-box-shadow:1px 1px 5px #202020;
	box-shadow:1px 1px 5px #202020;
	border:4px solid #fff;
}
.tf_thumbs{
	position:absolute;	
	z-index:12;
	right:50px;
	top:50%;
	margin-top:-79px;
	border:4px solid #fff;
	-moz-box-shadow:1px 1px 5px #202020;
	-webkit-box-shadow:1px 1px 5px #202020;
	box-shadow:1px 1px 5px #202020;	
	-webkit-box-reflect:
		below 5px
		-webkit-gradient(
			linear,
			left top,
			left bottom,
			from(transparent),
			color-stop(0.6, transparent),
			to(rgb(18, 18, 18))
		);
}
.tf_thumbs img{
	display:block;
}
.tf_loading{
	position:fixed;
	top:50%;
	left:50%;
	margin:-30px 0px 0px -30px;
	width:60px;
	height:60px;
	background:url(../images/uprav_gal/1.jpg) no-repeat center center;
	background-size: cover;
	z-index:999;
}
.tf_next,
.tf_prev{
	width:65px;
	height:65px;
	position:absolute;
	top:50%;
	right:185px;
	z-index:100;
}
.tf_next{
    background:url(../images/uprav_gal/nav_next.png);
	background-size: cover;
	margin-top:220px;
}
.tf_prev{
	background:url(../images/uprav_gal/nav_preus.png);
	background-size: cover;
	margin-top:-160px;
}
.tf_next:hover,
.tf_prev:hover{
	opacity:0.5;
}
.reference{
	position:fixed;
	bottom:0px;
	right:0px;
	background:#000;
	height:23px;
	text-align:right;
	width:100%;
	text-shadow:1px 1px 1px #000;
	z-index:999;
	opacity:0.8;
}
.description{
	position:fixed;
	top:5px;
	right:5px;
	text-shadow:1px 1px 1px #000;
	z-index:999;
}
.reference a, .description span{
	color:#fff;
	text-transform: uppercase;
	margin-left:20px;
	text-decoration:none;
	font-family:Arial;
	font-size:10px;
}
a.last{
	float:left;
	line-height:23px;
}
.reference a:hover{
	text-shadow:0px 0px 1px #fff;
}
.home{
	position: absolute;
	width: 110px;
	height: 110px;
	background:url(../images/uprav_gal/home01.svg);
	background-size: cover;
	margin-top: 25px;
	margin-left: 410px;
	z-index: 9999;
}
.home:hover{
    opacity:0.5;
}
.str1{
	position: absolute;
	width: 520px;
	height: 210px;
	background: url( ../images/uprav_gal/posmotret.svg);
	margin-top: -135px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-left: 0;
}
.str1:hover{
	opacity: 0.5;
}
.str2{
	position: absolute;
	width: 520px;
	height: 210px;
	background: url( ../images/uprav_gal/posmotret.svg);
	margin-top: -135px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-left: 0;
}
.str2:hover{
	opacity: 0.5;
}
.str3{
	position: absolute;
	width: 520px;
	height: 210px;
	background: url( ../images/uprav_gal/posmotret.svg);
	margin-top: -135px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-left: 0;
}
.str3:hover{
	opacity: 0.5;
}
.str4{
	position: absolute;
	width: 520px;
	height: 210px;
	background: url( ../images/uprav_gal/posmotret.svg);
	margin-top: -135px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-left: 0;
}
.str4:hover{
	opacity: 0.5;
}
