﻿*{
	margin:0;
	padding:0;
}
body {
	margin: 0px;
	background-position: right top;
	padding: 0px;
	margin: 0px;
}
html, body{
	height: 100%;
	font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
#container {
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	overflow: auto;
}
#mask{
	min-height:100%;
	width:100%;
	margin:0 auto;
}
#wrapper{
	margin: 0px auto 0px auto;
}
#logo {
	margin: 0px;
	padding: 0px;
	float: left;
	width: 120px;
	text-align: center;
	height: 80px;
	z-index: 999;
	position: absolute;
	transition-duration: 1s;
}
#logo:hover {
	transform:scale(1.05);
	transition-duration:1s;
}
#head {
	padding: 0px;
	margin: 0px;
	background-position: center center;
	height: 60px;
	background-repeat: repeat;
	background-color: #fbec00;
}
header {
	padding: 0px;
	background-position: right top;
	width: 960px;
	margin: 0px auto 0px auto;
	height: 60px;
}
nav {
	margin: 0px 0px 0px 120px;
	background-position: center top;
	padding: 0px;
	text-align: right;
	color: #FFFFFF;
	font-size: 10px;
	float: left;
	width: 840px;
}
nav ul {
	list-style-type: none;
	height: 15px;
	padding: 0px;
	margin: 4px 0px 0px auto;
	text-align: right;
}
nav li {
	list-style-type: none;
	float: right;
	height: 20px;
	margin: 0px 1px 0px 1px;
	padding: 0px;
}
.active {
	font-size: 12px;
}
.active a {
	color: #CE0000;
	font-size: 12px;
	text-shadow: 1px 1px 0px #ffffff;
}
li a {
	text-decoration: none;
	color: #FFFFFF;
	font-size: 12px;
	display: block;
	height: 20px;
	font-weight: normal;
	text-transform: lowercase;
}
li:hover {
	color: #000000;
}
li a:hover {
	color: #CE0000;
	text-shadow: 1px 1px 0px #ffffff;
	
}
nav img {
	border-style: none;
	transition-duration:1s;
}
nav img:hover {
	opacity:0.6;
	transform:translateY(-6px);
	transition-duration:1s;
}
h1 {
	color: #c1360c;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	padding: 0px 60px 4px 0px;
	margin: -15px 0px 0px 0px;
	width: auto;
	font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	text-shadow: 1px 0px 0px #ffffff;
}
h2 {
	font-size: 13px;
	color: #FFFFFF;
	font-weight: normal;
	text-align: justify;
	padding-right: 10px;
	padding-left: 10px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

article p {
		font-size: 13px;
	color: #FFFFFF;
	font-weight: normal;
	text-align: justify;
	font-family: Verdana, Geneva, Tahoma, sans-serif;

}

article .tresc {
	font-size: 13px;
	color: #FFFFFF;
	font-weight: normal;
	text-align: justify;
	padding-right: 20px;
	padding-left: 20px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h2 a {
	color: #A2A2A2;
	text-decoration: none;
}
h2 a:hover {
	color: #000000;
	text-decoration: underline;
}

/***Enlarge image on hover***/ 
ul.enlarge{
	padding: 40px 0px 0px 0px;
	margin: 0px auto 0px auto;
	list-style-type: none;
	height: 250px;
}
ul.enlarge li{
	padding: 0px;
	display: inline-block; /*places the images in a line*/;
	position: relative; /*allows precise positioning of the popup image when used with position:absolute - see support section */;
	z-index: 0; /*resets the stack order of the list items - we'll increase in step 4. See support section for more info*/;
	margin: 5px 4px 5px 4px; /*space between the images*/
	 transition-duration:1s;

}
ul.enlarge span{
position:absolute; /*see support section for more info on positioning*/ 
left: -9999px; /*moves the span off the page, effectively hidding it from view*/
}
ul.enlarge img{
	/*give the thumbnails a frame*/
 /*frame colour*/padding: 0px; /*frame size*/ 
 /*add a drop shadow to the frame*/
	-webkit-box-shadow: 0 0 6px rgba(132, 132, 132, .75);
	-moz-box-shadow: 0 0 6px rgba(132, 132, 132, .75);
	box-shadow: 0 0 6px rgba(132, 132, 132, .75); /*and give the corners a small curve*/;
	 transition-duration:1s;

}
ul.enlarge li:hover{
 z-index: 50; /*places the popups infront of the thumbnails, which we gave a z-index of 0 in step 1*/ 
 cursor:pointer; /*changes the cursor to a hand*/ 
}
ul.enlarge img:hover{
	 opacity:0.5;
 transition-duration:1s;

}
/***We bring the large image back onto the page by reducing left from -9999px (set in step 2) to figures below***/ 
 ul.enlarge li:hover span{ /*positions the <span> when the <li> (which contains the thumbnail) is hovered*/ 
 top: 100px; /*the distance from the bottom of the thumbnail to the top of the popup image*/
 left: 0px; /*distance from the left of the thumbnail to the left of the popup image*/
 }
/***To make it look neater we used :nth-child to set a different left distance for each image***/ 
 ul.enlarge li:hover:nth-child(2) span{
 left: -180px; 
 }
 ul.enlarge li:hover:nth-child(3) span{
 left: -360px; 
 }

/***Override the styling of images set in step 3 to make the frame smaller and the background darker***/ 
ul.enlarge span img{
 padding: 2px; /*size of the frame*/
background: #ccc; /*colour of the frame*/ 
opacity:1;
}
ul.enlarge span img:hover{
 padding: 2px; /*size of the frame*/
background: #ccc; /*colour of the frame*/ 
opacity:1;
}

/***Style the <span> containing the framed images and the caption***/ 
ul.enlarge span{

	padding: 10px;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,.75);
	-moz-box-shadow: 0 0 20px rgba(0,0,0, .75);
	box-shadow: 0 0 20px rgba(0,0,0, .75); 
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px; 
	font-family: 'Droid Sans', sans-serif; 
	font-size: .9em;
	background-image: url('../img/bg_kozigrod.png');
	background-repeat: repeat;
}


.photos {
	margin-right: auto;
	margin-left: auto;
	width: auto;
	padding: 5px 0px 20px 0px;
	text-align: center;
}
.photos img {
	box-shadow: 1px 1px 5px 0px #808080;
	margin: 5px 3px 5px 4px;
	border: 1px solid #734871;
}
article {
	font-size: 13px;
	color: #FFFFFF;
	font-weight: normal;
	text-align: justify;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	padding: 10px 0px 110px 0px;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
}
.contain {
	margin: 0px auto 0px auto;
	background-position: center center;
	padding: 0px;
	background-repeat: repeat;
	background-image: url('../img/bg_black_70.png');
}
.content {
	padding: 0px;
	margin: 0px auto 0px auto;
	z-index: 10;
}
.content h6 {
	box-shadow: 1px 1px 10px 1px #FBEC00;
	margin: 0px;
	padding: 0px;
	background-position: center bottom;
	color: #FBEC00;
	display: block;
	text-align: center;
	font-size: 15px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	background-repeat: repeat;
	text-shadow: 2px 2px 1px #000000;
	z-index: 0;
	height: 22px;
	font-weight: normal;
	background-color: #c1360c;
	position: absolute;
	width: 100%;
	transition-duration: 1s;
	text-indent: hanging;
}
.content h6.active {
	border-width: 0px;
	border-style: none;
}
.content h6:hover {
	background-position: center top;
	cursor: help;
	background-repeat: repeat-x;
	z-index: 20;
	background-image: url('../img/bg_h6_hover.png');
	text-decoration: blink;
	color: #FFFFFF;
	transition-duration: 1s;
}
.content div {
	margin-bottom: -25px;
}
footer{
	box-shadow: 1px 1px 10px 1px #FBEC00;
	background-position: center top;
	overflow: hidden;
	padding: 0px;
	margin-top: -56px;
	height: 56px;
	text-align: center;
	font-size: 12px;
	color: #FFFFFF;
	background-repeat: repeat;
	border-top-style: none;
	z-index: 999;
	width: 100%;
	background-color: #C93812;
}
footer:hover {
}
#foot {
	margin: 2px auto 10px auto;
	width: 980px;
}
#contact {
	float: left;
	width: 680px;
	margin-top: 12px;
	color: #FFFFFF;
	text-shadow: 1px 1px 2px #000000;
	line-height: 1.3em;
}
#contact a {
	text-decoration: none;
	color: #FBEC00;
	transition-duration: 1s;
}
#contact a:hover {
	color: #FFFFFF;
	transition-duration:1s;
	font-size:14px;
}

#author {
	float: left;
	margin: 12px 0px 0px 0px;
	width: 260px;
	font-size: 11px;
	color: #FBEC00;
	padding-left: 20px;
	line-height: 1.3em;
}
#author a {
	text-decoration: none;
	color: #FFFFC1;
	text-shadow: 1px 1px 0px #666666;
		transition-duration:1s;
}
#author a:hover {
	color: #FFFFFF;
	transition-duration:1s;
	font-size:14px;

}

#author img {
	border-style: none;
}
.tab {
	width: 974px;
	height: 420px;
	margin-right: auto;
	margin-left: auto;
	table-layout: auto;
	border-spacing: 0px;
	caption-side: top;
	padding-bottom: 70px;
	text-align: center;
}
td a {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}
td img {
	border: 1px solid #000000;
}
td img:hover {
	opacity:0.8;
}
td a:hover {
	color: #C0C0C0;
}
.logo_katalogu {
	margin-top: 0px;
	margin-bottom: 4px;
}
.highlight {
	text-decoration: blink;
	color: #FFFFFF;
}
.second {
	border-width: 1px;
	border-color: #000000;
	border-top-style: solid;
	padding-top: 20px;
	margin-top: 10px;
}
#controls div {
	overflow: visible;
	display: inline-block;
	padding: 4px;
	margin: 25px 1px 1px 1px;
	color: #999999;
	border: 1px solid #666666;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	font-size: 11px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	transition: background-color 2s;
	transition: color 1s;
}
#controls div:hover:not(.counter){
            background:rgba(255, 255, 255,.9);
            color:#000;
            	transition: background-color 1s;
	transition: color 1s;

        }
#controls div:not(.counter){
            background: rgb(0, 0, 0);
            cursor:pointer;
        }
#controls.fullScreen_controls div:hover:not(.counter){
            background:rgba(255,255,255,.9);
            color:#000;
        }
#controls.fullScreen_controls div:not(.counter){
            background: rgba(0, 0, 0, 0.82);
            cursor:pointer;
        }
#controls div.sel {
	background: rgba(255,255,255,.9);
}
.imgContainer {
	width: 100px;
	height: 100px;
	overflow: hidden;
	display: inline-block;
}
.imgContainer img {
	width: 160px;
}
.counter {
	border-style: none;
	vertical-align: middle;
}
