/* Unsupported Browser messaging */
.getty-unsupported-browser-message {
	padding: 2em;
}

/* Getty Browser - Main container and search results */
.media-frame .getty-attachments-browser {
	padding-right: 300px;
	width: auto;
}
	.getty-attachments-browser .getty-search-toolbar {
		position: relative;
	}
		.getty-toolbar .media-selection {
			right: 200px;
		}
		.getty-toolbar .selection .attachment-preview {
			padding-bottom: 0;
		}
		.getty-toolbar .selection-view .attachments {
			position: absolute;
		}


	.getty-browser-container {
		height: 100%;
	}
	.getty-attachments-browser .getty-browser-flex-container {
		border-collapse: collapse;
		border: 0;
		height: 100%;
		width: 100%;
		position: relative;
		z-index: 0;
	}
	.getty-search-spinner {
		display: none;
	}
	.no-more.search-loading  .getty-search-spinner {
		position: absolute;
		display: block;
		left: 0;
		top: 0;
		z-index: 10;
		width: 100%;
		height: 100%;
		background: #fff;
		background: rgba(255,255,255,.8);
	}
	.getty-attachments-browser .getty-browser {
		position: relative;
		height: 100%;
	}
	.getty-attachments-browser .getty-results {
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		transition: left 0.4s;
	}
		.getty-results .selected.attachment:not(.details) {
			-webkit-box-shadow: none;
			box-shadow: none;
		}
		.getty-results .attachments {
			position: relative;
			height: 100%;
			top: 0;
			left: 0;
		}
		.getty-results .attachments::-webkit-scrollbar {
			-webkit-appearance: none;
			width: 7px;
		}
			.getty-results .attachments::-webkit-scrollbar-thumb {
				border-radius: 4px;
				background-color: rgba(0,0,0,.5);
				-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
			}
		.getty-results .getty-images-more {
			display: none;
		}
			.have-more .getty-images-more {
				display: block;
				position: relative;
			}
			.getty-images-more .attachment-preview {
				display: table-cell;
				vertical-align: middle;
				font-size: 1.2em;
				line-height: 2em;
				color: #888;
			}
				.getty-images-more .getty-more-text-container {
					line-height: 1.3;
					position: relative;
					z-index: 2;
				}
				.getty-images-more .getty-more-spinner {
					position: absolute;
					left: 0;
					top: 0;
					width: 100%;
					height: 100%;
					z-index: 1;
				}
				.getty-images-more .getty-number-remaining {
					font-weight: bold;
					font-size: 1.2em;
					color: #444;
					display: block;
				}
				.getty-images-more .getty-more-text {
					font-weight: bold;
					font-size: 1.1em;
					color: #888;
					display: block;
			}



/* Individual attachments - Each image result of the SRP */
.getty-attachment {
	padding-bottom: 4.5em;
	overflow: hidden;
}
	.getty-attachment .thumbnail {
		width: 100%;
		height: 0 !important;
		padding-bottom: 100%;
	}
		.getty-attachment .thumbnail .centered img {
			max-height: 100%;
			max-width: 100%;
		}
	.getty-attachment .image-details .image-collection {
		display: block;
		color: #888;
	}
	.getty-attachment .image-id {
		font-weight: bold;
	}
	.getty-attachment .image-details {
		position: absolute;
		width: 100%;
		top: 0;
		padding-top: 100%;
	}
	.media-selection .getty-attachment .thumbnail {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}
	.media-selection .attachments, .media-selection .getty-attachment {
		overflow: visible;
	}
	.media-selection .attachment {
		margin-right: 7px;
	}
	.media-selection .getty-attachment .image-details {
		display: none;
	}
	.getty-images-more .attachment-preview {
		display: block;
	}
	.getty-more-text-container {
		position: absolute !important;
		top: 0;
		padding-top: 35%;
		width: 100%;
	}

.getty-images-toolbar .search-results-total {
	position: absolute;
	right: 0;
	top: 0;
	display: none;
	padding-right: 1em;
}
	.have-searched .getty-images-toolbar .search-results-total {
		display: block;
	}

/* Top-level search form */
.getty-browser-container .getty-browser-flex-container .getty-images-toolbar .media-toolbar-primary {
		float: none;
		position: relative;
		padding-top: 50px;
		overflow: hidden;
		width: auto;
		max-width: none;
}
	.getty-images-toolbar .getty-search-input-container {
		position: absolute;
		top: 0;
		left: 5px;
		right: 95px;
	}
		.getty-search-input-container .search {
			font-size: 120% !important;
			width: 100%;
			max-width: none !important;
		}

	.getty-images-toolbar .media-toolbar-primary .button {
		position: absolute;
		right: 5px;
		top: 0;
		width: 80px;
		text-align: center;
	}

	/* "Secondary" toolbar shows as gray bar */
	.getty-browser-container .getty-browser-flex-container .getty-images-toolbar .media-toolbar-secondary {
		float: none;
		position: relative;
		background-color: #f0f0f0;
		border-top: 1px solid #d8d8d8;
		border-bottom: 1px solid #d8d8d8;
		width: 100%;
		padding: 0px 5px;
		margin-left: -5px;
		height: 24px;
		line-height: 24px;
		margin-bottom: -1px;
		max-width: none;
	}

.getty-filter { float: left; margin: .5em; }
	.getty-filter em {
		display: block;
		font-weight: bold;
		font-size: .9em;
		color: #777;
	}
	.getty-filter input {
		margin-right: .5em;
	}
	.getty-filter label {		
		margin-right: 1em;		
	}

	.getty-sidebar-filter label {
		display: block;
		clear: both;
	}

.getty-filter-tag-container {
	min-height: 22px;
}
	.getty-filter-tag {
		margin: 4px 0;
		display: inline-block;
	}
		.getty-filter-tag label {
			font-size: 10px;
			padding: 5px;
			margin: 0 4px;
			background-color: #f0f0f0;
			border-radius: 4px;
		}
		.getty-filter-tag label:after {
			content: 'X';
			font-weight: bold;
			margin-left: 5px;
		}

/* Hide filters that don't make sense. "Image Type" for, 'Editorial',
 * "Editorial Sort Order" for 'Creative', "Creative Sort Order" for 'Editorial',
 * etc. */
.search-editorial .getty-filter-image-type {
	display: none;
}
.search-creative .getty-filter-editorial-sort-order {
	display: none;
}
.search-editorial .getty-filter-creative-sort-order {
	display: none;
}

/**
 * Tiny bit of responsiveness
 */
@media only screen and (max-width: 1000px) {
	.getty-results {
		font-size: .8em;
		line-height: 1.25em;
	}
}
@media only screen and (max-width: 900px) {
	.getty-search-toolbar .media-selection .attachments {
		display: block;
	}
	.media-frame .getty-attachments-browser {
		padding-right: 192px;
	}
	.getty-refine .search-results-refine,
	.have-refinements.refining .getty-refine {
		width: 150px;
	}
	.getty-refine {
		font-size: .8em;
	}
	.have-refinements.refining .getty-results {
		left: 150px;
	}
}

/**
 * IcoMoon icon fonts
 */

.icon-image {
	background-image: url(../images/image.svg);
}
.icon-unlocked {
	background-image: url(../images/unlocked.svg);
}
