/* GFY vB6 theme customizations.
   Shipped in the image at upload/images/gfy/custom.css (served /images/gfy/custom.css)
   and linked from header_code by scripts/post-upgrade.php. All overrides; reversible
   by clearing header_code + removing this file. Bump the ?v= in the <link> on change. */

/* --- Strip default vB6 chrome (top channel nav + secondary nav + What's Going On) --- */
#channel-tabbar,
#channel-subtabbar,
.wol-widget { display: none !important; }

/* --- Logo: hidden for now (no logo) --- */
.site-logo { display: none !important; }

/* --- Tiled GFY background, like the classic gfy.com --- */
body {
  background-image: url(/images/gfy/bg_org.gif) !important;
  background-repeat: repeat !important;
}

/* --- Header: transparent so the page background shows through --- */
#header { background: transparent !important; }

/* --- Primary color -> GFY gold (softened from the original neon #cba14a to a more
       subtle antique gold #cba14a; still clearly gold, less harsh on the dark bg) --- */
input[type="text"]:hover, input[type="text"]:active, input[type="password"]:hover, input[type="password"]:active, textarea:hover, textarea:active,
.online-status.online,
.qtip-default .qtip-titlebar .qtip-close,
#channel-tabbar .channel-tabbar-list li.current a, #channel-tabbar .channel-tabbar-list li.current a:hover, .edit-mode #channel-tabbar .channel-tabbar-list li.current a:hover,
#channel-subtabbar .channel-subtabbar-list li a,
#channel-subtabbar .channel-subtabbar-list li a:hover,
#footer-tabbar,
#footer-tabbar ul.nav-list li a,
#footer-copyright a, #footer-copyright a:visited, #footer-copyright .b-link,
.conversation-content-widget .list-container .list-item .author a,
.pollresults-data .pollvoter-cell .voter-icon .voters .note,
.module-title,
.module-title h1,
.wol-location,
.condense_control,
.linkcontainer .urlinfo .title,
.linkviewcontainer .urlinfo .url,
.widget-tabs .topic-list-container .topic-list .topic-item a, .widget-tabs .topic-list-container .topic-list .topic-item a:active, .widget-tabs .topic-list-container .topic-list .topic-item a:visited,
.topic-title,
.widget-content .forum-list-container .forum-item a, .widget-content .forum-list-container .forum-item a:active, .widget-content .forum-list-container .forum-item a:visited, .widget-content .forum-list-container .subforum-list a, .widget-content .forum-list-container .subforum-list a:active, .widget-content .forum-list-container .subforum-list a:visited, .widget-content .blogmember-list .list-container .list-item a, .widget-content .blogmember-list .list-container .list-item a:active, .widget-content .blogmember-list .list-container .list-item a:visited, .widget-content .sg-groups-list .sg-groups-list-container .list-item a, .widget-content .sg-groups-list .sg-groups-list-container .list-item a:active, .widget-content .sg-groups-list .sg-groups-list-container .list-item a:visited,
.forum-list-container .icon.unread,
a, a:active, a:visited, .b-link, .ui-widget-content a,
.b-button, .cke_dialog_body .cke_dialog_contents .b-button,
.b-button:link, .b-button:visited, .cke_dialog_body .cke_dialog_contents .b-button:link, .cke_dialog_body .cke_dialog_contents .b-button:visited,
.profile-widget .widget-tabs.ui-tabs .ui-widget-content a.b-button, .profile-widget .widget-tabs.ui-tabs .ui-widget-content a.b-button:visited, .sb-dialog.ui-dialog-content.ui-widget-content a.b-button, .sb-dialog.ui-dialog-content.ui-widget-content a.b-button:visited, .ui-state-default a.b-button, .ui-state-default a.b-button:link, .ui-state-default a.b-button:visited, a.b-button, a.b-button:link, a.b-button:visited,
.b-button--secondary, .b-button--secondary:link, .b-button--secondary:visited, .cke_dialog_body .cke_dialog_contents .b-button--secondary, .cke_dialog_body .cke_dialog_contents .b-button--secondary:link, .cke_dialog_body .cke_dialog_contents .b-button--secondary:visited,
.cke_dialog_body .cke_dialog_contents .b-button--secondary span,
.b-button.b-button--pressed:hover,
.b-button.b-button--close-btn:hover,
.b-button.b-button--close-btn:active,
.b-button.b-button--transparent:active,
.b-namecard__bottom,
.b-post.pinned-answer,
.b-post .answer-label,
.b-post-control__icon.isanswer,
.b-bbcode__url--preview .urlinfo .url { color: #cba14a !important; }

.b-post.pinned-answer,
.b-post .answer-label { background-color: #cba14a !important; }

.pollresults .pollvote-count,
.b-link__facebook-connect:hover, .b-link__facebook-connect:focus, .b-link__facebook-connect:link, .b-link__facebook-connect:visited,
.b-button, .cke_dialog_body .cke_dialog_contents .b-button,
.b-button--secondary, .b-button--secondary:link, .b-button--secondary:visited, .cke_dialog_body .cke_dialog_contents .b-button--secondary, .cke_dialog_body .cke_dialog_contents .b-button--secondary:link, .cke_dialog_body .cke_dialog_contents .b-button--secondary:visited,
.l-xsmall .b-namecard__button-on-xsmall,
.b-comp-menu-dropdown__content-item--button-group > a, .b-comp-menu-dropdown__content-item--button-group > a:active, .b-comp-menu-dropdown__content-item--button-group > a:visited { border-color: #cba14a !important; }

/* --- Forum status icons -> classic GFY gifs (forum_new = unread, forum_old = read) --- */
.icon.b-icon-fa--forumicon {
  display: inline-block !important;
  width: 37px !important;
  height: 20px !important;
  background: url(/images/gfy/forum_old.gif) no-repeat left center !important;
}
.icon.b-icon-fa--forumicon::before { content: none !important; }
.icon.b-icon-fa--forumicon.unread { background-image: url(/images/gfy/forum_new.gif) !important; }
/* nudge the forum icon left to align with the wider GFY status gifs */
.forum-list-container .forum-item .cell-forum .icon { margin-left: -20px; }

/* --- Footer copyright: hide the timezone / generated-time line (the vBulletin version
       is trimmed by the footer JS in post-upgrade.php) --- */
#footer-current-datetime { display: none !important; }

/* --- Legibility tuning (test6 review) --- */
/* Selected-answer header bar: dark, readable text (was gold-on-gold = invisible) */
.b-post .answer-label,
.b-post .answer-label * { color: #1c1305 !important; }

/* Post user info (Join Date / Posts / title): lift off the dark background */
.b-userinfo,
.b-userinfo .b-userinfo__stats,
.b-userinfo .b-userinfo__stats * { color: #d3cdc1 !important; }

/* Lift the very-dark surfaces a touch (warm charcoal, not pure black) */
body { background-color: #2f2c24 !important; }
.b-post .b-post__grid-container { background-color: #322f28 !important; }

/* Larger, more readable post body text */
.b-post__content,
.b-post__content .js-post__content-text,
.b-post__content .b-post__content-text { font-size: 1.5rem !important; line-height: 1.62 !important; }

/* Mobile: slightly smaller buttons with tighter padding (phone layout = .l-xsmall) */
.l-xsmall .b-button {
  font-size: 1.3rem !important;
  line-height: 1.8rem !important;
  padding: 0.5rem 1.1rem !important;
  min-height: 36px !important;
  min-width: 40px !important;
}

/* Last-post date legibility (was a dim secondary colour that blended into the bg) */
.go-to-last-post-container .post-date,
.post-date { color: #bdb7aa !important; }

/* Shorter thread rows: tighter cell padding, compact the stacked count stats, smaller last-post avatar */
tr.topic-item > td { padding-top: 7px !important; padding-bottom: 7px !important; }
.cell-count .posts-count,
.cell-count .views-count,
.cell-count .votes-count { line-height: 1.3 !important; font-size: 1.15rem !important; margin: 0 !important; }
.cell-lastpost .avatar img,
.topic-item .cell-lastpost .avatar img { width: 32px !important; height: 32px !important; }
