body {
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ", sans-serif;
}

.leaflet-tilelayer-meshmap {
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: pixelated;
}

/* header */
.header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.header-wrap {
	position: fixed;
	left: 0px;
	right: 60px;
	height: 60px;
	background: #439beb;
	opacity: 0.87;
}

#header-title {
	position: absolute;
	left: 0px;
	right: 140px;
	height: auto;
	padding: 6px 10px;
	background: url(https://cdn1.n-kishou.co.jp/image/charge/tide/logo_umi_pc.png);
	background-size: 40px auto;
	background-position: 106px 8px;
	background-repeat: no-repeat;
	border-right: 1px solid #000307;
}

#header-title img {
	margin-left: 2px;
	width: 89px;
}

#header-title .umi-logo {
	margin-left: 2px;
	margin-top: 2px;
	width: 40px;
}

#header-title h1 {
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	margin: 0;
}

#header-right {
	position: absolute;
	right: 0px;
}

#header-right .map-select-button {
	display: inline-block;
	font-size: 18px;
	color: #ffffff;
	font-weight: 700;
	line-height: 60px;
	width: 140px;
	height: 60px;
	text-align: center;
	vertical-align: middle;
	border-right: 1px solid #0141a0;
    border-left: 1px solid #679ae5;
}

#header-right .map-select-button #mark{
	display: inline-block;
	position: right;
	font-size: 8px;
	vertical-align: top;
}

.map-list-section {
	position: absolute;
	display: none;
	font-size: 14px;
	top: 60px;
	right: 60px;
	background-color: #ffffff;
	line-height: 30px;
	width: 140px;
	height: auto;
	z-index: 10002;
}

#map-name {
	width: 118px;
}

#map-name:after {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 7px;
    height: 7px;
    margin-top: -8px;
    content: "";
    border: 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.map-list li {
    display: block;
    color: rgb(1, 93, 178);
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 10px 2px 10px;
    text-decoration: none;
    background: rgb(255, 255, 255);
}

.map-list li.selected{
    color: #ffffff;
    background: #0095db;
}

#header-right ul img {
	margin-top: 10px;
	height: 40px;
}

.menu-button img {
	margin-top: 15px;
	height: 31px;
}

.menu-button {
	position: fixed;
	right: 0;
	width: 60px;
	height: 60px;
	text-align: center;
	background: #fff;
	opacity: 1;
}

.umi-header .header-wrap {
	background: #1878cf;
}

.umi-header .header-webapp {
	background: #1878cf;
}

/* header subbar */
.header-subbar {
	position: fixed;
	top: 60px;
	width: 100%;
	height: 26px;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.7);
}

.header-date {
	float: left;
	color: #eee;
}

.header-date div {
	float: left;
}

#date-type {
	font-size: 11px;
	margin-left: 6px;
	height: 26px;
	line-height: 26px;
	vertical-align: middle;
}

#date-divider {
	height: 13px;
	margin: 6px 6px;
	border-right: 1px solid #ccc;
}

#date-time {
	font-size: 12px;
	height: 26px;
	line-height: 26px;
	vertical-align: middle;
}

.header-legend {
	float: right;
	padding-right: 8px;
	padding-top: 4px;
}

.legend img {
	height: 18px;
	opacity: 0.87;
}

/* header web app */
.header-webapp {
	position: fixed;
	top: 0;
	width:100%;
	height: 20px;
	opacity:0.87;
}

.header.webapp .header-wrap,
.header.webapp .menu-button {
	top: 20px;
}

.header-subbar.webapp {
	top: 80px;
}

.slider-otca-tempetature {
	position: absolute;
	margin-left: 6px;
	text-align: center;
	font-size: 14px;
	display: none;
	padding: 6px;
	background: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	top: 96px;
	width: 114px;
	height: auto;
	border-radius: 4px;
	z-index: 3000;
}

.slider-otca-button {
	position: absolute;
	display: none;
	text-align: center;
	font-size: 14px;
	padding: 0px;
	background: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	top: 168px;
	width: 72px;
	height: 22px;
	z-index: 3000;
}

.slider-otca-section {
	position: absolute;
	display: none;
	padding: 10px 10px;
	background: rgba(0, 0, 0, 0.7);
	top: 202px;
	width: 52px;
	height: 270px;
	z-index: 3000;
}

#slider-otca {
	height: 270px;
}

.noUi-pips {
	color: #ffffff;
}

.noUi-value-vertical {
	padding-left: 14px;
}

.noUi-marker-large {
    background: #ffffff;
}

.noUi-value-large {
    font-size: 12px;
}

.noUi-marker-vertical.noUi-marker-large {
	width: 8px;
}

.noUi-target {
	border: none;
	background-image: linear-gradient(to bottom, 
	#FFC8C8 10%, #FF949E 10% 15%, #F7706C 15% 20%, #EE504E 20% 25%, #F7784A 25% 30%, #FFA045 30% 35%, #F7CD5F 35% 40%, #F6EA64 40% 45%, #DFF58D 45% 50%,
	#A1EF91 50% 55%, #63E894 55% 60%, #6CEAD7 60% 65%, #44CAFF 65% 70%, #2CABFF 70% 75%, #0D81F8 75% 80%, #0028E0 80% 85%, #000AC8 85% 90%, #280096 90% 100%);

}

.noUi-connect {
	border: solid #000 3px;
	background: rgba(0, 0, 0, 0.0);
}

.noUi-pips-vertical {
    padding: 0 5px;
}

.noUi-vertical .noUi-handle {
    width: 28px;
    height: 16px;
    right: -6px;
    bottom: -8px;
}

.noUi-vertical .noUi-handle:before, .noUi-vertical .noUi-handle:after {
    width: 14px;
    height: 1px;
    left: 6px;
    top: 6px;
}

.noUi-vertical .noUi-handle:after {
    top: 6px;
}

.noUi-handle:before, .noUi-handle:after {
    background: #818181;
}

.noUi-vertical .noUi-tooltip {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    top: 50%;
    right: 0%;
}

.noUi-value-sub {
    display: none;
}

.noUi-marker-sub {
    background: #ffffff;
}

.noUi-marker-vertical.noUi-marker-sub {
    width: 5px;
}


/* control (animation button + slider) */
.control {
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	background: rgba(0, 0, 0, 0.7);
	text-align: center;
 	color: rgb(86, 86, 86);
}

.control ul {
	display: block;
	height: 40px;
	margin: 0;
	padding: 0;
	line-height: 40px;
	list-style: none;
	cursor: default;
}

.control ul li {
	display: inline-block;
	width: auto;
	height: 55px;
	line-height: 55px;
}

#control-mobile {
	width: 100%;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 1000;
}

/* overwirte jQuery UI Slider style */
.ui-slider .ui-slider-handle {
	outline: none;
	height: 20px;
	width: 20px;
	border-radius: 100%;
}

.ui-slider-horizontal .ui-slider-handle {
	top: -11px;
	margin-left: -11px;
}

.ui-slider .ui-slider-range {
	background: #397DBA;
}

#slider .ui-state-active {
	border: 1px solid #c5c5c5;
	background: #f6f6f6;
}

/* slider */
.control .control-right {
	margin: 0;
	height: 8px;
	display: inline-block;
	border: none;
	float: right;
	width: 100%;
	margin-left: -75px;
}

.control .slider-wrap {
	margin-left: 80px;
	margin-right: 20px;
	position: relative;
}

.control #slider {
	width: 100%;
	height: 4px;
	position: absolute;
	top: 20px;
	border: none;
}

/* slider mark */
.control #slider-mark-lines {
	width: 100%;
	height: 4px;
	position: absolute;
	top: 28px;
}

.control #slider-mark-lines div {
	border-left: 1.5px solid #858585;
	height: 4px;
	position: absolute;
	margin-left: -0.75px;
}

.control #slider-mark-lines div.mark {
	border-left: 1.5px solid #fff;
}

.control #slider-mark-text {
	width: 100%;
	position: absolute;
	top: 36px;
	line-height: 11px;
}

.control #slider-mark-text div {
	position: absolute;
	font-size: 11px;
	color: #fff;
}

.control #slider-mark-text div.left {
	margin-left: -4px;
}

.control #slider-mark-text div.center {
	margin-left: -11px;
}

.control #slider-mark-text div.right {
	margin-left: -36px;
	margin-right: -6px;
}

.control #slider-mark-text div.h {
	margin-left: -4px;
}

.control #day_text {
	position: absolute;
	font-size: 8px;
	color: #fff;
	right: -14px;
	bottom: -69px;
}

/* play button */
#control-mobile #control-button {
	float: left;
	width: 75px;
}

div#animation {
	position: relative;
	height: 35px;
	width: 50px;
	margin: 10px 10px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#animation a {
	display: block;
	z-index: 1100;
	text-align:center;
	font-size: 14px;
	text-decoration:none;
}

#animation.play a:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 21px;
	width: 0;
	height: 0;
	margin-top: -7px;
	border: 7px solid transparent;
	border-left: 11px solid #858585;
}

#animation.stop a:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 19px;
	width: 4px;
	height: 14px;
	margin-top: -7px;
	border-right: 4px solid #858585;
	border-left: 4px solid #858585;
}

.timetip span {
	width: 100px;
	height: 20px;
	padding: 2px;
	font-size: 12px;
	margin: -42px 0px 0px 0px;
	border-radius: 6px;
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	position: absolute;
	right: -10px;
	line-height: 20px;
	text-align: center;
	z-index: 4000;
}

.timetip:before {
	top: 50%;
	border-top: 10px solid #000000;
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	border-top-color: rgba(0, 0, 0, 0.7);
	border-width: 8px;
	margin-top: -28px;
}

/* map zoom control */
#map .leaflet-control-zoom {
	position: fixed;
	bottom: 56px;
	right: 0;
	border: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
#map .leaflet-control-zoom a {
	color: #858585;
}

#map .leaflet-control-zoom .leaflet-control-zoom-in {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

#map .leaflet-control-zoom .leaflet-control-zoom-out {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

/* upscale mobile */
@media screen and (max-width: 959px) {
	#map .leaflet-control-zoom a {
		width: 40px;
		height: 39px;
		line-height: 39px;
		font-size: 24px;
		color: #858585;
	}

	#map .leaflet-control-zoom .leaflet-control-zoom-in {
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
	}

	#map .leaflet-control-zoom .leaflet-control-zoom-out {
		border-bottom-left-radius: 6px;
		border-bottom-right-radius: 6px;
	}
}

#particle-button {
	position: fixed;
	right: 13px;
	bottom: 288px;
	z-index: 1000;
	width: 34px;
	height: 34px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	text-align: center;
}

#particle-button img {
	width: 22px;
	position: absolute;
	top: 36%;
	left: 50%;
	margin-top: -6px;
	margin-left: -11px;
}

#info-button {
	position: fixed;
	right: 13px;
	bottom: 260px;
	z-index: 1000;
	width: 34px;
	height: 34px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	text-align: center;
}

#info-button img {
	width: 22px;
	position: absolute;
	top: 36%;
	left: 50%;
	margin-top: -6px;
	margin-left: -11px;
}

#otca-slider-info-button {
	display: none;
	position: fixed;
	right: 10px;
	bottom: 208px;
	z-index: 1000;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	text-align: center;
}

#otca-slider-info-button img {
	width: 22px;
	position: absolute;
	top: 36%;
	left: 50%;
	margin-top: -6px;
	margin-left: -11px;
}

/* position button */
#position {
	position: fixed;
	right: 10px;
	bottom: 156px;
	z-index: 1000;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	text-align: center;
}

#position img {
	width: 18px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -9px;
	margin-left: -9px;
}

#position-loading {
	position: fixed;
	right: 52px;
	bottom: 160px;
	height: 20px;
	padding: 4px 6px;
	font-size: 12px;
	color: #fff;
	background: rgba(33, 33, 33, 0.7);
	z-index: 1000;
	display: none;
}

/* toggle-info */
.toggle-info {
	position: relative;
	right: 0px;
	top: 96px;
	width: 16px;
	height: 34px;
	float: right;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.7);
}

.toggle-info div{
	margin-top: 7px;
	text-align: center;
	color: #eee;
	font-size: 12px;
}

/* toggle-block */
#toggle-block {
	position: relative;
	right: 0px;
	top: 96px;
	width: 140px;
	height: 34px;
	float: right;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.7);
}
#toggle-block a{
	color: #eee;
	font-size: 12px;
	border-bottom: solid 1px #eee;
	text-decoration: none;
}

/* PC */
#map-select.pc {
	display: none;
}
.menu-button.pc {
	display: none;
}

.footer-legend {
	display: none;
}

@media screen and (min-width: 960px) {
	/* header */
	#map-select {
		display: none;
	}
	.menu-button {
		display: none;
	}

	#map-select.pc {
		display: block;
	}
	ul#map-select.pc li {
		width: 80px;
		height: 50px;
	}
	#map-select.pc li img {
		height: 24px;
		margin-top: 13px;
	}

	.menu-button.pc {
		display: block;
		width: 100px;
		height: 50px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
	}
	
	.menu-button.pc img {
		height: 24px;
		margin-top: 13px;
	}

	.header-wrap {
		right: 100px;
		height: 50px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
	}

	#header-title {
		right: 140px;
		padding: 0;
		height: 50px;
		background-size: 45px auto;
 		background-position: 129px 14px;
	}
	
	#header-title a {
		text-decoration: none;
	}

	#header-title img {
		height: 24px;
		width: auto;
		margin-left: 10px;
		padding-top: 10px;
	}

	#header-title h1 {
		display: inline-block;
		margin-left: 66px;
		font-size: 16px;
	}
	
	#header-right .map-select-button {
		height: 50px;
		line-height: 50px;
	}
	
	.map-list-section {
		top: 50px;
		right: 100px;
	}

	/* date */
	.header-subbar {
		top: 60px;
		left: 10px;
		width: auto;
		height: 30px;
		border-radius: 15px;
		box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.15);
	}

	#date-type {
		font-size: 14px;
		height: 30px;
 		line-height: 30px;
		margin-left: 14px;
	}

	#date-divider {
		height: 18px;
		margin: 6px 10px
	}

	#date-time {
		font-size: 16px;
		height: 30px;
 		line-height: 30px;
		margin-right: 14px;
	}

	/* legend */
	.header-legend {
		display: none;
	}

	.footer-legend {
		display: block;
		position: fixed;
		bottom: 10px;
		right: 10px;
		z-index: 1000;
		background: rgba(0, 0, 0, 0.7);
		padding: 5px 10px 0px 10px;
		border-radius: 2px;
		box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.15);
	}
	
	.slider-otca-tempetature {
		margin-left: 10px;
		top: 100px;
	}
	
	.slider-otca-button {
		padding: 4px;
		top: 176px;
		width: 64px;
		height: auto;
	}
	
	.slider-otca-section {
		padding: 20px 10px;
		top: 224px;
		width: 52px;
		height: 320px;
	}
	
	#slider-otca {
		height: 320px;
	}

	/* slider */
	#control-mobile {
		width: 450px;
		bottom: 10px;
		left: 10px;
		border-radius: 4px;
		box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.15);
	}

	/* zoom button */
	#map .leaflet-control-zoom {
		bottom: 40px;
	}
	
	#info-button {
		bottom: 200px;
		width: 30px;
		height: 30px;
		border-radius: 20px;
		right: 10px;
	}

	#info-button img {
		width: 20px;
		margin-top: -6px;
		margin-left: -10px;
	}
	
	#otca-slider-info-button {
		bottom: 160px;
		width: 30px;
		height: 30px;
		border-radius: 20px;
		right: 10px;
	}

	#otca-slider-info-button img {
		width: 20px;
		margin-top: -6px;
		margin-left: -10px;
	}

	/* position button */
	#position {
		bottom: 120px;
		width: 30px;
		height: 30px;
		border-radius: 20px;
	}

	#position img {
		width: 16px;
		margin-top: -8px;
		margin-left: -8px;
	}

	#position-loading {
		right: 42px;
		bottom: 122px;
		padding: 2px 4px;
	}

}
