@import url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/CLIZ_header.css);
@import url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/CLIZ_footer.css);
@import url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/CLIZ_left_side.css);
@import url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/CLIZ_right_side.css);

/* ---------------------------------------------------------------------------------------------------- */
/* 全般 */

.btn:hover, 
.btn:focus, 
.btn:active, 
.btn.active, 
.btn.disabled, 
.btn[disabled] {
    color: #667853;
    background-color: #BEC8B4;
}

button.btn,
a.btn,
input.btn,
label.btn
{
    border: 1px solid var(--color-contrasted-elements);
    background-color: var(--color-contrasted-elements-light);
}

.lizmapPopup.olPopup .lizmapPopupContent h4,
#map-content .lizmapPopupContent h4,
#popupcontent .lizmapPopupContent h4 
{
    border-bottom: 1px solid var(--color-contrasted-elements);
}

/* ---------------------------------------------------------------------------------------------------- */
/* 左側のサイドメニュー */
ul.nav.nav-list > li.home,
ul.nav.nav-list > li.print
{
    display: none;
}

/* ---------------------------------------------------------------------------------------------------- */
/* 右上のドック */
#mini-dock
{
    right: 150px;
}

#mini-dock-content,
#mini-dock div.menu-content
{
    overflow: visible;
}

#content.mobile #mini-dock-content,
#content.mobile #mini-dock div.menu-content
{
    overflow: auto;
}

/* ---------------------------------------------------------------------------------------------------- */
/* ミニマップ */

.ol-overviewmap-box {
    border: 2px solid rgba(255, 0, 0, 0.5) !important;
    background-color: rgba(255, 0, 0, 0.1) !important;
}

lizmap-overviewmap .ol-overviewmap-box {
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/center-marker.png) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

/* ---------------------------------------------------------------------------------------------------- */
/* Lizmapライセンス表示 */
#attribution-box
{
    display: None;
}

/* ---------------------------------------------------------------------------------------------------- */



button.all-layer-on
{
    height: 25px;
    width: 25px;
    background-color: var(--color-contrasted-elements);
    border: solid 1px white;
    border-radius:4px;
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/all-layer-on.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

button.all-layer-off
{
    height: 25px;
    width: 25px;
    background-color: var(--color-contrasted-elements);
    border: solid 1px white;
    border-radius:4px;
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/all-layer-off.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

button.btn.center-marker,
button.btn.center-marker:focus,
button.btn.center-marker:active,
button.btn.center-marker:focus:active,
button.btn.center-marker:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
    -webkit-tap-highlight-color: transparent !important;
}

.ol-control button.btn.center-marker:focus,
.ol-control button.btn.center-marker:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}

button.btn.center-marker.on {
    box-shadow: 0 0 0 2px rgba(59,130,246,0.9) inset !important;
    border-color: rgba(59,130,246,0.9) !important;
}




#CLIZ-center-marker {
    height: 25px;
    width: 25px;
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/center-marker.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#overview-box
{
    bottom: 40px;
}

/* ---------------------------------------------------------------------------------------------------- */
/* 8方向移動 */
/* ラップ */
.eight-move.wrap
{
    width: 75px;
    height: 75px;
    color: white;
    background-color: var(--color-contrasted-elements);
    position: absolute;
    top: 95px;
    right: 60px;
    z-index: 800;
    border-radius: 10px;
}

/* ボタン共通 */
button.eight-move.btn
{
    background-color: var(--color-contrasted-elements);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    position: absolute;
    border-radius: 0%;
    top: 0%;
    left: 0%;
    padding: 0px;
    margin: 0px;
}

button.eight-move.btn:hover,
button.eight-move.btn:active
{
    background-color: var(--color-contrasted-elements-middle) !important;
}

button.eight-move.btn > i
{
    transform: scale(1.2);
}

/* 各ボタン */

button.eight-move.btn.up-left
{
    transform: translate(0%, 0%);
    border-top-left-radius: 10px;
}

button.eight-move.btn.up-left > i
{
    transform: scale(0.9) rotate(-45deg);
}

button.eight-move.btn.up
{
    transform: translate(100%, 0%);
}

button.eight-move.btn.up-right
{
    transform: translate(200%, 0%);
    border-top-right-radius: 10px;
}

button.eight-move.btn.up-right > i
{
    transform: scale(0.9) rotate(45deg);
}

button.eight-move.btn.left
{
    transform: translate(0%, 100%);
}

button.eight-move.btn.right
{
    transform: translate(200%, 100%);
}

button.eight-move.btn.down-left
{
    transform: translate(0%, 200%);
    border-bottom-left-radius: 10px;
}

button.eight-move.btn.down
{
    transform: translate(100%, 200%);
}

button.eight-move.btn.down-left > i
{
    transform: scale(0.9) rotate(45deg);
}

button.eight-move.btn.down-right
{
    transform: translate(200%, 200%);
    border-bottom-right-radius: 10px;
}

button.eight-move.btn.down-right > i
{
    transform: scale(0.9) rotate(-45deg);
}

.eight-move.wrap, .eight-move.btn {
    touch-action: none; /* タッチでスクロールさせない */
    -webkit-user-select: none; /* 文字選択防止 */
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ---------------------------------------------------------------------------------------------------- */
/* ツールボタン類のレスポンシブ対応 */
@media (max-width: 740px) {
    .eight-move.wrap {
        display: none;
    }

    #CLIZ-direction-symbol-wrap {
        width: 55px;
        height: 55px;
    }

    #CLIZ-direction-symbol {
        width: 55px;
        height: 55px;
    }
}


@media (max-height: 450px) {
    .eight-move.wrap {
        display: none;
    }

    #navbar {
        display: block;
    }

    #navbar .slider{
        display: none;
    }

    #CLIZ-direction-symbol-wrap {
        top: 60px;
        right: 10px;
        width: 55px;
        height: 55px;
    }

    #CLIZ-direction-symbol {
        width: 55px;
        height: 55px;
    }
}

/* ---------------------------------------------------------------------------------------------------- */
/* フルスクリーン対応 */
#content:fullscreen
{
    height: 100vh !important;
}

#content:fullscreen #map.olMap
{
    height: 100vh !important;
}

/* ---------------------------------------------------------------------------------------------------- */
/* 相対パス表記はmain, map内でしか解決されない */

#CLIZ-rtb-display-all-btn > i
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-fullscreen_h65w60.png);
}

#CLIZ-rtb-display-dual-link > i
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-dualscreen_h65w60.png);
}

#CLIZ-rtb-print-btn > i
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-print_h65w60.png);
}

#CLIZ-rtb-help-btn > i
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-manual_h65w60.png);
}

#CLIZ-direction-symbol
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/direction-symbol.png) !important;
}

#CLIZ-ds-onoff-btn.on
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-compass.png) !important;
}

#CLIZ-ds-onoff-btn.off
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-compass-off.png) !important;
}

#CLIZ-cm-onoff-btn.on
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/btn-center-marker-on.png) !important;
}

#CLIZ-cm-onoff-btn.off
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/btn-center-marker-off.png) !important;
}

#CLIZ-ml-onoff-btn.on
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/btn-map-legend-on.png) !important;
}

#CLIZ-ml-onoff-btn.off
{
    background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/btn-map-legend-off.png) !important;
}

#mini-dock-content .CLIZ-route-search i.CLIZ-icon-route-search
{
  background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-icon-route-search.svg);
}

#button-CLIZ-route-search i.CLIZ-icon-route-search
{
  background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-icon-route-search-white.svg);
}

#button-CLIZ-route-search:hover i.CLIZ-icon-route-search,
.nav .active #button-CLIZ-route-search i.CLIZ-icon-route-search
{
  background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-icon-route-search.svg);
}

/* ---------------------------------------------------------------------------------------------------- */

@media
    only screen and (min-device-pixel-ratio: 2),
    only screen and (min-device-pixel-ratio: 2),
    only screen and (min-device-pixel-ratio: 2/1),
    only screen and (min-device-pixel-ratio: 2),
    only screen and (resolution >= 192dpi),
    only screen and (resolution >= 2dppx),
    only screen and (height <= 640px),
    only screen and (device-height <= 640px)
{
    #CLIZ-rtb-display-all-btn > i
    {
        background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-fullscreen_h24w24.png);
    }

    #CLIZ-rtb-display-dual-link > i
    {
        background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-dualscreen_h24w24.png);
    }

    #CLIZ-rtb-print-btn > i
    {
        background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-print_h24w24.png);
    }

    #CLIZ-rtb-help-btn > i
    {
        background-image: url(/index.php/view/media/getMedia?repository=ashiyawebgis&project=toshi_keikaku_zyouhou&path=media%2Fthemes%2Fdefault%2Fcss%2F/../image/CLIZ-manual_h24w24.png);
    }
}

/* ---------------------------------------------------------------------------------------------------- */
/* Iframe時はヘッダ削除 */
body.CLIZ-in-iframe
{
    padding-top: 0 !important;
}

body.CLIZ-in-iframe #content
{
    height: 100vh !important;
}

body.CLIZ-in-iframe #content #map.olMap
{
    height: 100vh !important;
}

/* ---------------------------------------------------------------------------------------------------- */
