/* Reset defaults */
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p,
blockquote, pre, form, fieldset, table, th, td, img { 
  margin: 0; 
  padding: 0;
  border: 0;
}

ul { list-style-type: none; }

p { margin-bottom: 20px; margin-top: 20px; }
p:first-child { margin-top: 0; }

html {overflow-y: scroll;}

body {
  position: absolute;
  min-width: 820px;
  max-width: 1600px;
  width: 100%;
  font: 12px Arial, Helvetica, sans-serif; 
  background: #FFFFFF url('site-banner-evenbetter.jpg') no-repeat top left;
}


/* Link Styles */
a {
  text-decoration: underline;
  cursor: pointer;
  color: #123456;
}
a:hover {
  color: #8090A0;
}

ul.buttons li a, a.button {
  text-decoration: none;
  color: #E0E0E0;
  background-color: #123456;
  -moz-border-radius: 5px; -webkit-border-radius: 5px;
}
ul.buttons li.current a {
  background-color: #607A93;
}
ul.buttons li.showing a {
  background-color: #607A93;
}
ul.buttons li a:hover, a.button:hover {
  background-color: #8090A0;
  color: #E0E0E0;
}

ul.inversebuttons li a, a.inversebutton {
  text-decoration: none;
  color: #123456;
  background-color: #FFFFFF;
  -moz-border-radius: 5px; -webkit-border-radius: 5px;
}
ul.inversebuttons li a:hover, a.inversebutton:hover {
  background-color: #8090A0;
  color: #E0E0E0;
}


/* Title */
div#titlebar {
  position: absolute;
  top: 0;
  left: 0;
}

div#edgepiece {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 200px;
  min-height: 110px;
  background: #FFFFFF url('edgepiece.jpg') no-repeat top right;
}

/* Main Page */
div#pagecontainer { 
  position: absolute;
  top: 110px;
  left: 5%;
  right: 0px;
  min-height: 465px;
  background-color: #F0F0F0;
  border: 1px solid #DEDEDE;
}

ul.menu {
  margin-left: -1px;  /* account for the border we put in */
                      /* if we wanted to use left: would need position: rel */
}

ul.menu:after {
  content: '.';   /* use this track because we actually have overflow  */
  visibility: hidden;
  clear: both;
  display: block;
}
ul.menu li {
  float: left;
}

ul.menu li a {
  padding: 8px;
  font-size: 1.2em;      /* reset the borders here, not like normal button */
  -moz-border-radius: 0px; -webkit-border-radius: 0px;
}
ul.menu li:first-child a {
  -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px;
}
ul.menu li:last-child a {
  -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px;
  -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px;
}
ul.menu li.current a {
  padding: 12px;
}

div.tabcontainer div.tab {
  padding: 10px;
  overflow: hidden;  /* hack for making outer div contain inner div */
  clear: both;
  display: none;
}
div.tabcontainer div.tab.current {
  display: block;
}

/* Music Player */
div#musicplayer {
  position: absolute;
  top: 2px;
  left: 65%;
  height: 86px;
  width: 174px;
  padding: 8px;
  background: #dedede;
  -moz-border-radius: 8px; -webkit-border-radius: 8px;
  border: 2px outset #a0a0a0;
}

div#trackmarquee {
  width: 135px;
  max-height: 25px;
}
div#trackmarquee:after {  /* the marquee and the progress bar kill margins */
  display: block;
  content: '.';
  visibility: hidden;
  height: 10px;
}

span#trackname {
  font-style: bold;
}
div#progress {
  height: 30px;
  width: 135px;
}
div#progressbar {
  background-color: #FFFFFF;
  width: 135px;
}

div#loadbar {
  background: url('load_bar.png') top left repeat-x;
  width: 0px;
  height: 15px;
  cursor: pointer;
}

div#playbar {
  background: url('play_bar.png') top left repeat-x;
  width: 0px;
  height: 15px;
  cursor: pointer;
}

span#elapsed {
  float: left;
  font-size: .8em;
}
span#total {
  float: right;
  font-size: .8em;
}

img#vmax {
  position: absolute;
  top: 1px;
  right: 5px;
  padding-bottom: 2px;
  cursor: pointer;
}
div#volumebar {
  position: absolute;
  background-color: #FFFFFF;
  top: 23px;
  height: 56px;
  right: 8px;
  width: 15px;
  cursor: pointer;
}
div#volumebarvalue {
  position: absolute;
  background: url('volume_bar.png') top left repeat-y;
  bottom: 0px;
  width: 15px;
  height: 0px;
  cursor: pointer;
}
img#vmin {
  position: absolute;
  bottom: 3px;
  right: 5px;
  cursor: pointer;
}
img#play, img#pause, img#stop {
  position: absolute;
  bottom: 6px;
  cursor: pointer;
}
img#play {
  left: 13px;
}
img#pause {
  left: 58px;
}
img#stop {
  left: 103px;
}  

/* Right Column */
div#rightcolumn {
  position: absolute;
  top: 110px;
  right: 0;
  width: 190px;
  padding: 0 10px 0 10px;
  background-color: #FFFFFF;
  border-top: 1px solid #dedede;
}

ul#externallinks {
  display: table;
  border-spacing: 0 5px;
}

ul#externallinks li a {
  background-repeat: no-repeat;
  background-position: 5px center;
  display: table-cell;
  width: 148px;
  height: 36px;  /* For table-cell this is the same as min-height */
  padding: 0 0 0 40px;
  vertical-align: middle;
  border: 1px solid #dedede;
}

a#myspacelink {
  background-image: url('myspace_logo.gif');
}
a#facebooklink {
  background-image: url('facebook_logo.gif');
}
a#twitterlink {
  background-image: url('twitter_logo.gif');
}
a#youtubelink {
  background-image: url('youtube_logo.gif');
}

div#fbstatus {
}

div#fbstatus p {
  font-size: .9em;
  margin-bottom: 12px;
  margin-top: 12px;
}

div#fbstatus p span {
  display: block;   /* puts the date on the next line */
  font-size: .9em;
  font-style: italic;
}

/* Code for specific pages */


/* Photos Page */
ul.albumlist {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 20px;
}

ul.albumlist li {
  margin: 5px 5px 5px 5px;
  display: inline-block;  /* we want TODO, why doesn't inline work*/
  vertical-align: middle;  /* keeps all text and images aligned in a row */
  text-align: left;
}

ul.albumlist li a {
  display: block;   /* this can be block or inline-block in order to fill */
  height: 40px;   /* height of thumbnails */
  width: 125px;
  padding: 8px;
}


ul.albumlist li a img {
  float: left;
  border: none;
  margin: 0 5px 0 0;
}

div.photoalbum {
  overflow: hidden;
  display: none;
}
div.photoalbum.current {
  display: block;
}
div.photoalbum a {
  display: inline;
}

ul.thumbs {
  float: left;
  overflow: hidden;
}
ul.thumbs li {
  float: left;
  margin: 5px 5px 5px 5px;
}
ul.thumbs li:nth-child(2n+1) {
  clear: both;
}

ul.thumbs li a.thumb {
  padding: 2px;
  display: block;
  border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
  background: #000;
}
ul.thumbs li a.thumb:focus {
  outline: none;
}
ul.thumbs li a img {
  display: block;
}

div#slideshow {
  overflow-x: hidden;
  text-align: center;
}
div#caption {
  text-align: center;
}



/* Music */
ul.musicalbumlist {
  float: left;
}
ul.musicalbumlist li {
  margin: 5px 15px 5px 5px;
  display: block;
}

ul.musicalbumlist li a {
  padding: 8px;
  height: 30px;   /* height of thumbnails */
  width: 125px;
  display: block;   /* this can be block or inline-block in order to fill */
}

div.musicalbum {
  display: none;
}
div.musicalbum.current {
  display: inline-block;
}
div.musicalbum img {
  display: inline-block;
  vertical-align: middle;
}
div.musicalbum ul {
  display: inline-block;
  max-width: 30%;   /* this is the magic to wrap album name length correct */
  vertical-align: middle;
}
div.musicalbum ul li {
  margin: 5px 0 5px 2px;
  width: 100%;
}
div.musicalbum ul li a {
  display: block;
}

/* Videos */

ul.videolist {
  float: left;
}
ul.videolist li {
  margin: 5px 15px 5px 5px;
  display: block;
}

ul.videolist li a {
  padding: 8px;
  height: 30px;   /* height of thumbnails */
  width: 125px;
  display: inline-block;   /* this can be block or inline-block in order to fill */
}

div.video {
  text-align: center;
  display: none;
}
div.video.current {
  display: inline-block;
}


/* News, Blog */
ul.news li, ul.blog li {
  display: block;
  margin: 2px 0;
}
ul.news li a, ul.blog li a {
  display: block;
  width: 90%;
  padding: 5px;
  font-size: 1.2em;
  overflow: hidden;
}
ul.news li a span.newsdate, ul.blog li a span.newsdate { 
  float: right;
  margin-top: 5px;
  font-size: .7em; 
  font-style: italic;
}
ul.news li span.content, ul.blog li span.content { 
  margin: 5px;
  display: none;
}
ul.news li.showing span.content, ul.blog li.showing span.content { 
  display: block;  /* need block because we have margins to display */
}


/* About */

div.tab#about {
  margin: auto 30px;
  text-align: justify;
}

/* Press */

div.tab#press {
  margin: auto 30px;
  text-align: justify;
}

div.tab#press img {
  display: block;  /* center images that are by themselves */
  margin: 0 auto;
}

/* Shows */

ul#showlist {
  display: block;
}
ul#showlist li a {
  display: block;
  width: 90%;
  margin: 5px 0;
  padding: 5px;
}
ul#showlist li a span.showtitle {
  font-size: 1.2em;
}

ul#showlist li span.showdate {
  display: block;
  font-size: 1em;
  font-style: italic;
  margin: 5px 0;
}

ul#showlist li p {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Buy */

div#buy a.button {
  padding: 8px;
}

