div.image_wrapper.thumb {
	border: 1px solid #ccc;
	height: 250px;
	width: 250px;
	padding: 5px;
	margin: 5px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	position: relative;
}

div.image_wrapper.thumb span {
	margin: 0;
}

div.image_wrapper.thumb img {
	width: auto;
	margin: auto;
	padding: 10px;
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	left: -100%;
	right: -100%;
	top: -100%;
	bottom: -100%;
	margin: auto;
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ }
@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ }
@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
	.rslides_container.corsi {
		margin-bottom: 10px;
		margin-right: 15px;
		position: relative;
		float: left;
		width: 50%;
	}
}
@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }

