p#cf7_controls {
	text-align: center;
	margin-bottom: 10px;
}
#cf7_controls span {
	display: inline-block;
	/*  padding-right:1%;*/
	cursor: pointer;
	width: 13%;
}
#cf7_controls span img {
	width: 100%;
	height: auto;
}
#cf7 {
	position: relative;
	min-height: 500px;
	height: 100%;
	width: 100%;
	margin: 0 auto 10px;
}
#cf7 img {
	position: absolute;
	left: 0;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	width: 100%;
	height: auto;
}
#cf7 img.opaque {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=1);
}
.selected {
	opacity: 0.5;
}

@media only screen and (min-width: 1000px) {/*#cf7 {  min-height:500px;}*/
}

@media only screen and (min-width: 768px) and (max-width: 999px) {
#cf7_controls span {
	display: inline-block;
	cursor: pointer;
	width: 15%;
}
#cf7 {
	min-height: 315px;
}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
#cf7 {
	min-height: 248px;
}
#cf7_controls span {
	display: inline-block;
	cursor: pointer;
	width: 15%;
}
}

@media only screen and (max-width: 479px) {
/*	#cf7 {

height:300px;

}

	#cf7_controls {
margin-top:300px;
height:300px;
border:solid thin red;
}*/


}
