*{
	/* Resetting the default styles of the page */
	margin:0;
	padding:0;
}


.sponsorListHolder{
	margin-bottom:30px;
}

.sponsor{
	width:182px;
	height:182px;
	float:left;
	margin:0.3em;
	
	/* Giving the sponsor div a relative positioning: */
	position:relative;
	cursor:pointer;
}

.sponsorFlip{
	/*  The sponsor div will be positioned absolutely with respect
		to its parent .sponsor div and fill it in entirely */

	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	border:1px solid #ddd;	
	background-color:#f9f9f9;
}

.sponsorFlip:hover{
	border:1px solid #999;
	
	/* CSS3 inset shadow: */
	-moz-box-shadow:0 0 30px #333 inset;
	-webkit-box-shadow:0 0 30px #333 inset;
	box-shadow:0 0 30px #333 inset;
}

.sponsorFlip img{
	/* Centering the logo image in the middle of the sponsorFlip div */
	
	position:absolute;
	top:50%;
	left:50%;
	margin:-70px 0 0 -70px;
}

.sponsorData{
	/* Hiding the .sponsorData div */
	display:none;
}

.sponsorDescription{
	font-size:14px;
	padding:30px 20px 10px 20px;
	font-style:italic;
	color:#fff;
	word-break: keep-all;
	line-height:19px;
}

.sponsorURL{
	font-size:10px;
	font-weight:bold;
	padding:0 15px 0 20px;
	color:#f17242;
	word-break:break-all;
	line-height:13px;
}


.clear{
	/* This class clears the floats */
	clear:both;
}


/* The styles below are only necessary for the styling of the demo page: */

#main{
	position:relative;
	margin:0 auto;
}




.note{
	font-size:12px;
	font-style:italic;
	padding-bottom:20px;
	text-align:center;
}

/* Mobile */
@media all and (max-width: 768px) {
	.sponsor{
		width:141px;
		height:141px;
		float:left;
		margin:0.3em;
		
		/* Giving the sponsor div a relative positioning: */
		position:relative;
		cursor:pointer;
	}
	
	.sponsorFlip{
	/*  The sponsor div will be positioned absolutely with respect
		to its parent .sponsor div and fill it in entirely */

		position:absolute;
		left:0;
		top:0;
		width:100%;
		height:100%;
		border:1px solid #ddd;	
		background-color:#f9f9f9;
	}

	
	.sponsorFlip img{
		/* Centering the logo image in the middle of the sponsorFlip div */
		
		position:absolute;
		top:50%;
		left:50%;
		width:75%;
		margin:-53px 0 0 -53px;
	}

	.sponsorData{
		/* Hiding the .sponsorData div */
		display:none;
	}

	.sponsorDescription{
		font-size:12px;
		padding:30px 20px 10px 20px;
		font-style:italic;
		color:#fff;
		word-break: keep-all;
		line-height:15px;
	}

	.sponsorURL{
		font-size:10px;
		font-weight:bold;
		padding:0 20px;
		color:#f17242;
		word-break:break-all;
		line-height:13px;
	}
}
