﻿@charset "UTF-8";

body {
    font-family: "微軟正黑體", Microsoft JhengHei, sans-serif;
    background-color: #eeeeee;
}

ul {
    list-style: none;
}

.modal-backdrop.in {
    background-color: #fff;
}

.money {
    text-align: right;
}

.red {
    color: red;
}

.white {
    color: white;
}

.floatright {
    float: right;
    margin: 5px;
}

.pagination {
    margin: 20px 0 0 0;
    float: right;
}

.login-panel {
    width: 265px;
    margin: 100px auto 0px;
}

    .login-panel .panel-body .login-logo {
        background: url(/Content/img/login_logo.png) no-repeat left center;
        width: 262px;
        height: 134px;
        display: block;
        margin-left: -14px;
    }

.progress {
    background-color: #fff;
}

.member-panel {
    margin-top: 0px;
}

    .member-panel > div.panel-body {
        width: 555px;
        margin: 0px auto;
    }

.sidebar .nav-second-level li a {
    color: #d45f85;
}

table.table > thead > tr > th {
    text-align: center;
    position:relative;
}

table {
    *border-collapse: collapse; /* IE7 and lower */
    border-spacing: 0;
    width: 100%;
}

.zebra td, .zebra th {
    padding: 10px;
    border-bottom: 1px solid #f2f2f2;
}

.zebra tbody tr:nth-child(even) {
    background: #f5f5f5;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}

.zebra th {
    text-align: left;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    border-bottom: 1px solid #ccc;
    background-color: #f1f1f1;
    color: #666666;
}

    .zebra th:first-child {
    }

    .zebra th:last-child {
    }

    .zebra th:only-child {
        -moz-border-radius: 6px 6px 0 0;
        -webkit-border-radius: 6px 6px 0 0;
        border-radius: 6px 6px 0 0;
    }

.zebra tfoot td {
    border-bottom: 0;
    border-top: 1px solid #fff;
    background-color: #f1f1f1;
}

    .zebra tfoot td:first-child {
        -moz-border-radius: 0 0 0 6px;
        -webkit-border-radius: 0 0 0 6px;
        border-radius: 0 0 0 6px;
    }

    .zebra tfoot td:last-child {
        -moz-border-radius: 0 0 6px 0;
        -webkit-border-radius: 0 0 6px 0;
        border-radius: 0 0 6px 0;
    }

    .zebra tfoot td:only-child {
        -moz-border-radius: 0 0 6px 6px;
        -webkit-border-radius: 0 0 6px 6px border-radius: 0 0 6px 6px;
    }

.zebra2 {
    width: 625px;
    margin: 0px auto;
}

    .zebra2 > thead > tr > th {
        text-align: center;
    }

.zebra_ {
    width: 100%;
}

.nav > li > a {
    font-size: 14px;
}

    .nav > li > a:hover {
        background-color: #ffffff;
    }

    .nav > li > a:active {
        background-color: #ffffff;
    }

.navbar.navbar-default {
    background-color: #fff;
}

.navbar-default {
    background-color: #eee;
}

.sidebar {
    margin-top: 0px;
}

.navbar-default {
    height: 90px;
}

.navbar-top-links {
    margin-top: 15px;
}

.navbar-header.navbar-header-right{
    float:right;
}
.navbar-top-links.menu-right{
    margin:0 20px 0 0;
}

a.logo {
    margin: 10px 0 0 20px;
    padding-left: 125px;
    width: 220px;
    height: 65px;
    background: url(/Content/img/logo.png) no-repeat left center;
    display: block;
    font-size: 20px;
    text-indent: -9999px;
}

    a.logo:hover {
        text-decoration: underline;
    }

form.login > fieldset > div.form-group {
    margin-bottom: 20px;
}

form.login > fieldset > div.btn_group {
    text-align: center;
}

ul.top_menu > li.time {
    display: block;
    text-align: right;
    margin: 0 30px 5px 0;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
}

ul.top_menu > li.detail {
    font-size: 13px;
    margin: 0 20px;
    font-weight: bolder;
}

    ul.top_menu > li.detail > span {
        font-size: 15px;
    }
ul.menu-right > li.time{
    color: #B3B3B3;
    font-size: 13px;
    font-weight: 700;
}
ul.menu-right > li.detail{
    font-size: 13px;
    margin: 0 20px;
}
ul.menu-right > li.detail > span {
    font-size: 15px;
}

.badge-important {
    background-color: #d45f85;
}

.badge-success {
    background-color: #8aced6;
}

div.main {
    padding: 30px;
    background-color: #fff;
}

    div.main > h1 {
        padding: 0;
        margin: 0;
        font-size: 18px;
        font-weight: bolder;
        float: left;
        text-transform: uppercase;
    }

        div.main > h1 i {
            display: none;
        }

    div.main > ul.breadcrumb {
        float: right;
        background: #f3f3f3;
    }

form.search {
    text-align: left;
}

    form.search > div.form-group {
        margin: 5px;
    }

div.main_tabs > div.panel-body > div.tab-content > div.tab-pane {
    padding: 15px;
}

form.search-sm > div.form-group > input, form.search-sm > div.form-group > select {
    width: 120px;
}

span.label {
    background-color: #dc7d9c;
    padding: 10px 15px;
    font-size: 14px;
    margin: 2px;
    display: inline-block;
}

form.member div {
    margin: 10px;
}

    form.member div label {
        width: 80px;
        display: inline-block;
        text-align: left;
    }

    form.member div select {
        width: 190px !important;
    }

    form.member div form-control {
        width: 190px !important;
    }

form.registration div input, form.registration div select {
    width: 175px !important;
}

form.member div div.panel-body {
    margin-top: -10px;
    text-align: center;
}

form.member div div.panel-footer {
    height: 70px;
    background-color: #fff;
    text-align: center;
}

form.member div.btn-group {
    /*display: block;*/
    margin: 0px auto;
    width: 143px;
}

form.discount {
    text-align: center;
}

    form.discount div {
        margin: 10px;
    }

        form.discount div label {
            width: 110px;
            display: inline-block;
            text-align: left;
        }

            form.discount div label.radio-inline {
                width: 142px;
            }

form.discount_ div label {
    width: 50px;
}

form.discount div input, form.discount div select, form.discount div textarea {
    width: 300px !important;
}

form.discount div.col-lg-12 {
    margin-top: 25px;
    border-top: 1px solid #ddd;
}

form.discount div.btn-group {
    padding-top: 10px;
    display: block;
    margin: 0px auto 0px auto;
    width: 143px;
}

div.money-select {
    display: inline-block;
}

    div.money-select label {
        margin: 0 10px;
    }

    div.money-select select, div.money-select input {
        width: auto;
        display: inline-block;
    }

div.money-btn {
    margin-top: 15px;
    text-align: center;
}

form > div.money-select {
    display: block;
    text-align: center;
}

div.ad > button {
    margin: 15px auto;
    display: block;
}

div.ad > img {
    margin: 0px auto;
    display: block;
}

div.ad > b {
    margin-top: 15px;
    display: block;
    text-align: center;
}

div.has-error {
    position: relative;
}

    div.has-error:hover {
        cursor: pointer;
    }

        div.has-error:hover:before, div.has-error:after {
            opacity: 1;
        }

    div.has-error:before {
        content: attr(data-tooltip);
        background: #a94442;
        color: #fff;
        font-size: 12px;
        padding: 2px 5px;
        position: absolute;
        right: 0;
        top: 85%;
        white-space: pre;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }

.grid-revamp-1 {
    min-height: 150px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #ffffff;
    -webkit-box-shadow: #B3B3B3 2px 2px 2px;
    -moz-box-shadow: #B3B3B3 2px 2px 2px;
    box-shadow: #B3B3B3 0px 0px 4px;
}

.grid-revamp-2 {
    min-height: 100px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #f2f2f2;
    -webkit-box-shadow: #B3B3B3 2px 2px 2px;
    -moz-box-shadow: #B3B3B3 2px 2px 2px;
    box-shadow: #B3B3B3 0px 0px 4px;
}

.center-vertical-horizontal {
    height: 90%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

hr {
    border: 0;
    clear: both;
    display: block;
    width: 100%;
    background-color: black;
    height: 1px;
}

.dashboard-text {
    font-weight: bolder;
}

@media (min-width: 767px) {
    div.has-error-Register:before {
        content: attr(data-tooltip1);
        background: #a94442;
        color: #fff;
        font-size: 12px;
        padding: 2px 2px;
        position: absolute;
        top: 108%;
        right: auto;
        left: 48%;
        white-space: pre;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }
}

@media (max-width: 767px) {

    div.has-error-Register:before {
        content: attr(data-tooltip1);
        background: #a94442;
        color: #fff;
        font-size: 12px;
        padding: 2px 2px;
        position: absolute;
        top: 108%;
        right: auto;
        left: 0%;
        white-space: pre;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }
}

/*div.has-error:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-width: 8px;
  border-style: solid;
  border-color: transparent #a94442 transparent transparent;
  }*/
div.has-error:before, div.has-error:after {
    opacity: 1;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    -webkit-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

form.login div.has-error:before {
    top: 90%;
}

form.search div.has-error:before {
    top: 105%;
}

form.member div.form-group, form.discount div.form-group {
    margin-bottom: 10px;
}

form.member div.form-aff-group, form.discount div.form-aff-group {
    width: 290px;
    text-align: left;
}

div.panel > div.panel-heading > h1.front_number {
    text-align: center;
    font-size: 25px;
    line-height: 30px;
    padding: 0;
    margin: 0;
}

    div.panel > div.panel-heading > h1.front_number > span {
        display: block;
        font-size: 13px;
        border-bottom: 1px solid #ddd;
    }

div.panel > div.panel-heading > ul.front_number {
    padding: 10px 0;
    margin: 0;
    background-color: #fff;
}

    div.panel > div.panel-heading > ul.front_number > li {
        float: left;
        width: 33%;
        line-height: 30px;
        font-size: 25px;
        text-align: center;
    }

        div.panel > div.panel-heading > ul.front_number > li > span {
            font-size: 13px;
            display: block;
        }

div.PanelDasboardPercentage > h1.front_number {
    text-align: center;
    font-size: 25px;
    line-height: 30px;
    padding: 0;
    margin: 0;
}

div.PanelDasboardPercentage > h1.front_number > span {
    display: block;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
}

div.PanelDasboardPercentage > ul.front_number {
    padding: 10px 0;
    margin: 0;
    background-color: #fff;
}

div.PanelDasboardPercentage > ul.front_number > li {
    float: left;
    width: 33%;
    line-height: 30px;
    font-size: 25px;
    text-align: center;
}

div.PanelDasboardPercentage > ul.front_number > li > span {
    font-size: 13px;
    display: block;
}

.msgblue {
    color: rgba(50,142,254,1.000) !important;
    font-weight: bold !important;
}

.msgred {
    color: rgba(255,46,108,1.000) !important;
    font-weight: bold !important;
}

.msggreen {
    color: rgba(15,225,15,1.000) !important;
    font-weight: bold !important;
}

a:hover {
    cursor: pointer;
}

.disabled {
    background-color: #EBEBE4;
}

.loading {
    background: url(/images/loading.gif) no-repeat center center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 999;
}

#pageMark {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0.6;
    left: 0px;
    top: 0px;
    background-color: rgb(0, 0, 0);
}

a#scrollToTop {
    position: fixed;
    bottom: 100px;
    right: 1%;
    display: none;
    width: 38px;
    height: 38px;
    background: #54b6c3;
    text-align: center;
}

    a#scrollToTop i {
        color: #fff;
        line-height: 38px;
    }

form.center {
    text-align: center;
}

form.Gaurantee div {
    margin: 10px;
}

    form.Gaurantee div label {
        padding-right: 10px;
        display: inline-block;
        text-align: left;
    }

    form.Gaurantee div input text, form.Gaurantee div select, form.Gaurantee div textarea {
        width: 300px !important;
    }

    form.Gaurantee div.btn-group {
        padding-top: 10px;
        display: block;
        margin: 0px auto 0px auto;
        width: 143px;
    }

.btn-primary {
    color: #fff;
    background-color: #c0144c;
    border-color: #c0144c;
    text-transform: uppercase;
    font-size: 14px;
}

    .btn-primary.disabled,
    .btn-primary[disabled],
    fieldset[disabled] .btn-primary,
    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus,
    .btn-primary.disabled:active,
    .btn-primary[disabled]:active,
    fieldset[disabled] .btn-primary:active,
    .btn-primary.disabled.active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary.active {
        background-color: #c0144c;
        border-color: #c0144c;
    }

.dropdown a {
    color: #cc3366;
}

.navbar-default.sidebar ul li {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bolder;
}

    .navbar-default.sidebar ul li ul li {
        text-transform: none;
    }

.sidebar ul li a i {
    margin-right: 5px;
}

.breadcrumb li a i {
    color: #8aced6;
}

.has-error {
    border: 1px solid #c0144c;
}

@media (max-width: 768px) {
    .form-inline .form-group {
        margin-bottom: 27px;
    }
}

.label_width {
    width: 154px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .form-inline .form-group.input-bottom {
        margin-bottom: 27px;
    }
}

.has-error.has-error-Register {
    border: 1px solid #ffffff;
}

table.AutoNumberRow > tbody {
    counter-reset: rowNumber;
}

table.AutoNumberRow > tbody tr {
    counter-increment: rowNumber;
}

table.AutoNumberRow > tbody tr td:first-child::before {
    content: counter(rowNumber);
}

.sortarrowcouple {    
    position:absolute;
    right:0;
    top:23px;
    cursor: pointer;
    display: inline-block;
    float: right;
    width: 16px;
    height: 16px;
    background: url(/Content/img/icon-sort-arrows.png) 0 0 no-repeat;
}

.sortarrowdesc {
    position:absolute;
    right:0;
    top:23px;
    cursor: pointer;
    display: inline-block;
    float: right;
    width: 16px;
    height: 8px;
    background: url(/Content/img/icon-sort-arrows.png) 0 -8px no-repeat;
    margin: 4px 0;
}

.sortarrowasc {
    position:absolute;
    right:0;
    top:23px;
    cursor: pointer;
    display: inline-block;
    float: right;
    width: 16px;
    height: 8px;
    background: url(/Content/img/icon-sort-arrows.png) 0 0 no-repeat;
    margin: 4px 0;
}
.grayout {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
}
.grayoutContent {
    background: #CCC;
    border-top: 12px solid #f2a81c;
    border-radius: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: auto;
    padding: 20px 40px;
    height: auto;
    max-height: 95%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
}
.grayoutContent .btn-close {
    position: absolute;
    right: -20px;
    top: -30px;
    background: #666;
    border-radius: 99em;
    width: 40px;
    height: 40px;
    font-size: 24px;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grayoutContent .btn-close .bh {
    color: #FFF;
}
.grayoutContent h4{
    color:#000;
    font-weight:bold;
    margin-bottom:5px;
}
.grayoutContent .qrcode {
    width:120px;
    margin:10px 0;
}
.grayoutContent div{
    margin: 0 25px;
}

@media  (max-width: 500px) {
    .grayoutContent {
        flex-direction: column;
    }
}