/* -----------------------------
team
----------------------------- */

.tool{
	/*float: right;*/
	padding: 8px 16px 0px 16px;
}

.tool > div{
	display: inline-block;
	border: 2px solid #919191;
	padding: 2px 12px;
	border-radius: 12px;
	color: #919191;
	cursor: pointer;
	font-weight: bold;
	user-select: none;
}

.tool > div:nth-child(n+2){
	margin-left: 6px;
}

.tool > div:hover, .tool div.active{
	border: 2px solid #009688;
	color: #009688;
}

/* -----------------------------
team
----------------------------- */

.team{
	border: 1px solid #ccc;
	border-top: 7px solid #009688;
	border-radius: 0 0 8px 8px;
	margin-bottom: 16px;
	box-shadow: 0px 1px 4.4px 0.7px rgba(0, 0, 0, 0.16);
	position: relative;
	padding: 10px 0px 0px 0px;
}

.team .time{
    text-align: center;
    padding: 0px 12px 4px 12px;
    margin: 0 auto;
    background-color: #009688;
    border-radius: 0 0 20px 20px;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,0%);
    -ms-transform: translate(-50%,0%);
}

/* -----------------------------
header
----------------------------- */

.team .header{
	display: flex;
	justify-content: space-between;
	position: relative;
	padding-bottom: 6px;
	padding-left: 20px;
	padding-right: 20px;
	word-break: keep-all;
	white-space: nowrap;
}

.team .header > div:nth-child(1){
	background-color: #fff;
	color: #009688;
	font-weight: bold;
	font-size: 20px;
	position: absolute;
	left: 50%;
	top: 25px;
	transform: translate(-50%,0%);
	-ms-transform: translate(-50%,0%);
	text-align: center;
}

.team .header > div:nth-child(n+2){
	width: 50%;
	color: #919191;
}

.team .header > div:nth-child(n+2) div:first-child{
	font-weight: bold;
	font-size: 20px;
	color: #000;
}

.team .header > div:nth-child(3){
	text-align: right;
}

/* -----------------------------
tabs
----------------------------- */

.team .tabs{
/*	border-top: 2px solid #f1f1f1;
	border-bottom: 2px solid #f1f1f1;*/
	text-align: center;
	background: #f1f1f1;
	user-select: none;
}

.team .tabs > div{
	display: inline-block;
	padding: 4px 4px;
	font-size: 14px;
	color: #3e3e3e;
}

.team .tabs > div:hover{
	cursor: pointer;
	color: #009688;
}

.team .tabs > div > span{
	display: inline-block;
	width: 0;
	white-space: nowrap;
	direction: ltr;
	color: rgba(255, 255, 255, 0);
	transition: .5s;
	pointer-events: none;
	text-align: left;
}

.team .tabs > div:hover > span{
	color: #009688;
	width: 25px;
}

.team .tabs > div.active{
	color: #009688;
}

.team .tabs > div.active > span{
	color: #009688;
	display: inline-block;
	width: inherit;
}

/* -----------------------------
content
----------------------------- */

.team .content{
	padding: 16px 20px;
	overflow-y: auto;
	height: 330px;  /* 資訊區塊高度調整，需同時修正 .lock 的高度 */
	position: relative;
}

.team .content::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #f1f1f1;
}
.team .content::-webkit-scrollbar
{
    width: 5px;
    height: 5px;
    background-color: #3e3e3e;
}
.team .content::-webkit-scrollbar-thumb
{
    background-color: #000000;
}

.team .content > div{
	display: none;
}

/* -----------------------------
content
----------------------------- */

.team div.btn{
	margin-bottom: 14px;
	user-select: none;
	/*text-align: center;*/
	display: flex;
}

.team div.btn > span{
	color: #919191;
	border: 1px solid #919191;
	padding: 4px 8px;
	border-radius: 16px;
	cursor: pointer;
	font-size: 14px;
	white-space: nowrap;
    overflow: hidden;
}

.team div.btn > span:hover, .team div.btn > span.active{
	color: #009688;
	border: 1px solid #009688;
}

.team div.btn > span:nth-child(n+2){
	margin-left: 6px;
}

/* -----------------------------
overview
----------------------------- */

.team .content .overview{
	display: block;
}

/* 分數區塊 */

.team .overview table, .team .overview td, .team .overview tr{
	border: 0;
}

.team .overview table{
	width: 100%;
	text-align: center;
}

.team .overview table > tbody > tr:first-child > td{
    background-color: #919191;
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
}

.team .overview table > tbody > tr:nth-child(n+2) > td{
	color: #919191;
    padding: 6px 0;
    border-bottom: 1px solid #919191;
}

.team .overview table > tbody > tr > td:first-child{
	padding: 6px 12px;
}

.team .overview tr:hover{
	background-color: #f1f1f1;
}

/* 數據區塊 */

.team .overview > div:nth-child(2){
	margin-top: 16px;
	display: flex;
	justify-content: space-between;
}

.team .overview > div:nth-child(2) > div{
	width: 50%;
}

.team .overview > div:nth-child(2) > div:first-child{
	border-right: 2px solid #f1f1f1;
}

.team .overview .box{
	border: 1px solid #000;
	border-radius: 12px;
	padding: 6px 0px;
	text-align: center;
	cursor: default;
	overflow: inherit;
	font-size: 14px;
	cursor: pointer;
}

.team .overview > div:nth-child(2) > div:first-child .box{
	margin-right: 12px;
}

.team .overview > div:nth-child(2) > div:nth-child(2) .box{
	margin-left: 12px;
}

.team .overview > div:nth-child(2) > div > div:nth-child(n+3) .box{
	margin-top: 10px;
}

.team .overview > div:nth-child(2) .box > div:nth-child(2){
	font-size: 24px;
	font-weight: bold;
}

.team .content .overview .w3-row > div:nth-child(2) .box{
	cursor: default;
}

.team .overview .box.active{
	/*background-color: #e91e63;*/
	color: #e91e63;
	border-color: #e91e63;
}

/* -----------------------------
pros cons
----------------------------- */

.team .pros_cons > div{
	display: flex;
	justify-content: space-between;

}

.team .pros_cons > div > div{
	width: 50%;
}

.team .pros_cons > div > div:first-child{
	border-right: 2px solid #f1f1f1;
}

.team .pros_cons > div > div > div:first-child{
	color: #919191;
	font-size: 14px;
}

.team .pros_cons > div > div:nth-child(2) > div:first-child{
	text-align: right;
}

/* 標籤區塊 */
.team .pros_cons .tag{
	background-color: #e91e63;
	color: #fff;
	border-radius: 12px;
	padding: 2px 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 8px;
	cursor: default;
}

.team .pros_cons .tag.light{
	background-color: #ee5488;
}

.team .pros_cons > div > div:first-child .tag{
	margin-right: 12px;
}

.team .pros_cons > div > div:nth-child(2) .tag{
	margin-left: 12px;
}

.team .pros_cons > div.bad{
	margin-top: 16px;
}

.team .pros_cons > div.bad .tag{
	background-color: #3e3e3e;
}

.team .pros_cons > div.bad .tag.light{
	background-color: #919191;
}

/* -----------------------------
open_close
----------------------------- */

.team .open_close .btn > span:nth-child(3){
	margin-left: auto;
}

.team .open_close .w3-row > div:nth-child(1){
	color: var(--gray-dark);
	font-size: 14px;
	text-align: center;
	background-color: #f1f1f1;
}

.team .open_close .w3-row > div:nth-child(1) > div:nth-child(1){
	padding-right: 10px;
	padding-bottom: 8px;
}

.team .open_close .w3-row > div:nth-child(1) > div:nth-child(2){
	padding-left: 10px;
	border-left: 2px solid #f1f1f1;
	padding-bottom: 8px;
}

.team .open_close .box{
	border: 1px solid #000;
	border-radius: 12px;
	padding: 6px 0px;
	text-align: center;
	cursor: default;
	overflow: inherit;
	font-size: 14px;
	cursor: pointer;
}

.team .open_close .w3-col:nth-child(4){
	border-left: 2px solid #f1f1f1;
}

.team .open_close .w3-col:nth-child(-n+3) .box{
	margin-right: 12px;
}

.team .open_close .w3-col:nth-child(n+4) .box{
	margin-left: 12px;
}

.team .open_close .box:nth-child(n+2){
	margin-top: 10px;
}

.team .open_close .box > div:nth-child(2){
	font-size: 22px;
	font-weight: bold;
}

.team .open_close .box{
	cursor: default;
}

.team .open_close .box i{
	font-size: 12px;
}

.team .open_close .box.active{
	/*background-color: #e91e63;*/
	color: var(--pink);
	border-color: var(--pink);
}

/* -----------------------------
odds
----------------------------- */

.team .odds table, .team .odds td, .team .odds tr{
	border: 1px solid #d1d1d1;
}

.team .odds table{
	width: 100%;
	text-align: center;
	font-size: 14px;
}

.team .odds thead{
	position: sticky;
	top: -16px;
}

.team .odds td{
	padding: 2px 4px;
	word-break: keep-all;
}

.team .odds tbody tr:hover{
	background-color: #f1f1f1;
}

.team .odds thead{
    background-color: #3e3e3e;
    color: #fff;
}

.team .odds tfoot{
    background-color: #e91e63;
    color: #fff;
}

/* -----------------------------
history
----------------------------- */

.bar_title{
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bar_title > div:nth-child(2){
	font-weight: bold;
}

.bar_title:nth-child(n+2){
	margin-top: 16px
}

.bar_block{
    display: flex;
    justify-content: space-between;
    height: 22px;
}

.bar_block > div:first-child{
    width: 49%;
    background-color: #f1f1f1;
    display: flex;
    justify-content: flex-end;
    color: #009688;
}

.bar_block > div:nth-child(2){
    width: 49%;
    background-color:#f1f1f1 ; 
    display: flex;
    justify-content: flex-start;
}

.bar_block .no_text{
    color: #919191;
    display: block;
    margin-top: -1px;
    font-size: 16px;
}

.bar_block > div:first-child > .no_text{
	padding-right: 10px;
}

.bar_block > div:nth-child(2) > .no_text{
	padding-left: 10px;
}

.bar_block > div > div{
	background-color: #009688;
	z-index: 2;
	color: #fff;
	position: relative;
	height: 22px;
}

.bar_block > div > div > .out{
	position: absolute;
	left: -40px;
	top: -2px;
	color: #009688;
}

.bar_block > div > div > .in{
	position: absolute;
	left: 10px;
	top: -2px;
	color: #fff;
}

 /*右側微調 */

.bar_block > div:nth-child(2) > div{
	background-color: #3e3e3e;
}

.bar_block > div:nth-child(2) > div > .out{
	left: auto;
	right: -40px;
	color:  #3e3e3e;
}

.bar_block > div:nth-child(2) > div > .in{
	left: auto;
	right: 10px;
}

.bar_stats{
	display: flex;
	align-items: center;
	margin: 12px 0;
}

.bar_stats:nth-last-child(1){
	margin-bottom: 0;
}

.bar_stats > div:nth-child(3){
	font-weight: bold;
	white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 20px;
}

.bar_stats > div:nth-child(2), .bar_stats > div:nth-child(4){
	border-top: 1px dotted var(--gray-dark);
	flex-grow: 1;
	margin: 0 20px;
}

/* -----------------------------
score
----------------------------- */

.team .score table, .team .score td, .team .score tr{
	border: 1px solid #d1d1d1;
}

.team .score table{
	width: 100%;
	text-align: center;
	font-size: 14px;
}

.team .score td{
	/*padding: 2px 4px;*/
	word-break: keep-all;
}

.team .score table td:first-child{
    background-color: #3e3e3e;
    color: #fff;
}

.team .score table:nth-child(2) td span{
	display: block;
	font-size: 10px;
	color: #919191;
}

.team .score table:nth-child(2) td strong span{
	color: #e91e63;
}

.team .score table:nth-child(3) td{
	padding: 2px 4px;
}

.team .score tbody tr:hover{
	background-color: #f1f1f1;
}

.team .score thead{
    background-color: #3e3e3e;
    color: #fff;
}

/* -----------------------------
record
----------------------------- */

.team .record .btn{
	/*display: flex;
	justify-content: space-between;*/
	margin-bottom: 8px;
}

.team .record .btn > span:nth-child(3){
	margin-left: auto;
}

.team .record table, tr, td{
	border: 0;
}

.team .record table{
	width: 100%;
	white-space: nowrap;
}

.team .record tr{
	border-bottom: 1px solid #bdbdbd;
}

.team .record tr:nth-child(n+2):hover{
	background-color: #f1f1f1;
}

.team .record tr:first-child{
	border-bottom: 2px double #bdbdbd;
	font-weight: bold;
}

.team .record tr:first-child > td:first-child{
	color: #009688;
}

.team .record td{
	padding: 6px 8px;
	font-size: 16px;
}

.team .record td.win{
	font-weight: bold;
	color: #e91e63;
}

.team .record .badge{
    color: #fff;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
    margin-right: 10px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
}

.team .record .badge.win{
    background-color: #e91e63;
}

.team .record .badge.loss{
    background-color: #3e3e3e;
}

.team .record .badge.tie{
    background-color: #009688;
}

/* -----------------------------
summary
----------------------------- */

.team .content .summary{
	text-align: justify;
}

.team .content .summary .notice{
	text-align: center;
	background-color: var(--gray-light);
	color: var(--gray-dark);
	border-radius: 12px;
	margin-top: 12px;
}

/* -----------------------------
game-dated
----------------------------- */

.game-date{
    box-shadow: 0px 1px 4.4px 0.7px rgba(0, 0, 0, 0.16);
    white-space:nowrap;
    position: relative;
    text-align: center;
    margin-bottom: 16px;
    height: 118.5px;
}

.game-date .content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    padding: 16px 0;
}

.game-date .content:nth-child(n+2){
    border-left: 1px solid #f1f1f1;
}

.game-date .content:hover{
    background-color: #f7f7f7;
    cursor: pointer;
}

.game-date .content > div:nth-child(1){
    font-size: 12px;
    color: #919191;
}

.game-date .content > div:nth-child(2){
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    margin-top: 4px;
    margin-bottom: 4px;
}

.game-date .content > div:nth-child(3){
    font-size: 14px;
}

.game-date .content.active{
	color: #e91e63;
	font-weight: bold;
}

.game-date .content.active > div:nth-child(1){
	color: #e91e63;
}

.game-date .content.active > div:nth-child(3){
	background-color: #e91e63;
	color: #fff;
	padding: 0 8px;
	border-radius: 8px
}

/* -----------------------------
filter
----------------------------- */

.game_filter{
    box-shadow: 0px 1px 4.4px 0.7px rgba(0, 0, 0, 0.16);
    margin-bottom: 16px;
}

.game_filter label{
	padding: 7px 20px;
	cursor: pointer;
    display: flex;
    align-items: center;
    accent-color: #009688;
    user-select: none;
	white-space: nowrap;
    display: inline-block;
    overflow: hidden;
}

.game_filter label.active{
	color: #009688;
	font-weight: bold;
}

.game_filter label:hover{
	background-color: #f1f1f1;
}

.game_filter input{
	margin-right: 12px;
	width: 18px;
	height: 18px;
}

/* -----------------------------
賽事選單
----------------------------- */

.sport_nav{
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  user-select: none;
  position: relative;
  z-index: 2;
  background-color: #fff;
}

.sport_nav::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #f1f1f1;
}
.sport_nav::-webkit-scrollbar
{
    height: 5px;
    background-color: #f1f1f1;
}
.sport_nav::-webkit-scrollbar-thumb
{
    background-color: #919191;
}

.sport_nav .btn{
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    padding: 12px 40px;
    text-align: center;
}

.sport_nav .btn:hover, .sport_nav .active{
    background-color: var(--gray-light);
}

.sport_nav .active{
    color: var(--green);
}

.sport_nav .btn img{
    position: relative;
    top: -2px;
}

.sport_nav.shadow{
	box-shadow: 0px 1px 4.4px 0px rgba(0, 0, 0, 0.16);
}

.sport_category{
	background-color: var(--gray-light);
	padding: 4px 40px;
	padding-bottom: 0;
	margin-bottom: 24px;
	white-space: nowrap;
	user-select: none;
	box-shadow: 0px 1px 4.4px 0px rgba(0, 0, 0, 0.16);
	font-size: 14px;
	overflow-x: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.sport_category::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.sport_category .btn{
	cursor: pointer;
	text-align: center;
	display: inline-block;
	padding: 4px 6px;
	border-bottom: 4px solid var(--gray-light);
}

.sport_category .btn:nth-child(n+2){
	margin-left: 20px;
}

.sport_category .btn:hover{
	color: var(--green);
}

.sport_category .btn.active{
	color: var(--green);
	border-color: var(--green);
}

/* -----------------------------
lock
----------------------------- */

.lock{
	height: 330px;
	width: 100%;
	position: absolute;
	bottom: 0;
	display: flex; /*flex*/
    /*backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(145, 145, 145, 0.5);*/
    border-radius: 0 0 8px 8px;
	align-items: center;
	justify-content: center;
	background-image: url('/img/locker_ad.jpg');
    background-position: center;
    background-size: cover;
    z-index: 2;
}

.lock > a{
	text-decoration: none;
	background-color: #fe9f39;
	border-radius: 16px;
	padding: 4px 12px;
	color: #000; 
	display: flex;
	user-select: none;
	font-weight: bold;
}

.lock > a:hover{
	color: #fff;
	background-color: #e91e63;
	box-shadow: 0px 1px 4.4px 0.7px rgba(0, 0, 0, 0.16);
}


.lock img{
	width: 20px;
	margin-right: 8px;
	display: block;
}

/* -----------------------------
others
----------------------------- */

.back{
	background-image: url('/images/marble_small.jpg');
    background-position: top;
    background-size: 100% auto;
}

@media (min-width: 993px){
	/*Desktop*/

}

@media (min-width: 601px){
	/*Tablet*/
}	

@media (max-width: 601px){
	/*Mobile*/
	/*資訊區塊高度調整*/
/*	.team .content{
		height: auto;
		max-height: 500px; 
	}*/
	div.sport_nav .btn{
		padding: 12px 20px;
		padding-top: 20px;
	}
	div.sport_nav .btn i, div.sport_nav .btn img{
		display: block;
		margin-bottom: 4px;
	}
	div.sport_nav .btn img{
		left: 10px;
	}
	.sport_category{
		padding-left: 20px;
		padding-right: 20px;
	}
	.sport_category > div:nth-child(n+2){
		margin-left: 8px;
	}

}	