@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;*/
}

:root{
    --bright: #ffab4a;
    --brightB: #ffb867;
    /* --middle: #bd6e2d; */
    --middle: #8b1f0d;
    --huku: #2b2b2b;
}

@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: #ce8634;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}
a:hover, a:active, a:focus ,a:visited{
    color: #cc945f;
    outline: none;
    text-decoration: none;
}
img, object, embed, video {	
    max-width: 100%;
}

.reward{
    font-size: 120%;
    color: #fd9b2b;
    margin-left: 3px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    opacity: .2;	
}

.pointer{
    cursor: pointer;
    color: #f7bc84;
}

/*
--- 按鈕 btn ---*/
.btn:hover, .btn:active, .btn:focus {
    background: #e6bd6b !important;
    color: #fff;
    outline: none !important;
}
.btn{
	border-radius: 0px; 
}
.btn.btn-primary {
    background: #cca14d;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
	display: inline-block; 
	margin-top: 5px;
	margin-bottom: 5px;
    padding-right: 20px;
    padding-left: 20px;
}
.btn.btn-lg{
    font-size: 30px;
}
@media screen and (max-width: 576px){
    .btn.btn-lg {
		padding-top: 10px;
		padding-right: 8px;
		padding-left: 8px;
		padding-bottom: 10px;
		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(https://card.ubot.com.tw/eCard/activity/include/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: #cca14d;
    border-radius: 20px;
    padding: 5px 15px;
    margin-top: 1px;
    margin-left: 10px;
}

.navApplyBtn .nav-item .nav-link:hover{
    background: #ddb565;
}

/*
--- 導覽列下拉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*/
	  background: url(https://card.ubot.com.tw/eCard/activity/include/images/UBLogo.png) no-repeat 0 50%;
      background-size: contain;
	}
}
@media screen and (max-width: 576px){
	.navbar .navbar-brand {
	  margin-right: 50px;
	  margin-left: 15px;	  
	  background: url(https://card.ubot.com.tw/eCard/activity/include/images/UBLogo.png) no-repeat 0 50%;
      background-size: contain;
    }
}
/****************** 輪播 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;
}
/*
--- 主視覺 ---*/
.topimg1 { background-image: url(../images/top.jpg)  !important;}
@media screen and (max-width: 576px){
	.topimg1 { background-image: url(../images/top_m.jpg)  !important;}
}
/****************** 版面 Container ******************/
.gridContainer {	
	width: 100%;
	clear: none;
	float: none;
    margin-left: auto;
	margin-right: auto;
	background-size: cover;
}
.bgColor{
    background-color: #f7e4b9;
}

.bgColorBrown{
    background-color: var(--bright);
    padding-bottom: 100px;
    padding-top: 50px;
}

.bgColorBrown h2{
    color: #fff !important;
}

@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: 55px;
    text-align: center;
    color: #815c43;
    font-weight: 800;
} 


.mainArea img{
	margin: 0px auto;
}

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: #1f1f1f;
	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: 24px;
    text-align: center;
    font-weight: bold;
    /* background-color: #ff8b07;
    border: 5px solid #ffdb97; */
    background-color: var(--middle);
    border: 2px solid var(--bright);
    color: #fff;
    width: 250px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 10px auto 15px;
    border-radius: 25px;
}
.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{
    max-width: 1000px;
    width: 100%;
    margin: 30px auto 0;
    font-size: 22px;
    font-weight: 600;
    border-radius: 15px 15px 0 0;
    box-shadow: 0px 2px 3px 3px rgba(136, 92, 52, 0.2);
}
table.actContain th{
    font-size: 24px;
    background-color: #ff5151;
    text-align: center;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
}
table.actContain .head{
    border-radius: 15px 15px 0 0;
}
table.actContain td{
    background-color: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 576px){
    table.actContain{
        font-size: 18px;
    }
    table.actContain td{
        padding: 10px 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: #f7e4b9;
    padding-top: 60px;
    padding-bottom: 20px;
    /* 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;
        padding-top: 10px;
    }
}


/* 操作流程 */
.stepArea{
    padding-top: 50px;
    padding-bottom: 10px;
    background-color: #b61b29;
    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: var(--brightB);
    padding-top: 40px;
    padding-bottom: 80px;
    background-image: url(../images/bg_03.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.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: #885627;
}
.myQA .accordion-item{
    background-color: transparent;
    color: #222222;
}
.myQA table{
    width: 100%;
    font-size: 17px;
    /* background-color: #fff; */
}
.myQA table th{
    background-color: #cba14d;
    color: #fff;
    text-align: center;
    border: 1px solid #ddb76a;
}
.myQA table td{
    border: 1px solid #cba14d;
    padding-left: 10px;
    padding-right: 10px;
}

@media only screen and (max-width: 576px){
    #QA{
        background-image: none;
    }
    .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: 650px;
}

.modal-header{
    background-color: var(--middle);
    
}

.modal-header h1{
    color: #fff;
    font-weight: 800;
}

.modal-footer{
    justify-content: center;
}

.noteTableTitle{
    font-size: 22px;
    font-weight: 600;
    color: #815c43;
}
.noteTable td{
    vertical-align: top;
    border: 0;
    font-size: 20px;
    font-weight: 600;
    color: #222222;
}

@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;
}

.nav.nav-tabs{
    border: 0;
    --bs-nav-tabs-border-width: 0;
    margin: auto;
    justify-content: center;
    margin-top: 30px;
}

.nav.nav-tabs .nav-link{
    /* background-color: #f3d496; */
    background-color: var(--bright);
    width: 250px;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    border-radius: 50px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
}

.nav.nav-tabs .nav-link.active{
    /* background-color: #cba14d; */
    background-color: var(--middle);
    border: 2px solid var(--bright);
    /* border: 0; */
    color: #fff;
}

.stockArea{
    padding-bottom: 50px;
}

.stockBox{
    background-color: #fff;
    border-radius: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
}

.stockBox h3{
    background-color: var(--middle);
    /* background-color: #cba14d; */
    color: #fff;
    padding-top: 20px;
    padding-bottom: 5px;
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
}

.stockBox h4{
    padding-top: 10px;
    font-weight: 600;
}

/* 右側button 立即申請*/
    
#applyBtn .button {
    color: #FFFFFF;
    display: inline;
    position: fixed;
    top: 50%;
    right: 0%;
    text-align: center;
    z-index: 9;
    background-color: #cca14d;        
    margin: 0 auto;
    -webkit-writing-mode: vertical-lr;
        writing-mode: vertical-lr;
    border-radius: 15px 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 a.button{
    color: #fff;
    padding: 12px 10px;
    /* display: inline-block; */
}
#applyBtn .buttonPhone{
    display: none;
}

@media screen and (max-width: 768px) {
    #applyBtn .button{
        display: none;
    }	
    #applyBtn .buttonPhone{
        color: #FFFFFF;
        background-color: #cca14d;   
        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;
    }

    
}

@media screen and (max-width: 576px){
    img.imagePhone{
        margin-top: 30px;
    }
    .nav.nav-tabs .nav-link{
        width: 130px;
    }
}



#applyBtn:hover,
#applyBtn:active,
#applyBtn:focus,
#applyBtn:visited {
    color: #FFFFFF;
    outline: none;
    text-decoration: none;
    background: #ddb565;
    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;
}

.introTable{
    text-align: left;
    margin: auto;
}