.media-viewer {
	display: flex;
	flex-direction: column;
	width: 75%;
	height: 75%;
	position: relative;
	align-self: center;
}
.media-viewer .annotations-loading {
	display: flex;
	justify-content: center;
}
.media-viewer .media-container {
	display: flex;
	width: 100%;
	height: 100%;
}
.media-viewer .media-container .media-component {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: #f9f9f9;
}
.media-viewer .media-container .media-component .icon-loading {
	font-size: 2em;
}
.media-viewer .media-container .media-tools {
	width: 0px;
	height: 100%;
	flex-shrink: 0;
	background: #fff;
	padding: 0;
	overflow: hidden;
	transition: width .3s ease-in-out, padding .3s ease-out;
}
.media-viewer .media-container .media-tools .tools-container {
	position: relative;
	left: 0;
	width: 600px;
	height: 100%;
	display: flex;
	transition: left .25s ease-in-out;
}
.media-viewer .media-container .media-tools .tools-container.annotations {
	left: -300px;
}
.media-viewer .media-container .media-tools.open {
	width: 300px;
}
.media-viewer .media-container .media-tools .media-info {
	overflow: hidden;
	width: 50%;
	margin-bottom: 2em;
	padding: 1em;
}
.media-viewer .media-container .media-tools .media-info h2 {
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}
.media-viewer .media-container .media-tools .media-annotations .dropdown {
	height: 2.3em;
	border: solid 1px #777;
}
.media-viewer .media-container .media-tools .media-annotations {
	display: flex;
	flex-direction: column;
	width: 50%;
	margin-bottom: 2em;
	padding: 1em;
}
.media-viewer .media-container .media-tools .media-annotations h3 {
	margin-bottom: 1em;
}
.media-viewer .media-container .media-tools .media-annotations h4 {
	margin-bottom: .5em;
}
.media-viewer .media-container .media-tools .media-annotations p {
	display: flex;
	margin-bottom: .25em;
}
.media-viewer .media-container .media-tools .media-annotations p button {
	opacity: 0;
}
.media-viewer .media-container .media-tools .media-annotations p:hover button {
	opacity: 1;
}
.media-viewer .media-container .media-tools .media-annotations p.main {
	justify-content: center;
	gap: 1em;
	margin-top: 2em;
}
.media-viewer .media-container .media-tools .media-annotations p.main button {
	opacity: 1;
	background: hsl(182, 58%, 42%);
	padding: 0.35em 1em;
  	border-radius: 3px;
	color: #fff;
	font-size: .9em;
	font-weight: 600;
	text-transform: uppercase;
}
.media-viewer .media-container .media-tools .media-annotations p.main button:hover {
	background: hsl(182, 58%, 35%);
}
.media-viewer .media-container .media-tools .media-annotations a.item {
	flex-grow: 1;
	display: inline-block;
	background: #f9f9f9;
	padding: .2em .5em;
	border-radius: 8px;
}
.media-viewer .media-container .media-tools .media-annotations a.item.faded {
	background: #fafafa;
	color: #999;
}
.media-viewer .media-container .media-tools .media-annotations a.item.edit {
	background: #BBB;
}
.media-viewer .media-container .media-tools .media-annotations a.item.highlight {
	background: #EC4949;
	color: #fff;
}
.media-viewer .media-container .media-tools .media-annotations a.item span.description {
	margin-left: .5em;
	font-size: .75em;
}
.media-viewer .media-container .media-tools .media-annotations .add-annotation {
	margin-top: .5em;
	margin-bottom: 1em;
	background: #eee;
	border-radius: 4px;
	padding: .2em .5em;
	color: #777;
}
.media-viewer .media-container .media-tools .media-annotations .add-annotation:hover {
	color: #555;
}
.media-viewer .media-container .media-tools .media-controls {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.media-viewer .media-container .media-tools .media-controls button {
	margin-bottom: 1em;
	padding: .5em 1em;
	background: #DDD;
	border-radius: 4px;
	transition: background .35s ease-in-out;
}
.media-viewer .media-container .media-tools .media-controls button:hover {
	background: #eee;
}
.media-viewer .media-container .media-views {
	width: 50px;
	background: #fff;
}
.media-viewer .media-container .media-views ul {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 1em 0;
}
.media-viewer .media-container .media-views ul li {
	width: 100%;
	list-style: none;
}
.media-viewer .media-container .media-views ul li button {
	position: relative;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	border-left: solid 2px #fff;
	color: #555;
	text-align: center;
}
.media-viewer .media-container .media-views ul li button .bubble {
	display: flex;
	background: teal;
	color: white;
	width: 16px;
	height: 16px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	position: absolute;
	top: 50%;
	right: 10%;
	font-size: .75em;
}
.media-viewer .media-container .media-views ul li button:hover {
	background:  #f8f8f8;
	border-left: solid 2px #f8f8f8;
}
.media-viewer .media-container .media-views ul li button.selected {
	border-left: solid 2px #f3f3f3;
}
.media-viewer .media-container .media-views ul li button.faded {
	color: #AAA;
}
.media-viewer nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	width: 100%;
	height: 75px;
}
.media-viewer nav button {
	padding: 1em;
	background: white;
	color: black;
	border: solid 1px white;
}
.media-viewer nav button:hover {
	border: solid 1px black;
}
.media-viewer nav button.disabled {
	cursor: default;
	opacity: .35;
}
.media-viewer nav button.disabled:hover {
	border: solid 1px white;
}