/**
 * The Locker Modal content styling
 */
.modal-overlay {
	position: fixed;
	top: 0;
	min-height: 1000px;
	width: 100%;
	z-index: 100;
	background-color: #333;
	background-color: rgba( 0, 0, 0, .8 );
	display: none;
}

.locker-aside-single .modal,
.locker-aside-single .modal-content {
	display: block;
}

.modal-content {
	background: white;
}

.modal-content #main2 {
	font-size: 140%;
	width: 100%;
	background: #E1E1E1;
	clear: both;
	float: none;
	text-align: center;
	padding-top: 30px;
}
.modal-content #main2 h3.widget-title {
	text-transform: uppercase;
	font-size: 3em;
	font-size: 1.9rem;
	line-height: 1.2em;
	line-height: 2.3rem;
	position: relative;
	margin: 0;
	color: #CA0F1A;
	margin-bottom: 20px;
}
.modal-content #main2 .featuredfour {
	display: block;
	text-align: center;
	margin: 0 auto;
	max-width: 570px;
}

.modal {
	position: fixed;
	margin: 0 auto;
	top: 86px;
	left: 0;
	right: 0;
	min-height: 300px;
	width: 100%;
	max-width: 965px;
	background: #E1E1E1;
	z-index: 108;
	overflow-y: auto;
	overflow-x: hidden;
	display: none;
}

.modal #sidebar {
	margin-top: 40px;
	width: 340px;
}

.ie7 .modal #sidebar,
.ie8 .modal #sidebar {
	width: 320px;
}

.modal-controls {
	background: white;
}

.modal-controls .previous-locker-post-button,
.modal-controls .next-locker-post-button {
	display: none;
}

.modal-controls .modal-close {
	cursor: pointer;
	text-align: center;
	font-family: sans-serif;
	background-color: #4F4F4F;
	color: #fff;
	float: right;
	position: relative;
	width: 13%;
	font-size: 18px;
	height: 40px;
	line-height: 40px;
	max-width: 50px;
	font-weight: bold;
}



.previous-locker-post-button,
.next-locker-post-button,
.comments-locker-button {
	display: inline-block;
}
.previous-locker-post-button a,
.next-locker-post-button a,
.comments-locker-button a {
	display: inline-block;
	background: #CC0000;
	color: white;
	font-family: 'Francois One', 'arial narrow', 'arial', sans-serif;
	font-size: 18px;
	height: 40px;
	line-height: 40px;
	margin-bottom: 10px;
	text-align: center;
	width: 240px;
}
.previous-locker-post-button a {
	margin-right: 10px;
}
.previous-locker-post-button a,
.next-locker-post-button a,
.comments-locker-button a {
	color: white;
	text-decoration: none;
}

.locker-prev-next-buttons {
	position: fixed;
	margin: 0 auto;
	top: 86px;
	left: 0;
	right: 0;
	min-height: 300px;
	width: 100%;
	max-width: 1110px;
	z-index: 104;
}

.locker-prev-next-buttons .previous-locker-post-button {
	float: left;
}

.locker-prev-next-buttons .next-locker-post-button {
	float: right;
}

.locker-prev-next-buttons .previous-locker-post-button a {
	background: url(../images/locker-previous.png) no-repeat;
	padding: 39px 0px;
	padding-left: 30px;
	margin: 0;
}

.locker-prev-next-buttons .next-locker-post-button a {
	background: url(../images/locker-next.png) right no-repeat;
	padding: 39px 0px;
	padding-right: 30px;
	margin: 0;
}

.comments-locker-button {
	display: block;
	max-width: 490px;
}

.comments-locker-button a {
	/*color: #777676;*/
	background: #E1E1E1;
	width: 100%;
	display: block;
}

body.single-format-aside #content {
	height: 2000px;
}

body.single-format-aside .liner {
	display: none;
}

.livefyre-comment-aside-wrapper {
	display: none;
}

@media screen and ( max-width: 1110px ) {
	.locker-prev-next-buttons {
		max-width: 1050px;
	}

	.locker-prev-next-buttons a {
		overflow: hidden;
		width: 0;
		text-indent: -999999px;
	}

	.locker-prev-next-buttons .previous-locker-post-button a {
		padding-left: 38px;
	}

	.locker-prev-next-buttons .next-locker-post-button a {
		padding-right: 38px;
	}
}

@media screen and ( max-width: 1050px ) {
	.locker-prev-next-buttons {
		display: none;
	}

	.modal-controls .previous-locker-post-button,
	.modal-controls .next-locker-post-button {
		display: block;
		float: left;
		width: 43%;
		margin: 0;
		margin-right: 0.5%;
		background: #1b8300;
	}

	.modal-controls .previous-locker-post-button a,
	.modal-controls .next-locker-post-button a {
		width: 100%;
		background: none;
		margin: 0;
		padding: 0;
	}
}

@media screen and (max-width: 740px ) {
	.modal #main {
		float: none;
		width: 100%;
		padding-right: 20px;
		margin-top: 0;
	}
	.modal #sidebar {
		float: none;
		width: 100%;
	}
	.modal .entry-header {
		margin-right:30px;
	}
}

@media screen and ( min-width: 999px ) {
	.next-locker-post-button {
		float: right;
	}

	.previous-locker-post-button a,
	.next-locker-post-button a {
		width: auto;
		padding: 0 20px;
	}
	.prev-next-buttons-responsive {
		display: none;
	}
}
@media screen and ( max-width: 998px ) {
	.prev-next-buttons-responsive {
		display: block;
	}
}