/*
    Styles for small screens, iPhones, etc.
 
 */

/* ==================== TOP-LEVEL CONTAINERS ==================== */

body {
  width: 320px;
  margin: 0px;
  padding: 0px;
  background-color: white;  /* redundant - for small_css test */
  background-image: url('Background_small_portrait.png');
  background-repeat: repeat-y;
  font-family: Helvetica;
}

/*  For iPhone lancscape support  */
body.landscape {
  width: 480px;
  background-image: url('Background_small_landscape.png');
}

#browser {
  /* ensure we always fill the whole screen */
  min-height: 416px;
}

body.landscape #browser {
  min-height: 268px;
}

/* ==================== HEADER ==================== */

#header {
  position: relative;
  height: 40px;
  background-image: url('header_middle.png');
  border-bottom: 1px solid rgb(45, 54, 66);
}

a.button {
  position: absolute;

  /* set up the font appearance */
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  color: white;
  padding-top: 7px;
  padding-left: 4px;

  text-shadow: rgba(0, 0, 0, .6) 0px -1px 0px;
  background-image: url('back_button.png');
  
  margin-left: 8px;
  margin-top: 5px;
  border-width : 0 4px 0 13px;
  /* base metrics used to ensure a minumum size and specify a max size that can be used to trim the contents */
  min-width: 56px;
  max-width: 60px;
  height: 23px; 
  /* enfore trimming if the label is too long */
  white-space : nowrap;
  overflow : hidden;
  text-overflow: ellipsis;
}

body.landscape .button {
  max-width: 90px;
}

.title {
  height: 31px;
  padding-top: 7px;
  text-align: center;
  font-size: 16pt;
  font-weight: bold;
  color: white;
  text-shadow: rgba(0, 0, 0, .6) 0px -1px 0px;
  white-space : nowrap;
  overflow : hidden;
  text-overflow: ellipsis;
}

.titleSmall {
  margin-left: 70px;
}

.idxTitle {
  display:none;
}

/* ==================== MAIN PAGES CONTENT ==================== */

div #menu {
  display: none;
}

div #content {
  margin: 10px 6px 6px 10px;
  font-size: 14px;
}

ul {
  width: 300px;
  padding: 0px;
  margin: 10px 0px 6px 10px;
  font-size: 18px;
  font-weight: bold;
}

body.landscape ul {
  width: 460px;
}

ul a {
  text-decoration: none;
}

ul a:visited {
  text-decoration: none;
}

li {
  height: 26px;
  list-style-type: none;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: rgb(171,173,176);  
  margin: 0px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 20px;
  color: black;

  /* ensure that long pieces of text get trimmed */
  white-space : nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  border: 1px solid rgb(171,173,176);
  border-bottom-width: 0;

  -webkit-border-bottom-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  border: 1px solid rgb(171,173,176);
  margin-bottom: 5px;
}

a li {
  background-image: url('chevron.png');
  background-repeat: no-repeat;
  background-position: 280px 10px;
}

body.landscape a li {
  background-position: 440px 10px;
}

.wide_list {
  width: 92%;
}

body.landscape .wide_list {
  width: 95%;
}

body.portrait .ticket {
  width: 98%;
}

div.player {
  left:330px;
}

body.landscape div.player {
  left:500px;
}
