/* ==========================================================================
   Header block
   ========================================================================== */

.artist-header {
    position: relative;
}

.artist-header .btn--on-tour {
    z-index: 1;
    position: absolute;
    left: 10px;
    border-radius: 3px 0 3px 0;

    color: #fff;
    background: #be0d1d;
    box-shadow: none;
    text-shadow: none;
}

.artist-header .btn--on-tour:hover,
.artist-header .btn--on-tour:focus {
    color: #fff;
    background: #ab0c1a;
    box-shadow: none;
}

.artist-header .btn--on-tour:active {
    background: #9a0b17;
    box-shadow: none;
}

/* ==========================================================================
   Artist images
   ========================================================================== */

.resource-images {
    position: relative;
}

.resource-images img {
    display: none;
}

.sidekick-image,
.hero-image {
    display: block;
    background-size: cover;
    height: 0px;
    width: 160px;
    padding-top: 147px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center 20%;
}

.hero-image {
    padding-top: 300px;
    max-width: 100%;
    border-radius: 3px;
}

.hero-image--profile {
    background-position: center 10%;
}

.hero-image,
.hero-missing {
    width: 454px;
}

.sidekick-wrapper {
    position: absolute;
    left: 460px;
}

.sidekick-wrapper .sidekick-image {
    position: absolute;
    top: 0;

    /* Don't look like empty space when userserve is acting up */
    background-color: #CCC;
}


.sidekick-wrapper a {
    border-radius: 3px;
}

.primary-sidekick {
    top: 0;
}

.secondary-sidekick {
    top: 153px;
}

.resource-images .additional-image {
    display: none;
}

/* IE8 doesn't support background-size: cover. Show and scale <img> instead.
   This is a slightly less good crop of the image. */

.ie8 .sidekick-image,
.ie8 .hero-image {
    position: relative;
}

.ie8 .resource-images img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
}

/* Missing images
   ========================================================================== */

.hero-missing,
.sidekick-missing {
    background-color: #CCC;
    border-radius: 3px;
    background-repeat: no-repeat;
}

.sidekick-missing {
    background-image: url('http://cdn.lst.fm/flatness/imageheader/default_artist_add.png');
    background-position: 0 0;
}

a.sidekick-upload:hover {
    background-position: 0px -150px;
}

.hero-missing {
    height: 300px;
    background-image: url('http://cdn.lst.fm/flatness/imageheader/default_artist_256.png');
    background-position: center;
}

.hero-missing--upload {
    background-position: 0 center;

    /* position upload text centrally */
    display: table;
}

.upload-prompt-wrapper {
    opacity: 0.4;
    -webkit-transition: opacity 200ms;
    -moz-transition: opacity 200ms;
    -ms-transition: opacity 200ms;
    -o-transition: opacity 200ms;
    transition: opacity 200ms;
    display: table-cell;
    vertical-align: middle;
}

.resource-images:hover .upload-prompt-wrapper {
    opacity: 1;
}

.upload-prompt {
    margin-left: 250px;
    padding-right: 20px;
}

.upload-prompt h3 {
    font-size: 120%;
}

/* Broken images (ajax.last.fm template error)
   ========================================================================== */

.artist-images .async-error {
    height: 220px;
    padding-top: 80px;
    border: 1px dashed #ccc;
    border-radius: 3px;
    text-align: center;
}

.artist-images .async-error p {
    margin-bottom: 0;
}


/* ==========================================================================
   Featured tracks
   ========================================================================== */

.featured-tracks {
    background: #333;
    color: #fff;
    border-radius: 3px;
    padding: 12px 0;
}

.featured-tracks-list {
    display: table;
    width: 100%;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.featured-track {
    display: table-row;
    position: relative;
}

.featured-track:nth-child(odd) {
    background: #2c2c2c;
}

.featured-track-cell {
    display: table-cell;
    padding-left: 10px;
    line-height: 36px;
}

.featured-track-cell--play {
    position: absolute;
    left: 0;
    margin-top: -2px;
}

.featured-track-cell--title {
    padding-left: 35px;
    font-weight: normal;
    white-space: nowrap;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
}

h3.featured-track-cell--title {
    margin-bottom: 0px;
}

.featured-track-cell--duration,
.featured-track-cell--type {
    text-align: right;
}

.featured-track-cell--duration {
    padding-right: 10px;
    width: 30px;
}

.featured-track-cell--duration-preview {
    color: #999;
}

.featured-type {
    font-size: 11px;
    border-radius: 3px;
    display: inline-block;
    padding: 0 3px;
    line-height: 18px;
}

.featured-type--free-download {
    background: #be0d1d;
    color: #fff;
}

.featured-type--free-download:hover,
.featured-type--free-download:focus {
    background: #ab0c1a;
    color: #fff;
    text-decoration: none;
}

.featured-type--free-download:active {
    background: #9a0b17;
}

.featured-type--preview {
    border: 1px solid #999;
    color: #999;
}

.featured-addendum {
    color: #999;
    padding: 0 10px;
    margin-top: 18px;
    text-align: right;
}


/* ==========================================================================
   Hero video
   ========================================================================== */

.hero-video .video {
    min-height: 349px;
}

.hero-video .video,
.hero-video .wrapper {
    background: #000;
    border-radius: 3px;
}

.hero-video-info {
    background: #333;
    color: #777;
    padding: 18px 20px;
    overflow: hidden;
}

.hero-video-info h3 {
    font-size: 1.2em; /* 16px */
    margin: 0;
    font-weight: normal;
    float: left;
    color: #fff;
}

.hero-video-info p {
    float: left;
    clear: left;
    margin: 0;
}

.hero-video-more-videos {
    float: right;
}

.hero-video-info a,
.hero-video-info a:hover,
.hero-video-info a:focus {
    color: #fff;
}

.hero-video .video-list {
    background: #2c2c2c;
    border-radius: 0 0 3px 3px;
    padding-top: 18px;
    padding-left: 20px;
    margin: 0;
}

.hero-video .video-list li {
    width: 130px;
}

/* ==========================================================================
   Similar artists
   ========================================================================== */

.similar-artist {
    height: 140px;
    display: block;
    margin-bottom: 18px;

    /* Don't look like empty space when userserve is acting up */
    background-color: #eee;
}

/* Remove list margin when similar artists are stacked to the right */
.g4 .similar-artists .r {
    margin-bottom: 0;
}

/* ==========================================================================
   Events
   ========================================================================== */

.artist-events .moduleOptions {
    text-align: left;
}

.artist-events .moduleOptions a {
    margin-right: 10px;
}

/* ==========================================================================
   Shoutbox overrides -- again, nasty legacy CSS overrides
   ========================================================================== */

div.shoutboxInput form textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}
