@charset "utf-8";

/*數字*/
@font-face {
    font-family: digital;
    src: url(../fonts/digital-7.ttf) format("opentype");
}

body {
    font-family: 'Rubik', 'Noto Sans TC', 'Microsoft JhengHei', 'sans-serif' !important;
}

.body-bg {
    background: #F0F2F5;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
}

ul {
    padding-left: 0;
    list-style-type: none;
}

:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    border: 1px solid #ced4da;
}

.form-control {
    border-radius: 0.5rem;
}

select {
    cursor: pointer;
}

::selection {
    background: #27988D;
    color: #fff;
}

::-moz-selection {
    background: #27988D;
    color: #fff;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

/**************載入**************/

.loading {
    width: 100%;
    height: 100%;
    background-color: #FFC112;
    position: fixed;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
}

@-webkit-keyframes scroll-anim {
    0% {
        margin-top: 0;
    }

    15% {
        margin-top: 12px;
    }

    30% {
        margin-top: 0px;
    }

    45% {
        margin-top: 12px;
    }

    60% {
        margin-top: 0px;
    }

    100% {
        margin-top: 0;
    }
}

@keyframes scroll-anim {
    0% {
        margin-top: 0;
    }

    15% {
        margin-top: 12px;
    }

    30% {
        margin-top: 0px;
    }

    45% {
        margin-top: 12px;
    }

    60% {
        margin-top: 0px;
    }

    100% {
        margin-top: 0;
    }
}

.loading span {
    color: #fff;
    margin-top: 5px;
    display: block;
    font-size: 15px;
}


.browser-screen-loading-content {
    text-align: center;
    height: 2em;
    max-width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 3em;
    left: 0;
    margin: auto;
}

.loading-dots {
    margin-left: -1.5em;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -webkit-animation: loading-dots-fadein .5s linear forwards;
    -moz-animation: loading-dots-fadein .5s linear forwards;
    -o-animation: loading-dots-fadein .5s linear forwards;
    -ms-animation: loading-dots-fadein .5s linear forwards;
    animation: loading-dots-fadein .5s linear forwards;
}

.loading-dots i {
    width: 0.5em;
    height: 0.5em;
    display: inline-block;
    vertical-align: middle;
    background: #e0e0e0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin: 0 .125em;
    -webkit-animation: loading-dots-middle-dots .5s linear infinite;
    -moz-animation: loading-dots-middle-dots .5s linear infinite;
    -o-animation: loading-dots-middle-dots .5s linear infinite;
    -ms-animation: loading-dots-middle-dots .5s linear infinite;
    animation: loading-dots-middle-dots .5s linear infinite;
}

.loading-dots.dark-gray i {
    background: #fff;
}

.loading-dots i:first-child {
    -webkit-animation: loading-dots-first-dot .5s infinite;
    -moz-animation: loading-dots-first-dot .5s linear infinite;
    -o-animation: loading-dots-first-dot .5s linear infinite;
    -ms-animation: loading-dots-first-dot .5s linear infinite;
    animation: loading-dots-first-dot .5s linear infinite;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -webkit-transform: translate(-1em);
    -moz-transform: translate(-1em);
    -o-transform: translate(-1em);
    -ms-transform: translate(-1em);
    transform: translate(-1em);
}

.loading-dots i:last-child {
    -webkit-animation: loading-dots-last-dot .5s linear infinite;
    -moz-animation: loading-dots-last-dot .5s linear infinite;
    -o-animation: loading-dots-last-dot .5s linear infinite;
    -ms-animation: loading-dots-last-dot .5s linear infinite;
    animation: loading-dots-last-dot .5s linear infinite;
}


@-moz-keyframes loading-dots-fadein {
    100% {
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@-webkit-keyframes loading-dots-fadein {
    100% {
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@-o-keyframes loading-dots-fadein {
    100% {
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@keyframes loading-dots-fadein {
    100% {
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@-moz-keyframes loading-dots-first-dot {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em);
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@-webkit-keyframes loading-dots-first-dot {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em);
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@-o-keyframes loading-dots-first-dot {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em);
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}

@keyframes loading-dots-first-dot {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em);
        opacity: 1;
        -ms-filter: none;
        filter: none
    }
}


@-moz-keyframes loading-dots-middle-dots {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em)
    }
}

@-webkit-keyframes loading-dots-middle-dots {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em)
    }
}

@-o-keyframes loading-dots-middle-dots {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em)
    }
}

@keyframes loading-dots-middle-dots {
    100% {
        -webkit-transform: translate(1em);
        -moz-transform: translate(1em);
        -o-transform: translate(1em);
        -ms-transform: translate(1em);
        transform: translate(1em)
    }
}


@-moz-keyframes loading-dots-last-dot {
    100% {
        -webkit-transform: translate(2em);
        -moz-transform: translate(2em);
        -o-transform: translate(2em);
        -ms-transform: translate(2em);
        transform: translate(2em);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0)
    }
}

@-webkit-keyframes loading-dots-last-dot {
    100% {
        -webkit-transform: translate(2em);
        -moz-transform: translate(2em);
        -o-transform: translate(2em);
        -ms-transform: translate(2em);
        transform: translate(2em);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0)
    }
}

@-o-keyframes loading-dots-last-dot {
    100% {
        -webkit-transform: translate(2em);
        -moz-transform: translate(2em);
        -o-transform: translate(2em);
        -ms-transform: translate(2em);
        transform: translate(2em);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0)
    }
}

@keyframes loading-dots-last-dot {
    100% {
        -webkit-transform: translate(2em);
        -moz-transform: translate(2em);
        -o-transform: translate(2em);
        -ms-transform: translate(2em);
        transform: translate(2em);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0)
    }
}

/*--------------------------------------------------------------
# 共用
--------------------------------------------------------------*/

/***************通用***************/
input[type=checkbox],
input[type=radio] {
    zoom: 1.5;
    cursor: pointer;
    margin-left: 0;
}

.form-check-input {
    margin-top: .15rem;
}

.new-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 15px 15px 15px 215px;
}

select.form-control,
select.form-control:focus {
    background: #fff url(../images/arrow-line.png) no-repeat;
    background-size: 13px;
    background-position: calc(100% - 10px) center !important;
    box-sizing: border-box;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
}

/***************捲軸樣式***************/
/* 整個捲軸 */

::-webkit-scrollbar {
    width: 5px;
}

/* 捲軸的軌道 */
::-webkit-scrollbar-track {
    background: #444;
}

/*捲軸尚未滑到的軌道*/
::-webkit-scrollbar-track-piece {
    background: #444;
}

/* 滑動的區塊 */
::-webkit-scrollbar-thumb {
    background: #999;
}

/* 滑鼠移到滑動的區塊上 */
::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/*placeholder*/
.form-control::-webkit-input-placeholder {
    color: #999;
}

/*--------------------------------------------------------------
# 上方選單
--------------------------------------------------------------*/

/*搜尋 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: 27px;
    margin-right: 7px;
}

.logo:hover {
    color: #fff;
}

.copyright,
.copyright:hover {
    color: #999;
}

.navbar {
    font-size: 17px;
    padding: 0 1rem;
    z-index: 50;
    width: 100%;
    background-color: #2F8A86;
}

.navbar::before {
    position: absolute;
    content: "";
    z-index: -1;
    right: 80px;
    top: 0;
    width: 410px;
    height: 50px;
}

.navbar .navbar-nav .nav-link {
    color: #eee;
}

/*使用者 下拉 star*/
.dropdown-item,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: initial;
}

.dropdown-menu {
    border-radius: .1rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 1px solid #999;
    margin-top: 0;
    min-width: 125px;
}

.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #bfded7;
}

.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;
}

/*使用者 下拉 end*/
@media screen and (min-width: 1200px) {

    .navbar-nav {
        align-items: center;
    }

    .navbar {
        height: 50px;
        padding: 0 15px;
    }

    .navbar .navbar-nav .nav-link {
        padding: .75rem 1.2rem;
        border-right: 1px solid #bfded7;
    }

    .user {
        height: 50px;
        margin-left: 1.2rem;
    }

    .search {
        max-width: 200px;
        display: flex;
        margin-right: 1rem;
    }
}

/*--------------------------------------------------------------
選單+側邊+內容
--------------------------------------------------------------*/
.navbar {
    justify-content: space-between;
}

.btn-loginout {
    background-color: #fff;
}

.navbar-btn .btn-toggle-fullwidth {
    margin-right: 10px;
    border: none;
    background: none;
    outline: none;
}

.navbar-btn button svg {
    font-size: 20px;
    color: #fff;
}

.admin-name,
.admin-name:hover {
    font-size: 20px;
    /* color: #54d5dc; */
}

.admin-name span {
    /* color: #e7f9fa; */
    margin-left: 5px;
}

.navbar-admin {
    transition: all 0.3s;
    -moz-box-shadow: 0px 0px 28px 0px rgba(82, 63, 105, 0.13);
    -webkit-box-shadow: 0px 0px 28px 0px rgba(82, 63, 105, 0.13);
    box-shadow: 0px 0px 28px 0px rgba(82, 63, 105, 0.13);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: .5rem 1rem;
    margin: 0;
    border: none;
    background-color: #2B333E;
    color: #eee;
    border-bottom: 1px solid #fff;
    z-index: 50;
}

.navbar-user .user {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.navbar-user .user svg {
    margin-right: 5px;
    font-size: 1.5rem;
}

.navbar-user .user.mess {
    position: relative;
}

.navbar-user .user.mess span {
    background-color: #FDD000;
    min-height: 15px;
    line-height: 14px;
    min-width: 15px;
    text-align: center;
    border-radius: 100%;
    color: #231427;
    font-size: 12px;
    z-index: 1;
    font-weight: bold;
    position: absolute;
    width: 15px;
    height: 15px;
    right: -5px;
    top: 0;
    bottom: 0;
}

.sidebar {
    transition: all 0.3s;
    width: 200px;
    height: 100%;
    float: left;
    background-color: #050e0d;
    position: fixed;
    left: 0;
    font-size: 16px;
}

.slide {
    transition: all 0.3s;
}

.main {
    transition: all 0.3s;
    /*影響版面*/
    /* width: calc(100% - 200px); */
    width: 100%;
    left: 0;
    position: relative;
    float: right;
}

#sidebar-nav {
    overflow: auto;
}

#sidebar-nav,
.main {
    padding-top: 55px;
}

.btn-toggle-fullwidth {
    display: none;
}

/*控制選單展開*/

.layout-fullwidth .sidebar {
    left: -230px;
}

.layout-fullwidth .main {
    /*影響版面*/
    /* width: 100%; */
}

.layout-fullwidth .navbar {
    left: 0 !important;
}

.offcanvas-active .sidebar {
    left: 0;
}

.offcanvas-active .main {
    width: 100%;
    position: relative;
}

.user {
    display: flex;
    align-items: center;
}

.user-name {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1300px) {
    .btn-toggle-fullwidth {
        display: block;
    }

    .sidebar {
        left: -260px;
    }

    .main {
        width: 100%;
    }

    .navbar {
        left: 0 !important;
    }

    .btn-toggle-fullwidth {
        color: #00AAFF;
    }

    .navbar .navbar-btn a img {
        width: 125px;
    }

    .navbar-user .user {
        margin-right: 10px;
    }
}

.main-content {
    padding: 1.5rem 2rem;
}

.navbar+.main-content {
    padding: 105px 0 28px 5px;
}

@media screen and (max-width: 767px) {
    .navbar+.main-content {
        padding-top: 155px;
    }
}

.sidebar {
    z-index: 9;
}

.sidebar .nav>li {
    position: relative;
}

.sidebar .nav>li>a {
    padding: 12px 15px;
    color: #cfd7e0;
    display: block;
}

/*.sidebar .nav>li>a:focus,*/

.sidebar .nav>li>a:hover,
.sidebar .nav>li>a.active {
    color: #e2e7ec;
    background-color: transparent;
}

.sidebar .nav>li>a.title {
    color: #e2e7ec;
    border-bottom: 1px solid #555;
    margin: 0 15px;
}

.sidebar .nav>li .title {
    background-color: rgb(109 180 226 / 5%);
}

.sidebar .nav>li.active .title {
    color: #fff;
    background-color: #1c5350;
}

.sidebar .nav>li.active>a {
    color: #97c5c3;

}

.sidebar .nav>li>a:hover i,
.sidebar .nav>li>a:focus i,
.sidebar .nav>li>a.active i {
    color: #00AAFF;
}

.sidebar .nav>li>a .badge {
    font-weight: 400;
    background-color: #F9354C;
}

.sidebar .nav {
    display: block;
}

.sidebar p {
    text-align: center;
    color: #fff;
}

.sidebar .nav i {
    margin-right: 10px;
    font-size: 18px;
}

.sidebar .nav svg {
    margin-right: 7px;
    width: 20px;
}

.sidebar .nav span {
    /*transition: all 0.3s;
	position: relative;
	margin-left: 10px;*/
    /*position: absolute;*/
    background-color: #dc3545;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
    margin-left: 10px;
}

.sidebar .nav .nav {
    /* background-color: #1e232a; */
    padding: .5rem 0;
}

.sidebar .nav .collapse-icon {
    position: absolute;
    right: 10px;
    top: 12.5px;
}

.sidebar .nav .second-icon {
    position: absolute;
    right: -4px;
    top: 3px;
}

.sidebar .nav .collapse-icon svg {
    font-size: 15px;
    width: auto;
}

.sidebar .nav .second-icon svg {
    font-size: 15px;
    width: auto;
}

.sidebar .nav .nav > li > a.main-title {
    padding-left: 48px;
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;
}

.sidebar .nav .nav > li > a.title{
    padding-left: 32px;
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;
}

.sidebar .nav .nav > li > a.second-title  {
    padding-left: 64px;
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;
}


.sidebar .nav .nav>li>a:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    /* background-color: #AEB7C2; */
    top: 0;
    bottom: 0;
    left: 25px;
}

.sidebar .nav .nav>li>a:focus,
.sidebar .nav .nav>li>a.active {
    background-color: transparent;
    border-left-color: transparent;
}

.sidebar .nav .nav>li>a.active a {
    color: #fff;
}

.main .box {
    background-color: #fff;
    padding: 1.5rem;
    /*border-radius: 5px;*/
    margin-bottom: 10px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .1);
    border-radius: 3px;
}

/*--------------------------------------------------------------
# 登入
--------------------------------------------------------------*/

.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 {
    margin-top: 100px;
}

.login-box {
    width: 500px;
    margin: auto;
    padding: 0 1rem;
}

.login .title {
    background: #2F8A86;
    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: 1px solid #2F8A86;
    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;
    }
}

/*--------------------------------------------------------------
# 內容
--------------------------------------------------------------*/

section.content {
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

.page-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

/*時間*/
.page-time {
    /* padding: 5px 4rem;
    text-align: right;
    background-color: rgb(255, 255, 255, 0.5);
    font-size: 0.95rem; */
    color: #463939;
    position: absolute;
    right: 15px;
    top: 65px;
}

/*--------------------------------------------------------------
# 入口
--------------------------------------------------------------*/
/**************摺疊入口************/
.case .card {
    border: 0;
    margin-bottom: 15px;
    border-radius: 0;
}

.case .card-header {
    background-color: #fff;
    padding: .65rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case .card-header h5 {
    margin-bottom: 0;
    font-size: 18px;
    color: #09203A;
    font-weight: 400;
}

.case .card-header .quantity {
    display: flex;
    color: #8E8D8D;
}

.case .card-header .quantity img {
    width: 10px;
    margin-left: 10px;
}

.case .card-body {
    background-color: #02657E;
    color: #ffff;
    padding: .75rem 2rem;
    border-top: 4px solid #FFD26A;
}

.case .card-body ul {
    margin-bottom: 0;
}

.case .card-body ul li {
    border-bottom: 1px solid #CFCFCF;
    padding: 5px;
}

.case .card-body ul li:last-child {
    border-bottom: 0;
}

.case .card-body ul li a {
    display: block;
    width: 100%;
}

/*************單個入口*************/
.enter .form-row {
    justify-content: center;
}

.enter .card {
    background-color: #fff;
    border: 2px solid #27988D;
    border-radius: 10px;
    box-shadow: 5px 5px 8px rgb(0 0 0 / 10%);
    margin-bottom: 15px;
}

.enter .card:hover {
    box-shadow: 3px 3px 4px rgb(0 0 0 / 20%);
}

.enter .card .title {
    margin: 3px;
    /* height: 100px; */
    background: -ms-linear-gradient(top, #118E82, #006158);
    background: -webkit-linear-gradient(top, #118E82, #006158);
    background: linear-gradient(top, #118E82, #006158);
    text-align: center;
    color: #fff;
    font-size: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enter .card .title img {
    width: 15%;
    margin: 20px auto;
    opacity: 0.8;
}

.enter .card .text {
    font-size: 20px;
    text-align: center;
    color: #646464;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.enter .card .text img {
    width: 20px;
    margin-right: 5px;
}

/*--------------------------------------------------------------
# 入口第二層
--------------------------------------------------------------*/
.enter-info .form-row {
    justify-content: center;
}

.enter-info .page-title {
    margin-top: 40px;
}

.enter-info .card {
    text-align: center;
    margin-bottom: 10px;
    border: 0;
    box-shadow: 0px 1px 2px 1px rgb(154 154 204 / 22%);
    padding: 0;
    border-bottom: 3px solid #007E72;
}

.enter-info .card .title {
    padding: 10px 0 5px 0;
    font-size: 20px;
    color: #19a597;
    font-weight: 500;
    display: flex;
    justify-content: center;
    position: relative;
}

.enter-info .card .title:after {
    content: '';
    position: absolute;
    display: inline-block;
    bottom: 0;
    left: 20%;
    right: 20%;
    width: 60%;
    height: 1px;
    background: #ccc;
    opacity: 0.5;
    z-index: 1;
}

.enter-info .card .text {
    margin: 10px 0;
    color: #444;
    font-size: 15px;
}

/*--------------------------------------------------------------
# 開關控制頁
--------------------------------------------------------------*/

.power-page .d-flex,
.temperature-page .d-flex {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/**********控制開關*************/
.info-title {
    padding-bottom: 7px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ACACAC;
    font-size: 17px;
    margin: 10px 3% 0px 3%;
}

.info-title a::after {
    margin: 0 6px;
    content: "/";
    color: #009e8e;
}

/* .info-title a:last-child:after {
    display: none;
} */
.power-page {
    position: relative;
    margin-bottom: 30px;
}

.power-page::after {
    content: "";
    width: 90%;
    left: 5%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: -10px;
}

.power-page .item {
    text-align: center;
    width: calc(14.2% - 10px);
    border-radius: 5px;
    background: -ms-linear-gradient(top, #fff 70%, #EBEBEB 100%);
    background: -webkit-linear-gradient(top, #fff 70%, #EBEBEB 100%);
    background: linear-gradient(top, #fff 70%, #EBEBEB 100%);
    box-shadow: 0px 1px 5px rgb(0 0 0 / 10%);
    padding: 15px 0;
    margin: 0 5px 10px;
    cursor: pointer;
    transition: all .2s;
}

.power-page .item.active {
    background: #22C458;
    box-shadow: inset 1px 1px 10px rgb(0 0 0 / 30%);
}

.power-page .item .power-name {
    font-size: 17px;
    margin-bottom: 5px;
}

.power-page .item svg {
    font-size: 22px;
    color: #DBDBDB;
}

.power-page .item.active .power-name,
.power-page .item.active svg {
    color: #e9f9ee;
}

/********溫控**********/
.temperature-page .item {
    width: 190px;
    height: 210px;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 5px;
    background: -ms-linear-gradient(top, #fff, #EBEBEB);
    background: -webkit-linear-gradient(top, #fff, #EBEBEB);
    background: linear-gradient(top, #fff, #EBEBEB);
    box-shadow: 0px 3px 6px rgb(0 0 0 / 10%);
    padding: 10px;
    margin: 0 5px 15px;
    display: flex;
    flex-direction: column;
}

.temperature-page .chart-item {
    width: calc(100% - 190px - 20px);
    height: auto;
}

.temperature-page .chart-item .chart-item-card {
    height: 150px;
}

.temperature-page .item .power-name {
    margin-bottom: 5px;
}

.temperature-page .item .temperature-data {
    display: block;
    margin: auto;
}

.temperature-page .item .temperature-data .data {
    display: flex;
    align-items: center;
    line-height: 1.1;
    justify-content: center;
}

.temperature-page .item .temperature-data span.title {
    width: 30px;
}

.temperature-page .item .temperature-data span.data-value {
    font-family: 'digital';
    color: #FF9100;
    font-size: 40px;
    /* text-align: right;
    min-width: 100px; */
    display: inline-block;
    text-align: center;
    min-width: auto;

}

.temperature-page .item .temperature-data sup {
    font-family: 'Rubik', 'Noto Sans TC', 'Microsoft JhengHei', 'sans-serif' !important;
    margin-left: 5px;
    font-size: 13px;
    color: #FF9100;
}

.chart-item-title {
    text-align: left;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
# 圖表分析頁
--------------------------------------------------------------*/
.info .card {
    padding: 10px;
    border: 0;
    border-radius: .25rem;
}

.card.filling {
    padding: 0;
}

.card.filling .card-title {
    background-color: #7C8A88;
    color: #fff;
    background: -webkit-linear-gradient(left top, #7C8A88, #CBCBCB);
    background: linear-gradient(left top, #7C8A88, #CBCBCB);
    border-radius: 5px 5px 0 0;
    margin: 0;
}

.card.filling.color02 .card-title {
    background: -webkit-linear-gradient(left top, #E8B914, #F8D57D);
    background: linear-gradient(left top, #E8B914, #F8D57D);
}

.card.filling.color02 .table-box {
    border: 1px solid #E8B914;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

.card.filling.color03 .card-title {
    background: -webkit-linear-gradient(left top, #27817D, #85D9CE);
    background: linear-gradient(left top, #27817D, #85D9CE);
    position: relative;
}
.card.filling.color04 .card-title {
    background: -webkit-linear-gradient(left top, #4bc09d, #bbffbc);
    background: linear-gradient(left top, #4bc09d, #bbffbc);
}

.card.filling.color04 .table-box {
    border: 1px solid #4bc09d;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}
.select-box.time-box {
    display: flex;
    align-items: center;
    width: 300px;
    position: absolute;
    right: 10px;
    top: 6px;
}

.select-box.time-box span {
    display: block;
    width: 60px;
    color: #fff;
    line-height: 11px;
    text-align: center;
}

.select-box.time-box .form-control {
    display: block;
    width: calc(50% - 30px);
    padding: 0.1rem 0.75rem;
    height: calc(1em + 0.75rem + 2px);
}

.select-box.pro-line {
    display: flex;
    align-items: center;
    width: 150px;
    position: absolute;
    right: 10px;
    top: 6px;
}

.select-box.pro-line span {
    display: block;
    width: 50px;
    color: #fff;
    line-height: 11px;
}

.select-box.pro-line .form-control {
    display: block;
    width: calc(100% - 50px);
    padding: 0.1rem 0.75rem;
    height: calc(1em + 0.75rem + 2px);
}

.card.filling.color03 .table-box {
    border: 1px solid #27817D;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

.table-box {
    padding: 10px 15px;
}

.table {
    margin-bottom: 0;
}

.table th {
    border-top: 0;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem;
}

.table td {
    color: #666;
    padding: 0.25rem 0.75rem;
}

/*表格1*/
.table-01 tbody tr td:nth-child(1) {
    width: 50%;
}

.table-01 tbody tr td:nth-child(2) {
    width: 30%;
}

.table-01 tbody tr td:nth-child(3) {
    width: 20%;
}

/*表格2*/
.table-02 tbody tr td:nth-child(1) {
    width: 20%;
}

.table-02 tbody tr td:nth-child(2) {
    width: 25%;
}

.table-02 tbody tr td:nth-child(3) {
    width: 15%;
}

.table-02 tbody tr td:nth-child(3) {
    width: 20%;
}

.table-02 tbody tr td:nth-child(3) {
    width: 20%;
}

/**********總量**********/
.total {
    color: #999;
    margin-bottom: 15px;
}

.card {
    margin-bottom: 10px;
}

.total .card {
    flex-direction: inherit;
    align-items: baseline;
    justify-content: center;
    border-left: 5px solid #005178;
}

.total .card span:last-child {
    margin-left: 20px;
}

.total .card strong {
    color: #FF8A04;
    font-size: 22px;
    margin-left: 5px;
    font-weight: 400;
}

/**********數據**********/
.digital {
    text-align: center;
}

.digital .card {
    padding: 10px 0px;
    margin-bottom: 10px;
    border: 1px solid #B2B2B2;
}

.digital h1 {
    margin: 0;
    font-size: 30px;
    color: #F87D2C;
}

.digital span {
    margin: 0;
    color: #444;
}

.digital h1 span {
    margin: 0;
    color: #F87D2C;
    font-size: 16px;
    font-weight: 600;
    margin-left: 5px;
}

.content-digital {
    display: flex;
    justify-content: space-around;
    text-align: center;
    height: 350px;
    padding: 40px 10px;
}

.content-digital h3 {
    font-size: 22px;
}

.card-digital span {
    margin: 0;
    color: #999;
}

/******分析圖******/
.card-title {
    padding: 10px 0px 5px 10px;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}

.two-chart {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 15px;
    align-items: flex-end;

}

.two-chart .box {
    width: 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 352px;
    justify-content: center;
}

.two-chart .title {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.two-chart .item {
    height: 275px;
}

.two-chart .item.item02 {
    height: 310px;
}

.two-chart {
    position: relative;

}

.char-height {
    height: 210px;
}

/**********量規(gauge)**********/
.card canvas {
    margin: auto;
}

.card canvas.gauge {
    margin-bottom: -15px;
}

/**********量規(chart.js)**********/
.chart-box {
    border: 1px solid #B2B2B2;
    border-radius: 0 0 5px 5px;
    border-top: 0;
}

.chart-box .card {
    margin-bottom: 10px;
}

.chart-gauge {
    width: 100%;
    margin: auto;
    position: relative;
    padding: 40px;
}

.chart-gauge .gauge-value {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 50%;
    margin: auto;
    font-size: 30px;
    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;
}

.bar-box {
    border: 1px solid #B2B2B2;
    border-radius: 0 0 5px 5px;
    border-top: 0;
    height: 422px;
    padding: 20px;
}

/*--------------------------------------------------------------
# 側選單
--------------------------------------------------------------*/
.info .info-menu {
    padding: 0px;
    font-size: 18px;
    margin-bottom: 15px;
}

.info-menu ul {
    margin-bottom: 0;
}

.info-menu ul li a {
    display: block;
    border-bottom: 1px solid #d5d5d5;
    padding: 10px 10px;
    margin: 0 10px;
}

.info-menu ul li {
    position: relative;
}

.info-menu ul li.active::before {
    /* border-left: 5px solid #19a597; */
    position: absolute;
    content: "";
    height: 100%;
    width: 5px;
    background-color: #19a597;
}

.info-menu ul li a:hover {
    color: #19a597;
}

.info-menu ul li:last-child a {
    border-bottom: 0;
}

.info-menu .info-menu-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.info-menu .navbar-toggler-icon {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

/*--------------------------------------------------------------
# 歷史資料
--------------------------------------------------------------*/
.analysis .card-title {
    padding: 5px 0px 5px 5px;
    font-size: 17px;
}

.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 .analysis-search {
    display: flex;
    padding-top: 25px;
    margin-bottom: 10px;
}

.analysis .analysis-search .input-box .form-control {
    margin-bottom: 0;
}

.analysis .analysis-search .input-box {
    position: relative;
}

.analysis .analysis-search .input-box span {
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 12px;
}

.analysis .analysis-search .input-box {
    margin: 0 5px;
}

.analysis .analysis-search .btn-search,
.analysis .analysis-search .btn-search:hover {
    background-color: #005972;
    color: #fff;
    display: block;
    white-space: nowrap;
}

.analysis .analysis-result {
    display: flex;
    align-items: center;
}

.analysis .analysis-result span {
    white-space: nowrap;
}

.analysis .analysis-result .form-control {
    width: 33.3%;
    margin: 0 5px;
}

/*********圖表**********/
.analysis .analysis-box {
    height: 408px;
}

.analysis .analysis-card .card-title {
    text-align: right;
}

.analysis .analysis-card .btn-export,
.analysis .analysis-card .btn-export:hover {
    background-color: #009e8e;
    color: #fff;
    margin: 0 5px;
    font-size: 14px;
}

/***********勾選樣式*************/
.control-title {
    margin-right: 15px;
}

.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: 30px;
    margin: 0px 10px 10px 0;
    cursor: pointer;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control__indicator {
    position: absolute;
    top: 2px;
    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: #3d405c;
    border: 1px solid #3d405c;
}

.control:hover input:not([disabled]):checked~.control__indicator,
.control input:checked:focus~.control__indicator {
    background: #333;
}

.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;
}

/*---------------------------
# 電能流量圖
-----------------------------*/
.sankey-info .digital .card {
    border: 2px solid #cccccc;
}

.sankey-info .digital .card.active,
.sankey-info .digital .card:hover {
    background-color: #fef2ea;
    border: 2px solid #F87D2C;
}

.sankey-info .select-box.time-box {
    width: auto;
}

.sankey-info .select-box.time-box span {
    width: 40px;
}

.sankey-info .select-box.time-box .form-control {
    width: 100px;
}

.sankey-info .select-box.time-box .btn-search {
    background-color: #333333;
    color: #ffffff;
    height: calc(1em + 0.75rem + 2px);
    padding: 0 15px;
    margin-left: 15px;
}

.sankey-box {
    padding: 50px 10%;
    border: 1px solid #B2B2B2;
    border-radius: 0 0 5px 5px;
    border-top: 0;
}
#sankey-chart{
    width: 100%;
}

.sankey-info .table-01 th{
    width: 50%;
}

/*---------------------------
# 規格用電分析
-----------------------------*/
.specification-info .large-select-categories {
    display: flex;
    align-items: center;
}


.specification-info .large-select-categories {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.specification-info .large-select-categories span {
    width: 100px;
    font-size: 25px;
    color: #333;
}

.specification-info .large-select-categories .form-control {
    width: calc(100% - 100px);
    border-color: #333;
}

.specification-chart .title {
    text-align: center;
    margin-top: 30px;
}

.specification-chart .box .item {
    height: 300px;
    margin: 50px;
}

.specification-info .select-box.time-box {
    width: auto;
}

.specification-info .select-box.time-box span {
    width: 40px;
}

.specification-info .select-box.time-box .form-control {
    width: 100px;
}

.specification-info .select-box.time-box .btn-search {
    background-color: #333333;
    color: #ffffff;
    height: calc(1em + 0.75rem + 2px);
    padding: 0 15px;
    margin-left: 15px;
}