/* Basic coumns for bikes/index */
.third {
  float: left;
  width: 33%;
}
.third h2:first-child {
  margin-top: 6px;
}
/* Current Stage Photos Highlight */
.highlight {
  position: relative;
  margin: 0 -6px 10px -6px;
  padding: 6px 6px 2px 6px;
  background: #7df;
}
.highlight .thumbs {
  margin-bottom: 0;
}
#highlight_x {
  position: absolute;
  top: 70px;
  left: -25px;
  height: 12px;
  width: 25px;
  background: #7df;
}
#highlight_y {
  position: absolute;
  top: 70px;
  left: -35px;
  background: #7df;
  width: 10px;
  height: 60px;
}
.li_highlight {
  display: none;
  background: #7df;
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 3px;
}
.viewing .li_highlight {
  display: block;
}
.thumbs {
  margin-bottom: 18px;
}
.thumbs img {
  border: 1px solid #000;
  margin-bottom: 4px;
  vertical-align: top;
}
.thumbs a img.left {
  margin-right: 5px;
}
ul.tag_cloud {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.tag_cloud li {
  float: left;
  margin-right: 5px;
  margin-bottom: -3px;
  /* TODO: Adjust and make larger when there are more tags */
}
ul.tag_cloud li a {
  line-height: 1.1;
  text-decoration: none;
}
ul.tag_cloud li a:hover {
  text-decoration: underline;
}
.tag6 {
  padding-top: 0;
  height: 25px;
}
.tag5 {
  padding-top: 2px;
  height: 23px;
}
.tag4 {
  padding-top: 2px;
  padding-bottom: 2px;
  height: 21px;
}
.tag3 {
  padding-top: 4px;
  padding-bottom: 2px;
  height: 19px;
}
.tag2 {
  padding-top: 6px;
  padding-bottom: 2px;
  height: 17px;
}
.tag1 {
  padding-top: 7px;
  padding-bottom: 2px;
  height: 16px;
}
.tag0 {
  padding-top: 7px;
  padding-bottom: 3px;
  height: 15px;
}
.tag6 a {
  font-size: 22px;
}
.tag5 a {
  font-size: 19px;
}
.tag4 a {
  font-size: 17px;
}
.tag3 a {
  font-size: 15px;
}
.tag2 a {
  font-size: 13px;
}
.tag1 a {
  font-size: 12px;
}
.tag0 {
  font-size: 10px;
}
/* Browsing Bikes */
#content ul.results li {
  float: left;
  position: relative;
  margin: 0 0 4px 0;
  padding: 0;
  height: 48px;
  width: 50%;
  background: url(/img/question_mark.gif) 0 0 no-repeat;
  font-size: 1em;
  overflow: hidden;
}
#content ul.links li {
  height: 33px;
  background: none;
}
/* .results_small gets applied in a div.half (in addition to class results), so since the parent is already halfed, we'll make each list item 100% width */
#content ul.results_small li {
  width: 100% !important;
}
/* For profiles with current + old bikes */
#content ul.results_small + h2 {
  clear: left;
  padding-top: 15px;
}
#content ul.results li a {
  display: block;
  width: 99%;
  height: 100%;
}
#content ul.links li a {
  font-size: 18px;
  padding-top: 7px;
}
#content ul.results li a span {
  position: absolute;
  left: 58px;
  top: 15px;
  font-size: 18px;
  text-decoration: underline;
  cursor: hand;
}
#content ul.results li img {
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  overflow: hidden;
}
#content ul.more_links {
  list-style: none;
  margin: 2px 0 0 0;
  padding: 0;
}
#content ul.more_links li {
  margin: 0 0 4px 0;
  font-size: 14px;
}
/* Comments */
.comments_title {
  clear: both;
  padding-top: 16px;
}
div.comment {
  position: relative;
  border-top: 1px solid #ccc;
  padding: 7px 0 0 58px;
  margin-bottom: 8px;
  background-position: 0 11px;
  background-repeat: no-repeat;
  background-image: url(/img/question_mark.gif);
}
div.comment div.comment {
  border-top: 0;
  padding: 5px 0 0 58px;
  margin-bottom: 0;
  background-position: 0 9px;
  background-repeat: no-repeat;
  background-image: url(/img/question_mark.gif);
}
div.comment a.author_photo {
  display: block;
  position: absolute;
  left: 0;
  top: 11px;
  width: 48px;
  height: 48px;
  text-indent: -9000em;
}
div.comment div.comment a.author_photo {
  top: 9px;
}
h2 + div.comment,
p.comment_options + div.comment {
  border-top: 0;
}
#content p.comment_options {
  margin: 0;
  padding: 1px 0 5px 0;
  line-height: 1;
  font-size: 12px;
  color: #aaa;
}
#content p.comment_options a {
  color: #777;
}
#content div.comment p.author_info {
  margin: 0 0 5px 0;
  font-size: 1em;
  color: #777;
}
#content div.comment p.date_info {
  margin: 5px 0 0 0;
  font-size: 1em;
  color: #777;
}
#content div.comment p.date_info a {
  color: #777;
  text-transform: lowercase;
}
#content div.comment p.comment_body {
  margin: 0;
}
/* Comment Posting Stuff */
form.post_comment {
  float: left;
  margin: 0;
  padding: 0;
  font-size: 1.1em;
}
form.post_comment label {
  display: block;
  margin-bottom: 1px;
  font-size: 14px;
  letter-spacing: -1px;
  font-weight: bold;
}
form.post_comment textarea {
  display: block;
  width: 280px;
  height: 70px;
  margin-bottom: 10px;
  font-family: helvetica, arial, sans-serif;
  font-size: 13px;
  background: #ffffff url(/img/forms/input_bg.png) top left no-repeat;
  border: 1px solid #d9d9d9;
  padding: 4px 3px 4px 3px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
form.post_comment textarea:focus {
  border-color: #0cf;
}
form.post_comment input {
  font-family: helvetica, arial, sans-serif;
  font-size: 13px;
}
#comment_cancel {
  color: #999;
  font-size: 11px;
}
#popwindow_outer {
  position: absolute;
  background: #fff;
  border: 6px solid #666;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 12px 15px;
  text-align: left;
  z-index: 5000;
}
#popwindow_outer img.arrow {
  position: absolute;
  left: -28px;
  width: 28px;
  height: 36px;
}
img.individual_map {
  border: 1px solid #000;
  margin-bottom: 4px;
}
/* Interview */
#interview p {
  margin: 0 0 13px 0;
}
#interview p.q {
  font-weight: bold;
  margin: 13px 0 0 0;
}
#interview p.last {
  margin-bottom: 13px;
}
#interview p span {
  color: #090;
  font-weight: bold;
}
#interview p.q span {
  color: #0be;
}
#interview a.feature {
  display: block;
  float: right;
  position: relative;
  width: 207px;
  margin: 5px 0 3px 10px;
  border: 0;
  background-position: -167px 0;
  background-repeat: no-repeat;
}
#interview a.feature span {
  position: absolute;
  top: -21px;
  right: 10px;
  width: 98px;
  height: 98px;
  border: 0;
  background: url(/img/details_badge_sprite.png) 0 0 no-repeat;
  text-indent: -9000em;
}
#interview a.feature:hover span {
  background-position: 0 -98px;
}
#interview a.feature img {
  display: block;
  border: 0;
  margin: 104px 0 0 0;
}
#interview .iit_left,
#interview .iit_right {
  float: left;
  position: relative;
  margin: 3px 10px 3px 0;
}
#interview .iit_right {
  float: right;
  margin: 3px 0 3px 10px;
}
#interview .iit_left span,
#interview .iit_right span {
  display: none;
}
/* Interviews List Page */
p.interview_row {
  line-height: 1;
}
p.interview_row .time {
  display: block;
  margin-bottom: -5px;
  font-size: 18px;
  color: #aaa;
  letter-spacing: -1px;
  font-weight: bold;
}
p.interview_row .intro {
  display: block;
  margin-bottom: -3px;
}
p.interview_row .interview_link {
  font-weight: bold;
}
/* Photos on bike profiles */
#photo {
  z-index: 201;
  position: relative;
  clear: both;
  margin: 0 auto;
}
#photo a.left {
  position: absolute;
  left: 0;
  top: 10px;
  width: 40%;
  height: 40px;
  text-indent: -9000em;
  z-index: 201;
  /* We need a background here for IE7, otherwise this link won't show up. */
  background: url(/img/sprites/photo_overlays.png) 940px 940px no-repeat;
}
#photo a.right {
  position: absolute;
  left: 60%;
  top: 10px;
  width: 40%;
  height: 40px;
  text-indent: -9000em;
  z-index: 201;
  /* We need a background here for IE7, otherwise this link won't show up. */
  background: url(/img/sprites/photo_overlays.png) 940px 940px no-repeat;
}
#photo a.left:hover {
  background: url(/img/sprites/photo_overlays.png) left center no-repeat;
}
#photo a.right:hover {
  background: url(/img/sprites/photo_overlays.png) right center no-repeat;
}
#photo img {
  border-top: 10px solid #fff;
  display: block;
}
#photo .close {
  position: absolute;
  top: 10px;
  right: 0;
  width: 31px;
  height: 30px;
  font-size: 1px;
  text-indent: -9000em;
  overflow: hidden;
  cursor: pointer;
  background: url(/img/sprites/photo_overlays.png) -470px 0 no-repeat;
  z-index: 202;
}
#photo .close:hover {
  background: url(/img/sprites/photo_overlays.png) -470px -30px no-repeat;
}
#photo .options {
  position: absolute;
  top: 10px;
  right: 31px;
  height: 30px;
  z-index: 202;
  font-size: 11px;
}
#photo .options a {
  float: left;
  margin-right: 1px;
  padding: 9px 10px 0 10px;
  height: 21px;
  background: url(/img/transparent_black_overlay.png);
  color: #ccc;
}
#photo .options a:hover {
  color: #fff;
}
#photo .pop_open {
  color: #fff !important;
  text-decoration: none;
  cursor: default;
}
#photo #share {
  position: absolute;
  top: 40px;
  right: 32px;
  background: url(/img/transparent_black_overlay.png);
  z-index: 202;
  font-size: 11px;
  padding: 9px 10px 0 10px;
  height: 21px;
  color: #fff;
}
/* SUMMARY AND SPECS */
#ss {
  float: left;
  width: 490px;
}
#ad_bike {
  position: absolute;
  top: 57px;
  right: 240px;
  width: 222px;
}
#ad_bike iframe {
  width: 222px;
  height: 256px;
  border: none;
}
/* STAGES */
#history {
  position: absolute;
  top: 57px;
  right: 240px;
  width: 189px;
  background: #e7f5de url(/img/forms/form_bg.png) top left no-repeat;
  padding: 10px 10px 3px 10px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
#history h2 {
  float: left;
  margin: 0;
  font-size: 16px;
}
#history p {
  clear: both;
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 5px;
  margin-bottom: 6px;
  line-height: 1.2;
}
#history p.options {
  background-image: url(/img/icons/add.png);
  margin-top: 20px;
  background-position: 0 0;
  padding-top: 2px;
  height: 14px;
  font-size: 11px;
  margin-bottom: 5px;
}
#stage_nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
#stage_nav li {
  line-height: 1em;
  margin-bottom: 5px;
  position: relative;
}
#stage_nav a.last {
  margin-right: 0;
}
#stage_nav a:hover {
  border-color: #666;
}
#stage_nav a.viewing {
  cursor: default;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}
#stage_nav a.viewing:hover {
  border-color: #09c;
}
h4.stage_description {
  margin-top: 22px;
  margin-bottom: 0;
  color: #333;
}
#content p.stage_description {
  color: #333;
  margin-top: 3px;
  margin-bottom: 3px;
}
#description {
  clear: left;
}
#stage_nav + #description {
  padding-top: 5px;
}
#specs p {
  clear: left;
  line-height: 1.25;
  margin: 3px 0;
  padding: 5px 5px 3px 5px;
}
h2 span {
  font-size: 11px;
  color: #777;
  font-weight: normal;
  letter-spacing: 0;
  vertical-align: middle;
}
#photo .label {
  position: absolute;
  top: 20px;
  left: 10px;
  padding: 10px 12px;
  background: #000;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
#photo .label a.bike {
  font-size: 18px;
  letter-spacing: -1px;
  font-weight: bold;
  text-decoration: none;
  color: #ddd;
}
#photo .label a:hover {
  color: #fff;
  text-decoration: underline;
}
#photo .label .owner {
  display: block;
  color: #888;
  font-size: 11px;
}
#photo .label .owner a {
  color: #888;
  text-decoration: none;
}
/* Photo comments */
#photo #pcomments {
  position: absolute;
  top: 40px;
  right: 32px;
  background: url(/img/transparent_black_overlay.png);
  z-index: 202;
  font-size: 11px;
  padding: 4px 10px 0 10px;
  color: #fff;
  text-align: left;
  z-index: 201;
}
#photo #pcomments div.comment:first-child {
  border-top: 0;
  padding-top: 2px;
  background-position: 0 6px;
}
#photo div.comment p.author_info {
  margin: 0 0 5px 0;
  font-size: 1em;
  color: #aaa;
}
#photo div.comment p.date_info {
  margin: 5px 0 0 0;
  font-size: 1em;
  color: #aaa;
}
#photo div.comment p.date_info a {
  color: #aaa;
  text-transform: lowercase;
}
#photo div.comment p.comment_body {
  margin: 0;
}
#photo form.post_comment {
  padding-top: 3px;
  padding-bottom: 5px;
}
#photo form.post_comment textarea {
  height: 50px;
  margin-bottom: 4px;
}
.preview {
  position: relative;
  margin-bottom: 8px;
  border-top: 1px solid #ccc;
  padding-top: 9px;
}
#content .preview p {
  margin: 0;
  margin-left: 25px;
  padding: 4px 0 0 10px;
  height: 20px;
  font-size: 12px;
  line-height: 1.2;
  color: #999;
}
#content .preview p a.minor {
  color: #999;
}
.preview img {
  position: absolute;
  top: 9px;
  left: 0;
  border: 0;
}
h2 + .preview {
  border-top: 0;
  padding-top: 4px;
}
p.comment_options + .preview {
  border-top: 0;
}
/* The following rule seems un-necessary, but Chrome has a bug that makes the
 * above adjacent selector apply to everything with .preview. Odd.
 */
div + .preview {
  border-top: 1px solid #ccc;
  padding-top: 9px;
}
h2 + .preview img {
  top: 4px;
}
.added {
  position: absolute;
  top: 29px;
  left: 10px;
  margin: 0 !important;
}
.profile_title {
  padding-bottom: 23px !important;
}
.photogrid {
  margin-bottom: 10px;
}
.photogrid a {
  display: block;
  width: 176px;
  overflow: hidden;
  float: left;
  margin-right: 2px;
  margin-bottom: 2px;
  position: relative;
}
.photogrid .no_photo {
  background: #656565 url(/img/question_mark.gif) center center no-repeat;
  min-height: 80px;
}
.photogrid span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: url(/img/transparent_black_overlay.png);
  width: 300px;
  height: 18px;
  padding: 4px 0 0 5px;
  color: #ccc;
  font-size: 11px;
  text-decoration: underline;
}
.photogrid a:hover span {
  color: #fff;
}
.photogrid a.last_in_row {
  margin-right: 0;
}
.photogrid img {
  margin-left: -16px;
  border: 0;
}
/* Bike History Explanation Popup */
li.add_history {
  padding-bottom: 3px !important;
}
li.add_history a {
  float: left;
}
a.o_history_explanation {
  margin-left: 1px;
  margin-top: -2px;
  width: 12px;
  height: 13px;
  padding: 0;
  background: url(/img/question_box.png) 2px 2px no-repeat;
  text-indent: -9000em;
}
#history a.o_history_explanation {
  float: left;
}
/* This is duplicated in controlpanel.css. TODO: Fix. */
#bike_history_popup {
  background: url(/img/transparent_black_overlay.png);
  position: absolute;
  width: 200px;
  color: #fff;
  font-size: 11px;
  z-index: 400;
  text-align: left;
}
#bike_history_popup div {
  background: url(/img/transparent_black_overlay.png);
  padding: 10px;
}
#bike_history_popup a.get_started {
  font-size: 16px;
  letter-spacing: -1px;
  font-weight: bold;
}
/* Flagging */
a.flag {
  color: #999;
}
.flag_reason {
  display: block;
}
.flag_reason h4 {
  margin-bottom: 0;
}
.flag_reason p {
  margin: -1px 0 4px 0 !important;
  font-size: 12px !important;
}
.flag_reason textarea {
  display: block;
  margin: 4px 0 6px 0;
  width: 200px;
  height: 60px;
}
/* Member Profiles */
.half_left {
  float: left;
  padding-top: 10px;
  width: 43%;
}
.half_left .member_photo {
  float: left;
  width: 176px;
  margin: 0 4px 8px 0;
  overflow: hidden;
  border: 1px solid #000;
}
.half_left .member_photo img {
  display: block;
  margin-left: -16px;
}
.half_left .label {
  clear: left;
  margin-bottom: 0 !important;
  font-weight: bold;
}
.half_right {
  float: right;
  width: 532px;
}
.half_right h2:first-child {
  margin-top: 6px;
}
/* Members' other bikes on bikes/show */
.grid_photos {
  margin-bottom: 18px;
}
.grid_photos img {
  vertical-align: middle;
  margin: 0 2px 4px 2px;
  border: 0;
}
.social {
  padding-top: 10px;
  clear: both;
}
.social a {
  float: left;
  display: block;
  margin-right: 10px;
  height: 24px;
  width: 60px;
  background: url(/img/social_share_buttons.png) 2px 2px no-repeat;
  text-indent: -9000px;
}
.social .g-plusone-button a {
  background-position: -62px 2px;
  width: 36px;
}
.social .fb-like-button a {
  background-position: -102px 2px;
  width: 61px;
}
