html,
body {
    height: 100%;
    font-family: MplusRegular, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: RGBA(255, 255, 255, 0.8);
    display: none;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ff8606;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ffb02a;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ffda4a;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg); /* IE 9 */
        transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg); /* IE 9 */
        transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
    }
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -300px;
    padding: 0 0 300px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    min-height: 310px;
    background-color: #333;
    border-top: 1px solid #222;
    padding-top: 20px;
    padding-bottom: 70px;
    color: #ffffff;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.img-responsive {
    display: inline-block;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.label-primary {
    background-color: #ff5b00;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #ff8606;
    /*background-image: linear-gradient(to bottom, #ff8606 0, #ffa100 100%);*/
    outline: 0;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    z-index: 2;
    color: #bb4300;
    background-color: #eeeeee;
    border-color: #ddd;
}

.btn-primary {
    color: #fff;
    background-color: #ff8606;
    border-color: #d86f00;
    /*background-image: linear-gradient(to bottom, #ff8606 0, #ffa100 100%);*/
}

.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary,
.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary:active:hover {
    color: #fff;
    background-color: #f99933;
    border-color: #fb8b15;
    /*background-image: linear-gradient(to bottom, #ff8606 0, #ffa100 100%);*/
    background-position: 0;
}

.music-links {
    text-align: center;
}

.music-link {
    height: 64px;
    width: 64px;
    background-image: url(/images/music.png);
    background-position-y: 64px;
    display: inline-block;
    margin: 5px;
}

.music-link.active {
    background-position-y: 0;
}

.music-link.yandex {
    background-position-x: 0;
}

.music-link.google {
    background-position-x: -64px;
}

.music-link.soundcloud {
    background-position-x: -128px;
}

.music-link.spotify {
    background-position-x: -192px;
}

.music-link.itunes {
    background-position-x: -254px;
}

.music-link.youtube {
    background-position-x: -318px;
}

/** Common styles **/
@font-face {
    font-family: "MplusRegular";
    src: url('/fonts/MPLUSRounded1c-Regular.ttf');
}

@font-face {
    font-family: "MplusThin";
    src: url('/fonts/MPLUSRounded1c-Thin.ttf');
}

@font-face {
    font-family: "MplusMedium";
    src: url('/fonts/MPLUSRounded1c-Medium.ttf');
}

@font-face {
    font-family: "MplusLight";
    src: url('/fonts/MPLUSRounded1c-Light.ttf');
}

@font-face {
    font-family: "MplusBold";
    src: url('/fonts/MPLUSRounded1c-Bold.ttf');
}

a {
    color: #ff5b00;
    text-decoration: none;
}

a:hover, a:focus {
    color: #da4e00;
    text-decoration: none;
}

.btn-sm {
    min-height: 31px;
}

.social a {
    /* width: 60px; */
    overflow: hidden;
    display: inline-block;
    font-size: 40px;
    margin: 5px;
}

.app-ios,
.app-android {
    width: 120px;
    height: 40px;
    display: inline-block;
    background-image: url(/images/app-icons.png);
    background-size: cover;
}

.app-ios {
    background-position: bottom;
}

.app-android {
    background-position: top;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 3;
    color: #333333;
    cursor: default;
    background-color: #e6e6e6;
    border-color: #adadad;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.pagination > li > a,
.pagination > li > span {
    color: #ff5a01;
}

.tracks-list > div {
    margin-bottom: 10px;
    height: 52px;
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 3px;
    overflow: hidden;
}

.tracks-list > div.current {
    height: 204px;
}

.top-position {
    width: 50px;
    height: 50px;
    background: RGBA(0, 0, 0, 0.5);
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.top-info .time,
.track-info .time {
    float: left;
    margin: 4px 2px 0 0;
}

.top-cover,
.track-cover {
    height: 50px;
    width: 50px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.top-info,
.track-info {
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px 4px 4px 60px;
}

.panel-body > .artist,
.current-track-info .artist {
    font-size: 22px;
    text-align: center;
    font-family: MplusLight, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.current-track-info .artist a, .current-track-info .title a {
    color: #fff;
}

.panel-body > .title,
.current-track-info .title {
    text-align: center;
    font-size: 18px;
    font-family: MplusLight, "Helvetica Neue", Helvetica, Arial, sans-serif
}

.current-track-info .text-muted {
    font-weight: 300;
    color: #d6d6d6;
}

.label-new {
    position: absolute;
    top: 5px;
    right: -1px;
    background: #ff8508;
    color: #fff;
    padding: 3px 7px;
    text-transform: uppercase;
    font-size: 10px;
    border: 1px solid #ffffff;
}

.track-title {
    height: 20px;
    overflow: hidden;
}

.track-rating {
    height: 100px;
    width: 80px;
    position: absolute;
    right: 0;
    top: 0;
}

.track-rating .votes,
.track-rating .favorites {
    width: 80px;
    height: 50px;
    text-align: center;
}

.votes,
.favorites {
    color: #fff;
    position: relative;
}

.favorites {
    background: #d9534f;
}

.votes .counter,
.favorites .counter {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    margin: 0;
}

.votes .icons,
.favorites .icons {
    width: 30px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 5px;
}

.favorites .icons {
    padding: 16px 5px;
}

.votes.up {
    background: #5cb85c;
}

.votes.neutral {
    background: #d8d8d8;
}

.votes.down {
    background: #f0ad4e;
}

.track-rating .icons {
    border-right: 1px solid #f7f7f7;
}

.track-rating .label {
    width: 80px;
    height: 80px;
    font-size: 30px;
    display: inline-block;
    line-height: 70px;
}

.history-track.requested {
    background: #ffefe6;
    border: 1px solid #fdd1ba;
}

#current-track .panel {
    overflow: hidden;
}

#current-track .panel-body {
    position: relative;
    padding: 0;
}

.current-track-cover {
    height: 230px;
    width: 230px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.current-track-info {
    position: absolute;
    padding: 15px 15px 15px 245px;
    left: 0;
    height: 230px;
    top: 0;
    right: 0;
    background: RGBA(0, 0, 0, 0.4);
    color: #ffffff;
}

.current-track-rating {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 240px;
    height: 35px;
    padding: 0;
    text-align: right;
}

.current-listeners {
    position: absolute;
    left: 240px;
    bottom: 15px;
    padding: 10px;
}

.current-background {
    position: absolute;
    left: 230px;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
    overflow: hidden;
}

.current-background img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    filter: blur(10px);
}

.history-track {
    position: relative;
}

.panel,
.panel-heading,
.btn {
    /*border-radius: 0;*/
}

.overlay {
    display: none;
    background: RGBA(255, 255, 255, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.current {
    position: relative;
    width: 100%;
    height: 230px;
    z-index: 1;
}

.background {
    background-image: url(/images/bg-lite.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.request-panel {
    position: relative;
}

.request-overlay {
    display: none;
    background: RGBA(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.disabled {
    opacity: 0.5;
}

/**
* Player
*/
.rtplwrapperForIe-mini {
    display: inline-block;
}

.rtplmain_window-mini {
    height: 45px;
}

.rtplbutton_play_stop-mini {
    margin-top: 4px;
}

.navbar-brand {
    padding: 10px;
}

.navbar-brand > img {
    display: inline-block;
}

.separator {
    margin: 10px 0 5px 0;
    border-top: 1px solid rgb(221, 221, 221);
}

.adv {
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    overflow: hidden;
}

.promo {
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    border-color: #ddd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.album-card {
    display: inline-block;
    width: 250px;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
    margin: 10px;
    border: 1px solid #fff;
}

.album-info {
    padding: 15px;
}

.artists {
    -webkit-columns: 4 300px;
    -moz-columns: 4 300px;
    columns: 4 300px;

    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-width: 300px;
    -moz-column-width: 300px;
    column-width: 300px;
    font-size: 18px;
}

.artists > .subtitle {
    background: #ff8606;
    color: #fff;
    text-align: center;
    margin: 5px 0;
    font-size: 22px;
}

.album-cover {
    display: inline-block;
    overflow: hidden;
    border-bottom: 1px solid #dddddd;
}

.album-text {
    display: inline-block;
    padding: 5px;
    overflow: hidden;
    max-width: 290px;
}

.comment {
    overflow: hidden;
}

.comment .message {
    padding: 5px;
    margin: 0 0 5px;
    border-radius: 3px;
    border: 1px solid #ddd;
    background: #ffffff;
    overflow: hidden;
}

a.reply {
    margin: 5px 0 0 5px;
}

.comment .author {
    overflow: hidden;
}

.comment .replies {
    margin-left: 50px;
}

.author .label {
    float: left;
    margin-right: 3px;
    margin-top: 10px;
}

.replies .message {
    background: #f5f5f5;
}

.btn-comments {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 15px 10px;
    color: #ffffff;
    background-image: url(/images/comment-btn.jpg);
    background-position: center;
    font-size: 22px;
    text-shadow: 1px 1px 3px #d53456;
}

.btn-comments:focus, .btn-request:focus,
.btn-comments:active, .btn-request:active,
.btn-comments:hover, .btn-request:hover {
    color: #ffffff;
}

.btn-comments:hover, .btn-request:hover {
    opacity: 0.8;
}

.btn-comments span {
    background: #fff;
    color: #777;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 16px;
    text-shadow: none;
}

.btn-request {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 15px 10px;
    color: #ffffff;
    background-image: url(/images/btn-purple.jpg);
    background-position: center;
    font-size: 22px;
    text-shadow: 1px 1px 3px #d53456;
}

.donate-progress {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    text-align: center;
    position: relative;
    background: #999;
    border-radius: 4px;
    overflow: hidden;
}

.donate-progress-text {
    position: relative;
    z-index: 1;
    color: #ffffff;
    margin: 5px;
}

.donate-progress-inner {
    height: 30px;
    background: #5cb85c;
    position: absolute;
    top: 0;
    left: 0;
    border-right: 1px solid #dcdcdc;
}

.new-song {

    background-color: #5cb85c;
     border-top: 1px solid #5cb85c;
    color: #fff;
}

img.avatar-20 {
    border-radius: 50%;
    width: 20px;
    border: 1px solid #dddddd;
}

img.avatar-30 {
    width: 30px;
    border-radius: 50%;
    border: 1px solid #dddddd;
}

.top-user {
    background: #ff8509;
    color: #ffffff;
}

.top-user .text-success,
.top-user .text-muted,
.top-user a {
    color: #ffffff;
}

.new-tracks {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.new-tracks .item {
    text-align: center;
    padding: 5px;
}

.new-tracks-header {
    background: #ff840a;
    color: #fff;
    text-align: center;
    padding: 3px;
}

.promo.carousel.new-tracks {
    border: none;
    border-top: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    margin: 0;
}

.new-tracks .info {
    font-size: 16px;
    overflow: hidden;
    padding: 6px 6px 6px 65px;
}

.mosaic {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background: #f5f5f5;
    padding: 1px 0;
}

.mosaic .cover {
    width: 65px;
    height: 65px;
    margin: 2px 0;
    overflow: hidden;
}

.tracks-list>.summary {
    display: none;
}

@media (max-width: 720px) {
    .navbar-brand small {
        display: none;
    }

    .wrap {
        margin: 0 auto -480px;
        padding: 0 0 480px;
    }

    .footer {
        height: 770px;
    }

    .current-track-info .artist {
        font-size: 20px;
        margin-top: 15px;
    }

    .current-track-info .title {
        font-size: 16px;
    }

    .current-track-info .text-muted {
        display: none;
    }

    .current {
        position: relative;
        width: 100%;
        height: auto;
    }

    .current-track-cover {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        left: 0;
        top: 0;
    }

    .current-track-info {
        position: relative;
        height: 160px;
        padding: 5px 0 0;
        top: 0;
        left: 0;
    }

    .current-listeners {
        position: absolute;
        left: 10px;
        bottom: 10px;
    }

    .current-track-rating {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 230px;
        height: 35px;
        padding: 0;
    }

    .current-track-info p {
        margin: 0 0 5px;
    }

    .current-background {
        left: 0;
    }

    .tracks-list > div {
        height: 80px;
    }

    .top-info,
    .track-info {
        padding: 0;
        overflow: hidden;
        height: 76px;
    }

    .track-title {
        height: 50px;
        overflow: hidden;
        padding: 6px 4px 6px 56px;
    }

    .track-badges {
        border-top: 2px solid #ececec;
        padding: 1px 4px 0 4px;
    }

    .track-rating {
        height: 30px;
        width: 100%;
        position: absolute;
        right: 0;
        top: 70px;
    }

    .votes {
        position: absolute;
        right: 50px;
    }

    .favorites {
        position: absolute;
        right: 0;
    }

    .track-rating .votes, .track-rating .favorites {
        width: 80px;
        height: 30px;
        text-align: center;
    }

    .votes .counter, .favorites .counter {
        width: 50px;
        height: 30px;
        position: absolute;
        right: 0;
        top: 0;
        padding: 5px;
    }

    .track-rating .lead {
        padding: 4px;
        margin: 0;
    }

    .votes .icons, .favorites .icons {
        width: 30px;
        height: 30px;
        position: absolute;
        right: 50px;
        top: 0;
        padding: 5px;
    }

    .votes .icons {
        width: 50px;
        right: 100px;
    }

    .favorites .icons {
        padding: 6px;
    }

    .track-rating .votes {
        position: absolute;
        right: 80px;
    }

    .track-info .text-muted {
        display: none;
    }

    .track-info p {
        margin-bottom: 5px;
    }

    .track-rating {
        display: none;
    }
}