@charset "utf-8";

body {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'sans-serif';
    background-color: #E9F3FE;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
}

ul {
    padding-left: 0;
    list-style-type: none;
}

/*清除*/
.form-control:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ced4da;
}

/*新select*/
select.form-control,
select.form-control:focus {
    background: #fff url(../images/arrow-line.png) no-repeat;
    background-size: 10px;
    background-position: calc(100% - 8px) center !important;
    box-sizing: border-box;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
}

/*鎖定時*/
.form-control:disabled,
.form-control[readonly] {
    background-color: #ececec;
    opacity: 1;
}

/*按鈕*/
.btn-blue,
.btn-blue:hover {
    background: #007BFF;
    color: #fff;
}

.btn-green,
.btn-green:hover {
    background-color: #73C775;
    color: #fff;
}

.btn-red,
.btn-red:hover {
    background-color: #EF4B4B;
    color: #fff;
}

.btn-black,
.btn-black:hover {
    background-color: #333;
    color: #fff;
}

.btn-gray,
.btn-gray:hover {
    background-color: #999;
    color: #fff;
}

.btn-small {
    margin-right: 5px;
    font-size: 14px;
    padding: 5px 10px;
}

/**清單**/
.form-group .add-select {
    display: flex;
    white-space: nowrap;
    align-items: center;
}

.form-group .add-select .btn {
    margin-left: 5px;
}

.form-group.list {
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 5px;
    color: #666;
}

.form-group.list ul {
    margin: 0;
}

.form-group.list ul li {
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
}

.form-group.list ul li .btn {
    padding: 1px 3px;
    white-space: nowrap;
}

/*開關 關閉時顏色*/
.custom-control-input:disabled~.custom-control-label::before,
.custom-control-input[disabled]~.custom-control-label::before {
    background-color: #fff;
}

/***************網頁選取顏色***************/
::selection {
    background-color: #999;
    color: #fff;
}

::-moz-selection {
    background-color: #999;
    color: #fff;
}

/**************捲軸樣式**************/
/* 整個捲軸 */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* 捲軸的軌道 */
::-webkit-scrollbar-track {
    background: #333;
}

/*捲軸尚未滑到的軌道*/
::-webkit-scrollbar-track-piece {
    background: #333;
}

/* 滑動的區塊 */
::-webkit-scrollbar-thumb {
    background: #999;
}

/* 滑鼠移到滑動的區塊上 */
::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/*---------------------------------
共用
-----------------------------------*/

/****導覽與時間****/
.page-top {
    padding: 0 4rem 5px 4rem;
    padding-top: 55px;
    background-color: rgb(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    color: #686868;
}

.page-top .breadcrumb {
    padding: 0;
    margin-bottom: 0;
    background-color: inherit;
}

.page-time {
    color: #463939;
    text-align: right;
    font-size: 0.95rem;
}

/****標題****/
.page-title {
    margin-bottom: 20px;
}

.page-title h1 {
    position: relative;
    font-size: 1.5rem;
    display: inline-block;

}

.page-title h1::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 30%;
    display: block;
    transform: translateY(50%);
    width: 60%;
    height: 1px;
    background-color: #44C5D2;
}

.small-title {
    margin-bottom: 5px;
}

/****內容****/
.content {
    padding: 10px 4rem 0 4rem;
}

/****卡片框****/
.card {
    padding: 10px;
}

/****室內圖框****/
.indoor-box-all {
    padding: 40px 50px;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #44C5D2;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #fff;
}

.indoor-box {
    position: relative;
}

/****小選單按鈕****/
.ul-link {
    display: flex;
    flex-wrap: wrap;
}

.ul-link li {
    margin-bottom: 5px;
}

.ul-link li a {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #333;
    padding: 3px 0;
    width: 70px;
    text-align: center;
    margin-right: 10px;
    display: block;
}

.ul-link li a.active {
    background-color: #333;
    color: #fff;
}

/****頁面底線標題****/
.page-tite {
    border-bottom: 1px solid #28B4C8;
    margin: 10px 0;
    padding: 5px 0;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-content: center;
}

.page-tite span {
    white-space: nowrap;
    margin-right: 10px;
    line-height: 2;
}

.page-tite .form-select {
    max-width: 300px;
}

/****視窗內--頁面底線標題****/
.modal .page-tite {
    color: #109CAB;
    font-size: 1rem;
}

/****表格****/
.table-box {
    overflow: auto;
    background-color: #fff;
    margin-bottom: 20px;
}

.table {
    text-align: center;
    white-space: nowrap;
}

.table .thead {
    color: #fff;
    background-color: #109CAB;
    border-color: #109CAB;
}

.table .thead th {
    font-weight: 400;
    font-size: 1.1rem;
}

.table .btn {
    padding-top: 1px;
    padding-bottom: 1px;
}

/***單列按鈕群組***/
.button-box-list {
    display: flex;
    justify-content: end;
    margin-bottom: 10px;
}

.button-box-list .btn {
    padding: .375rem 1.25rem;
}

/***按鈕群組***/
.button-box {
    display: flex;
    justify-content: center;
}

.button-box .btn {
    margin: 0 3px;
}

/****隱藏視窗***/
.modal .modal-footer {
    flex-wrap: nowrap;
}

.modal-dialog-scrollable .modal-header {
    background-color: #109CAB;
    color: #fff;
    font-weight: 400;
}

.modal-title {
    font-weight: 400;
    line-height: 1;
}

/*---------------------------------
# 上方選單
-----------------------------------*/

/*搜尋 star*/
.search {
    max-width: 500px;
    margin: auto;
    display: flex;
}

.search input {
    border: 0;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    height: 30px;

}

.search .btn {
    border: 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #fff;
    height: 30px;
}

.search .btn img {
    width: 20px;
}

/*搜尋 end */

.navbar-title {
    display: flex;
    align-items: center;
}

.logo {
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.logo img {
    width: auto;
    height: 35px;
    margin-right: 7px;
}

.logo:hover {
    color: #fff;
}

.copyright,
.copyright:hover {
    color: #999;
}

.navbar {
    font-size: 17px;
    padding: 5px 1rem;
    z-index: 50;
    width: 100%;
    background: -ms--gradient(to bottom right, #1AACBB 0%, #008593 100%);
    background: -webkit-linear-gradient(to bottom right, #1AACBB 0%, #008593 100%);
    background: linear-gradient(to bottom right, #1AACBB 0%, #008593 100%);
}

/*
.navbar::before {
    position: absolute;
    content: "";
    background: url(../images/head-bg.svg) no-repeat top right;
    z-index: -1;
    right: 10px;
    top: 0;
    width: 410px;
    height: 50px;
}

.navbar::after {
    position: absolute;
    content: "";
    background-color: #009e8e;
    z-index: -1;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
} */

.navbar .navbar-nav .nav-link {
    color: #eee;
}

.navbar-dark .navbar-toggler {
    font-size: 14px;
    border-color: rgba(255, 255, 255, .7);
}

/*使用者 下拉 star*/
.dropdown-item,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: initial;
}

.dropdown-menu {
    border-radius: .1rem;
    background-color: #017385;
    border-top: 1px solid #999;
    margin-top: 0;
    min-width: 125px;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
}

.user,
.user:hover {
    color: #eee;
}

.user img {
    width: 17px;
    margin-right: 5px;
}

/***登出鈕****/
.navbar-nav .nav-item .user {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

}

.btn-login {
    background-color: #fff;
    margin-left: 10px;
    padding: .1rem .75rem;
    color: #008593;
}

/*使用者 下拉 end*/
@media screen and (min-width: 1200px) {

    .navbar-nav {
        align-items: center;
    }

    .navbar {
        height: 50px;
        padding: 0 4rem;
    }

    .navbar .navbar-nav .nav-link {
        padding: .75rem 1.2rem;
        border-right: 1px solid #bfded7;
    }

    .user,
    .user:hover {
        display: block;
        height: 50px;
        margin-left: 1.2rem;
    }

    .search {
        max-width: 200px;
        display: flex;
        margin-right: 1rem;
    }
}

/*---------------------------------
# 登入
---------------------------------*/
.login-content {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    background-color: #fff;
    background: url(../images/login-bg.jpg) no-repeat top;
    background-size: cover;
    position: relative;
}

.login-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(56, 71, 73, 0.4);
}

.login-nav {
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.login-nav img {
    width: 30px;
    margin-right: 7px;
}

.login-nav .navbar-title {
    margin: auto;
}

.login {
    padding-top: 320px;
}

.login-box {
    width: 500px;
    margin: auto;
    padding: 0 1rem;
}

.login .title {
    background: linear-gradient(to bottom right, #1AACBB 0%, #008593 100%);
    color: #fff;
    text-align: center;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.login .form-control {
    border: 1px solid #999;
}

.login-box .card {
    padding: 0;
    border: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.login .card-box {
    padding: 40px 30px 25px 30px;
    border: 2px solid #008593;
    box-shadow: 5px 5px 10px rgb(75 88 105 / 12%);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: 0;
}

.login .btn {
    background-color: #959595;
    border-color: #959595;
    margin-top: 20px;
}

.login .btn:active {
    background-color: #666 !important;
    border-color: #666 !important;
}

@media screen and (max-width: 767px) {
    .login-nav {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    .login-box {
        width: 100%;
        margin: 100px auto 0 auto;
    }

    .login .card-box {
        padding: 20px;
    }

    .login .title {
        padding: 7px 0;
        font-size: 18px;
    }

    .login .btn {
        margin-top: 0px;
    }
}

/*---------------------------------
首頁
-----------------------------------*/
.view {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 20px 30px 15px 30px;
    margin-bottom: 10px;
}

.view .img-box {
    width: 75px;
}

.view .img-box img {
    width: 75px;
}

.view .text {
    width: calc(100% - 75px);
    padding: 0 30px;
}

/**名稱**/
.text-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.text-group label {
    width: 75px;
    margin: 0;
    color: #008896;

}

.text-group .label-text {
    width: calc(100% - 75px);

}



/**********標題**********/
.index-content .card-title {
    font-size: 1.2rem;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.index-content .card-title img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

/**********數據**********/

.digital .card.index-digital-card .card-text {
    padding: 10px 0 10px 0;
    font-size: 2.5rem;
}

.index-content .card.index-digital-card .card-text {
    font-size: 2.2rem;
    min-height: 93px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.index-content .index-digital-card .card-text span {
    display: block;
    font-size: 1.2rem;

}

/**********圓餅圖**********/

.chartpie-item {
    height: 230px;
}

.chart-box.index-chart-box {
    height: 250px;
}

/**********量規**********/
.index-content .card-height {
    height: 110px;
}

.index-content .chart-gauge .gauge-value {
    top: 55% !important;
}

.index-content .chart-gauge {
    padding: 5px 0px 25px 0px;
}

/*---------------------------------
電力 即時監控
-----------------------------------*/

.matching-plate .form-select {
    margin-bottom: 10px;
}

/**********數據**********/

.index-content .digital {
    align-items: center;
}

.digital {
    text-align: center;
}

.digital .card {
    margin-bottom: 10px;
}

.digital .card .card-title {
    margin-bottom: 5px;
    border-bottom: 1px solid #28B4C8;
    text-align: left;
    margin-bottom: 10px;
}

.digital .card .card-text {
    font-size: 1.7rem;
    font-weight: 500;
    color: #28B4C8;
    padding: 0 0 7px 0;
}

/**********曲線圖**********/
.chart-box {
    height: 105px;
}

/*---------------------------------
照明 即時監控
-----------------------------------*/

/***開關控制***/
.illumination-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.switch-box {
    display: flex;
    align-items: stretch;
    background-color: #fff;
    width: 19%;
    margin: 5px .5% 10px .5%;
    border-radius: 5px;
}

.switch-box.active .state02 {
    color: #73C775;
}

.switch-box.active .img-box {
    background: #73C775;
}

.switch-box.active .img-box img {
    filter: brightness(0) invert(1);
}

.switch-box .img-box {
    width: 65px;
    background: linear-gradient(to bottom right, #FFFFFF 0%, #E3E3E3 100%);
    padding: 15px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.switch-box .img-box img {
    width: 35px;
}

.switch-box .text {

    width: calc(100% - 135px);
    padding-left: 15px;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    justify-content: center;
}

.switch-box .text span {
    color: #A5A6AA;
}

.switch-box .text .name {
    font-size: 1.2rem;
    font-weight: 500;
}

.switch-box .text .state-box {
    font-size: 1.1rem;
}

.switch-box .text .state-box .state01 {
    margin-right: 15px;
    /*color: #15bacc;*/
}

.switch-box .control {
    width: 70px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #A5A6AA;
    padding-left: 0;
}

.switch-box .control.active {
    color: #73C775;
}

/**開+關**/

.custom-switch .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(2rem);
}

.custom-switch .custom-control-label::before {
    width: 3.5rem;
    border-radius: 2rem;
    top: .15rem;
}

.custom-control-label::before {
    height: 1.5rem;
    cursor: pointer;
}

.custom-switch .custom-control-label::after {
    top: calc(.15rem + 2px);
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: 2rem;
    cursor: pointer;
}

.custom-control-input:checked~.custom-control-label::before {
    border-color: #73C775;
    background-color: #73C775;
}

/*---------------------------------
冷氣 即時監控
-----------------------------------*/

.air-conditioner .switch-box {
    width: 24%;
    padding: 10px 5px;
    border-left: 7px solid #ccc;
}

.air-conditioner .switch-box.active {
    border-left: 7px solid #73C775;
}

.air-conditioner .switch-box .text {
    width: 100%;
}

.air-conditioner .switch-box .text .name {
    display: flex;
    margin-bottom: 15px;
}

.air-conditioner .switch-box .text p {
    margin-bottom: 0;
}

.air-conditioner .switch-box .text .control {
    margin-left: 10px;
}

.air-conditioner .switch-box .state-box {
    color: #666;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.air-conditioner .settings-box {
    margin-left: 5px;
}

.air-conditioner .state-box p {
    width: 55px;
}

.air-conditioner .settings-box .btn {
    border: 1px solid #888;
    color: #333;
    font-size: 1rem;
    padding: 2px 11px;
}

.air-conditioner .settings-box span {
    color: #333;
}

.air-conditioner .settings-box .btn:hover,
.air-conditioner .settings-box .btn.active {
    border: 1px solid #888;
    background-color: #888;
    color: #fff;
}

.temperature-controller-box {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.temperature-controller-box .temperature-show {
    margin-right: 10px;
    color: #444;
}

.temperature-controller-box .btn-temperature {
    border: 1px solid #666;
    color: #444;
    margin-right: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

/*---------------------------------
冷氣 即時監控 + 冷氣設定 (第二版面)
-----------------------------------*/
.air-conditioner.air-conditioner-two .switch-box {
    width: 99%;
}

/****畫面固定****/
.container-overflow {
    overflow-y: auto;
    overflow-x: hidden;
    height: 70vh;
}

/*---------------------------------
照明 排程設定
-----------------------------------*/
.table-box.lighting-schedule {
    min-height: 70vh;
}

/**表格資料**/

.table-box.lighting-schedule .schedule-state.active {
    color: #349e35;
}

/****重複****/
.form-check-box {
    display: flex;
}

/*---------------------------------
數據分析
-----------------------------------*/
.analysis .card-title {
    padding: 5px 0px 5px 5px;
}

.analysis .card {
    margin-bottom: 10px;
    padding: 15px 20px;
}

.analysis .form-control {
    margin-bottom: 10px;
    border-radius: .25rem;
    box-shadow: 0px 1px 2px 1px rgb(154 154 204 / 22%);
    border: 0;
}

.analysis .card .form-control {
    box-shadow: none;
    border: 1px solid #ccc;
}

.analysis .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.analysis .form-group .form-control {
    width: 39%;
    margin-right: 1%;
    margin-bottom: 0;
}

.analysis .form-group .btn {
    width: 20%;
}

.analysis .form-check-label {
    margin-left: 5px;
}

.analysis .card .form-control {
    box-shadow: none;
    border: 1px solid #ccc;
}

.analysis .page-tite-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #28B4C8;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.analysis .page-tite-box .page-tite {
    border-bottom: 0;
    margin: 0;
}

.analysis .page-tite-box .card-title {
    margin: 0;
    padding: 0;
}

/*********圖表**********/
.analysis .analysis-box {
    height: 275px;
}

.analysis .analysis-card .card-title {
    text-align: right;
}

.analysis .analysis-card .card-title.card-title-max {
    color: #e22729;
    font-weight: 600;
}

.analysis .analysis-card .btn-export,
.analysis .analysis-card .btn-export:hover {
    background-color: #333;
    color: #fff;
    margin: 0 5px;
    font-size: 14px;
}

/***********勾選樣式*************/


.control-group {
    display: inline-block;
    vertical-align: top;
    background: #fff;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 200px;
    height: 210px;
    margin: 10px;
}

.control {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin: 0px 10px 0px 0;
    cursor: pointer;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control__indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: 16px;
    width: 16px;
    background: #fff;
    border-radius: .25rem;
    border: 1px solid #ccc;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input~.control__indicator {
    background: #ccc;
}

.control input:checked~.control__indicator {
    background: #007BFF;
    border: 1px solid #007BFF;
}

.control:hover input:not([disabled]):checked~.control__indicator,
.control input:checked:focus~.control__indicator {
    background: #007BFF;
}

.control input:disabled~.control__indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}

.control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}

.control input:checked~.control__indicator:after {
    display: block;
}

.control--checkbox .control__indicator:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.control--checkbox input:disabled~.control__indicator:after {
    border-color: #7b7b7b;
}

.control--radio .control__indicator:after {
    left: 4px;
    top: 4px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #fff;
}

.control--radio input:disabled~.control__indicator:after {
    background: #7b7b7b;
}

/*---------------------------------
環境即時監控
-----------------------------------*/
.digital .card .card-text.environment-card-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 105px;
    font-size: 2rem;
}

/*---------------------------------
事件檢視
-----------------------------------*/

/****次選單****/
.page-menu-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.page-menu-box::after {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 25px;
    right: 25px;
    margin: auto;
    display: block;
    width: calc(100% - 50px);
    height: 1px;
    background-color: #17A8B7;
    z-index: -1;
}

.page-menu-box .menu-link {
    width: 180px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #17A8B7;
    background-color: #fff;
    padding: 5px 0;
    font-size: 1.1rem;
}

.page-menu-box .menu-link.active,
.page-menu-box .menu-link:hover {
    background-color: #17A8B7;
    color: #fff;
}

.search-box .text-group {
    width: 100%;
}

/****查詢****/
.search-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.search-box .text-group {
    display: flex;
    width: 200px;
    color: #212529;
    margin-right: 15px;
    margin-bottom: 0;
}

.search-box .text-group label {
    width: 75px;
    color: #212529;
}

.search-box .text-group .label-text {
    width: 125px;
    color: #212529;
}

.search-box .btn {
    margin-right: 15px;
    background-color: #545454;
    border-color: #545454;
    color: #fff;
}

/****表格****/
.table-box.event-data {
    min-height: 65vh;
}


.table-box.event-data .table thead {
    background-color: #545454;
    border-color: #545454;
}

.table-box.event-data .table {
    white-space: normal;
}

.table-box.event-data tr th:nth-child(1),
.table-box.event-data tr td:nth-child(1) {
    width: 220px;
}

.table-box.event-data tr th:nth-child(2),
.table-box.event-data tr td:nth-child(2) {
    width: calc(100% - 220px);
    text-align: left;
}

/*---------------------------------
太陽能即時監控
-----------------------------------*/
.digital.digital-solar-photovoltaic .card .card-text,
.digital.digital-solar-energy .card .card-text {
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.card canvas {
    margin: auto;
}

.card canvas.gauge {
    margin-bottom: -50px;
}

.chart-box.card-curve-height {
    height: 150px;
}

.chart-box.card-curve-height-two {
    height: 155px;
}

/**********量規(chart.js)**********/
.chart-box .card {
    margin-bottom: 10px;
}

.card-height {
    height: 100px;
}

.chart-gauge {
    width: 100%;
    margin: auto;
    position: relative;
    padding: 5px;

}

.chart-gauge .gauge-value {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 50%;
    margin: auto;
    font-size: 20px;
    text-align: center;
}

.chart-gauge .gauge-value span {
    display: block;
    font-size: 15px;
    color: #999;
    text-align: center;
}

.chart-gauge .mingauge,
.chart-gauge .maxgauge {
    position: absolute;
    bottom: 10px;
}

.chart-gauge .mingauge {
    left: 20px;
}

.chart-gauge .maxgauge {
    right: 20px;
}


/**********天氣圖報**********/
.weather-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 255px;
}

.weather-box .item {
    width: 50%;
    padding: 10px 15px;
}

.weather-box .source {
    width: 100%;
    text-align: right;
    padding: 0 15px;
    font-size: 14px;
}

.weather-box .item .title {
    background-color: #EEF0F5;
    border-radius: 5px;
    padding: 5px 0;
}

/*天氣內容*/
.weather-box .item-text {
    display: flex;
    align-items: center;
    padding: 10px 25px 0px 25px;
}

/*天氣圖*/
.weather-box .item-text img {
    width: 50%;
    padding: 20px;
}

/*天氣詳細*/
.weather-box .text {
    width: 50%;
    color: #666;
}

.weather-box .text .time {
    margin-bottom: 5px;
}

.weather-box .text .temperature {
    font-size: 28px;
    font-weight: 500;
}

.weather-box .text .rain {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52C5EE;
}

.weather-box .text .rain img {
    width: 18px;
    padding: 0;
    margin-right: 5px;
}

/*---------------------------------
太陽能即時監控
-----------------------------------*/

.chart-box.card-curve-height-three {
    height: 485px;
}

.chart-box.card-curve-height-four {
    height: 150px;
}

.chart-box.card-curve-height-six {
    height: 85px;
}

.card-height-six {
    height: 85px;
}

.card-height-kwh {
    height: 105px;
}

.digital.digital-solar-energy .card .card-text.card-height-six,
.digital.digital-solar-energy .card .card-text.card-height-seven {
    font-size: 2rem;
}

.chart-box.card-curve-height-seven {
    height: 350px;
}

.card-height-seven {
    height: 240px;
}

.card canvas.gauge.two {
    margin-bottom: -30px;
}

/*---------------------------------
頁數
-----------------------------------*/

.page-number {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.page-number .btn {
    font-size: 17px;
    line-height: 14px;
    color: #333;
    min-width: 30px;
    height: 30px;
    text-align: center;
    padding: 8px 5px;
    border: 0;
    margin: 0 5px;
    background-color: #fff;
    width: auto;
}

.page-number img {
    width: 15px;
    height: 15px;
    margin: auto;
}

.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.show>.btn-light.dropdown-toggle {
    color: #fff;
    background-color: #1869B8;
    border-color: #1869B8;
}

.btn.disabled,
.btn:disabled,
.btn.disabled:hover,
.btn:disabled:hover {
    opacity: .3;
    cursor: context-menu;
}


/*---------------------------------
定位點
-----------------------------------*/
.dot-box {
    position: absolute;
    cursor: pointer;
    z-index: 20;
    background-color: #f76161;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /*定位點置中*/
    transform: translate(-50%, -50%);
}

.dot-box.active {
    background-color: #73C775;
}

.dot-box i {
    font-size: 12px;
    color: #fff;
}