html, body {
	height: 100%;
	margin: 0;
}

.float_box1 {
	width: 20%;
	margin: 5px;
	float: left;
}

.float_box2 {
	width: 100%;
	height:100%;
	float: left;
}

.float_box3{
	width: 40%;
	margin: 5px;
	float: left;
}

.float_box-wrap {
	display: flex;
	height: 100%;
	overflow: hidden;
}


.bousai_box-wrap {
	display: flex;
	flex-direction:column;
	height: 100%;
	width: 100%;
	/* overflow: hidden; */
}

.ol-map {
	width: 100%;
	/* height: 100%; */
	flex-grow:1;
	flex-shrink:1;
}

.ol-popup {
	position: absolute;
	background-color: white;
	-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
	filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #cccccc;
	bottom: 12px;
	left: -50px;
	min-width: 200px;
	will-change: filter;
}

.ol-popup:after, .ol-popup:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.ol-popup:after {
	border-top-color: white;
	border-width: 10px;
	left: 48px;
	margin-left: -10px;
}

.ol-popup:before {
	border-top-color: #cccccc;
	border-width: 11px;
	left: 48px;
	margin-left: -11px;
}

.ol-popup-closer {
	text-decoration: none;
	position: absolute;
	top: 2px;
	right: 8px;
}

.ol-popup-closer:after {
	content: "X";
}

.modal-button-prev {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 20px 10px 0;
	border-color: transparent #007bff transparent transparent;
}

.modal-button-next {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 20px;
	border-color: transparent transparent transparent #007bff;
}

.modal-button-close, .modal-button-download, .modal-button-update, .modal-button-setup, .modal-button-graph{
	appearance: none;
	border: 0;
	border-radius: 3px;
	background: #FFA500;
	color: #fff;
	padding: 5px 8px;
	font-size: 10px;
}

.modal-buttons li {
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
}

.smartphone .modal-buttons {
	display: flex;
	justify-content: space-between;
}

#past-images {
	height: 300px;
	width: 25%;
	float: left;
	overflow-y:scroll;
	scrollbar-base-color: #999;
	border-right: 5px solid #fff;
}

.past-image {
	width: 90%;
	height: 50px;
	border: solid #fff;
}

.desktop #main-image {
	height: 70%;
	width: 70%;
	display: flex;
}

.smartphone #main-image {
	width: 90%;
}

#main-info {
	width: 70%;
	display: flex;
	margin-top: 20px;
}

.smartphone #main-info {
	margin: 0;
	width: 90%;
}

.smartphone #main-info > div {
	width: 100%;
}

.smartphone #main-info ul {
	padding: 0;
}

.main-image {
	float: left;
	width: 100%;
}

#list {
	height: 100%;
	overflow:hidden;	
	overflow-y:scroll;
	scrollbar-base-color: #999;
	/*border: 1px solid #999;*/
	/*margin-bottom:0px;*/
}

#list > div > p {
	font-size: 0.8em;
}

.ui-dialog-titlebar {
    display: none;
}

.main-img-info {
	font-size: 10px;
	float:left;
	width:50%;
}

.smartphone .main-img-info {
	margin: 10px 0;
	width:100%;
}

#set-date {
	margin-bottom: 10px;
}

#set-date div {
	padding: 10px;
	margin-bottom: 10px;
	background-color: #ffeeff;
	font-size: 10px;
	font-color: red;
	border: 1px solid #ffbbff;
	border-radius: 5px;
}

.img-focus {
	margin-right: 5px;
}

.img-focus-active {
	border: 1px solid #f06060;
}

#iframe1 {
	width: 800px;
	height: 500px;
}

@media screen and (max-width: 896px) and (orientation: landscape) {
	.smartphone .main-img-info br {
		display: none;
	}
	.smartphone .main-img-info {
		margin: 4px 0;
	}
	#past-images {
		width: 30%;
	}
	.smartphone #main-image, .smartphone #main-info {
		width: 80%;
	}
}

#div-map {
	height: 100%;
}
.desktop #div-map.list-shown {
	height: 75%;
}
.smartphone #div-map.list-shown {
	height: 60%;
}
#div-list {
	height: 0;
	display: flex;
	flex-direction:column;
}
.desktop #div-list.list-shown {
	height: 25%;
}
.smartphone #div-list.list-shown {
	height: 40%;
}
#div-list .title {
	padding: 0.5em 0 0 1em;
	font-size: 1.1em;
}
#div-list div.buttons table {
	max-width: 100%;
	margin: 0 1%;
}
#div-list div.buttons table button {
	background-color: #ed7d6e;
	color: #ffffff;
	border-sidth: 1px;
	border-color: #808080;
	padding: 0 0.5em;
	margin: 0.5em 0.6em;
	border-radius: 5px;
	min-width: 3em;
}
#div-list div.buttons table td.selected button {
	background-color: #db4531;
	color: #ffffff;
}
#div-list div.div-list {
	overflow: auto;
}
#div-list div.div-list table {
	margin: 0 1em;
}
#div-list div.div-list table td {
	padding: 0.4em 0.6em;
	border: 1px solid #808080;
}
#div-list div.div-list table tr.list-title td {
	background: linear-gradient(0, #a44234, #d37f73);
	color: #ffffff;
}

.layerchanger {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	z-index: 10;
}

#div-legend .legend-close {
	float: right;
	margin: 0.5em;
}

#div-map .legend-open {
	position: absolute;
	left: 0;
	top: 6em;
	display: none;
}

#div-map .map-pin {
	background-image: url("../images/button/map-pin.svg");
	width: 21.75px;
	height: 30.75px;
}
#div-map .map-pin div.text {
	position: absolute;
	top: 0;
	left: 25px;
	width: 16em;
	color: #b31412;
}

.smartphone button, .desktop button {
	color: black;
}
.smartphone #div-legend button {
	padding: 0.4em 0.2em;
	margin: 0.1em;
	font-size: 1.4em;
}
.smartphone #div-legend input[type="text"] {
	margin: 0.1em;
	font-size: 1.4em;
	padding: 0.2em;
}

.smartphone .treeview .hitarea {
    width: 20px;
    height: 20px;
	margin-top: 2px;
}
.smartphone .treeview .hitarea.collapsable-hitarea {
	background: url(../images/button/square-minus-15.png) 0 0 no-repeat;
}
.smartphone .treeview .hitarea.expandable-hitarea {
	background: url(../images/button/square-plus-15.png) 0 0 no-repeat;
}

.desktop td.popup-hazard {
	white-space:nowrap;
}
.smartphone td.popup-hazard:nth-child(1) {
	min-width: 80px;
}
.smartphone td.popup-hazard:nth-child(3) {
	min-width: 100px;
}
.smartphone .ol-popup {
	min-width: 160px;
}
