/* FIBA LiveStats v4 - Layout */

.container {
	width: 940px;
	margin-left:auto;
	margin-right:auto;
}

.header, .top-promo {
	float:left;
	width: 100%;
}

.top-promo {
	border-bottom: 6px solid #3C3C3C;
}

.header {
	border-bottom: 3px solid #000;
}

.header-left, .header-right {
	float:left;
	width: 43%;
}

.header-right {
	float:right;
}

.header .row {
	float:left;
	width: 100%;
}

.header-center {
	float:left;
	width: 14%;
	height: 134px;
	margin-top: 20px;
}

.left {
 text-align:left;
}

.center {
	text-align:center;
}

.right {
	text-align:right;
}

.team-logo {
	float:right;
	text-align: center;
	padding: 8px;
	margin-top: 57px;
	border: 3px solid #000;
	margin-bottom: -3px;
	background-image: #272727;
	background-image: -webkit-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -moz-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -o-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -ms-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #171717), color-stop(0.5, #202020), color-stop(0.99, #262626), color-stop(1, #404040));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#404040", endColorstr="#171717",GradientType=0);
}

.team-0-logo {
	-webkit-border-radius: 5px 0 5px 0;
  -moz-border-radius: 5px 0 5px 0;
  border-radius: 5px 0 5px 0;
	margin-right: -3px;
}

.team-1-logo {
	-webkit-border-radius: 0 5px 0 5px;
	-moz-border-radius: 0 5px 0 5px;
  border-radius: 0 5px 0 5px;
	margin-left: -3px;
}

.league-logo {
	float:left;
	margin: 50px 0 0 0;
}

.league-logo img {
	display:block;
	max-width: 140px;
	max-height: 100px;
}

.team-1-logo {
	float: left;
}

.team-logo-inner {
  width: 64px;  
  height: 64px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.team-logo img {
	display: inline-block;
  margin-left: auto;
  margin-right: auto 
	max-width: 64px;
	max-height: 64px;
	vertical-align: middle;
}

.team-score {
	margin-top: 20px;
	width: 34%;
	border: 3px solid #000;
	border-bottom: 0px;
	height: 140px;
	margin: 20px 0 -3px 0;
	background-image: #272727;
	background-image: -webkit-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -moz-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -o-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -ms-linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: linear-gradient(bottom, #171717 0%, #202020 50%, #262626 99%, #404040 100%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #171717), color-stop(0.5, #202020), color-stop(0.99, #262626), color-stop(1, #404040));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#404040", endColorstr="#171717",GradientType=0);
}

.team-0-score {
	float:right;
	border-right: 0px;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
	border-radius: 5px 0 0 0;
}

.team-1-score {
	float:left;
	border-left: 0px;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
	border-radius: 0 5px 0 0;
}

.score-shadow, .score {
	float:left;
	width: 80%;
	margin: 0 10%;
	height: 72px;
	font-size: 74px;
  line-height: 72px;
}

.score-shadow {
	margin-top: 20px;
	margin-bottom: -72px;
}

.period, .clock {
	float: left;
	width: 80%;
	margin: 0 10%;
}

.clock {
	margin-bottom: 6px;
}

.team-fouls, .team-outs, .fouls-label, .outs-label {
	float:left;
}

.fouls, .timeouts {
	float:left;
	width: 80%;
	margin: 2px 10% 0 10%;
	font-size: 16px;
}

.timeouts {
	margin-bottom: 10px;
}

.fouls-label, .outs-label {
	width: 60%;
}

.team-fouls, .team-outs {
	width: 20%;
}

.period {
	font-size: 16px;
	margin-top: 6px;
}

.clock {
	font-size: 44px;
	line-height: 40px;
	height: 40px;
	margin-top: 4px;
}

.team-name {
	float:left;
	width: 96%;
	margin: 14px 2% 0;
	padding: 2px 0;
	margin-top: 16px;
	font-size: 18px;
	letter-spacing: 0.5px;
	white-space: nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	text-align:center;
}

.clock-summary {
	float:left;
	margin-top: -20px;
	background: #000;
	border: 1px solid #404040;
	border-top: 0px;
/*	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px; */
}

.qtr-by-qtr {
	float:left;
	width: 90%;
	padding: 5px 5%;
	background: #262626;
}

.qtr-by-qtr table {
	float:left;
	width: 100%;
	font-size: 10px;
}

.period-cell {
	width: 15%;
}

/* .ad-space-top {
	float:left;
	width: 100%;
	height: 30px;
	background: #181818;
} */

.page-nav {
	float:left;
	width:100%;	
	margin: 10px 0;
}

.tab-wrap {
	float: left;
}

.tab {
	float:left;
	
}

.tab a {
	float:left;
	padding: 4px 10px;
	margin: 0 10px 0 0;
	font-size: 14px;
}

.languages {
	float: right;
	margin-left: 10px;
}

.langchoosewrap, .othermatches {
	float:right;
}

.footer {
	float:left;
	width:100%;
	margin: 0 0 20px 0;
	text-align:center;
}

.footer .container {
	padding: 10px 0;
}

.venue-details {
	float:right;
	width: 140px;
	text-align:right;
	margin-top: 6px;
}

.venue-details p {
	margin: 0;
	font-size: 11px;
}

.venue-details h6 {
	font-size: 12px;
	letter-spacing: 0.5px;
	font-weight: normal;
	margin: 0;
	font-family:'FibaCENormal', Verdana, sans-serif;
	margin: 6px 0 0 0;
}

.copyright {
	float:left;
	width:100%;
	margin: 0 0 10px 0;
	padding: 6px 0;
	text-align:center;
	font-size: 12px;
	letter-spacing: 0.5px;
	line-height: 14px;
	-webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
}

.languages select, .menu select, nav select {
	font-size: 15px;
	padding: 4px;
	height:29px;
	width: 158px;
}	

.langchoosewrap, .menu, nav {
	width:158px;
	height:29px;
	/* background: url(../images/v4/dd.jpg) no-repeat right #000; */
}

.playerinfo, .playernum {
	font-size: 17px;
}

.video-wrap .playerinfo, .video-wrap .playernum {
	font-size: 14px;
}

.box-score-wrap, .summary-wrap, .shot-chart-wrap, .video-wrap {
	float:left;
	width:100%;
}

.bs-info {
	float:left;
	width:98%;
	margin: 10px 1%;
}

.bs-commissioner-display{
	width: 45%;
	float: left;
	padding: 2.5%;
}
.bs-referee-display {
	width: 45%;
	float: right;
	padding: 2.5%;	
}

.bs-info .refs span {
	display: block;
	line-height: 1.7em;
}


.boxscore tr.bsheader-1 th.active-p, .boxscore tr.bsheader th.active-p, .boxscore td.active-p, .boxscore tr.team-totals td.active-p {
	width: 4px;
	padding:0px;
}

.refs {
	float:left;
	width: 30%;
	font-size: 11px;
}

.refs td {
	width: 50%;
}

.legend {
	float:right;
	width: 69%;
	font-size: 11px;
}

.legend table, .refs table {
	float:left;
	width: 98%;
	margin: 5px 1%;
}

.legend p, .refs p {
	width: 96%;
  margin: 8px 2%;
}

.legend th, .refs th {
	text-align:left;
}

.legend td, .legend th, .refs th, .refs td, .gamesumtable th, .gamesumtable td {
	padding: 4px;
}

.gamesumtable th, .gamesumtable td {
	padding: 6px;
}

.gamesumtable th {
	font-size: 20px;
}

.team-0-bs, .team-1-bs {
	float:left;
	width: 98%;
	margin: 0 1% 0 1%;
	font-size: 10px;
}

.game-summary, .scoring-dev, .team-leaders {
	float:left;
	width: 48%;
	margin: 0 1% 0 1%;
	font-size: 10px;
}

.game-summary {
	font-size: 13px;
}

.team-1-bs {
	margin: 0 1% 0 1%;
}

.gamesumtable {
	width: 100%;
	text-align:left;
	font-size: 10px;
	border-collapse: separate;
}

.boxscore {
	width: 100%;
	text-align:left;
	font-size: 14px;
	border-collapse: separate;
}


.gamesumtable {
	font-size: 16px;
	letter-spacing: 0.5px;
}

.gamesumtable td:nth-child(1), .gamesumtable td:nth-child(5) {
	width: 25%;
	font-size: 14px;
}

.gamesumtable tr.summary-team-names td:nth-child(1), .gamesumtable tr.summary-team-names td:nth-child(5) {
	font-size: 18px;
}

.gamesumtable td:nth-child(2), .gamesumtable td:nth-child(4) {
  width: 5%;
}

.gamesumtable td:nth-child(3) {
  width: 40%;
}

.playerinfo {
	width: 190px;
	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;
	display:block;
}

.num {
	width: 3.5%;
}

.boxscore th {
	padding: 6px 2px;
}

.boxscore tr.bsheader-1 th {
	padding: 0px 2px 6px;
}

.boxscore td {
	padding: 6px 4px;
	white-space: nowrap;
}

.boxscore tr.team-totals td {
	padding: 6px 4px 0px;
}

.box-score-title {
	float:left;
	width:100%;
	border-bottom: 1px solid #424242;
	margin-bottom: 10px;
}

.bs-image img {
	width: 36px;
}

.team-0-bs .bs-image, .team-1-bs .bs-image {
	float:left;
	padding: 8px 12px 8px 0;
}

.team-0-bs .bs-team-name, .team-1-bs .bs-team-name {
	float:left;
}

.bs-team-name {
	font-size: 28px;
	margin: 12px 0;
}

.boxscore-top, .pbp-table-top, .sc-inner-top, .scteamname, .minipbp-top {
	float:left;
	width:100%;
	height:5px;
	background: #FF7D00;
	-webkit-border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}

.pbp-time, .pbp-score, .pbp-lead, .minipbp-top {
	font-family: 'FibaCENormal', Verdana, sans-serif;
}

.minipbp-top {
	float:left;
	height: auto;
	padding: 5px 0;
	text-indent: 10px;
}

#aj_minipbp {
	float:left;
	width: 100%;
	margin-bottom: 20px;
}

.sc-inner-top {
	margin-bottom: 20px;
}

.boxscore-btm {
	float:left;
  width:100%;
  height:5px;
  background: #666;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
}

.team1detail {
	float:left;
	width:100%;
	margin: 10px 0;
	font-size: 16px;
	text-align:right;
}

.team1detail td:first-child {
	text-align:left;
	width: 30%;
}

.team1detail td {
	padding: 4px;
}

.play-by-play {
	float:left;
	width:100%;
}

.pbpmenu a {
  margin: 0 10px;
  padding-bottom: 8px;
}

.pbp-top, .sum-top, .shot-top, .video-top {
	border-bottom: 1px solid #424242;
  float: left;
  margin-bottom: 10px;
  width: 100%;
}

.pbp-title, .sum-title, .shot-title, .video-title {
	font-size: 28px;
	padding: 10px;
}

.pbpwrap {
	float:left;
	width: 62%;
	margin: 0px 1% 10px 1%;
}

.video-content {
	float:left;
	width: 98%;
	margin: 0 1% 10px 1%;
}	

.video-left {
	float:left;
	width: 590px;
}

.video-right {
	float:right;
	width:320px;
}

.video-right .facebook-chat {
	width: 100%;
	margin: 0;
}

.video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom: 10px;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.mini-bs {
	float:left;
	width: 290px;
}

.mini-bs td.num {
	text-align:center;
}

.mini-bs .boxscore-top {
	height: auto;
	padding: 5px 0;
	text-indent: 10px;
}

.mini-bs-1 {
	margin-right: 10px;
}

.mini-bs .sub-area-subtitle {
	margin: 0 0 10px 0;
}

.player-row .playerinfo {
	width:auto;
}
.row-not-used {
    display:none;
}

.mini-bs .boxscore {
	font-size: 12px;
}

.pbpmenu {
	float:left;
  width: 62%;
  margin: 10px 1% 0px 1%;
	text-align:right;
}

.facebook-chat {
	float:right;
	width: 34%;
	margin: 10px 1%;
}

.playbyplay {
	float:left;
	width:100%;
}

.playbyplay th, .playbyplay td {
	padding: 5px;
}

.playbyplay th {
	padding: 0px 5px 5px 5px;
}

#shotchart {
	float:left;
	position:relative;
	width: 560px;
	height: 336px;
	background: url(../images/fiba_court.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

#shotchart_data {
    display:block;
    position:relative;
    margin:auto;
	background: url(../images/fiba_courtonly.jpg);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	width: 480px;
	height: 288px;
    margin-top:26px;
}

#shotchart .sc_img {
	border: 0 none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 1;
	width: 14px;
	height:15px;
    margin-left:-7px;
    margin-bottom:-7px;
	background-size: 14px auto;
	background-image: url(../images/made-missed.png);
	background-repeat:no-repeat;
}

#shotchart .black_missed {
	background-position: 0px -72px;
	height: 14px;
}

.black_made, .black_dunk {
	background-position: 0px -57px;
}

.white_missed {
	background-position: 0px -101px;
}

.white_made, .white_dunk {
	background-position: 0px -86px;
}

.team-legend {
	float:right;
	width:96%;
	font-size: 12px;
	text-align:right;
	margin: 0 2%;
}

.team-legend .black_made, .team-legend .black_missed, .team-legend .white_made, .team-legend .white_missed {
	width: 10px;
	height: 10px;
	background-size: 10px auto;
	background-image: url(../images/made-missed.png);
  background-repeat:no-repeat;
	display: inline-block;
	margin: 0 2px;
}

.team-legend .black_made {
	background-position: 0px -41px;
}

.team-legend .black_missed {
	background-position: 0px -51px;
}

.team-legend .white_made {
  background-position: 0px -62px;
}

.team-legend .white_missed {
	background-position: 0px -72px;
}

.sc-team {
	float:left;
	width: 180px;
	height: auto;
}

.sc-team table {
	width: 100%;
	font-size: 13px;
}

.sc-team td {
	padding: 2px 5px;
}

.sc-team td.sc-p-no {
	width: 20px;
}

.sc-team table tr.legend-row td {
	font-weight:bold;
	padding: 2px 0;
}

.scteamname {
	float:left;
	width: 100%;
	height: auto;
	padding: 6px 0;
	-webkit-border-radius: 3px 0 0 0;
	-moz-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
	text-indent: 6px;
	white-space: nowrap;
	overflow:hidden;
	text-overflow: ellipsis;
	font-size: 24px;
}

.sc-team-2 .scteamname {
	-webkit-border-radius: 0 3px 0 0;
	-moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.shot-chart-inner {
	margin: 0px 10px 10px;
}

.shot-chart-control {
	float:left;
	text-align:right;
	width: 920px;
	height:28px;
	margin: 0 10px;
	font-size: 16px;
}

.lower-sc-wrap {
	float:left;
	margin: 20px 10px;
}

.sub-area-title {
	float:left;
	width: 100%;
	height: 40px;
	font-size: 22px;
	letter-spacing: 0.5px;
	line-height:40px;
	text-indent: 10px;
	-webkit-border-radius: 3px 3px 0 0;
  -moz-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
}

.sub-area-subtitle {
	float:left;
	width: 100%;
	height: 34px;
	margin-top: 10px;
	font-size: 18px;
	line-height: 34px;
}

.sas-left {
	float:left;
	margin-left: 10px;
}

.sas-right {
	float:right;
	margin-right: 10px;
	text-align: right;
}

.game-leaders {
	float:left;
	width: 57%;
	margin-right: 1%;
}

.gl-content {
	float:left;
	width: 100%;
	background: #FFF;
}

.scoring-breakdown {
	float:left;
	width:42%;
}

.shot-chart-control a, .shot-chart-control .filter-name {
	margin: 0 10px;
	padding: 0 0 10px 0;
}

.shot-chart-control .filter-name {
	margin: 0 10px 0  60px;
}

.gl-row {
	float:left;
	width: 98%;
	margin: 5px 1%;
}

.gl-player-name {
	float:left;
	width: 121px;
	height: 80px;
}

.gl-player-name span {
	float:left;
	width: 100%;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	margin: 15px 0;
	text-indent: 6px;
}

.gl-stat-name{
  float:left;
  height: 80px;
  width: 50px;
  font-size: 24px;
  text-align:center;
}

.gl-stat{
	float:left;
	height: 80px;
	width: 50px;
	font-size: 24px;
	text-align:center;
}

.gl-stat span, .gl-stat-name span {
	float:left;
	width: 100%;
	margin-top: 14px;
}

.gl-stat-name span {
	margin-top: 28px;
}

.team-leaders-title {
	float:left;
	width:100%;
	font-size: 24px; 
	text-indent: 10px;
	padding: 5px 0;
	line-height: 36px;
}

.team-leaders-title .bs-image {
	float:left;
	margin: 0 0 0 6px;
}

.team-leaders-title .bs-image img {
	display:block;
}

.cat-leader {
	float:left;
	width: 96%;
	margin: 10px 2%;
}

.cat-lead-rest {
	float:right;
	width: 32%;
}

.cat-lead-rest table {
	font-size: 11px;
	width: 100%;
	height:80px;
}

.cat-lead-rest td {
	padding: 2px 3px;
}

.cat-lead-rest table td:nth-child(1) {
	width: 10%;
}

.cat-lead-rest table td:nth-child() {
	width: 16%;
	text-align:right;
}
.cat-title {
	float:left;
	width: 100%;
	font-size: 18px;
	padding: 5px 0;
	text-indent: 10px;
	margin: 5px 0 10px 0;
}

.cat-image, .gl-image {
	float:left;
	width: 60px;
	height: 80px;
	text-align:center;
	overflow:hidden;
}

.cat-image {
	width: 80px;
	height: 80px;
}

.cat-image img, .gl-image img {
	display: inline-block;
	min-width: 100%;
	min-height: 100%;
	-ms-interpolation-mode: bicubic;
	margin-left: -100%;
	margin-right: -100%;
	max-width: 200%;
}

.cat-image img {
    display: inline-block;
    min-width: 100%;
    min-height: 100%;
    -ms-interpolation-mode: bicubic;
    margin-left: -100%;
    margin-right: -100%;
    max-width: 200%;
}

.cat-name {
	float:left;
	width: 49%;
	height: 80px;
}

.cat-name h6 {
	font-size: 14px;
	margin: 6px 0;
	text-indent: 10px;
}

.cat-name-left {
	float:left;
	width: 60%;
}

.cat-lead-num {
	float:right;
	width: 70px;
	height: 70px;
	text-align:center;
	font-size: 40px;
}

.cat-lead-num h6 {
	text-indent: 0px;
	margin-bottom:0px;
}

.cat-leader-name {
	font-size: 20px;
	text-indent: 10px;
	font-weight: bold;
	width: 100%;
	text-overflow:ellipsis;
	white-space:nowrap;
	overflow:hidden;
}

.new-per-select {
	display:none;
}

.footer-top {
	float:left;
	border-top: 1px solid #343434;
	text-align: center;
	width: 100%;
	background: #090909;
	padding: 15px 0;
}

a.footer-logo {
	background: url(../images/poweredby_fibags.png);
	width: 206px;
	height: 79px;
	display:inline-block;
	margin: 0 0 0 28px;
}

.score-dev-title {
	float:left;
	width: 100%;
	font-size: 20px;
	text-indent: 6px;
	padding: 6px 0;
}

.mini-graph-name {
	text-align: center;
	margin: 6px 0;
}

.chart-wrap {
	float:left;
  width: 100%;
  background: #3B3B3B;
  padding: 48px 0;
}

#chart1 {
	float:left;
	width: 96%;
	height: 283px;
	margin: 10px 2%;
}

#comparisongraphs {
	float:left;
	width: 544px;
	margin: 10px;
}

#shootinggraphs {
	float:left;
	width: 38%;
	margin: 10px 1%;
}

#shootinggraph_t1, #shootinggraph_t2 {
	float:left;
	width: 48%;
	margin: 0 1%;
}

.comparisongraphbox {
  width:161px;
	margin: 10px 30px 0 0;
	float:left;
  background-color:#fff;
	-webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#graph_steals, #graph_fbpoints {
	margin-right: 0;
}

.gval {
	width: 100%;
	text-align: center;
	bottom: 5px;
	position: absolute;
	font-size: 16px;
	margin-bottom: -30px;
}

.graphlabels {
	float:left;
	width: 153px;
	margin: 0 4px;
	height: 24px;
}

.graphlabel_name {
	float:left;
	width: 54px;
	margin: 0 10px 6px 10px;
	text-align: center;
}

.comparisongraphbox .graphlabel_name {
	display:none;
}

.comparisongraphs {
  clear:both;
}
.comparisongraph_color1 {
  background-color:#00d;
}
.comparisongraph_color2 {
  background-color:#d00;
}
.comparisongraph_element    {
  width: 54px;
  height:0px;
  display:inline-block;
  margin:10px;
  vertical-align:bottom;
	position:relative;
}
.grapharea  {
  vertical-align:baseline;
	width: 153px;
  height: 90px;
	margin: 0 4px;
}
.shootinggraph_element  {
	float:left;
	width: 90%;
	margin: 5px 5%;
}

.sharing {
	float:right;
	margin: 10px 0;
}	

.shot-title .sharing, .pbp-title .sharing, .sum-top .sharing, .video-top .sharing {
	margin: 0;
}

.sharebutton, .facebook, .twitter {
	display: inline-block;
	margin-left: 6px;
}

.preview {
  float:left;
  width: 100%;
  background: #0065A4;
  border-bottom: 1px solid #84B0CD;
  font-size: 12px;
	font-family: 'Roboto', sans-serif; 
	color: #FFF;
}

.pre-big {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 5px 0;
}

.pre-big a {
  color: #FFF;
}

#pop-player {
	position: fixed;
	/* top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	margin: auto; */
	top: 50%;
	left: 50%;
	width: 370px;
	margin-top: -160px;
	margin-left: -185px;
	display:block;
	display:none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow:  1px 1px 5px 3px rgba(0, 0, 0, 0.5);
  box-shadow:  1px 1px 5px 3px rgba(0, 0, 0, 0.5);
}

#overlay {
	position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  filter: alpha(opacity=50);
	display:none;
}

#close {
  position:absolute;
  background:url(../images/close.png) 0 0 no-repeat;
  width:24px;
  height:27px;
  display:block;
  text-indent:-9999px;
  top:-7px;
  right:-7px;
}

.pop-header {
  float:left;
  width: 100%;
  height: 26px;
  font-size: 14px;
  line-height: 26px;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	text-indent: 10px;
	border-bottom: 1px solid #222;
}

.pop-top {
	float:left;
	width: 100%;
	height: 44px;
}

.pop-top-wrap {
	float:left;
	width: 100%;
}

#pop-player-image {
	float:left;
	width: 90px;
	height: 90px;
	overflow:hidden;
	background-size: 90px 90px;
	margin: -44px 10px 10px;
}

#pop-player-image img {
	max-width: 90px;
}

#pop-player-name {
	width: 180px;
	line-height: 44px;
	font-size: 18px;
	margin-left: 110px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}

.pop-logo-wrap {
  float: right;
	margin: -30px 10px 0 0;
	border: 1px solid #222;
	background: #FFF;
}

#pop-player-logo {
	width: 60px;
	height: 60px;
	display:table-cell;
	text-align: center;
	vertical-align:middle;
}

#pop-player-logo img {
	max-width: 58px;
	max-height: 58px;
	text-align: center;
  vertical-align:middle;
}

#shootinggraph_t1, #shootinggraph_t2 {
	margin-top: 10px;
	height: 298px;
}

#shootinggraph_t1_graph, #shootinggraph_t2_graph {
	height: 210px;
}

.scoring-breakdown #shootinggraphs {
	width: 100%;
	margin: 0;
}

.scoring-breakdown #shootinggraph_t1, .scoring-breakdown #shootinggraph_t2 {
	height: 304px;
}

.scoring-breakdown #shootinggraph_t1_graph, .scoring-breakdown #shootinggraph_t2_graph {
	margin-top: 20px;
	height: 190px;
}

.sg-num {
	padding: 4px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
  border-radius: 3px;
}

.sg-stat {
	float:left;
	width: 25%;
	margin-left: 6%;
	text-align:center;
}

#shootinggraphs .graphlabel_name {
	float:left;
	width: 100%;
	text-align:center;
	font-size: 18px;
	background: #ACACAC;
	margin:0;
	padding: 4px 0;
}

#pop-player-teamname {
	float:left;
	margin: 6px 0 0 0;
}	

#pop-game-stats, #pop-averages {
	float:left;
	width: 350px;
	padding: 10px;
}

.pop-divide {
	float:left;
	width: 100%;
	margin: 0;
	text-indent: 10px;
	font-size: 14px;
	letter-spacing: 0.5px;
	padding: 2px 0;
}

#pop-player-url {
	float:left;
	width: 100%;
}

.pop-stat-wrap {
	float:left;
	width: 25%;
	text-align: center;
}

.pop-stat, .pop-stat-name {
	float:left;
	width: 100%;
}

.pop-stat {
	font-size: 24px;
}

.pop-stat-name {
	font-size: 12px;
}

#pop-player-url {
	float:left;
	width: 100%;
	-webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

#pop-player-url a {
	float: left;
	width: 340px;
	padding: 8px 15px;
	font-size: 14px;
}

.pop-player-pos {
	font-size: 12px;
}

.mini-bs .player-row .playerinfo {
	width: 100px;
}

.video-wrap .playerinfo, .video-wrap .playernum {
	font-size: 12px;
}

.chart-legend {
	float:left;
	width: 92%;
	margin: 0 -6%;
	font-size: 16px;
	text-align:right;
}

.team-1-color, .team-2-color {
	width: 16px;
	height: 10px;
	display: inline-block;
	margin:	0px 6px 1px 16px;
}

.ad-space-top {
	text-align:center;
	padding: 10px 0; 
}

.ad-space-bottom {
	margin: 10px 0;
}

#aj_minipbp tr {
	width: 100%;
	display:none;
}

#aj_minipbp td {
	padding: 6px 0;
}

#aj_minipbp td:nth-child(odd) {
	width: 20%;
}

#aj_minipbp td:nth-child(even) {
	width: 80%;
	font-size: 14px;
}

#aj_minipbp tr:nth-child(-n+5) {
	display: table-row;
}

#aj_minipbp tr:nth-child(odd) {
	background: #FFFFFF;
}

#aj_minipbp tr:nth-child(even) {
	background: #EAEAEA;
}

.other-game-wrap {
	float:left;
	width: 47%;
	margin: 0 3% 20px 0;
	background: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.og-row {
	float:left;
	width: 100%;
	height: 40px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	padding: 5px 10px;
}

.og-divide-row {
	float:left;
	width:100%;
	padding: 0 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

.og-divide-row hr {
	float:left;
	width: 80%;
	border-left-width: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	margin: 10px 0;
}

.og-team-name {
	float:left;
	width: 80%;
	line-height: 30px;
	font-size: 20px;
}

.og-team-score {
	float:left;
	width: 20%;
	text-align: right;
	line-height: 30px;
	font-size: 30px;
}

.og-live {
	float:right;
}

.og-game-link {
	float:left;
	width:100%;
	padding: 0 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	height: 40px;
	line-height: 40px;
	-webkit-border-radius:0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

.og-row-title {
	float:left;
	width: 100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
	padding: 6px 10px;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

.og-row-title h3 {
	margin: 0;
	font-weight: normal;
	font-size: 16px;
}

.pbpt0 {
	display:none;
}

.languages select, .menu select, nav select {
	background-image: url(../images/dd.jpg);
}

/* Hidden Elements */

.langchooser, .menu, .sc-first-name, .othermatches ul, .bs-small  {
	display: none;
}

/* Full Width */

@media (min-width: 1200px) {

	.container {
		width: 1170px;
	}

	.score-shadow, .score {
	  font-size: 90px;
	}	

	.clock {
  	font-size: 52px;
	}

	.team1detail td:first-child {
	  width: 50%;
	}

	.venue-details {
		width: 200px;
	}

	.pbpwrap, .pbpmenu {
		width: 68%;
	}

	.facebook-chat {
    width: 28%;
	}

	.playerinfo {
	  width: 260px;
	}

	.league-logo img {
	  max-width: 160px;
	}

	.cat-leader {
	  width: 542px;
	}

	.cat-name {
		width: 295px;
	}

	.cat-lead-rest {
		width: 164px;
	}

	.cat-name-left {
		width: 75%;
	}

	.mini-bs .player-row .playerinfo {
		width: 210px;
	}

	.video-wrap .playerinfo, .video-wrap .playernum {
	  font-size: 14px;
  }

	.cat-leader-name {
		font-size: 24px;
	}

	.shot-chart-control {
	  width: 1150px;
	  margin: 0 10px;
	}

	.sc-team {
  	width: 200px;
		height: auto;
	}

	#shotchart {
	  width: 750px;
	  height: 450px;
	}

	#shotchart_data {
	  width: 642px;
	  height: 384px;
      margin-top: 33px;
	}

	.sc-team table {
		font-size: 16px;
	}

	.sc-team td {
	  padding: 4px 5px 5px 5px;
	}
	.scteamname {
		padding: 7px 0;
	}
	.gl-player-name {
		width: 186px;
	}
	/* .cat-image, .gl-image {
	  width: 70px;
	  height: 70px;
	}
	.cat-image img, .gl-image img {
	 	max-width: 70px;
	} */
	.gl-player-name {
	  height: 80px;
	}

	.gl-player-name span {
		margin: 14px 0;
	}
	
	.gl-stat span, .gl-stat-name span {
		margin-top: 13px;
	}
	.gl-stat-name span {
		margin-top: 26px;
	}

	.gl-stat-name, .gl-stat {
	  height: 80px;
	}

	.chart-wrap {
	  float:left;
	  width: 100%;
	  background: #3B3B3B;
	  padding: 28px 0;
	}

	.player-row .playerinfo {
		width: auto;
	}
	.video-left {
		width: 820px;
	}
	.mini-bs {
	  width: 405px;
	}
	
	.team-logo-inner {
	  width: 84px;
	  height: 84px;
	}

	.team-logo img {
	  margin-left: auto;
	  margin-right: auto;
	  max-width: 84px;
	  max-height: 84px;
	}
	
	#comparisongraphs {
  	float:left;
  	width: 680px;
  	margin: 10px;
	}

	.comparisongraphbox {
		margin-right: 12px;
	}

	#graph_turnover, #graph_benchp {
	  margin-right: 0;
  }
	#graph_steals, #graph_fbpoints {
  	margin-right: 12px;
  }
	#chart1 {
		height: 300px;
	}

	a.footer-logo {
	  float:left;
	  background: url(../images/poweredby_fibags.png);
	  width: 206px;
	  height: 79px;
	  display:block;
	  margin: 0 0 0 28px;
	}

	.ad-space-bottom {
	  float:right;
	  margin-right: 28px;
	}

}

/* Portrait Tablet */

@media (min-width: 769px) and (max-width: 979px) {
	.container {
		/* width: 724px; */
		width: 728px; /* Trialling 728px */
	}
	.header-left, .header-right {
		width: 41%;
	}
	.header-center {
		width: 18%;
	}
	.header {
		height: 162px;
	}
	.header-left,.header-right, .clock-summary {
		height: 134px;
	}
	.header-center {
		height: 114px;
	}
  .score-shadow, .score {
    font-size: 54px;
		height: 52px;
		line-height: 52px;		
  }
	.score-shadow {
		margin-bottom: -52px;
	}
  .clock {
    font-size: 34px;
	  height: 30px;
    line-height: 30px;
	}
	.team-name {
		font-size: 14px;
		margin-top: 12px;
	}
	.team-logo img {
	  width: 64px;
	}
	.tab a {
		font-size:12px;
	}
	.languages select, nav select, .menu select {
		font-size: 13px;
		width: 144px;
	}
	.tab a {
		padding: 4px 10px 4px 8px;
		margin: 0 -4px 0 0;
	}	
	.langchoosewrap, nav {
		width:144px;
		height: 26px;
	/*	background: url(../images/dd_small.jpg) no-repeat right #000; */
	}
	.bs-large {
		display: none;
	}
	.bs-small {
		display: block;
	}


	.team-0-bs, .team-1-bs {
		width: 98%;
	}
	.team-1-bs .bs-team-name {
		float:left;
	}
	.team-1-bs .bs-image {
		float:left;
		padding: 8px 8px 8px 0;
	}
	.refs, .legend {
		width: 100%;
		margin: 5px 0;
		height: auto;
	}
	.venue-details {
		margin-top: 0px;
		width: 100px;
	}
	
	.team1detail {
		font-size: 12px;
	}

	.boxscore {
		font-size: 12px;
	}
	.playerinfo, .playernum {
		font-size: 12px;
	}
	.playerinfo {
		width: 120px;
	}
	.num {
		width: 30px;
	}
	.boxscore td {
		padding: 6px 0;
	}
	.boxscore tr.bsheader-1 th, .boxscore th {
		padding: 0 0 4px;
	}
	.boxscore th {
		padding-top: 4px;
	}
	.playerinfo {
		text-indent: 4px;
	}
	.league-logo {
		margin-top: 44px;
	}
 .league-logo img {
		max-width: 100px;
  }
	.header {
		height: 134px;
	}
	.team-score {
		margin-top: 12px;
		height: 120px;
	}
	.team-logo {
		margin-top: 50px;
	}
	.period, .clock {
		width: 90%;
		margin: 4px 5% 0 5%;
	}
	.fouls, .timeouts {
		margin: 2px 5% 0;
    width: 90%;
		font-size: 12px;
	}
	.timeouts {
		margin-bottom: 8px;
	}
	.venue-details h6 {
		font-family: 'Roboto', sans-serif;	
		font-size: 10px;
		margin: 4px 0 0 0;
	}
	.cat-name {
		width: 75%;
	}
	.cat-lead-rest {
		width: 100%;
		margin: 6px 0 0 0;
	}
	.pbpwrap, .pbpmenu {
    width: 52%;
  }

  .facebook-chat {
    width: 44%;
  }
	td.pbp-team1, td.pbp-team2 {
	    font-size: 12px;
	    word-wrap: break-word;
	    word-break: break-word;
	    display:  block;
	    min-width: 75px;
  }
	td.pbp-time, td.pbp-score, td.pbp-lead {
		font-family: 'Roboto', sans-serif;
		font-weight: bold;
		font-size: 12px;
	}
	.shot-chart-control {
    width: 704px;
  }
	.shot-chart-control .filter-name {
		margin: 0 10px;
	}
  .sc-team {
    width: 150px;
  	height: auto;
	}

  #shotchart {
    width: 404px;
    height: 242px;
  }

	#shotchart_data {
	  width: 346px;
	  height: 206px;
      margin-top: 18px;
	}

  .sc-team table {
    font-size: 12px;
  }

  .sc-team td {
    padding: 5px;
  }
  .scteamname {
		font-size: 20px;
    padding: 7px 0;
  }

	.lower-sc-wrap {
		width: 54%;
		margin: -132px 23%;
	}

	.game-leaders {
		width: 100%;
		margin: 0;
	}

	.sub-area-title {
		font-size: 14px;
		line-height: 28px;
		height: 28px;
	}

	.sub-area-subtitle {
		display:none;
	}

	.scoring-breakdown {
		display:none;
	}

	.gl-content {
		padding: 1px 0;
	}

	.gl-image {
		width: 22px;
		height: 30px;
		background-size: 30px 30px;
	}

	.gl-image img {
		max-width: 100%;
	}

	.gl-player-name, .gl-stat, .gl-stat-name {
		margin: 0;
		height: 30px;
	}

	.gl-stat, .gl-stat-name {
		font-size: 18px;
		width: 41px;
		padding-top: 5px;
		height: 25px;
	}

	.gl-player-name {
		width: 106px;
		line-height: 30px;
		font-size: 12px;
		text-indent: 4px;
	}

	.gl-player-name span {
		width: 100%;
	}

	.gl-player-name span, .gl-stat span, .gl-stat-name span {
		margin: 0;
	}

	.gl-row {
		margin-top: 2px;
		margin-bottom: 2px;
	}
	.game-summary, .scoring-dev {
		width: 96%;
		margin: 6px 2%;
	}
	.mini-bs {
		width: 98%;
		margin: 10px 1%;
	}
	.video-left {
		width: 380px;
	}

	#comparisongraphs {
		width: 408px;
	}

	.comparisongraphbox {
		margin: 10px 10px 0 0;
		width: 129px;
	}

	.comparisongraph_element {
		margin: 10px 3px;
	}

	.sg-num {
		padding: 2px;
		font-size: 12px;
	}

	.other-game-wrap {
		width: 100%;
		margin-right: 0px;
	}

	.languages select, .menu select, nav select {
	  background-image: url(../images/dd_small.jpg);
  }

}

/* Small Tablet */

@media (min-width: 640px) and (max-width: 768px) {
	.container {
		width: 90%;	
	}
  .header-left, .header-right {
    width: 38%;
  }
  .header-center {
    width: 24%;
		height: 114px;
  }
  .header {
    height: 162px;
  }
  .header-left,.header-right, .clock-summary {
    height: 134px;
  }
  .score-shadow, .score {
    font-size: 42px;
    height: 32px;
    line-height: 32px;
  }
  .score-shadow {
		margin-top: 12px;
    margin-bottom: -32px;
  }
  .clock {
    font-size: 34px;
    height: 30px;
    line-height: 30px;
  }
  .team-name {
    font-size: 14px;
    margin-top: 12px;
  }
	.team-logo {
		margin:6px 6px 0px 6px;
		clear:both;
	}
  .team-logo img {
    width: 48px;
	}
.tab a {
    font-size:12px;
  }
  .languages select, .menu select, nav select {
    font-size: 13px;
  	width: 144px;
  }

  .langchoosewrap, .menu, nav {
    width:144px;
    height: 26px;
    /* background: url(../images/dd_small.jpg) no-repeat right #000; */
  }
	.tab {
    display:none;
  }
  .menu {
    display: inline-block;
  }
	.languages, .tab-wrap, .othermatches {
		width: 150px;
		margin: 0;
	}
  .bs-large {
    display: none;
  }
  .bs-small {
    display: block;
  }

  .team-0-bs, .team-1-bs {
    width: 98%;
  }
  .team-1-bs .bs-team-name {
    float:left;
  }
  .team-1-bs .bs-image {
    float:left;
    padding: 8px 8px 8px 0;
  }
	.refs, .legend {
		width:100%;
		margin: 5px 0;
		height: auto;
	}
	.venue-details {
	  display:none;
  }
	.team1detail {
    font-size: 12px;
  }	
	.boxscore {
    font-size: 12px;
  }
  .playerinfo, .playernum {
    font-size: 12px;
  }
  .playerinfo {
    width: 100px;
  }
  .num {
    width: 30px;
  }
  .boxscore td {
    padding: 6px 0;
  }
  .boxscore tr.bsheader-1 th, .boxscore th {
    padding: 0 0 4px;
  }
  .boxscore th {
    padding-top: 4px;
  }
  .playerinfo {
    text-indent: 4px;
  }
	.tablet {
		display:none;
	}
	.team-logo {
		padding: 0;
		border: 0;
		margin-top: -60px;
	}
	.team-0-logo {
		margin-right: 120px;
	}
	.team-1-logo {
		margin-left: 120px;
	}
	.league-logo {
		margin-top: 13px;
	}
	.league-logo img {
		max-width: 90px;
	}
	.team-score {
		width:50%;
		height: 110px;
		padding-top:  30px;
	}
	.score-shadow, .score {
		font-size: 64px;
	}
	.cat-name {
		width: 180px;
	}
	.cat-lead-rest {
	  width: 100%;
    margin: 6px 0 0 0;
  }
	.pbpwrap, .pbpmenu {
    width: 96%;
  	margin-left: 2%;
		margin-right: 2%;
	}
  .facebook-chat {
  	display:none;
	}
  td.pbp-team1, td.pbp-team2 {
    font-size: 12px;
  }
  td.pbp-time, td.pbp-score, td.pbp-lead {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 12px;
  }
	.shot-chart-control {
		width: 596px;
	}
	.shot-chart-control .filter-name {
		margin: 0 10px;
	}
	.shot-chart-control a, .shot-chart-control .filter-name {
		margin: 0 6px;
	}
	#shotchart {
		width: 596px;
		height: 358px;
	}
	#shotchart_data {
	  width: 510px;
	  height: 305px;
      margin-top: 26px;
	}
	.game-leaders {
		width: 100%;
		margin: 0;
	}
	.gl-player-name {
		width: 157px;
	}
	.gl-image {
		background-size: 60px 60px;
	}
	.game-summary, .scoring-dev {
    width: 96%;
    margin: 6px 2%;
  }
	.mini-bs {
    width: 48%;
    margin: 10px 1%;
  }
  .video-left {
    width: 602px;
  }

	.mini-bs .player-row .playerinfo {
		width: 96px;
	}

	#shootinggraphs {
		width: 98%;
	}
	#comparisongraphs {
		display:none;
	}	
	.languages select, .menu select, nav select {
    background-image: url(../images/dd_small.jpg);
  }

}

/* Landscape Phone */

@media (min-width: 480px) and (max-width: 639px) {
	.container{
		width: 456px;
	}
  .header-left, .header-right {
    width: 50%;
		margin: 0;
	}

	.team-score {
		width: 100%;
		margin: 0;	
		height: 88px;
	}

	.score {
		font-size: 50px;
		height: 50px;
		line-height: 50px;
		width: 100%;
		margin: 0;
		text-align:right;
	}

	.score-shadow {
		display:none;
	}

	.score-num {
		width: 80px;
		margin: 4px;
		background: #000;
		padding: 2px 4px;
	}

	.team-name {
		float:left;
		width: 220px;
		margin: 0 4px;
		text-align:left;
	}

	.team-1-score .team-name {
		text-align: right;
	}

	.team-0-score .score-num {
		float:left;
	}

	.team-1-score .score-num {
		float:right;
	}

  .header-center {
    float:right;
		width: 100%;
    height: 0px;
  	margin:  0;
	}
	.clock-com {
		float:left;
		width: 40%;
		margin: 3px 0 0 0;
	}
  .clock {
    font-size: 22px;
    height: 24px;
    line-height: 18px;
    margin: 0 6px;
  }
	.clock-summary {
		margin: -86px 25% 0;
    width: 50%;
		height:auto;
		border: 0;
		background: transparent;
	}
	
	.period {
		font-size: 16px;
		line-height: 28px;
		margin: 0 6px;
	}
	.fouls, .timeouts, .league-logo, .team-logo {
		display:none;
	}
	.qtr-by-qtr {
		float:right;
		width: 50%;
		margin: 2px 0;
		padding: 12px 5%;
		background: transparent;
	}
	.tab {
		display:none;
	}
	.languages select, .menu select, nav select {
	    font-size: 13px;
			width: 144px;
	}
	.menu {
		display: inline-block;
	}
	.langchoosewrap, .menu, nav {
    width:144px;
    height: 26px;
/*  background: url(../images/dd_small.jpg) no-repeat right #000; */
  }
  .bs-large {
    display: none;
  }
  .bs-small {
    display: block;
  }

	.bs-commissioner-display{
		width: 95%;
	}
	.bs-referee-display {
		width: 95%;
	}


  .team-0-bs, .team-1-bs {
    width: 98%;
  }
  .team-1-bs .bs-team-name {
    float:left;
  }
  .team-1-bs .bs-image {
    float:left;
    padding: 8px 8px 8px 0;
  }
	.refs, .legend {
    width:100%;
    margin: 5px 0;
  	height: auto;
	}
	.venue-details {
    display:none;
  }
	.team1detail {
    font-size: 12px;
  }	
	.boxscore, .playerinfo, .playernum {
    font-size: 11px;
  }
  .playerinfo {
    width: 90px;
  }
  .num {
    width: 30px;
  }
  .boxscore td {
    padding: 6px 0;
  }
  .boxscore tr.bsheader-1 th, .boxscore th {
    padding: 0 0 4px;
  }
  .boxscore th {
    padding-top: 4px;
  }
  .playerinfo {
    text-indent: 4px;
  }
  .tablet, .mobile-l {
    display:none;
  }
	.cat-lead-rest {
		display:none;
	}
	.cat-name {
		width: 60%;
	}
	.cat-name-left {
		width: 100%;
	}
	.cat-leader-name {
		font-size: 14px; 
	}
	.cat-name h6 {
		margin: 3px 0 0 0;
	}
	.cat-lead-num h6 {
		display: none;
	}
	.cat-lead-num {
		float:left;
		width: 100%;
		text-align:left;
		text-indent: 10px;
		height: auto;
		font-size: 26px;
	}
 .pbpwrap, .pbpmenu {
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
  }
  .facebook-chat {
    display:none;
  }
  td.pbp-team1, td.pbp-team2 {
    font-size: 12px;
  }
  td.pbp-time, td.pbp-score, td.pbp-lead {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 12px;
  }
	.shot-chart-control {
    width: 436px;
  	font-size: 14px;
	}
  .shot-chart-control a, .shot-chart-control .filter-name {
    margin: 0 3px;
  }
  #shotchart {
    width: 436px;
    height: 262px;
  }
	#shotchart_data {
	  width: 373px;
	  height: 223px;
      margin-top: 20px;
	}
  .game-leaders {
    width: 100%;
    margin: 0;
  }
.gl-content {
    padding: 1px 0;
  }

  .gl-image {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
  }

  .gl-image img {
    max-width: 30px;
  }

  .gl-player-name, .gl-stat, .gl-stat-name {
    margin: 0;
    height: 30px;
  }

  .gl-stat, .gl-stat-name {
    font-size: 18px;
    width: 41px;
    padding-top: 5px;
    height: 25px;
  }

  .gl-player-name {
    width: 122px;
    line-height: 30px;
    font-size: 12px;
    text-indent: 4px;
  }

  .gl-player-name span {
    width: 100%;
  }

  .gl-player-name span, .gl-stat span, .gl-stat-name span {
    margin: 0;
  }

  .gl-row {
    margin-top: 2px;
    margin-bottom: 2px;
  }
	.sub-area-title {
		font-size: 18px;
		height: 32px;
		line-height: 32px;
	}
	.game-summary, .scoring-dev {
    width: 96%;
    margin: 6px 2%;
  }
	.mini-bs {
    width: 98%;
    margin: 10px 1%;
  }
  .video-left {
    width: 98%;
		margin: 10px 1%;
  }
	.mini-bs .player-row .playerinfo {
    width: 190px;
  }
	#shootinggraphs {
  	width: 98%;
	}
  #comparisongraphs {
  	display:none;
  }

	.other-game-wrap {
  	width: 100%;
    margin-right: 0px;
  }
	.languages select, .menu select, nav select {
    background-image: url(../images/dd_small.jpg);
  }
}

/* Portrait Phone */

@media (max-width: 479px) {
	.container {
		width: 300px;
	}
.header-left, .header-right {
    width: 48%;
    height: 32px;
  }

	.top-promo .container {
		width: 320px;
	}

  .team-score {
    width: 100%;
  }

  .header-center {
    float:right;
    width: 100%;
    height: 30px;
    margin: 0;
  }
  .header {
    height: 62px;
  }
	.score-shadow, .score {
    float:right;
    font-size: 26px;
    height: 28px;
    line-height: 28px;
    margin-left:0;
    margin-right:0;
    width: 90%;
    margin: 0 5%;
  }
  .score-shadow {
    margin-top: 0px;
    margin-bottom: -32px;
  }
  .clock-com {
    float:left;
    width: 48%;
  }
  .clock {
    font-size: 22px;
    height: 30px;
    line-height: 30px;
  }
  .team-name {
    font-size: 18px;
    margin:0;
    line-height: 24px;
  }
  .period, .clock, .fouls, .timeouts, .qtr-by-qtr {
    margin:auto;
    width:auto;
  }
  .clock-summary {
    margin:0 5%;
    height:auto;
    width: 90%;
  }
  .period, .clock {
    font-size: 22px;
    margin: 0;
    line-height:normal;
  }
  .period {
  	font-size: 13px;
		line-height: 30px;
	  margin: 0 6px 0 30px;
  }
  .fouls, .timeouts, .league-logo, .team-logo, .score-shadow {
    display:none;
  }
  .qtr-by-qtr {
    float:right;
    width: 46%;
    margin: 2px 0;
  }
	.tab {
    display:none;
  }
 	.languages select, .menu select, nav select {
    font-size: 13px;
    width: 144px;
  } 
  
  .langchoosewrap, .menu, nav {
    width:144px;
    height: 26px;
  /*  background: url(../images/dd_small.jpg) no-repeat right #000; */
  }
	.menu {
    display: inline-block;
  }
  .languages, .tab-wrap {
    width: 50%;
  }
	.languages {
		margin: 0;
	}
	nav {
		width: 100%;
		margin-top: 6px;
	}
	nav select {
		width: 322px;
	}
	.othermatches {
		float:left;
		width:100%;
	}
  .bs-large {
    display: none;
  }
  .bs-small {
    display: block;
  }

  	.bs-commissioner-display{
		width: 95%;
	}
	.bs-referee-display {
		width: 95%;
	}

  .team-0-bs, .team-1-bs {
    width: 98%;
  }
  .team-1-bs .bs-team-name {
    float:left;
  }
  .team-1-bs .bs-image {
    float:left;
    padding: 8px 8px 8px 0;
  }
	.bs-tpt, .bs-ft, .bs-reb-1, .bs-to, .bs-stl, .bs-blk, .bs-eff-cell {
		display:none;
	}
	.refs, .legend {
    width:97%;
    margin: 5px 1%;
    height: auto;
  }
	.venue-details {
    display:none;
  }
	.team1detail {
    font-size: 10px;
  }
	.team1detail td {
		vertical-align:top;
	}
	.boxscore, .playerinfo, .playernum {
    font-size: 11px;
  }
  .playerinfo {
    width: 90px;
  }
  .num {
    width: 30px;
  }
  .boxscore td {
    padding: 6px 0;
  }
  .boxscore tr.bsheader-1 th, .boxscore th {
    padding: 0 0 4px;
  }
  .boxscore th {
    padding-top: 4px;
  }
  .playerinfo {
    text-indent: 4px;
  }
  .tablet, .mobile-l, .mobile-p {
    display:none;
  }
	.header-left, .header-right {
    width: 50%;
    margin: 0;
  }

  .team-score {
    width: 100%;
    margin: 0;
    height: 70px;
  }

  .score {
    font-size: 28px;
    height: 30px;
    line-height: 30px;
    width: 100%;
    margin: 0;
    text-align:right;
  }

  .score-shadow {
    display:none;
  }

	.header {
		height: 70px;
	}

  .score-num {
    width: 42px;
    margin: 4px;
    background: #000;
    padding: 2px 4px;
  }

  .team-name {
    float:left;
    width: 142px;
    margin: 0 4px;
    text-align:left;
		font-size: 16px;
  }

  .team-1-score .team-name {
    text-align:right;
  }

  .team-0-score .score-num {
    float:left;
  }

  .team-1-score .score-num {
    float:right;
  }

  .header-center {
    float:right;
    width: 100%;
    height: 0px;
    margin:  0;
  }
  .clock-com {
    float:left;
    width: 40%;
    margin: 0;
  }
  .clock {
    font-size: 18px;
    height: 24px;
    line-height: 18px;
    margin: 0 3px;
  }
  .clock-summary {
    margin: -30px 22% 0;
    width: 56%;
    height:auto;
    border: 0;
    background: transparent;
  }
	.period {
    font-size: 12px;
    line-height: 20px;
    margin: 2px 3px 0 3px;
  }
  .qtr-by-qtr {
    float:right;
    width: 60%;
    margin: 2px 0;
    padding: 6px 0;
    background: transparent;
	}
	.qtr-by-qtr table {
		font-size: 9px;
	}
	.team-leaders {
		width: 96%;
		margin: 0 2%;
	}
	.cat-lead-rest {
    display:none;
  }
	.cat-name {
    width: 193px;
  }
  .cat-name-left {
    width: 57%;
  }
  .cat-leader-name {
    font-size: 18px;
  }
  .cat-name h6 {
    margin: 20px 0 0 0;
  }
  .cat-lead-num h6 {
    display: none;
  }
  .cat-lead-num {
    float:left;
    width: 60px;
    text-align:right;
    text-indent: 0px;
    height: auto;
    font-size: 52px;
  	margin: 10px 6px 0 0;
	}
	.team-leaders-2 {
		margin-top: 10px;
	}
	 .pbpwrap, .pbpmenu {
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
  }
  .facebook-chat {
    display:none;
  }
  td.pbp-team1, td.pbp-team2 {
    font-size: 12px;
  }
  td.pbp-time, td.pbp-score, td.pbp-lead, .playbyplay th {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 12px;
  }
	.pbpmenu a {
		margin: 0 4px;
	}
	#shotchart, .lower-sc-wrap, .shot-chart-control {
		display:none;
	}
	.rotate-sc {
  	float:left;
    background: url(../images/rotate-phone.png) no-repeat;
  	width: 260px;
  	height: 347px;
  	margin: 0px 20px 20px;
  	display: block;
  }
	.game-summary, .scoring-dev {
    width: 96%;
    margin: 6px 2%;
  }
	.mini-bs {
    width: 98%;
    margin: 10px 1%;
  }
  .video-left {
    width: 98%;
    margin: 10px 1%;
  }
	.mini-bs .player-row .playerinfo {
	  width: 96px;
	}

	#shootinggraphs {
    width: 98%;
  }
  #comparisongraphs {
    display:none;
  }
	.sg-num {
		padding: 2px;
		font-size: 12px;
	}

	.other-game-wrap {
		width: 100%;
	  margin-right: 0px;
  }

	#pop-player {
		width: 98%;
		margin-left: -158px;
	}
	#pop-game-stats, #pop-averages, #pop-player-url a {
		width: 100%;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	  box-sizing: border-box;         /* Opera/IE 8+ */
	}
	#close {
		right: -2px;
	}
	#pop-player-url {
		position:relative;
		bottom: 0px;
	}
	.languages select, .menu select, nav select {
		background-image: url(../images/dd_small.jpg);
	}

}
/* IE Overrides */

html.ie .languages select, html.ie .menu select, html.ie nav select{
	background-image: none;
}


/*   RTL Styles   */
.rtl .left {
    text-align: right;
}

.rtl body {
	direction:rtl;
	unicode-bidi:embed;
}

.rtl .header-left  {
	float:right;
}

.rtl .header-right {
	float:left;
}

.rtl .league-logo {
	float:right;
}

.rtl .venue-details {
    float: left;
    text-align: left;
}

.rtl .team-0-score {
	float:left;
	border-left:  0px;
	webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
	border-radius: 0 5px 0 0;
	border-right:  3px solid #000;
}

.rtl .team-1-score {
	float:right;
	border-left: 3px solid #000;
	webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
	border-radius: 5px 0px 0 0;
	border-right:  0px;
}

.rtl .team-logo {
	float: left;
	background-image: #272727;

}

.rtl .team-0-logo {
	-webkit-border-radius: 0 5px 0 5px;
	-moz-border-radius: 0 5px 0 5px;
	border-radius: 0 5px 0 5px;
	margin-left: -3px;
}

.rtl .team-1-logo {
	-webkit-border-radius: 5px 0 5px 0;
	-moz-border-radius: 5px 0 5px 0;
	border-radius: 5px 0 5px 0;
	margin-right: -3px;
	float:  right;
}

.rtl .qtr-by-qtr th {
    text-align: right;
}

.rtl .team-0-fouls, .rtl .team-0-outs {
	float:  right;
}

.rtl .team-1-fouls, .rtl .team-1-outs {
	float:  left;
}
.rtl .fouls-label, .rtl .outs-label {
    float: right;
}
.rtl .tab-wrap {
    float: right;
}
.rtl .tab {
    float: right;
}

.rtl .languages {
    float: left;
    margin-right: 10px;
    margin-left: 0;
}

.rtl .languages select, .rtl .menu select, .rtl nav select {
    /* background: transparent; */
    background-repeat: no-repeat;
    background-position: left top;
}

.rtl .box-score-title {
	float:right;
}

.rtl .team-0-bs .bs-image, .rtl .team-1-bs .bs-image {
	float:right;
	padding: 8px 0px 8px 12px;
}

.rtl .team-0-bs .bs-team-name, .rtl .team-1-bs .bs-team-name {
	float:right;
}
.rtl .sharing {
    float: left;
}
.rtl .team1detail td {
    text-align: left;
}

.rtl .team1detail .bold {
    text-align: right;
    float: none;
}

.rtl .playerpopup span{
	display: inline-block;
	text-decoration: underline;
}
.rtl a.playerpopup {
	display: inline;
	/* text-decoration: none; */
}

.rtl .team1detail td:first-child {
    text-align: right;
    width: 30%;
}

.rtl .team1detail td:first-child .bold{
	float:  left;
	text-align: right;
	float: right;
}

.rtl .team1detail td:first-child .bold span{
	float: right;
}

.rtl span.coach {
	float:  right;
	padding-left:  5px;
}

.rtl .legend th, .rtl .refs th {
    text-align: right;
}

.rtl .bs-commissioner-display{
	float: right;
}
.rtl .bs-referee-display {
	float: left;
}

.rtl .bs-info .refs span {

}

.rtl .game-summary, .rtl .scoring-dev, .rtl .team-leaders {
    float: right;
}

.rtl .team-leaders-title .bs-image {
    float: right;
    margin: 0 6px 0 0;
}

.rtl .cat-image  {
    float: right;
}

.rtl .cat-name {
    float: right;
    /* margin-right:  1%; */
}

.rtl .cat-lead-rest {
    float: left;
}

.rtl .cat-name-left {
    float: right;
}

.rtl .cat-lead-num {
    float: left;
}

.rtl .pbpwrap {
    float: right;
}

.rtl .pbpmenu {
    float: right;
    text-align: right;
}

.rtl .pbpmenu span , .rtl .pbpmenu a {
    float: right;
    text-align: left;
}

.rtl .shot-chart-control a {
    float: right;
}
.rtl .shot-chart-control .filter-name {
    float: right;
	margin: 0 60px 0 10px;
}

.rtl .sc-team {
    float: right;
}
.rtl #shotchartholder {
	float: right;
}
.rtl .team-legend span {float:  right;}
.rtl .legend-missed {
	margin-right: 10px;
}

.rtl #shootinggraph_t1, .rtl #shootinggraph_t2 {
    float: right;
}

.rtl .sg-stat {
    float: right;
    margin-right: 6%;
    margin-left: 0;
}

.rtl .sas-left {
    float: right;
    margin-right: 10px;
}

.rtl .sas-right {
    float: left;
    margin-left: 10px;
}

.rtl .gl-team-left {
    float:  right;
}
.rtl .gl-team-right {
    float: right;
}
.rtl .gl-stat-name {
    float:  right;
}

.rtl .gl-team-right .gl-player-name {float:  right;text-align:  left;}
.rtl .gl-team-right .gl-player-name span {padding-left: 2%;}

.rtl .gl-team-right .gl-stat {
	float:  right;
}

.rtl .gl-team-right .gl-image {
	
}

.rtl .gl-team-left .gl-player-name {float: right;text-align:  right;}
.rtl .gl-team-left .gl-player-name span {padding-right: 2%;}

.rtl .gl-team-left .gl-stat {
	float:  left;
}

.rtl .gl-team-left .gl-image {
	float:  right;
}

.rtl .summary-team-names .id_aj_1_name {
    float: right;
    margin-right: 2%;
}
.rtl .chart-legend {
    text-align: left;
}
.rtl .chart-legend span{
    float: right;
}

.rtl #comparisongraphs {
    float: right;
}

.rtl .team-1-color, .rtl .team-2-color {
    margin: 3px 16px 1px 6px;
}

.rtl .video-left {
	float:right;
}

.rtl .video-right {
	float:left;
}

.rtl .other-game-wrap {
    float: right;
}

.rtl .og-team-name img {
    float: right;
    margin-left: 15px;
}

.rtl .og-team-name {
	float:right;
}

.rtl .og-team-score {
	float:right;
	text-align: left;
}

.rtl .og-live {
    float: left;
}

.rtl .og-divide-row hr {
	float:right;
}
.rtl .og-game-link span {
	float: right;
}
.rtl .og-game-link span.og-match-link-text {
	float: left;
}

.rtl .og-live-period-overtime, .og-live-period-regular {
	padding-right: 0px;
	padding-left: 5px;
}
.rtl .og-live-comp-status {
	float: left;
	text-align: left
}

.rtl .og-live-comp {
	float: right;
	text-align: right;
	padding-right: 0;
	padding-left: 5%;
}

@media (min-width: 640px) and (max-width: 768px) {
	.rtl .team-0-logo {
		-webkit-border-radius: 0 5px 0 5px;
		-moz-border-radius: 0 5px 0 5px;
		border-radius: 0 5px 0 5px;
		margin-right: 0px;
		float:  right;
	}

	.rtl .team-1-logo {
		-webkit-border-radius: 5px 0 5px 0;
		-moz-border-radius: 5px 0 5px 0;
		border-radius: 5px 0 5px 0;
		margin-left: -3px;
		float: left;
	}

}

@media (min-width: 480px) and (max-width: 639px) {
	.rtl .team-0-score {
	text-align:  right;
	}
	.rtl .team-1-score {
	}
	.rtl .team-0-score .score-num {
	    float: right;
	}
	.rtl .team-1-score .score-num {
	    float: left;
	}
	.rtl .team-0-score .team-name {
	    float: right;
	    text-align:  right;
	}
	.rtl .team-1-score .team-name {
	    float: left;
	    text-align:  left;
	}
	.rtl .clock-com {
	    float: right;
	}
	.rtl .shot-chart-control .filter-name {
    	margin: 0 15px 0px 5px;
	}
}
@media (max-width: 479px) {
	.rtl .team-0-score {
	text-align:  right;
	}
	.rtl .team-1-score {
	}
	.rtl .team-0-score .score-num {
	    float: right;
	}
	.rtl .team-1-score .score-num {
	    float: left;
	}
	.rtl .team-0-score .team-name {
	    float: right;
	    text-align:  right;
	}
	.rtl .team-1-score .team-name {
	    float: left;
	    text-align:  left;
	}
	.rtl .clock-com {
	    float: right;
	}

}
