
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	/*overflow: hidden;*/
}

a:focus,
button:focus {
	outline: 0px;
}

#header {
	height: 30px;
}
#header h2 {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	font-size: 20px;
	font-weight: normal;
	padding: 20px 10px;
	color: #1a2202;
	border-left: 8px solid #18305a;
	background: #dae3f3;
}
#header h2 a {
	color: #1a2202;
	text-decoration: none;
}
#header h2 a:hover {
	color: #18305a;
	text-decoration: none;
}
div.full {
	width: 100%;
	height: 100%;
}
#view {
	min-width: 240px;
}
#olmap {
    position: relative;
}
#popup {
	display:none;
	min-width: 350px;
}
@media screen and (max-width:500px) {
	#popup {
		display:none;
		max-width: 300px;
		min-width: 200px;
	}
}
.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;*/
	padding: 0px 0px 4px 0px;
	border-radius: 10px;
	border: 1px solid #cccccc;
	bottom: 12px;
	left: -50px;
	/*min-width: 200px;*/
	min-width: 220px;
	font-size: 14px;
}
.ol-popup [data-checktool]{
	max-width: 220px;
    word-wrap: break-word; 
    overflow-wrap: break-word;
    white-space: normal !important;
}
.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;
    color: #eee;
}
.ol-popup-closer:after {
/*	content: "✖";	*/
/*	content: "×";	*/
	content: "x";
}
.ol-popup-edit,
.ol-feature-text,
.ol-feature-modify,
.ol-feature-delete {
	float: right;
	min-width: 40px;
	height: 18px;
	padding: 2px 8px 2px 8px;
	/*margin-left: 2px;*/
	margin-right: 4px;
}
.popup-table table th,
.popup-table table td {
	padding: 2px;
	word-break: normal;
}
.popup-table table th {
	font-weight: bold;
}
#popup-title {
	margin-bottom: 8px;
	padding: 4px;
	/*background: rgba(0, 60, 136, 0.2);*/
    color: #fff;
	background: #4285f4;
    border-radius: 10px 10px 0px 0px;   /* 左上と右上の角を丸める */
    text-align: center;
}
#popup-content {
	/*margin-bottom: 4px;*/
	margin: 8px;
	min-height: 1em;
}

.popup_comment {
	margin: 10px;
	border: 1px dashed #000000;
    padding: 5px;
}

#info {
	position:absolute;
	bottom:10px;
	left:200px;
	right:200px;
	background:rgba(200,200,200,0.5);
	display: block;
	font-size: x-small;
}
#gsimap_info {
	display:none;
}

#layerbox_1,
#layerbox_2,
#layerbox_3,
#layerbox_4 {
	display:none;
	position:absolute;
	top:120px;
	right:.5px;
	padding:3px;
	width:250px;
	max-height: 200px;
	border-radius:4px;
	color:#fff;
	background: rgba(255, 255, 255, 0.4);
	z-index:100;
	font-size: 14px;
}
#layerbox_1 ul,
#layerbox_2 ul,
#layerbox_3 ul,
#layerbox_4 ul {
	display:none;
}
#layerbox_1 ul li,
#layerbox_2 ul li,
#layerbox_3 ul li,
#layerbox_4 ul li {
	margin-top: 4px;
}
#baselayerswitcher,
#overlayerswitcher,
#overlayerswitcher1,
#overlayerswitcher2 {
	margin:0;
	padding:10px;
	border-radius:4px;
	background:rgba(0, 60, 136, 0.5);
	list-style-type:none;
	overflow-y: auto;
}
#layerbox_1 button,
#layerbox_2 button,
#layerbox_3 button,
#layerbox_4 button {
	width: 100px;
	//height: 18px;
}
#baselayerswitcher li label input[type="radio"],
#overlayerswitcher li label input[type="checkbox"],
#overlayerswitcher1 li label input[type="checkbox"],
#overlayerswitcher2 li label input[type="checkbox"] {
	display: inline; /* 初期化 */
	width: auto;	/* 初期化 */
	height: auto;	/* 初期化 */
	opacity: 1;		/* 初期化 */
	margin-right: 4px;
}
img.layerswitcher {
	border-radius: 3px;
}
img.layerswitcher.btn_on {
	border: 3px #fff solid;
}
img.layerswitcher.btn_off {
	border: 3px #000 solid;
}

#toolbox-top {
	display:none;
	position:absolute;
	width:auto;
	top: 70px;
	left: 7px;
	overflow-x: visible;
	margin:0px;
	padding:0px;
	border-radius:4px;
	color:#f00;
	background: rgba(0, 255, 255, 0.0);
	z-index:100;
}
#toolbox-top > div {
	float: left;
}

#toolbox-top button {
	display: inline;
}

#toolbox-lefttop {
	display:block;
	position:absolute;
	width:auto;
	top:6px;
	left:40px;
	overflow-x: visible;
	margin:0px;
	padding:0px;
	border-radius:4px;
	color:#f00;
	background: rgba(0, 255, 255, 0.0);
	z-index:100;
}
#toolbox-lefttop div {
	width: auto;
}
#toolbox-righttop {
	display:block;
	position:absolute;
	top: 0.5em;
	right: 7px;
	margin:0px;
	padding:0px;
	width:auto;
	overflow-x: visible;
	border-radius:4px;
	color:#f00;
	background: rgba(0, 255, 255, 0.0);
	z-index:100;
}
#toolbox-righttop div {
	float: right;
	margin:auto 3px;
}

#toolbox-rightbottom {
	display:block;
	position:absolute;
	bottom: 18px;
	right: 7px;
	margin:0px;
	padding:0px;
	height: 70px;
	width:auto;
	min-width: 160px;
	border-radius:4px;
	color:#f00;
	background: rgba(0, 255, 255, 0.0);
	z-index:100;
}
#toolbox-rightbottom div {
/*	float: right;	*/
/*	margin:auto 3px;	*/
}

.mytoolbox-button {
	position: static;
	display: inline;
	width: auto;
}
.mytoolbox-button img {
	width: 32px;
	height: 32px;
}
.mytoolbox-button img.layerswitcher {
	width: 32px;
	height: auto;
}

.mytoolbox-button-float {
	float: left;
}
.mytoolbox-button-clear {
	clear: both;
}

#zoomincontrol {
}


.ol-control button {
	width: auto;
	height: auto;
	min-width: 1.37em;
	min-height: 1.37em;
	line-height: .6em !important;
}

.ol-zoom button, .ol-zoomslider button {
  background-color: rgba(0,0,0,0.7);
  font-size: 21px;
}
.ol-zoom button:hover, .ol-zoomslider button:hover,
.ol-zoom button:focus, .ol-zoomslider button:focus {
  background-color: rgba(0,0,0,0.5);
}

/**
* The zoomslider in the second map shall be placed between the zoom-in and
* zoom-out buttons.
*/
.ol-zoom .ol-zoom-out {
	margin-top: 204px;
}
.ol-zoomslider {
	background-color: rgba(255,255,255,0.0);
	top: 2.8em;
}
.ol-zoomslider {
  height: 206px;
}
.ol-zoomslider:hover {
  background-color: rgba(255,255,255,0.0);
}

.ol-touch .ol-zoom .ol-zoom-out {
	margin-top: 212px;
}
.ol-touch .ol-zoomslider {
	top: 2.75em;
}

.ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
.ol-zoom-in.ol-has-tooltip:focus [role=tooltip] {
	top: 3px;
}

.ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
.ol-zoom-out.ol-has-tooltip:focus [role=tooltip] {
	top: 232px;
}



.ol-zoom-extent {
	top: 19em;
}


#myattribution {
	position: absolute;
    right: 0;
    /* left: 0; */
    bottom: 0;
    /* top: 0; */
	width: 200%;
}
#myattribution div {
	/*position: absolute;*/
	/*bottom:15px;*/
	/*right:0px;*/
	width: 200px !important;
	height: auto !important;
	line-height: auto !important;
	display: block;
	border-radius: 4px;
	background:rgb(245, 245, 245, .0);
	opacity: 0.7;
}
#myattribution .ol-attribution:not(.ol-collapsed) {
    background: rgba(255,255,255,.0);
}
#myattribution .ol-control {
    background-color: rgba(255,255,255,.0);
}
#myattribution div ul {
	max-width: calc(100%);
	height: auto;
}
#myattribution div ul li {
	height: auto;
	word-wrap: normal;
	word-break: keep-all;
	overflow-x: visible;
	background: rgba(255,255,255,1.);
	border-radius: 4px;
	padding: 4px 2px 4px 6px;
}
#myattribution div ul li a {
	color: #000;
}
@media print{
	#myattribution div {
		position: absolute;
		bottom:auto !important;
		right:auto !important;
		top:67px !important;
		left:7px !important;
	}
}

.ol-scale-line-inner {
	color: #fff;
	border: 1px solid #fff;
	border-top: none;
}
#mouse-position {
	/*display:block;*/
	/*position: absolute;*/
	/*bottom:67px;*/
	/*right:0px;*/
    height: auto !important;
	min-height: 18px;
	line-height: auto !important;
	padding: 2px 4px;
	border-radius: 4px;
	color: #fff;
	font-size: 10px;
	background:rgba(0,60,136,.3) !important;
}
@media print{
	#mouse-position {
		display:none !important;
	}
}

.ol-scale-line {
	margin: 2px 0px;
	left: auto;
	right: 0px;
/*	bottom: 22px;*/
	bottom: auto; /* 初期化 */
	bottom: initial; /* 初期化 */
}
.layer-control {
	top: 32px;
	bottom: auto; /* 初期化 */
	bottom: initial; /* 初期化 */
	right: 8px;
}
.ol-touch .layer-control {
	top: 80px;
}

.ol-zoom-extent button:after {
}

.ol-custom-overviewmap.ol-uncollapsible {
  bottom: auto;
  left: auto;
  right: 0;
  top: 0;
}

.ol-custom-overviewmap:not(.ol-collapsed)  {
	border: 1px solid black;
}

.ol-custom-overviewmap {
	bottom: 2.5em;
}

.ol-custom-overviewmap .ol-overviewmap-map {
  border: none;
  /*width: 200px;*/
}

.ol-custom-overviewmap .ol-overviewmap-box {
  border: 2px solid red;
  cursor: pointer;
}

.ol-custom-overviewmap:not(.ol-collapsed) button{
  bottom: 0px;
  left: 0px;
  right: auto;
  top: auto;
}


.tooltip-inner {
	white-space: nowrap;
}

.highlight {
	background: rgba(255, 96, 235, 0.5) !important;
}

.measure-tooltip {
	font-size: 14pt;
	padding: 3px;
	background-color: rgba(255,255,255,0.6);
}
.measure-tooltip-measure {
	font-size: 16pt;
	color: #FF335F;
	padding: 3px;
	background-color: rgba(255,255,255,0.6);
}
.measure-tooltip-static {
	font-size: 16pt;
	color: #FF335F;
	padding: 3px;
	background-color: rgba(255,255,255,0.6);
}

/* jQuery UI dialog 上書き*/
span.ui-dialog-title {
	overflow: initial!important;
}
.ui-dialog .ui-dialog-buttonpane {
    padding: initial;
}

div.alertMessage {
	margin-top: 0.5em;
	line-height: 1.5em;
}

@media print{
	html, body {
		margin: 0;
		padding: 0;
		width: 100%;
		height: 100%;
	}
	.noprint {
		display: none;
	}
	.toolbox {
		display: none;
	}
	.tooltip {
		display: none !important;
	}
	#popup>button, #popup-closer {
		display: none !important;
	}
	#layerbox_1, #layerbox_2, #layerbox_3, #layerbox_4, #draw-form, #search-form, #toolbox-rightbottom, #gsimap_info {
		display: none !important;
	}
	img {
		max-width: none !important; /* solution : google maps invisible */
	}
}


