
* {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
input,textarea {
	-webkit-user-select: auto;
}

label {
	cursor: pointer;
}

#contents {
	position: relative;
	min-height: 800px;
	overflow: hidden;
}

#timetable {
	position: relative;
	table-layout: fixed;
	margin: 0;
}
#timetable th {
	position: relative;
	background-color: #223;
	color: #ffe;
	padding: 0;
	font-weight: normal;
	text-shadow: 0 0 8px #ff4;
	z-index: 2;
}
#timetable tr>* {
	border-right: 1px solid rgba(255,255,255,.1);
	border-top: inherit;
	border-bottom: inherit;
}
#timetable tr>*:first-child {
	width: 280px;
	padding: 0;
}
.stay {
	position: relative;
	width: 100%;
	background-color: inherit;
	border-right: 1px solid #888;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index: 1;
}

#custom {
	padding: 8px 12px;
}
#custom_group {
	position: relative;
}
#custom_group>* {
	margin-right: 1em;
}
#custom_group .refresh {
	visibility: hidden;
}

#toggle_custom img {
	position: absolute;
	right: 2px;
	vertical-align: middle;
	margin: 2px;
	cursor: pointer;
}
input,label {
	cursor: pointer;
}

.fish {
	font-size: 14px;
}
img.icon {
	margin: 0 4px 0 0;
	width: 32px;
	height: 32px;
	vertical-align: middle;
}
.spot_link img {
	margin-left: 4px;
	vertical-align: middle;
}

.hour {
	text-align: center;
	width: 30px;
	padding: 0;
	overflow: hidden;
}
.active {
	background-color: #66c !important;
}
.active.hit {
	background-color: #0c0 !important;
}
.active.hit2 {
	background-color: #cf0 !important;
}

.fish_alarm,.fish_check {
	opacity: .2;
	cursor: pointer;
}
.fish_alarm:hover,.fish_check:hover {
	opacity: .6;
}
.fish_check.checked {
	opacity: 1;
}
.fish_alarm.checked {
	opacity: 1;
}

.weather_icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.sound_test {
	display: inline-block;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	background-size: cover;
	background-image: url(img/i_play.png);
	opacity: 0;
}
.sound_test.playing {
	background-image: url(img/i_stop.png);
}
.sound_test[sound] {
	cursor: pointer;
	opacity: .6;
}
.sound_test[sound]:hover {
	opacity: 1;
}

#alarm_fish_name {
	text-align: center;
	font-size: 1.4em;
	font-weight: bold;
	line-height: 3em;
	color: #ccf;
}

#alarm_msg {
	padding: 16px 32px;
	background-color: #420;
	line-height: 2em;
	text-align: center;
}

#alarm_volume {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-size: cover;
	vertical-align: middle;
	opacity: .8;
	cursor: pointer;
}
#alarm_volume[vol='0'] {
	background-image: url(img/i_vol0.png);
}
#alarm_volume[vol='0.25'] {
	background-image: url(img/i_vol1.png);
}
#alarm_volume[vol='0.5'] {
	background-image: url(img/i_vol2.png);
}
#alarm_volume[vol='0.75'] {
	background-image: url(img/i_vol3.png);
}
#alarm_volume[vol='1'] {
	background-image: url(img/i_vol4.png);
}
#alarm_volume:hover {
	opacity: 1;
}

.ads {
	width: 740px;
	height: 300px;
}
.ads li {
	margin: 0 8px;
}
.ads_banner {
	margin: 8px auto 0;
	padding: 0;
	width: 728px;
	background-color: rgba(0,0,0,.5);
}

#select_fish {
	position: absolute;
	width: 600px;
	background-color: #555;
	box-shadow: 1px 1px 8px #000;
	max-height: 400px;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 10;
}
#select_fish table {
	width: 100%;
}
#select_fish tr {
	padding: 0 1em;
}
#select_fish tr:hover {
	color: #ddf;
	text-decoration: underline;
	background-color: #558;
}
#select_fish td {
	padding-left: 10px;
	text-align: left;
}
#select_fish input {
	margin-left: 1em;
}
#select_fish label {
	display: block;
}
.sel_patch {
	color: #ccf;
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1.5em;
	background-color: #558;
}
.sel_fish td {
	padding-left: 10px;
	height: 28px;
	vertical-align: middle;
}
.sel_fish.known td {
	color: #cfc;
	text-shadow: 0 0 4px #0f0;
}
#select_fish_btn {
	position: absolute;
	right: 0;
	padding-right: 1em;
	padding-top: .5em;
	display: none;
}
input.patch_group {
	display: none;
}

#timetable.list tr:nth-child(odd) {
	background-color: #333;
}
#timetable.list td.fish {
	background-color: #444;
}
#timetable.list tr:nth-child(odd) td.fish {
	background-color: #333;
}
#timetable.list td {
	background-color: transparent;
}

.known .fish_name {
	position: relative;
	color: #cfc;
	text-shadow: 0 0 4px #0f0;
}
.known .fish_name:before {
	content: '';
	display: inline;
	position: absolute;
	right: 100%;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	background-image: url(img/i_check.png);
	background-size: cover;
}

