﻿html, body {
    position: fixed;
}

html, body {
    position: relative;
    overflow: hidden;
}

body {
    position: fixed;
    overflow: hidden;
}
/*
#startupmask {
    position: absolute;
    top: 0;
    left: 0px;
    width: calc(100vw);
    height: calc(100vh);
    background-color: darkgray;
    z-index: 1000;
}
*/
/* スマートフォン対応 */
/**/
.module {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    margin: 0 auto;
}
/**/
body, #main {
    position: fixed;
    height: 100%;
    /*overflow: auto;*/
    width: 100%;
	overflow-y: none;
	/*スクロールバー非表示（IE・Edge）*/
	-ms-overflow-style: none;
	/*スクロールバー非表示（Firefox）*/
	scrollbar-width: none;
}

#titlebar {
    font-weight: 700;
}

#pcsize {
    float: initial;
	height: 80px;
    padding-top: 15px;
    padding-left: 10px;
}

#title_image {
    height: 30px;
    display: inline;
    padding-right: 5px;
}

#title_text {
    font-size: 30px;
    color: white;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0;
}

#map {
	position: relative;
    width: auto;
	height: 100% !important;
	top: 0;
	bottom: 0;
	left: 0;
	margin: 0;
    background-color: white;
	/*overflow-y: none;
	/*スクロールバー非表示（IE・Edge）*/
	/*-ms-overflow-style: none;
	/*スクロールバー非表示（Firefox）*/
	/*scrollbar-width: none;*/
}

/*
#splitbar {
    position: relative;
    width: 100%;
    height: 0px;
    background-color: #000;
    z-index: 1000;
    font-size: 20px;
    display: block;
    overflow: hidden;
}

.splitbar_size_button {
    float: right;
    position: relative;
    right: 15px;
    bottom: 1px;
    cursor: pointer;
    background-color: white;
    border: 1px solid gray;
    border-radius: 3px;
    padding: 0px;
    padding-left: 10px;
    padding-right: 10px;
    height: 26px;
    margin-top: 4px;
    margin-left: 5px;
    margin-right: 5px;
}

.splitbar_size_button_image {
    height: 24px;
    vertical-align: top;
}

.splitbar_address_area {
    float: right;
    position: relative;
    right: 5px;
    width: calc(100vw - 130px);
    overflow: hidden;
}
*/
#current_address {
    text-align: right;
    margin-right: 20px;
    padding-top: 4px;
    font-size: 1.0em;
}

#sidebar {
    width: auto;
    max-width: calc(100vw - 150px);
    max-height: calc(100vh - 150px);
    display: block;
    float: right;
    position: absolute;
    top: 100px;
    left: 10px;
    z-index: 2000;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    background-color: white;
}

#sidebar-panel {
    float: left;
    border-color: #fff;
    max-height: calc(100vh - 150px);
    margin-bottom: 0px;
}


#sidebar-hide-btn {
    margin-top: -2px;
}

#infopanel_icon {
    margin-right: 6px;
}

#sidebartabframe {
    float: right;
    font-size: 1.3em;
}

#setsubidetail_tabsContent {
    padding-top: 10px;
}

.progress-bar-full {
    width: 100%;
}

.white {
    color: #FFFFFF;
}

.panel-heading {
    /*width: 250px;*/
    height: 46px;
    clear: both;
    overflow: hidden;
    padding-bottom: 0px;
    border-bottom: 0px;
    padding: 3px 0px 0px 4px;
}

.sidebar-panel-body {
    min-width: 300px;
    max-width: 300px;
    max-height: calc(100vh - 203px);
    padding: 10px;
    overflow: auto;
    padding-top: 0px;
}

.sidebar-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#address_table_frame {
    /*position: absolute;*/
    width: 100%;
    top: 190px;
    bottom: 0px;
    overflow: auto;
    width: 100%;
    background-color: white;
    top: 265px;
    border-top: 3px solid gray;
    overflow-y: scroll;
    height: calc(100vh - 410px);
    min-height: 200px;
}

    #address_table_frame table {
        background-color: white;
        width: 100%;
        table-layout: fixed;
    }

.tab-header {
    min-height: 400px;
}

/*.tab-content-body {
    display: none;
    padding: 5px;
    margin-top: 10px;
    background-color: white;
    border: 1px solid #eaeaea;
    border-radius: 5px;
}*/

.leaflet-control-layers {
    overflow: auto;
}

    .leaflet-control-layers label {
        font-weight: normal;
        margin-bottom: 0px;
    }

.leaflet-control-layers-list input[type="radio"], input[type="checkbox"] {
    margin: 2px;
}

.table {
    margin-bottom: 0px;
}


.navbar-fixed-bottom, .navbar-fixed-top {
    position: relative;
    right: 0;
    left: 0;
    z-index: 1030;
    margin-bottom: 0px;
}

.navbar .navbar-brand {
    font-weight: bold;
    font-size: 25px;
    color: #FFFFFF;
}

.navbar-collapse.in {
    overflow-y: hidden;
}

.navbar-header {
    display: block;
    overflow: hidden;
}

    .navbar-header .navbar-icon-container {
        margin-right: 15px;
    }

    .navbar-header .navbar-icon {
        line-height: 50px;
        height: 50px;
    }

    .navbar-header a.navbar-icon {
        margin-left: 25px;
    }

.typeahead {
    background-color: #FFFFFF;
}

.tt-dropdown-menu {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-top: 4px;
    padding: 4px 0;
    width: 100%;
    max-height: 300px;
    overflow: auto;
}

.tt-suggestion {
    font-size: 14px;
    line-height: 20px;
    padding: 3px 10px;
}

    .tt-suggestion.tt-cursor {
        background-color: #0097CF;
        color: #FFFFFF;
        cursor: pointer;
    }

    .tt-suggestion p {
        margin: 0;
    }

    .tt-suggestion + .tt-suggestion {
        border-top: 1px solid #ccc;
    }

.typeahead-header {
    margin: 0 5px 5px 5px;
    padding: 3px 0;
    border-bottom: 2px solid #333;
}

.has-feedback .form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
}

@media (max-width: 767px) {
    #sidebar {
        display: none;
    }

    .url-break {
        word-break: break-all;
        word-break: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }

    .dropdown-menu a i {
        color: #FFFFFF;
    }
}

@media print {
    .navbar {
        display: none !important;
    }

    .leaflet-control-container {
        display: none !important;
    }
}

.table-hover > tbody > tr:hover {
    background-color: #e6e6fa;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.navbar-inverse .navbar-nav > li > a {
    color: white;
}

.navbar-inverse .navbar-nav li {
}

.navbar-inverse {
    background-color: #2f5d62;
    border-color: #2f5d62;
}

.navbar-header a.navbar-icon {
    margin-left: 15px;
}

.nav > li > a {
    padding: 5px 12px;
}

.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid #cccccc;
    border-radius: 4px 4px 0 0;
}

.nav-tabs > li > a {
    line-height: 1.1;
    font-size: 0.8em;
}

/*  Leaflet関連 */
.leaflet-grayscale {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: -webkit-filter ease 1s;
    -moz-transition: -moz-filter ease 1s;
    transition: filter ease 1s;
}

.leaflet-control {
    font-size: 2em;
}

.leaflet-control-layers {
    font-size: 1.4em;
}

.leaflet-top .leaflet-right {
    display: inline-block;
    float: none;
}

.leaflet-popup-content {
    /*width:auto;*/
}


.leaflet-control-layers-expanded {
    overflow: hidden;
    height: calc(100vh - 180px);
    font-size: 1.6em;
}

.layerlistcontainer {
    display: none;
    margin-top: 10px;
}

.leaflet-control-layers-expanded .layerlistcontainer {
    display: block;
    overflow: scroll;
    height: inherit;
    width: inherit;
    max-height: inherit;
    padding: 2px;
    padding-bottom: 50px;
}

.leaflet-touch .leaflet-bar a {
    width: 42px;
    height: 42px;
    line-height: 42px;
}

.leaflet-touch .leaflet-control-layers-toggle {
    width: 42px;
    height: 42px;
}

.closer {
    font-size: 20px;
}


.leaflet-control-layers-selector {
    transform: scale(1.5);
}

.leaflet-control-layers-overlays {
    font-size: 1.2em;
}

.leaflet-vertex-icon {
    border-radius: 14px;
    opacity: 0.5;
}

.leaflet-middle-icon {
    border-radius: 7px;
    opacity: 0.3;
}

.leaflet-bar a.leaflet-disabled {
    background-color: #d4d4d4;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: height 0.0s ease;
    transition: height 0.0s ease;
}


/* モーダルダイアログ　共通  ------------------------------------------ */
.modal {
    top: 10px;
    z-index: 3000;
    /*padding-top: 5px;*/
    padding-bottom: 5px;
	display:none;
}

.modal-dialog {
    margin: auto;
    max-height: calc(100vh - 20px);
    min-height: calc(100vh - 20px);
    max-width: calc(100vw - 20px);
    min-width: calc(100vw - 20px);
}

.modal-content {
    overflow: hidden;
    position: absolute;
    margin: auto;
    width: calc(100vw - 20px);
    height: calc(100vh - 150px);
}

.modal-header {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: white;
    padding: 5px;
    padding-left: 10px;
    min-height: 30px;
}

    .modal-header .close {
        font-size: 3em;
        margin-top: -7px;
        opacity: 1.0;
    }

.modal-body {
    padding: 0px;
    max-height: calc(100vh - 235px);
    overflow: auto;
    margin: 5px;
    margin-bottom: 40px;
}

.modal-footer {
    position: absolute;
    bottom: 0px;
    height: 35px;
    width: 100%;
    padding: 5px;
    height: 35px;
    background-color: #337ab7;
    color: white;
    border-radius: 0px 0px 5px 5px;
    border-color: #2e6da4;
    font-size: 1.2em;
    text-align: center;
}

.startup-modal-body {
    max-height: calc(70hv);
    padding: 30px;
}

.tab-pane .row {
    margin: 2px;
}

/* サイドバー－タブ共通 */
.tab-description {
    padding: 5px;
    margin-top: 10px;
    background-color: #022d54;
    border-radius: 5px;
    font-size: 1em;
}

    .tab-description h5 {
		text-align: center;
		padding: 5px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .tab-description h5 a{
        color: white;
		font-size: 1.3em;
    	font-weight: bold;
		text-decoration: none;
    }
    .tab-description .forms {
        /*display: none;*/
        padding: 10px 0px 1px 10px;
		margin-top: 5px;
        font-size: 1.0em;
        background-color: #D9EAFB;  
		border-radius: 5px
    }

.tab-legend-body {
    display: none;
    padding: 5px;
    margin-top: 10px;
    background-color: #FFF;
    border: 1px solid #eaeaea;
    border-radius: 5px;
	text-align: center;
}

    .tab-legend-body table {
        font-size: 1.0em;
    }

.tab-legend-table {
    margin-left: 10px;
}

    .tab-legend-table td {
        vertical-align: top;
        padding-left: 5px;
    }

    .tab-legend-table .areabox {
        border: 2px solid black;
        height: 16px;
        width: 16px;
    }

    .tab-legend-table .numbox {
        border: 1px solid lightgray;
        padding: 5px;
        width: 80px;
        height: 80px;
        text-align: right;
    }

/* サイドバー－地図選択 */
#tab-mapselect .mapselect_frame {
    padding: 5px;
    margin-top: 10px;
    border: 1px solid #eaeaea;
    /*border-radius: 5px;*/
    font-size: 1.2em;
}
/* サイドバー－住所選択 */

.tab-address-input {
    padding: 0px;
    padding-right: 5px;
    height: 40px;
}

.tab-address-button {
    padding: 0px;
    height: 40px;
}

#address_table_gotop {
    border: 1px solid gray;
    border-radius: 7px;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
    opacity: 0.1;
    float: right;
    z-index: 100;
}

/* 地図関連 */
#mapbody {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    z-index: 0;
}
#detailmap {
    /*border-top: 2px solid lightgray;*/
    /*height: 0px !important;*/
    /*opacity: 1.0;*/
    padding: 0;
    margin: 0;
}

/* 地図－コントロール－スライダー */
.slider-handle {
    left: 1px;
    width: 36px;
    height: 36px;
    top: -10px;
}

.slider.slider-vertical {
    height: 40px;
    width: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
}

    .slider.slider-vertical .slider-track {
        width: 36px;
        /*margin-top: -15px;*/
    }

    .slider.slider-vertical .slider-selection {
        width: initial;
    }


/* 地図－コントロール－ズーム */
.leaflet-control-zoom {
    right: 60px;
    margin-top: 0px;
	/*margin-bottom: 50px;*/
}

.leaflet-zoom-box-control {
    top: 0px;
    right: 60px;
    margin-top: 20px;
	margin-bottom: 50px;
    /*position: absolute;*/
}

a.leaflet-control-zoom-in, a.leaflet-control-zoom-out {
    font-size: 14px !important;
    text-align: center !important;
}


/* 地図－コントロール－ロケーション */
.leaflet-bar-part.leaflet-bar-part-single {
    background-image: url("../libs/leaflet-location/arrow.png");
}
.outer{
	height: 3em;
	display: block;
    margin-top: 5px;
	margin-left: auto;
    margin-right: auto;	
}
.inner{
	left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0%);
	position: absolute;
	font-size:2em;
	font-weight: bold;
	color:white;
	background: #2f5d62;
	opacity:0.8;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	border-radius: 5px;
	padding: 5px 30px 5px 30px;
}
.regend {
	width: auto;
	max-width: calc(100vw - 150px);
	max-height: calc(100vh - 150px);
	display: block;
	float: right;
	position: absolute;
	top:  100px;
	left: 320px;
	z-index: 10;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	border-radius: 4px;
}
.info_title{
	float:left;
	margin-left:10px;
	margin-top:5px;
}
.info_title h4{
	float:left;
	color:#000;
	font-weight:bold;
	font-size:140%;
}

#info_school,#info_max,#info_time,#info_dzoneh,#info_dzonek{
	display: none;
	padding: 6px 8px;
	font: 14px/16px Arial, Helvetica, sans-serif;
	background: rgba(255,255,255,255);/**/
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	border-radius: 5px;
	float:left;
}
.info_btn{
	float:right;
	margin: 0px 7px 0px 0px;
	cursor: hand;
	cursor:pointer;	
}
.info_btn2{
	float:right;
	margin: -2px 7px 0px 0px;
	cursor: hand;
	cursor:pointer;	
}

.square_btn_wrap{
	float:left;
	margin-top:10px;
	margin-left:10px;
}
.square_btn {
	display: block;
	position: relative;
	width: 25px;
	height: 25px;
	border: 2px solid #333; /* 枠の調整 */
	background: #fff; /* ボタンの背景色 */
	cursor: hand;
	cursor:pointer;
}
 
.square_btn::before, .square_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px; /* 棒の幅（太さ） */
  height: 22px; /* 棒の高さ */
  background: #333; /* バツ印の色 */
}
 
.square_btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.square_btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.leaflet-terminator {
    cursor: -webkit-grab !important;
    cursor: -moz-grab !important;
	cursor: grab !important;
}
.zindex2000{
	z-index:2000 !important;
}
.zindex3000{
	z-index:3000 !important;
}

.leaflet-popup-content-wrapper,
    .leaflet-popup-tip {
      /*background: black;*/
      border-color: orange;
    }
