/*===============================================================

	Photo page

===============================================================*/

/* main wrapper and columns */

#photo-page .photo-wrap {
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	display: table;
}
#photo-page .img-col {
	max-width: calc(100% - 400px);
	width: 100%;
	float: left;
	text-align: center;
}
#photo-page .img-col figure {
	position: relative;
}
#photo-page .img-col figure img {
	width: 100%;
	height: auto;
	border-radius: 2px;
	/*max-height: calc(100vh - 155px);*/
}
@media (max-width:850px) {
	#photo-page .img-col {max-width: calc(100%);}
	#photo-page .info-col{width:100% !important;margin-left:0 !important;margin-bottom:30px}
	#photo-page .info-col .img-info{width:100% !important}
}

/* graphic editor */

#photo-page .img-col .graphic-editor {
	margin: 10px 0 15px;
	padding: 10px 14px;
	border-radius: 3px;
	background-color: rgba(255, 255, 255, 0.5);
	text-align: center;
	line-height: 1.8;
	font-size: 15px;
}
#photo-page .img-col .graphic-editor a {
	text-decoration: none;
}
#photo-page .img-col .graphic-editor a span {
	position: relative;
	top: 0;
	left: -8px;
	padding: 2px 5px;
	border: solid 1px #0dba63;
	border-radius: 3px;
	color: #0dba63;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
}

/* photo title */

#photo-page .img-col h1 {
	margin: 0 0 10px;
	font-size: 15px;
	padding: 0;
	text-align: left;
}
#photo-page .img-col h1 span {
	text-transform: capitalize;
	font-weight: 600;
}
#photo-page .img-col h4 {
	text-align: left;
	font-size: 17px;
}

/* thank you message */

#download-thank-you {
	display: none; /* it will be shown after photo download via photo.js */
	color: #fff;
	width: 100%;
	text-align: center;
	font-size: 16px;
	padding: 60px 15px 15px 15px;
	position: absolute;
	bottom: 0;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9));
}
#download-thank-you p {
	margin: 0 10px 15px 10px;
	display: inline-block;
}
#download-thank-you h3 {
	font-size: 3vw;
}
#download-thank-you a, #download-thank-you a:visited {
	color: #fff;
	text-decoration: underline;
}
#download-thank-you a:hover {
	text-decoration: none;
}
#credits-copy-btn {
	margin: 0;
	vertical-align: top;
}
#download-thank-you .sstk-free-trial {
	padding-top: 15px;
	display: block;
}
#download-thank-you .sstk-free-trial a, #download-thank-you .sstk-free-trial a:visited {
	padding: 4px 5px;
	color: #337ab7;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	background: #f5f5cc;
	border-radius: 3px;
	display: block;
}
#download-thank-you .sstk-free-trial a:hover, #download-thank-you .sstk-free-trial a:active {
	background: #e8e8c1;
}
@media (min-width: 1200px) {
	#download-thank-you h3 {
		font-size: 36px;
	}
}
@media (max-width: 759px) {
	#download-thank-you h3 {
		font-size: 23px;
	}
}

/* thank you modal */

#download-modal .modal-dialog {
	width: 95%;
	max-width: 730px;
	margin-top: 100px;
}
#download-modal .modal-body {
	padding: 50px 40px 40px 40px;
}
#download-modal #say-thanks {
	width: 100%;
	text-align: center;
	font-size: 16px;
	box-sizing: border-box;
	position: relative;
}
#download-modal #say-thanks p {
	margin: 0 10px 15px 10px;
	display: inline-block;
}
#download-modal #say-thanks h3 {
	margin-top: 0;
	font-size: 2.5vw;
}
#download-modal #say-thanks a, #download-modal #say-thanks a:visited {
	text-decoration: underline;
}
#download-modal #say-thanks a:hover {
	text-decoration: none;
}
#download-modal #say-thanks #photo-by-credits {
	padding: 4px 10px;
	border-radius: 5px;
	background: #eee;
	border: 1px solid #ddd;
}
#download-modal #say-thanks #copy-credits {
	width: 0;
	height: 0;
	border: none;
	outline: none;
	appearance: none;
	resize: none;
}
#download-modal #feature-partner {
	width: 100%;
	margin-bottom: 15px;
	text-align: center;
}
#download-modal #feature-partner a, #download-modal #feature-partner a:visited {
	display: block;
}
#download-modal .similar-photos {
	width: 100%;
	height: 90px;
	float: left;
}
#download-modal .similar-photos a, #download-modal .similar-photos a:visited {
	width: 18.4%;
	height: 100%;
	margin: 0 2% 2% 0;
	border: 1px solid #337ab7;
	border-radius: 2px;
	background-size: auto 95px;
	background-repeat: no-repeat;
	float: left;
}
#download-modal .similar-photos a:hover {
	opacity: 0.8;
}
#download-modal .similar-photos a:nth-child(n+6) {
	display: none;
}
#download-modal .similar-photos a:nth-child(5) {
	margin-right: 0;
}
@media (min-width: 1200px) {
	#download-modal #say-thanks h3 {
		font-size: 30px;
	}
}
@media (max-width: 759px) {
	#download-modal .modal-body {
		padding: 50px 20px 20px 20px;
	}
	#download-modal #say-thanks h3 {
		font-size: 23px;
	}
	#download-modal .similar-photos a, #download-modal .similar-photos a:visited {
		width: 32%;
		background-size: auto 200px;
	}
	#download-modal .similar-photos a:nth-child(n+4) {
		display: none;
	}
	#download-modal .similar-photos a:nth-child(3) {
		margin-right: 0;
	}
}

/* copy credits */

#temp-credits-input {
	display: none;
}

/* stats */

#photo-page .img-col .stats {
	margin: -5px 0 10px 0;
	padding: 12px 0 8px 0;
	width: 100%;
	background-color: #f1f5f7;
	border-radius: 0 0 5px 5px;
}
#photo-page .img-col .stats ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#photo-page .img-col .stats ul li {
	display: inline-block;
	padding: 5px 12px;
	font-size: 13px;
}
#photo-page .img-col .stats ul li [class^="icon-"] {
	font-size: 16px;
	margin: 0 6px 0 0;
	position: relative;
	top: 1px;
}
@media (max-width:1350px) {
	#photo-page .img-col .stats ul li {
		width: calc(33.33% - 3px);
	}
	#photo-page .img-col .stats ul li:nth-child(3) { /* hiding the "favorite" count here only to clean up the layout with an even 6 items and the favorite data was less important in this view */
		display: none;
	}
}
@media (max-width:1100px) {
	#photo-page .img-col .stats ul li {
		width: 100%;
	}
	#photo-page .img-col .stats ul li:nth-child(n+2) {
		display: none;
	}
}

/* button actions */

#photo-page .actions {
	padding-top: 15px;
	padding-bottom: 40px;
	display: flex;
	justify-content: center;
}
#photo-page .actions .btn {
	padding: 12px 0;
	font-size: 14px;
	font-weight: 700;
	box-shadow: none;
}
#photo-page .actions .btn i,
#photo-page .actions .textcta i {
	margin-right: 9px;
	font-size: 16px;
	position: relative;
	top: 1px;
}
#photo-page .actions .download-btn {
	width: auto;
	margin-right: 20px;
	padding: 15px 30px;
	background: #e36457;
	border: 1px solid #ca5b4e;
	color: #ffffff;
}
#photo-page .actions .download-btn:hover {
	background: #ca5b4e;
}
#photo-page .actions .fav-btn {
	width: auto;
	margin-right: 20px;
	padding: 15px 30px;
	background: #fff;
	border: 1px solid #ddd;
	font-weight: 700;
	color: #555;
}
#photo-page .actions .fav-btn:hover {
	background: #f7f7f7;
}
#photo-page .actions .fav-btn .remove,
#photo-page .actions .fav-btn .loading {
	display: none;
}
#photo-page .actions .fav-btn.loading .add,
#photo-page .actions .fav-btn.loading .remove {
	display: none;
}
#photo-page .actions .fav-btn.loading .loading {
	display: block;
}
#photo-page .actions .fav-btn.faved {
	font-size: 12px;
	height: 44px;
}
#photo-page .actions .fav-btn.faved i {
	color: #ff4e47;
}
#photo-page .actions .fav-btn.faved .add,
#photo-page .actions .fav-btn.faved .loading {
	display: none;
}
#photo-page .actions .fav-btn.faved .remove {
	display: block;
}
@media (max-width:1300px) {
	#photo-page .actions {
		display: block;
	}
	#photo-page .actions .btn {
		width: calc(50% - 10px);
		float: left;
	}
	#photo-page .actions .fav-btn {
		margin-right: 0;
	}
	#photo-page .actions .textcta {
		margin-top: 20px;
		float: left;
		clear: both;
	}
}
@media (max-width:1000px) {
	#photo-page .actions {float: none;}
	#photo-page .actions .btn {
		width: 100%;
		margin: 0 0 20px 0;
	}
	#photo-page .actions .textcta {
		max-width: none;
		margin-top: 0;
	}
}
@media (max-width:850px) {
	#photo-page .actions {
		padding-bottom: 20px;
	}
	#photo-page .actions .btn {
		width: calc(50% - 10px);
		float: left;
	}
	#photo-page .actions .download-btn {
		margin-right: 20px;
	}
	#photo-page .actions .textcta {
		display: none;
	}
}
@media (max-width:600px) {
	#photo-page .actions .btn {
		width: 100%;
		margin: 0 0 20px 0;
	}
}

/* ad cta */

#photo-page .textcta {
	width: 100%;
	text-align: left;
	padding: 0;
}
#photo-page .textcta a, #photo-page .textcta a:visited {
	padding: 15px 20px;
	color: #555;
	background: #fff;
	font-weight: 700;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: block;
}
#photo-page .textcta a:hover {
	text-decoration: none;
	background: #f7f7f7;
}
#photo-page .textcta a img {
	width: 17px;
	height: 17px;
	margin-right: 6px;
	display: inline-block;
	vertical-align: text-top;
}

/*===============================================================

	Sidebar

===============================================================*/

/* sidebar column with related sponsor content */

#photo-page .info-col {
	width: 370px;
	float: left;
	margin-left: 30px;
	position: sticky;
	top: 84px;
}
#photo-page .info-col .img-info {
	width: 370px;
	display: block;
}
#photo-page .info-col .img-info .leader {
	margin-bottom: 20px;
	padding-bottom: 20px;
	margin-top: 10px;
}

/* sponsored title link above related shutterstock images */

#photo-page h4.sponsored-images {
	margin-top: 0;
	font-size: 15px;
}
#photo-page h4.sponsored-images img {
	vertical-align: baseline;
}
#photo-page h4.sponsored-images .sstk-free-trial {
	margin-right: 5px;
	float: right;
}
#photo-page h4.sponsored-images i.fa {
	margin-left: 2px;
	font-size: 12px;
}
@media (max-width:850px) {
	#photo-page h4.sponsored-images {
		margin: 5px 0 15px 0;
	}
}

/* sidebar search - old? */

#main .info-col #image-search-results {
	display: block;
	background: none;
	border: none;
	padding: 0;
}
#main .info-col #search-form:after{
	display: none;
}
#main .info-col #image-search-results a {
	width: 49%;
	float: left;
	margin: 0 2% 2% 0;
	overflow: hidden;
	box-sizing: content-box;
	position: relative;
	border-radius: 2px;
	background-size: 120%;
	background-position: center;
}
#main .info-col #image-search-results a:nth-child(2n) {
	margin-right: 0;
}

/*===============================================================

	Similar Photos

===============================================================*/

#photo-page .similar-photos a {
	width: 15%;
	margin: 0 2% 2% 0;
	height: 150px;
}
#photo-page .similar-photos a:hover {
	opacity: 0.8;
}
#photo-page .similar-photos a:last-child {
	margin-right: 0;
}
/* similar stocksnap photos use images instead of backgrounds */
#photo-page .similar-photos a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* sstk sponsored media */
#photo-page .info-col .similar-photos a {
	margin-bottom: 0;
	height: 100px;
	background-size: cover;
	border-radius: 0;
	clip-path: inset(0 0 7px 0); /* get ride of bottom white text on SSTK images */
}
@media (max-width:850px) {
	#photo-page .similar-photos a {
		width: 31.33%;
		height: 85px !important;
	}
	/* sstk sponsored media */
	#photo-page .info-col .similar-photos a { width: 23%; }
	#photo-page .info-col .similar-photos a:nth-child(2n) { margin-right: 2%; }
}

/*===============================================================

	Photo Tags

===============================================================*/

#photo-page .photo-tags {
	padding: 20px 0 10px 0;
}
#photo-page .photo-tags a, #photo-page .photo-tags a:visited {
	margin: 0 2px 8px 0;
	padding: 5px 10px;
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	transition: background .075s linear;
}
#photo-page .photo-tags a:hover {
	text-decoration: none;
	background: #f1f1f1;
}
/* these are for the commas, we need these because curators copy-paste them */
#photo-page .photo-tags span {
	color: transparent;
}
#photo-page .photo-tags span:last-child {
	display: none;
}

/*===============================================================

	Inline Sponsorship

===============================================================*/

/* carbon */

#carbonads {
	margin: 20px 0 40px 0;
}
@media (max-width:850px) {
	#carbonads {
		margin: 10px 0;
	}
}

/* native */

.native-standard {
	position: relative;
}
.native-standard .native-banner {
	box-shadow: inset 0 0 2px hsla(0, 0%, 0%, 0.05);
	display: flex;
	margin-bottom: 0;
	padding: 14px 20px;
	text-decoration: none;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
.native-standard .native-banner .native-img {
	margin-right: 20px;
	max-height: 40px;
	line-height: 0;
}
.native-standard .native-banner .native-main {
	display: flex;
	margin: 0 auto;
	max-width: 1024px;
	flex-grow: 1;
	flex-flow: row nowrap;
	align-items: center;
}
.native-standard .native-banner .native-details {
	display: flex;
	margin-right: 20px;
	text-align: left;

	flex-flow: column nowrap;
}
.native-standard .native-banner .native-company {
	margin-bottom: 1px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	font-size: 9px;
	line-height: 1;
}
.native-standard .native-banner .native-desc {
	letter-spacing: 1px;
	font-weight: 400;
	line-height: 1.4;
}
.native-standard .native-banner .native-cta {
	padding: 10px 16px;
	border-radius: 3px;
	box-shadow: 0 6px 13px 0 hsla(0, 0%, 0%, 0.15);
	text-transform: uppercase;
	white-space: nowrap;
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 10px;
	line-height: 1;
	transition: all 0.3s ease-in-out;
	transform: translateY(-1px);
}
.native-standard .native-banner .native-cta:hover {
	box-shadow: none;
	transform: translateY(1px);
}
.native-standard .native-via {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 3px 8px;
	border-top: 0;
	border-top-left-radius: 3px;
	background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, 0.025) 5px, hsla(0, 0%, 0%, 0.025) 10px) hsla(203, 11%, 95%, 0.4);
	color: #444;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	font-weight: 600;
	font-size: 7px;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
	.native-banner,
	.native-banner .native-main {
		flex-flow: column nowrap;
	}
	.native-banner .native-img,
	.native-banner .native-details {
		margin: 0;
	}
	.native-banner .native-img {
		display: none;
	}
	.native-banner .native-company {
		letter-spacing: 1px;
	}
	.native-banner .native-details {
		text-align: left;
		font-size: 14px;
	}
	.native-banner .native-cta {
		display: none;
	}
}