/* For licensing/copyright details, see ./license.txt */

.song-top > h1,
.song-top > p {
    display: none;
}
.song-body p {
    font-size: 18px;
}

.song-body h4, .song-body h5, .song-body h6 {
    font-family: Open Sans, Arial, sans-serif;
}
.song-body small {
    font-size: 13px;
}
.song-top {
    padding-top: 2em;
}
.nsh-song-sidebar .product-info {
    display: none !important;
}

.single-song .song-top {
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
    width: 80%;
}

.song-top h1 {
    font-size: 32px;
    margin-bottom: 0.2em;
}
.song-top .song-album-subtitle {
    margin-bottom: 1em;
}
.song-top .song-album-subtitle a {
    font-style: italic;
}

.single-song .song-body {
    max-width: 1280px;
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 2em;
    padding-top: 2em;
}

.song-body h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.song-body .esv-crossref-link {
    color: #55898f !important;
}
.song-body .esv-crossref-link:hover {
    color: #444444 !important;
}
.song-main {
    width: 60%;
}
.song-main > div {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 2em 1.5em;
    margin-bottom: 2em;
}
.song-sidebar {
    width: 40%;
    text-align: center;
}
.song-lyrics p, .song-devotional p {
    padding-bottom: 2em;
    position: relative;
}
.song-devotional.nsh-readmore-collapsed  p {
    max-height: 9em;
    overflow: hidden;
}
.nsh-readmore-collapsed .nsh-readmore-hidden {
    display: none;
}
.song-about .nsh-readmore-toggle {
    margin-top: 1em;
    padding: 1em 1.5em;
}
.song-sidebar h2 {
    margin-bottom: 0.5em;
}
.song-sidebar > div {
    border: 1px solid #ccc;
    padding: 2em 1.5em;
    margin-bottom: 2em;
    background-color: #fff;
}
.song-sheet-music {
    text-align: left;
}
.song-sheet-music h2 {
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}
.song-sheet-music h2 span {
    font-weight: normal;
    text-transform: none;
    /*font-size: 0.67em;*/
    line-height: 1.5;
    white-space: normal;
}
.song-sheet-music > label {
    display: block;
    clear: right;
}
.song-sheet-music select {
    width: 67%;
    float: right;
    margin-bottom: 0.5em;
}
.song-sheet-music h3, .song-sheet-music .instrument-group-main h4 {
    display: none;
}
.song-sheet-music .instrument-group-collapsed .song-sheet-music-row {
    display: none;
}
.song-sheet-music h4 {
    background-color: #55898f;
    padding: 1em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    font-size: 1em;
    cursor: pointer;
}
.song-sheet-music h4 a, .song-sheet-music h4 a:hover {
    color: #fff;
}
.song-sheet-music h4 a::after {
    content: '\25b2';
    float: right;
}
.song-sheet-music .instrument-group-collapsed h4 a::after {
    content: '\25bc';
    float: right;
}
.song-sheet-music small a {
    text-decoration: underline;
    color: #55898f;
}
.song-sheet-music-form {
    display: none;
}
.song-sheet-music-form:first-child {
    display: block;
}
/*
.song-sheet-music-form > div:first-child {
	width: 100%;
	max-height: 620px;
	overflow-x: hidden;
	overflow-y: auto;
}
*/
.song-sheet-music small {
    font-size: 12px;
    line-height: 1;
}
.song-sheet-music-form > button, .song-sheet-music-form > .button {
    width: 100%;
    margin-top: 0.5em;
    box-sizing: border-box;
    text-align: center;
}
.song-sheet-music-form > .button i {
    margin-left: 0.5em;
}
.song-sheet-music-row {
    clear: both;
    white-space: nowrap;
    display: flex;
    position: relative;
}
.song-sheet-music-row.song-sheet-music-bundle > * {
    background-color: rgba(85,137,143,0.25);
}
.song-sheet-music-row.song-sheet-music-bundle h5 {
    font-weight: bold;
}
.song-sheet-music-row.song-sheet-music-bundle h5 span {
    font-weight: normal;
}
.song-sheet-music-row > * {
    float: left;
    padding: 0.5em 0.25em;
    width: 20%;
    text-align: center;
    display: block;
    border-bottom: 1px solid #000;
}
.song-sheet-music-row > h5 {
    padding-left: 0.5em;
}
.song-sheet-music-row > :last-child {
    padding-right: 0.5em;
}
.song-sheet-music-row:last-child > * {
    border-bottom: 0;
}
.song-sheet-music-row > h5 {
    width: 40%;
    text-align: left;
    white-space: normal;
}
.song-sheet-music-row label, .song-sheet-music-row h5 {
    font-weight: normal;
    font-size: 1em;
    color: #818181;
    text-transform: none;
}
.song-sheet-music-row h6 {
    display: none;
}
.song-sheet-music-row > .nsh-product-description {
    display: none;
}
.song-sheet-music-row.song-sheet-music-row-first {
    padding-top: 4em;
}
.song-sheet-music-row.song-sheet-music-row-first h6 {
    display: block;
    font-size: 0.8em;
    white-space: nowrap;
    line-height: 1.2;
    padding-bottom: 0.75em;
    margin-top: -3.8em;
    text-transform: none;
}
.song-sheet-music-row.song-sheet-music-row-first h6 i {
    font-size: 1.2em;
    margin-top: 0.33em;
}
.song-sheet-music-form .song-sheet-music-key {
    /*font-size: 0.8em;*/
    font-style: italic;
    display: block;
}
.song-sheet-music-row .nsh-view-in-basket {
    color: #55898f;
    font-size: 1.5em;
}
.song-sheet-music-key-fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.song-sheet-music-key-fields input {
    vertical-align: middle;
}
.song-sheet-music-key-fields label {
    white-space: nowrap;
}
.song-sheet-music-key-fields label span {
    display: inline-block;
    color: #fff;
    background-color: #55898f;
    border-radius: 3px;
    padding: 0 0.33em;
}
.song-sheet-music .nsh-item-price {
    display: block;
    border-radius: 3px;
    background: #55898f;
    color: #fff;
    padding: 0 0.2em;
}
.song-sheet-music .nsh-item-price-free {
    background: #8f5756 !important;
    color: #fff !important;
}
.song-sheet-music-not-available span {
    display: none;
}
.song-sheet-music-not-available::after {
    content: '\2014';
}
.song-sheet-music-badge-bundle, .song-sheet-music-badge-popular {
    background-color: #55898f;
    color: #fff;
    border-radius: 0.33em;
    padding: 0.33em 0.5em;
    margin-top: 0.33em;
    font-size: 0.8em;
    display: inline-block;
    line-height: 2;
}
.song-sheet-music-badge-popular {
    background-color: #8f5756;
}
.nsh-added-to-cart {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-top-width: 3px;
    border-left-width: 3px;
    padding: 1em;
    z-index: 99;
    position: absolute;
}
.nsh-added-to-cart p {
    margin-bottom: 0.5em;
}
.nsh-added-to-cart a:not(:last-child) {
    margin-right: 0.5em;
}
.song-sheet-music-pack {
    position: absolute;
    width: 160px;
    left: -120px;
    top: 8px;
    white-space: normal;
    transform: rotate(-20deg);
    background: none !important;
    border: 0;
    font-weight: bold;
    line-height: 1.5;
}
.song-sheet-music-pack i {
    display: block;
    font-size: 30px;
    transform: rotate(180deg);
}

/** Album **/

.tax-album .album-body {
    max-width: 1280px;
    width: 80%;
    margin: 0 auto;
    display: flex;
    padding: 3rem 1em;
}

.tax-album .album-image {
    width: 33%;
    margin-right: 3%;
    margin-bottom: 2em;
}
.tax-album .album-image img {
    height: auto !important;
}

.tax-album .album-details {
    width: 64%;
}

.tax-album .album-details h1 {
    font-size: 32px;
}
.tax-album .album-details h1 span {
    color: #aaa;
    font-style: italic;
    font-size: 0.8em;
}

.tax-album .album-details .album-tracklist {
    column-count: 2;
    padding: 0;
    list-style-type: decimal;
}
.tax-album .album-details .album-tracklist li {
    margin-left: 1.5em;
}

.tax-album .album-details h2 {
    font-size: 24px;
    margin-top: 1em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    font-weight: bold;
}
.tax-album .nsh-product-icons {
    display: flex;
    flex-wrap: wrap;
}
.tax-album .nsh-product-icons > div {
    width: 31.33%;
    margin-left: 0;
    margin-right: 3%;
    margin-bottom: 1em;
}

.tax-album .nsh-product-icons > div:nth-child(3) {
    margin-right: 0;
}

.tax-album .nsh-product-icons .nsh-product-license-598 {
    background-color: #395b60;
}

.tax-album .nsh-product-icons .nsh-product-license-602 {
    background-color: #1d2e30;
}

/** Song/album common **/

.nsh-product-icons {
    text-align: center;
}
.nsh-product-icons > div {
    display: inline-block;
    vertical-align: top;
    width: 46%;
    margin: 0 2%;
    margin-bottom: 0.67em;
}
.nsh-product-icons > div > .button {
    font-size: 0.8em;
    display: block;
    padding: 0.5em;
    white-space: nowrap;
    position: relative;
    line-height: 1.5;
}
.nsh-product-icons > div i {
    font-size: 3em;
    margin-bottom: 0.1em;
}
.nsh-product-icons > div > .button .nsh-item-price {
    color: #55898f;
    background-color: rgba(255,255,255,0.75);
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    border-radius: 3px;
    padding: 0 0.2em;
    line-height: 1.3;
}
.nsh-product-icons > div > .button .nsh-item-price-free {
    background: #8f5756;
    color: #fff;
}
.nsh-product-icons .nsh-product-title {
    display: block;
}

.nsh-product-icons > div > .nsh-product-description {
    display: none;
}
.nsh-product-icons .nsh-product-license {
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    font-style: italic;
    text-transform: lowercase;
}
.nsh-readmore-overlay {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4em;
    background-image: linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            rgba(255,255,255,1) 100%
    );
}
.nsh-readmore-expanded .nsh-readmore-overlay {
    display: none;
}
a.button.nsh-readmore-toggle {
    padding: 0.5em;
    /*font-size: 0.7em;*/
}


.nsh-product-icons .tippy-box, .album-resources-upsell .tippy-box {
    background-color: #3d6266;
}
.nsh-product-icons .tippy-arrow, .album-resources-upsell .tippy-arrow {
    color: #3d6266;
}
.nsh-product-icons .tippy-content, .album-resources-upsell .tippy-content {
    padding: 1em;
}
.nsh-product-icons .tippy-content .nsh-product-title, .album-resources-upsell .tippy-content .nsh-product-title {
    font-weight: bold;
}
.nsh-product-icons .tippy-content .nsh-product-description, .album-resources-upsell .tippy-content .nsh-product-description {
    text-align: center;
    line-height: 1.5;
    margin-bottom: 0.5em;
}
.nsh-product-icons .tippy-content .button, .album-resources-upsell .tippy-content a.button {
    background-color: #fff !important;
    color: #3d6266 !important;
    padding: 0.5em;
    border: 0 !important;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 1.5;
}
.nsh-product-icons .tippy-content .button i, .album-resources-upsell .tippy-content a.button i {
    font-size: 1em;
}
.nsh-product-icons .tippy-content .button i:first-child, .album-resources-upsell .tippy-content a.button i:first-child {
    margin-right: 0.5em;
}
.nsh-product-icons .tippy-content .button i:last-child, .album-resources-upsell .tippy-content a.button i:last-child {
    margin-left: 0.5em;
}


body div.album-resources-upsell {
    background-color: #55898f;
    color: #fff;
    padding: 1em;
    margin-bottom: 1em;
}
.album-resources .album-resources-upsell {
    margin-top: 2em;
}
.album-resources-upsell img {
    width: 200px !important;
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}
.album-resources-upsell h2, .album-resources-upsell h3 {
    clear: none;
    text-transform: none;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.5em;
}
.album-resources-upsell .album-resources-upsell-buttons {
    clear: left;
    padding-top: 1em;
    margin: 0 -0.25em;
    text-align: center;
}
.album-resources-upsell .album-resources-upsell-buttons > div {
    display: inline-block;
    width: 33.33%;
    padding: 0 0.25em;
    margin-top: 0.5em;
    box-sizing: border-box;
}
.album-resources-upsell .album-resources-upsell-buttons .album-resources-upsell-button {
    color: #55898f !important;
    background: #fff !important;
    padding: 0.5em !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
.album-resources-upsell .album-resources-upsell-buttons .album-resources-upsell-button > span {
    display: block;
}
.album-resources-upsell .album-resources-upsell-button .nsh-item-price {
    color: #fff;
    background-color: #55898f;
    border-radius: 3px;
    padding: 0 0.2em;
    font-size: 0.8em;
}
.album-resources-upsell .album-resources-upsell-button i {
    font-size: 1.75em;
    line-height: 1.5;
}
.song-body .button, .song-body button, .album-body .button {
    color: #fff;
    background-color: #55898f;
    line-height: 1;
    display: inline-block;
    border: 0;
    padding: 1em;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
}


/** Song List **/

.song-list-container {
    max-width: 1280px;
    width: 80%;
    margin: 0 auto;
    padding: 2em 1em;
}
.song-list-container h1 {
    font-size: 32px;
    margin-bottom: 1em;
}
.song-list {
    margin-left: 2em;
}
.song-list li {
    margin-bottom: 1em;
    font-size: 1.5em;
    line-height: 1;
}
.song-list li > a {
    font-style: italic;
    line-height: 1.25;
}
.song-list-appears-on {
    font-weight: normal;
    font-size: 0.5em;
}

/** Basket **/

table.shop_table #nsh-free-item-note {
    font-size: 0.75em;
    text-align: justify;
    line-height: 1.5;
}
table.shop_table dt.variation-product-type, table.shop_table dt.variation-sheetmusiclicense {
    display: none;
}
table.shop_table dd.variation-product-type, table.shop_table dd.variation-sheetmusiclicense {
    padding: 0;
}
table.shop_table .variation-sheetmusiclicense p {
    font-size: 0.8em;
}
body.woocommerce-cart .cart_totals, body.woocommerce-cart .cross-sells {
    width: 100% !important;
    float: none !important;
}


/** NSH responsive **/

@media screen and (max-width: 1000px) {
    
    .single-song .song-body {
        display: block;
    }
    
    .song-top, .album-body, .song-list-container {
        margin-top: 0 !important;
    }
    
    .song-main, .song-sidebar {
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .album-resources-upsell {
        text-align: center;
    }
    
    .album-resources-upsell img {
        float: none;
    }
    
    .album-resources-upsell .button .nsh-item-price {
        display: table;
        margin: 0.5em auto;
        padding: 0.25em;
    }
    
    .song-main, .song-sidebar, .song-top {
        padding: 1em;
    }
    
    .song-sheet-music-pack {
        width: 100px;
        left: -0.75em;
        top: -30px;
        transform: none;
        text-align: left;
    }
    
    .song-sheet-music-pack i {
        transform: rotate(225deg);
        text-align: right;
        position: relative;
        top: 20px;
        left: -30px;
    }
    
    .song-sheet-music-form {
        padding-top: 40px;
    }
    
    .tax-album .album-body {
        display: block;
    }
    
    .tax-album .album-image {
        float: left;
        width: 47%;
    }
    
    .tax-album .album-details {
        width: auto;
    }
    
    .tax-album .album-download {
        clear: left;
    }
    
    .tax-album .nsh-product-icons > div {
        width: 48%;
    }
    
    .tax-album .nsh-product-icons > div:nth-child(3) {
        margin-right: 3%;
    }
    
    .tax-album .album-details .album-tracklist {
        column-count: 1;
    }
    
}


@media screen and (max-width: 500px) {
    
    .album-resources-upsell .album-resources-upsell-buttons > div,
    .nsh-product-icons > div {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .song-sheet-music-row.song-sheet-music-row-first h6 {
        white-space: normal;
        max-width: 6em;
        margin: 0 auto;
        margin-top: -5em;
    }
    
    .song-sheet-music-key-fields label {
        margin-bottom: 0.5em;
    }
    
    .tax-album .album-image, .tax-album .album-details {
        width: 100%;
        margin: 0;
    }
    
    .tax-album .nsh-product-icons {
        display: block;
    }
    
    .tax-album .nsh-product-icons > div {
        width: 100%;
        max-width: none;
        margin-right: 0;
    }
    
}