/*-----------------------------------------------------------------------------------

	X 0 1
	
-----------------------------------------------------------------------------------*/
#match {
	overflow: hidden;
	position: relative;
	}
	
#match .scoreboard {
	width: 50%;
	float: left;
	position: relative;
	}
	
#match .scoreboard .right-border {
	position: absolute;
	width: 1px;
	height: 100%;
	background: #cccccc;
	top: 0;
	right: 0px;
	z-index: 1;
	}
		
.player-info {
	border-bottom: 1px solid #cccccc;
	padding: 30px 20px;
	color: #0d0d0d;
	text-align: center;
	-webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
	position: relative;
	}
	.tothrow .player-info {
	border-bottom: 1px solid #ffffff;
	color: #ffffff;
	background: #0d0d0d;
	}
	
.player-info .player-pic {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	-moz-border-radius: 20px; 
	-khtml-border-radius: 20px; 
	-webkit-border-radius: 20px;
	position: absolute;
	top: 30px;
	left: 20px;
	}
	.player-info .player-pic img {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	-moz-border-radius: 20px; 
	-khtml-border-radius: 20px; 
	-webkit-border-radius: 20px;
	}
	.right-board .player-pic {
	left: inherit;
	right: 20px;
	}
	
.player-info .player-name {
	font-family: 'Open Sans';
	font-weight: 300;
	font-size: 36px;
	line-height: 40px;
	position: relative;
	z-index: 2;
	}
	
.player-info .current-score {
	margin: 20px 0 0 0;
	font-weight: 700;
	font-size: 26px;
	line-height: 30px;
	}
	
.player-info .legs-sets {
	list-style: none;
	padding: 0;
	margin: -54px 0 0 0;
	width: 60px;
	text-align: center;
	position:absolute;
	top: 50%;
	right: 0px;
	color: #ffffff;
	z-index: 10;
	}
	.right-board .player-info .legs-sets {
	right: inherit;
	left: -1px;
	}
	
.player-info .legs-sets li {
	padding: 0;
	margin: 0;
	font-weight: 400;
	font-size: 10px;
	line-height: 20px;
	background: #29a4d2;
	text-transform: uppercase;
	position: relative;
	}
	.right-board .player-info .legs-sets li {
	border-left: 1px solid #2595bf;
	}
	
.player-info .legs-sets li span.legs, .player-info .legs-sets li span.sets {
	font-weight: 900;
	font-size: 13px;
	line-height: 24px;
	display: block;
	background: #2baddd;
	}
	
.player-info .legs-sets li span.started {
	display: block;
	background: #ffffff;
	width:6px;
	height:6px;
	position: absolute;
	top: 29px;
	left: 6px; 
	text-indent: -9999px;
	border-radius: 10px;
	-moz-border-radius: 10px; 
	-khtml-border-radius: 10px; 
	-webkit-border-radius: 10px;
	display: none;
	}
	.right-board .player-info .legs-sets li span.started {
	right: 6px;
	left: inherit;
	}
	.legstart .player-info .legs-sets li span.started { 
	display: block;
	}
	
.player-info .legs-sets li:first-child { 
	border-radius: 6px 0 0 0 ;
	-moz-border-radius: 6px 0 0 0 ;
	-khtml-border-radius: 6px 0 0 0 ;
	-webkit-border-radius: 6px 0 0 0 ;
}

/*.player-info .legs-sets li:last-child, .player-info .legs-sets li:last-child span.sets { 
	border-radius: 0 0 0 6px;
	-moz-border-radius: 0 0 0 6px;
	-khtml-border-radius: 0 0 0 6px;
	-webkit-border-radius: 0 0 0 6px;
}*/

.right-board .player-info .legs-sets li:first-child { 
	border-radius: 0 6px 0 0 ;
	-moz-border-radius: 0 6px 0 0 ;
	-khtml-border-radius: 0 6px 0 0 ;
	-webkit-border-radius: 0 6px 0 0 ;
}

/*.right-board .player-info .legs-sets li:last-child, .right-board .player-info .legs-sets li:last-child span.sets { 
	border-radius: 0 0 6px 0;
	-moz-border-radius: 0 0 6px 0;
	-khtml-border-radius: 0 0 6px 0;
	-webkit-border-radius: 0 0 6px 0;
}*/

.player-info .setwon-message {
	background: #06ce98;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	font-weight: 700;
	font-size: 26px;
	line-height: 30px;
	display: none;
	}
	
/* best of notice */
.bestofnotice { background: #666666; width: 119px; color: #ffffff; font-size: 11px; text-align: center; text-transform: uppercase;  position: absolute; top: 108px; left: 50%; margin-left: -60px; z-index: 10; border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-khtml-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px; }
.bestofnotice span { font-size: 8px; font-style: italic; text-transform: none;  }
	
	
	

/* PLAYER BOARD */	
.player-board {
	padding: 40px 100px 40px 100px;
	position: relative;
	}
	.tothrow .player-board {
	background: #ffffff;
	}
	
.player-board .main-score {
	text-align: center;
	position: relative;
	}
	
.player-board .main-score .current-score {
	font-family: 'Open Sans';
	font-weight: 700;
	font-size: 160px;
	line-height: 200px;
	color: #0d0d0d;
	}
	
.player-board .main-score .checkout-table {
	position: absolute;
	width: 100%;
	font-weight: 700;
	color: #999999;
	}
	
.player-board .main-score .undoscore {
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 100%;
	font-weight: 700;
	color: #999999;
	text-transform: uppercase;
	font-size: 11px;
	color: #e23737;
	}
	.player-board .main-score .undoscore:hover { color: #ad2a2a; }
	.player-board .main-score .undoscore.disable { display: none; }
	
.player-board .main-score .undoscore i {
	margin-right: 10px;
	}
	
.player-board .main-score .undoscore span {
	font-weight: 300;
	margin-left: 10px;
	}


.player-board .last-scores {
	border-right: 1px solid #cccccc;
	width: 100px;
	text-align: center;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0px;
	overflow: hidden;
	}
	.tothrow .player-board .last-scores {
	background: #f7f7f7;
	}
	
.right-board .player-board .last-scores {
	border-right: none;
	border-left: 1px solid #cccccc;
	left: inherit;
	right: 00px;
	}
	
.player-board .last-scores .last-score-title {
	margin-top: 15px;
	}
	
.player-board .last-scores ul {
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0;
	height: 76%;
	overflow: hidden;
	}
	
.player-board .last-scores ul li {
	list-style: none;
	padding: 0;
	margin: 3px 0 0 0;
	padding-top: 2px;
	line-height: 18px;
	font-size: 13px;
	font-weight: bold;
	position: relative;
	}
	
.player-board .last-scores ul li .miss-double, .player-board .last-scores ul li .hit-double, .player-board .last-scores ul li .border {
	display: none;
	}
	
.player-board .last-scores ul li .sc-darts {
	font-weight: 300;
	font-size: 12px;
	position: absolute;
	top: 2px;
	right: 5px;
	}
	
.player-board .last-scores ul li.endleg .border {
	background: #cccccc;
	width: 100%;
	height: 1px;
	display: block;
	position: absolute;
	top: -1px;
	left: 0px;
	}
	
.player-board .winner-message {
	color: #23cb96;
	font-family: 'Open Sans';
	font-weight: 700;
	font-size: 60px;
	line-height: 80px;
	text-transform: uppercase;
	position: absolute;
	top: 50%; margin-top: -40px;
	left: 50%; margin-left: -120px;
	width: 200px;
	height: 80px;
	display: none;
	}
	
.winner .winner-message {
	display: block;
	}
	
	
/* PLAYER STATS */
.player-stats {
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	padding: 0;
	overflow: hidden;
	}
	.tothrow .player-stats {
	background: #ffffff;
	}

.player-stats .stat-col {
	list-style: none;
	padding: 15px 0;
	margin: 0;
	border-right: 1px solid #cccccc;
	width: 32.8%;
	float: left;
	}
	
.player-stats .stat-col:last-child {
	border-right: none;
	}
	
.player-stats .stat-col li {
	padding: 2px 0 0 30px;
	font-size: 13px; line-height: 18px;
	font-weight: 600;
	}
	
.player-stats .stat-col li .name-default, .player-stats .stat-col li .name-small, .player-stats .stat-col li .name-stat {
	color: #0d0d0d;
	}
	
.player-stats .stat-col li .name-small {
	display: none;
	}
	
.player-stats .stat-col li div {
	font-weight: 300;
	display: inline-block;
	}
	
.hidden-stats {
	display: none;
	}
	
/* SCORE INPUT */
.score-input {
	position: absolute;
	z-index: 10;
	top: 200px;
	left: 50%;
	margin-left: -105px;
	border-radius: 6px;
	-moz-border-radius: 6px; 
	-khtml-border-radius: 6px; 
	-webkit-border-radius: 6px;
	}
	
.score-input .start-end {
	position: absolute;
	top: -20px;
	left: 0;
	font-size: 12px;
	font-style: italic;
	text-transform: uppercase;
	}
	
.score-input .sound-on-off {
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 12px;
	font-style: italic;
	text-transform: uppercase;
	color: #ffffff;
	background: #23cb96;
	height: 53px;
	width: 30px;
	text-align: center;
	line-height: 53px;
	border-radius: 0px 6px 0px 0px;
	-moz-border-radius: 0px 6px 0px 0px;
	-khtml-border-radius: 0px 6px 0px 0px;
	-webkit-border-radius: 0px 6px 0px 0px;
	cursor: pointer;
	}
	.sound-on-off i.fa-volume-off { display: none; }
	.sound-on-off.its-off { background: #e23737; }
	.sound-on-off.its-off i.fa-volume-off { display: inline-block; }
	.sound-on-off.its-off i.fa-volume-up { display: none; }
	
table.calculator {
	font-weight: 400;
    table-layout: fixed;
    width: 210px;
	text-align: center;
	background: #0d0d0d;
	color: #ffffff;
	border-collapse:collapse;
	border-radius: 0px 0px 6px 6px;
	-moz-border-radius: 0px 0px 6px 6px;
	-khtml-border-radius: 0px 0px 6px 6px;
	-webkit-border-radius: 0px 0px 6px 6px;
	}
	
table.calculator td {
	border: 1px solid #404040;
	padding: 0;
	}
	
table.calculator td a {
	padding: 6px 0;
	display: block;
	color: #ffffff;
	}
	
table.calculator td a:hover {
	background: #666666;
	}
	
table.calculator td a.delscorer {
	background: #ff684f;
	font-family: 'Open Sans';
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.1em; 
	border: none;
	}
	
table.calculator td a.delscorer:hover {
	background: #f2634b;
	}
	
table.calculator td a.scorenow {
	background: #06ce98;
	font-family: 'Open Sans';
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.1em; 
	border: none;
	border-radius: 0 0 6px 0 ;
	-moz-border-radius: 0 0 6px 0 ;
	-khtml-border-radius: 0 0 6px 0 ;
	-webkit-border-radius: 0 0 6px 0 ;
	}
	
table.calculator td a.scorenow:hover {
	background: #05c18e;
	}
	
table.calculator tr td { border-left: none; }
table.calculator tr td:last-child { border-right: none; }
table.calculator tr:first-child td { border-top: none; }
table.calculator tr:last-child td { border: none; }

table.calculator input[type=submit] {
	display:none;
	}
	
#submit-score input[type=text] {
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
	font-weight: 700;
	font-size: 34px;
	background: #262626;
	border: none;
	border-bottom: 1px solid #404040;
	line-height: 46px;
	height: 46px;
	color:#ffffff;
	text-align: center;
	width: 210px;
	border-radius: 6px 6px 0px 0px ;
	-moz-border-radius: 6px 6px 0px 0px ;
	-khtml-border-radius: 6px 6px 0px 0px ;
	-webkit-border-radius: 6px 6px 0px 0px ;
	padding: 3px 0;
	margin: 0;
	max-width: inherit;
	}
	
	

/*
	Checkout
*/
#checkout-choice {
	height: 100%;
	width: 100%;
	position: fixed; 
	top: 0;
	left: 0;
	display: none;
	z-index: 11;
	}
	
.bg-checkout-choice {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #000000;
	z-index: 10;
	top: 0;
	left: 0;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	}
	
.missed-check, .out-check {
	text-align: center;
	height: 300px;
	width: 260px;
	padding: 0;
	position: absolute;
	top: 50%; margin-top: -130px;
	left: 50%; margin-left: -130px;
	background: #ffffff;
	z-index: 11;
	border-radius: 6px;
	-moz-border-radius: 6px; 
	-khtml-border-radius: 6px; 
	-webkit-border-radius: 6px;
	}
	.out-check {
	display: none;	
	}
	
.missed-check .modal-title, .out-check .modal-title { 
	padding: 15px;
	background: #ebebeb;
	border-radius: 6px 6px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	-khtml-border-radius: 6px 6px 0 0;
	-webkit-border-radius: 6px 6px 0 0;
	}
	
ul.double-choice, ul.out-choice {
	list-style: none;
	padding:0;
	margin: 0;
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	}
	
ul.double-choice li, ul.out-choice li {
	margin-top: 4px;
	}
	
ul.double-choice li a, ul.out-choice li a {
	font-family: 'Open Sans';
	font-weight: 600;
	font-size: 13px; 
	line-height: 22px ;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.1em;
	width: 180px;
	display: inline-block;
	color: #ffffff;	
	background: #46484d;
	padding: 6px 0;
	border-radius: 6px;
	-moz-border-radius: 6px; 
	-khtml-border-radius: 6px; 
	-webkit-border-radius: 6px;
	}
	
ul.double-choice li a:hover, ul.out-choice li a:hover {
	background: #0d0d0d;
	}
	
ul.double-choice li a:focus, ul.out-choice li a:focus {
	background: #0d0d0d;
	}

ul.double-choice li.missed-cancel a {
	color: #ffffff;	
	background: #8c8c8c;
	}
	
ul.double-choice li.missed-cancel a:focus {
	background: #0d0d0d;
	}
	
	
/* UNDO SCORE */	
#undo-score { 
	display: none;
	}

#undo-score .bg-undo-score {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000000;
	z-index: 10;
	top: 0;
	left: 0;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	}
	
#undo-score .undo-info { 
	position: absolute;
	top: 150px;
	left: 50%;
	width: 300px;
	margin-left: -150px;
	z-index: 11;
	text-align:center;
	}
	
#undo-score .undo-info h4 {
	color: #ffffff;
	}


.audio-score { display: none; }


/* iPads (portrait) ----------- */
@media only screen and (max-width: 1100px) {

.player-info .player-name {font-size: 30px;line-height: 38px;}
.player-board { padding: 40px 90px 40px 70px; }
.player-board .main-score .current-score { font-size: 140px; letter-spacing: -0.05em; }	
.player-board .last-scores { width: 70px; }
.player-board .winner-message { font-size: 45px; line-height: 60px; margin-top: -30px; margin-left: -100px; }
.score-input { top: 200px; margin-left: -90px;	}
table.calculator { width: 180px;	}
table.calculator input[type=submit] { width: 60px; }
#submit-score input[type=text] { width: 180px; }
.player-stats .stat-col li {padding: 2px 0 0 15px; }
	
}

/* iPads (portrait) ----------- */
@media only screen and (max-width: 1024px) {

.player-board .main-score .undoscore span { display: none; }
	
}


@media only screen and (max-width: 768px) {

#match { overflow: hidden; min-height: 610px; position: relative; }
#match .scoreboard { width: 100%; float: none; position: absolute; top: 0px; right: 0px; z-index: 1;}
#match .scoreboard .right-border { display: none; }
.scoreboard.tothrow { z-index: 2!important; }

.player-info {padding: 15px 0 0 0;width: 50%; border: none;}
.right-board .player-info { margin-left: 50%; }
.player-info .player-pic { display: none; }
.player-info .player-name {font-size: 30px;line-height: 38px;}
.player-info .current-score {margin: 0;font-size: 22px;line-height: 26px;}
.player-info .legs-sets {	margin: 15px 0 0 0;width: auto;position: inherit !important;top: inherit !important;right: inherit;}
.player-info .legs-sets li {float: left;width: 50%;border-radius: 0px !important;-moz-border-radius: 0px !important;-khtml-border-radius: 0px !important;-webkit-border-radius: 0px !important; border: none!important;}
.player-info .legs-sets li span {width: 50%;display: block;float: left;line-height: 30px !important;border-radius: 0px !important;-moz-border-radius: 0px !important;-khtml-border-radius: 0px !important;-webkit-border-radius: 0px !important;}
.player-info .legs-sets li span.started { top: 12px; left: 50%;margin-left: 6px; border-radius: 10px !important;-moz-border-radius: 10px !important;-khtml-border-radius: 10px !important;-webkit-border-radius: 10px !important;}
.bestofnotice  {top: 76px; line-height: 18px; width: 100px; margin-left: -50px; border-radius: 6px 6px 0 0;	-moz-border-radius: 6px 6px 0 0;	-khtml-border-radius: 6px 6px 0 0;-webkit-border-radius: 6px 6px 0 0; }

.player-board { padding: 30px 110px 30px 110px; }
.player-board .last-scores { width: 110px; left: 0 !important; right: inherit !important; border-right: 1px solid #cccccc !important; border-left:none !important; }
.player-board .last-scores ul li { line-height: 17px; }
.player-board { opacity: 0; filter: alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -webkit-transition: all 500ms linear; -moz-transition: all 500ms linear; -o-transition: all 500ms linear; -ms-transition: all 500ms linear; transition: all 500ms linear; }
.scoreboard.tothrow .player-board { opacity: 1;	filter: alpha(opacity=100);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; }
.player-board .winner-message { font-size: 60px; line-height: 80px; margin-top: -40px; margin-left: -120px; }


.player-stats { border: none; background: #f7f7f7 !important; border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc; width: 110px; position: absolute; top: 124px; right: 0; padding: 0 0 0 0; }
.player-stats .stat-col { list-style: none; padding: 14px 0; margin: 0; border-right: none; border-top: 1px solid #cccccc; width: auto; float: none; }
.player-stats .stat-col:first-child { border-top: none; }
.player-stats .stat-col li { padding: 0; text-align: center; }
.player-stats .stat-col li div { display: block; margin-top: 2px; }

.player-stats { opacity: 0; filter: alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; -webkit-transition: all 500ms linear; -moz-transition: all 500ms linear; -o-transition: all 500ms linear; -ms-transition: all 500ms linear; transition: all 500ms linear; }
.scoreboard.tothrow .player-stats { opacity: 1;	filter: alpha(opacity=100);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; }

.score-input {top: 385px;left: 0;margin-left: 0px;width: calc(100% - 111px);}
.score-input .start-end {	top: 0px; left: 2px; font-size: 12px; color: #666666; }
table.calculator {width: 100%;border-radius: 0px;-moz-border-radius: 0px;-khtml-border-radius: 0px;-webkit-border-radius: 0px;}
#submit-score input[type=text] {font-size: 40px;line-height: 50px;height: 50px;width: 100%;border-radius: 0px ;-moz-border-radius: 0px ;-khtml-border-radius: 0px ;-webkit-border-radius: 0px ;}
#submit-score .scorenow {border-radius: 0px ;-moz-border-radius: 0px ;-khtml-border-radius: 0px ;-webkit-border-radius: 0px ;}
table.calculator td a {padding: 10px 0; }

#undo-score .undo-info {  top: 350px; left: 20px; margin-left: 0px; text-align:left; }
	
}

@media only screen and (max-width: 480px) {

#match { min-height: 420px; }

.player-info {padding: 8px 0 0 0; }
.player-info .player-name {font-size: 18px;line-height: 24px; }
.player-info .current-score {font-size: 16px;line-height: 20px; }
.player-info .legs-sets {	margin: 8px 0 0 0; }
.player-info .legs-sets li span {line-height: 20px !important;}
.player-info .legs-sets li span.started { top: 8px; width: 4px;height: 4px;margin-left: 4x; }
.bestofnotice { top: 44.5px; line-height: 15px; width: 80px; margin-left: -40px; font-size: 9px; }

.player-board { padding: 15px 60px 15px 60px; }
.player-board .last-scores { width: 60px; }
.player-board .main-score .current-score { font-size: 70px; line-height: 110px; }
.player-board .last-scores .last-score-title { margin-top: 8px; font-size: 12px; }
.player-board .last-scores ul { margin: 3px 0 0 0; height: 70%; }	
.player-board .last-scores ul li { margin: 1px 0 0 0; padding-top: 1px; line-height: 12px; font-size: 10px; }
.player-board .last-scores ul li .sc-darts { font-size: 9px; top: 1px;}
.player-board .winner-message { font-size: 40px; line-height: 60px; margin-top: -30px; margin-left: -80px; }

.player-stats { width: 60px; position: absolute; top: 80px; right: 0; padding: 0 0 0 0; }
.player-stats .stat-col { padding: 8px 0; }
.player-stats .stat-col li { margin-top: 5px; }
.player-stats .stat-col li .name-default { display:none;} 
.player-stats .stat-col li .name-small,.player-stats .stat-col li .name-stat { display: block; font-size: 12px; line-height: 14px; height: 14px;}
.player-stats .stat-col li div {display:block; font-size: 10px; line-height: 13px; margin-top: 0px;}

.score-input {top: 221px; width: calc(100% - 61px);}
.score-input .start-end {	top: 0px; left: 2px; font-size: 10px; color: #666666; }
#submit-score input[type=text] {font-size: 24px;line-height: 44px;height: 44px;}
table.calculator td a {padding: 7px 0; }

.alert-box { height: 200px; width: 300px; margin-top: -100px; margin-left: -150px; }
.alert-box .alert-title { font-size: 17px; line-height: 22px; }

#undo-score .undo-info {  top: 200px; }


}