/*
	Slideshow
*/

#DIVfoto {
	
}

/*
	Slides container
	Important:
	Set the width of your slides container
	Set to display none, prevents content flash
*/

#DIVfoto .slides_container {
	width:250px;
	height:250px;
	overflow:hidden;
	float:left;
	position:relative;
	display:none;
	display: table;
text-align: center;
vertical-align: middle;
}

/*
	Each slide
	Important:
	Set the width of your slides
	If height not specified height will be set by the slide content
	Set to display block
*/

#DIVfoto .slides_container a {
	width:250px;
	height:250px;
	display:block;
	
}
#DIVfoto img{
	max-height:200px; max-width:200px;position:absolute;top:0;bottom:0; left:0; right:0;margin:auto;
}
/*
	Next/prev buttons
*/

#DIVfoto .next,#DIVfoto .prev {
	position:absolute;
	top:80px;
	left:-10px;;
	width:24px;
	height:0;
	padding-top:43px;
	overflow:hidden;
	display:block;
	z-index:101;
}

#DIVfoto .prev {
	background:url(http://casceramica.com/libs/sliderfotoproducto/arrow-prev.png);
}

#DIVfoto .next {
	left:233px;
	background:url(http://casceramica.com/libs/sliderfotoproducto/arrow-next.png);
}

/*
	Pagination
*/

#DIVfoto .pagination {
	background:#dfdfdf;
	width:130px;
	padding:5px 5px;
	float:left;
	margin-left:30px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
}

#DIVfoto .pagination li {
	float:left;
	margin:2px 4px;
	list-style:none;
}

#DIVfoto .pagination li a {
	display:block;
	width:55px;
	height:41px;
	margin:1px;
	float:left;
	background:#f9f9f9;
}

#DIVfoto .pagination li.current a {
	border:1px solid #7f7f7f;
	margin:0;
}