﻿html, body {
    width: 100%;
    height: 100%;
}
header {
    border: none;
}
#contents {
    display: flex;
    flex-direction: row;
    height: calc( 100% - 116px);
}
#contents_center {
    height: 100%;
}
h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}
.leaflet-left .leaflet-control {
    margin-left: 220px;
}
#contents_left, #contents_right {
    background-color: rgba(255, 255, 255,0.9);
    position: absolute;
    z-index: 1000;
    top: 95px;
    bottom: 21px;
    overflow-y: auto;
}
#contents_left {
    left: 0px;
    width: 210px;
    border-right: 1px solid rgba(128, 128, 128, 0.50);
}
#contents_left select {
    margin: 5px 0px;
}
#contents_left > div {
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.container > h3 {
    margin-top: 10px;
}
#contents_center {
    width: 70%;
    flex-grow: 9999;
}
#map {
    width: 100%;
    height: 100%;
}
#contents_right {
    border-left: 1px solid rgba(128, 128, 128, 0.50);
    width: 30%;
    min-width: 200px;
    max-width: 300px;
    right: -30%;
    display: none;
}
.open {
    display: block !important;
}
#base_maps label, #overlays label {
    cursor: pointer;
}

#legend_area{
    height: 85%;
    width: 300px;
    left: 30%;
}
#legend_area > div {
    height: 100%;
    overflow-y: scroll;
    padding: 1px;
}

#measure_area {
    height: 105px;
    width: 200px;
    left: 40%;
}
#measure_area > div {
    padding: 5px 5px 0px 5px;
}
#measure_area > div > label > input[type=radio] {
    margin-left: -16px;
}
#measure_area > div > label > span {
    line-height: 21px;
}
#measure_area > div > span {
    margin-left: 5px;
}
#url_share_area {
    height: 136px;
    width: 400px;
    left: 50%;
}
#url_share_area > div textarea {
    height: 90px;
    overflow-y: scroll;
    padding: 2px;
    width: 396px;
    border-radius: 2px;
}
.hover {
    position: absolute;
    top: 100px;
    display: none;
    border: 2px solid rgba(128, 128, 128, 1);
    background-color: white;
    border-radius: 6px;
    margin: 5px;
    z-index: 1500;
}
/*.hover:focus {
    z-index: 1600;
}*/
.hover > h3 {
    cursor: move;
    margin: 0px;
    padding: 5px;
    background-color: rgba(128, 128, 128, 1);
    color: white;
    border-radius: 3px;
    border: 1px solid rgb(255, 255, 255);
}
.cancel, #close_info, #close_search {
    float: right;
}
.cancel:hover, #close_info:hover, #close_search:hover {
    background-color: rgba(255, 0, 0, 0.60);
    color: white;
    cursor: pointer;
}
#btn_collapse {
    color: black;
    float: right;
    font-size: 18px;
}
#btn_collapse:hover {
    color: rgb(36, 164, 248);
}
.btn_text {
    margin: 0px;
    font-size: 16px;
}
#menu_collapse {
    position: absolute;
    right: 0px;
    top: 39px;
    background-color: white;
    border: 1px solid rgba(128, 128, 128, 0.50);
    z-index: 2000;
    clear: both;
}
#menu_collapse ul {
    margin: 5px;
}
.menu_area > ul > li {
    color: black;
}
.menu_area > ul > li:hover {
    color: rgb(36, 164, 248);
    cursor: pointer;
}
.menu_area > ul > li:hover > .btn_text {
    text-decoration: underline;
}
#glyphicons {
    width: 100%;
    padding: 0px;
    margin: auto;
    color: rgb(0,0,0);
}
#glyphicons li {
    float: left;
    text-align: center;
    display: block;
    width: 12.5%;
    border: 1px solid #cccccc;
    height: 55px;
}
#glyphicons li .glyphicon {
    font-size: 20px;
    display: block;
    text-align: center;
    margin: 5px 0px;
}
#glyphicons li .glyphicon.icon-ruler {
    margin-top: 2.52px;
}


@media (max-width: 768px) {
    #contents {
        height: calc( 100% - 61px);
    }

    header {
        border-bottom: 1px solid rgba(128, 128, 128,0.5);
    }

    #contents_left, #contents_right {
        top: 40px;
    }
}


@media (min-width: 768px) {
    .menu_area {
        height: 55px;
    }
}


h3 > span.glyphicon:first-child {
    padding-right: 5px;
}
#contents_right > div > h4 {
    padding: 5px 5px;
    border-left: 5px solid rgba(128, 128, 128, 1);
    background-color: rgba(235,235,235,1);
    margin-bottom: 0px;
    font-size: 16px;
}
#contents_right > div > span {
    margin-left: 15px;
}
.panel-body {
    padding: 5px;
}
.panel-body > label {
    padding-left: 10px;
    margin-bottom: 0px;
}
.panel-body > label > input {
    margin-right: 5px;
}
hr {
    margin-top: 5px;
    margin-bottom: 5px;
}
.panel-title {
    font-size: 18px;
}
.panel-title > a {
    display: block;
}
.panel-default > .panel-heading {
    padding: 5px 10px;
    border-left: 5px solid rgb(128, 128, 128);
}
.leaflet-container {
    background: white;
}
#btn_move {
    width: 95%;
}

/*検索関係設定*/
#number_search,
#address_search,
#facility_search {
    text-align: center;
}
#number_search select,
#address_search select,
#facility_search select {
    width: 90%;
}
.panel-title a {
    text-decoration: none;
}
.panel-heading:hover {
    color: #40AAEF;
}

.leaflet-interactive {
    cursor: default;
}

[class^='icon-']::before, [class*=' icon-']::before {
    margin-right: 0px;
    margin-left: 0px;
}
