/*
 * Audio player styles (unconditional)
 */

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

.inline {
    display: none;
}

.inline textarea {
    width: 380px;
    height: 100px;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.audio-wrapper {
    width: 550px;
    margin: 15px auto;
    border-radius: 12px;
    z-index: 2;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    color: white;
    overflow: hidden;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #000;
}

.audio-wrapper h3 {
    font-family: 'Nunito', sans-serif;
    width: auto;
    line-height: 1.4;
    font-size: 16px;
    color: #000;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.audio-wrapper .audio-controls {
    position: relative;
    display: flex;

}

.audio-wrapper .audio-controls > div {
    display: inline-block;
    vertical-align: middle;
}



.audio-wrapper .audio-controls .left {
    width: 65%;

}

.audio-wrapper .audio-controls .right {
    width: 35%;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.audio-wrapper .audio-controls .right img {
    object-fit: cover;
    width: 140px;
    height: 140px;
    max-width: inherit;
}

.audio-wrapper button {
    background-color: #fff;
    color: #666;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}
.audio-wrapper button svg {
    width: 20px;
    height: 20px;
}
.audio-wrapper button:hover svg {
    stroke: #000;
}

.audio-wrapper a {
    color: #000;
    text-decoration: none;
}
.audio-wrapper .right a {
    padding: 0;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}
.audio-wrapper .right .blur {
    background: #9CBEBE;
    right: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0.8;
}

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

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

.audio-embed-header {
    border-bottom: 1px solid #000;
    font-size: 1.3em;
    padding: .3em 0;
    text-align: center;
}

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

.audio-wrapper .buttons {
    text-align: right;
    margin: -25px 0 25px;
}
.audio-wrapper .playback-controls,
.audio-wrapper .volume-controls {
    display: flex;
    align-items: center;
    margin: 0 10px 20px;
}
.audio-wrapper .playback-controls {
    margin: 29px auto 15px;
}
.audio-wrapper .volume-controls {
    margin: 0;
}


.audio-wrapper .volumeSlider[orient=vertical] {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 5px;
    height: 60px;
    padding: 0 5px;
    /* for IE 9 */
    box-sizing: content-box;
    margin-left: 13px;
    /* added by cylinders.js if not IE 9 */
    /* height: 10px; */
}

.audio-wrapper .volumeSlider[orient=vertical]::-webkit-slider-thumb,
.audio-wrapper .volumeSlider[orient=vertical]::-moz-slider-thumb {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 8px;
    height: 100px;
    padding: 0 5px;
    background-color: #ebebeb;
    border-radius: 100%;
    cursor: pointer;
}

.audio-wrapper .volumeSlider::-moz-range-track {
    border: none;
    background: #003660 !important;
}
.audio-wrapper .volumeSlider:hover::-moz-range-track {
    border: none;
    background: #04859B !important;
} 

.audio-wrapper .volumeSlider::-moz-range-thumb {
    background: #ebebeb;
    border-radius: 100%;
    cursor: pointer;
}
.audio-wrapper .bar {
    width: 100%;
    position: relative;
    background-color: #ebedf0;
    margin: 10px;
}

.audio-wrapper .barProgress {
    position:absolute;
    background-color: #0d47a1;
}

.audio-wrapper .bar,
.audio-wrapper .barProgress {
    height:5px;
    border-radius: 4px;
}
.audio-wrapper .currentTime {
    font-weight: 700;
    padding: 5px 0 4px 0;
}
.audio-wrapper .durationDisplay {
    font-weight: 700;
    padding: 5px 0 4px 0;
}

.audio-wrapper .audio-credit p {
    margin-bottom: 10px;
    color: #000;
    font-weight: bold;
    line-height: 1.1em;
}

@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: 550px) {
    .audio-wrapper {
        width: 100%;
    }
    .audio-wrapper .audio-controls {
        flex-direction: column;
    }
    .audio-wrapper .audio-controls .left {
        width: 100%;
        order: 2;
    }
    .audio-wrapper .audio-controls .right {
        order: 1;
        width: 100%;
        height: 250px;
    }
    .audio-holder {
        display: block !important;
    }
    .pitchTempoCtrls {
        width: 100% !important;
        display: flex !important;
        margin: 0 15px 0 0 !important;
        justify-content: space-between;
    }
    .pitchSec, .tempoSec {
        width: 50%;
    }
    .audio-wrapper .bar {
        width: 100% !important;
    }
    .tempoSec {
        margin: 0 0 0 -1px !important;
    }
}
@media screen and (max-width: 360px){
    .button-holder {
        flex-direction: column;
    }
    .button-holder > div {
        margin-bottom: 10px;
    }
    .pitchTempoCtrls {
        margin: 0 !important;
    }
    .audio-wrapper .bar {
        width: 34%;
    }
}