body {
	background-color: black;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	user-select: none;
}

th {
	vertical-align: middle !important;
	text-align: right;
}

th.point_text {
	width: 50px;
	padding-right: 0;
}

.gray {
	color: gray;
}

.yellow {
	background-color: yellow !important;
}

#input_white_nickname, #input_yellow_nickname {
	font-weight: bold;
}

.wrapper {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
}

.top {
	position: absolute;
	top: 0;
	left: 50px;
	right: 50px;
	height: 30px;
	color: #999;
	text-align: center;
	font-size: 20px;
}

.inning {
	color: white;
	font-weight: bold;
}

#white_box {
	position: absolute;
	left: 10px;
	top: 35px;
	width: 39%;
	bottom: 94px;
	background-color: white;
	border-radius: 20px;
}

#yellow_box {
	position: absolute;
	right: 10px;
	top: 35px;
	width: 39%;
	bottom: 94px;
	background-color: yellow;
	border-radius: 20px;
}

.white_box {
	background-color: white !important;
}

.yellow_box {
	background-color: yellow !important;
}

.box_top {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	text-align: center;
	height: 30px;
	font-size: 20px;
	font-weight: bold;
}

.active {
	border: 7px solid red;
}

.status_active {
	bottom: 3px !important;
}

.top_active {
	top: 3 !important;
}

.nickname {
	font-size: 24px;
	text-shadow: 2px 2px 2px lightgray;
}

#footer {
	position: absolute;
	bottom: 10px;
	height: 80px;
	left: 10px;
	right: 10px;
	background-color: #111;
	text-align: center;
	padding: 10px;
	border-radius: 5px;
}

.point {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	right: 10px;
	font-size: 140px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-style: preserve-3d;
	backface-visibility: hidden;
}

.box_status {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	height: auto;
	text-align: center;
	font-size: 20px;
}

.middle {
	position: absolute;
	left: 41%;
	right: 41%;
	bottom: 100px;
	top: 10px;
	width: 18%;
}

#result {
	position: absolute;
	color: white;
	overflow: auto;
	left: 0;
	right: 0;
	top: 34px;
	bottom: 0;
}

#result .row {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 16px;
}

#result .col {
	padding: 0;
	margin: 0;
	height: 21px;
}

#popup, #player_popup {
	background-color: lightgray;
}



.sagu_handy {
	color: #2E86C1;
}

.no_avg_handy {
	color: darkgray;
}

.box_line_white {
	border: 2px solid #f6f6f6;
	position: relative;
}

.box_line_yellow {
	border: 2px solid #ffffbb;
	position: relative;
}

.flip{
   animation: flip 0.2s ease-in-out 1 alternate both;
}

.reverse-flip{
   animation: reverse-flip 0.2s ease-in-out 1 alternate both;
}

@keyframes flip{
  0% {
   transform: rotateX(0);
  }
  100% {
  transform: rotateX(180deg);
  }
}

@keyframes reverse-flip{
  0% {
   transform: rotateX(180deg);
  }
  100% {
  transform: rotateX(0deg);
  }
}

#white_win, #yellow_win {
	color: gray;
}

@keyframes blink-effect { 50% { opacity: 0.5; } }
.blink { animation: blink-effect 1s step-end infinite; }
