:root {
    --song-height: 400px;
}

    body {
        box-sizing: border-box;
        width: 100%;
        min-width: 360px;
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        font-size: 24px;
    }

    header {
        width: 100%;
        box-sizing: border-box;
        padding: 0.5em 1em;
        margin: 0;
        background-color: #dedede;
    }

    footer {
        width: 100%;
        box-sizing: border-box;
        padding: 0.5em 1em;
        margin: 0;
        background-color: #dedede;
    }

    .container {
        min-width: 360px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 1em;
        margin: 0;
    }

    .content {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    section {
        width: 100%;
        box-sizing: border-box;
    }

    #logo {
        box-sizing: border-box;
        max-height: 3em;
    }

    #intro {
        box-sizing: border-box;
        font-size: 1.25em;
        margin-bottom: 0.5em;
        border-bottom: #dedede 2px solid;
    }

    #intro h2 {
        box-sizing: border-box;
    }

    #intro p {
        box-sizing: border-box;
        width: 100%;
    }
    #intro a {
        font-size: 0.75em;
        color: gray;
    }
    #intro a.artist-link{
        font-size: 1em;
        color: #666666;
    }
    .email-icon{
        height: 1.5em;
        position: relative;
        top: 0.45em;
    }
    ul#songlist {
        box-sizing: border-box;
        list-style: none;
        margin: 2em 0 0 0;
        padding: 0;
    }

    #controls {
        box-sizing: border-box;
        font-size: 1.25em;
        margin-bottom: 0.5em;
        border-bottom: #dedede 2px solid;
        text-align: center;
        padding-bottom: 10px;
    }
    #controls select{
        font-size: 20px;
    }
    #controls input{
        font-size: 20px;
    }
    #songlist .song {
        box-sizing: border-box;
        width: 100%;
        display: block;
        margin-bottom: 10px;
        border-bottom: #dedede 2px solid;
        padding: 0.5em 0;
    }

    #songlist .song .thumbnail {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }

    #songlist .song .credits {
        box-sizing: border-box;
        min-width: 270px;
    }

    #songlist .song .credits .details {
        position: relative;
        font-size: 16px;
        line-height: 1.25em;
        margin-top: 10px;
        max-height: calc(var(--song-height) - 31px);
        overflow-y: auto;
    }

    #songlist .song .synopsis{
        margin: 0.5em 0;
    }
    h5{
        margin: 10px 0 0;
    }
    .social-share a{
        margin: 2px 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 5px 2px;
        color: #fff;
        background-color: #E60023;
        text-decoration: none;
        border-radius: 5px;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 1rem;
        min-width: 120px;
    }
    .social-share a.facebook{
        background-color: #1877F2;
    }
    .social-share a.twitter{
        background-color: #000000;
    }
    .social-share a.pinterest{
        background-color: #E60023;
    }
    .social-share a.email{
        background-color: #777777;
    }
    #songlist .song audio {
        margin-top: 5px;
        box-sizing: border-box;
        width: 85%;
        height: 2em;
        display: inline-block;
    }
    #songlist .song .play {
        position: relative;
    }
    #songlist .song .like {
        box-sizing: border-box;
        height: 2em;
        display: inline-block;
        max-width: 20%;
    }
    #songlist .song .like:hover {
        transform: translateY(-5px) rotate(-20deg);
        cursor: pointer;
    }

    #songlist .song .lyrics {
        box-sizing: border-box;
        /*height: 70vw;*/
        /*overflow-y: scroll;*/
        width: 100%;
        border: #a9a9a9 1px solid;
        padding: 1em;
        font-size: 1em;
        font-style: italic;
        background-color: #efefef;
        margin: 2em 0 0 0;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
    }
    #songlist .song .lyrics h4{
        margin-top: 0;
    }

    .mobile-header {
        display: none;
    }

    .desktop-header {
        margin: 0;
        display: none;
    }
    .copyright{
        font-size: small;
        color: gray;
    }

    #paging{
        box-sizing: border-box;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-between;
    }

    .button{
        display: inline-block;
        padding: 10px;
        border-radius: 5px;
        background-color: gray;
        color: white;
        font-size: 18px;
        font-weight: bold;
        text-decoration: none;
        border: none;
        cursor: pointer;
    }

    .social-link, .link-list-button{
        margin: 2px 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 5px 2px;
        background-color: #02af1d;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 16px;
        min-width: 124px;
    }

    .link-list-button{
        border: 1px solid #adadad;
        background-color: #e8e8e8;
        color: black;
        padding:5px 10px;
        min-width: 200px;
    }
    .link-url{
        position: relative;
        cursor: pointer;
    }
    .link{
        display: inline-block;
        height:30px;
        position: absolute;
        bottom: -5px;
        margin-left: 5px;
    }
    button.search-button{
        border: none;
        position: relative;
        width: 30px;
        height: 30px;
        background: none;
        background-image: url(/images/search.png);
        background-repeat: no-repeat;
        background-size: contain;
        margin-left: 3px;
        margin-right: 30px;
        bottom: -8px;
    }

@media screen and (min-width: 961px){
    body {
        font-size: 16px;
    }
    #logo {
        box-sizing: border-box;
        max-height: 3em;
    }
    .content {
        padding: 0 2em;
    }
    #paging{
        padding: 0 2em;
    }
    #intro {
        box-sizing: border-box;
        font-size: 1.5em;
        margin-bottom: 10px;
        border-bottom: #dedede 2px solid;
    }

    #intro h2 {
        box-sizing: border-box;
    }

    #intro p {
        box-sizing: border-box;
        width: 50%;
    }

    ul#songlist {
        box-sizing: border-box;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #songlist .song {
        box-sizing: border-box;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        margin-bottom: 10px;
        border-bottom: #dedede 2px solid;
        padding: 10px 0;
    }

    #songlist .song .play {
        flex-grow: 1;
    }
    #songlist .song .thumbnail {
        box-sizing: border-box;
        display: block;
        width: var(--song-height);
        height: var(--song-height);
    }

    #songlist .song .credits {
        flex-grow: 4;
        box-sizing: border-box;
        margin: 0 10px;
        padding: 0 5px;
        font-size: larger;
        box-sizing: border-box;
        padding: 0;
        overflow-y: scroll;
        max-height: calc(var(--song-height) + 2em);
        width: calc(70% - var(--song-height));
    }

    #songlist .song .credits .details {
        line-height: 24px;
    }

    #songlist .song .lyrics {
        flex-grow: 1;
        box-sizing: border-box;
        max-height: calc(var(--song-height) + 5em);
        max-width: var(--song-height);
        overflow-y: scroll;
        border: #a9a9a9 1px solid;
        padding: 10px;
        font-size: 16px;
        background-color: #efefef;
        margin: 0;
    }

    .mobile-header {
        display: none;
    }

    .desktop-header {
        display: block;
    }

}

.table-button{
    font-size: 12px;
    padding: 5px 10px;
}

img.table-image {
    width: 60px;
    height: 60px;
}

#admin .container{
    text-align: center;
}
#admin .sect {

}

#admin #tabs.ui-tabs { padding: 0;}

.dt-layout-row {
    text-align: center;
}
.dt-layout-cell{
    margin-bottom: 10px;
}

table,th,td {
    border: 1px solid #999999;
    border-collapse: collapse;
    text-align: center;
}
table {
    margin: 20px 0;
    width:100%;
}
tr:nth-child(even) {background-color: #eeeeee;}
tr:nth-child(odd) {background-color: #FFF;}
th {
    background-color: #BBB;
    font-weight: bold;
    padding:5px 10px;
}

.form-wrapper{
    box-sizing: border-box;
    width:100%;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #cccccc;
}
.form-body{
    box-sizing: border-box;
    width:100%;
    padding: 20px;

}
.form-footer{
    padding-bottom: 20px;
}
.form-header, .table-header{
    margin:0;
    box-sizing: border-box;
    width:100%;
    padding: 5px 20px;
    background-color: #aaaaaa;
    font-size: 18px;
    font-weight: bold;
    color: black;
}
.table-header{
    font-size: 24px;
    padding: 20px;
    background-color: #cccccc;
}

.form-input {
    box-sizing: border-box;
    margin: 10px 0;
    box-sizing: border-box;
    width: 100%;
    vertical-align: center;
    padding: 0;
}
div.form-input label {
    box-sizing: border-box;
    margin:0;
    display: inline-block;
    text-align: right;
    font-weight: bold;
    width:30%;
}
div.form-input input, div.form-input select, div.form-input textarea {
    box-sizing: border-box;
    display:inline-block;
    text-align: left;
    margin:0;
    width:69%;
    height: 24px;
}
div.form-input textarea {
    height: 100px;
}
div.dt-container{
    margin: 20px 0;
}
div.dt-container > div.dt-layout-row:first-of-type{
    text-align: left;
}
header {
    margin-bottom: 30px;
}
header span{
    position: relative;
    font-weight: bold;
    font-size: 30px;
    bottom: 5px;
    margin-left: 40px;
}