body {
    background:#f3f3f3;
/*    background: rgb(168,0,20);
    background: linear-gradient(180deg, rgba(168,0,20,1) 19%, rgba(195,32,51,1) 32%, rgba(255,255,255,1) 80%);*/
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 0;
}
.full-screen-div {
    width: 100vw;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}
#header, #headervid, #footer, #audio-panel, #subjectPlayer {
    background: #c32033;
}
h1 {
    padding-top: 2%;
    font-size: 22px;
    text-align:center;
    color: white;
    float:none;

}
h2, #secondaryMetaData {
    font-size: 13px;
    text-align: center;
    color: #f5f5f5;
    font-weight: normal;
    border-bottom: 0px solid #3c3c3c;
    float:none;

}
#headerimg {
    padding-top: 0px;
    padding-left:30px;
    margin: 0px;
    width: 100%;
    max-width: 340px;
    float:none;
}

#header {
    border-bottom: 5px solid #7d7260;
    width: 72%;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    padding-top: 10px;
    position:relative;
}

#headervid h1 {
    margin-top: 10px;
}

#audio-panel .centered, #audio-panel div.jp-audio, div.jp-audio ul.jp-controls {
    padding-left: 4%;
    padding-right: 3%;
}
.center {
    width: 100% !important;
}
#footer {
    border-top: 3px solid #7d7260;
    width: 72%;
    height: auto;
    margin: 0 auto;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
#footer strong {

    font-size: 12px;
    font-weight: normal;
    color: #f1f1f1;
}
#rightsStatement, #fundingStatement, #usageStatement {
    display: none;
    padding-left:5px;
    font-size: 10px;
}

#main {
    width: 72%;
    height: 550px;
    margin: auto;
    border: 1px solid #c2c2c2;
    border-width: 0 1px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.search-button {
    margin-top: 7px;
    margin-right: 5px;
    margin-left:1px;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    color: #3c3c3c;
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 15px;
    text-decoration: none;
    text-shadow: 1px 1px 0px #ffffff;
}
.searchclear-button {
    margin-top: 7px;
    margin-right: 5px;
    margin-left:1px;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background-color: #ededed;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    display: none;
    color: #3c3c3c;
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 15px;
    text-decoration: none;
    text-shadow: 1px 1px 0px #ffffff;
}
.kw-empty {
    color: lightgrey;
    height: 20px;
    padding-left: 5px;
    padding-right:5px;
    border-radius: 5px;
    border: 1px solid;
}

#footer-metadata {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    float: left;
}

.kw-entry {
    color: black;
}
#searchbox-panel p {
    padding-left: 2em;
}

#subjectPlayer {
    display: block;
    height: 30px;
    width: 500px;
    background-color: #3c3c3c;
}

#footer-copyright {
    text-align: right;
    padding-right: 15px;
    padding-top: 15px;
}

img {
    border: 0;
    display:inline-block;
    position:relative;
    float: none;
    padding: 15px;
    margin:0px;

}
#footer div {
    color: #f5f5f5;
}

@media only screen and (max-width: 800px) {
div.jp-audio div.jp-volume-bar{left:340px !important;}
 #transcript-panel {
        padding: 0;
        top: 0px;
        height: 500px !important;
        width: 100%;
        float: none;
        margin: 0;
        position: relative;
    }
    
    #searchbox-panel {
        width: 100%;
        margin: 0;
        height: auto !important;
        float: left;
        max-width: 100%;
        padding: 0 15px;
        margin: 15px 0;
    }
}

@media only screen and (max-width: 600px) {
    #headerimg {
        width: 100%;
        max-width: 350px;
    }
    #header {
        width: 100%;
    }
    #subjectPlayer {
        width: 100% !important;
    }
    div.jp-audio div.jp-volume-bar{
        display: none;
    }
}
@media (max-width: 576px) {
    #headerimg {
        width: 100%;
        max-width: 325px;
    }
    #header {
        width: 100%;
    }

    #main{
        width:100%;
    }
    #footer
    {
        width:100%;
    }
    /* jplayer */
    .jp-video video, .jp-audio, .jp-controls-holder {
        width: 100% !important;
        height: auto;
    }
    div.jp-audio div.jp-type-single div.jp-time-holder {
        width: auto !important;
    }
    div.jp-audio div.jp-volume-bar, a.jp-mute {
        display: none;
    }
    .jp-video, .jp-video > div, .jp-video img {
        height: auto !important;
        width: 100% !important;
    }

    .jp-video-360p {
        max-width: 570px !important;
    }

    .jp-video-270p {
        max-width: 480px !important;
    }

    .jp-progress {
        width: 130px;
    }
}

@media (max-width: 480px) {
    #headerimg {
        width: 100%;
        max-width: 295px;
    }
    #header {
        width: 100%;
    }

    #main{
        width:100%;
    }
    #footer
    {
        width:100%;
    }
    .transcript-panel{
         width:100%;
    }
    .jp-video video, .jp-audio, .jp-controls-holder {
        width: 100% !important;
    }
    div.jp-audio div.jp-volume-bar-value,  a.jp-mute{
        display: none;
    }
    .div.jp-seek-bar{
        max-width: 50px !important;
    }
    div.jp-audio div.jp-type-single div.jp-time-holder {
        width: auto !important;
    }
    .jp-video, .jp-video > div, .jp-video img {
        height: auto !important;
        width: 100% !important;
    }

    .jp-video-360p {
        max-width: 570px !important;
    }

    .jp-video-270p {
        max-width: 480px !important;
    }

    .jp-progress {
        width: 130px;
    }
}

@media (max-width: 360px) {
    #headerimg {
        width: 100%;
        max-width: 275px;
    }
    #header {
        width: 100%;
    }
    #main{
        width:100%;
    }
    #footer
    {
        width:100%;
    }
    #subjectPlayer {
        width: 100% !important;
        overflow-x: hidden; 
    }

    div.jp-audio div.jp-volume-bar-value,  a.jp-mute{
        display: none;
    }
    .div.jp-seek-bar{
        max-width: 39px !important;
    }
    .jp-video video, .jp-audio, .jp-controls-holder {
        width: 100% !important;
    }

    .jp-video, .jp-video > div, .jp-video img {
        height: auto !important;
        width: 100% !important;
    }

    .jp-video-360p {
        max-width: 570px !important;
    }

    .jp-video-270p {
        max-width: 480px !important;
    }

    .jp-progress {
        width: 90px;
    }
}

