.qitem {
	width:150px;
	height:150px;
	border:2px solid #666;
	background: url('bg.jpg') no-repeat;
	/* required to hide the image after resized */
	overflow:hidden;
	/* for child absolute position */
	position:relative;
	/* display div in line */
	float:left;
	cursor:hand;
	cursor:pointer;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-left: 0;
	padding: 0px;
}
.pagine {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-style: italic;
	color: #999;
	font-weight: bold;
}


	.qitem img {
		border:0;
	
		/* allow javascript moves the img position*/
		position:absolute;
		z-index:200;
	}

	.qitem .caption {
	position:absolute;
	z-index:0;
	color:#FFF;
	display:block;
	text-align: left;
	width: 145px;
	line-height: 13px;
	top: 10px;
	}

	.qitem .caption h4 {
	font-size:12px;
	color:#D1DEED;
	font-family: Verdana, Geneva, sans-serif;
	margin-left: 5px;
		}
.title {
	font-size:11px;
	color:#D1DEED;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
}
#shadow_port {
	background-image: url(../images/shadow_protfolio.png);
	background-repeat: no-repeat;
	background-position: center top;
	height: 179px;
	width: 850px;
	position: relative;
	right: 20px;
	bottom: 23px;
}



		.qitem .caption p {
	font-size:10px;
	margin: 0px;
	padding:3px 5px 0 8px;
		}



/* Setting for corners */

.topLeft, .topRight, .bottomLeft, .bottomRight {
	position:absolute;
	background-repeat: no-repeat; 
	float:left;
}

.topLeft {
	background-position: top left; 	
} 

.topRight {
	background-position: top right; 
} 

.bottomLeft {
	background-position: bottom left; 
} 

.bottomRight {
	background-position: bottom right; 
}

.clear {
	clear:both;	
}
