html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #ccc;
}
#app {
	width: 100%;
	height: 100%;
}
[v-cloak] {
	display: none;
}

#menu-button  {
	padding: 10px;
	height: auto;
	line-height: 100%;
	font-size: 17px;
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 100;
	background: #fff;
	opacity: 0.4;
}
#menu-button.active,
#menu-button:hover,
#menu-button:active {
	opacity: 1;
}
#menu {
	display: none;
	height: 100%;
	width: 400px;
	max-width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 99;
	background: #333;
	color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, .8);
	/*background: hotpink;*/
	/*border-left: 1px solid #000;*/
	box-sizing: border-box;
	padding: 5px;
}
#menu-button-input:checked + #menu {
	display: block;
}
.menu-top {
	height: 44px;
}
#fontstyle-select {
	text-transform: capitalize;
}
.select-label {
	height: 38px;
	line-height: 38px;
}
/*
 * LIST
 */
#list, #form, #page, #print {
	background: #fff;
}
ul.list-striped {
	margin: 10px 0;
}
.list-striped li {
	list-style-type: none;
	padding: 2px 5px;
}
.list-striped li:nth-child(odd) {
	background: rgba(120,120,120, .1);
}

.song-item {

}
.song-item-title {
	font-size: 120%;
}
.song-item-artist {
	font-size: 85%;
}
.list-filter-input {
	margin-top: 5px;
	margin-bottom: 0;
}
.clear-search-row {
	position: relative;
}
.clear-search {
	display: block;
	width: 20px;
	height: 38px;
	line-height: 38px;
	text-align: center;
	cursor: pointer;
	position: absolute;
	right: 8px;
	bottom: 0;
	top: 0;
	margin: auto;
	margin-top: 5px;
	font-size: 20px;
	color: #bbb;
}
.clear-search:hover, .clear-search:focus {
	color: #111;
}
@media all and (max-width: 549px) {
	.clear-search-row {
		padding-right: 30px;
	}
	.clear-search {
		right: 38px;
	}
}
/*
 * FORM
 */
.edit-song-form {
	height: 100%;
	padding: 0px 10px 5px 10px;
	background: #fff;
}
input[readonly] {
	background: #ccc;
}
.form-grid {
	height: 100%;
	padding-top: 5px;
	box-sizing: border-box;
	display: grid;
	grid-template-rows: 40px 40px 40px auto;
	margin: 0;
}
.form-grid .grid-row input{
	margin: 0;
}
.form-grid .grid-row textarea {
	height: 100%;
	margin: 0;
}
.top-input-grid {
	display: grid;
	grid-template-columns: auto 100px;
	grid-gap: 2px;
}

.save-button {
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
}

.button-primary {
	background-color: #2980b9;
	border-color: #2980b9;
	color: #fff;
}
.button-success {
	background-color: #27ae60;
	border-color: #27ae60;
	color: #fff;
}
.button-info {
	background-color: #3498db;
	border-color: #3498db;
	color: #fff;
}
.button-warning {
	background-color: #f39c12;
	border-color: #f39c12;
	color: #fff;
}
.button-danger {
	background-color: #c0392b;
	border-color: #c0392b;
	color: #fff;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.current-font-size {
	color: #fff;
	background: transparent;
	border: 1px solid #777;
	height: 38px;
	line-height: 38px;
	padding: 0 20px;
	font-weight: normal;
	display: inline-block;
	box-sizing: border-box;
	border-radius: 4px;
	margin-bottom: 1rem;
	vertical-align: top;
}

/*
 * SONG
 */
#page *, #print *, textarea {
	font-family: verdana, arial, sans-serif;
}
#app.narrow #page *,
#app.narrow #print *, #app.narrow textarea {
	font-family: tahoma;
}
#app.very-narrow #page *,
#app.very-narrow #print *, #app.very-narrow textarea {
	font-family: "Yanone Kaffeesatz";
	letter-spacing: 0.3px;
}
#app.monospace #page *, #app.monospace #print *, .mono, #app .mono, #app .mono *, #app.monospace textarea {
	font-family: "Lucida Console", Monaco, monospace;
}
/*#page, #print,*/
#page-inner, #print-inner {
	display: grid;
	grid-auto-flow: column;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}
#page-inner {
	position: relative;
}
#page {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 20px;
	/*display: grid;*/
}
.page-title {
	position: absolute;
	font-size: 40px;
	color: #f1f1ff;
	z-index: 0;
	bottom: 0;
	left: 0;
	text-align: left;
	padding-left: 0px;
	line-height: 40px;
	overflow: hidden;
}
@media all and (max-width: 800px) {
	#page {
		height: auto;
		min-height: 100vh;
	}
}
pre {
	margin: 0;
	border-right: 1px solid #ccc;
	padding-left: 10px;
	padding-right: 10px;
}
pre:last-child {
	padding-right: 0;
	border: none;
}
pre:first-child {
	padding-left: 0;
}

.fontsize1 pre {font-size: 1px !important;}
.fontsize2 pre {font-size: 2px !important;}
.fontsize3 pre {font-size: 3px !important;}
.fontsize4 pre {font-size: 4px !important;}
.fontsize5 pre {font-size: 5px !important;}
.fontsize6 pre {font-size: 6px !important;}
.fontsize7 pre {font-size: 7px !important;}
.fontsize8 pre {font-size: 8px !important;}
.fontsize9 pre {font-size: 9px !important;}
.fontsize10 pre {font-size: 10px !important;}
.fontsize11 pre {font-size: 11px !important;}
.fontsize12 pre {font-size: 12px !important;}
.fontsize13 pre {font-size: 13px !important;}
.fontsize14 pre {font-size: 14px !important;}
.fontsize15 pre {font-size: 15px !important;}
.fontsize16 pre {font-size: 16px !important;}
.fontsize17 pre {font-size: 17px !important;}
.fontsize18 pre {font-size: 18px !important;}
.fontsize19 pre {font-size: 19px !important;}
.fontsize20 pre {font-size: 20px !important;}
.fontsize21 pre {font-size: 21px !important;}
.fontsize22 pre {font-size: 22px !important;}
.fontsize23 pre {font-size: 23px !important;}
.fontsize24 pre {font-size: 24px !important;}
.fontsize25 pre {font-size: 25px !important;}
.fontsize26 pre {font-size: 26px !important;}
.fontsize27 pre {font-size: 27px !important;}
.fontsize28 pre {font-size: 28px !important;}
.fontsize29 pre {font-size: 29px !important;}
.fontsize30 pre {font-size: 30px !important;}
.fontsize31 pre {font-size: 31px !important;}
.fontsize32 pre {font-size: 32px !important;}
.fontsize33 pre {font-size: 33px !important;}
.fontsize34 pre {font-size: 34px !important;}
.fontsize35 pre {font-size: 35px !important;}
.fontsize36 pre {font-size: 36px !important;}
.fontsize37 pre {font-size: 37px !important;}
.fontsize38 pre {font-size: 38px !important;}
.fontsize39 pre {font-size: 39px !important;}
.fontsize40 pre {font-size: 40px !important;}

.title {
	font-weight: bold;
}
.chord, .slash{
	font-weight: bold;
	color: #0068C9;
}
.non-lyrics {
	font-style: italic;
	color: #333;
	white-space: pre-wrap;
}

/*
 * PRINT
 */
#print {
	background: #fff;
	margin: 10px auto 20px auto;
	text-align: left;
	width: 21cm;
	height: 29.68cm;
	border: 1px solid #aaa;
	box-shadow: 0 0 10px rgba(0,0,0,.5);
	box-sizing: border-box;
	padding: 1cm .8cm 1cm .8cm;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	overflow-y: auto;
	display: grid;
	grid-template-rows: .68cm 27cm;
	grid-template-columns: 19.4cm;
}
#print .page-num {
	position: absolute;
	bottom: .8cm;
	right: .8cm;
	font-size: 14px;
}
#print-inner {
	display: grid;
	grid-auto-flow: column;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}
.print-title {
	text-align: center;
}

@media print {
	html, body {
		background: #fff;
	}
	#menu-button {
		display: none;
	}
	#print {
		box-shadow: none;
		border: none;
		overflow: hidden;
		margin-top: 0;
		margin-bottom: 0;
	}
}


/*
 * MODAL
 */
.modal-mask {
	position: fixed;
	z-index: 9998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	display: table;
	transition: opacity .3s ease;
}

.modal-wrapper {
	display: table-cell;
	vertical-align: middle;
}

.modal-container {
	width: 300px;
	margin: 0px auto;
	padding: 20px 30px;
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
	transition: all .3s ease;
	position: relative;
}

.modal-header h3 {
	margin-top: 0;
	color: #333;
}

.modal-body {
	margin: 20px 0;
}

.modal-default-button {
	float: right;
}
.modal-close-btn {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background: #333;
	color: #fff;
	cursor: pointer;
	text-align: center;
	line-height: 40px;
	font-size: 20px;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter {
	opacity: 0;
}

.modal-leave-active {
	opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/** basic styles **/
.clear { clear: both; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.bold { font-weight: bold; }
.normal { font-weight: normal; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.upper { text-transform: uppercase; }
.lower { text-transform: lowercase; }
.caps { text-transform: capitalize; }
.float-left { float: left; }
.float-right { float: right; }
.float-normal { float: none; }
ib, .ib { display: inline-block; }
