/*--------------------------------------------------------------
	Camera page
--------------------------------------------------------------*/
.apologise{
	text-align: center;
}

.apologise img{
	width: 200px;
	height: auto;
}

.ui-slider{
	margin:0 auto;
	width: 96.3%;
	position: relative;
}

.dot{
  position: absolute;
  top: 2px;
  width: 1px;
  height: 4px;
  background-color: #ccc;
}

.dot_1{
  left: 16.6667%;
}

.dot_2{
  left: 33.3334%;
}

.dot_3{
  left: 50%;
}

.dot_4{
  left: 66.6667%;
}

.dot_5{
  left: 83.3334%;
}

.camera{
	margin:60px 0px 0px 0px;
}

.camera-header{
	display: inline-block;
	width:100%;
	margin:0px 0px 15px 0px;
}

.camera-header a{
	display: block;
}

.camera-header .area{
	font-size: 0.8em;
}

.camera-header::after{
	content:"";
	clear: both;
	display: block;
}

.camera h1,
.camera h2,
.title-wrap h1,
.title-wrap h2{
	display: inline;
	color: #707070;
	font-size:1.2rem;
	vertical-align: middle;
	margin:0px 0px 0px 0px;
	font-weight: 500;
}

.title-wrap a{
	color: #707070;
}

.title-wrap{
	border-bottom:2px solid #16889d;
	padding:0px 0px 0.5rem 0px;
	margin:0px 0px 0.5rem 0px;
	box-sizing: border-box;
}



.title-wrap .check{
	color:#26b8d3;
	border:2px solid #0073aa;
	border-radius:5px;
	padding:0.3em 0.9em 0.3em 0.9em;
	font-size:0.7em;
	vertical-align: middle;
	float: right;
	cursor: pointer;
}

.title-wrap .check:hover{
	opacity: 0.8;
}

.img-wrap,
.sub-img-wrap{
	position: relative;
}

.img-wrap img,
.sub-img-wrap img{
	width: 100%;
	height: auto;
	border:1px solid #ccc;
	box-sizing: border-box;
}

.img-wrap .date,
.sub-img-wrap .date{
	display: block;
	position: absolute;
	top:10px;
	left: 10px;
	padding-right:7px;
	height: 25px;
	line-height: 25px;
	background-color:#fff;
	border-radius: 15px;
	color:#666;
	font-size: 13px;
	box-shadow:1px 1px 3px #aaa;
	box-sizing: border-box;
	text-align: left;
}

.img-wrap .date .date-text,
.sub-img-wrap .date .date-text{
	position: relative;
	padding:0px 0px 0px 0.8em;
	box-sizing: border-box;
	line-height: 25px;
}

.sub-img-wrap .date .date-text{
	padding:0px 0px 0px 25px;
}

.sub-img-wrap .date .date-text span{
	color: #0085ba;
	margin: 0 5px 0 0;
}

.img-wrap .date .date-text::before,
.sub-img-wrap .date .date-text::before{
	position: absolute;
	left: 6px;
	content: "\f469";
	font-family: dashicons;
	font-size:1.3em;
}

.date-hidden{
	visibility: hidden;
}
.date-visible{
	visibility: visible;
}

.img-wrap .download-btn,
.sub-img-wrap .download-btn{
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 50px;
}

.img-wrap .download-btn:before,
.sub-img-wrap .download-btn:before {
    position: absolute;
    top: 0px;
    left: 0px;
    content: "";
	background: url('../../inc/img/download.png') no-repeat;
	background-size: contain;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.img-wrap .fullscreen-btn,
.sub-img-wrap .fullscreen-btn,
.img-wrap .fullscreen-exit,
.sub-img-wrap .fullscreen-exit{
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 3px;
    background-color: #ffffff;
    color: #000000;
    padding: 3px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.img-wrap .fullscreen-btn:before,
.sub-img-wrap .fullscreen-btn:before {
		margin: auto;
    font-family: dashicons;
    content: "\f188";
	cursor: pointer;
}

.img-wrap .fullscreen-exit:before,
.sub-img-wrap .fullscreen-exit:before {
		margin: auto;
    font-family: dashicons;
    content: "\f189";
	cursor: pointer;
}

.img-wrap .img-btn,
.sub-img-wrap .img-btn{
	display: block;
	position: absolute;
	top:10px;
	left: 10px;
	width:150px;
	height: 25px;
	line-height: 25px;
	background-color:#fff;
	border-radius: 15px;
	color:#666;
	font-size: 13px;
	box-shadow:1px 1px 3px #aaa;
	box-sizing: border-box;
	text-align: center;
}

.img-wrap .img-btn:before,
.sub-img-wrap .img-btn:before {
    position: absolute;
    top: 0px;
    left: 5px;
    font-family: dashicons;
    content: "\f469";
	cursor: pointer;
}

.img-wrap .img-btn .date-text,
.sub-img-wrap .img-btn .date-text{
	position: relative;
	padding:0px 0px 0px 0.8em;
	box-sizing: border-box;
	line-height: 25px;
}

.img-wrap .date .latest-text{
	color: #0085ba;
	font-size: 12px;
	vertical-align: top;
}

.slider-wrap{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin:10px 0px 0px 0px;
	padding: 5px 0px;
}

.slider-wrap .slider-btn{
	display: inline-block;
	width: 80px;
	height: 60px;
	box-sizing: border-box;
	border-radius:3px;
	padding:0;
	margin:0px 10px 0px 0px;
	background: #0073aa;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	line-height: 50px;
}

.slider-wrap .slider-btn:hover{
	opacity: 0.8;
}

.slider-wrap .slider-btn.play{
	background-image:url('../../inc/img/icon_play.png');
}

.slider-wrap .slider-btn.stop{
	background-image:url('../../inc/img/icon_stop.png');
}


.slider-wrap .slider-bar{
	width: calc(100% - 100px);
	margin: 0px 0px 0px 0px;
}

.slider-wrap .slider-bar .flex{
	display: flex;
	justify-content: space-between;
	margin: 0.4em 0 0 0;
}

.slider-wrap .slider-bar .time-area{
	align-items:flex-end;
	margin: 0 0 7px 0;
}

.slider-wrap .slider-bar .flex span{
	font-size: 0.8em;
	color: #777;
}

.slider-wrap .slider-bar .flex span.no-favorite-memo{
	margin:0 0 0 23px;
}

.camera-info-wrap{
	margin:15px 0px 0px 0px;
	padding:0px 0px 0px 0px;
}

.camera-info-wrap h2{
	display: block;
}

.camera-info-wrap .description{
	position: relative;
	margin:40px 0px 0px 0px;
	padding: 15px 15px 15px 15px;
	border: 2px solid #ca8e1c;
	border-radius: 0px 0px 5px 5px;
}

.camera-info-wrap .description h2{
	position: absolute;
	top: -30px;
	left: -2px;
	color: #fff;
	background-color: #ca8e1c;
	font-size: 1em;
	height: 30px;
	line-height: 30px;
	padding: 0 0.5em 0 0.5em;
	border-radius: 5px 5px 0 0;
}

.camera-info-wrap .camera-info-slide .camera-info{
	display: flex;
	justify-content: space-around;
	margin:0px 0px 10px 0px;
	padding:0px 0px 0px 0px;
}

.camera-info li{
	position: relative;
	width: 25%;
	margin:0px 0px 0px 0px;
	font-size:1.2em;
	text-align: center;
	list-style:none;
	box-sizing: border-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	text-shadow: 0px 0px 1px #ccc;
}

.camera-info li::before{
	content: "";
	position: absolute;
	top: 15%;
	left: 0;
	height: 70%;
	width: 1px;
	background-color:#ccc;
}

.camera-info li:last-of-type::after{
	content: "";
	position: absolute;
	top: 15%;
	right: 0;
	height: 70%;
	width: 1px;
	background-color:#ccc;
}

.camera-info .temp{
	background-image:url('./assets/images/icon_temp.png');
}

.camera-info .road-temp{
	background-image:url('./assets/images/icon_roadtemp.png');
}

.camera-info .wind{
	background-image:url('./assets/images/icon_wind.png');
}

.camera-info .rain{
	background-image:url('./assets/images/icon_rain.png');
}

.camera-info li .title{
	display: block;
	font-size:0.8em;
}

.another-camera-area{
	margin:40px 0px 0px 0px;
}

.another-camera{
	overflow: hidden;	
	margin:0px 0px 20px 0px;
}

.message-area{
	margin: 40px 0 0 0;
}

.another-camera img{
	display: block;
	width:130px;
	height: auto;
	float: left;
	border:1px solid #ccc;
	box-sizing: border-box;
	box-shadow:1px 1px 5px #ccc;
}

.another-camera .text{
	width: calc(100% - 140px);
	float: right;
}

.another-camera h3{
	padding:0px 0px 0px 0px;
	margin:0px 0px 5px 0px;
}

.another-camera h3 a{
	color: #666;
	font-size: 0.8em;
}

.another-camera .link{
	border:1px solid #16889d;
	border-radius:5px;
	color:#16889d;
	padding:0.3em 0.8em 0.3em 0.8em;
	font-size:0.8rem;
	box-sizing: border-box;
}

.camera-location{
	margin: 40px 0px 0px 0px;
}

/* override jquery ui style */
.camera .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br{
	border-radius:1.2em;
}

#main .ui-slider-handle {
	background-color:#0073aa;
}

#main .ui-slider-handle:hover {
	cursor: pointer;
}

.camera .ui-slider-horizontal{
	height: 10px;
}

.slider-wrap .slider-bar .ui-slider:hover{
	cursor: pointer;
}

.slide-date .form-control{
	cursor: pointer;
    line-height: 0.8;
	font-size: 0.7rem;
	margin:0 0 0 20px;
	padding: 5px;
	width:135px;
	color: #0073aa;
}

.slide-date .form-control.disabled{
	cursor: pointer;
    line-height: 0.8;
	font-size: 0.7rem;
	margin:0 0 0 20px;
	padding: 5px 5px 5px 15px;
	width:135px;
	color: #555555;
}

.slide-date .picker::before{
	position: relative;
	top: 4px;
	left: 150px;
	content: "\f508";
	font-family: dashicons;
	font-size:1.3em;
	pointer-events: none;
}

.time-area input[type="datetime-local"]::-webkit-calendar-picker-indicator{
	cursor: pointer;
}

.container-sub .memo-slide .flex{
	justify-content: space-between;
}

@media screen and (min-width: 48em){
  
	.dot{
		top: 3px;
		height: 5px;
	}
	.camera{
		margin:30px 0px 0px 0px;
	}

	.current-camera{
		overflow: hidden;
	}
	.camera-header{
		width: 48%;
		float: right;
		box-sizing: border-box;
		margin:0px 0px 0px 0px;
	}

	.camera-slide-wrap{
		display: inline-block;
		width: 50%;
		float: left;
	}

	.camera-info-wrap{
		display: inline-block;
		width:50%;
		float: right;
		box-sizing: border-box;
		padding:0px 0px 0px 1em;
	}

	.another-camera-wrap{
		display: flex;
		justify-content: left;
		clear: both;
		flex-wrap: wrap;
		margin:20px 0px 40px 0px;
	}

	.another-camera-wrap h2{
		flex-basis: 100%;
	}

	.another-camera-wrap .another-camera{
		flex-basis: 30%;
		overflow: inherit;
		margin:0px 3% 0px 0px;
	}

	.another-camera img{
		width: 100%;
		float: none;
	}

	.another-camera .text{
		width: 100%;
		float: none;
		text-align: center;
		margin:0.4rem 0 0 0;
	}

	.another-camera .link{
		padding:0.3em 1.5em 0.3em 1.5em;
	}


}
