/* ~/CSS/Pages/Item/ItemPage.css */

/* The item page's own page background is .content (#E3E3E3), and the white card is the
   .section-content inside it. That leaves the surrounding #Body — white, plus 5px/25px of
   vertical padding — visible as a thin bar above the content and a thicker one below.
   Repaint #Body to match so the grey runs edge to edge, exactly as the games pages do.
   Scoped to the catalog-item-body class set in views/layouts/_layout.ejs so the pages that
   rely on #Body staying white aren't affected — same arrangement as GamesPage.css. */
#Body.catalog-item-body {
    background-color: #E3E3E3;
}

.modal-header .icon-close {
    background-position: 0 -420px;
    background-size: 40px auto;
    width: 20px;
    height: 20px;
    vertical-align: top;
}

.icon-default-games,
.icon-inventory,
.icon-games,
.icon-catalog,
.icon-like,
.icon-like.selected,
.icon-dislike,
.icon-dislike.selected,
.icon-playaudio,
.icon-copylocked,
.icon-nocopylocked,
.icon-publicserver,
.icon-privateserver,
.icon-allgears,
.icon-partialgears,
.icon-nogear,
.icon-Melee,
.icon-Ranged,
.icon-PowerUp,
.icon-Explosive,
.icon-Musical,
.icon-Navigation,
.icon-Building,
.icon-Social,
.icon-Transport {
    background-image: url(/images/Shared/games.svg);
    background-repeat: no-repeat;
    background-size: auto auto;
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
}

.icon-inventory {
    background-position: 0 0;
}

.icon-games {
    background-position: 0 -28px;
}

.icon-catalog {
    background-position: 0 -56px;
}

.icon-like {
    background-position: 0 -84px;
}

.icon-like:hover {
    background-position: -28px -84px;
}

button:hover .icon-like,
a:hover .icon-like {
    background-position: -28px -84px;
}

.icon-like.selected {
    background-position: -28px -84px;
}

.icon-dislike {
    background-position: 0 -112px;
}

.icon-dislike:hover {
    background-position: -28px -112px;
}

button:hover .icon-dislike,
a:hover .icon-dislike {
    background-position: -28px -112px;
}

.icon-dislike.selected {
    background-position: -28px -112px;
}

.icon-playaudio {
    background-position: 0 -140px;
}

.icon-copylocked {
    background-position: 0 -168px;
}

.icon-nocopylocked {
    background-position: 0 -196px;
}

.icon-publicserver {
    background-position: 0 -224px;
}

.icon-privateserver {
    background-position: 0 -252px;
}

.icon-allgears {
    background-position: 0 -280px;
}

.icon-partialgears {
    background-position: 0 -308px;
}

.icon-nogear {
    background-position: 0 -336px;
}

.icon-Melee {
    background-position: 0 -364px;
}

.icon-Ranged {
    background-position: 0 -392px;
}

.icon-PowerUp {
    background-position: 0 -420px;
}

.icon-Explosive {
    background-position: 0 -448px;
}

.icon-Musical {
    background-position: 0 -476px;
}

.icon-Navigation {
    background-position: 0 -504px;
}

.icon-Building {
    background-position: 0 -532px;
}

.icon-Social {
    background-position: 0 -560px;
}

.icon-Transport {
    background-position: 0 -588px;
}

.modal-header .icon-close {
    background-position: 0 -420px;
    background-size: 40px auto;
    width: 20px;
    height: 20px;
    vertical-align: top;
}

.icon-default-iconlabels,
.icon-bc-label,
.icon-tbc-label,
.icon-obc-label,
.icon-limited-label,
.icon-limited-bc-label,
.icon-limited-tbc-label,
.icon-limited-obc-label,
.icon-limited-unique-label,
.icon-limited-unique-bc-label,
.icon-limited-unique-tbc-label,
.icon-limited-unique-obc-label,
.icon-thirteen-plus-label,
.icon-thirteen-plus-bc-label,
.icon-thirteen-plus-tbc-label,
.icon-thirteen-plus-obc-label,
.icon-thirteen-plus-limited-label,
.icon-thirteen-plus-limited-bc-label,
.icon-thirteen-plus-limited-tbc-label,
.icon-thirteen-plus-limited-obc-label,
.icon-thirteen-plus-limited-unique-label,
.icon-thirteen-plus-limited-unique-bc-label,
.icon-thirteen-plus-limited-unique-tbc-label,
.icon-thirteen-plus-limited-unique-obc-label {
    background-image: url(/images/AssetIcons/icon_labels_06292016.svg);
    background-repeat: no-repeat;
    background-size: auto auto;
    width: 118px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.icon-bc-label {
    background-position: 0 0;
}

.icon-tbc-label {
    background-position: 0 -14px;
}

.icon-obc-label {
    background-position: 0 -28px;
}

.icon-limited-label {
    background-position: 0 -42px;
}

.icon-limited-bc-label {
    background-position: 0 -56px;
}

.icon-limited-tbc-label {
    background-position: 0 -70px;
}

.icon-limited-obc-label {
    background-position: 0 -84px;
}

.icon-limited-unique-label {
    background-position: 0 -98px;
}

.icon-limited-unique-bc-label {
    background-position: 0 -112px;
}

.icon-limited-unique-tbc-label {
    background-position: 0 -126px;
}

.icon-limited-unique-obc-label {
    background-position: 0 -140px;
}

.icon-thirteen-plus-label {
    background-position: 0 -154px;
}

.icon-thirteen-plus-bc-label {
    background-position: 0 -168px;
}

.icon-thirteen-plus-tbc-label {
    background-position: 0 -182px;
}

.icon-thirteen-plus-obc-label {
    background-position: 0 -196px;
}

.icon-thirteen-plus-limited-label {
    background-position: 0 -210px;
}

.icon-thirteen-plus-limited-bc-label {
    background-position: 0 -224px;
}

.icon-thirteen-plus-limited-tbc-label {
    background-position: 0 -238px;
}

.icon-thirteen-plus-limited-obc-label {
    background-position: 0 -252px;
}

.icon-thirteen-plus-limited-unique-label {
    background-position: 0 -266px;
}

.icon-thirteen-plus-limited-unique-bc-label {
    background-position: 0 -280px;
}

.icon-thirteen-plus-limited-unique-tbc-label {
    background-position: 0 -294px;
}

.icon-thirteen-plus-limited-unique-obc-label {
    background-position: 0 -308px;
}

.item-card {
    width: 14.28571%;
    padding: 5px;
}

.item-card-container {
    background-color: #fff;
    position: relative;
    box-shadow: 0 1px 4px 0 rgba(25, 25, 25, 0.3);
    border-radius: 3px;
    padding: 0 0 5px;
    width: 126px;
    max-width: 150px;
}

.item-card-container:hover {
    -webkit-transition: box-shadow 200ms ease;
    -o-transition: box-shadow 200ms ease;
    transition: box-shadow 200ms ease;
    box-shadow: 0 1px 6px 0 rgba(25, 25, 25, 0.75);
}

.item-card-container.card-plain {
    border: 1px solid #B8B8B8;
    box-shadow: none;
}

.item-card-container.card-plain:hover {
    box-shadow: none;
}

@media(max-width:991px) {
    .item-card-container {
        width: 100%;
    }
}

.item-card-container .MediaPlayerControls {
    cursor: pointer;
    position: absolute;
    bottom: 66px;
    right: 2px;
}

.item-card-container .icon-play {
    background-position: 0 -308px;
    background-size: 56px auto;
    height: 28px;
    width: 28px;
}

.item-card-container .icon-play:hover {
    background-position: -28px -308px;
}

.item-card-container .icon-pause {
    background-position: 0 -336px;
    background-size: 56px auto;
    height: 28px;
    width: 28px;
}

.item-card-container .icon-pause:hover {
    background-position: -28px -336px;
}

.touch .item-card-container .icon-play {
    background-position: 0 -308px;
}

.touch .item-card-container .icon-pause {
    background-position: 0 -336px;
}

.item-card-link,
.item-card-name-link {
    display: block;
}

.item-card-thumb-container {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    width: 126px;
    height: 126px;
    position: relative;
    border-bottom: 1px solid #F2F2F2;
}

@media(max-width:991px) {
    .item-card-thumb-container {
        width: 100%;
        height: auto;
    }
}

.item-card-thumb-container .item-card-thumb {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    width: 100%;
    height: auto;
    min-width: 85px;
    min-height: 85px;
}

.item-card-thumb-container .item-serial-number {
    background-color: #191919;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    padding: 4px;
    position: absolute;
    top: 6px;
    right: 6px;
}

.item-card-thumb-container .item-expire-time-label {
    background-color: #D86868;
    bottom: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1em;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 2px;
    text-align: center;
}

.item-card-thumb-container span[class^="icon-"] {
    position: absolute;
    bottom: 0;
    left: 0;
}

.item-card-name,
.item-card-creator,
.item-card-label,
.item-card-price {
    padding: 0 5px;
}

@media(max-width:767px) {
    .item-card-name {
        font-size: 14px;
    }
}

.item-card-creator:before,
.item-card-creator:after {
    content: " ";
    display: table;
}

.item-card-creator:after {
    clear: both;
}

.item-card-creator .text-label,
.item-card-creator .text-link {
    float: left;
}

.item-card-creator .text-link {
    width: 80%;
    width: calc(100% - 24px);
    margin-left: 3px;
}

.item-card-label {
    color: #757575;
    font-size: 12px;
    font-weight: 400;
}

.item-card-price {
    height: 20px;
}

@media(max-width:767px) {
    .item-card-price .text-robux {
        font-size: 14px;
    }
}

.item-card-equipped {
    border: 2px solid #02b757;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.item-card-equipped .item-card-equipped-label {
    width: 0;
    height: 0;
    border-top: 36px solid #02b757;
    border-left: 36px solid transparent;
    position: absolute;
    top: 0;
    right: 0;
}

@media(max-width:991px) {
    .item-cards .item-card {
        width: 16.66667%;
    }
}

@media(max-width:767px) {
    .item-cards .item-card {
        width: 20%;
    }
}

@media(max-width:543px) {
    .item-cards .item-card {
        width: 33.33%;
    }
}

.item-cards-embed .item-card {
    width: 16.66667%;
}

@media(max-width:991px) {
    .item-cards-embed .item-card {
        width: 20%;
    }
}

@media(max-width:543px) {
    .item-cards-embed .item-card {
        width: 33.33%;
    }
}

.feature-items .item-card {
    float: none;
    display: inline-block;
    padding: 5px 5px 5px 0;
    width: 16.66667%;
}

@media(max-width:991px) {
    .feature-items .item-card {
        width: 20%;
    }
}

@media(max-width:767px) {
    .feature-items .item-card {
        width: 100%;
        padding: 5px 0;
    }
}

.feature-items .item-card-container {
    width: 150px;
}

@media(max-width:991px) {
    .feature-items .item-card-container {
        width: 100%;
    }
}

@media(max-width:767px) {
    .feature-items .item-card-container {
        max-width: 100%;
        padding: 0;
    }

    .feature-items .item-card-container:before,
    .feature-items .item-card-container:after {
        content: " ";
        display: table;
    }

    .feature-items .item-card-container:after {
        clear: both;
    }
}

@media(max-width:767px) {
    .feature-items .item-card-link {
        float: left;
    }
}

.feature-items .item-card-thumb-container {
    width: 150px;
    height: 150px;
}

@media(max-width:991px) {
    .feature-items .item-card-thumb-container {
        width: 100%;
        height: auto;
    }
}

@media(max-width:767px) {
    .feature-items .item-card-thumb-container {
        width: 90px;
        height: auto;
        border-bottom: 0 none;
        border-right: 1px solid #F2F2F2;
    }
}

@media(max-width:767px) {
    .feature-items .item-card-caption {
        width: 80%;
        width: calc(100% - 90px);
        float: left;
        padding: 9px 5px;
    }
}

@media(max-width:767px) {
    .feature-items .item-card-name-link {
        height: 35px;
    }
}

.voting-panel {
    width: 50%;
    position: relative;
}

.voting-panel span {
    float: left;
    line-height: 28px;
}

.voting-panel .loading {
    position: absolute;
    height: 100%;
    width: 100%;
    background: url("/web/20161103020101im_/https://static.rbxcdn.com/images/ProgressIndicator4.gif") #fff no-repeat center;
    z-index: 1;
    display: none;
}

.voting-panel .visual-container {
    position: relative;
    width: 100%;
    height: 5px;
    margin: 6px auto;
}

.voting-panel .visual-container .background {
    background-color: #B8B8B8;
    border-radius: 4px;
}

.voting-panel .visual-container .background.votes {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #E27676;
}

.voting-panel .visual-container .percent {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    background-color: #02b757;
}

.voting-panel .visual-container .vote-text {
    margin: 6px 0 0;
}

.voting-panel .percent,
.voting-panel .background {
    position: absolute;
    height: 5px;
    bottom: 0;
}

.voting-panel .background {
    width: 100%;
}

.voting-panel .percent {
    width: 0;
}

.voting-panel .downvote,
.voting-panel .upvote {
    position: absolute;
    top: 0;
    right: 0;
}

.voting-panel .upvote {
    left: 0;
}

.voting-panel .upvote span {
    color: #02b757;
}

.voting-panel .downvote span {
    color: #E2231A;
}

.voting-panel .users-vote {
    height: 28px;
}

.voting-panel.new-design {
    width: 54%;
}

.voting-panel.new-design span {
    float: none;
    line-height: 20px;
    font-size: 14px;
}

.voting-panel.new-design .users-vote {
    padding: 0 28px;
    height: 30px;
    display: block;
    position: relative;
}

.voting-panel.new-design .users-vote .upvote,
.voting-panel.new-design .users-vote .downvote {
    position: absolute;
    top: -3px;
}

.voting-panel.new-design .users-vote .upvote {
    left: 0;
}

.voting-panel.new-design .users-vote .downvote {
    right: 0;
}

.voting-panel.new-design .users-vote .vote-details {
    display: block;
    width: 100%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container {
    width: 100%;
    height: 6px;
    margin: 6px 0 0 0;
    position: relative;
    display: block;
}

@media(max-width:543px) {
    .voting-panel.new-design .users-vote .vote-details .vote-container {
        width: 100%;
        height: 4px;
    }
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-background,
.voting-panel.new-design .users-vote .vote-details .vote-container .vote-percentage {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-background {
    background-color: #B8B8B8;
    width: 100%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-background.has-votes {
    background-color: #E27676;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-percentage {
    background-color: #02b757;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-mask .seg-1 {
    left: 18%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-mask .seg-2 {
    left: 38%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-mask .seg-3 {
    left: 58%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-mask .seg-4 {
    left: 78%;
}

.voting-panel.new-design .users-vote .vote-details .vote-container .vote-mask .segment {
    background-color: #fff;
    height: 6px;
    width: 2px;
    position: absolute;
    top: 0;
}

.voting-panel.new-design .users-vote .vote-details .vote-numbers {
    display: block;
}

.voting-panel.new-design .users-vote .vote-details .vote-numbers:before,
.voting-panel.new-design .users-vote .vote-details .vote-numbers:after {
    content: " ";
    display: table;
}

.voting-panel.new-design .users-vote .vote-details .vote-numbers:after {
    clear: both;
}

.voting-panel.new-design .users-vote .vote-details .vote-numbers .count-left {
    float: left;
    color: #02b757;
}

.voting-panel.new-design .users-vote .vote-details .vote-numbers .count-right {
    float: right;
    text-align: right;
    color: #E2231A;
}

.touch .icon-like:not(.selected) {
    background-position: 0 -84px;
}

.touch .icon-dislike:not(.selected) {
    background-position: 0 -112px;
}

.favorite-button-container .text-favorite {
    color: #F6B702;
    font-size: 16px;
    font-weight: 400;
}

.favorite-button-container .tooltip-inner {
    min-width: 0;
}

.touch .icon-favorite:not(.favorited) {
    background-position: 0 -84px;
}

.comments-container .comments-item-template {
    display: none;
}

/* Both of these are clone sources, not content — Comments.js copies them per comment and
   per in-flight request. This port kept the rule for one and dropped the other, so once
   .loader-template was added to the markup its spinner sat visible at the bottom of the
   comments list forever: the copy appended during a fetch does get removed on success,
   but the original it was cloned from had nothing hiding it. GameDetails.css, which
   carries the same comments block, has always had both. */
.comments-container .loader-template {
    display: none;
}

.comments-container .form-horizontal button {
    width: auto;
}

.comments-container .rbx-comment-msgs {
    position: relative;
    height: 1em;
}

.comments-container .rbx-comment-error {
    display: inline-block;
    width: 100%;
}

.comments-container .rbx-comment-count {
    position: absolute;
    right: 0;
}

.comments-container .rbx-comment-input {
    resize: none;
    line-height: 1.5em;
    height: 38px;
}

@media(max-width:767px) {
    .comments-container .rbx-comment-input {
        height: 32px;
        padding: 3px 12px;
    }
}

.comments-container .comment-item {
    position: relative;
}

.comments-container .comment-item .comment-content {
    overflow: hidden;
}

.comments-container .comment-item .avatar img {
    border: 0 none;
    border-radius: 50%;
    width: 100%;
    height: auto;
}

.comments-container .comment-item .avatar .bc-overlay {
    display: none;
}

.comments-container .comment-controls {
    position: absolute;
    top: 10px;
    right: 10px;
}

.comments-container .vlist .list-item .list-body {
    width: 80%;
    width: calc(100% - 124px);
}

.comments-container .form-horizontal button {
    margin-bottom: 12px;
}

.comments-container .comment-form .form-group {
    width: 84%;
    width: calc(100% - 132px - 12px);
}

.comments-container .loading {
    height: 27px;
    width: 50px;
    background: url("/web/20161103020101im_/https://static.rbxcdn.com/images/Shared/loading.gif") #fff no-repeat center;
    background-size: 100%;
    margin: 0 auto;
}

.ajax-comments-more-button-container .rbx-comments-see-more {
    width: 100%;
}

@media(max-width:543px) {
    .comments-container {
        padding: 0;
    }

    .comments-container .comment-form .form-horizontal button {
        width: 100%;
    }

    .comments-container .comment-form .form-horizontal .form-group {
        width: 100%;
    }
}

.social-media-share #rbx-share-btn {
    cursor: pointer;
    margin: auto;
    display: block;
}

.social-media-share .share-container-inner {
    padding: 10px;
}

.social-media-share .share-container-inner .catchy-title {
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    width: 198px;
}

.social-media-share .share-container-inner .catchy-title {
    margin: 0;
}

.social-media-share .share-container-inner .catchy-title span {
    vertical-align: middle;
}

.social-media-share .share-container-inner .copy-to-clipboard {
    cursor: text;
}

.social-media-share .share-container-inner .catchy-title-tooltip-hover {
    display: none;
    position: absolute;
    width: 205px;
    height: 125px;
    opacity: .9;
    background-color: #fff;
    top: 41px;
    left: 8px;
    margin-top: -4px;
}

.social-media-share .share-container-inner #gigya-target table {
    margin: 0 7px;
}

.social-media-share .share-container-inner #gigya-target .social-button-template .social-button-icon-img {
    width: 48px;
    height: 48px;
    margin: 2px;
    cursor: pointer;
}

.social-media-share .share-container-inner #gigya-target .social-button-template .social-button-counter {
    display: none;
    width: 44px;
    text-align: center;
    margin: 5px 0 5px 5px;
    border: solid 1px #B8B8B8;
}

.content {
    max-width: 1154px;
}

.alert-system-feedback .alert {
    max-width: 1154px;
}

.no-header-nav .alert-system-feedback .alert,
.content-no-ads .alert-system-feedback .alert,
.gutter-ads .alert-system-feedback .alert {
    max-width: 970px;
}

.page-content {
    max-width: 970px;
    float: left;
    width: 100%;
}

@media(max-width:1174px) {
    .page-content {
        float: none;
        margin: 0 auto;
        padding: 0 12px;
    }
}

@media(max-width:991px) {
    .page-content {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.container-main.no-header-nav .page-content,
.container-main.content-no-ads .page-content {
    float: none;
    margin: 0 auto;
    padding: 0 12px;
}

@media(max-width:767px) {
    .top-section {
        padding-bottom: 0;
    }
}

.item-thumbnail-container {
    float: left;
}

@media(max-width:767px) {
    .item-thumbnail-container {
        float: none;
    }

    .item-thumbnail-container .thumbnail-holder {
        margin: 0 auto;
    }
}

.item-details {
    width: 488px;
    width: calc(100% - 420px);
    padding-left: 12px;
    float: right;
}

@media(max-width:970px) {
    .item-details {
        width: 398px;
        width: calc(100% - 300px);
    }
}

@media(max-width:767px) {
    .item-details {
        width: 100%;
        padding-left: 0;
        margin-top: 18px;
        float: none;
    }
}

.item-name-container {
    border-bottom: 1px solid #E3E3E3;
    margin-bottom: 12px;
    margin-left: 12px;
    padding-bottom: 12px;
    float: right;
    width: 477px;
    width: calc(100% - 432px);
}

@media(max-width:970px) {
    .item-name-container {
        width: 385px;
        width: calc(100% - 312px);
    }
}

@media(max-width:767px) {
    .item-name-container {
        width: 100%;
        float: none;
        border: none;
        margin: 0;
    }
}

/* display:block and white-space:nowrap are ours, the rest is the 2017 rule. StyleGuide.css
   sets `h1, h2, h3, h4, h5, h6 { display: inline-block }` site-wide, and an inline-block
   shrink-to-fits its content: the ellipsis/overflow/margin-right below never engaged, so a
   long unbreakable name (an uploaded screenshot's filename, say) grew the box straight under
   the absolutely-positioned "..." menu at right:12px. */
.item-name-container h2 {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-right: 40px;
}

@media(max-width:767px) {
    .item-name-container h2 {
        /* The 2017 sheet zeroed this, but .item-context-menu stays absolute at top/right 12px
           on mobile too, so the gutter has to stay or the ellipsis lands under the dots. */
        margin-right: 40px;
    }
}

.item-name-container .label-checkmark {
    margin-left: 12px;
    vertical-align: text-bottom;
    display: inline-block;
    font-size: 10px;
    background-color: #02b757;
    color: #fff;
    padding: 3px;
    border-radius: 50%;
    line-height: 1em;
}

.item-name-container .label-checkmark .icon-checkmark-white-bold {
    background-position: 0 -516px;
    width: 12px;
    height: 12px;
    background-size: 24px auto;
}

.item-name-container .label-checkmark .label-text {
    vertical-align: middle;
}

/* The "Item Owned" text is a sibling of the green checkmark bubble, so it needs
   its own gap or it sits flush against the circle. */
.item-name-container .label-checkmark + span {
    margin-left: 5px;
}

@media(max-width:767px) {
    .item-name-container .label-checkmark {
        margin-left: 3px;
    }
}

.item-name-container .divider {
    display: none;
}

@media(max-width:767px) {
    .item-name-container .divider {
        display: inline-block;
        margin-left: 3px;
        border-left: 1px solid #E3E3E3;
    }
}

.item-details .description-content {
    white-space: pre-line;
}

.item-details .item-mobile-description {
    display: none;
}

@media(max-width:767px) {
    .item-details .item-description {
        display: none;
    }

    .item-details .item-mobile-description {
        display: block;
    }

    .item-social-container li {
        width: 100%;
    }

    .item-social-container.include_voting li,
    .item-social-container.include_social li {
        width: 50%;
    }

    .item-social-container.include_voting .favorite-button-container,
    .item-social-container.include_social .favorite-button-container {
        border-right: 1px solid #E3E3E3;
    }

    .item-social-container.include_voting .favorite-button-container {
        height: 52px;
        padding: 10px 0;
    }

    .item-social-container.include_voting.include_social .voting-panel {
        width: 160px;
    }

    .item-social-container.include_voting.include_social .favorite-button-container,
    .item-social-container.include_voting.include_social .social-media-share {
        width: 80px;
        width: calc((100% - 160px)/2);
    }

    .item-social-container.include_voting.include_social .social-media-share {
        border-left: 1px solid #E3E3E3;
        padding: 12px 0;
        height: 52px;
    }

    .need-padding .modal-dialog {
        padding: 12px;
    }

    .price-info {
        display: table-header-group;
    }
}

.item-social-container {
    width: 420px;
}

@media(max-width:970px) {
    .item-social-container {
        width: 300px;
    }
}

@media(max-width:767px) {
    .item-social-container {
        width: auto;
        margin-right: -12px;
        margin-left: -12px;
        margin-top: 12px;
    }
}

.menu-shown h2 {
    margin-right: 70px;
}

@media(max-width:767px) {
    .menu-shown h2 {
        margin-right: 40px;
    }
}

.menu-shown .social-media-share {
    right: 50px;
}

@media(max-width:767px) {
    .menu-shown .social-media-share {
        right: 0;
    }
}

@media(max-width:767px) {
    .item-type-field-container {
        margin: 12px 0;
    }
}

.item-field-container {
    margin-top: 12px;
}

@media(max-width:767px) {
    .item-field-container {
        margin: 12px 0;
    }
}

.limited-quantity {
    color: #191919;
}

.field-label {
    display: block;
    width: 90px;
    padding-right: 9px;
    float: left;
}

@media(max-width:767px) {
    .field-label {
        width: 45%;
        padding-right: 0;
    }
}

.field-content {
    position: relative;
    display: block;
    width: 380px;
    width: calc(100% - 90px);
    float: left;
    font-weight: 400;
}

@media(max-width:970px) {
    .field-content {
        width: 280px;
        width: calc(100% - 90px);
    }
}

@media(max-width:767px) {
    .field-content {
        width: 55%;
    }
}

.has-price-label {
    padding-left: 90px;
    margin-top: 7px;
}

.item-first-line {
    padding-bottom: 12px;
}

@media(max-width:767px) {
    .item-first-line {
        order: 2;
        padding-top: 12px;
        padding-bottom: 0;
    }
}

.item-note {
    width: 290px;
    width: calc(100% - 190px);
    float: left;
    font-size: 14px;
}

@media(max-width:767px) {
    .item-note {
        text-align: center;
        margin-top: 6px;
        padding: 0;
        float: none;
        width: auto;
    }
}

.item-description .content-height {
    height: 96px;
}

@media(max-width:767px) {
    .item-description .content-height {
        height: auto;
    }
}

.item-description .field-content {
    font-weight: 300;
}

.library-item .item-description .content-height {
    height: 192px;
}

.item-details.content-height {
    height: auto;
}

@media(max-width:767px) {
    .item-details.content-height {
        height: 236px;
    }
}

@media(max-width:767px) {
    .item-description .toggle-content {
        display: none;
    }
}

.item-details .show-more-end {
    display: none;
}

@media(max-width:767px) {
    .item-details .show-more-end {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
        bottom: 32px;
        height: 30px;
        left: 0;
        position: absolute;
        width: 100%;
        display: inline-block;
    }
}

.item-details button.toggle-content {
    display: none;
}

@media(max-width:767px) {
    .item-details button.toggle-content {
        display: block;
    }
}

.content-overflow-toggle.item-details.content-overflow-toggle-off button.toggle-content {
    position: relative;
}

.item-details.content-overflow-toggle:after {
    content: "";
}

@media(max-width:767px) {
    .item-description .content-overflow-toggle:after {
        content: "";
    }
}

@media(max-width:767px) {
    .price-label {
        display: none;
    }
}

.price-container {
    margin-bottom: 12px;
}

.price-container .price-container-text {
    width: 290px;
    width: calc(100% - 190px);
    float: left;
}

.price-container .action-button {
    float: right;
}

@media(max-width:767px) {
    .price-container .action-button button {
        width: 100%;
    }

    .price-container .action-button a {
        width: 100%;
    }
}

@media(max-width:767px) {
    .price-container {
        margin-bottom: 0;
        float: none;
        width: 100%;
    }

    .price-container .price-container-text {
        float: none;
        width: 100%;
        display: flex;
        flex-flow: column;
    }

    .price-container .action-button {
        float: none;
        width: 100%;
        margin-top: 12px;
    }
}

.sale-clock {
    color: #E2231A;
    font-size: 14px;
    text-align: left;
}

.desktop-sale-clock {
    text-align: center;
    position: absolute;
    right: 15px;
    width: 180px;
    margin-top: 12px;
}

.desktop-sale-clock span {
    color: #E2231A;
    font-weight: 400;
}

@media(max-width:767px) {
    .desktop-sale-clock {
        display: none;
    }
}

.phone-sale-clock {
    display: none;
}

.phone-sale-clock span {
    color: #E2231A;
}

.phone-sale-clock .text {
    display: inline-block;
}

@media(max-width:767px) {
    .phone-sale-clock {
        display: block;
    }
}

.marketplace-disabled .price-container .price-container-text {
    width: 100%;
}

.favorite-button-container {
    margin-top: 6px;
    float: left;
    cursor: default;
}

.favorite-button-container a {
    display: inline-block;
}

.favorite-button-container span {
    float: right;
}

@media(max-width:767px) {
    .favorite-button-container {
        text-align: center;
        border-top: 1px solid #E3E3E3;
        margin: 0;
        padding: 5px 0;
    }

    .favorite-button-container li {
        margin: 0 auto;
    }
}

.item-social-container .voting-panel {
    float: right;
    width: 134px;
    margin-top: 4px;
}

@media(max-width:767px) {
    .item-social-container .voting-panel {
        border-top: 1px solid #B8B8B8;
        width: 160px;
        float: left;
        margin: 0;
        padding-top: 12px;
    }

    .item-social-container .voting-panel .loading {
        margin-top: -12px;
    }

    .item-social-container .voting-panel .vote-summary {
        width: 140px;
        position: relative;
        margin: 0 auto;
    }
}

.social-media-share {
    position: absolute;
    top: 12px;
    right: 12px;
}

@media(max-width:767px) {
    .social-media-share {
        border-top: 1px solid #E3E3E3;
        float: left;
        text-align: center;
        width: 50%;
        position: relative;
        top: 0;
        right: 0;
        padding: 5px 0;
    }
}

.item-context-menu {
    position: absolute;
    top: 12px;
    right: 12px;
}

@media(max-width:767px) {
    .item-context-menu {
        top: 12px;
    }
}

.attribute-container {
    display: inline-block;
    font-weight: 400;
}

.attribute-icon {
    height: 20px;
    width: 20px;
    background-size: 40px auto;
}

.icon-Melee {
    background-position: 0 -260px;
}

.icon-Ranged {
    background-position: 0 -280px;
}

.icon-PowerUp {
    background-position: 0 -300px;
}

.icon-Explosive {
    background-position: 0 -320px;
}

.icon-Musical {
    background-position: 0 -340px;
}

.icon-Navigation {
    background-position: 0 -360px;
}

.icon-Building {
    background-position: 0 -380px;
}

.icon-Social {
    background-position: 0 -400px;
}

.icon-Transport {
    background-position: 0 -420px;
}

.icon-robux-price-container .icon-robux {
    float: left;
    margin-right: 3px;
}

.icon-robux-price-container .text-robux-lg {
    float: left;
    line-height: 1.16em;
}

/* Tix price. Deliberately NOT SiteStyle's .icon-tix: that is the 2017 topbar sprite from
   branded_06282017.svg, a flat modern glyph. The catalog GRID renders a Tix price with
   span.tickets — the retro yellow ticket, /images/Tickets.png — so the item page uses the
   same image and the same #A61 colour, and one item looks identical in the grid and on its
   own page. There is no authentic large Tix text class to port (Tix was retired in April
   2016, so the 2017 sheets carry only leftovers), hence text-tix-lg mirroring text-robux-lg.

   16px icon centred in the 28px line box of the 24px price beside it. */
.text-tix-lg {
    color: #A61;
    font-size: 24px;
    font-weight: 400;
}

.icon-robux-price-container .icon-tix-retro {
    background: url(/images/Tickets.png) no-repeat 0 50%;
    float: left;
    width: 16px;
    height: 28px;
    margin-right: 5px;
}

.icon-robux-price-container .text-tix-lg {
    float: left;
    line-height: 1.16em;
}

/* Inline Tix amount for the purchase dialog (ItemPurchaseForDialog.js), the Tix twin of
   .icon-robux-16x16 + .text-robux so a Tix item's confirmation reads in the currency it is
   actually charged in. Same retro ticket and same #A61 as the price above and as the catalog
   grid, NOT SiteStyle's .icon-tix (the flat 2017 topbar glyph) — and not span.tickets either:
   the 2017 StyleGuide.css this page loads points that one at /CSS/images/Tickets.png, which
   does not exist. Tickets.png is exactly 16x16, so no sprite offset. There was never a gray
   Tix ticket to pair with .icon-robux-gray-16x16, so the balance footer reuses this one. */
.icon-tix-16x16 {
    background: url(/images/Tickets.png) no-repeat 0 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
    margin-bottom: 2px;
}

.text-tix {
    color: #A61;
    font-weight: 400;
}

.icon-robux-20x20 {
    background-image: url(/images/Shared/branded_05092016.svg);
    background-repeat: no-repeat;
    background-size: 40px auto;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    background-position: 0 -80px;
}

.icon-robux-gray-16x16,
.icon-robux-16x16 {
    margin-right: 3px;
    margin-bottom: 2px;
}

.purchase-modal {
    display: none;
}

.purchase-modal .PurchaseModalMessageText {
    display: block;
    margin: 0 auto;
    padding-top: 0;
    width: auto;
}

.purchase-modal .add-to-game-dialog {
    margin-top: -60px;
}

.promoteBtn {
    margin-right: 6px;
}

.errorStatusBar {
    text-align: center;
    padding-bottom: 24px;
}

.add-to-game-instructions {
    float: left;
    width: 800px;
    width: calc(100% - 121px);
    line-height: 2em;
}

@media(max-width:767px) {
    .add-to-game-instructions {
        float: none;
        text-align: center;
        width: 100%;
        line-height: 1em;
    }
}

.add-to-game-instructions .affiliate-sale-total {
    color: #757575;
}

.promote-modal-btn {
    float: right;
}

@media(max-width:767px) {
    .promote-modal-btn {
        float: none;
        width: 100%;
        margin: 12px 0;
    }
}

.sell-modal .icon-robux-16x16 {
    margin-left: 6px;
    margin-right: 3px;
}

.sell-modal .price-form .form-control-label {
    visibility: hidden;
}

.resale-pricechart-tabs .text-robux {
    font-size: 18px;
}

.resale-pricechart-tabs .nav-tabs {
    display: none;
}

@media(max-width:767px) {
    .resale-pricechart-tabs .nav-tabs {
        display: block;
    }
}

.resale-pricechart-tabs .tab-content>.tab-pane {
    display: block;
}

@media(max-width:767px) {
    .resale-pricechart-tabs .tab-content>.tab-pane {
        display: none;
    }
}

@media(max-width:767px) {
    .resale-pricechart-tabs .tab-content>.active {
        display: block;
    }
}

.resale-pricechart-tabs .rbx-tab {
    width: 50%;
}

@media(max-width:767px) {
    .price-chart-section h3 {
        display: none;
    }
}

.price-chart-legend {
    float: left;
}

.price-chart-legend .legend-text {
    margin-right: 18px;
    display: inline-block;
}

.price-chart-legend .line {
    display: inline-block;
    width: 14px;
    height: 5px;
    margin-top: 0;
    margin-right: 6px;
    margin-bottom: 2px;
    border-radius: 4px;
    background-color: #02b757;
}

.price-chart-legend .volume {
    border-radius: 0;
    background-color: #E3E3E3;
}

@media(max-width:767px) {
    .price-chart-legend {
        float: none;
        margin-bottom: 12px;
    }
}

.price-chart-range-dropdown {
    float: right;
    width: 240px;
    margin-bottom: 12px;
}

@media(max-width:767px) {
    .price-chart-range-dropdown {
        float: none;
        width: 100%;
    }
}

.price-chart-info-container {
    width: 33.33%;
    float: left;
    text-align: center;
}

.price-chart-info-container .text-robux {
    vertical-align: middle;
}

.price-chart-info-container .text-label {
    margin-bottom: 9px;
}

@media(max-width:767px) {
    .price-chart-info-container {
        width: auto;
        float: none;
        padding: 5px 0;
    }

    .price-chart-info-container .text-label {
        float: left;
        margin-bottom: 0;
    }

    .price-chart-info-container .info-content {
        float: right;
    }
}

.price-chart-volume-container {
    margin-top: 12px;
}

.price-chart-spinner {
    padding-top: 0;
    padding-bottom: 0;
}

@media(max-width:767px) {
    .resellers-container h3 {
        display: none;
    }
}

.resellers-container .section-content {
    padding-top: 0;
    padding-bottom: 0;
}

.resellers-container .section-content-off {
    display: none;
}

.resellers-container .vlist .reseller-template {
    display: none;
}

.resellers-container .vlist .list-item {
    padding-top: 12px;
}

.resellers-container .vlist .list-item:nth-child(2) {
    border-top: none;
}

.resellers-container .vlist .list-item button {
    float: right;
    margin-top: 12px;
}

.resellers-container .vlist .list-header {
    margin-top: 0;
    margin-bottom: 0;
}

@media(max-width:767px) {
    .resellers-container .vlist .list-header {
        margin-right: 12px;
    }
}

.resellers-container .avatar-container {
    display: inline-block;
}

.resellers-container .resale-info {
    width: 75%;
    width: calc(100% - 60px - 90px - 36px);
    display: inline-block;
    margin-top: 20px;
}

.resellers-container .resale-info:before,
.resellers-container .resale-info:after {
    content: " ";
    display: table;
}

.resellers-container .resale-info:after {
    clear: both;
}

@media(max-width:767px) {
    .resellers-container .resale-info {
        width: 50%;
        width: calc(100% - 45px - 90px - 36px);
        margin-top: 0;
    }
}

.resellers-container .resale-info .separator {
    padding: 0 5px;
}

@media(max-width:767px) {
    .resellers-container .resale-info .separator {
        display: none;
    }
}

.resellers-container .resale-info .serial-number,
.resellers-container .resale-info .username {
    display: inline-block;
}

@media(max-width:767px) {

    .resellers-container .resale-info .serial-number,
    .resellers-container .resale-info .username {
        display: block;
    }
}

@media(max-width:543px) {
    .resellers-container .resale-info .username {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media(max-width:767px) {
    .resellers-container .resale-info .serial-number {
        font-size: 12px;
    }
}

.resellers-container .reseller-price-container {
    float: right;
}

.resellers-container .reseller-price-container .icon-robux-16x16 {
    display: none;
}

.resellers-container .reseller-price-container .text-robux {
    vertical-align: middle;
}

@media(max-width:767px) {
    .resellers-container .reseller-price-container {
        float: none;
    }

    .resellers-container .reseller-price-container .text-robux {
        font-size: 16px;
    }

    .resellers-container .reseller-price-container .icon-robux-20x20 {
        display: none;
    }

    .resellers-container .reseller-price-container .icon-robux-16x16 {
        display: inline-block;
    }
}

.resellers-container .see-more-resellers {
    display: none;
    width: 100%;
    margin-bottom: 12px;
}

.balance-text {
    color: #B8B8B8;
    font-size: 14px;
    text-align: center;
}

.modal-image {
    display: block;
    width: 150px;
    margin: 0 auto;
}

.item-name {
    font-weight: 600;
}

.confirmation-text,
.text-robux {
    display: inline-block;
}

.commission-label .icon-robux-16x16,
.after-commission-label .icon-robux-16x16 {
    margin-left: 4px;
}

.spinner {
    width: 50px;
    margin: 0 auto;
    display: block;
}

.comments-container {
    margin-top: 18px;
}

.content-overflow-toggle {
    line-height: 1.5em;
    position: relative;
    overflow: hidden;
    white-space: normal;
}

.content-overflow-toggle:after {
    background-color: #fff;
    content: "...";
    height: 24;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80px;
}

.content-overflow-toggle.content-overflow-toggle-off {
    overflow: auto;
}

.content-overflow-toggle.content-overflow-toggle-off:after {
    content: "";
    width: 80px;
}

.content-overflow-toggle.content-overflow-page-loading {
    overflow: hidden;
}

.content-overflow-toggle.content-overflow-page-loading:after {
    content: "";
}

.content-overflow-toggle .toggle-content {
    color: #00A2FF;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #fff;
}

.content-overflow-toggle .toggle-content:hover {
    cursor: pointer;
    text-decoration: underline;
}

@media(max-width:767px) {
    .content-overflow-toggle .toggle-content {
        color: #191919;
    }

    .content-overflow-toggle .toggle-content:hover {
        text-decoration: none;
        outline: none;
    }
}

/* ---------------------------------------------------------------------------
   Collectible resale UI (limited-implementation.md phase 3).
   The .resale-pricechart-tabs / .price-chart-* / .resellers-container styles were
   already ported above (from HtmlDumps/2017CatalogItem/fetchItem.css); what follows
   is only what this page needs on top of them.
   --------------------------------------------------------------------------- */

/* Both generations of Base/CSS/StyleGuide.css (2016 and 2017/) carry a legacy
   2011-era tab-widget rule `.tab-content { display:none; border-top; background }`
   whose panes were shown by JS. It collides with the Bootstrap-style .tab-content
   the 2017 resale tabs use, and silently swallowed the whole Price Chart/Resellers
   section (970x0). The real 2017 page never loaded the old StyleGuide, so it never
   met this rule. Undo all of it inside the resale block. */
.resale-pricechart-tabs .tab-content {
    display: block;
    position: static;
    top: auto;
    background-color: transparent;
    border-top: 0;
}

/* "Your Copies" sits after the price container, whose children float (.action-button
   right, .item-note left) — without clearing them it rides up into the "See more
   Resellers" note. */
.owned-copies-container {
    clear: both;
    padding-top: 10px;
}
.owned-copies-container .owned-copy { margin-bottom: 3px; }
.owned-copies-container .take-off-sale-link { margin-left: 6px; cursor: pointer; }

/* --- Sell modal ------------------------------------------------------------
   Shown through jquery.simplemodal (same mechanism as the BC-only modal), which
   supplies the overlay and fixed centering; these style the content box itself.
   The authentic 2017 sell modal was an Angular template the archive capture did
   not include, so the layout follows the page's own modal conventions. */
#sell-item-modal {
    width: 440px;
    background-color: #fff;
    border-radius: 3px;
}
#sell-item-modal .modal-body { padding: 15px; overflow: hidden; }
#sell-item-modal .sell-thumb {
    width: 110px;
    height: 110px;
    float: left;
    margin-right: 15px;
    border: 1px solid #e3e3e3;
}
#sell-item-modal .sell-copy-row { margin-bottom: 12px; overflow: hidden; }
#sell-item-modal .sell-copy-row .text-label { display: block; margin-bottom: 3px; }
#sell-item-modal .sell-price-input { width: 140px; }
#sell-item-modal .sell-fee-line { margin: 4px 0 0; color: #757575; font-size: 13px; }
#sell-item-modal .sell-error { color: #D86868; margin-bottom: 8px; display: none; }
#sell-item-modal .modal-footer { text-align: right; }
#sell-item-modal .modal-footer .btn-control-md { margin-left: 6px; }
