@charset "utf-8";

/****************** 基本 ******************/
* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #777777;
    color: #323232;
    background-color: #fff;
    height: 100%;
    position: relative;
    /*padding-top: 70px;*/
}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

hr {
    border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #084298;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}

a:hover,
a:active,
a:focus,
a:visited {
    color: #084298;
    outline: none;
    text-decoration: none;
}

img,
object,
embed,
video {
    max-width: 100%;
}

.reward {
    font-size: 120%;
    color: #4775fa;
    margin-left: 3px;
}

.memo {
    font-size: 18px;
}

#step {
    scroll-margin-top: 50px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    opacity: .2;
}

.pointer {
    cursor: pointer;
    color: #1026c1;
}

/*
--- 按鈕 btn ---*/
.btn:hover,
.btn:active,
.btn:focus {
    background: #53e4fe !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.btn.btn-primary {
    background: #4775fa;
    color: #ffffff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-right: 20px;
    padding-left: 20px;
    font-weight: 600;
}

.btn.btn-lg {
    font-size: 24px;
    padding: 8px 24px;
    margin-top: 20px;
    letter-spacing: 0.5px;
    border-radius: 100px;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding: 10px 16px;
        font-size: 16px;
    }
}

/*
--- 切換裝置顯示項目 ---*/
#line {
    display: block;
}

#line_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }
}

#pic {
    display: block;
}

#pic_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #pic {
        display: none;
    }

    #pic_m {
        display: block;
    }
}

/****************** 導覽列 navbar ******************/
.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

/*
--- 聯邦LOGO navbar-brand ---*/
.navbar-brand {
    padding-right: 0;
}

.navbar .navbar-brand {
    margin-right: 50px;
    margin-left: 20px;
    width: 250px;
    height: 70px;
    background: url(../images/UBLogo.png) no-repeat 0 50%;
    background-size: contain;
}

.navbar-header .navbar-brand img {
    width: 90%;
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 153, 153, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggle .icon-bar {
    background-color: #009999;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .9);
}

.navbar-light .navbar-toggle:hover,
.navbar-light .navbar-toggle:focus {
    background-color: #f8f8f8;
}

.navbar-nav>li>a {
    margin-left: 15px;
    margin-top: 10px;
    display: block;
}

.navbar-light .navbar-nav>li>a:hover,
.navbar-light .navbar-nav>li>a:focus {
    color: #009999;
    background-color: transparent;
}

.navbar-light .navbar-nav>.active>a,
.navbar-light .navbar-nav>.active>a:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav>.active>a:focus {
    color: #009999;
}

.navbar-toggle {
    margin-top: 13px;
    margin-bottom: 15px;
    border: 0px;
    border-radius: 0px;
}

.navApplyBtn .nav-item .nav-link {
    color: #fff;
    font-weight: 600;
    background: #4775fa;
    border-radius: 20px;
    padding: 5px 15px;
    margin-top: 1px;
    margin-left: 10px;
}

.navApplyBtn .nav-item .nav-link:hover {
    background: #53e4fe;
}

/*
--- 導覽列下拉dropdown-menu ---*/
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #009999;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #eaeaea;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        margin-right: 0px;
        margin-left: 20px;
        width: 200px;
        height: 60px;
        /* 60 only*/
    }
}

@media screen and (max-width: 576px) {
    .navbar .navbar-brand {
        margin-right: 50px;
        margin-left: 15px;
    }
}

/****************** 輪播 carousel  ******************/
.carousel-indicators li {
    width: 10px;
    height: 10px;
    opacity: .8;
    border-radius: 50px;
    border: 1px solid #dedede;
    background-color: #bbbbbb;
}

.carousel-indicators .active {
    background-color: #009999;
}

/*
--- 主視覺 ---*/
.kv {
    position: relative;
    width: 100%;
    --w: 1920;
    --h: 1000;
    overflow: hidden;
}

.kv:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;
    background-image: url(../images/top.jpg);
    background-size: cover;
    /* margin-top: 60px; */
}

.kv_title {
    position: absolute;
    top: 12%;
    left: 5%;
    width: 90%;
    height: 80%;
}

.activity_title {
    position: absolute;
    top: 17%;
    left: 50%;
    width: 50%;
    z-index: 2;
    animation: fade-in-left 1s ease-in-out .5s;
}

.activity_title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(180, 31, 31, 0) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 70%);
    transform: skewX(-25deg);
    animation: shine 2s infinite linear;
}

@keyframes shine {
    X 0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-1000px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.top-title-01 {
    position: absolute;
    top: 44%;
    left: 48%;
    width: 20%;
    -webkit-animation-delay: .2s;
    -webkit-animation: fade 1s ease-in-out, rotate 25s 1s linear infinite, breath 2.5s ease-in-out infinite;
    animation-delay: .2s;
    animation: fade 1s ease-in-out, rotate 25s 1s linear infinite, breath 2.5s ease-in-out infinite;
}

.top-title-02 {
    position: absolute;
    top: 50%;
    left: 38%;
    width: 40%;
    mix-blend-mode: plus-lighter;
    -webkit-animation-delay: .4s;
    -webkit-animation: fade 1s ease-in-out, breath 2.5s ease-in-out infinite;
    animation-delay: .4s;
    animation: fade 1s ease-in-out, breath 2.5s ease-in-out infinite;
}

@-webkit-keyframes fade {
    from {
        -webkit-transform: scale(0);
        -webkit-opacity: 0;
    }

    to {
        -webkit-transform: scale(1);
        -webkit-opacity: 1;
    }
}

@keyframes fade {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes breath {
    from {
        -webkit-opacity: 0.1;
    }

    50% {
        -webkit-opacity: 0.5;
    }

    to {
        -webkit-opacity: 0.1;
    }
}

@keyframes breath {
    from {
        opacity: 0.1;
    }

    50% {
        opacity: 0.5;
    }

    to {
        opacity: 0.1;
    }
}

/* @media (max-width:1400px) {
    .kv:before {
        margin-top: 0px;
    }
} */


@media (max-width:576px) {
    .kv {
        --w: 768;
        --h: 640;
    }

    .kv:before {
        background-image: url(../images/top_m.jpg);
    }

    .kv_title {
        top: 8%;
        left: 0%;
        width: 100%;
        height: 90%;
    }

    .activity_title {
        top: 37%;
        left: 8%;
        width: 85%;
    }

    .top-title-01 {
        top: 42%;
        left: 28%;
        width: 42%;
    }

    .top-title-02 {
        top: 45%;
        left: 9%;
        width: 80%;
    }
}

/****************** 版面 Container ******************/
.gridContainer {
    width: 100%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}

.bgColor {
    /* background-color: #ee2b3c; */
    /* background-color: #b61b29; */
}

@media only screen and (max-width: 768px) {
    .gridContainer {
        width: 100%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
        background-size: cover;
    }
}

/*
--- 活動主版 mainArea ---*/
.mainArea {
    padding-top: 50px;
    overflow: hidden;
}

.mainArea h2 {
    /* 活動主標題 */
    line-height: 1.5;
    font-size: 48px;
    text-align: center;
    color: #222222;
    font-weight: 800;
}

.mainArea h4 {
    /* 活動主標題 */
    font-size: 24px;
    text-align: center;
    color: #222222;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 28px;
    margin-bottom: -16px;
}


.mainArea img {
    margin: 0px auto;
    display: flex;
    align-items: center;
}

img.titleIcon {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
        text-align: left;
        padding-right: 0;
        line-height: 1.5;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }

    .mainArea h2 {
        font-size: 30px;
    }

    .bgColor {
        background-image: none;
    }
}

/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
    font-size: 17px;
    color: #222222;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: 600;
    /* background: #ffffff; */
    /* border: #009999 1px solid; */
    border-radius: 20px;
}

.mainText1 .title {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    background-color: #4775fa;
    /* border: 3px solid #ac86fe; */
    color: #ffffff;
    /* width: 200px; */
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 auto 15px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.mainText1 h6 {
    color: #222222;
    font-size: 16px;
}

.mainCtn {
    display: block;
    /* justify-content: center; */
    /* align-items: center; */
}

@media screen and (max-width: 992px) {
    .mainCtn {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    .mainText1 {
        padding: 0px 0px;
        margin-top: 10px;
        text-align: center;
        line-height: 30px;
        font-size: 18px;
    }
}

/*--- 活動表格 ---*/
table.actContain {
    background-color: #fff;
    max-width: 1000px;
    width: 100%;
    margin: 30px auto 0;
    font-size: 22px;
    font-weight: 600;
    border-radius: 16px;
    border: 1px solid #f4f3f3;
    /* box-shadow: 0px 2px 3px 3px rgba(136, 92, 52, 0.2); */
    overflow: hidden;
    text-align: center;
}

table.actContain th {
    font-size: 22px;
    background-color: #4775fa;
    text-align: center;
    color: #fff;
    padding: 16px;
    border-bottom: 1px solid #dedede;
}

/* table.actContain .head{
    border-radius: 16px;
} */
table.actContain td {
    padding: 15px 30px;
    /* border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc; */
    border: 1px solid #ccc;
    background-color: #f4f3f3;
}

@media screen and (max-width: 576px) {
    table.actContain th {
        font-size: 18px;
    }

    table.actContain {
        font-size: 16px;
    }

    table.actContain td {
        padding: 10px 15px;
    }

    .memo {
        font-size: 15px;
    }
}

/*
--- 版權宣告footer ---*/
#footer {
    background-color: #eeeeee;
}

#footerStyle {
    width: 100%;
    background-color: #f4f4f4;
}

.copyright a {
    color: #7f7f7f;
    outline: none;
    text-decoration: none;
}

.copyright h4,
.copyright h5 {
    margin-top: 15px;
}

.copyright h4 {
    font-size: 26px;
    text-align: right;
}

.copyright h5 {
    font-size: 12px;
    text-align: left;
    color: #777;
    margin-left: 70px;
}

.copyright p {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.copyright .list-inline {
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .copyright h4 {
        font-size: 20px;
        text-align: center;
    }

    .copyright h5 {
        font-size: 12px;
        margin-left: auto;
    }

    .copyright p {
        font-size: 12px;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    #footer {
        padding: 10px 0;
        color: #7f7f7f;
        background-color: #eeeeee;
    }

    #footer .copyright {
        margin-bottom: 0px;
        padding-bottom: 0;
    }

    .copyright h5 {
        text-align: center;
    }

    .copyright a {
        color: #7f7f7f;
        outline: none;
        text-decoration: none;
    }
}

.textCenter {
    margin: auto;
    text-align: center;
}

@media screen and (max-width: 576px) {
    footer {
        padding-bottom: 65px;
    }
}

/* 活動時間對象與內容 */
#actContain {
    background-color: #ffffff;
    /* padding-top: 60px; */
    padding-bottom: 86px;
    /* background-image: url(../images/bg_00.png); */
    background-size: contain;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 768px) {
    #actContain {
        /* background-image: url(../images/bg_00_m.png); */
        background-size: contain;
    }
}


/* 操作流程 */
.stepArea {
    /* padding-top: 50px; */
    padding-bottom: 10px;
    background-color: #c4eeec;
    background-image: url(../images/bg_02.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.stepArea h2 {
    margin-bottom: 20px;
}

.stepImg {
    margin: auto;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 10px;
}

.stepImg img {
    width: 250px;
}

@media only screen and (max-width: 576px) {
    .stepArea {
        background-image: url(../images/bg_02_m.png);
    }
}

/* 常見問題 */
#QA {
    background-color: #e9fffe;
    padding-top: 40px;
    padding-bottom: 220px;
    background-image: url(../images/bg_03.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.myQA {
    max-width: 950px;
    width: 100%;
    margin: auto;
    font-size: 22px;
    font-weight: 600;
}

.myQA .accordion-button {
    font-size: 22px;
    background-color: transparent;
    font-weight: 600;
    color: #222222;
}

.myQA .accordion-item {
    background-color: transparent;
    color: #222222;
}

.myQA table {
    width: 100%;
    font-size: 17px;
    background-color: #fff;
}

.myQA table th {
    background-color: #22b7d1;
    color: #fff;
    text-align: center;
    border: 1px solid #c3c3c3;
}

.myQA table td {
    border: 1px solid #c3c3c3;
    padding-left: 10px;
    padding-right: 10px;
    color: #222222;
}

/* QA 黑色箭頭 */
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
}

/* QA 手風琴 */
.accordion-button:focus {
    box-shadow: none;
    color: #222222;
}

.accordion-button:not(.collapsed) {
    color: #4775fa;
}

@media only screen and (max-width: 576px) {
    #QA {
        padding-bottom: 10px;
    }

    .myQA {
        font-size: 18px;
    }

    .myQA .accordion-button {
        font-size: 18px;
        padding: 20px 0;
    }

    .myQA table {
        font-size: 14px;
    }

    .myQA .accordion-body {
        padding: 0;
    }
}


/* 注意事項 */

#noticeArea {
    background-color: #b61b29;
    padding-top: 0px;
    padding-bottom: 50px;
}

.noticeDesc h4 {
    font-size: 1.3rem;
}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}

.modal-dialog {
    width: 100%;
    max-width: 950px;
}

.noteTableTitle {
    font-size: 22px;
    font-weight: 600;
    /* color: #ffffff; */
}

.noteTable td {
    vertical-align: top;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
}

.noteTable a {
    color: #1026c1;
}

@media only screen and (max-width: 576px) {
    .noteTable td {
        font-size: 18px;
    }
}

/* 揭露資訊表格 */
table.shareInfo {
    width: 100%;
}

table.shareInfo th {
    background-color: #ff5151;
    text-align: center;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
}

table.shareInfo td {
    border: 1px #ccc solid;
    padding: 5px 10px;
}

/* 右側button 立即申請*/

#applyBtn .button {
    color: #FFFFFF;
    display: inline;
    position: fixed;
    top: 50%;
    right: 0%;
    text-align: center;
    z-index: 9;
    background-color: #4775fa;
    margin: 0 auto;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    border-radius: 20px 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 7px;
    padding-right: 7px;
    transition: 0.5s;
}

#applyBtn .button:hover {
    background-color: #53e4fe;
}

#applyBtn a.button {
    color: #fff;
    padding: 20px 10px;
    /* display: inline-block; */
}

#applyBtn .buttonPhone {
    display: none;
}

@media screen and (max-width: 768px) {
    #applyBtn .button {
        display: none;
    }

    #applyBtn .buttonPhone {
        color: #FFFFFF;
        background-color: #4775fa;
        display: flex;
        justify-content: center;
        position: fixed;
        -webkit-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
        width: 100%;
        font-size: 20px;
        font-weight: 600;
        top: auto;
        right: 0%;
        bottom: 0;
        border-radius: 0;
    }

    #applyBtn a.buttonPhone {
        color: #fff;
        padding: 15px 10px;
        letter-spacing: 2px;
        z-index: 99;
    }
}

#applyBtn:hover,
#applyBtn:active,
#applyBtn:focus,
#applyBtn:visited {
    color: #FFFFFF;
    outline: none;
    text-decoration: none;
    background: #2a2f37;
    text-decoration: none;
}

.mt-100 {
    margin-top: 100px;
}

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

.close {
    background-color: transparent;
    border: 0;
}