
#playMatchAdvancedModal {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	
}
#playMatchAdvancedModal .modal-content {
	background-color: #000;
	color: #fff;
}
#playMatchAdvancedModal .modal-body {
	padding: 8px;
}
.match-score {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 95vh;
	min-height: 580px;
}
/*.match-score .inner-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(95vh - 36px);*/ /*100%;*/
/*}*/
.match-score .score-column {
  display: flex;
  flex-direction: column;		  
  width: 100%;
  height: 100%;
  
}

.match-score .score-column.info-table {
	display: flex;
	flex-direction: column;		  
	width: 100%;
	align-items: center;
	height: 22%;
	z-index: 1;
}
	.match-score .score-box {
		display: flex;
		flex-direction: column;
		overflow: hidden;
		overflow-y: auto;
		background-color: #000;
		color: #fff;
		height: 20%;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none;
	}
		.match-score .score-box::-webkit-scrollbar {
			display: none; /* Chrome, Safari */
		}
.match-score .button-box {
  display: flex;
  flex-direction: column;
  background-color: #222;
  color: #fff;
  align-items: center;
  padding: 2px 0;
  height: 48%
}
.match-score .score-column.info-table .team-score {
	display: flex;
	align-items: center;
	width: 47%;
	justify-content: space-between;
}

	.match-score .score-column.info-table .team-score.win .leg-box {
		background: #02A728;
	}
	.match-score .score-column.info-table .team-score.win .set-box {
		background: #02A728;
		
	}
	.match-score .leg-head {
		font-size: 12px;
		color: #fff;
		/*position: absolute;
		top: 0;
		left: 0;
		right: 0;*/
	}
.match-score .score-column.info-table .player-box {
	width: 47%;
	display: flex;
	flex-wrap: wrap;
    align-content: stretch;
	height: 100%;
	background-color: #000;
}
.match-score .score-column.info-table .players {
	width: 100%;/*calc(100% - 65px);*/
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #777;
}
.match-score .score-column.info-table .away.players {
	-webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}
.match-score .score-column.info-table .player-name {
	display: flex;
	align-items: center;
	width: 100%;
	font-size: 15px;
	padding: 2px 5px 0 5px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	white-space: break-spaces;
	
}
.match-score .score-column.info-table.pairs .player-name {
	padding: 2px 5px 0 5px;
	height: 36px;
	border-bottom: 1px dotted #888;
}

.match-score .score-column.info-table .away.player-name {
	text-align: right;
	justify-content: end;
}

	.match-score .score-column.info-table .second {
		display: flex;
		flex-direction: row;
		width: 100%;
		align-items: center;		
		height: auto;
	}


.match-score .away.player-name {
	text-align: left;
}

.players-box {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	border-bottom: 1px solid #777;
	background-color: #222;
	color: #fff;
	height: calc(100% - 38px);
}

.players-box .player-home {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	justify-content: center;
}
.players-box .player-away {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	justify-content: center;
}
.match-score .players-box .score {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	font-size: 70px;
	font-weight: 700;
	padding: 0 5px;
	text-align: center;
	background-color: #000;
	color: #fff;
	line-height: 0.7;
}
	.match-score .players-box .score.active {
		background-color: #fff;
		color: #000;
	}
.match-score .players-box .away.score {
	text-align: left;
	-webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.match-score .info-table .second .set-box {
	background: #99333D;
	color: #fff;
	width: 50px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	padding: 4px;
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.match-score .score-column .center {
	width: 6%;
	text-align: center;
	/*padding-top: 5px;*/
}

/*.match-score .info-table .score {
	width: 30%;
}*/

.match-score .info-table .second .leg-box {
	background: #99333D;
	color: #fff;
	width: 50px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	padding: 4px;
	display: flex;
	flex-direction: column;
	line-height: 1;
}

/*.match-score .info-table .second .home {
	text-align: right;
	padding-right: 20px;
}*/



.match-score .num-pad-box {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.match-score .num-pad {
	width: 20%;
	flex: 1 0 auto;
	/*  padding: 12px 0;*/
	font-size: 16px;
	border: 0.5px solid #777;
	background: #000;
	color: #fff;
}

	.match-score .num-pad.sca {
		background: #555;
		color: #fff;
	}
	.match-score .num-pad.num-pad-back {
		background-color: #333;
		border: 3px solid #777;
	}
	.match-score .num-pad.num-pad-bust, .match-score .num-pad.num-pad-darts11, .match-score .num-pad.num-pad-restart, .match-score .num-pad.num-pad-clear, .match-score .num-pad.num-pad-delete {
		background-color: #333;
	}

	.match-score .num-pad.num-pad-exit {
		width: 48px;
		max-width: 48px;
		height: 38px;
		padding: 0.4em 0;
		color: #fff;
		background-color: #444;
	}
	.match-score .num-pad.num-pad-switch-player {
		width: 48px;
		max-width: 48px;
		height: 38px;
		padding: 0.2em 0;
		color: #fff;
		background-color: transparent;
	}
.match-score .num-pad.disabled {
  opacity: .5;
}	
.match-score .num-pad-submit {
  background-color: #99333D;
  color: #fff;
  width: 40%;
	font-size: 20px;
}
.match-score .num-pad-winner {
	display: none;
	background-color:#336699;
	color: #fff;
	width: 40%;
}
.match-score .num-pad-matchw {
	display: none;
	background-color:#36846b;
	color: #fff;
	width: 40%;
}
.match-score .score-display {
	width: 40%;
	max-width: 40%;
	line-height: 1;
	border: 1px solid #ddd;
	font-size: 22px;
	text-align: center;
	background-color: #222;
	color: #fff;

}
.match-score .score-display.dart {
  display: none;
  width: 20%;
  line-height: 1;
  font-size: 20px;
}
.match-score .score-display.activ, .score-display:focus  {
	border: 2px solid #336699;
}

.match-score .score-box-row {
	display: flex;
	flex-direction: row;
	/*font-size: 16px;*/
	padding: 0;
	border-bottom: 1px solid #444;
	
}

.match-score .score-box-row .center {
	width: 6%;
	background-color: #222;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;

}

.match-score .score-box-row .score-round:hover {
	background-color: #A6DDBB;
}

.match-score .score-box-row .team {
	display: flex;
	flex-direction: row;
	width: 47%;
	align-items: center;
}
.match-score .score-box-row .player-score {
	display: flex;
	width: 100%;
    align-items: center;
}
	.match-score .score-box-row .player-score.first .score-round {
		color: cyan;
	}
.match-score .score-box-row .away .player-score {
	flex-direction: row-reverse;
	width: 100%;
}
.match-score.pairs .score-box-row .away .player-score {
	border-left: 1px solid #ddd;
}
.match-score.pairs .score-box-row .home .player-score {
	border-right: 1px solid #ddd;
}
.score-box-row .team .score-round {
	width: 70%;
	padding: 2px 8px;
	cursor: pointer;
	font-size: 22px;
	height: 34px;
}

.match-score .score-box-row .team .score-darts {
	width: 30%;
}

.match-score .score-box-row .team .round {
	padding-top: 4px;
}
.match-score .score-box-row .home {
	text-align: right;
}
/*.match-score .active {
	background-color: #A6DDFB;
}*/
.match-score .player.active {
	background-color: #336699;
	color: #fff;
}
.match-score .player-name.active {
	background-color: #99333D;
	color: #fff;
}
.match-score .player.active .score {
	font-size: 26px;
}
.match-score .win {
	background-color: #336699;
	color: #fff;
}
.match-score .score-box-row:last-child .active {
	/*background-color: #336699;*/
	color: #fff;
	border: 2px solid #336699;
}
.match-score div.score-darts {
	font-size: 13px;
	
}
.match-score .info-message {
	display: flex;
	align-items: center;
	overflow: hidden;
	font-size: 22px;
	color: #c1c000;
	padding: 2px 10px;
	min-height: 28px;
	width: 100%;
	justify-content: center;
}
.match-score .info-message.info {
	color: #fff;
}
#playMatchAdvancedModal .modal-dialog {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.modal-content {
	background-color: #171B21;
}
.modal-header {
	border-bottom-color: #333;
}
.modal-footer {
	border-top-color: #333;
}
#startPlayerModal .modal-dialog {
	width: 100%;
	margin: 10px auto;
}
#startPlayerModal .modal-header span {
	font-size: 18px;
	font-weight: 400;
	width: 100%;
	text-align: center;
}

#startPlayerModal .starters-box {
	display: flex;
	flex-direction: column;
}

#startPlayerModal .starter-player {
	float: left;
	width: 100%;
	height: 50px;
	position: relative;
}
#startPlayerModal .starter-player:nth-child(odd) {
	margin-bottom: 5px;
}

#startPlayerModal .starter-player label,
#startPlayerModal .starter-player input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 100%;
}

#startPlayerModal .starter-player input[type="radio"] {
  opacity: 0.011;
  z-index: 100;
}

#startPlayerModal .starter-player input[type="radio"]:checked + label {
	background: #336699;
	color: #fff;
	border-radius: 20px;
}
#startPlayerModal .starter-player.away {
	margin-top: 30px;
}
#startPlayerModal .starter-player:last-child {
	margin-top: 0;	
}

	#startPlayerModal .starter-player label {
		cursor: pointer;
		z-index: 90;
		line-height: 1.4em;
		font-size: 20px;
		font-weight: 700;
		width: 100%;
		border: 2px solid #333;
		height: 100%;
		color: #E6EDF3;
	}
#startPlayerModal .confirm-btn {
	width: 100%;
	padding: 10px;
	font-size: 20px;
	background: #68A8BB;
	color: #fff;
	border: 0;
	
}
#startPlayerModal .switch-sides {
	width: 100%;
	padding: 7px;
	font-size: 16px;
	/*color: #fff;*/
	border: 0;
	margin: 15px 0;
}
#startPlayerModal .confirm-btn:hover {
	opacity: .8;
}

#confirmWinner .modal-content {
	background-color: #171B21;
}

#confirmWinner .modal-header span {
	font-size: 18px;
	font-weight: 400;
}
#confirmWinner .winner-box {
	display: flex;
	flex-direction: column;
}
#confirmWinner .button-dart {
  float: left;
  margin: 0 5px 0 0;
  width: 50px;
  height: 50px;
  position: relative;
}

#confirmWinner .button-dart label,
#confirmWinner .button-dart input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#confirmWinner .button-dart input[type="radio"] {
  opacity: 0.011;
  z-index: 100;
}

	#confirmWinner .button-dart input[type="radio"]:checked + label {
		background: #336699;
		color: #fff;
		border-radius: 20px;
		border: 2px solid #ddd;
	}

#confirmWinner .winner-box .button-dart label {
	cursor: pointer;
	z-index: 90;
    line-height: 1.4em;
    font-size: 24px;
    width: 100%;
    border: 2px solid #333;
    height: 100%;
	color: #ddd;
}

#confirmWinner .winner-box .winner-team {
	font-size: 18px;
	text-align: left;
	background-color: #336699;
	color: #fff;
	margin-bottom: 10px;
}
	#confirmWinner .winner-box .winner-team h2 {
		margin-top: 10px;
		margin-bottom: 10px;
		text-align: center;
		font-size: 22px;
		text-transform: uppercase;
		color: #fff;
	}
#confirmWinner .winner-box.match .winner-team h2::before {
	content: "\e90b";
	font-family: icomoon;
	margin-right: 10px;
	color: #FFD700;
}
#confirmWinner .winner-box .winner-title {
	text-align: center;
	font-weight: 700;
	font-size: 22px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

#confirmWinner .winner-box .darts-title {
	text-align: center;
	
}
#confirmWinner .winner-box .darts-title h3 {
	font-size: 18px;
}

#confirmWinner .winner-box .button-dart {
	display: flex;
	align-items: center;
	margin: 10px 20px;
}
#confirmWinner .winner-box .darts-box{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

#confirmWinner .modal-dialog {
	width: 100%;
}
#confirmWinner .modal-footer {
	justify-content: center;
}

#confirmWinner .btn-leg{
	padding: 10px;
	margin-left: 15px;
	border: 1px solid #333;
	color: #ddd;
}
#confirmWinner .btn-leg:hover{
	padding: 10px;
	margin-left: 15px;
	background: #99333D; /*#339999;*/
	color: #fff;
}
#confirmWinner .btn-cancel {
	
	color: #ddd;
}
#confirmWinner .winner-btn {
	width: 100%;
	padding: 10px;
	font-size: 20px;
	background: #99333D;
	max-width: 200px;
	color: #fff;
	border: 0;
}
#confirmWinner .winner-btn:hover {
	opacity: .8;
	
}
#confirmWinner  .modal-header span {  
	width: 100%;
}

#confirmWinner .modal-header {  
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	padding: 5px 15px;
	
}

.match-recap .match-recap-head {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 0;
}
.recap-side {
	width: 40%;
	display: flex;
	align-items: center;
	justify-content: end;
	font-size: 17px;
	padding: 2px 6px;
}
.recap-side.left {
	justify-content: end;
}
.recap-side.right {
	justify-content: start;
}
.recap-side.win {
	background-color: #339977;
}
.recap-result {
	width: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
}
	.recap-result .recap-result-left, .recap-result .recap-result-right {
		padding: 2px 6px;
		margin: 0 2px;
	}
	.recap-result .win {
		background-color: #339977;
	}
.match-recap-rows {
	padding: 10px 0;
}
	.match-recap-rows .match-recap-row {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 15px;
		padding: 5px;
		border-bottom: 1px solid #333;
		gap: 2px;
	}
	.match-recap-rows .match-recap-row.header {
		font-size: 14px;
		font-weight: 500;
		border-bottom: 2px solid #333;

	}
	.match-recap-rows .match-recap-row .stat {
		width: 14%;
		text-align: right;
	}
		.match-recap-rows .match-recap-row .stat.right {
			width: 14%;
			text-align: left;
		}
		.match-recap-rows .match-recap-row .stat.inner.win {
			color: #339977;
			font-size: 16px;
			font-weight: 600;
			padding: 2px 3px;
		}
		.match-recap-rows .match-recap-row .stat.center {
			width: 16%;
			text-align: center;
		}

.match-recap-totals {
	border-top: 2px solid #333;
	color: #fff;
}

@media (min-width: 768px) {

	.match-score {
		height: 95vh;
		min-height: 600px;
	}

		.match-score .score-column.info-table {
			height: 26%;
		}

		.match-score .num-pad {
			font-size: 28px;
		}

		.match-score .num-pad-submit {
			width: 20%;
		}

		.match-score .score-column.info-table .player-name {
			font-size: 28px;
			font-weight: 500;
		}

		.match-score .score-box {
			scrollbar-width: none;
			height: 24%;
		}

	.score-box-row .team .score-round {
		padding: 5px 8px;
		font-size: 32px;
		height: 58px;
	}

	/*.match-score .score-column.info-table .second {
		height: 30%;
	}*/

		.match-score .score-column.info-table .second .leg-box {
			font-size: 38px;
		}
		.match-score .score-column.info-table .second .set-box {
			font-size: 38px;
		}
	.landscape .match-score .score-column.info-table .second .leg-box {
		font-size: 28px;
	}
	.landscape .match-score .score-column.info-table .second .set-box {
		font-size: 28px;
	}
	.match-score .score-column.info-table .players-box {
		height: 70%;
	}

	.match-score .score-box-row:last-child .active {
		border: 4px solid #336699;
	}

	.match-score .num-pad.num-pad-switch-player {
		height: auto;
		padding: 0;
	}

	.match-score .num-pad.num-pad-exit {
		width: 68px;
		max-width: 68px;
		height: auto;
		padding: 0;
	}

	.match-score .players-box .score {
		font-size: 96px;
		padding: 0;
		line-height: .7;
	}

	.landscape .match-score .players-box .score {
		font-size: 80px;
		line-height: .8;
	}

	.match-score .score-display {
		font-size: 42px;
		width: 60%;
		max-width: 60%;
	}

	#confirmWinner .button-dart {
		height: 70px;
		width: 70px;
	}

	#confirmWinner .winner-box .winner-title {
		font-size: 30px;
	}

	#confirmWinner .winner-box .winner-team h2 {
		font-size: 36px;
	}

	#confirmWinner .winner-box .button-dart label {
		font-size: 36px;
		line-height: inherit;
	}

	#confirmWinner .winner-btn {
		font-size: 30px;
	}

	#confirmWinner .btn-leg {
		font-size: 25px;
	}

	.match-score .score-box-row .center {
		font-size: 20px;
	}

	.match-score .score-column .center {
		font-size: 22px;
	}
}

@media (min-width: 992px) {

	.match-score .num-pad {
		/*padding: 0.7em;*/
		/*font-size: 16px;*/
	}
	/*.match-score .score-box {
		height: 300px;
	}*/
}