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

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

	font-size: 20px;
	font-family: Arial;
	background-color: #ffffff;
	color: #000;
}

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;
}

input[type="text"] {
	width: 100%;
}

#search_container input[type="image"] {
	-webkit-appearance: none;
	cursor: pointer;
	border: none;
	outline: none;
	background-color: #fff;
	color: #2196f3;
	border-radius: 50%;
	width: 20px;
}
#search_container input[type="image"]:hover {
	opacity: 0.7;
}
#search_container input[type="image"]:active {
	opacity: 0.5;
}

#search_container {
	padding: 3px 10px;
	border: 1px solid #999;
	border-radius: 20px;
	overflow: hidden;
	background-color: #fff;
}

.search_table {
	width: 100%;
}

.keyword_td {
	vertical-align: middle;
	width: 100%;
}

.search_td {
	vertical-align: middle;
	text-align: left;
}

#keyword {
	border: none;
}
#keyword:focus {
	outline: 0;
}

.filter_container{
	display: flex;
	flex-diretion: row;
	flex-wrap: wrap;
}

.sort_button {
	cursor: pointer;
	vertical-align: top;
	display: inline-block;
	width: max-content;
	white-space: nowrap;
	background-color: #303030;
	color: #fff;
	border: 1px solid #303030;
}
.sort_button:hover, .sort_button:focus {
	background-color: #606060;
}
.sort_button:active {
	background-color: #fff;
	color: #004d40;
}

#bracket_loading {
	text-align: center;
}

#read_more {
	cursor: pointer;
	color: #808080;
	border-bottom: 1px solid #e0e0e0;
	text-align: center;
}

#read_more:hover, #read_more:focus {
	background-color: #f4f4f4;
	color: #2d2d3c;
}

#read_more:active {
	background-color: #2d2d3c;
	color: #fff;
}

.tournament_list_table {
	width: 100%;
	border-top: 1px solid #e0e0e0;
}

.tournament_list_table a {
	text-decoration: none;
	color: #000;
}

.t_date {
	color: #808080;
}

.t_name {
	word-break: break-word;
}

.t_stats {
	color: #aaa;
	white-space: nowrap;
}

.t_item {
	border-bottom: 1px solid #e0e0e0;
}

.tournament_item {
	cursor: pointer;
	-webkit-appearance: none;
	word-break: break-word;
	
	border: 0px solid #fff;
	background-color: #fff;
	color: #000;
	outline:none;
}

.tournament_item:hover {
	background-color: #f4f4f4;
	color: #000;
}

.tournament_item:focus {
	background-color: #f4f4f4;
	color: #000;
}

.tournament_item:active {
	background-color: #e0e0e0;
	color: #000;
}

.p1 {
	border-bottom: 1px solid #e0e0e0;
}

.status {
	vertical-align: top;
	display: inline-block;
	width: max-content;
	white-space: nowrap;
}

.status_10, .status_25 {
	background-color: #d0d0d0;
	color: #fff;
}

.status_20 {
	background-color: #0084ff;
	color: #fff;
}

.status_30 {
	background-color: #ff3e3e;
	color: #fff;
}

.status_40 {
	background-color: #808080;
	color: #fff;
}
