.attached-src {
	text-align: center;
}
#attached-img {
	margin: 0 auto 10px auto;
	max-width: 1840px;
	padding: 0;
}
#attached-img > img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	padding: 0;
}
#attached-controls {
	display: block;
	clear: both;
}
.attached-previous-heading {
	text-align: center;
	font-size: 20px;
	background: url(../images/heading-bg.png) center center repeat-x;
	margin: 30px 0 30px 35px;
}
.attached-next-heading {
	text-align: center;
	font-size: 20px;
	font-weight: 400;
	background: url(../images/heading-bg.png) center center repeat-x;
	margin: 30px 35px 30px 0;
}
.attached-previous-heading span {
	display: inline-block;
	height: 40px;
	color: #fff;
	background: #000;
	padding: 0 15px 0 15px;
	font-size: 18px;
	font-weight: 400;
	line-height: 40px;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	position: relative;
}
.attached-previous-heading span:after {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-right-color: #000;
	border-width: 35px;
	margin-top: -35px;
}
.attached-previous-heading span:hover {
	padding: 0 35px 0 15px;
}
.attached-next-heading span {
	display: inline-block;
	height: 40px;
	color: #fff;
	background: #000;
	padding: 0 30px 0 30px;
	font-size: 18px;
	font-weight: 400;
	line-height: 40px;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	position: relative;
}
.attached-next-heading span:after {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-left-color: #000;
	border-width: 35px;
	margin-top: -35px;
}
.attached-next-heading span:hover {
	padding: 0 30px 0 50px;
}
#attached-previous {
	width: 50%;
	display: block;
	float: left;
	margin: 0 auto;
}
#attached-next {
	width: 50%;
	display: block;
	float: right;
	margin: 0 auto;
}
.attached-previous-img img {
	display: block;
	margin: 35px auto;
	max-width: 100%;
	padding: 0 17px 0 35px;
}
.attached-next-img img {
	display: block;
	margin: 35px auto;
	max-width: 100%;
	padding: 0 35px 0 17px;
}
@media (max-width: 1350px) {
	.attached-previous-heading {
		margin: 30px 0 30px 25px;
	}
	.attached-previous-img img {
		margin: 30px auto;
		padding: 0 12px 0 25px;
	}
	.attached-next-heading {
		margin: 30px 25px 30px 0;
	}
	.attached-next-img img {
		margin: 30px auto;
		padding: 0 25px 0 12px;
	}
}
@media (max-width: 1200px) {
	.attached-previous-heading {
		margin: 30px 0 30px 20px;
	}
	.attached-previous-img img {
		margin: 30px auto;
		padding: 0 10px 0 20px;
	}
	.attached-next-heading {
		margin: 30px 20px 30px 0;
	}
	.attached-next-img img {
		margin: 30px auto;
		padding: 0 20px 0 10px;
	}
}
@media (max-width: 640px) {
	.attached-previous-heading span {
		font-size: 17px;
	}
	.attached-next-heading span {
		font-size: 17px;
	}
	.attached-previous-heading span:after {
		border-width: 32px;
		margin-top: -32px;
	}
	.attached-next-heading span:after {
		border-width: 32px;
		margin-top: -32px;
	}
}
article.attachment .entry-content > * {
	margin: 20px auto;
	max-width: 1024px;
	padding: 0 20px;
}
article.attachment ul.photo-gallery-terms {
	padding: 10px 20px;
}