/*
 * n01_elist.css
 *
 * Copyright (C) 1996-2020 by Ohno Tomoaki. All rights reserved.
 */

body {
	-webkit-text-size-adjust: 100%;
	-ms-content-zooming: none;
	
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

	font-size: 20px;
	font-family: Arial;

	--back-color: #ffffff;
	--text-color: #000000;
	--surface-color: #ffffff;
	--surface-text: #000000;
	--subtle-color: #f4f4f4;
	--hover-color: #e0e0e0;
	--active-color: #c0c0c0;
	--border-color: #e0e0e0;
	--none-color: #e0e0e0;
	--muted-color: #808080;
	--dim-color: #c0c0c0;
	--accent-color: #e91e63;
	--accent-hover-color: rgba(233, 30, 99, 0.75);
	--accent-active-color: rgba(233, 30, 99, 0.5);
	--info-color: #2196f3;
	--info-hover-color: rgba(33, 150, 243, 0.75);
	--info-active-color: rgba(33, 150, 243, 0.5);
	--select-color: #006cff;
	--select-bg-color: rgba(255, 255, 0, 0.31);
	--match-color: #ddffff;
	--match-hover-color: #aaffff;
	--match-active-color: #00ffff;
	--wait-color: #ffddff;
	--wait-hover-color: #ffaaff;
	--wait-active-color: #ff00ff;
	--join-color: #fcedf2;
	--join-hover-color: #ffdfe9;
	--join-active-color: #ffb4cc;
	--win-color: rgba(0, 153, 255, 0.13);

	background-color: var(--back-color);
	color: var(--text-color);
}

html {
	min-height: calc(100% + env(safe-area-inset-top));
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#header {
	padding-top: env(safe-area-inset-top);
}

#article {
	margin: 10px;
	padding: 50px 0 env(safe-area-inset-bottom) 0;
}

#entry_list_container {
	width: 100%;
}

#entry_list_shadow {
	margin-left: auto;
	margin-right: auto;
}

.entry_list_table {
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	width: 100%;
}

.e_item {
	cursor: pointer;
	border-bottom: 1px solid var(--border-color);
}

.e_item:hover {
	background-color: var(--subtle-color);
}

.e_item:active {
	background-color: var(--active-color);
}

.e_container {
	width: 100%;
}

th {
	border: 1px solid var(--border-color);
	border-bottom: 3px solid var(--border-color);
	vertical-align:middle;
}

.th_no {
	width: 7%;
}

.th_name {
	text-align: left;
}

.e_no {
	border-right: 1px solid var(--border-color);
	text-align: center;
}

.e_name {
	-webkit-appearance: none;
	word-break: break-word;
	
	outline:none;
}

.tw, .fb, .g {
	vertical-align: top;
}

.e_startScore {
	color: var(--muted-color);
}

#show_team_player {
	display: none;
	margin-left: auto;
	margin-right: auto;
}

.e_player {
	display: none;
	border-bottom: 1px solid var(--border-color);
}

.tema_player_table {
	width: 100%;
}

.tm_name {
	width: 70%;
}

.tm_id {
	width: 30%;
}

#modal-overlay {
	z-index: 40;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.5);
}

.modal_window {
	font-size: 30px;
	width: 80%;
	position: fixed;
	display: none;
	z-index: 41;
	box-shadow: 0 10px 30px rgba(0,0,0,0.8);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

.menu_ul {
	text-align: center;
	background-color: var(--surface-color);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

.menu_ul li {
	cursor: pointer;
	padding: 15px 0px 15px 0px;
	color: var(--select-color);
	border-top: 1px solid var(--dim-color);

	-ms-touch-action: none;
	touch-action: none;
}
.menu_ul li:active {
	background-color: var(--select-color);
	color: #ffffff;
}

.menu_ul li:first-child {
	border-top-width: 0px;
}
.menu_ul li:first-child:active {
	background-color: var(--select-color);
	color: #ffffff;
	border-radius: 10px 10px 0px 0px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
}

.menu_ul li:last-child:active {
	background-color: var(--select-color);
	color: #ffffff;
	border-radius: 0px 0px 10px 10px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
}
