@media screen and (max-width: 1500px) {

    /***************內容**************/
    .page-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    /*************入口****************/
    .enter .card .title img {
        width: 12%;
        margin: 20px auto;
    }

    .enter .card .text {
        font-size: 18px;
        padding: 10px 0;
    }

    /**********入口第二層**********/
    .enter-info .card .title {
        font-size: 18px;
    }

    .enter-info .card .text {
        font-size: 13px;
    }

    /**********開關控制頁**********/
    .power-page .item .power-name {
        font-size: 15px;
    }

    .temperature-page .item .power-name {
        font-size: 15px;
    }

    .chart-item-title {
        font-size: 15px;
    }

    /*********圖表分析頁**********/
    .digital {
        margin-bottom: 5px;
    }

    .digital h1 {
        font-size: 20px;
    }

    .two-chart .item {
        height: 210px;
    }

    .two-chart .item.item02 {
        height: 280px;
    }

    /*************側選單***************/
    .info .info-menu {
        font-size: 16px;
    }

    /***********歷史資料************/
    /*查詢*/
    .analysis .analysis-search {
        flex-wrap: wrap;
        padding: 0;
    }

    .analysis .analysis-search .input-box {
        width: 100%;
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .analysis .analysis-search .btn-search,
    .analysis .analysis-search .btn-search:hover {
        width: 100%;
        margin: 0 5px;
    }

    .analysis .analysis-result .form-control {
        width: 100%;
        margin: 0 5px;
    }

    /*圖表*/
    .analysis .analysis-box {
        height: 509px;
    }

    /**********勾選樣式*******/
    .control {
        padding-left: 20px;
    }
}

@media screen and (max-width: 1300px) {
    .new-container {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding: 15px;
    }
}


@media screen and (max-width: 1199px) {

    /***************選單***************/
    /*行動裝置下拉*/
    .navbar-title,
    .navbar-toggler {
        border: 0;
        padding: 0;
        height: 45px;
    }

    .navbar::before {
        background: inherit;
        height: 45px;
    }

    .navbar::after {
        display: none;
    }

    .navbar-nav {
        border-top: 1px solid #999;
    }

    .navbar .navbar-nav .nav-link {
        border-bottom: 1px solid #999;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        display: block;
    }

    .search {
        margin-bottom: .5rem;
    }

    .dropdown-menu {
        border: 0;
    }

    .navbar-nav .dropdown-menu {
        padding: 0;
        margin-bottom: 10px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 5px;
    }

    /**********內容**********/


    section.content {
        padding-top: 45px;
    }

    /**********開關控制頁**********/
    .power-page,
    .temperature-page {
        padding-left: 0;
        padding-right: 0;
    }

    .power-page .item {
        width: calc(20% - 10px);
    }

    /***********歷史資料************/
    /*查詢*/
    .analysis .analysis-search .input-box {
        width: calc(50% - 10px);
        margin-bottom: 10px;
        margin-top: 15px;
    }

    /*圖表*/
    .analysis .analysis-box {
        height: 300px;
    }

    .analysis .card-title {
        font-size: 13px;
        padding: 0 0 5px 0;
    }


}

@media screen and (max-width: 1024px) {

    /**********開關控制頁**********/

    .info-title {
        font-size: 16px;
    }

    .power-page .item .power-name {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .power-page .item svg {
        font-size: 18px;
    }
}

@media screen and (max-width: 991px) {

    /**********開關控制頁**********/

    .temperature-page .d-flex {
        justify-content: center;
    }

    /*************側選單*************/
    .info-menu ul {
        display: none;
    }

    .info-menu ul.active {
        display: block;
    }

    .info-menu ul {
        border-top: 1px solid #d5d5d5;
    }

    .info-menu ul li.active::before {
        display: none;
    }

    /******分析圖******/
    .two-chart .box {
        width: 100%;
        min-height: auto;
        margin: 25px 0;
    }

    .two-chart .title {
        top: -25px;
    }

    /******電能流量圖******/

    .sankey-box {
        padding: 30px 10%;
    }

    .sankey-info .select-box.time-box {
        position: inherit;
    }

    /******電能流量圖******/

    .sankey-info .card-title {
        padding: 10px;
    }

    .sankey-info .select-box.time-box {
        position: inherit;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .sankey-info .select-box.time-box span {
        width: 50px;
        margin-bottom: 5px;
    }

    .sankey-info .select-box.time-box .form-control {
        width: calc(100% - 50px);
        margin-bottom: 5px;
    }

    .sankey-info .select-box.time-box .btn-search {
        margin-left: 0;
        width: 100%;
    }

    /******規格用電分析******/
    /* .specification-info .card-title {
        padding: 10px;
    }

    .specification-info .select-box.time-box {
        position: inherit;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .specification-info .select-box.time-box span {
        width: 50px;
        margin-bottom: 5px;
    }

    .specification-info .select-box.time-box .form-control {
        width: calc(100% - 50px);
        margin-bottom: 5px;
    }

    .specification-info .select-box.time-box .btn-search {
        margin-left: 0;
        width: 100%;
    } */
}

@media screen and (max-width: 767px) {

    .new-container {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding: 15px;
    }

    /***************選單***************/
    .logo {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    .logo img {
        height: 25px;
    }

    /***********內容**********/

    .page-title,
    .enter-info .page-title {
        font-size: 18px;
    }

    /**********單個入口**********/
    .enter .card .title {
        height: 65px;
        font-size: 16px;
        padding: 0 5px;
    }

    /************入口*******/
    .enter .card .title img {
        width: 15%;
    }

    .enter .card .text {
        font-size: 14px;
        padding: 5px 0;
    }

    .power-page .item {
        width: calc(25% - 10px);
        padding: 10px 0;
    }

    /***********圖表分析頁**********/
    /*總量*/
    .total .card {
        text-align: center;
    }

    .total .card strong {
        font-size: 20px;
        margin: 0;
    }

    /*數據*/
    .digital h1 {
        font-size: 20px;
    }

    /******規格用電分析******/
    .specification-chart .box .item {
        margin: 20px;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 14px;
    }


    .select-box.time-box,
    .select-box.pro-line {
        position: inherit;
        right: inherit;
        top: inherit;
    }

    /********入口第二層*********/
    .enter-info .card .text {
        font-size: 12px;
    }

    .enter-info .card .title {
        font-size: 18px;
    }

    /**********開關控制頁**********/
    .power-page .item {
        width: calc(33% - 6px);
        margin: 0 3px 10px;
    }

    .power-page .item .power-name {
        font-size: 13px;
    }

    /*溫度*/
    .temperature-page .item {
        width: 100%;
        height: auto;
        margin: 0 0 5px;
    }

    .temperature-page .chart-item {
        width: 100%;
        margin: 0 0 20px;
    }

    .temperature-page .item .temperature-data span.data-value {
        font-size: 30px;
        /* min-width: 80px; */
        min-width: auto;
    }

    .chart-item-title {
        text-align: center;
    }
}

@media screen and (max-width: 350px) {

    /***************選單***************/
    .logo {
        font-size: 1rem;
        margin-right: 5px;
    }

    .navbar-toggler {
        padding: .25rem .3rem;
    }

    /**********開關控制頁**********/
    .power-page .item .power-name {
        letter-spacing: -0.5px;
    }

    /*溫度*/
    .temperature-page .item .temperature-data span.data-value {
        font-size: 27px;
        min-width: 70px;
    }
}