/**
 * Default styling for sheet music libraries, designed to be compatible with as many themes as possible.
 */

/* Single piece view */
.piece .piece-meta.wp-caption {

}

.piece .download-box a.button {
	/*border: 3px solid rgba(0,0,0,.8);*/
	/*display: inline-block;*/
	/*padding: 6px 14px;*/
	/*margin: 0 .6em .6em 0;*/
	/*transition: .1s background-color ease-in-out,*/
				/*.1s color ease-in-out;*/
	/*text-decoration: none;*/
}

.piece .download-box a.button:hover,
.piece .download-box a.button:focus,
.piece .download-box a.button:active {
	background: rgba(0,0,0,.85);
	color: #fff;
	text-decoration: none;
}

p.piece-download-terms {
	margin: 0 0 1em 0;
	font-size: .8em;
}

.piece-meta .taxonomy-box {
	border-top: 1px solid rgba(0,0,0,.8);
	padding-top: .8em;
}

.piece-meta .taxonomy-box p {
	margin: 0 0 .5em 0;
}

img.score-preview {
	max-width: 100%;
	width: calc(100% - 18em);
}

.wp-audio-shortcode, .wp-video {
	margin-bottom: 1em; /* Many themes don't add any margin here */
}

/* one-column */
@media screen and (max-width:920px) {
	.piece .piece-meta.wp-caption {
		width: 100%;
	}

	img.score-preview {
		width: 100%;
	}	
}

/* Default archive listing views */
.archive-piece .piece-meta .taxonomy-box {
	border-top: none;
	padding-top: 0;
	margin-bottom: 1em;
}

.archive-piece .piece-meta .taxonomy-box p {
	display: inline-block;
}

.archive-piece .piece-meta .taxonomy-box p:after {
	content: "/";
	margin: 0 .5em 0 1em;
}

.archive-piece .piece-meta .taxonomy-box p:last-child:after {
	display: none;
}

.archive-piece .download-box a.button {
	margin: 0;
}

.archive .sheet_music .entry-footer,
.search .sheet_music .entry-footer,
.archive .sheet_music .entry-meta,
.search .sheet_music .entry-meta {
	display: none; /* Attempt to hide irrelevant post object meta. */
}

/* Sheet music table shortcodes */
.sheet-music-table tbody td {
	font-size: .8em;
}

.sheet-music-table th small {
	font-weight: normal;
	font-style: italic;
}

.sheet-music-search-form .search-submit {
	display: none;
}

.sheet-music-table .mejs-container {
	margin: 6px 0 2px 0;
}