﻿html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    height: 100%;
}

/* Set width on the form input elements since they're 100% wide by default */
input[type=text],
select,
textarea {
    /*max-width: 500px;*/
    /*border-radius: unset !important;*/
}

.w-100 {
    width:100%;
}
.d-none {
    display: none !important
}

/* 將兩邊欄未設定同高度*/
.flex-height {
    display: flex;
}
.flex-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.flex-start {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

.flex-end {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}
.flex-all-center {
    align-items: center;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}
.flex-end-end {
    display: flex !important;
    align-items: flex-end;
    justify-content: flex-end;
}
/*分析年月日*/
.flex-height-analysis {
    display: flex;
}

/*分析上方menu*/
.nav-mobile {
    display: none !important;
}

/*換行*/
.break-space {
    white-space: break-spaces;
}

.orange-text {
    color: #E64E00;
}
.bg-default {
    background: #749BB5;
}
.bg-dark-blue {
    background: #424A4F;
    color: white
}

.btn-large-submit {
    padding: 10px 12rem !important;
}

.btn-pink {
    background-color: #F98E7F;
    color: white;
}

.btn-pink:hover, .btn-pink:focus {
    background-color: #f1ada3;
    color: white !important;
}

.btn-dark {
    background-color: #3F5462;
    color: white;
}
.btn-dark:hover, .btn-dark:focus {
    background-color: #616c73;
    color: white !important;
}
.btn-orange {
    background-color: #FF3B00;
    color: white;
}

.btn-orange:hover {
    background-color: #f1ae99;
    color: white !important;
}

.btn-light-orange {
    background-color: #EE7200;
    color: white;
}

.btn-light-orange:hover {
    background-color: #f1ae99;
    color: white !important;
}

.btn-blue {
    background-color: #749BB5;
    color: white;
}

.btn-blue:hover {
    background-color: #80a8c3;
    color: white !important;
}

.btn-green {
    background-color: #359B62;
    color: white;
}
.btn-green:hover {
    background-color: #4eab77;
    color: white !important;
}

.btn-dark-blue {
    background-color: #00547D;
    color: white;
}

.btn-dark-blue:hover, .btn-dark-blue:focus {
    background-color: #0076b0;
    color: white !important;
}

.btn-border-white {
    background-color: transparent;
    border: solid 1px white !important;
    color: white;
}

.btn-border-white:hover, .btn-border-white:focus {
    background-color: transparent;
    color: white !important;
}

.btn-point-blue {
    background-color: #1462B0;
    color: white;
    padding: 6px 18px !important;
    margin-right: 5px;
    font-size: 0.8vw !important;
}

.btn-point-blue:hover {
    background-color: #4191e1;
    color: white !important;
}

.btn-point-green {
    background-color: #1298A8;
    color: white;
    padding: 6px 18px !important;
    margin-right: 5px;
    font-size: 0.8vw !important;
}

.btn-point-green:hover {
    background-color: #2faebd;
    color: white !important;
}

.btn-red {
    background: red;
    color: white;
}

.MMY-search .search-title {
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: #515151;
    color: white;
    font-size: larger
}
.MMY-search .panel {
    min-height: 280px;
    vertical-align: bottom
}

.MMY-search .panel-dark {
    flex: 1;
    margin: 10px 5px;
    border: 1px solid #BBBBBB;
}
.MMY-search .panel-heading {
    background: #333333;
    color: white
}

.pointer {
    cursor: pointer;
}

/*平板*/
.MR-250-mobile {
    margin-left: -250px !important;
}

/*modal 置中*/
.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}

    .vertical-align-center .modal-content {
        /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
        width: inherit;
        height: inherit;
        /* To center horizontally */
        margin: 0 auto;
    }

        .vertical-align-center .modal-content .modal-body {
            padding: 20px 40px;
        }

/* 強制將padding 清除 */
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.p-0 {
    padding: 0 !important;
}
.py-1 {
    padding: 10px 0px;
}
.py-2 {
    padding: 20px 0px;
}
.p-1 {
    padding: 0.8rem 1.5rem !important;
}
.p-2 {
    padding: 1.5rem 3rem !important;
}
.pr-1 {
    padding-right: 5px;
}
.m-0 {
    margin: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 10px !important;
}
.mb-2 {
    margin-bottom: 20px !important;
}
.mb-3 {
    margin-bottom: 30px !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 10px !important;
}
.mt-2 {
    margin-top: 20px !important;
}
.mt-3 {
    margin-top: 30px !important;
}
.mt-5 {
    margin-top: 50px !important;
}
.mt-10 {
    margin-top: 100px !important;
}
.mr-2 {
    margin-right: 2% !important;
}

/*必填*/
.required:before {
    content: "*";
    font-weight: bold;
    color: red;
} 

/*DOT提醒(紅色粗體)*/
.alert-red {
    color: #e10f0c !important;
    background-color: #f2dede;
    border-color: #eed3d7;
    font-weight: 800;
}

/*跑馬燈*/
.marquee-box {
    position: absolute;
    bottom: 20px;
    right: 50px;
    width: 55%;
    color: white;
    font-size: 1vw;
    align-items: center;
}
.marquee-title {
    display: inline-block;
}
.marquee {
    display: inline-block;
    width: 80%;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
.marquee > span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}


/*連結disable*/
li.disabled {
    cursor: not-allowed;
}

li.disabled a {
    pointer-events: none;
}

a.disabled {
    pointer-events: none;
}

/*檔案上傳*/
.fileUpload_bg {
    min-height: 180px !important;
    border: 1px solid #c7c6c6;
    border-radius: 5px;
    background: #eee;
}
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}

.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

/* Loading 效果*/
.spinner {
    position: fixed;
    z-index: 9999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    opacity: 0.8;
}

/* LOADER 1 */
.loader,
.loader:before,
.loader:after {
    background: #FFF;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

    .loader:before,
    .loader:after {
        position: absolute;
        top: 0;
        content: '';
    }

    .loader:before {
        left: -1.5em;
    }

.loader {
    text-indent: -9999em;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

    .loader:after {
        left: 1.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

@-webkit-keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0 #FFF;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em #ffffff;
        height: 5em;
    }
}

@keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0 #FFF;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em #ffffff;
        height: 5em;
    }
}
/* END LOADER 1 */
/* ----------------Loading 效果*/
/*列印*/
@media print {
    body {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    @page {
        margin: 2cm;
    }

    #NoPrint {
        display: none;
        margin: 0;
        padding: 0;
        position: unset
    }
}
/*table dropdown*/
.CustomSelect {
    border: none;
    background-color: transparent;
    color: white;
    width: 100%
}
.CustomSelect > option{
    color: black
}
/*換行*/
.white_space {
    white-space: break-spaces;
}

/*table 共用*/
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border: none;
}

.table-tool-striped {
    margin-bottom: 0px !important;
}
.table-tool-striped > tbody > tr:nth-child(even) > td {
    background-color: #f0fcff !important;
    border: none;
}
.table-tool-striped > tbody > tr > th {
    background-color: #dde1e3;
}

.table-text-center > tbody > tr > td,
.table-text-center > tbody > tr > th {
    text-align: center;
    vertical-align: middle !important;
}

/*table th 深藍色*/
.table-th-dark {
    background-color: #000;
    color: white;
}

.rowspanCenter { /*table 上下合併欄位置中*/
    vertical-align: middle !important;
    text-align: center;
}
.Coming_box {
    width: 50%;
    margin: 0 auto;
    position: relative;
}
.Coming_img {
    width: 100%;
}
.Coming_text {
    position: absolute;
    top: 48%;
    left: 35%;
    font-size: larger
}

/* 上方導覽列 */
.function-bar {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-95%) scale(1);
}
.function-bar > li > a {
    color: #fff !important;
    font-size: 1.6rem;
}
.function-bar > li {
    position: relative;
}
.function-bar > li + li::after {
    content: "";
    background: #9fbfda;
    position: absolute;
    bottom: 25%;
    left: 0;
    height: 50%;
    width: 1px;
}

/* 內頁標題 */
.main-header {
    background-color: #C9DCE4;
    position: fixed;
    top: 100px;
    width: calc(100% - 250px);
    left: 250px;
    z-index: 5;
}
.main-title {
    padding: 0.6rem 2rem; 
    font-size: x-large;
    margin-bottom: 0;
}

.title {
    position: relative;
    min-height: 100px;
    padding: 0 15px;
}

.title::before {
    content: "";
    border: solid 5px #E64E00;
    background: #E64E00;
    margin-right: 8px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px
}
.content-main {
    margin-top: 140px;
    min-height: calc(100vh - 140px);
}

.title-btn-box {
    position: relative;
}
.title-btn {
    position: absolute;
    right: 1rem;
    top: 8px;
    z-index: 1;
}

/*----CoverageList給官網使用-----*/
.CoverageList > .main-header {
    background-color: #C9DCE4;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 5;
}

.CoverageList > .main-title {
    padding: 0.6rem 2rem;
    font-size: x-large;
    margin-bottom: 0;
}

.CoverageList > .content-main {
    margin-top: 0px;
    min-height: auto;
}

@media screen and (max-width: 750px) {
    .main-header {
        width: 100%;
        left: 0
    }
    .RoleBarBox .RoleBar li {
        min-width: unset !important;
    }
}
/* 上方邊選單 */
.sider-box {
    background-image: url('/Images/OSOM UI_Menu_BackGround.png') !important;
    border: none !important;
    border-radius: unset !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 101 !important;
    background-size: 100% 100%;
    height: 100px;
    background-repeat: no-repeat
}

/* 上方邊選單手機板 */
@media screen and (max-width: 600px) {
    .sider-box {
        background: #125178 !important;
        border: none !important;
        border-radius: unset !important;
        position: fixed !important;
        width: 100% !important;
        z-index: 101 !important;
        background-size: 100% 100%;
        height: auto;
        background-repeat: no-repeat
    }
    .sidebar-nav {
        margin-top: 60px !important;
    }

    .main-header {
        top: 50px !important;
    }
    .analysis-role-main-A {
        padding: 115px 2em 2em 2em !important;
    }
    .analysis-role-main {
        padding: 185px 2em 2em 2em !important;
    }
    .flex-height-analysis {
        flex-direction: column;
    }
    .nav-mobile {
        display: block !important;
    }
    .nav-mobile-menu {
        top: 8px !important;
        background-color: transparent !important;
    }
    .Web-only {
        display: none;
    }
    .MR-250-mobile {
        margin-left: 0px !important;
    }
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow: hidden;
    background-color: #000;
}

#wrapper.toggled {
    padding-left: 250px;
    overflow: scroll;
}

#sidebar-wrapper {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #5C8399;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    position: absolute;
    /*padding: 15px;*/
    width: 100%;
    overflow-x: hidden;
    background-color: #fff;
}

.xyz {
    min-width: 360px;
    min-height: 500px;
}

#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px;
}

.fixed-brand {
    width: auto;
}

.logo-brand {
    color: #fff;
    padding-bottom: 5px;
    width: 100%;
    background: #00547D;
    margin: 0 2rem;
}

.header-navbar {
    display: inline-block;
    width: 400px;
    color: white;
    padding: 0 15px
}

    .header-navbar h1 {
        letter-spacing: 2px;
    }
/* -----/側邊選單 */

/* 側邊選單改版成上方選單 */
.header-nav {
    background-color: black;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.header-nav > ul > li > a {
    padding: 5px 10px;
    color: white !important;
}
.header-nav > ul > li > a:hover, .header-nav > ul > li.active > a{
    color: #fff !important;
    background-color: #7d7979 !important;
}

/* Sidebar Styles */
.sidebar-nav {
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 150px;
}

.sidebar-nav li {
    text-indent: 15px;
    line-height: 40px;
}

.sidebar-nav.nav-pills > li.active > a, .sidebar-nav.nav-pills > li.active > a:hover, .sidebar-nav.nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #5D9CC1;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: white;

    /*前台顯示...*/
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
    border-left: red 2px solid;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

/* Sidebar 下方按鈕列表*/
.button-nav {
    padding: 0;
    list-style: none;
    margin-top: 2px;
}

.button-nav li {
    text-indent: 15px;
    line-height: 40px;
}

.button-nav.nav-pills > li.active > a, .button-nav.nav-pills > li.active > a:hover, .button-nav.nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #5D9CC1;
}

.button-nav li a {
    display: block;
    text-decoration: none;
    color: white;
    margin: 15px;
    border: solid 0.5px;

    /*前台顯示...*/
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.button-nav li a:active,
.button-nav li a:focus {
    text-decoration: none;
}

.button-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.button-nav > .sidebar-brand a {
    color: #999999;
}

.button-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

.no-margin {
    margin: 0 !important;
}

@media(min-width:1025px) {
    #wrapper {
        padding-left: 250px;
    }

    .fixed-brand {
        width: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
        margin-top: 170px;
        height: -webkit-fill-available;
        overflow-x: hidden;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled-2 #sidebar-wrapper {
        width: 50px;
    }

    #wrapper.toggled-2 #sidebar-wrapper:hover {
        width: 250px;
    }


    #page-content-wrapper {
       /* padding: 0 20px;*/
        position: relative;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
        padding-left: 250px;
    }

    #wrapper.toggled-2 #page-content-wrapper {
        position: relative;
        margin-right: 0;
        margin-left: -200px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        width: auto;
    }

    .nav-mobile-menu {
        display: none;
    }

    /* 上方邊選單 */
    .sider-box {
        background-image: url('/Images/OSOM UI_Menu_BackGround.png') !important;
        border: none !important;
        border-radius: unset !important;
        position: fixed !important;
        width: 100% !important;
        z-index: 101 !important;
        background-size: 100% 100%;
        height: 170px;
        background-repeat: no-repeat
    }
    /* 內頁標題 */
    .main-header {
        background-color: #C9DCE4;
        position: fixed;
        top: 170px;
        width: calc(100% - 250px);
        left: 250px;
        z-index: 5;
    }
    .content-main {
        margin-top: 215px;
        min-height: calc(100vh - 215px);
    }

    /* Sidebar Styles */
    .sidebar-nav {
        width: 250px;
        margin: 0;
        padding: 0;
        list-style: none;
        margin-top: 2px;
    }

    .header-left-navbar {
        transform: scale(1) !important;
        transform-origin: left top !important;
    }

    .MR-250-mobile {
        margin: 0 !important
    }
}
/* table共用色系 */
.table-blue{
    margin: 0 auto;
}
.table-blue tbody > tr > th {
    background: #749BB5;
    color: white;
    border: 2px solid;
    font-weight: 500;
    text-align: center
}
.table-blue tbody > tr > td {
    vertical-align: middle !important;
}


/* 網頁內容 */
/* Q&A */
.nav-QA > li > a {
    border: 1px solid #749BB5;
    margin: 0 5px;
    border-radius: 12px !important;
    font-size: large;
    color: #749BB5;
}
.nav-QA > li.active > a, .nav-QA > li.active > a:hover, .nav-QA > li.active > a:focus {
    background-color: #749BB5 !important;
}
.QA-table thead > tr > th, .QA-table tbody > tr > th, .QA-table tfoot > tr > th, .QA-table thead > tr > td, .QA-table tbody > tr > td, .QA-table tfoot > tr > td {
    padding: 1.6rem !important;
    font-size: 1.8rem;
}
.QA-table > tbody > .hide-table-padding > td {
    padding: 0 1.6rem !important;
    font-weight: 600;
    border: none;
    background-color: #fff4e6
}
.QA-body {
    padding: 4rem 10rem !important;
}

.QA-th > th {
    background: #749BB5;
    color: white;
    border: 2px solid;
    font-weight: 500;
}
/* QA-Pager */
.QA-pager {
    margin: 8px 3px;
    padding: 3px;
    text-align: right !important;
}

.QA-pager .disabled {
    border: 1px solid #ddd;
    color: #999;
    margin-top: 4px;
    padding: 3px;
    text-align: center;
}

.QA-pager .current {
    background-color: #6ea9bf;
    border: 1px solid #6e99aa;
    color: #fff;
    font-weight: bold;
    margin-top: 4px;
    padding: 3px 5px;
    text-align: center;
}

.QA-pager span, .QA-pager a {
    padding: 8px 10px !important;
}

.pager a {
    border: 1px solid #aaa;
    padding: 3px 5px;
    text-align: center;
    text-decoration: none;
}

/*RWD Youtube 以及 Vimeo*/
.Video-Ttype::before {
    content: "";
    border: solid 6px #E64E00;
    margin-right: 10px;
    background: #E64E00;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    top: 8px;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
}

/*影片彈跳視窗*/
.modal-fullscreen {
    padding: 0 !important;
}

.modal-fullscreen .modal-dialog {
    width: 80%;
    height: 90%;
    margin: 0 auto;
    /*padding: 0;*/
}
/*影片RWD*/
.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
  padding-bottom: 75%;
}
/*影片nav*/
.nav-video > li > a {
    margin: 0 5px;
    border-radius: 12px !important;
    color: white;
    background-color: #939191;
    border: 2px solid;
    box-shadow: 0px 5px 5px #999;
    width: 200px;
    text-align: center;
}

.nav-video > li.active > a, .nav-video > li.active > a:hover, .nav-video > li.active > a:focus, .nav-video > li > a:hover {
    background-color: #5C8399 !important;
}

.nav-video_2 > li > a {
    color: black;
    border-right: 1px solid #5F6C74;
    font-size: 0.8vw;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.nav-video_2 > li.active > a, .nav-video_2 > li.active > a:hover, .nav-video_2 > li.active > a:focus, .nav-video_2 > li > a:hover, .nav-video_2 > li > a.active {
    background-color: #3C474F !important;
    color: white;
}

.modal-fullscreen .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
}

/*Rewards*/
.bg_light_blue {
    background: #C5E8FF;
    font-weight: unset;
}
.RDB_box {
    width: 80%;
    margin: 0 auto;
   /* border: 1px solid;
    border-color: #bbbbbb;*/
    /*padding: 3px*/
}
.MAS_box {
    width: 80%;
    margin: 0 auto;
    /*border: 1px solid;*/
    /*border-color: #bbbbbb;*/
    /*padding: 3px*/
}
.rewardNav nav > ul {
    background-color: #C8C8C8;
    list-style: none; /* 移除項目符號 */
    margin: 0;
    padding: 0;
}

.rewardNav nav a {
    color: inherit; /* 移除超連結顏色 */
    display: block; /* 讓 <a> 填滿 <li> */
    font-size: 1.5rem;
    padding: 12px 30px;
    text-decoration: none; /* 移除超連結底線 */
}

/* 滑鼠移到 <a> 時變成深底淺色 */
.rewardNav nav li:hover {
    background-color: #626F77;
    color: white;
}

.rewardNav nav a:hover {
    text-decoration: none; /* 移除超連結底線 */
    color: white;
}

.inline-block-nav > li {
    display: inline-block;
}
.inline-block-nav > li.active {
    background-color: #626F77;
    text-decoration: none; /* 移除超連結底線 */
    color: white;
}
.inline-block-nav > li.active > a {
    text-decoration: none; /* 移除超連結底線 */
    color: white;
}

/*.nav-Reward {
    background: #bbb;
}
.nav-Reward > li > a {
    margin: 0 5px;
    border-radius: 12px !important;
    font-size: large;
    color: white;
    background-color: #918f8f
}

.nav-Reward > li.active > a, .nav-Reward > li.active > a:hover, .nav-Reward > li.active > a:focus, .nav-Reward > li > a:hover {
    background-color: #00547D !important;
}*/

@media screen and (max-width: 1200px) {
    .RDB_box, .MAS_box {
        width: 100%;
    }
}

/*討論區*/
.hotQBtn {
    background: #4491B7 !important;
    color: white !important;
    font-size: large;
    font-weight: 600;
}
.content-btn-box {
    position: relative;
}

.content-btn {
    position: absolute;
    right: 4rem;
    top: 4rem;
    z-index: 1;
}

.fornm-box {
    background: #fff;
    padding: 15px 10px;
}

/*學碼列印*/
.print-btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/*線上教學*/
.TeacherBanner {
    min-height: 430px;
    background: white;
    border: 1px solid #999999;
    width: 100%;
    margin: 40px auto;
}
.TeacherQRcode {
    min-height: 235px;
    background: white;
    border: 1px solid #999999;
    width: 95%;
    margin: 40px 0px 0px 0px;
}
.TeacherLink {
    background: white;
    border: 1px solid #999999;
    width: 95%;
}

/*隱私權*/
.privacy-show-content {
    font-size: 18px;
}
.privacy-sub-title {
    font-weight: 600;
}

/* 顧客中心-帳號管理 */
.CustomerCenterPanelbox .panel-customer {
    border: 1px solid #5C8399;
}
.CustomerCenterPanelbox .panel-customer .panel-heading {
    background: #5C8399;
    color: white;
}
.CustomerCenterPanelbox .panel-customer .panel-body {
    min-height: 300px;
    font-size: large;
}
.CustomerCenterPanelbox .panel-customer .panel-body ul li {
    padding: 5px 0;
}
.CustomerCenterPanelbox .panel-customer .panel-body ul li a{
    text-decoration: none;
    color: black
}
.account_menu, .account_context {
    height: calc(100vh - 300px);
    background: white;
    border: solid 1px #bbb;
}
.account_context {
    overflow: scroll;
    overflow-x: hidden;
}

.account_li > li > a {
    color: Black;
}
.account_li > li> a.active {
    color: #006EFF;
}

/* 顧客中心-點數兌換 */
.point_center {}

.table-middle > tbody > tr > td{
    vertical-align: middle !important
}

.table_th_yellow {
    background: #FFC60C;
}

.table_th_blue {
    background: #6696C6;
}

.table_th_orange {
    background: #FFA500;
    color: white
}

.table_td_light_orange {
    background: #FFE3AF;
}

.table_th_point_blue {
    background: #6696C6;
    color: white
}

.point_text_blue_lg {
    color: #328ACC;
    font-size: 4vw;
    font-weight: 600;
}

.point_text_blue_md {
    color: #328ACC;
    font-size: 2vw;
}

.point_text_red {
    color: #9B0808;
    font-size: 1.2vw;
    font-weight: 700;
}

.point_text_sm {
    font-size: 1vw;
}

btn-green {
    color: #328ACC;
    font-size: 2vw;
}

/*顧客中心-交易紀錄table*/
.table-record-success {
    background: white;
}
.table-record-success > tbody > tr > th {
    background-color: #FFA700 !important;
}
.table-record-success > tbody > tr > td {
    border: #FFA700 solid 1px;
    vertical-align: middle !important;
}
.table-record-cancel {
    background: white;
}
.table-record-cancel > tbody > tr > th {
    background-color: #E88282 !important;
}
.table-record-cancel > tbody > tr > td {
    border: #E88282 solid 1px;
    vertical-align: middle !important;
}

.table-record-details {
    background: white;
}
.table-record-details > tbody > tr > th {
    background-color: #B9BABB !important;
}
.table-record-details > tbody > tr > td {
    border: #B9BABB solid 1px;
    vertical-align: middle !important;
}

/*顧客中心-交易紀錄搜尋*/
.ShopRecordSearch {
    padding: 15px;
    background: white;
    border: solid 1px #d9d6d6;
}

/*顧客中心-專屬會員*/
.exclusive-table {
}
.exclusive-table-bordered > thead > tr > th, .exclusive-table-bordered > tbody > tr > th, .exclusive-table-bordered > tfoot > tr > th, .exclusive-table-bordered > thead > tr > td, .exclusive-table-bordered > tbody > tr > td, .exclusive-table-bordered > tfoot > tr > td {
    border: 5px solid white;
}
.exclusive-title {
    background: #FF4900;
    color: white
}
.exclusive-line {
    background: #6B6C6C;
    color: white
}
.exclusive-generalM {
    background: #E1E1E1
}
.exclusive-gold {
    background: #FFB800
}
.exclusive-label {
    background: #FFE1C3
}
.exclusive-note {
    background: #000;
    color: white
}

.member-img-box {
    width: 100%;
    height: 100%;
    position: relative;

}
.member-img-text {
    position: absolute;
    top: 60%;
    left: 12%;
    color: white;
    font-size: 1vw
}

/*推薦新客戶箭頭*/
.Recommend_arrow::after {
    content: " ";
    height: 50px;
    width: 45px;
    background: url('/Images/Recommend/Recommend_New/arrow.png');
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(35%, -50%);
    background-size: cover;
}

/*一般畫面*/
@media screen and (min-width: 1440px) and (max-width: 2560px) {
    .function-bar {
        position: absolute;
        top: 50%;
        right: 0;
        transform-origin: right;
        transform: translateY(-75%) scale(1);
    }
}
/*馬克思專用*/
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .function-bar {
        position: absolute;
        top: 50%;
        right: 0;
        transform-origin: right;
        transform: translateY(-75%) scale(0.75);
    }
    .Web-only {
        display: none !important;
    }
}
/*平板*/
@media screen and (min-width: 600px) and (max-width:1024px) {
    /* 上方導覽列 */
    .function-bar {
        transform: translateY(-65%) scale(0.7);
    }

    .marquee-box {
        bottom: 5px;
    }

    .main-title {
        font-size: larger
    }

    .Web-only {
        display: none !important;
    }

    .MR-250-mobile {
        margin-left: -250px !important;
    }

    .MR-250-mobile-Aliber {
        margin-left: 0px !important;
    }

    /*學碼列印*/
    .print-btn {
        position: unset;
        transform: unset;
    }
}

/*平板768*/
@media(max-width:768px) {
    /* 上方導覽列 */
    .function-bar {
        transform-origin: right;
        transform: scale(0.5) translateY(-130%);
        width: 810px;
    }

    /*學碼列印*/
    .print-btn {
        position: unset;
        transform: unset;
    }
}


/*平板按鈕*/
.nav-mobile-menu {
    position: fixed;
    top: 100px;
    left: 0;
    background-color: #5C8399;
    width: 250px;
    height: 40px;
    z-index: 101;
}

.header-left-navbar {
    transform: scale(0.6);
    transform-origin: left top;
}

/*網頁版才會出現*/
.Web-only {
    display: block;
}

/*設定工具QRcode圖片大小*/
#ToolQrcode canvas {
    width: 45%
}

