/*
 Theme Name:  Twenty Twelve Child
 Theme URI:   http://www.lutheranchoralebook.com/
 Description: Twenty Twelve Child Theme
 Author:      Christopher J. Neuendorf
 Author URI:  http://www.lutheranchoralebook.com
 Template:    twentytwelve
 Version:     1.0.0
*/

@import url("../twentytwelve/style.css");

/* Responsive Table */

@media screen and (min-width: 600px) {
	.responsiveTable {
		width: 800px;
	}
}

/* Audio Player */

.audioPlayer {
	width: 100%;
	height: 30px;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}

@media screen and (min-width: 600px) {
	.audioPlayer {
		width: 50%;
		min-width: 300px;
	}
}

.play {
	position: relative;
	margin: 7px 10px 7px 12px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 16px solid rgb(78,51,28);
	display: inline-block;
	float: left;
	-webkit-user-select: none;
}

.play:after {
	position: absolute;
	content: '';
	top: -10px;
	bottom: -10px;
	left: -25px;
	right: -10px;
}

.pause {
	position: relative;
	margin: 7px 10px 7px 12px;
	width: 4px;
	height: 16px;
	border-left: 6px solid rgb(78,51,28);
	border-right: 6px solid rgb(78,51,28);
	display: inline-block;
	float: left;
	-webkit-user-select: none;
}

.pause:after {
	position: absolute;
	content: '';
	top: -10px;
	bottom: -10px;
	left: -25px;
	right: -10px;
}

.playTime {
	width: 28px;
	margin: 6px 10px 0 0;
	font-family: Arial;
	font-size: 11px;
	color: rgb(78,51,28);
	display: inline-block;
	float: left;
	cursor: default;
	-webkit-user-select: none;
}

.timeline {
	width: calc(100% - 130px);
	height: 6px;
	margin-top: 12px;
	float: left;
	background: rgba(0,0,0,0.2);
	-webkit-user-select: none;
}

.playhead {
	position: relative;
	margin-top: -6px;
	margin-left: -1px;
	width: 2px;
	height: 18px;
	background: #a90000;
	cursor: -webkit-grab;
	cursor: -moz-grab;
}

.playhead:after {
	position: absolute;
	content: '';
	top: -10px;
	bottom: -10px;
	left: -10px;
	right: -10px;
}

.progress {
	margin-top: -12px;
	width: 0;
	height: 6px;
	background: rgba(46,204,250,0.7);
	-webkit-user-select: none;
}

.remainingTime {
	margin: 6px 12px 0 0;
	font-family: Arial;
	font-size: 11px;
	color: rgb(78,51,28);
	display: inline-block;
	float: right;
	-webkit-user-select: none;
}
/* End Audio Player */

/* Toggle */
.toggle {
	cursor: pointer;
	font-weight: bold;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}

.toggleMain {
	font-weight: normal;
	margin: 0.5em 0;
}

.toggleMainTitle {
	display: inline-block;
	width: calc(100% - 15px);
}

.arrowDown {
	margin-left: 6px;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #4f331b;
	display: inline-block;
	vertical-align: middle;
}

.arrowUp {
	margin-left: 4px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #4f331b;
	display: inline-block;
	vertical-align: middle;
}

.toggleContent {
	display: none;
}
/* End Toggle */

/* My Images */

.style-svg {
	width: 100%;
	height: auto;
	pointer-events: none;
}

@media screen and (min-width: 600px) {
	.half-size-svg {
		width: 50%;
	}
}

.sepia svg {
	fill: #4f331b;
	stroke: #4f331b;
}

.sheetMusic {
	background-color: #f8f1e3;
	position: relative;
	z-index: 1;
	margin-top: -48px;
}

.sheetMusic img {
	box-shadow: none;
}

.msvCover {
	background-color: #f8f1e3;
	position: absolute;
	z-index: 1;
	width: 150px;
	margin-bottom: -24px;
}

.myFigure {
	max-width: 100%;
	margin-top: 24px;
	margin-bottom: 24px;
}

@media screen and (min-width: 600px) {
	.myFigure {
		margin: 12px 24px 0;
	}
	.myFigureRight {
		float: right;
		margin-right: 0;
	}
	.myFigureLeft {
		float: left;
		margin-left: 0;
	}
}

.myCaption {
	max-width: 100%;
	font-size: 85%;
}

/* End My Images */

/* Header Customization */

.site-header h1 {
	font-family: EB Garamond, serif;
	font-weight: normal;
	color: #4f331b;
}

.site-header h2 {
	font-family: EB Garamond, serif;
	color: #4f331b;
}

.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #a90000;
}
/*
.site-header h1 a:before {
	content: "";
	display: block; width: 48px; height: 48px;
	margin: 0 auto 12px;
	background-image: url("http://www.lutheranchoralebook.com/wp-content/uploads/Header-Image.jpg");
	background-size: cover;
}

@media screen and (min-width: 600px) {
	.site-header h1 a:before {
		width: 72px; height: 72px;
		position: absolute; top: 0; left: -96px;
	}
	.site-title, .site-description { position: relative; margin-left: 96px; }
}
*/
/* End Header Customization */

p.alignleft {
	float:left;
}

p.alignright {
	float:right;
}

body {
	color: #4f331b;
	background-color: rgba(249,244,234);
}

.site {
	background-color: rgba(249,244,234);
}

body .site,
body.custom-background-empty {
	background-color: rgba(249,244,234);
}

hr {
	background-color: #cabaaa; /* originally #ccc */
}

a:link,
.comments-link a,
.entry-meta a {
	color: #a90000;
	text-decoration: none;
}

a:visited,
.entry-content a:visited,
.comment-content a:visited,
.comments-link a:visited,
.entry-meta a:visited {
	color: #c37575;
}

a:hover,
.comments-link a:hover,
.entry-meta a:hover {
	color: #480f0f;
	text-decoration: underline;
}

.main-navigation a {
	color: #5e5e5e; /* originally 5e5e5e */
}
.main-navigation a:hover,
.main-navigation a:focus {
	color: #21759b; /* originally 21759b */
}

@media screen and (min-width: 600px) {
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		border-bottom: 1px solid #cbbaa8; /* originally ededed */
		border-top: 1px solid #cbbaa8; /* originally ededed */
	}
	.main-navigation li a {
		color: #6a5848; /* originally 6a6a6a */
	}
	.main-navigation li a:hover,
	.main-navigation li a:focus {
		color: #000; /* originally 000 */
	}
	.main-navigation li ul li a {
		background: #e1d4c8; /* originally efefef */
		border-bottom: 1px solid #cabaaa; /* originally ededed */
	}
	.main-navigation li ul li a:hover,
	.main-navigation li ul li a:focus {
		background: #bba591; /* originally e3e3e3 */
		color: #444; /* originally 444 */
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #635243; /* originally 636363 */
	}
}

.site-content article {
	border-bottom: 4px double #e5d4c2;
}

footer[role=contentinfo] {
	border-top: 1px solid #cbbaa8;
	color: #82664e;
}

footer[role=contentinfo] a {
	color: #82664e;
}

footer[role=contentinfo] a:hover {
	color: #a90000;
}

.entry-content li,
.comment-content li,
.mu_register li {
	margin: 0 0 0 2em;
}

.entry-content table,
.comment-content table {
	border-bottom: none;
	color: #4f331b;
	font-size: 14px;
	font-size: 1rem;
	line-height: 1.714285714;
	margin: 24px 0 24px;
	margin: 1.714285714rem 0 1.714285714rem;
	width: 100%;
}

.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1.142857143rem;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}

.entry-content td,
.comment-content td {
	border-top: none;
	padding: 0;
}

.primary {
	font-family: EB Garamond, Georgia, serif;
	font-size: 16px;
}

.line-indent-1 {
	margin-left: 1em;
	display: inline-block;
}

.line-indent-2 {
	margin-left: 2em;
	display: inline-block;
}

.line-indent-3 {
	margin-left: 3em;
	display: inline-block;
}

.pointed .line-indent-1,
.unpointed .line-indent-1 {
	margin-left: 2em;
}

.pointed .line-indent-2,
.unpointed .line-indent-2 {
	margin-left: 3em;
}

.pointed .line-indent-3,
.unpointed .line-indent-3 {
	margin-left: 4em;
}

.attribution {
	text-align: right;
}

#content .post {
	position: relative;
}

#content .comments-link {
	position: absolute;
	bottom: 1em;
}

#content .post {
	padding-bottom: 3em;
}

.iframe-flexible-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	margin-bottom: 2em;
}

.iframe-flexible-container iframe,   
.iframe-flexible-container object,  
.iframe-flexible-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100%;
}

/* Orders of Service */

h1.service-parts {
	font-size: 17.5px;
	font-size: 1.25rem;
	font-variant: small-caps;
	font-weight: normal;
}

h2.rubrics {
	font-size: 14px;
	font-size: 1rem;
	font-style: italic;
	font-weight: normal;
}

h3.subhead {
	font-size: 14px;
	font-size: 1rem;
	font-weight: normal;
	font-variant: small-caps;
}

p.spoken {
	margin-left: 1rem;
}

p.congregation {
	margin-left: 1rem;
	font-weight: bold;
}

span.service-parts {
	font-variant: small-caps;
	font-style: normal;
}

span.rubrics {
	font-style: italic;
}

span.congregation {
	font-weight: bold;
}

/* Luther's Small Catechism */

h1.catechism {
	text-align: center;
	margin-bottom: 0.5em;
	line-height: 100%;
	font-size: 150%;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h1.catechism-preface {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 0.5em;
	font-size: 17.5px;
	font-size: 1.25rem;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h1.catechism-note {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 1em;
	font-size: 17.5px;
	font-size: 1.25rem;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h1.catechism-questions {
	text-align: center;
	margin-bottom: 0;
	line-height: 100%;
	font-size: 150%;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h2.catechism {
	text-align: center;
	margin-top: 0;
	font-size: 100%;
	font-weight: normal;
	text-transform: uppercase;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h2.catechism-preface {
	text-align: center;
	margin-top: 0;
	font-size: 75%;
	font-weight: normal;
	text-transform: uppercase;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h2.catechism-questions {
	text-align: center;
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 100%;
	text-transform: uppercase;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h3.catechism {
	text-align: center;
	margin-bottom: 0.5em;
	font-size: 17.5px;
	font-size: 1.25rem;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h6.catechism {
	text-align: center;
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 14px;
	font-size: 1rem;
	font-style: italic;
	font-weight: normal;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

h6.catechism-prayers {
	text-align: justify;
	text-indent: 1em;
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 14px;
	font-size: 1rem;
	font-style: italic;
	font-weight: normal;
}

hr.catechism-top {
	width: 9em;
	text-align: center;
	margin: 0 auto;
	color: #4f331b;
	background-color: #4f331b;
}

hr.catechism-bottom {
	width: 5em;
	text-align: center;
	margin: 0 auto;
	color: #4f331b;
	background-color: #4f331b;
}

p.catechism {
	text-align: justify;
	text-indent: 1rem;
	margin-bottom: 0;
}

p.catechism-bottom {
	text-align: justify;
	text-indent: 1rem;
	margin-bottom: 3em;
}

p.catechism-bottom-sub {
	text-align: justify;
	text-indent: 1rem;
	margin-bottom: 1em;
}

p.catechism-end {
	text-align: justify;
	text-indent: 1rem;
}

p.catechism-no-indent {
	text-align: justify;
	margin-bottom: 0;
}

p.catechism-extra-indent {
	text-align: justify;
	text-indent: 2rem;
	margin-bottom: 0.5em;
}

p.catechism-extra-indent-2 {
	text-align: justify;
	text-indent: 2rem;
	margin-bottom: 0;
}

p.catechism-main {
	text-align: center;
	margin-bottom: 1em;
	font-size: 17.5px;
	font-size: 1.25rem;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

p.catechism-main-long {
	text-align: justify;
	text-indent: 1em;
	margin-bottom: 1rem;
	font-size: 17.5px;
	font-size: 1.25rem;
}

p.catechism-main-long-2 {
	text-align: justify;
	text-indent: 1rem;
	margin-bottom: 0;
	font-size: 17.5px;
	font-size: 1.25rem;
}

p.catechism-main-long-3 {
	text-align: justify;
	text-indent: 1rem;
	margin-bottom: 0.5em;
	font-size: 17.5px;
	font-size: 1.25rem;
}

span.intonation {
	text-transform: uppercase;
}

span.lord {
	font-variant: small-caps;
}

/* Psalter */

.verseNumber {
	font-size: 65%;
	position: absolute;
	vertical-align: text-top;
	margin-top: 0.25em;
}
.psalmHeading {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}
.divineName {
	text-transform: uppercase;
}
.psalmDirection {
	font-style: italic;
}

.psalmNavigation {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.pointed {
	display: none;
}

.capitulum {
	display: inline-block;
	border-style: solid none solid solid;
	border-color: inherit;
	border-width: 0.08em 0.08em 0.08em 0.5em;
	height: 0.75em;
	width: 0.35em;
	border-top-left-radius: 0.75em;
	border-bottom-left-radius: 0.75em;
}
.capitulum::after {
	content: "";
	position: absolute;
	border-style: none none none solid;
	border-color: inherit;
	border-width: 0.08em;
	height: 0.8em;
	margin-left: 0.15em;
	margin-top: -0.05em;
}

/* Toggle Switch */

.switch {
	position: relative;
	top: 0.25em;
	display: inline-block;
	width: 2em;
	height: 1.15em;
}

.switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(224,211,175);
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 0.85em;
	width: 0.85em;
	left: 0.15em;
	bottom: 0.15em;
	background-color: rgb(112,66,20,.65);
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: rgb(153,204,255);
}

input:focus + .slider {
//	box-shadow: 0 0 1px;
}

input:checked + .slider:before {
	-webkit-transform: translateX(0.85em);
	-ms-transform: translateX(0.85em);
	transform: translateX(0.85em);
}

.slider.round {
	border-radius: 1.05em;
}

.slider.round:before {
	border-radius: 50%;
}