/*
 * Audio player styles (unconditional)
 */

/* extending pure.css */
.fa-lg {
    padding-right: 5px;
}

.audio-wrapper .audio-left, .audio-wrapper .audio-right {
    display: inline-block;
}

.audio-wrapper .audio-left {
    width: 70%;
}

.audio-wrapper .audio-right {
    padding-left: 2%;
    width: 24%;
}

.audio-wrapper .audio-right img {
    max-width: 100%;
}


button {
    background-color: #ACC3E1;
    border: none;
}

/* audio player on search detail page */
.detail-audio {
    padding: 1em;
    margin: 15px auto;
    max-width: 600px;
}
.detail-audio h3 {
    margin-top: 0;
}

/* audio player on cylinder of the day */
.track-info {
    padding: .625em;
    color: white;
}

.track-info h2,
.track-info h3 {
    margin-top: 0;
    font-weight: 200;
}

.track-info p {
    font-size: 125%;
}

/* generic audio player */
.audio-wrapper {
    /* must be above other elements to capture click events */
    z-index: 2;

    background-color: #ACC3E1;
    color: white;
    overflow: hidden;
}

.audio-wrapper a {
    text-decoration: none;
    color: white;
}
.audio-wrapper p a {
    text-decoration: underline;
}

.audio-wrapper a:hover {
    text-decoration: underline;
}

.audio-wrapper input {
    width: 100px;
}

.volumeSlider {
    -moz-appearance: none;
    -webkit-appearance: none;

    background-color: #333333;
    border-radius: 4px;

    /*for IE 11*/
    padding: 0px;
    color:transparent;

    /* for IE 9 */
    box-sizing: content-box;
    /* added by cylinders.js if not IE 9 */
    /* height: 10px; */
}

.volumeSlider::-webkit-slider-thumb,
.volumeSlider::-moz-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #ebebeb;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    cursor: pointer;
}

.volumeSlider::-moz-range-track {
    border: none;
    background: #333333;
}

.volumeSlider::-moz-range-thumb {
    background: #ebebeb;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    cursor: pointer;
}

.playback-controls > * {
    float: left;
}

.bar {
    width: 100px;
    position:relative;
    background-color: #333333;
    margin: 9px 5px auto 5px;
}

.barProgress {
    position:absolute;
    background-color: #ebebeb;
}

.bar,
.barProgress {
    height:10px;
    border-radius: 4px;
}

.currentTime,
.durationDisplay {
    margin-top: -2px;
}
.currentTime {
    padding: 5px 0 5px 5px;
}
.durationDisplay {
    padding: 5px 25px 5px 0;
}

.muteButton {
    margin-right: -10px;
}

.download {
    margin-left: 5px;
    float: left;
    clear: left;
}

.share {
    float: right;
}
.share:last-child {
    padding-right: 1em;
}

.share,
.download {
    margin-top: .625em;
}
.share ul,
.share li {
    display: inline;
    padding: 0;
}
.share li {
    padding-left: .5em;
}

@media screen and (min-width: 48em) {
    .detail-audio {
        width: 75%;
        border-radius: 5px;
    }
    .track-info,
    #site-introduction {
        width: 67.1%;
        position: absolute;
        border-right: 5px solid white;
    }
    .track-info {
        bottom: 0;
    }
}

@media screen and (max-width: 48em) {
    .volume-controls {
        clear: left;
        padding-left: 45px;
    }
}