*, *:before, *:after {
    box-sizing: inherit;
    font-size: inherit;
    outline: none;
}

html {
    box-sizing: border-box;
    height: 100%;
}

body {
    background-color: #f6f8f9;
    font-family: Arial, sans-serif;
    font-size: 15px;
    height: 100%;
}

#player {
    display: none;
}

#wrap {
    background-color: #fff;
    position: relative;
    height: 100%;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, .15);
    overflow: hidden;
}

#topbnr {
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #f2f2f2;
}

.top {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;
    height: 50px;
}

.top-logo {
    display: block;
    flex-basis: 50px;
    height: 50px;
    background-image: url(img/radio.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f2f2f2;
}

.top-timer {
    width: 72px;
    line-height: 50px;
    text-align: center;
    border-right: 1px solid #eee;
}

.top-search {
    position: relative;
    flex: 1 0 calc(100% - 125px);
}

.top-search:before {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    color: #aaa;
    font-family: FontAwesome;
    content: '\f002';
}

.top-search input {
    display: block;
    width: 100%;
    height: 50px;
    border: 0;
    padding: 0 50px 0 20px;
}

.progress-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 65px;
    height: 15px;
    background-color: #ddd;
    cursor: pointer;
}

#progress {
    width: 0;
    height: 15px;
    background-color: rgb(253, 164, 29);
    /*transition: all ease-in-out .25s;*/
}

.header {
    display: flex;
    background-color: #fff;
    position: absolute;
    top: 80px;
    height: 45px;
    width: 100%;
}

.header-logo {
    display: block;
    flex-basis: 121px;
    height: 45px;
    background-image: url(img/logo.png);
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    flex-basis: 136px;
    background-color: #f2f2f2;
    border-left: 1px solid rgba(255, 255, 255, .8);
    border-right: 1px solid rgba(255, 255, 255, .8);
}

.control {
    background-color: #fff;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
    transition: all ease-in-out .25s;
}

.control:last-child {
    margin-right: 0;
}

.control:hover {
    background: rgba(255, 255, 255, .3);
}

.control .fa-play {
    padding-left: 4px;
}

.volume-container {
    background-color: #f2f2f2;
    position: relative;
    height: 45px;
    flex-basis: calc(100% - 257px);
    padding: 0 5px;
}

.volume-container .irs-min,
.volume-container .irs-max,
.volume-container .irs-single {
    display: none;
}

.volume-container .irs-bar-edge,
.volume-container .irs-line,
.volume-container .irs-bar {
    top: 17px;
}

.volume-container .irs-bar-edge,
.volume-container .irs-bar {
    background: rgb(253, 164, 29);
}

.volume-container .irs-bar-edge {
    border-radius: 50% 0 0 50%;
}

.volume-container .irs-slider {
    top: 14px;
    background: rgb(253, 164, 29);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

#volume {
    display: none;
}

#playlist {
    position: absolute;
    top: 125px;
    left: 0;
    bottom: 45px;
    right: 0;
    overflow-y: scroll;
    border-top: 1px solid #fafafa;
    border-bottom: 1px solid #fafafa;
}

.playlistItem {
    display: block;
    cursor: pointer;
    transition: all ease-in-out .25s;
}

.playlistItem:first-child {
    border-top: 0;
}

.playlistItem--active,
.playlistItem:hover {
    background-color: rgba(0, 0, 0, .05);
}

.playlistItem-title {
    padding: 15px 20px;
}

#bnr {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background-color: #f2f2f2;
}
