#body>.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    height: 80px;
}

.content-home {
    background: url("../img/main.jpg") no-repeat;
    min-height: 98vh;
    background-position: center;
    margin-top: 2.5vh;
}


/* #main-bg {
    background-image: url("../img/main.jpg") no-repeat;
    background-size: 100%;
    width: 100vw;
} */

#sidebar .sidebar-header {
    border-bottom: 0px solid rgba(101, 109, 119, .16);
}

.dropdown-item.active,
.dropdown-item:active {
    background: #ddd;
}

.container {
    margin-top: 8em;
    margin-bottom: 8em;

}

input[disabled] {
    cursor: not-allowed;
}

.input-group-text {
    background-color: #06d6a0;
    color: #FFF;
}

.form-check-input {
    width: 1.5em !important;
    height: 1.5em !important;
    margin-right: 0.3em;
    margin-top: 0 !important;
}

.main-logo {
    position: fixed;
    top: 20px;
    width: 50%;
}

.main-logo .icon {
    float: left;
    width: 50px;
    display: none;
}

.main-logo .text {
    float: left;
    width: auto;
}



.main-logo .title {
    font-size: 1.8em;
    color: #0b2545;
    font-weight: bold;
}

.index-title {
    color: #FFFFFF !important;
    text-shadow: 0 0 6px rgba(26, 23, 23, 0.60);
    font-weight: bold;
    padding: 3.2rem;
}

#sidebar ul li a {
    padding: 0.8rem 2.2rem;
    font-size: 1.3rem;
}

#sidebar {
    position: fixed;
    height: 100vh;
    z-index: 999;
    padding-top: 105px;
}

.sidebar-btn,
.sidebar-btn:hover {
    background: #0b2545;
    color: #FFF;
    font-size: 1.5em;
    margin-right: 10px;
}

.text-secondary {
    color: #0b2545 !important;
}

.login-width {
    width: 500px;
    margin: 10% auto;
}

.login-width .card-body {
    padding: 5% 15%;
}

.login-logo {
    margin-top: 5%;
    font-size: 2rem;
    color: #1569c2;
    font-weight: bold;
}

.login label {
    float: left;
    width: 100%;
    margin: 0.35rem 0;
    text-align: justify;
    font-size: 1.3rem;
    color: #1569c2;
}

.login input {
    float: left;
    width: 100%;
    margin: 0.2rem 0rem 1rem 0;
}


.page-title h3 {
    margin: 1.3rem 0;
}

.main_icon_float {
    float: left;
}

.main_icon,
.user_icon {
    background: #0b2545;
    width: 48%;
    color: #06d6a0;
    text-align: center;
    padding: 0;
    float: left;
    margin: 1%;
    border-radius: 10px;
}

.main_icon img {
    width: 50%;
    padding-top: 20px;
}

.user_icon {
    margin: 1%;
}

.user_icon img {
    width: 45%;
    padding: 15% 0 5% 0;
}

.main_icon p,
.user_icon p {
    font-size: 1.35em;
    font-weight: bold;
    color: #FFF;
    white-space: nowrap;
}

.user_icon p {
    font-size: 1.2em;
}

.user-list {
    font-size: 1.3em;
    font-weight: bold;
    color: #0b2545;
}

.user-list .text {
    position: relative;
    top: 5px;
}

.user-list img {
    width: 55px;
}

.car {
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #0b2545
}

.car img {
    width: 100%;
}

.car-user a {
    color: #007bff;
}

.car-seat a {
    border-radius: 5px;
    padding: 8px;
    background: #0b2545;
    color: #FFF;
    margin: 8px;
}

.progress {

    height: 1.7rem;
    background-color: #888;
    border-radius: 0.5rem;
}

.d-none {
    display: none;
}

.w-100 {
    width: 100% !important
}

/* loading*/
#waitloading {
    position: absolute;
    height: 100%;
    top: 0%;
    left: 0%;
    background-color: rgba(123, 123, 123, 0.25);
    z-index: 1005;
}

#waitloading [role="button"] {
    position: sticky;
    top: 50%;
    bottom: 50%;
    left: 50%;
    cursor: not-allowed;
}

.total-price {
    font-size: 30px;
    padding: 30px 85px;
}

.total-report {
    float: right;
    font-size: 1.2rem;
    color: #0b2545;
}

.off-line {
    max-width: 25px;
    position: relative;
    top: -5px;
    right: 5px;
}

/* 訊息回報位置設定
.swal2-modal {
    position: fixed !important;
    margin-top: 0 !important;
    top: 20% !important;
    z-index: 10000;
}
*/

/* 明細頁設定*/
.detail-box {
    border: 2px solid #aaa;
    border-radius: 10px;
    background: #FFF;
    padding: 1.5rem;
    width: 400px;
    margin: 2rem auto;
}

.detail-box .title {
    background-color: #333;
    color: #FFF;
    line-height: 1.5rem;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.red {
    color: #FF0000;
    font-weight: bold;
}

.pd-right {
    position: absolute;
    right: 8px;
}

.mg-menu {
    margin: 0 30px;
}

.mg-menu span {
    color: #0b2545;
    font-weight: bold;
}

/* RWD TABLE 設定*/
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

div.dataTables_wrapper div.dataTables_processing {

    background: #198754;
    color: #FFF;
}

.dataTables_info {
    visibility: visible
}

.rwd-table {
    background: #fff;
    overflow: hidden;
}

.rwd-table tr:nth-child(odd) {
    background: #eff7ff;
}

.rwd-table th,
.rwd-table td {
    margin: 1em 1em;
}

.rwd-table {
    min-width: 100%;
}

.rwd-table th {
    display: none;
}

.rwd-table td {
    display: block;
}

.rwd-table td:before {
    content: attr(data-th) "  ";
    /* content: attr(data-th) " : "; */
    font-weight: bold;
    width: 7.7em;
    display: inline-block;
}

.rwd-table th,
.rwd-table td {
    font-size: 0.9em;
    text-align: left;
    /* white-space: nowrap; */
}

.rwd-table th,
.rwd-table td:before {
    color: #0b2545;
    font-weight: bold;

}

/* HEADER 下拉選單顏色設定*/
.nav-dropdown .nav-link-menu .nav-list li a {
    color: #000 !important;
}

/* nav 設定*/
.nav-tabs .nav-link {
    min-width: 10vw;
    text-align: center;
}

.icon-end {
    min-width: 45px;
    padding-top: 0.5rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: #c6dff1;
    border-bottom: 5px solid #22a1f9;
    min-width: 10vw;
    text-align: center;
}

.page_ctrl {
    margin-top: 10px;
}

/* input&select 設定*/
.card-body {
    border: 1px solid #c8dcf0;
    background: #fff;
    border-radius: 5px;
    padding: 1.5rem 2rem;
    margin: 0.5em 0em;
}

.form-check .form-check-input {
    border: 2px solid #0b2545;
}

/* 頁面標題*/
.page-title h3 {
    font-weight: bold;
    color: #0b2545
}

.mg-top {
    margin-top: 0.8rem;
}

/* 時間位置設定*/
.mdtimepicker .mdtp__wrapper {
    bottom: 24vh;
}

.timepicker {
    background-color: #FFF !important;
}


/* form設定*/
.form-control,
.form-select {
    border: 1px solid #c8dcf0;
    box-shadow: 2px 2px 2px 0px rgba(159, 170, 175, 0.2);
    font-size: 1.2rem;
}

.form-check-msg {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5rem;
    margin-top: -0.1rem;
}

.form-check-msg-lable {
    color: #FF0000;
    font-size: 1.2rem;
    margin-top: -0.5rem;
    font-weight: bold;
}

.form-label {
    padding-top: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: #0b2545;
}

.action_btn {
    font-size: 1.3rem;
    width: 7em;
    margin: 10px 0;
}

.action_btn i,
.btn-outline-primary i,
#login_form i {
    margin-right: 6px;
}

#login_form .title {
    border-bottom: 3px solid #06d6a0;
    font-weight: bold;
    font-size: 1.7em;
    text-align: center;
    margin-top: 20px;
}

#login_form {
    background: #FFF;
    padding: 50px;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
}

#login_form .send {
    width: 100%;
    background: #0b2545;
    color: #FFF;
    font-size: 1.3em;
    border: 0;
    /* box-shadow: #06644b 3px 3px */
}

.login_bg {
    background: #0b2545 url("../img/main.jpg") no-repeat;
    background-position: 50% 50%;

    padding-top: 10%;
    min-height: 100vh;
}

.edit-form .form-label {
    float: left;
    width: 25%;
    margin-top: 10px;
}


.edit-form input,
.edit-form select,
.edit-form textarea {
    float: left;
    width: 75%;
    margin: 10px 0;
}

/* 框線button 設定*/
.btn-outline-primary {
    margin: 0 0.5%;
    font-size: 0.6em;
    padding-top: 0.89%;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    font-family: auto;
    line-height: 1.1m;
}

.btn-outline-info {
    color: #2d99d8;
    border-color: #2d99d8;
}

.btn-main {
    background: #155db5;
    color: #FFF;
    border: 0;
    border-radius: 5px;
    padding: 8px;
    min-width: 5em;

}

.btn-main:hover {
    opacity: 0.7;
}

.table td,
.table th {
    font-size: 1rem;
}

.table th {
    border-bottom: 1px solid #CCC;
    background: #0b2545;
    color: #FFF
}

.pay .table th {
    text-align: center;
}

.statistics .table th,
.statistics .table td {
    text-align: center;
}

.accordion-button:not(.collapsed) {
    font-weight: bold;
}

/* 充電站管理 */
.edit_ac button {
    background: #155db5;
    color: #FFF;
    border: 0;
    padding: 5px 10px;
    border-radius: 5px;
}


/* 權限管理 */
.operate {
    margin-bottom: 15px;
}

.operate a,
.receipt a {
    background: #155db5;
    color: #FFF;
    padding: 10px;
    border-radius: 5px;
}


/* 發票相關 */
.receipt a {
    background: #06d6a0;

}

.receipt_title {
    color: #0b2545;
}

.receipt_detail {
    border: 2px solid #475b75;
    color: #0b2545;
    text-align: left;
    width: 75%;
    border-radius: 5px;
    padding: 5px;
    margin: 0 auto;
}

.receipt_detail div {
    border-bottom: 1px solid #475b75;
    line-height: 40px;
}

.receipt_detail div:last-child {
    border-bottom: 0;
}

.box-primary {
    border-top-color: #0b2545;
}

/* 使用現況 */
.state {
    border-radius: 10px;
    background: #FFF;
    margin-bottom: 15px;
    box-shadow: 0 0 10px #c0c0c0;
    padding-bottom: 20px;

}

.state .title {
    font-size: 1.3rem;
    line-height: 50px;
    border-radius: 10px 10px 0px 0px;
    background-color: #0b2545;
    color: #FFF;
    text-align: center;
    margin-bottom: 15px;

}

.state .fee {
    background: #06d6a0;
    color: #FFF;
    font-size: 0.95em;
}

.fee1,
.fee2,
.fee3,
.fee4,
.fee5,
.fee6 {
    color: #FFF;
    border-radius: 5px;
    padding: 10px;
    font-size: 0.95em;
    white-space: nowrap;
}

.fee1 {
    background: #0b2545;
}

.fee2 {
    background: #f57f17;
}

.fee3 {
    background: #777;
}

.fee4 {
    background: #f57f17;
}

.fee5 {
    background: #198754;
}

.fee6 {
    background: #0b2545;
}

.state .text {
    margin: 5px 20px;
    font-size: 1em;
    color: #0b2545;
    font-weight: bold;
}

.state .nofee {
    height: 20px;
}

.state .time1,
.state .time2,
.state .time3 {
    font-size: 1em;
    color: #FFF;
    background: #0b2545;
    text-align: center;
    border-radius: 8px;
    width: 80%;
    margin: 0 auto;
    line-height: 40px;
}

.state .time2 {
    background: #999;
}

.state .time3 {
    background: #f57f17;
}

.title-st {
    float: left;
    width: 60%;
    font-weight: bold;
    color: #0b2545;
    font-size: 1.6em;
    line-height: 1.6;
    margin: 1rem 0;
}

.title-end {
    float: right;
    text-align: right;
    width: 40%;
    position: relative;
    top: 20px
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.5em !important
}

/* FOOTER */
#footer {
    padding: 0.5em;
    background: #0b2545;
    width: 100vw;
    text-align: center;
    color: #FFF;
    position: fixed;
    bottom: 0;
}

.design {
    float: right;
    color: #ccc;
}

.badge {
    font-size: 0.9em;
}

div#swal-captcha {
    cursor: pointer;
}

@media screen and (max-width: 768px) {

    .main_icon,
    .user_icon {
        width: 31%;

    }
}

/* 手機設定 */
@media screen and (max-width: 480px) {

    .main_icon,
    .user_icon {
        width: 48%
    }

    #login_form {

        width: 100%;
        margin: 0 auto;
    }

    .container {
        min-height: 83vh;
    }

    #main-bg {
        background-size: auto;
    }

    .detail-box {
        width: 100%;
    }


    .main_icon p {
        font-size: 1em
    }

    .main-logo {

        left: 22%;
        width: 60%;
    }



    .main-logo .text {
        float: left;
        width: auto;
        margin-left: 5px;
    }


    .main-logo .title {
        font-size: 1em;
        color: #0b2545;
        font-weight: bold;
    }

    /* div:where(.swal2-container) div:where(.swal2-popup) {

        width: 95% !important;
        left: 2.5%
    } */

    .operate a {
        margin-top: 5%;
    }

    .edit-form .form-label {

        width: 40%;

    }

    .edit-form input,
    .edit-form select,
    .edit-form textarea {
        width: 60%;
    }

    .receipt_detail {
        width: 100%;
    }
}

@media (min-width: 480px) {
    .rwd-table td:before {
        display: none;
    }

    .rwd-table th,
    .rwd-table td {
        display: table-cell;
        padding: 0.25em;
        text-align: center;
        /* font-size: 1em; */
    }

    .rwd-table th:first-child,
    .rwd-table td:first-child {
        padding-left: 0;
    }

    .rwd-table th:last-child,
    .rwd-table td:last-child {
        padding-right: 0;
    }

    .rwd-table th,
    .rwd-table td {
        padding: 0.6em !important;

    }

    .rwd-table th {
        background: #0b2545;
        color: #FFF
    }
}

/* PC設定 */
@media screen and (min-width: 1024px) {
    .main_icon {
        width:200px;
        font-size: 100%;
    }

    .user_icon {
        width: 23%
    }

    #body {
        background-image: url("../img/body-main.jpg");
    }

    .content-home {
        background: url("../img/main.jpg") no-repeat;
        min-height: 97%;
        background-position: center;

    }

    .main-logo {
        left: 36%;
    }

    .main-logo .icon {
        float: left;
        width: 30px;
        display: block;
    }

    .main-logo .icon img {
        max-width: 60px;
        position: relative;
        top: -10px;
        left: -33px
    }


    .rwd-table th:first-child,
    .rwd-table td:first-child {
        min-width: 100px
    }

    .rwd-table th,
    .rwd-table td {
        font-size: 1em;
    }
}

@media screen and (max-width: 1023px) {
    .rwd-table {
        font-size: 0.95em;
    }
}