
.menu {
    /*width: 100%;*/
    /*display: flex;*/
    /*-webkit-box-pack: center;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*border-bottom: 1px solid rgba(0, 0, 0, 0.15);*/
    max-width: 1200px;
    width: 100%;
    margin: 1.5rem auto 0 auto;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}
.menu > div {
    width: 100px;
    word-break: keep-all;
    text-align: center;
    line-height: 1.1;
    font-weight: bold;
    font-size: 18px;
}
.menu > div:not(:first-child) {
    margin-left: 30px;
}

.menu > div.active {
    color: rgb(51, 102, 171);
}

.menu > div:hover{
    color: rgb(51, 102, 171);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 0.6rem 1rem;
    border-top: 1px solid rgb(230, 230, 230);
    justify-content: space-around;
    width: 100%;
    height: 80px;
}
.mobile-menu > div > div {
    filter: grayscale(1);
    background-size: 35px 35px;
    width: 100%;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
}
.mobile-menu > div {
    font-weight: bold;
    padding-top : 5px;
    font-size: 11px;
}
.mobile-menu > div.active > div {
    filter: grayscale(0);
}
.mobile-menu > div.active {
    color: rgb(51, 102, 171);
}

.mobile-menu > div:nth-child(1) > div {
    background-image: url("/images/icon/menu_icon1-2.png");
}

.mobile-menu > div:nth-child(2) > div {
    background-image: url("/images/icon/traffic-legend2.png");
}

.mobile-menu > div:nth-child(3) > div {
    background-image: url("/images/icon/incident-legend2.png");
}

.button div {
    display: block;
}
.statisticWrap {
    width: 100%;

    /*height: calc(100% - 242.19px);*/
    height: calc(100% - 243.8px);
    display: flex;
    justify-content: center;
    overflow: auto;
    min-height: 500px;
    padding: 30px 0px;
}

.statisticWrap .container {
    max-width: 1200px;
    width: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.statisticWrap .search-bar {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 100%;
}

.statisticWrap .search-bar > div:nth-child(1) {
    flex-flow: wrap;
    width: 89%;
    padding: 7px;
    display: flex;
    gap: 10px;
    -webkit-box-pack: justify;
    justify-content: space-between;
    background: rgb(102, 102, 102);
}
.statisticWrap .search-bar > div:nth-child(1) select > option{
    color: rgb(0, 0, 0);
    padding: 10px 0px;
}
.statisticWrap .search-bar > div:nth-child(1) select{
    width: 100%;
    min-width: 90px;
    max-width: 300px;
    height: 34px;
    line-height: 22px;
    padding: 6px 27px 6px 11px;
    outline: none;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    background: url(/images/icon/select.png) right 6px center / 15px no-repeat;
    appearance: none;
}
.statisticWrap .search-bar .label {
    white-space: nowrap;
    color: rgb(204, 234, 234);
    text-align: center;
}
.statisticWrap .download {
    cursor: pointer;
    margin-left: auto;
}
.statisticWrap .search-bar .button {
    width: 10%;
    display: flex;
    justify-content: space-around;
    -webkit-box-align: center;
    align-items: center;
    color: white;
    background: rgb(51, 102, 171);
    border: 0;
    user-select: none;
    cursor: pointer;
}
.statisticWrap .search-bar .button:hover {
    filter: brightness(1.1);
}
.statisticWrap .search-bar > div:nth-child(1) > div {
    flex: 1 1 0%;
    gap: 7px;
    display: flex;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}
.statisticWrap .search-bar > div:nth-child(1) > div:nth-child(2) select {
    width: 32%;
    min-width: 90px;
}
.search-content {
    width: 100%;
    height: calc(100% - 42px);
    overflow: hidden;
}

.table-box {
    position: relative;
    height: 100%;
    overflow: auto;
}

.table-box table {
    height: 100%;
    width: 100%;
    text-align: center;
    border-collapse: separate;
    border-spacing: 0;
    caption-side: bottom;
}
.table-toggle {
    display: flex;
}

.table-toggle > div {
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 3px;
    margin-bottom: 3px;
    background-color: rgb(234, 234, 234);
}
.table-toggle > div.active {
    color: rgb(255, 255, 255);
    background-color: rgb(51, 102, 171);
}

.table-box.comm {
    height: calc(100% - 38px);
}

.table-box table.comm{
    height: calc(-443px + 100vh);
}

.table-box table th:first-child {
    left: 0px;
    z-index: 101;
    min-width: 300px;
    border-right: 2px solid rgba(51, 102, 171, 0.3);
}

.table-box table th,.table-box table td{
    margin: 0px;
    height: 50px;
    width: auto;
    min-width: 50px;
}
.table-box table th {
    position: sticky;
    top: 0px;
    z-index: 100;
    color: rgb(51, 102, 171);
    background: rgb(204, 234, 234);
    border-bottom: 2px solid rgb(51, 102, 171);
}

.table-box table td:first-child:last-child {
    border-bottom: none;
}

.table-box table td:first-child {
    position: sticky;
    left: 0px;
    z-index: 99;
    min-width: 300px;
    text-align: left;
}

.table-box table td span {
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
}

.table-box table td span img {
    width: 50px;
    height: 50px;
}

.table-box td:first-child:not(:last-child){
    border-right: 2px solid rgb(234, 234, 234);
}

.table-box td {
    background: rgb(255, 255, 255);
    border-bottom: 2px solid rgb(234, 234, 234);
}

.comm td.LTC1 {
    color: rgb(21, 179, 55);
}
.comm td.LTC2 {
    color: rgb(255, 170, 0);
}
.comm td.LTC3 {
    color: rgb(235, 38, 12);
}



@media (max-width: 720px) {
    .button div {
        display: none;
    }
}

@media (max-width: 920px) {
    .menu > div {
        font-size : 12px;
    }
    .statisticWrap {
        height: calc(100% - 253.19px);
    }
}

@media (max-height: 765px) {
    .statisticWrap {
        height: calc(100% - 234.19px);
    }
}

@media (max-height: 765px) {
    .statisticWrap {
        height: calc(100% - 234.19px);
    }
}

@media (max-width: 750px) {
    .search-content.congest {
        height: calc(100% - 48px);
    }
    .search-content{
        height: calc(100% - 92px);
    }
    .statisticWrap {
        height: calc(100% - 237.19px);;
    }
}

@media (max-width: 547px) {
    .statisticWrap {
        height: calc(100% - 256.19px);
    }
}

@media (max-width: 420px) {
    .mobile-menu {
        display: flex;
    }

    .menu {
        display:  none;
    }

    .statisticWrap {
        height: calc(100% - 228.19px);
        padding: 5px 0 75px 0;
    }
    .table-box table td,
    .table-box table th {
        font-size: 11px;
    }

    .table-box table td:first-child,
    .table-box table th:first-child {
        min-width : 100px;
    }
    .statisticWrap .search-bar .label{
        font-size: 11px;
    }

    .statisticWrap .search-bar > div:nth-child(1) > div:nth-child(2) select.date,
    .statisticWrap .search-bar > div:nth-child(1) > div:nth-child(2) select.month {
        min-width: 65px;
    }
}