﻿@charset "utf-8";
@import url(http://weloveiconfonts.com/api/?family=fontawesome);

/* ---------------------------------------------------
   トップ画面CSS設定
----------------------------------------------------*/

@media screen and (min-width: 768px) {
    /* ボタンの右側の▼ */
    #hanreiDropdown2::after, #areaDropdown2::after {
        position: absolute;
        top: 17px;
        right: 12px;
    }

    /* 表示地域 */
    #divArea {
        top: 115px;
        right: 14px;
    }

    .ulArea {
        display: none;
        position: absolute;
        max-height: 695px;
        max-width: 360px;
        height: 100%;
        width: 100%;
        top: 212px;
        right: 14px;
        z-index: 90;
    }

        .ulArea.open {
            display: block !important;
        }

    /* 凡例 */
    .hanrei {
        display: none;
        position: absolute;
        max-height: 695px;
        max-width: 360px;
        height: calc(100svh - 116px);
        width: 100%;
        top: 162px;
        right: 14px;
        z-index: 100;
    }

        .hanrei.open {
            display: block !important;
        }

    .hanreiClose {
        display: none;
    }

    /* 規制状況一覧 */
    .list {
        display: none;
        position: fixed;
        height: 95%;
        width: 95%;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 110;
    }

        .list.open {
            display: block !important;
        }

    /* お知らせ */
    .info-popup {
        display: none;
        position: fixed;
        max-height: 500px;
        max-width: 500px;
        height: 70%;
        width: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 120;
    }

        .info-popup.open {
            display: block !important;
        }

    /* 道路規制メール */
    .mail-popup {
        display: none;
        position: fixed;
        height: 380px;
        width: 640px;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 130;
    }

        .mail-popup.open {
            display: block !important;
        }

    /* 背景 */
    .background {
        display: none;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        background: rgba(0,0,0,.5);
        z-index: 100;
    }

        .background.open {
            display: block !important;
        }

    .btnInput{
        display:block;
        margin:0 auto;
    }
}

/* ---------------------------------------------------
   スマートフォン・タブレット表示用CSS設定
----------------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 表示地域 */
    .ulArea {
        display: none;
    }

    /* 凡例 */
    .hanrei {
        display: none;
        position: absolute;
        height: 100vh;
        width: 100vw;
        top: 0;
        z-index: 1;
    }

        .hanrei.open {
            display: block !important;
        }

    /* 規制状況一覧 */
    .list {
        display: none;
        position: absolute;
        height: 100vh;
        width: 100vw;
        top: 0;
        margin-bottom: 0px;
        z-index: 2;
    }

        .list.open {
            display: block !important;
        }

    /* お知らせ */
    .info-popup {
        display: none;
        position: absolute;
        height: 100vh;
        width: 100vw;
        top: 0;
        margin-bottom: 0px;
        z-index: 3;
    }

        .info-popup.open {
            display: block !important;
        }

    /* 道路規制メール */
    .mail-popup {
        display: none;
        position: absolute;
        height: 100vh;
        width: 100vw;
        top: 0;
        margin-bottom: 0px;
        z-index: 4;
    }

        .mail-popup.open {
            display: block !important;
        }
}

/* ---------------------------------------------------
   共通設定
----------------------------------------------------*/
/* 地図 */
#map {
    position: absolute;
    width: 100%;
    height: calc(100% - 112px);
    top: 112px;
    z-index: -1;
}

#divNew, #divList, #divInfo {
    width: 110px;
    padding-left: 17px;
}

#divDateTime2 {
    position: absolute;
    top: 57px;
    z-index: -1;
}

#divMail {
    width: 140px;
}

#divHanrei {
    top: 65px;
    right: 14px;
    z-index: 10;
}

#hanreiWrap {
    height: 100%;
    width: 100%;
    padding-top: 10px;
    border: 1px solid blue;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: auto;
}

.hanreiHeader {
    font-weight: bold;
    font-family: 'UD新ゴ B', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
    border-bottom: 1px solid black;
    text-align: center;
}

#listWrap {
    max-height: calc(93svh - 60px);
}

#infoWrap {
    height: calc(100% - 54px);
    overflow: auto;
}

#mailWrap {
    height: calc(100% - 54px);
    overflow: auto;
}

.register {
    font-size: 1.6em;
}

.colUpdateTime {
    min-width: 110px;
    width: 10%;
}

.listRow {
    height: 1em;
}

#dgKiseiList thead {
    border-color: #e2e3e5 !important;
}

    #dgKiseiList thead:before {
        content: "";
        position: absolute;
        top: 0;
        width: 100%;
        border-top: 1px solid #e2e3e5;
        border-bottom: 1px solid #e2e3e5;
        background: #e2e3e5;
        z-index: -1;
    }
