#container {
  width: 600px;
  margin: 0 auto;
  overflow: auto; /* Paul O Brien Fix for IE www.pmob.co.uk */
}

#container.wide {
  width: 760px;
}

#account a, #account a:visited {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

#account a:hover {
  background-color: transparent;
  text-decoration: underline;
}

#main {
  background-color: #f3f3f3;
  padding: 10px 20px;
  overflow: auto;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

#about {
  color: #666;
  font-size: 11px;
  text-align: right;
}

#sidebar {
  position: absolute;
  width: 160px;
}

#sidebar ul {
  margin: 10px -5px;
}

#content { 
  width: 540px;
  float: right;
}

#profile h1 {
  font-weight: bold;
}

#profile label {
  color: #666;
}

#toolbar {
  overflow: auto;
  padding: 5px 0;
}

#scopes {
  float: left;
  margin-left: 5px;
  border-left: 1px solid silver;
  padding: 1px 5px;
}

ul.source {
  list-style-type: none;
  padding-left: 0px;
  margin: 10px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  overflow: hidden;
}

ul.source li:hover {
  background-color: #59799a;
}

ul.source li.selected {
  background: transparent url(/images/source_selected_bg.png) no-repeat left center;  
}

ul.source a, ul.source a:visited {
  color: #415870;
  display: block;
  padding: 6px 6px 6px 32px;
  text-decoration: none;
}

ul.source a:hover {
  color: white;
}

ul.source a span.count {
  float: right;
}

ul.source a.music {
  background: transparent url(/images/icon_music_24.png) no-repeat 4px center;
}

ul.source a.movie {
  background: transparent url(/images/icon_movie_24.png) no-repeat 4px center;
}

ul.source a.game {
  background: transparent url(/images/icon_game_24.png) no-repeat 4px center;
}

ul.source a.book {
  background: transparent url(/images/icon_book_24.png) no-repeat 4px center;
}

ul.source a.periodical {
  background: transparent url(/images/icon_periodical_24.png) no-repeat 4px center;
}

a.add, a.add:visited {
  text-decoration: none;
  padding: 2px 2px 2px 20px;
  background: transparent url(/images/add_icon.png) no-repeat left center;
}

a.add:hover, a.import:hover, a.export:hover {
  background-color:#415870;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

h1 {
  font-size: 22px;
  color: #666;
}

h2 {
  font-size: 18px;
}


div.item {
  position: relative;
}

div.item.medium_album {
  background:#f3f3f3 url(/images/library/corner_album.png) no-repeat top right;	
}

div.item.medium_book {
  background:#f3f3f3 url(/images/library/corner_book.png) no-repeat top right; 
}

div.item.medium_dvd {
  background:#f3f3f3 url(/images/library/corner_dvd.png) no-repeat top right; 
}

div.item.medium_game {
  background:#f3f3f3 url(/images/library/corner_game.png) no-repeat top right; 
}

div.item.medium_movie {
  background:#f3f3f3 url(/images/library/corner_mov.png) no-repeat top right;	
}

div.item.unknown {
  background:#f3f3f3 url(/images/library/corner_unkwn.png) no-repeat top right;	
}

div.item div.tools {
  display: none;
}

div.item:hover div.tools {
  display: block;
  position: absolute;
  right: 5px;
  bottom: 5px;
}

div.item:hover div.tools a:hover {
  background-color: transparent;
}

li.resource {
  min-height: 29px;
}

li.resource .disabled {
  color: gray;
}

li.resource .badge {
  color: white;
  background-color: #999;
  margin: 0 4px;
  padding: 2px 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

li.resource.20min {
  background: transparent url(/images/iphone/20min_icon.png) no-repeat top left;
}

li.resource.amazon {
  background: transparent url(/images/iphone/amazon_icon.png) no-repeat top left;
}

li.resource.apple {
  background: transparent url(/images/iphone/apple_icon.png) no-repeat top left;
}

li.resource.blick {
  background: transparent url(/images/iphone/blick_icon.png) no-repeat top left;
}

li.resource.focus {
  background: transparent url(/images/iphone/focus_icon.png) no-repeat top left;
}

/*some focus links seem to be under this url*/

li.resource.cellmp {
  background: transparent url(/images/iphone/focus_icon.png) no-repeat top left;
}

li.resource.handelsblatt {
  background: transparent url(/images/iphone/handelsblatt_icon.png) no-repeat top left;
}

li.resource.handelsblatt-shop {
  background: transparent url(/images/iphone/handelsblatt-shop_icon.png) no-repeat top left;
}

li.resource.http {
  background: transparent url(/images/iphone/http_icon.png) no-repeat top left;
}

li.resource.itunes {
  background: transparent url(/images/iphone/itunes_icon.png) no-repeat top left;
}

li.resource.last {
  background: transparent url(/images/iphone/lastfm_icon.png) no-repeat top left;
}

li.resource.netflix {
  background: transparent url(/images/iphone/netflix_icon.png) no-repeat top left;
}

li.resource.outnow {
  background: transparent url(/images/iphone/outnow_icon.png) no-repeat top left;
}

li.resource.pdf {
  background: transparent url(/images/iphone/pdf_icon.png) no-repeat top left;
}

li.resource.pdf_download {
  background: transparent url(/images/iphone/pdf_download_icon.png) no-repeat top left;
  min-height: 29px;
}

li.resource.wikipedia {
  background: transparent url(/images/iphone/wikipedia_icon.png) no-repeat top left;
}

img.media_kind {
  float: right;
  padding: 5px 10px;
}

img.preview {
  margin-bottom: 10px;
}

div.sidebar {
  float: left;
  width: 140px;
}

div.sidebar p {
  font-size: 12px;
  margin-left: 5px;
}

div.details {
  margin-left: 160px;
}

div.details ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

div.details ul li {
  margin: 0;
  margin-bottom: 6px;
}

div.details ul li.indented {
  padding-left: 40px;
}

.details a, .details a:visited {
  padding: 0px;
  background: none;
  text-decoration: none;
}

.details a:hover {
  background-color:#415870;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.details a[target="_blank"], .details a:visited[target="_blank"] {
  margin-left: -2px;
  padding: 1px 15px 2px 2px;
  background: transparent url(/images/detail_arrow.png) no-repeat center right;
  text-decoration: none;
}

.details a:hover[target="_blank"] {
  background-color:#415870;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

div.promo a.button {
  color: #4C566C;
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background-color: #C5E758;
  border: 1px solid #6E8046;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  padding: 10px;
}

div.footer {
  margin-top: 10px;
  border-top: 1px solid #bbb;
  clear: left;
}

p.kooaba {
  background: transparent url(/images/kooaba_icon_11.png) no-repeat left 3px;
  padding-left: 20px;
}

div.paragraph {
  margin: 1em 0px;
}

.inline {
  display: inline-block;
  vertical-align: middle;
}

div.details ul {
  font-size: 11px;
  line-height: 14px;
  font-family: "Lucida Grande","Trebuchet MS",Verdana,sans-serif;
}

div.details h3 {
  margin-top: 16px;
}

div.actions {
  margin-top: 4px;
}

.resource_icon {
  position: absolute;
  display: inline;
  margin-left: -30px;
}

div.subscription_needed {
  margin-left: 0px;
}
