.music-container {
    position: relative;
    /*display: flex;*/
    display: inline-block;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.3);
    max-height: 290px;
    margin-bottom: 40px;
}

.album-cover {
    flex: 1 0 30%;
    /*spazio per eventuale copertina*/
    display: none;
}
.album-cover img {
    width: 100%;
    height: 100%;
}

.arrow {
    position: absolute;
    top: calc(50% - 2.5em);
    background: rgba(255, 255, 255, 0.3);
    border: 0;
    width: 5em;
    height: 5em;
    cursor: pointer;
    display: none;
}
.arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}
.arrow img {
    display: block;
    width: 20px;
    margin: 0 auto;
}
.arrow.left {
    left: -5em;
}
.arrow.right {
    right: -5em;
}

.music-player {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    background: white;
    padding: 1em;
    text-align: center;
    width: 500px;
    max-width: 500px;
}
.music-player__title {
    margin: 0 0 0.1em 0;
}
.music-player__author {
    margin: 0 0 0.5em 0;
    display: none;
}

.music-bar {
    background: #efefef;
    stroke-width: 1;
    height: 8px;
    width: 100%;
}
.music-bar:hover {
    cursor: pointer;
}
.music-bar #length {
    width: 0%;
    background: #2196F3;
    height: 100%;
    transition: width linear 200ms;
}

.music-time {
    display: flex;
    flex-flow: row wrap;
}
.music-time__last {
    margin-left: auto;
}

.music-order {
    display: flex;
    flex-flow: row wrap;
}
.music-order__shuffle, .music-order__loop {
    width: 1.2em;
    height: 1.2em;
    opacity: 0.2;
    margin: 0.3em 0;
    /*audioLoop e audioShuffle*/
    display: none;
}
.music-order__shuffle.is-loop, .music-order__loop.is-loop {
    opacity: 1 !important;
}
.music-order__shuffle.is-loop-one, .music-order__loop.is-loop-one {
    opacity: 1 !important;
}
.music-order__shuffle {
    margin-left: auto;
}

.music-control {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    height: 2em;
}
.music-control__play {
    width: 3em;
    height: 3em;
    margin: 0 1em;
    cursor: pointer;
}
.music-control__backward, .music-control__forward {
    /*width: 1.5em;*/
    height: 1.5em;
    cursor: pointer;    
}

.disclaimer {
    font-size: 0.9em;
    margin-top: 1em;
    text-align: center;
}
.disclaimer a {
    color: #2196F3;
}

/*Effetto fade per testo*/
.fade-in {
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
    -moz-animation: fadeIn ease 1s;
    -o-animation: fadeIn ease 1s;
    -ms-animation: fadeIn ease 1s;
}
@keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@media all and (max-width: 960px) {
    
    .music-container {
        flex-flow: column wrap;
        max-height: inherit;
        max-width: 270px;
        margin: 0 auto 30px auto;
        overflow: auto;
        width: 100%;
    }
    
    .music-player {
        width: 100%;
        max-width: 100%;
    }
    .music-player__title {
        font-size: 1.5em;
        /*display: none;*/
    }
    .music-player__author {
        font-size: 1em;
    }
    
    .album-cover {
        position: relative;
        flex: 1 1 100%;
        max-width: 270px;
        max-height: 270px;
    }
    
    .arrow {
        position: absolute;
        top: calc(50% - 1.5em);
        width: 3em;
        height: 1em;
        background-color: transparent;
        
    }
    .arrow.left {
        left: 0;
    }
    .arrow.right {
        right: 0;
    }
    
    .music-control__play {
        width: 2.2em;
        height: 2.2em;
    }
}