#photoGallery {
	width:580px;
	position:relative;
	height:65px;
	padding-top:305px;
	background-color: #E7E7E7;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 25px;
	margin-left: 0;
}
#photoGallery img.left {
	width:10px;
	height:50px;
	background:#444;
	float:left;
	cursor:pointer;
	margin-left: 7px;
}
#photoGallery img.right {
	width:10px;
	height:50px;
	background:#444;
	float:left;
	cursor:pointer;
}
#photoGallery ul {
	list-style:none;
	padding:0;
	margin:0;
	float:left;
	background-color: #E7E7E7;
}
#photoGallery ul li {
	display:inline;
	width:85px;
	height:50px;
	float:left;
	border:1px solid #FFFFFF;
	cursor:pointer;
	margin-top: 0;
	margin-right: 2px;
	margin-bottom: 0;
	margin-left: 2px;
}
#photoGallery ul li.hide {
	display:none;
}

/* background images */

#photoGallery ul li.th1 {
	background-image: url(/img/gallery/thumb/t1.jpg);
}
#photoGallery ul li.th2 {
	background-image: url(/img/gallery/thumb/t2.jpg);
}
#photoGallery ul li.th3 {
	background-image: url(/img/gallery/thumb/t3.jpg);
}
#photoGallery ul li.th4 {
	background-image: url(/img/gallery/thumb/t4.jpg);
}
#photoGallery ul li.th5 {
	background-image: url(/img/gallery/thumb/t5.jpg);
}
#photoGallery ul li.th6 {
	background-image: url(/img/gallery/thumb/t6.jpg);
}
#photoGallery ul li.th7 {
	background-image: url(/img/gallery/thumb/t7.jpg);
}
#photoGallery ul li.th8 {
	background-image: url(/img/gallery/thumb/t8.jpg);
}

/* ukloni visibility:hidden; ako zelis originalne fotke da koristis */

#photoGallery ul li img {
	visibility:hidden;
	display:block;
	width:85px;
	height:50px;
}
#photoGallery ul li.chosen {
	cursor:default;
	border-top-color: #333333;
	border-right-color: #333333;
	border-bottom-color: #333333;
	border-left-color: #333333;
}
#photoGallery ul li.chosen div {
	position:absolute;
	left:0;
	top:0;
	width:580px;
	height:295px;
}
#photoGallery ul li.chosen div i {
	vertical-align:middle;
	text-align:center;
}
#photoGallery ul li.chosen div i img {
	visibility:visible;
	width:auto;
	height:auto;
	margin:0 auto;
}

