#wrapper, .wrapper {
  display:block;
  width:860px;
  padding:0 10px;
  margin:0 auto;
}

#header {
  position:relative;
  margin:0 10px 16px;
  display:block;
}

#header h1, #header h1 a {
  display:block;
  width:211px;
  height:55px;
}

#header h1 {
  background:url(/images/dbtwang-logo.png) 0 0 no-repeat;
  text-indent:-999em;
  position:absolute;
  top:36px;
  left:0;
  z-index:1;
}

/* login information */
.login-info {
  float:right;
  position:relative;
  padding-right:90px;
  margin:30px 0 0;
}

.login-info .avatar {
  position:absolute;
  top:0;
  right:0;
  width:70px;
  height:70px;
}

.login-info dd {
  display:block;
}

.login-info dt {
  font-size:36px;
  font-weight:900;
  margin:10px 0 10px;
  display:block;
  text-align:right;
}

.login-info .button {
  float:right;
}

/* main navigation */
#navigation {
  width:960px;
  display:block;
  margin:0 -55px;
  padding:0 10px;
  height:45px;
  background:url(/images/nav-bg.png) bottom center no-repeat;
}

#navigation ul, .nav {
  display:block;
  margin:0 auto;
  width:860px;
  height:45px;
  padding:0;
}

#navigation li, .nav li {
  float:left;
  padding:0;
  background:url(/images/nav-separator.png) bottom right no-repeat;
  position:relative;
  line-height:45px;
  padding:0;
}

#navigation li a, .nav li a {
  display:block;
  color:#000;
  text-decoration:none;
  font-size:16px;
  line-height:40px;
  font-weight:100;
  padding:5px 15px 0;
}

#navigation .highlighted a, .nav .highlighted a {
  background:url(/images/nav-active-bg.png) top left repeat-x;
}

#navigation .count, .nav .count {
  padding:0;
  color:#00a5e2;
}

#navigation .expandable, .nav .expandable {
  background:url(/images/nav-arrow.png) right 5px no-repeat;
  padding-right:15px;
}

/**
#navigation li.active {
  display:block;
  background:url(/images/nav-tab-l.png) bottom left no-repeat;
}

#navigation li.active > a {
  display:block;
  width:100%;
  line-height:35px;
  padding:10px 5px 0 0;
  font-weight:900;
  background:url(/images/nav-tab-r.png) bottom right no-repeat; 
}
*/

#navigation .account, .nav .account {
  float:right;
  background:transparent;
  padding-right:20px;
}

#navigation .account a, .nav .header, .content-nav .header {
  color:#888;
  text-decoration:underline;
  text-transform:uppercase;
  font-size:10px;
  font-weight:900;
  padding:10px 0 0;
}

#navigation .expanded, .nav .expanded {
  background:url(/images/nav-expanded-r.png) right 5px no-repeat;
}

#navigation .expanded a, .nav .expanded a {
  background:url(/images/nav-expanded-l.png) left 5px no-repeat;
  margin-left:-3px;
  padding-left:18px; /* 15px (#navigation li a) + 3px (margin compensation) = 18px */
}

#navigation .expanded > a > span, .nav .expanded > a > span {
  background-image:url(/images/nav-expanded-arrow.png);
  background-position:right 5px;
}

#navigation .subnav, .nav .subnav {
  position:absolute;
  width:165px;
  height:auto;
  border-left:1px solid #e7e7e7;
  border-right:1px solid #e7e7e7;
  background:#fff;
  display:none;
  z-index: 100;
  top:45px;
  left:-3px;
}

#navigation .expanded .subnav, .nav .expanded .subnav {
  display: block;
}

#navigation .subnav li, .nav .subnav li {
  float:none;
  clear:both;
  background-image:none;
  padding:0;
}

#navigation .subnav a, .nav .subnav a {
  color:#00a5e2;
  font-size:13px;
  line-height:120%;
  padding:5px 10px;
  background-image:none;
  margin:0;
}

#navigation .subnav a:hover, .nav .subnav a:hover {
  color:#fff;
  background:#00a5e2;
}

#navigation .subnav a:hover span, .nav .subnav a:hover span {
  color:#fff;
}

#navigation .subnav hr, .nav .subnav hr {
  display:none;
}

#navigation .subnav .last, .nav .subnav .last {
  height:10px;
  background:url(/images/nav-expanded-bottom-r.png) bottom right no-repeat;
}

#navigation .subnav .last div, .nav .subnav .last div {
  background:url(/images/nav-expanded-bottom-l.png) bottom left no-repeat;
  margin-right:5px;
  height:10px;
}


/* content */
#content {
  margin:20px 0 0;
  display:block;
  padding-top: 0px;
}

#content .primary {
  width:570px;
  margin-right:10px;
  float:left;
}

#content .secondary {
  width:280px;
  float:right;
}

#content .column {
  margin:0 5px;
  display:block;
  width:280px;  
  float:left;
}

#content .faux-column {
  width:570px;
  background:url(/images/faux-2col.png) 0 0 no-repeat;
}

#content p {
  padding:20px;
}

#content .column-shaded  p{
  padding: 10px 20px;
  font-size: 12px;
}

#content .big{
  font-size: 15px;
}


#content .column-shaded {
  background:url(/images/column-shaded.png) 0 0 repeat-y;
}

#content .column-first {
  margin-left:0;
}

#content .column-last {
  margin-right:0;
  float:right;
}

#content .column-only {
  float: none;
  width: 870px;
  overflow: hidden;
}

#content .column .first, p.first {
  border-top:2px solid #b2b2b2;
}

#content .italics{
  font-style: italic;
}

/* dashboard activity */
.activity {
  position:relative;
  margin:10px 0;
}

#content .activity {
  width:260px;
  height:370px;
  margin:0px 10px 30px;
  float:left;
  overflow:hidden;
}

.activity .info {
  position:absolute;
  background:#fff;
  /*bottom:0;*/
  top: 380px;
  opacity: 0.90;
  left:0;
  padding:10px 0;
  width:260px;
  /*display:none;*/
}

.activity dt {
  position:absolute;
  top:0;
  left:0;
  background:url(/images/featuring.png) left bottom repeat-x;
  line-height:150%;
  width:100%;
}

.activity dt.post {
  padding:10px 0px;
  color:#bbb;
  font-style:normal;
  z-index: 3;
}

.activity dt strong {
  color:#fff;
}

.activity dt a {
  font-weight:900;
  margin: 0 10px;
  display: block;
}

.activity dd, .activity dd a {
  padding-top:0;
  width:260px;
  height:373px;
  display:block;
}

.activity dd.image  {
  text-align: center;
  padding-top:0;
  z-index: 1;
}

.activity dd.image img {
  display:none;
}

.activity dd.badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.activity dd.badge a {
  height: 100%;
}

.activity dd.badge img {
  position: absolute;
  right: 5px;
  top: 70px;
}

.activity dd.info-guitar {
  z-index: 3;
}

.activity dd.info-guitar ul {
  margin: 0 5px;
  padding-left: 5px;
}

.activity dd.info-guitar ul.info-stats {
  height: 75px;
}

.activity dd.info-guitar ul.info-riffbox {
  border-top: 2px solid #888888;
}

.activity dd.info-guitar li {
  clear: both;
}

.activity dd.info-guitar li strong {
  display: inline-block;
  float: left;
}

.activity dd.info-guitar li span.comments {
  float: right;
  padding-left: 5px;
  height: inherit;
  width: 150px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  clear: both;
}

.activity dd.info-guitar li span.comments div {
  width: 80px;
  float: left;
}

.activity dd.info-guitar li span.comments div.numbers {
  color:#00A5E2;
  width: 50px;
  float: right;
  height: 22px;
}

.activity dd.info-guitar li span.comments div#soundcloud-number {
  margin-top: 8px;
}
.activity dd.info-guitar-lost li {
  padding: 5px 0;
}

.activity dd.info-guitar-lost li span {
  color: #9e2f5c;
  font-weight: bold;
}

.activity dd.info-guitar-lost li span.header {
  font-size: 20px;
}

.activity dd.info-guitar-lost li span.details {
  font-weight: bold;
}

.activity dd.info-guitar-lost li span.circumstances {
  font-weight: bold;
  color:#888888;
}

#content .activity dd.info-guitar li p.user_note {
  padding: 0;
}

#content .general-box table {
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:20px;
  color:#888;
}

/* TODO support for ie needed width*/
.activity dd.image img {
  max-width: 280px;
  max-height: 373px;
}

.activity .added p {
  background:url(/images/icons/plus.gif) 10px 10px no-repeat;
}

.activity .starred p {
  background:url(images/icons/star.gif) 10px 10px no-repeat;
}

.activity .post p {
  background:url(/images/icons/blog.gif) 10px 10px no-repeat;
}

.activity .post-title {
  font-size:16px;
  color:#999;
  line-height:150%;
}

.activity .post-title a {
  text-decoration:none;
}

.activity .post-title .comments {
  font-size:10px;
  display:inline-block;
  width:24px;
  height:22px;
  background:url(/images/icons/post-comments.gif) 0 0 no-repeat;
  padding-left:5px;
  line-height:20px;
}

.activity .post-excerpt {
  padding-top:10px;
}

.activity .post-excerpt p {
  font-size:14px;
  color:#666;
  line-height:120%;
}

.activity .post-excerpt .read-more {
  text-decoration:none;
  font-size:16px;
}

#content .activity dt p {
  padding:10px 0 10px 30px;
  font-size:12px;
}

/* Dashboard articles styles */

#news .articles-box {
  padding-left: 5px;
}

#news .article {
  display: block;
  float: left;
  width: 258px;
  height: 203px;
  padding: 10px;
}

#news .article dd p {
  padding: 10px 0 0 0;
}

.activity.article dd.image {
  background-color: #ccc;
  height: 203px;
}

.activity.article dd.image img {
  display:block;
}

.activity.article dd.title, .activity.article dd.excerpt {
  position: absolute;
  left: 0;
  background-color: rgba(0,0,0,0.5);
}

.activity.article dd.title a, .activity.article dd.excerpt a {
  width: 100%;
  height: inherit !important;
  color: #fff;
  text-decoration: none;
  font-family:Georgia,'Times New Roman',Times,serif;
  
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity.article dd.title {
  border-top: 1px solid #888;
  top: 105px;
  width: 238px;
  height: 29px;
  padding: 10px 10px 0 10px;
  font-size: 26px;
}

.activity.article dd.excerpt {
  top: 145px;
  height: 58px;
  width: 238px;
  padding: 0 10px;
  font-style: italic;
}

.activity.article dd.excerpt a {
  white-space: pre-line;
  height: 40px;
}

/** Page footer styles */

#footer {
  width:100%;
  background:url(/images/footer.jpg) center top no-repeat;
  height:50px;
  color:#888;
  margin:20px 0 0;
  text-align:center;
}

#footer a {
  color:#888;
  text-transform:uppercase;
  margin-right:5px;
  border-right:1px solid #888;
  padding-right:4px;
  font-size:11px;
  font-weight:900;
}

#footer .wrapper {
  line-height:50px;
}

#footer .wrapper strong {
  float:left;
}

#footer .wrapper ul {
  float:right;
}

#footer .wrapper li {
  float:left;
}

/* my account page */
.images_list {
  padding-left:15px;
  margin-top:10px;
}

.images_list li {
  width:120px;
  height:80px;
  margin:10px 5px 0;
  display:block;
  float:left;
}

.images_list li a {
  width:120px;
  height:80px;
  display:block;
}

.images_list li img {
  opacity:0.5;
}

.images_list .active {
  background:#00a6e4;
  padding:2px;
  margin:6px 4px 0;
}

.images_list .active img {
  opacity:1;
}

/* content subnavigation */
#tab-view {
  margin-left: -10px;
}

.content-nav {
  background:url(/images/subnav-bg.png) 0 0 no-repeat;
  width:920px;
  margin:30px 0 10px -10px;
}

.content-nav li {
  float:left;
  display:block;
  line-height:32px;
  background:url(/images/subnav-separator.png) right bottom no-repeat;
}

.content-nav .header {
  text-decoration:none;
  line-height:32px;
  padding:0 5px 0 0;
  background:transparent;
}

.content-nav a, .content-nav span {
  font-weight:900;
  color:#444444;
  padding:0 15px;
  text-decoration:none;
}

#tab-view .content-nav a, #tab-view .content-nav span {
  font-size:13px;
  padding: 0 13px;
}

.content-nav .selected {
  background:#fff url(/images/subnav-tab-r.png) right bottom no-repeat;
  margin-left:-5px;
}

.content-nav .selected a {
  display:block;
  line-height:32px;
  background:url(/images/subnav-tab-l.png) left bottom no-repeat;
}

/* images gallery */
.images-box {
  width:886px;
  height:393px;
  overflow: hidden;
  position: relative;
  margin-left: -15px;
}

.images-box .images-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 5000px;
}

.images {
  width: inherit;
}

.images li {
  border:10px solid #222;
  border-left: none;
  float:left;
  position:relative;
  width:282px;
  height:373px;
}

.images .updated {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  z-index: 10;
  background: #FFFF87 url(/images/icons/update.png) center center no-repeat;
}

.images .first, .images .last {
  border-left:10px solid #222;
  border-right:10px solid #222;
}

.images a {
  background:#2f2f2f;
}

.images img {
  display:none;
}

.images a, .images .image {
  display:block;
  width:282px;
  height:373px;
}

.images-box .add-another {
  z-index: 10;
  position: absolute;
  bottom: 0;
  height: 35px;
  width: 100%;
}

.images-box .add-another a {
  display: block;
  margin: 0 auto;
  width: 160px;
  height: 15px;
  padding: 8px 10px 12px 10px;
  text-decoration:none;
  background: #f5f3fa url(/images/add-another-bg.png) left bottom repeat-x;
  
  -webkit-box-shadow: 0 0 3px #666;
  -moz-box-shadow: 0 0 3px #666;
}

.images-box .add-another a > span {
  font-family:Helvetica,Arial,sans-serif;
  font-size:12px;
  font-weight:900;
  color:#262425;
  display:block;
  line-height:21px;
  text-align:center;
  text-transform:uppercase;
}

.images-box .add-another a > span > span {
  display: inline-block;
  color:#00a5e2;
  padding-left: 18px;
  background: url(/images/icons/photo-blue.png) left 4px no-repeat;
}

.images-box .add-first {
  z-index: 10;
  position: absolute;
  bottom: 0;
  height: 195px;
  width: 100%;
}

.images-box .add-first a {
  display: block;
  margin: 0 auto;
  width: 160px;
  height: 175px;
  padding: 8px 10px 12px 10px;
  text-decoration:none;
  background: #f5f3fa url(/images/add-another-bg.png) left bottom repeat-x;
  
  -webkit-box-shadow: 0 0 3px #666;
  -moz-box-shadow: 0 0 3px #666;
}

.images-box .add-first a .head {
    color:#00a5e2;
    font-size: 16px;
    padding-top: 10px;
}

.images-box .add-first a .box-text{
  font-weight:100;
}

.images-box .add-first a > span {
  font-family:Helvetica,Arial,sans-serif;
  font-size:12px;
  font-weight:900;
  color:#262425;
  display:block;
  line-height:21px;
  text-align:center;
  text-transform:uppercase;
}

.images-box .add-first a > span > span {
  display: inline-block;
  color:#00a5e2;
  padding-left: 18px;
  background: url(/images/icons/photo-blue.png) left 4px no-repeat;
}

.images-box .has-more {
  font-family:Helvetica,Arial,sans-serif;
  font-size:10px;
  color:#f5f3fa;
  text-transform:uppercase;
  text-decoration:none;
  text-align: center;
  
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 53px;
  height: 36px;
  padding-top: 10px;
  padding-left: 8px;
  text-indent: 1px;
  line-height: 16px;
  background: url(/images/buttons/images-more.png) left top no-repeat;
  z-index: 10;
}

.images-box:hover .has-more {
  display: none;
}

.images-box .has-more > span {
  font-size: 14px;
  font-weight: 900;
}

.images-box .prev, .images-box .next { position: absolute; z-index: 20; width: 100px; height: 373px; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
.images-box .prev { left: 0; float: left;}
.images-box .next { right: 0; float: right;}
.images-box:hover .prev { background: url(/images/lightbox/prevlabel.gif) left 20% no-repeat; }
.images-box:hover .prev.hidden, .images-box:hover .next.hidden { display: none; }
.images-box:hover .next { background: url(/images/lightbox/nextlabel.gif) right 20% no-repeat; }


.images-box .delete-links {
  position: relative;
  top: -383px;
  left: 10px;
  width: inherit
  height: 25px;
  z-index: 30;
}

.images-box .delete-links.owner {
  top: -358px;
}

.images-box .delete-links li {
  float: left;
  margin-right: 10px;
  width: 282px;
  height: 25px;
  line-height: 25px;
  background: #f00;
  text-align: center;
}

.images-box .delete-links li a {
  color: #fff;
  width: 100%;
}

.images-box .images .delete {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 282px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  color: #fff;
  background-color: rgb(0,165,226);
  background-color: rgba(0,165,226,0.9);
}

/* search */
.search_head h2 {
  margin-left:10px;
}

.lost_search_nav {
  background:url(/images/search-nav-bg-pink.png) center bottom no-repeat;
}

.search_nav {
  background:url(/images/search-nav-bg.png) center bottom no-repeat;
}

.search_nav .header {
  text-decoration:none;
  background-image:none;
  margin:0 10px;
  padding:20px 0 0;
}

.search_nav li {
  line-height:25px;
  padding-top:15px;
}

.search_nav li a {
  line-height:25px;
}

.search_nav span {
  color:#73736f;
  font-weight:bold;
  font-size:14px;
}

.search_nav .selected {
  background:url(/images/search-nav-r.png) right bottom no-repeat;
  margin-left:-5px;
}

.search_nav .selected a {
  display:block;
  background:url(/images/search-nav-l.png) left bottom no-repeat;
  color:#000;
}

.search_nav .selected span {
  color:#000;
}

#guitarsList {
  padding: 30px 10px;
}

/* guitar profile */

.guitar-header {
}

.guitar-header .info {
  float: left;
  width: 500px;
}

.guitar-header .info > h1, .guitar-header .info > h2 {
  display: inline-block;
  width: auto;
}
.guitar-header .info > h2 {
  margin-bottom: -10px;
}

.guitar-header h1 {
  font-size: 200%;
  line-height:110%;
}

.guitar-header .button {
  margin: 20px 15px 10px 0;
}

.guitar-header .actions {
  float: right;
  width: 270px;
  text-align: right;
}

.guitar-header .actions a {
  display: inline-block;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  line-height: 26px;
}

.guitar-header .actions a span {
  width: 15px;
  height: 31px;
  text-align: center;
  font-size: 110%;
  color: rgb(0,165,226);
  font-weight: 900;
}

.guitar-header .actions a.comments span {
  width: 34px;
  display: inline-block;
  background: url("/images/balloon.png") left top no-repeat;
}

.guitar-header .actions a.followers {
  border-left: 2px #999 solid;
  padding-left: 8px;
  margin-left: 8px;
}

/* user search */
#search_users {
  margin-bottom: 1em;
}

#look_for {
  width: 770px;
  display: block;
  float: left;
}

#users-list .actions {
  padding-right: 15px;
}

#users-list .actions li {
  float: right;
}

#users-list .profile_info:hover {
  background: #ddd;
}

.users-list {
  margin-top: 1.5em;
}

.users-list > h3 {
  font-size: 24px;
  font-style: normal;
  margin: 0 0 20px;
  color: #000;
  border-bottom: 2px  solid #ccc;
  padding-bottom: 0.5em;

}


#user_search_box {
  width: 650px;
  height: 200px;
  padding: 0 40px;
}

#user_search_box fieldset {
  padding-left: 0 !important;
}

#invite_friend_box {
  width: 650px;
  height: 200px;
  padding: 0 40px;
}

/* Big header */
.list-header h2 {
  font-family:Helvetica,Arial,sans-serif;
  font-style:normal;
  color:#000;
  margin:20px 15px 15px 10px;
  font-weight:900;
}

/* Archive post */
.archivepost {
  position:relative;
  clear:both;
  padding:0 10px 10px;
  border-bottom:1px solid #eee;
  margin:30px 0 0;
  width: 100%;
}

.archivepost .picture {
  float:left;
  margin-right:15px;
  width: 260px;
  min-height: 170px;
}

.archivepost .excerpt {
  margin-left: 280px;
}

.archivepost dd {
  font-family:Georgia,'Times New Roman',Times,sans-serif;
  font-style:italic;
  color:#666;
}

.archivepost dt {
  margin:10px 0;
  font-size:24px;
}

.archivepost dt a {
  font-weight:bold;
  text-decoration:none;
}

.archivepost .when {
  color:#aaa;
  font-size:11px;
  text-transform:uppercase;
}

.article-actions {
  float: right;
}

.article-content {
  margin-top: 25px;
}
  
.article-content * {
  color: #000 !important;
}

.article-content div, .article-content p, .article-content ul, .article-content ol {
  padding: 0 !important; 
  margin: 0 0 1.5em 0 !important;
}

.article-content ul, .article-content ol {
  padding-left: 2em !important;
}

#transfer_guitar {
    width: 500px;
    padding: 1em;
}


a.more-button {
  border-top: 1px solid #eee;
  display: block;
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(/images/more-button.png);
  color: transparent;
  height: 26px;
}

.facebook-blue-box {
  width:100%;
  background:#c9d9fb;
}

.facebook-blue-box label {
  background:#637db0;
  color:#fff;
  line-height:200%;
  padding:0 5px;
  font-size:12px;
}

.facebook-blue-box .FBConnectButton {
  text-align:center;
  display:block;
  width:170px;
  margin:15px auto;
}

.facebook-box-right{
 float:right; 
}

.facebook-box-left{
 float:left; 
}

.facebook-box{
 width:50%; 
}

.facebook-box ul{
  display:block;
}

.facebook-box li{
  width: 225px;
  padding-bottom: 10px;
}

.facebook-box li span{
  float:left;
}

.facebook-box .facebook-check-box{
 float:right;
 width: 10px;
}


#account_settings .facebook-blue-box p {
  padding:0.5em;
  margin:0;
  color:#222;
  min-height:0;
  border:0;
}

.facebook-blue-box strong {
  color:#000;
}

#search-what li {
  display:block;
  float:left;
  margin-right:30px;
  text-indent:-999em;
}

#search-what .guitars {
  display:block;
  width:254px;
  height:71px;
  
  background:url(/images/btn-guitar-search.png) bottom left no-repeat;
}

#search-what .missing {
  display:block;
  width:254px;
  height:67px;
  margin-top:4px;
  
  background:url(/images/btn-guardian-search.png) bottom left no-repeat;
}

#search-what .guitars:hover,
#search-what .missing:hover, 
#search-what .guitars:active,
#search-what .missing:active,
#search-what .active {
  background-position:left top;
}
