.lead-offers-hidden {
	display: none;
}

.lead-offers-modal-wrapper {
	z-index: 100001;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.lead-offers-modal-background {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	background: rgba(255,255,255,0.7);
	z-index: 1; /* Just needs to be lower than `.lead-offers-modal-content` */
}

.lead-offers-modal-close {
	display:block;
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background: #000;
	color: #fff;
	font-size: 48px;
	font-family: 'Helvetica', Arial, sans-serif;
	line-height: .675;
	text-decoration: none;
	z-index: 2; /* Just needs to be higher than `.lead-offers-modal-background` */
}

.lead-offers-modal-close:hover,
.lead-offers-modal-close:active,
.lead-offers-modal-close:visited,
.lead-offers-modal-close:focus {
	background: #222;
	color: #fff;
}

.lead-offers-content,
.lead-offers-modal-content {
	position: relative;
	background: #fff;
	width: 100%;
	border: 1px solid #ccc;
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
	-webkit-border-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 2; /* Just needs to be higher than `.lead-offers-modal-background` */
	background-position: center center;
	display: inline-block;
	vertical-align: middle;
}

.lead-offers-content {
	max-width: 100%;
	cursor:pointer;
}

.lead-offers-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.lead-offers-content-overlay,
.lead-offers-color-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	margin-left: auto;
	margin-right: auto;
}

.lead-offers-content-overlay,
.lead-offers-color-overlay,
.lead-offers-modal-content-overlay,
.lead-offers-modal-color-overlay {
	z-index: 2;
}

.lead-offers-modal-content-overlay,
.lead-offers-modal-color-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.lead-offers-color-overlay,
.lead-offers-modal-color-overlay {
	opacity: .75;
	z-index: 1;
}

.lead-offers-modal-content-overlay {
	padding: 2em;
}

.lead-offers-content img,
.lead-offers-modal-content img {
	max-width: 100%;
	margin: 0 auto;
	display:block;
}

.lead-offers-content-container,
.lead-offers-modal-content-container {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	padding: 0 2em;
}