/************************* layout *************************/
body{
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    background-color: #FFFFFF;
    overflow-y: hidden;
}

#header{
    height: 0px;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

#footer{
    height: 0px;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

#main{
    height: calc(100% - 0px - 0px); /* main - header - footer */
    width: calc(100% - 0px - 0px);  /* main - sidebar_left - sidebar_right */
    padding: 0px;
    margin: 0px;
}

#sidebar_left{
    float: left;
    height: 100%;
    width: 0px;
    padding: 0px;
    margin: 0px;
    overflow-x: auto;
    overflow-y: auto;
}

#sidebar_right{
    float: right;
    height: 100%;
    width: 0px;
    padding: 0px;
    margin: 0px;
    overflow-x: auto;
    overflow-y: auto;
}

#map{
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    position: relative;
}

#olmap{
    width: 100%;
    height: 100%;
}

#basemaps_menu{
    position: absolute;
    font-size: 90%;
    top: 0px;
    right: 10px;
    padding: 0px 0px 0px 0px;
}

#coordinates_menu{
    position: absolute;
    font-size: 70%;
    top: 25px;
    right: 7px;
    padding: 0px 2px 0px 2px;
    margin:  5px 0px 0px 0px;
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
    display:none;
}

#extra_layers_menu{
/*

    padding: 2px 2px 2px 2px;
*/
    margin-top: 5px;
    font-size: 80%;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

#search_menu_panel{
    position: absolute;
    top: 50px;
    right: 7px;
    width: 280px;
    /*height: 250px;*/
    padding: 0.5em;
    background-color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    display:none;
}

#menubar_panel{
    position: absolute;
    top: 2px;
    height: 25px;
    right:7px;
/*
    width:100px;
*/
    padding: 0px;
    background-color: rgba(255, 255, 255, 0.0);
    display:none;
}

#logo_panel{
    position: absolute;
    top: 8px;
    left: 45px;
    /*padding: 0.5em;*/
    opacity: 0.7;
    background-color: rgba(255, 255, 255);
    max-width: 100%;
    display:none;
}

#search_menu_handle{
    padding: 0px;
    margin: 0px;
    font-size: 80%;
    text-align: center;
    cursor: move;
}

#legend_panel{
    position: absolute;
    bottom: 30px;
    left: 6px;
    height: 250px;
    padding: 0px;
    background-color: rgba(255, 255, 255, 0.8);
}

/************************* parts *************************/
.menu_button{
    width: 57px;
}

.menu_button_long{
    width: 85px;
}

.menu_arrow_button{
    font-size: 90%;
    margin: 0px;
    padding: 0px;
}

.menu_textbox{
    height: 22px;
    width:  150px;
}

.panel_text{
    font-size: 70%;
}

.dialog_text{
    font-size: 80%;
}

.cursor_pointer{
    cursor: pointer;
}

.cursor_move{
    cursor: move;
}

#basemap_sb{
    width: 125px;
}

/************************* Thumb *************************/
.td_thumb{
    background-color: #00ff00;
}

/************************* jQuery *************************/
#time_slider{
    width: 95%;
    height: 5px;
    margin: 5px;
}

#opacity_slider{
    width: 95%;
    height: 5px;
    margin: 5px;
}

#cloud_slider{
    width: 95%;
    height: 5px;
    margin: 5px;
}

#date_slider{
    width: 95%;
    height: 5px;
    margin: 5px;
}

.ui-slider .ui-slider-handle{
    height: 13px;
    width: 15px;
}

.ui-state-focus{
    height: 5px;
}

.ui-dialog-titlebar{
    font-size:0.6em;
}

/************************* OpenLayers3 *************************/
/* ズームスライダー */
/*
#olmap .ol-zoom .ol-zoom-in{
    height: 22px;
}

#olmap .ol-zoom .ol-zoom-out{
    margin-top: 212px;
    height: 22px;
}

#olmap .ol-zoomslider{
    background-color: transparent;
    top: 2.3em;
}

#olmap .ol-touch .ol-zoomslider{
    top: 2.75em;
}

#olmap .ol-zoomslider-thumb{
    width: 25px;
    height: 15px;
}
*/
/*
.ol-control button {
    font-size: 18px;
    padding-bottom: 4px;
}
*/

.ol-attribution {
    text-align: right;
    bottom: 30px;
    right: 12px;
    max-width: calc(100%);
}

.ol-attribution li {
    font-size: 10px;
}

.ol-attribution:not(.ol-collapsed) {
    background: rgba(255,255,255,.6);
}

/* popup */
.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;
}
.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: "✖";
}
