﻿body 
{
	background-color: white;
	font-size: 12px;
}

#container 
{
	width: 100%;
}

body[orient="portrait"] #container 
{
	height: 416px;
}

body[orient="landscape"] #container 
{
	height: 268px;
}

#info
{
	position: absolute;
	top: 90px;
	font-size: 12px;
}

#backgroundMask
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.7;
	z-index: 1;
}

#spinner
{
	position: absolute; 
	visibility: hidden;
	z-index: 3;
}

body[orient="portrait"] #spinner
{
	top: 250px; 
	left: 145px; 
}

body[orient="landscape"] #spinner
{
	top: 220px;
	left: 230px;
}

#header div.left
{
	float:left;
	margin: 4px 0 0 5px;
	padding-top: 3px;
	height: 24px;
	width: 26px;
}

#header div.right
{
	float: right;
	width: 24px;
	height: 24px;
	margin: 6px 5px 0 0;
	padding-top: 0px;
	font-weight: bold;
	font-size: 20px;
	color: white;
}

#headerText
{
	padding-top: 5px;
}

#subHeader
{
	height:32px; 
	background-image: url(http://mac.streamingscores.com/iPhone/Images/ButtonBarBG.png); 
	color: white; 
	font-size: 14px;
	font-weight: bold;
}

#tdBack
{
  display: none;
}

#tdBack div
{
  width: 45px;
  color: White;
	font-family: Helvetica;
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
	margin: 1px 0 0 8px;
	padding: 6px 0 5px 0;
}

#tdEdit
{
	width: 100px;
}
	
#tdEdit div
{
	color: White;
	font-family: Helvetica;
	font-size: 12px;
	text-align: center;
	-webkit-border-image:url(http://mac.streamingscores.com/iPhone/Images/BlueButtonDull.png) 6 5 7 5;
	display:block;
  width: 95px;
	margin-right: 6px;
	padding: 2px 0 2px 0;
}

#tdTeam
{
	text-align: center;
}

#main
{
	position: absolute;
	top: 75px;
	left: 0px;
	width: 100%;
}

#pageHeader, #footer
{
	border: 1px solid #808080;
	font-size: 14px;
	width: 100%;
	background-image: url(http://mac.streamingscores.com/iPhone/Images/CellGlass.jpg);
}

#pageHeader img, #footer img
{
	vertical-align: top;
}

#pageHeader select
{
	font-size: 14px;
	font-weight: bold;
	background-color: black;
	color: white;
}

#footer
{
	padding: 10px 0 10px 0;
}

#tblMain
{
	border: 1px solid #808080;
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}

#tblMain td.thumb
{
	width: 130px;
	height: 97px;
}

#tblMain td.info
{
	width: 100%;
	vertical-align: middle;
}

#tblMain td.info div.info
{
	float: left;
}

body[orient="portrait"] #tblMain td.info div.info
{
	width: 155px;
}

body[orient="landscape"] #tblMain td.info div.info
{
	width: 315px;
}

#tblMain td.info div.button
{
	float: right;
	margin-top: 30px;
}

#tblMain td.info td.title a, #tblDetails td.info td.title a
{
	font-weight: bold;
	text-decoration: none;
	color: #1D62B3;
}

.time
{
	font-weight: bold;
	padding-right: 10px;
}

.user
{
	font-weight: bold;
	color: #E43C15;
}

#details
{
	position: absolute;
	top: 152px;
	left: 0px;
	padding: 10px 10px 20px 10px;
}

body[orient="portrait"] #details
{
	width: 300px;
}

body[orient="landscape"] #details
{
	width: 460px;
}

#tblDetails
{
	width: 100%;
	border: 2px solid #808080;
	-webkit-border-radius: 8px;
}

#tblDetails td.label
{
  font-weight: bold;
	color: #808080;
  text-align: right;
  vertical-align: top;
	padding-right: 5px;
}

img.close
{
	float: right;
}

#selectTeam 
{
	position: absolute;
	top: 10px;
	width: 280px;
	background-color: white;
	z-index: 2;
	border: 3px solid gray;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 0px 0px #b3c9d3;
	padding: 5px;
	text-align: center;
}

body[orient="portrait"] #selectTeam
{
	left: 10px;
}

body[orient="landscape"] #selectTeam
{
	left: 90px;
}

#sportSelect
{
	margin-top: 30px;
}

#sportSelect td
{
	background-image: url(http://mac.streamingscores.com/iPhone/Images/ButtonBGGray.png);
	background-repeat: no-repeat;
	vertical-align: top;
}

#sportSelect div
{
	text-align: left;
	margin-left: 0px;
	height: 60px;
	color: #E43C15;
	font-size: 24px;
	font-weight: bold;
}

#mlbButton
{
	padding: 10px 0 0 3px;
}

#mlbButton img
{
	padding-right: 10px;
}

#nflButton
{
	padding: 2px 0px 0 8px;
}

#nflButton img
{
	padding-right: 12px;
}

#nbaButton 
{
	padding: 0 0px 0px 18px;
}

#nbaButton img
{
	padding-right: 22px;
}

#nhlButton
{
	padding: 3px 0px 0 9px;
}

#nhlButton img
{
	padding-right: 12px;
}

#teamSelect
{
	display:none;
}

#teamSelect table.buttons
{
	width: 100%;
	margin-top: 20px;
	color: White;
	font-family: Helvetica;
	font-size: 14px;
	font-weight: bold;
	line-height: 14px;
}

#teamSelect table.leagues
{
	width: 100%;
}

#teamSelect table.leagues img
{
	height: 50px;
	padding: 5px;
	opacity: 0.4;
}

#teamSelect table.leagues img.selected
{
  border: 2px dashed #E43C15;
  opacity: 1.0;
}

#teamSelect table.teams
{
	width: 100%;
	font-size: 14px;
	font-weight: bold;
	text-decoration: underline;
	padding-top: 10px;
}

#teamSelect table.teams td
{
	vertical-align: top;
}

#teamSelect table.teams img
{
	width: 40px;
	padding-bottom: 10px;
}
