@font-face
{
 font-family: UbuntuFont; 
 src: url('fonts/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
}

body
{
    background : black;
   -webkit-user-select: none;
}

div.songmap
{
    width: 600px;
    background: black;
}

div.songthumbnail
{
    /* I don't know why these two must be 2 units less than the actual image dimensions, but it works. */
    width: 254px;  /* Must match glSongMap_CellWidth_minus2 in songmap.js */
    height: 190px; /* Must match glSongMap_CellHeight_minus2 in songmap.js */
    
    padding: 0px;
    margin:  0px;
    border:  0px;
}

div.clearfloat
{
    clear: both;
}

table.songmap
{
    position: absolute;
    top: 0px;
    left: 0px;
    border: 0px;
    margin: 0px;
}

td.songmapcell
{
    padding: 0px;
    margin: auto;
    border-spacing: 0;
    border-collapse: collapse;
    border: 0px;
}

tr.songmaprow
{
    padding: 0px;
    margin: 0px;
    border: 0px;
}

div.songmap_song
{
    position: relative;
/*    clip:rect(0%,100%,100%,0%); */
}

div.songmap_shown
{
    display: block;
}

div.songmap_hidden
{
    display: none;
}

img.song_image
{
  position: absolute;
/*  top: 0px;
  left: 0px;
  clip:rect(0%,100%,100%,0%);
  */
  padding: 0px;
  margin: 0px;
  border: 0px;
  width: 1024px;
  height: 768px;
}

img.song_image_thumb
{
  position: absolute;
  padding: 0px;
  margin: 0px;
  border: 0px;
  clip:rect(0px,256px,192px,0px);  /* Values must match glSongMap_CellWidth in songmap.js */
}

img.song_image_thumb_adjustwidth
{
  position: relative;
  padding: 0px;
  margin: 0px;
  border: 0px;
  width: 256px;
}

img.song_image_thumb_adjustheight
{
  position: relative;
  padding: 0px;
  margin: 0px;
  border: 0px;
  height: 192px;
}

div.div_video,div.id_youtubevideo
{
  position:absolute;
  top:0px;
  left:0px;
  background:black;
  z-index:10;
  width:100%;
  height:100%;
  display:none;
}

video.video_video
{
  position: absolute;
  top: 20px;
  left: 20px;
  width: 576px;
  height: 432px;
  z-index: 10;
  -webkit-transform-style:preserve-3d;
}

iframe.iframe_ytvideo
{
  position: absolute;
  top: 20px;
  left: 20px;
  width: 576px;
  height: 432px;
  z-index: 10;
}

#id_close_button
{
  position: fixed;
  top: 30px;
  left: 30px;
  width: 59px;
  height: 59px;
  display: none;
  z-index: 30;
  display: block;
  background-image: url('tornsound.menu.arrow.png');
  background-repeat: no-repeat;
  display:none;
}

#div_id_loading
{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: black;
  text-align: center;
}

#div_vdisplay
{
    position: absolute;
    text-align: right;
    width: 1010px;
    font-family: arial;
    font-size: 12px;
    font-weight: bold;
    color: gray;
    top: 700px;
}

img.loading_logo
{
  margin: auto;
  margin-top: 25%;
}

img.loading_bullet
{
  margin:auto;
}

#div_id_songbox_container
{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 1024px;
  z-index: 20;
  display: none;
}

#div_id_songbox
{
  float: right;
  margin: auto;
  margin-top: 30px;
  margin-right: 30px;
  background-color: rgba(0,0,0,0.7);
  text-align: right;
  padding: 10px;
  border-radius: 10px;
}

#div_id_songtitle_container
{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 25;
  display: none;
}

#div_id_songtitle
{
  float: right;
  margin: auto;
  margin-top: 30px;
  margin-right: 30px;
  background-color: transparent;
  padding: 10px;
  text-align: right;
  border-radius: 10px;
}

div.floatclear
{
  clear: both;
}

span.span_song_title
{
  font-family: UbuntuFont; 
  font-size: 18pt;
  font-weight: bold;
  color: white;
}

span.span_song_artist
{
  font-family: UbuntuFont; 
  font-size: 15pt;
  color: white;
}

span.span_song_album
{
  font-family: UbuntuFont; 
  font-size: 15pt;
  color: white;
}

img.show_video
{
  position: fixed;
  top: 650px;
  left: 50px;
  z-index: 30;
}

img.play_audio
{
  position: fixed;
  top: 650px;
  left: 250px;
  z-index: 30;
}

img.loading_song
{
  position: fixed;
  top: 370px;
  left: 500px;
  z-index: 30;
}

img.button_download_this_song
{
  position: fixed;
  top: 650px;
  left: 480px;
  z-index: 30;
}

img.related_music
{
  position: fixed;
  top: 650px;
  left: 620px;
  z-index: 30;
}

img.buy_button_amazon
{
  position: fixed;
  top: 650px;
  left: 760px;
  z-index: 30;
}

img.buy_button_itunes
{
  position: fixed;
  top: 650px;
  left: 900px;
  z-index: 30;
}

.element_shown
{
    display: block;
}

.element_hidden
{
    display: none;
}

div.div_video_container
{
  position: fixed;
  top: 150px;
  left: 50px;
  width: 616px;
  height: 472px;
  z-index: 30;
  background-color: black;
  border-radius: 10px;
}

div.div_related_music_container
{
  position: fixed;
  top: 350px;
  left: 620px;
  width: 155px;
  height: 285px;
  z-index: 30;
  background-color: rgba(0,0,0,0.70);
  border-radius: 10px;
  overflow: auto;
  padding: 5px;
  padding-right: 15px;
}

#div_id_music_scroller
{
  position: relative;
}

#div_id_webdemo
{
  position: fixed;
  top: 0px;
  left: 300px;
  width: 400px;
  height: 40px;
  background-color: rgba(0,40,0,0.70);
  border-radius: 10px;
  color: white;
  text-align: center;
  font-family: UbuntuFont; 
  font-size: 12pt;
  padding: 5px;
  z-index: 30;
}

hr.hr_related_music
{
  border: 1px white solid;
  margin-top: 3px;
  margin-bottom: 3px;
}

div.related_song_entry
{
  font-family: UbuntuFont; 
  font-size: 14pt; 
  margin-top: 5px;
  margin-left: 10px;
  color: white;
}

div.div_infobox_container
{
  position: fixed;
  top: 150px;
  width: 1024px;
  z-index: 100;
}

div.div_infobox
{
  position: relative;
  padding: 20px;
  font-family: UbuntuFont; 
  font-size: 15pt; 
  background-color: rgba(0,0,0,0.70);
  color: white;
  border-radius: 10px;
  z-index: 30;
}

div.div_titleinfobox
{
    position: relative;
    padding: 3px;
    font-family: UbuntuFont; 
    font-size: 8pt; 
    background-color: rgba(0,0,0,0.70);
    color: white;
    border-radius: 3px;
    top: 2px;
    float: right;
    z-index: 1;
}

div.alignright
{
  position: relative;
  left: -10px;
  float:right;
  z-index: 30;
}

.emptyonreload
{
 /* Used only as a dummy reference. */
}

/*
#debugvideo
{
  position: relative;
  top: 20px;
  left: 20px;
  width: 576px;
  height: 432px;
  z-index: 30;
  background-color: red;
}
*/

#id_songcontainer
{
  position: relative;
  top: 0px;
  left: 0px;
  width: 3072px;
  height: 2304px;
  background: black;
}

#id_songcontainerframe
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 1024px;
  height: 768px;
  background: black;
  overflow: auto;
}
