/*hymnary styles*/
p.hy_navbar{
	text-align: center;
	background: #D7DBC4;
}

/*main page styles*/
h1.hy_sitename{
	font-size: 150%;
	text-align: center;
}

/*hymnal styles*/
div.hy_hymnalwarning {
	font-size: 11px;
	text-align: center;
	color: #BD0226;
	margin-top: 1.2em;
}

div.hy_published_error {
	border: 1px solid #d77;
	color: #e55;
	background: #fcc;
	padding: 4px;
	margin-left: 1em;
	display: inline;
}

table.hy_hymnalinfotable {
	margin-left: auto;
	margin-right: auto;
}

td.hy_hymnalinfolabel {
	font-weight: bold;
	text-align: right;
	padding-right: 1em;
	width: 30%;
	vertical-align: top;
}

td.hy_hymnalinfoitem {
	width: 70%;
}

/* hymnal entry, hymn text & tune styles */
.hy_editLink {
	font-size: 80%;
	margin-left: 0.25em;
	font-style: italic;
	/*margin-left: 20px; - now implemented in the div on the hymnal page*/
}

div.hy_titlebar{
	font-size: 150%;
	border-color: #6d0400;
	border-style: ridge;
	text-align: center;
	padding: 0.2em;
	margin-bottom: 1em;
}
table.hy_infoTable
{
	width: 100%;
}

table.hy_infoTable tr td
{
	width: 50%;
	vertical-align: top;
}

table.verses
{
	position: relative;
	top: 1em;
}

/* 	compensate for wider than expected icon
	that has precise css automatically generated */
div.icon-users
{
	margin-left: -10px !important;
}

div.hy_textInfoBlock
{
/*	position: relative;*/
	/*right: 50%;*/
	text-align: left;
	width: 100%;
	vertical-align: top;
}

div.hy_column
{
	float: left;
	width: 47%;
	min-width: 28em; 
	margin: 0px 1.25%
}

span.hy_infoItem span.hy_scripref
{
	/* (inline-)block display required for Scripture reference popover */
	display: inline-block;
}

div.hy_notes
{
	background-color: #E9E6CD;
	border: 3px solid #C8C3B0;
	padding: 12px;
	margin-top: 0px;
	width: 90%; 
	margin-left: auto;
	margin-right: auto;

}
div.hy_backgroundInfo
{
	width: 95%; 
	margin-top: 12px;
	margin-left: auto;
	margin-right: auto;
}

div.hy_resourceDisplay
{
	background-color: #E9E6CD;
	border: 3px solid #C8C3B0;
	padding: 10px;
	width: 75%; 	
	text-align: center;
	margin-top: 12px;
	margin-left: auto;
	margin-right: auto;
}

/* Featured hymn table of contents */
div.hy_featuredHymnTOC
{
	border: 3px solid #C8C3B0;
	padding: 10px;
	margin: 10px;
	float: right;
	font-size: 110%;
}

/* Page scan thumbnails */
div.hy_scanThumbnails
{
	padding: 5px;
	text-align: center;
}

img.hy_thumbnailImage
{
	width: 200px;
	border: 1px solid #555;
	margin: 5px;
	margin-bottom: 0px;
}

div.hy_instructions
{
	text-align:center;
	font-style: italic;
	font-size: 80%;
}

div.hy_editBox
{
	margin-top: 12px;
	width:13em; 
	padding:5px;
	font-size: 80%;
	border: 1px solid #000;
}

div.hy_tuneInfoBlock
{
/*	position: relative;*/
/*	right: 0%;*/
	text-align: right;
	width: 100%;
	vertical-align: top;
}

/* Added for new tabbed pages */
.infoBox {
	background-color: #E9E6CD;
	border: 1px solid #000;
	padding: 12px;
	margin-top: 0px;
	clear: both;
}

/* CSS shadows */
.shadow {
	-moz-box-shadow: 1px 1px 2px #C8C3B0;
	-webkit-box-shadow: 1px 1px 2px #C8C3B0;
	box-shadow: 1px 1px 2px #C8C3B0;
}

/* Popular products on info pages. */
div.hy_popularProducts {
	border: 1px solid #C8C3B0;
	padding: 7px;
	margin: 5px;
	margin-top: 1em;
	margin-left: 1em;
	float: right;
	width: 20em;
	background-color: white;
}

td.productCategories {
	font-size: 80%;
}

/* The text preferences form. */
form#hy_fullTextSelect {
	width: 400px;
}

img.hy_pdfThumbnail {
	width: 75px;
	border: 1px solid #C8C3B0;
}

span.hy_blockLabel
{
	font-weight: bold;
	font-size: 108%;
}

span.hy_infoLabel
{
	font-weight: bold;
}

span.hy_tuneTitle
{
	font-style: italic;
}

div.hy_mediaBlock{
	position: relative;
	top: 1em;
}

span.hy_mediaCitation{
	position: relative;
	left: 1em;
	font-style: italic;
	font-size: 80%;
}

span.hy_copyright{
	position: relative;
	left: 1em;
	font-size: 80%;
}

table.hy_refTable{
	position: relative;
	top: 1em;
	width:100%;
}

td.hy_textRef{
	width:50%;
}

td.hy_tuneRef{
	width: 50%;
	text-align: right;
}


/*
 * Styles used on hymn instance pages
 */

.hymnpage, .hymnpagescan {
	background-color: #fff;
	color: #142633;
	border: 1px solid #000;
	padding: 0.75em 1.5em;
	min-height: 390px;
}

.hymnpagescan {
	border: none;
}
.hymnpagescan.hasnext {
	box-shadow: 3px 1px 0px -1px #dadada;
}
.hymnpagescan.hasprev {
	box-shadow: inset 7px 0 9px -7px rgba(0,0,0,0.7);
}
.hymnpagescan.hasprev.hasnext {
	box-shadow: inset 7px 0 9px -7px rgba(0,0,0,0.7),
	            3px 1px 0px -1px #dadada;
}

.hymntitle {
	font-family: NotoSansArabicOnly,Georgia,"Times New Roman",Serif;
	font-size: 200%;
	text-align: center;
	width: 100%;
	margin:0.5em 0 0.5em;
	padding:2px 4px;
}

/* search and index styles */
table.hy_resulttable{
	position: relative;
	top: 1em;
	width: 100%;
}

table.hy_resulttable tr td{
	width: 50%;
	vertical-align: top;
}
span.hy_resultheader{
	font-weight: bold;
}

span.hy_resultsubheader{
	font-weight: bold;
	position: relative;
	left: 1em;
}

span.hy_result{
	position: relative;
	left: 2em;
}

span.hy_iresult{
	position: relative;
	left: 2em;
	font-style: italic;
}

div.hy_selectBar
{
	text-align: center;
}
span.hy_sectTitle
{
	font-weight: bold;
}

table.works-table {
	margin-top: 0px;
	border-left: 1px solid #C8C3B0;
	border-right: 1px solid #C8C3B0;
	border-bottom: 1px solid #C8C3B0;
	clear: both;
}

table.tabtable {
	margin-top: 0px;
	border-left: 1px solid #C8C3B0;
	border-right: 1px solid #C8C3B0;
	border-bottom: 1px solid #C8C3B0;
	clear: both;
}

img.tabimg {
	vertical-align: top;
}

div.scripturePassage p {
	margin: 0.3em 0 0.6em;
}

/* author styles */
div.hy_authName
{
	text-align: center;
	font-size: 120%;
	font-weight: bold;
}

div.hy_picDiv
{
	text-align: center;
}

img.hy_bannerimg
{
	margin:6pt; 
}

span.hy_picCite
{
	font-size: 80%;
}

/* Hymnary search widget */
div.hymn-searchresults {
	margin-left: 1.5em;
}

h2.hymn-resultheading {
	background: #C8C3B0;
	padding: 0px 4px 0px 4px;
	border-bottom: 1px solid maroon;
}

div.browselist {
	text-align: center;
	width: 100%;
}

div.browselist > a,b {
	padding: 0.15em;
}

.highlight {
	background-color: #fbfba6;
}

div.shiftedtitle {
	padding-left: 140px;
}

div.pageimage {
	float: left;
	position: relative;
	padding: 0px;
	margin: 0 12px 6px 0;
}

div.overlaytext {
	position: absolute;
	width: 100%;
	top: 10px;
	text-align: center;
	letter-spacing: 3px;
	font-family: Arial, sans-serif;
	font-size: 36pt;
	line-height: 36pt;
	color: #fff;
}

div.overlaytext a:link, div.overlaytext a:visited {
	color: #fff;
}

div.scorch {
	text-align: center;
}

a.store-action {
	margin: 0em 1em;
}

div.browsebox {
	float:left;
	padding-right: 5px;
	margin-right: 5px;
}

table tr.result-row td {
	padding-bottom: 0px; 
}

table tr.result-row {
	border-style: none;
	border-bottom: 0px none;
}

table tr.result-row.even {
	background-color: #f4f2e6;
}

table tr.result-row.odd {
	background-color: #e2dfc3;
}

table.search-results tr.result-row a:visited {
	color: #7802c6;
}

.other-title {
	font-size: 85%;
	margin-top: -7px;
	padding-left: 20px;
	width: 20em;
	white-space: nowrap;
}

p.homepage {
	text-align: justify;
}
.featured-product-teaser {
	text-align: justify;
}

table.homepage td {
	vertical-align: top;
}

img.homepage_link {
	width: 150px;
	height: 200px;
	
	border: 1px solid #ada999;
}

div.sidebar-spacer {
	float: left;
	width: 100%;
	height: 10px;
}

#homeLinkContainer {
	margin: auto;
	width: 480px;
	position: relative;
	border-top: 1px solid gray;
}

#homeLinkContainer br {
	clear: left;
}

.homeLinkBrowseContainer {
	text-align: center;
}
.homeLinkBrowseContainer > h3,
.homeLinkBrowseContainer > ul {
	text-align: left;
}

.browsepage {
	display: grid;
	grid-template-areas: "leftTop rightTop"
	                     "leftBot rightBot";
}
.browsepage .left-header {
	grid-area: leftTop;
}
.browsepage .right-header {
	grid-area: rightTop;
}
.browsepage .hlbc-left {
	grid-area: leftBot;
}
.browsepage .hlbc-right {
	grid-area: rightBot;
}

.homeLinkBrowseContainer .homeLinkTable {
	float: none;
	display: inline-block;
}

.homeLinkTable {
	float: left;
	width: 90px;
	margin-top: 10px;

/*	color: #99032E !important; */
	font-size: 140%;
	text-align: center;
}

.homeLinkTable.browseLink {
	width: auto;
	height: 210px;
}

.homeLinkImg,
.hymnaryBigButton {
	border: 1px solid #ada999;
	border-radius: 4px;
	box-shadow: 0 0 3px #ada999;
	-moz-border-radius: 3px;
	-moz-box-shadow: 0 0 3px #ada999;
	text-align: center;
	width: 100px;
	height: 100px;
}

.homeLinkImg:hover,
.hymnaryBigButton:hover {
	box-shadow: 0 0 12px #ada999;
}

.homeLinkImg.browseLink {
	width: 140px;
	height: 140px;
}
.homeLinkTable.browseLink td {
	width: 140px;
}
.homeLinkText {
	color: #49121F;
	font-weight: bold;
}

.homeLinkContainer {
	position: relative;
	display: inline;
	width: 100px;
	height: 100px;
}

.homeLinkImg.donateButton, .homeLinkImg.emailListButton,
.hymnaryBigButton {
	font-size: 14px;
	height: 34px;
	line-height: 30px;
	padding: .1em 1em;
	box-sizing: border-box;
	width: auto;
	font-family: Verdana, sans-serif;
	font-weight: bold;
	color: white;
	background: #98032E;
}

.homeLinkImg.donateButton, .homeLinkImg.emailListButton {
	width: 220px;
	width: calc( 206px + 1em );
}

.homeLinkImg.donateButton:hover, .homeLinkImg.emailListButton:hover,
.hymnaryBigButton:hover {
	background: #670C24;
}

a.js-link, .js-link {
	cursor: pointer;
	color: #027AC6;
}

a.faded {
	color: #ada999;
}

a.js-link:hover {
}

a.add-column {
	padding-left: 5px;
	padding-right: 5px;
}

/* A container for spreading out controls without using floats.*/
div.controlArea {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
div.controlArea > a {
	padding-bottom: 1em;
}

/* Link buttons to go next to eachother.*/
.leftButton, .centerButton, .rightButton {
	color: black;
	border: 1px solid #ccc;
	padding: 7px;
	background-color: white;
}
.leftButton.disabled, .centerButton.disabled, .rightButton.disabled,
.leftButton:hover, .centerButton:hover, .rightButton:hover {
	background-color: #ddd;
	text-decoration: none;
}
.leftButton.disabled, .centerButton.disabled, .rightButton.disabled {
	pointer-events: none;
}

div.textinfo, div.tuneinfo {
	margin-left: 2%;
	width: 90%;
}

td.media_cell, th.media_cell {
	text-align: center;
	width: 1px;
	padding: 0px 0.5em;
}

td.media_cell.active, th.media_cell.active {
	width: 30px;
}

td.media_cell img, th.media_cell img {
	vertical-align: middle;
}

.hymn-infoblock {
	margin-left: 2em;
}

/* popup box styles */
.popup-container {
	position: relative;
	float: left;
}

.popup {
	position: absolute;
	background-color: white;
	display: none;
	white-space: nowrap;
	top: 0;
	padding: 0.25em;
	margin: 0.25em;
	border: 1px solid #ADA999;
	min-width: 8em;
	text-align: left;

	box-shadow: 2px 2px 2px #6A675D;
	-moz-box-shadow: 2px 2px 2px #6A675D;
	z-index: 100;
}

.popup.license-popup {
	padding: 1em;
	position: absolute;
	white-space: normal;
	width: 50vw;
}

.popup.license-popup .popup-close {
	position: relative;
	float: right;
	font-size: 1.5em;
	cursor: pointer;
}

.popup.license-popup .popup-close,
.popup.license-popup .submit-license {
	cursor: pointer;
}

.popup.right {
	left: 0;
}

.popup.left {
	right: 0;
}

.popup.bottom {
	top: 20px;
}

.popup-contents {
	margin-left: .5em;
	margin-right: 2em;
}

.popup-close {
	position: absolute;
	border: 1px solid #6A675D;
	width: 1em;
	height: 1em;
	line-height:100%;
	text-align: center;
	color: #6A675D;
	top: 0;
	right: 0;
	margin: 5px;

	border-radius: 2px;
	-moz-border-radius: 2px;
}

.popup-link {
	font-weight: bold; 
	margin-left: 0.25em;
	cursor: pointer;
}

/* Hide overlay when not in mobile view */
.popup-overlay {
	z-index: -10;
}

@media all and (max-width: 1240px)
{
	.popup.license-popup {
		position: fixed;
		white-space: normal;
		width: 80vw;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
	}

	.popup-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 10;
		background-color: rgba(0,0,0,0.5);
	}
}

.result-row a.popup-link {
	color: gray;
}

.strict-lineheight, .strict-lineheight li {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
}

img.media-icon-small {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	opacity: 0.7; /* a little opacity to take the edge off the boldness */
}
img.media-icon-medium {
	width: 50px;
	height: 50px;
	vertical-align: middle;
	opacity: 0.7;
}

#container div.he-can-download img.media-icon-small {
	opacity: 1; /* Should be as visible as the type icons */
	margin-right: 5px;
	margin-top: -4px;
	float: none;
	padding: 0;
}

div.he-can-download {
	font-style: italic;
}

.copyrighted {
	background-color: #ffacae !important;
	clear: both;
}

.copyrighted h6 {
	color: #ff4b51;
	font-weight: bold;
}

.copyrighted_border {
	border: 2px solid #ff4b51;
}

.licensed {
	background-color: #64C0FA !important;
	clear: both;
}
.licensed h6 {
	color: white;
}
.licensed a:link, .licensed a:visited, .licensed a:hover {
	color: white;
}
.licensed_border {
	border: 2px solid #64C0FA;
	padding: 2px;
}

.accept_license_box {
	clear:both;
	float: left;
	border: 1px solid black;
	margin: 0.5em;
	padding: 0.5em;
	text-align: left;
}

table .accept_license_box {
	margin: 0;
}
table .accept_license_box p {
	margin: 0.3em 0 0.6em;
}

/* Div Expand & Collapse Styles */

div.collapsed, div.expanded {
	position: relative;
}

div.expand-container {
	width: 100%;
	height: 1.7em;
}

div.expander {
	width: 100%;
	background-color: #ada999;
	text-align: center;
}

div.expander:hover {
	background-color: #c8c3b0;
}

/* Default Expand & Collapse Functionality */

div.default-expansion.collapsed {
	overflow: hidden;
}

div.default-expansion.expanded {
	padding-bottom: 1.7em; /* so the expander won't cover anything up when fully expanded */
}

div.collapsed.default-expansion div.expand-container {
	top: 0px;
}

div.default-expansion div.expander {
	position: absolute;
	bottom: 0px;
	/* Should be above anything on a resultcard. */
	z-index: 4;
}

div.authlist div.container-inline div.form-subitem {
	margin-left: 10px;
}

div.authlist label {
	display: inline-block;
	width: 45px;
}

div.warn {
	background: #FFE;
	color: #553;
	border: 1px solid #553;
	margin: 0.5em 0;
	padding: 0.25em;
}

/* MP3 preview button */
button.sm2_button {
	width: 26px;
	height: 26px;
}

.pager-div {
	text-align: center;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
}

.pager-div span {
	margin: 5px;
}

/* Hymnal Index box */
.index-box {
	float: right;
	background: white;
	border: 1px solid #c8c3b0;
	padding: 0;
	max-width: 25%;
	margin-left: 12px;
}
.index-box-title {
	background: #c8c3b0;
	color: #0a3f64;
	font-weight: bold;
	margin: 0;
	padding: 0.25em 0.5em;
}
.index-box-content {
	margin: 0.5em 1em;
}

/* Text/tune authority tabs */
/* div.tabbox {
	float: left; 
	clear: left; 
	white-space: pre;
	height: 23px;
} */

div.tabbox {
	clear: left;
	float: left;
	padding-bottom: 0;
}

span.hy_tab {
	float: left;
	cursor: pointer;
	background-color: #6a675d; 
	min-width: 76px;
	padding: 3px;
	padding-bottom: 0;

	margin: 1px;
	margin-bottom: 0;
	text-align: center;
	color: white;
	font-size: 130%;

	border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
}

span.hy_tab:hover {
	background-color: #ada999;
}

span.hy_tab.current {  
	color: #0A3F64;
	background-color: #c8c3b0;
}

.tabbox a {
	text-decoration: none !important;
}

/* Featured hymn tab */
.hy_tab.featured_tab {
	float: right;
	margin-left: 0.75em;
	background-color: #98032E;
}

#authorityFeaturedHymnBackground {
	width: 100%;
	border-top: 2px solid #ada999;
	background-color: white;
	text-align: center;
}

#authorityFeaturedHymn {
	padding-top: 2em;
	text-align: left;
	max-width: 600px;
	margin: auto;
}

a.expand-box, a.expand-box:hover {
	font-size: 150%;
	text-decoration: none;
	padding: 0 2px;
	cursor: pointer;
}

div.warning-message {
	border: 2px solid #885;
	background: #FFC;
	color: #885;
	margin: 0 0 1em 0;
	padding: 0.5em;
}

div[class*='form-item-hymns-'], .nospace, .form-submit.nospace {
	margin: 0;
}

div[class*='form-item-hymns-'] > input {
	border: 1px solid;
	color: gray;
}

img.pdfThumbnailIE8Fix {
	width: 75px;
}

.article-box {
	display: block;
	clear: both;
	border-top: 2px solid #ADA999;
	border-bottom: 2px solid #ADA999;
	background: white;
	padding: 0.5em 1em;
	margin: 0.5em 0em;
}

.pdf_page {
	text-align: center;
}

#pagescan {
	text-align: center;
}

.instance_pagescan, .instance_gia_preview, .instance_one_license_preview, .pdf_page img {
	display: block;
	max-width: 650px;
	width: calc(100% - 2px);
	height: auto;
	border: 1px solid #ada999;
	margin: 1em auto 0 auto;
}
.one_license_preview_icon {
	display: block;
	max-width: 455px;
	width: calc(70% - 2px);
	margin: 0 auto;
	padding: 1em 0;
}
.one_license_preview_blurb_container {
	display: block;
	max-width: 650px;
	width: calc(100% - 2px);
	height: auto;
	margin: 2em auto 1em auto;
}
.one_license_preview_blurb {
	display: flex;
	padding: 1.5rem;
	border-radius: 1rem;
	color: rgb(107 114 128);
	background-color: #f4f2e6;
}
.lightbulb_icon {
	margin-top: 0.25rem;
	margin-right: 0.5rem;
	vertical-align: middle;
}
.one_license_preview_blurb b {
	padding: 0;
}

.timeline {
	margin: 5px;
	padding-top: 5px;
}

#person_timeline_container {
	clear: both;
	background-color: #C8C3B0;
	padding: 5px;
	padding-top: 1px;
}

#topic-cloud {
	line-height: 200%;
	text-align: center;
}
#topic-cloud span {
	vertical-align: middle;
	display: inline-block;
}

div.homeSpecialResources {
    margin: 1em auto 1em auto;
    text-align: center;
}

div.homeLinkImg {
	color: #49121F;
	font-size: 70px;
	font-family: 'hymnary';
	background-color: white;
	line-height: 100px;
}

.homeLinkTable tbody tr td a:hover {
	text-decoration: none;
}

#search-front-examples {
	text-align: center;
	margin-right: 5px;
	margin-top: 4px;
}

/* Color matches myhymnary-logo text color. */
#myhymnary-link-container {
    margin: 3em auto 0em auto;
    text-align: center;
    font-size: 2em;
    color: #343a40;
}

#myhymnary-logo {
    height: 50px;
    padding-left: 0.4em;
    padding-right: 0.4em;
    position: relative;
    top: 6px;
}

a.search-front {
	color: #027AC6;
	white-space: nowrap;
}

#home_examples {
	display: none;
	clear: both;
	padding-top: 1em;
}

#home_spacer {
	clear: both;
	height: 3em;
}

/* The news view block (on the homepage) is defined in the database. */
body.page-hymnary #block-views-news-block_1 {
	max-width: 480px;
	margin: auto;
}
body.page-hymnary #block-views-news-block_1 .view-content .views-row {
	padding: .25em 0;
}

/* The news content block (/news page) is defined in the database. */
body.page-news #wrapper #container #center #squeeze,
/* Theme the news nodes. */
body.node-type-news #wrapper #container #center #squeeze {
    background: white;
    font-size: 120%;
}
body.page-news .page-title, body.node-type-news .page-title {
    background: none;
}

body.node-type-news #wrapper #container #center #squeeze .content img {
    max-width: 100%;
    padding: .5em;
    box-sizing: border-box;
    background: #f0f0f0;
}
body.node-type-news #wrapper #container #center #squeeze .content h1,
body.node-type-news #wrapper #container #center #squeeze .content h2,
body.node-type-news #wrapper #container #center #squeeze .content h3 {
    clear: both;
}

.homeLinkSublines {
	font-size: 70%;
	margin-top: 0.5em;
}

#instance_embedded_media_tabs {
	padding: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
#instance_embedded_media_tabs ul {
	padding: 0.2em 0.5em 0 0.5em;
	border: none;
	border-bottom: 1px solid #aaa;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#block-hymnary-status .content {
	font-size: 120%;
}
#block-hymnary-status .content .icon-ok-circle {
	color: #FFF;
}
#block-hymnary-status .content .icon-cancel-circle {
	color: #333;
}

#block-hymnary-feedback .content {
	margin-top: 3em;
}

a.unpublished {
	border-bottom: 1px dashed red;
}

.tabled-fieldset {
	width: 100%;
}
.tabled-fieldset td:last-child {
	width: 100%;
}

.expandable-text {
	overflow: hidden;
	margin-bottom: 0;
}
.text-expander {
	margin-top: 0;
	border-top: 1px solid #0A3F64;
	text-align: center;
	width: 100%;
	cursor: pointer;
	display: none;
	color: #027AC6;
	-webkit-box-shadow: 0 -6px 12px -6px #AAA;
	-moz-box-shadow: 0 -6px 12px -6px #AAA;
	box-shadow: 0 -6px 12px -6px #AAA;
}

.hymnalcaption{
	max-width: 144px;
	/*overflow: hidden;*/
}

#backtohymnal
{
	font-weight: bold;
	color: #027AC6;
}

#flexscore-promotion {
	pointer-events: none;
	position: absolute;
	left: 9.25em;
	top: 0em;
}
.hymnary_more_link {
	font-size: smaller;
	font-style: italic;
}

input[type="text"]:disabled {
	background: #EEE;
	color: #666;
	border: 1px solid #888;
}

.disabled {
	color: gray !important;
}

.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
	color: darkgrey;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: rgba( 0, 0, 0, 0.6 );
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*Styling to hide default submit button*/
.hidden-default-submit
{
	display: none;
}

ul.tabs.secondary.hy_403
{
	padding: 0em;
}

/*Hymnal app table of contents page styling*/

td.avail-public
{
	font-weight: bold;
}
td.avail-paid
{
	color: Teal;
}
td.avail-restricted
{
	color: #49121f;
	font-style: italic;
}
p.pager-border
{
	border-top: 1px solid gray;
}
div.toggle-show-app-contents
{
	padding: 20px;
	font-weight: bold;
}
div.toggle-show-app-contents a
{
	font-weight: normal;
}
div.app-contents-spacer
{
	padding: 50px;
}

@media all and ( min-width: 481px )
{
	.onlymobile {
		display: none;
	}
}

.region.region-beforeheader
{
    position: sticky !important;
    top: 0px;
    z-index: 100000 !important;
}

.no-padding {
	padding: 0 !important;
}
