#offers {
	padding-bottom: 75px;
}

#offersNoRecords {

}

.pagifier {
	margin: 10px 0 20px 0;
}

.pagifierCount {
	float: left;
	text-align: left;
	width: 44%;
	min-height: 2em;
}

.pagifierPerPage {
	float: right;
	text-align: right;
	width: 50%;
	min-height: 2em;
}

.pagifierPaging {
	clear: both;
	text-align: center;
	width: 25em;
	margin-left: auto;
	margin-right: auto;
}

.pagination { margin: 0; }

#offerContainer {
	text-align: center;
	clear: both;
	margin-bottom: 10px;
}

.offer {
	position: relative;
	display: block;
	height: 365px;
	width: 98%;
	margin-left: 3px;
	margin-right: 9px;
	margin-top: 3px;
	margin-bottom: 9px;
}

.offerTop {
	position: absolute;
	font-size: 20px;
	width: 100%;
}

.offerFeatured {
	color: #648d9d;
 	border-top: 55px solid #1a4a5c;
 	border-right: 55px solid transparent;
 	width: 0;
 	height: 0;
	float: left;
}

.offerFeatured i {
	position: absolute;
	top: 6px;
	left: 6px;
}

.offerType {
	float: right;
	margin-right: 5px;
}

.offerTypeText {
	margin-top: 5px;
	font-size: 70%;
	font-weight: bold;
}

.offerImg {
	margin-top: 5px;
}

.offerImg img {
	width: 150px;
	height: 130px;
}

.offerSoldOutContainer {
	position: absolute;
	width: 100%;
	top: 60px;
	-webkit-transform: rotate(-20deg);
  -ms-transform: rotate(-20deg); /* IE 9 */
  transform: rotate(-20deg);
}

.offerSoldOut {
	width: 210px;
	font-size: 200%;
	font-weight: bold;
	margin: 0 auto;
	height: 50px;
	line-height: 40px;
	color: #CC2200;
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	background: rgba(0,0,0,0.5);
	border: 5px solid #CC2200;
	border-radius: 4px;
}

.tempClosedContainer {
	position: absolute;
	width: 100%;
	top: 95px;
}

.tempClosedContainer:hover {
	cursor: pointer;
}

.tempClosedButton {
	width: 210px;
	font-size: 135%;
	font-weight: bold;
	margin: 0 auto;
	height: 40px;
	line-height: 30px;
	color: #ffaa00;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	background: rgba(0,0,0,0.5);
	border: 5px solid #ffaa00;
	border-radius: 3px;
}

.offerMerchant {
	font-weight: bold;
	font-size: 110%;
	padding: 10px 0;
	height: 30px;
	margin-bottom: 25px;
}

.offerDescription {
	height: 35px;
}

.offerTerms {
	margin-top: 10px;
	height: 30px;
}

.offerTerms button {
	font-size: 12px;
}

.offerSocialNetworking {
	padding: 20px 0 20px 20px;
	float: left;
}

.offerSelect, .offersNotAvailableMessage {
	padding: 15px 15px 14px 0px;
	float: right;
}

.offerQtySelect {
	display: inline-block;
	width: auto;
	vertical-align: middle;
}

.offersNotAvailableMessage {
	font-weight: bold;
	font-size: 89%;
}

@media(min-width:768px) {

	.pagifierCount {
		width: 14em;
	}

	.pagifierPerPage {
		width: 14em;
	}

	.pagifierPaging {
		clear: none;
	}

}

/* 10/20/2016, bbale - KOSTIZI-1924 - tweaking offer width behavior.
	This number was chosen as the cutoff because this is the browser width
	where 2 offers will fit comfortably side-by-side.  If 2 won't fit on a row,
	then make one offer fill (almost) the width of the screen. */
@media(min-width:518px) {
	.offer {
		width: 47.5%;
		float: left;
	}
}

/* This is the width at which 3 will fit across (with the sidebar menu) */
@media(min-width:955px) {
	.offer {
		width: 31.5%;
		float: left;
	}
}

/* This is the width at which 4 will fit across (with the sidebar menu) */
@media(min-width:1210px) {
	.offer {
		width: 23.6%;
		float: left;
	}
}

/* This is the width at which 5 will fit across (with the sidebar menu) */
@media(min-width:1555px) {
	.offer {
		width: 19%;
		float: left;
	}
}
