/**
* CSS for rebakery.com
*/


/**
* Body & links
*/

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: #f6f6f6 url(/images/nav/bg.png) repeat-x scroll top left;
  color: #333;
}
body, p, ol, ul, textarea {
  font-family: 'Helvetica Neue', helvetica, arial, sans-serif;
  font-size: small;
}
p {
  margin: 4px 0;
}
h1, h2, h3, h4 {
  line-height: 1.5em;
  display: inline;
}
.close h1,
.close h2,
.close h3,
.close h4 {
	line-height: 1.1em;
}
h1 { font-size: 180%; }
h2 { font-size: 160%; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
small {
  font-size: 85%;
}
.lite {
  font-weight: normal;
}
h2.lite {
  display: block;
  margin: 0.8em 0;
}
h2.bottom {
  margin-bottom: 0;
}
a {
  color: #E33C6F;
	padding: 1px;
}
a img {
  border: none;
}
a:active {
  outline: none;
}
:focus {
  -moz-outline-style: none;
}
a.verb {
  text-decoration: none;
  background-color: #fe9;
}
a.verb, span.verbless {
  font-size: 85%;
	padding: 2px 4px;
	letter-spacing: 0.1em;
}
span.verbless {
  font-size: 80%;
  color: #fe9;
  background-color: #666;
}
  a.download,
  a.give,
  a.mix,
  span.taken,
  a.give_kudos,
  span.kudos_given,
  a.edit,
  a.upload {
    display: block;
    float: left;
    padding: 0;
    margin: 0 5px;
    text-indent: -9999px;
    height: 13px;
  }
  a.download {
    width: 85px;
    background: transparent url(/images/verbs/download.png) no-repeat scroll 0 0;
  }
  a.give {
    width: 35px;
    background: transparent url(/images/verbs/give.png) no-repeat scroll 0 0;
  }
  span.kudos_given {
    width: 76px;
    background: transparent url(/images/verbs/kudos_given.png) no-repeat scroll 0 0;
  }
  a.edit {
    width: 34px;
    background: transparent url(/images/verbs/edit.png) no-repeat scroll 0 0;
  }
  span.taken {
    width: 42px;
    background: transparent url(/images/verbs/taken.png) no-repeat scroll 0 0;
  }
  a.give_kudos {
    width: 63px;
    background: transparent url(/images/verbs/give_kudos.png) no-repeat scroll 0 0;
  }
  a.mix {
    width: 31px;
    background: transparent url(/images/verbs/mix.png) no-repeat scroll 0 0;
  }
  a.upload {
    width: 52px;
    background: transparent url(/images/verbs/upload.png) no-repeat scroll 0 0;
  }
  a.verb:hover {
    background-position: 0 -13px;
  }
a:hover {
  color: #333;
}
a.anchor:hover {
  color: #E33C6F;
}
#footer a:hover {
  color: #eee;
  background-color: #333;
}
a.external {
  display: inline-block; /* IMPORTANT or Safari will ignore padding-right if link is the last word on a line!!! */
  background: url(/images/external.png) no-repeat right center;
  padding-right: 13px;
}
.title {
	font-weight: bold;
	font-size: 125%;
}
a.title {
  color: #333;
  text-decoration: none;
}
a.title:hover {
  text-decoration: underline;
}
a.verb:hover {
  background-color: #666;
	color: #fe9;
}
a.delete {
  background: url('/images/delete.png') no-repeat center bottom;
  display: inline-block;
  width: 14px;
  height: 14px;
  text-decoration: none;
  padding: 0;
  /* why can't i define these last two in 'ul.piecebox li div.ops a.delete' ?! */
  position: relative;
  top: 0;
}
a.delete:hover {
  background-position: center top;
}

span.prepos {
  color: #999;
}


/**
* LAYOUT
*/

#wrapper {
  width: 860px;
  height: 100%;
  margin: 0 auto;
  background-color: #fff;
}
body > #wrapper {
  height: auto;
  min-height: 100%;
}
#container {
  padding-bottom: 70px; /* matches footer */
}

/**
* Header
*/
#header {
  background: #fff url(/images/nav/bar.png) no-repeat scroll bottom left;
  color: #CBC5C7;
	height: 80px;
	padding-top: 10px;
	position: relative;
	font-size: 90%;
}
  #header h1.logo {
  	display: block;
  	float: left;
  }
    #header h1.logo a {
    	display: block;
      height: 80px;
      width: 207px;
      background: transparent url(/images/nav/logo.png) no-repeat scroll 0 0;
    	text-indent: -9999px;
    	padding: 0;
    }
      #header h1.logo a:hover {
        background-position: 0 -80px;
      }
  #header h1.is {
    display: block;
    padding: 26px 0 0 0;
  }
    #header h1.is span,
    #header h1.is a {
      text-indent: -9999px;
      display: block;
      float: left;
      background: transparent url(/images/nav/is.png) no-repeat scroll 0 0;
      height: 41px;
    }
    #header h1.is span.is_a {
      background-position: 0 0;
      width: 61px;
    }
    #header h1.is a.recursive {
      background-position: -61px 0;
      width: 153px;
    }
      #header h1.is a.recursive:hover {
        background-position: -61px -42px;
      }
    #header h1.is a.remix {
      background-position: -214px 0;
      width: 103px;
    }
      #header h1.is a.remix:hover {
        background-position: -214px -42px;
      }
    #header h1.is span.project {
      width: 123px;
      background-position: -317px 0;
    }
  #header a {
  	color: #333;
  	text-decoration: none;
  }
  #header a:hover {
    text-decoration: underline;
  }


/**
* Userlinks/nav
*/

#userlinks {
	position: absolute;
	top: 22px;
	right: 6px;
	width: 197px;
	height: 46px;
	text-align: right;
	vertical-align: bottom;
}
  #userlinks .logged_in {
    background: transparent url(/images/nav/userlinks-bg.png) no-repeat scroll 0 0;
    padding: 7px;
    height: 45px;
  }
    #userlinks .logged_in img {
      width: 40px;
      height: 40px;
    }
  #userlinks .logged_out {
    height: 10px;
    position: absolute;
    bottom: 0px;
    right: 5px;
  }
  #userlinks a.user {
    float: right;
    margin-left: 5px;
  }
  #userlinks a.user:hover {
    background: none;
  }
  #userlinks .welcome {
    margin: 2px 0;
  }
  #userlinks .links {
    line-height: 10px;
  }
    #userlinks .links a {
      font-size: 85%;
    }

#content_container {
  float: left;
  width: 100%;
  margin-right: -275px;
}
#content {
  width: 550px;
  margin-right: 275px;
  padding: 10px 10px 10px 25px;
}


/**
* Sidebar / feeds
*/

#newsletter,
#twitter {
  width: 170px;
  float: left;
}
#twitter {
  width: 360px;
  margin-right: 20px;
}

#sidebar {
  float: right;
  width: 275px;
  height: 458px;
  background: transparent url(/images/nav/sidebar-bg.png) repeat-x scroll top left;
}
  #sidebar #nav {
    float: right;
    margin-top: 12px;
  }
    #sidebar #nav a {
      background: transparent url(/images/nav/sidebar-link-bg.png) no-repeat scroll 0 0;
      display: block;
      width: 257px;
      height: 41px;
      padding: 0;
      margin: 10px 0;
    }
    #sidebar #nav a:hover {
      background-position: 0 -86px;
    }
    #sidebar #nav a.sel {
      background-position: 0 -43px;
    }
      #sidebar #nav a span {
        text-indent: -9999px;
        display: block;
        height: 18px;
        margin-left: 25px;
        padding-top: 12px;
        background: transparent no-repeat scroll left bottom;
      }
      #sidebar #nav a.about span {
        background-image: url(/images/nav/links/about.png);
        width: 58px;
      }
      #sidebar #nav a.newsletter span {
        background-image: url(/images/nav/links/newsletter.png);
        width: 114px;
      }
      #sidebar #nav a.people span {
        background-image: url(/images/nav/links/people.png);
        width: 64px;
      }
      #sidebar #nav a.podcast span {
        background-image: url(/images/nav/links/podcast.png);
        width: 78px;
      }
      #sidebar #nav a.recent_mixes span {
        background-image: url(/images/nav/links/recent_mixes.png);
        width: 120px;
      }
      #sidebar #nav a.unmixed_pieces span {
        background-image: url(/images/nav/links/unmixed_pieces.png);
        width: 140px;
      }
  .news {
    margin: 30px 0;
  }
  #sidebar #social {
    margin: 25px 43px;
  }
    #sidebar #social h3,
    .news h3 {
      text-indent: -9999px;
      display: block;
      height: 18px;
      margin: 0 0 10px 0;
    }
    #sidebar #social h3 {
      width: 52px;
      background: transparent url(/images/nav/feeds.png) no-repeat scroll left top;
    }
    #newsletter.news h3 {
      width: 114px;
      background: transparent url(/images/nav/newsletter.png) no-repeat scroll left top;
    }
    #twitter.news h3 {
      width: 76px;
      background: transparent url(/images/nav/twitter.png) no-repeat scroll left top;
    }
    .news a,
    #sidebar #social a {
      color: #5C5C5C;
      text-decoration: none;
    }
    .news a:hover,
    #sidebar #social a:hover {
      text-decoration: underline;
    }
    .news ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }
    .news li {
/*       font-size: 125%; */
      margin-bottom: 10px;
    }
    #twitter.news li {
      font-size: 125%;
    }
      #sidebar #social a {
        font-size: 125%;
      }
      #sidebar #social a {
        display: block;
        margin-bottom: 0.5em;
      }


/**
* Footer
*/

#footer {
  position: relative;
  clear: both;
  width: 860px;
  height: 70px; /* adjust neg. margin & #container padding */
  margin: -70px auto 0;
}
#support {
  text-align: center;
  background-color: #807277;
  padding: 25px 10px;
  height: 20px;
  color: #D5CFD1;
}
#support a {
  color: #fe9;
}

div.flash {
  padding: 0.4em 1em;
  color: #F0D30C;
  font-weight: bold;
	font-size: 150%;
	border-top: 5px double #fe9;
	border-bottom: 5px double #fe9;
	margin-bottom: 0.5em;
}

hr {
	border: none;
	height: 1px;
	background-color: #ddd;
	margin: 0.5em 0;
}

.piece_verbs {
  margin: 8px 0;
  padding: 2px 0 1px 0;
  background-color: #f5f5f5;
  border-bottom: 1px solid #f0f0f0;
}


/**
* Content Headers
*/
#completed_pieces h2,
#edit_profile h2,
#people h2,
#recent_mixes h2,
#unmixed_pieces h2,
#working_pieces h2,
#featured_tracks h2 {
  text-indent: -9999px;
  display: block;
  height: 21px;
  margin: 15px 0 5px 0;
  background: transparent no-repeat scroll left top;
}
#completed_pieces h2 {
  background-image: url(/images/headers/completed_pieces.png);
  width: 188px;
}
#edit_profile h2 {
  background-image: url(/images/headers/edit_profile.png);
  width: 127px;
}
#people h2 {
  background-image: url(/images/headers/people.png);
  width: 74px;
}
#recent_mixes h2 {
  background-image: url(/images/headers/recent_mixes.png);
  width: 140px;
}
#unmixed_pieces h2 {
  background-image: url(/images/headers/unmixed_pieces.png);
  width: 163px;
}
#working_pieces h2 {
  background-image: url(/images/headers/working_pieces.png);
  width: 168px;
}
#featured_tracks h2 {
  background-image: url(/images/headers/fresh_tracks.png);
  width: 144px;
}

/**
* Featured tracks
*/
.featured_track {
  float: left;
  width: 258px;
  height: 90px;
  position: relative;
  margin: 10px 30px 20px 0;
  /* border: 1px solid #bbb; */
  -moz-box-shadow: 2px 2px 4px #999;
  -webkit-box-shadow: 2px 2px 4px #999;
  box-shadow: 2px 2px 4px #999;
}
.featured_track.last {
  margin-right: 0;
}
  .featured_track .user_image {
    position: absolute;
    height: 90px;
    top: 0;
  }
  .featured_track a.featured_disc {
    display: block;
    height: 90px;
    width: 260px;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
/*     background: url('/images/featured_disc.png') top left; */
  }
  .featured_track a.featured_disc:hover {
    background-position: bottom left;
  }
  .featured_track .info {
    margin: 0;
    position: absolute;
    bottom: 0;
  }
  .featured_track .info div {
    width: 250px;
    background-color: #fff;
    padding: 2px 5px;
    opacity: 0.9;
  }
    .featured_track .info a.title {
      font-size: 150%;
    }


/**
* from http://www.cssstickyfooter.com/
*/
/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


/**
* About
*/

div.about {
	padding: 10px;
}
div.about h2,
div.about h3,
div.about h4 {
	display: block;
	margin-bottom: 0.5em;
	font-weight: normal;
	line-height: 1.4em;
}
div.about .citation {
	padding: 0.5em 20px;
	color: #666;
}
div.about .citation div.source {
	font-size: 14px;
	color: #999;
	margin-top: 0.2em;
	line-height: 1.2em;
}


/**
* Piece list/display
*/

canvas.piece_tree {
  float: left;
}
ul.piecetree {
  float: left;
  list-style: none;
  margin: 0 0 1.2em 0;
  padding: 0;
  width: 424px;
}
  ul.piecetree li {
    display: block;
    margin: 10px 0;
    background: transparent url(/images/player/bgs.png) no-repeat scroll 0 0;
    position: relative;
  }
    ul.piecetree li div.shade {
      position: absolute;
      top: 0;
      left: 2px;
      right: 0;
      bottom: -1px;
      background-color: #fff;
      filter: alpha(opacity=50);
      opacity: 0.5;
      display: none;
    }
    ul.piecetree li.dim div.shade {
      display: block;
    }
    ul.piecetree li.highlight div.shade,
    ul.piecetree li.playing div.shade {
      display: none;
    }
  ul.piecetree li.highlight {
    background-position: 0 -76px;
  }
  ul.piecetree li.playing {
    background-position: 0 -152px;
  }
    ul.piecetree li div.all_info {
      width: 353px;
      overflow: hidden;
      height: 66px;
      padding: 7px 0 3px 0;
    }
    ul.piecetree li div.all_info .fullwidth {
      width: 1000px;
    }

  ul.piecetree li div.info {
    font-size: 115%;
    padding-left: 5px;
  }
  ul.piecetree li div.more_info {
    position: absolute;
    left: 4px;
    top: 53px;
    width: 347px;
    font-size: 90%;
    height: 16px;
    color: #666;
    margin-top: 3px;
    padding-left: 5px;
  }
  ul.piecetree li.highlight div.more_info {
  }
  ul.piecetree li.playing div.more_info {
    color: #fff;
  }
    ul.piecetree li.playing div.more_info span.prepos {
      color: #ddd;
    }
    ul.piecetree li.playing div.more_info a {
      color: #fff;
    }
  ul.piecetree li div.more_info a.verb,
  ul.piecetree li div.more_info span.verbless {
    margin: 2px 0 0 3px;
  }
ul.piecetree li div.actions {
  position: absolute;
  right: 4px;
  top: 3px;
  text-align: center;
}
ul.piecetree li div.player {
  margin-top: -4px;
  height: 0;
  border-left: 2px solid #C3B7AE;
  background-color: #f2f2f2;
  width: 418px;
}
ul.piecetree li div.player * {
  margin: 5px;
}
ul.piecetree li div.actions a.play {
  text-indent: -9999px;
  height: 100%;
  width: 66px;
  height: 69px;
  display: block;
  padding: 0;
  text-decoration: none;
}
ul.piecetree li.highlight div.actions a.play {
}
ul.piecetree li.playing div.actions a.play {
}

div.imgs {
  float: left;
  height: 40px;
  padding-left: 5px;
}
  div.imgs a {
    display: block;
    float: left;
    padding: 0;
    margin: 2px 7px 2px 2px;
    height: 40px;
  }
  div.imgs a:hover {
    margin: 0 5px 0 0;
    border: 2px solid #333;
  }
    div.imgs a img {
      width: 40px;
      height: 40px;
    }
  

/**
* "Your Pieces" (piecelist)
*/
ul.piecelist {
  list-style: none outside;
  margin: 0 20px 10px 65px;
}
ul.piecelist li {
	background-color: #f2f2f2;
	width: 410px;
	margin-bottom: 1em;
  padding: 5px;
	line-height: 1.4em;
	position: relative;
}
ul.piecelist li div.ops {
  position: absolute;
  right: 10px;
  top: 10px;
}
div.piecebox {
  margin-bottom: 0.5em;
  padding: 5px 0;
}
div.description {
  background-color: #f8f8f8;
  border-left: 2px solid #ddd;
  width: 340px;
  padding: 1em;
  margin-left: 120px;
  font-size: 110%
}
div.piece_mid_box {
  margin-left: 130px;
  margin-top: -1.7em;
}
div.piece_mid_box div {
  margin-bottom: 0.8em;
}
div.piece_mid_box div.description {
  padding: 10px;
  margin: 0.5em 0 0.8em 0;
  width: 400px;
}
.empty {
  font-size: 120%;
  margin: 20px;
  color: #999;
}
div.detextiled p {
  margin: 0.5em 0;
}


/**
* Users
*/
ul.users {
  list-style: none;
}
ul.users li {
  width: 233px;
  height: 41px;
  float: left;
  padding: 10px 10px;
  background-color: #eee;
  margin: 10px 20px 10px 0;
  -moz-box-shadow: 2px 2px 4px #999;
  -webkit-box-shadow: 2px 2px 4px #999;
  box-shadow: 2px 2px 4px #999;
}
ul.users li h3 a,
ul.users li small {
  padding: 1px 4px;
  background-color: #fff;
  color: #333;
  filter: alpha(opacity=90);
  opacity: 0.9;
}
ul.users li small a {
  font-weight: bold;
}

/**
* Forms
*/

/* dude, don't do this to ALL inputs..?! */
label, input, textarea,
div.input_holster,
div.no_input {
	padding: 0;
	margin: 5px 0;
	display: block;
	float: left;
}
div.input_holster input {
	float: none;
}
label {
	font-weight: bold;
	width: 100px;
	padding-right: 15px;
	clear: left;
	text-align: right;
	color: #666;
}
label.big {
  font-size: 120%;
  padding-top: 5px;
}
label.action {
  font-weight: bold;
  font-size: 125%;
  margin-bottom: 0;
}
label small {
	font-weight: normal;
  font-size: 80%;
  line-height: 1.1em;
}
.check div {
  width: 100px;
  height: 1.5em;
  float: left;
}
  .check div input {
    float: right;
  }
.check label {
  clear: none;
  width: 420px;
  text-align: left;
  margin-left: 15px;
  font-weight: normal;
}
input.text,
textarea {
	width: 294px;
	padding: 3px;
}
input.submit {
	font-size: 125%;
	font-weight: bold;
	width: auto;
	padding: 0 0.5em;
}
input.title {
	padding: 2px 3px;
}
#primary_file_upload_holster {
  margin-left: 110px;
}
div#errorExplanation {
	margin-left: 115px;
}
  div#errorExplanation ul {
  	list-style: none;
  	margin: 0;
  	padding: 0;
  }
    div#errorExplanation ul li {
      width: 260px;
      font-size: 120%;
      background-color: #fff9b9;
      border: 1px solid #F0D30C;
      margin: 5px 0;
      padding: 10px 20px;
    }


/**
* Peopler
*/

div#peopler {
	position: relative;
	border: 1px solid #999;
	background-color: #f5f5f5;
	padding: 3px;
	height: 75px;
	margin-bottom: 0.5em;
}
div#peopler ul.selections,
div#peopler ul.options {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 292px;
}
div#peopler input,
div#peopler ul.options {
	margin: 0;
	width: 250px;
}
div#peopler input.prompt {
	color: #999;
}
div#peopler ul.selections {
	height: 50px;
	overflow-y: auto;
	border: 1px solid #ddd;
	background-color: #fff;
	margin-bottom: 5px;
}
div#peopler ul.selections li {
	display: block;
	float: left;
	margin: 0.2em;
	padding: 0.2em 20px 0.2em 0.4em;
}
div#peopler ul.selections li.id {
	background: #fe9 url(/images/peopler_selection_id.png) center right no-repeat;
}
div#peopler ul.selections li.del {
	background: #E33C6F url(/images/peopler_selection_del.png) center right no-repeat;
	color: #fff;
	cursor: pointer;
}
div#peopler ul.selections li input {
  display: none;
}
div#peopler ul.options {
	position: absolute;
	padding: 1px 1px 0 1px;
	display: none;
	background-color: #ddd;
}
div#peopler ul.options li {
	background-color: #f5f5f5;
	padding: 2px;
	margin-bottom: 1px;
	cursor: pointer;
}
div#peopler ul.options li.sel {
	background-color: #fe9;
	color: #E33C6F;
}

/**
* util
*/

.invisible,
span.invisible {
  display: none;
}
