/**
 * Default styling for sheet music libraries, designed to be compatible with as many themes as possible.
 */

/* Single piece view */
.piece .piece-meta.wp-caption {
	background: rgba(204,204,204,.5);
	float: right;
	padding: 10px 12px;
	margin-top: 0;
	width: 16em;
	max-width: 100%;
}

.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;
}
div.sheet-music-category-square {
	border: 1px solid #000;
	width: 20px;
	height: 20px;
	display: inline-block;
	bottom: -3px;
	position: relative;
	margin-top: 2px;
}
div.sheet-music-category-name {
	height: 20px;
	display: inline-block;
	line-height: 20px;
	margin-left: 10px;
}
.sheet-music-category-name a:hover {
	color: black;
}
@media only screen and (min-width: 801px) {
	div.sheet-music-category-menuitem {
		white-space: nowrap;
		display: inline-block;
		font-family: 'gt-walsheim-bold' !important;
		max-width: 120px !important;
		position: absolute;
		left: 0px;
		top: 20px;
	}
	.sheet-music-category-list {
		display: -webkit-flex; /* Safari */
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		display: flex;  
		flex-wrap: wrap;
		text-align: justify;
		font-size: 20px;
		font-family: 'gt-walsheim-regular' !important;
		padding: 20px 0px 20px 120px;
		line-height: 28px;
	}
}

@media only screen and (min-width: 361px) and (max-width: 800px) {
	div.sheet-music-category-menuitem {
		white-space: nowrap;
		display: contents;
		font-family: 'gt-walsheim-bold' !important;
		max-width: 120px !important;
		position: absolute;
		left: 0px;
		top: 20px;
	}
	.sheet-music-category-list {
		display: grid;
		text-align: left;
		font-size: 20px;
		font-family: 'gt-walsheim-regular' !important;
		padding: 20px 0px 20px 0px;
		line-height: 28px;
	}
}

@media only screen and (max-width: 360px) {
	div.sheet-music-category-menuitem {
		white-space: nowrap;
		display: contents;
		font-family: 'gt-walsheim-bold' !important;
		max-width: 120px !important;
		position: absolute;
		left: 0px;
		top: 20px;
	}
	.sheet-music-category-list {
		display: grid;
		text-align: left;
		font-size: 20px;
		font-family: 'gt-walsheim-regular' !important;
		padding: 20px 0px 20px 0px;
		line-height: 28px;
	}
}

.sheet-music-category-list > input[type='radio'] {
	display: none;
}

.sheet-music-category-list > label > span {
	padding: 0px 20px 0px 10px;
}

.sheet-music-category-list > input[type='radio'] + label {
	margin: 0;
	clear: none;
	padding: 0px 0px 0px 25px;
	cursor: pointer;
	background: url(/wp-content/uploads/2018/12/radio-blank.png) left center no-repeat;
}

.sheet-music-category-list > input[type='radio']:checked + label {
	background: url(/wp-content/uploads/2018/12/radio-selected.png) left center no-repeat;
}

.sheet-music-instrument-list {
	display: inline-block;
	text-align: left;
	font-size: 20px;
	font-family: 'gt-walsheim-regular' !important;
	padding: 20px 0px 20px 0px;
}
.sheet-music-year-list {
	display: inline-block;
	text-align: justify;
	font-size: 20px;
	font-family: 'gt-walsheim-regular' !important;
	padding: 20px 0px 20px 0px;
	margin-left: 20px;
}
.sheet-music-year-list span, .sheet-music-instrument-list span, .sheet-music-instr-overview-switch span {
	vertical-align: middle;
	font-family: 'gt-walsheim-bold' !important;
}
.sheet-music-instr-select {
	margin-bottom: 5px;
	padding-left: 10px;
	width: 300px;
	font-size: 18px;
	color: black;
	font-family: 'gt-walsheim-regular' !important;
	border: 1px solid #000;
	height: 30px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(https://eotvospeter.com/wp-content/uploads/2018/11/down-arrow.gif) 97% / 17px no-repeat #fff;
}
.sheet-music-year-select {
	margin-bottom: 5px;
	padding-left: 10px;
	width: 140px;
	font-size: 18px;
	color: black;
	font-family: 'gt-walsheim-regular' !important;
	border: 1px solid #000;
	height: 30px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(https://eotvospeter.com/wp-content/uploads/2018/11/down-arrow.gif) 95% / 17px no-repeat #fff;
}
select::-ms-expand { 
	display: none; /* remove default arrow in IE 10 and 11 */
}
/* target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
	select {
		background:none\9;
		padding: 5px\9;
	}
}
.sheet-music-instr-select, .sheet-music-year-select {
	margin-bottom: 0px !important;
}

@media only screen and (min-width: 1280px) {
	.sheet-music-instr-overview-switch {
		display: inline-block;
		float: right;
		text-align: justify;
		font-size: 20px;
		padding: 20px 10px 20px 0px;
		margin-left: 20px;
		font-family: 'gt-walsheim-bold' !important;
		color: #be8592 !important;
		cursor: pointer;
	}
}
@media only screen and (max-width: 1279px) {
	.sheet-music-instr-overview-switch {
		display: none;
	}
}

.sheet-music-instr-overview-switch img {
	vertical-align: middle;
}
#sheet-music-instr-overview-container {
	display: none;
}
.sheet-music-instr-overview table {
	border-top: 1px solid #be8592;
	border-left: 1px solid #be8592;
	border-right: 1px solid #be8592;
	border-bottom: 1px solid #be8592;
}
.sheet-music-instr-overview table th {
	border-left: 1px solid #be8592;
	border-right: 1px solid #be8592;
	border-bottom: 1px solid #be8592;
	padding: 5px;
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	letter-spacing: -1px;
	line-height: 16px;
	text-align: left;
	height: 43px;
}
.sheet-music-instr-overview table td  {
	border: 1px solid #be8592;
	padding: 5px;
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	letter-spacing: -1px;
	line-height: 16px;
}
.sheet-music-instr-overview table th.piece-title,
.sheet-music-instr-overview table td.piece-title {
	width: 300px;
	min-width: 300px;
	cursor: pointer;
}
.sheet-music-instr-overview table th.piece-duration,
.sheet-music-instr-overview table td.piece-duration {
	width: 32px;
	min-width: 32px;
}
.sheet-music-instr-overview table th.piece-soloist,
.sheet-music-instr-overview table td.piece-soloist {
	max-width: 100px;
	width: 100px;
	min-width: 100px;
	font-size: 15px !important;
	letter-spacing: 1px !important;
}
.sheet-music-instr-overview table th.piece-instr,
.sheet-music-instr-overview table td.piece-instr {
	text-align: center;
	min-width: 25px;
	width: 25px;
	max-width: 25px;
}
.sheet-music-instr-overview table th.piece-other,
.sheet-music-instr-overview table td.piece-other {
	max-width: 110px;
	width: 110px;
	min-width: 110px;
	font-size: 15px !important;
	letter-spacing: 1px !important;
}
.sheet-music-instr-overview table th.piece-tech,
.sheet-music-instr-overview table td.piece-tech {
	width: 125px;
	max-width: 125px;
	font-size: 15px !important;
	letter-spacing: 1px !important;
}
.sheet-music-instr-overview table th.piece-0,
.sheet-music-instr-overview table td.piece-0 {
	padding: 5px 1px 5px 1px !important;
}
.sheet-music-full-list-title {
	font-size: 20px;
	font-family: 'gt-walsheim-bold';
	color: #be8592;
	line-height: 24px;
	margin-bottom: 20px;
}
.sheet-music-boxes,
.sheet-music-full-list {
	margin-top: 30px;
	width: 100%;
}
.sheet-music-boxes ul {
	column-count: 3;
	column-gap: 0;
	padding: 0;
	margin: 0;
}
.sheet-music-full-list ul {
	padding: 0;
	margin: 0;
}
.sheet-music-boxes li {
	display: inline-block;
	width: 100%;
	height: 170px;
	background-color: #ffffff;
	text-align: left;
	font-size: 20px;
	font-family: 'gt-walsheim-bold' !important;
	padding: 0px 25px 0px 25px;
}
@media only screen and (min-width: 801px) {
	.sheet-music-full-list li {
		display: flex;
		width: 100%;
		height: 50px;
		text-align: left;
		font-size: 20px;
		font-family: 'gt-walsheim-bold' !important;
		margin: -3px;
	}
	.sheet-music-full-list li.even {
		background-color: rgb(248, 234, 237);
	}
	.sheet-music-full-list li.odd {
		background-color: #fff;
	}	
}
@media only screen and (max-width: 800px) {
	.sheet-music-full-list li {
		display: block;
		width: 100%;
		height: 50px;
		text-align: left;
		font-size: 16px;
		font-family: 'gt-walsheim-bold' !important;
		margin: -3px;
	}
	.sheet-music-full-list li.even {
		background-color: rgb(248, 234, 237);
	}
	.sheet-music-full-list li.odd {
		background-color: rgb(248, 234, 237);
	}
}
.sheet-music-box {
	background-color: rgb(248, 234, 237);
	height: 90px;
	line-height: 24px;
	padding: 10px 15px;
	cursor: pointer;
}
.sheet-music-box-bottom {
	background-color: rgb(251, 246, 245);
	height: 36px;
}
.sheet-music-box-bottom div {
	font-family: 'gt-walsheim-bold' !important;
}
.sheet-music-box-genre-title {
	position: absolute;
	font-size: 32px;
	color: #da97a6 !important;
	max-width: 310px;
	line-height: 1.3;
}
.sheet-music-box-genre-title span {
	background-color: #ffffff;
	padding-right: 15px;
}
.sheet-music-page-taxbox {
	background-color: #f8eaed;
	padding: 12px;
	display: inline-flex;
	height: 42px;
	line-height: 14px;
	margin-bottom: 2px;
}
@media only screen and (min-width: 801px) {
	.sheet-music-list-item {
		height: 50px;
		overflow: hidden;
		line-height: 24px;
		padding: 12px 12px;
		cursor: pointer;
		flex-grow: 1;
	}
	.sheet-music-list-item-end {
		float: right;
		height: 50px;
		width: 300px;
		line-height: 24px;
		padding: 12px 12px;
		cursor: pointer;
	}
	.sheet-music-list-item-end-date {
		float: right;
		min-width: 120px;
		font-size: 16px;
	}
	.sheet-music-list-item-end-duration {
		float: right;
		min-width: 120px;
		font-size: 16px;
	}
	.sheet-music-list-item-end-arrow {
		float: right;
		font-size: 16px;
	}
	.sheet-music-list-item-end.even{
		background-color: #fff;
	}
	.sheet-music-list-item-end.odd{
		background-color: rgb(251, 245, 247);
	}
}
@media only screen and (max-width: 800px) {
	.sheet-music-list-item {
		height: 50px;
		overflow: hidden;
		white-space: nowrap;
		line-height: 24px;
		padding: 12px 12px;
		cursor: pointer;
		clear: both;
		width: 100%;
	}
	.sheet-music-list-item-end {
		float: right;
		height: 50px;
		width: 100%;
		line-height: 24px;
		padding: 12px 12px;
		cursor: pointer;
		clear: both;
	}
	.sheet-music-list-item-end-date {
		float: right;
		min-width: 120px;
		font-size: 16px;
	}
	.sheet-music-list-item-end-duration {
		float: right;
		min-width: 120px;
		font-size: 16px;
	}
	.sheet-music-list-item-end-arrow {
		float: right;
		font-size: 16px;
	}
	.sheet-music-list-item-end.even {
		background-color: rgb(251, 245, 247);
	}
	.sheet-music-list-item-end.odd {
		background-color: rgb(251, 245, 247);
	}
}
.sheet-music-list-item-end img {
	height: 16px;
	width: 10px;
	margin-top: 4px;
}

table thead tr.smio {
    display:block;
}

table th.smio,table td.smio {
    width:100px; /*fixed width*/
}

table tbody.smio {
	display:block;
	min-height:150px;
	max-height:500px;
	overflow:auto; /*set tbody to auto*/
}

/* new instr - not used */
/*
table td.redcorner {
	padding: 5px !important;
	position: relative !important;
	cursor: pointer;
}

table td.redcorner:after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
	width: 0 !important;
	height: 0 !important;
    display: block !important;
	border-left: 5px solid transparent !important;
	border-bottom: 5px solid transparent !important;
	border-top: 5px solid #f00 !important;
}

.instr-popup {
	position: absolute;
	left: 25px;
	top: -25px;
	background-color: white;
	border: 1px solid black;
	padding: 5px;
	display: none;
}
*/
