@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;*/
}
.text-center {
    margin-bottom: 30px;
}


@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: #009999;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}
a:hover, a:active, a:focus ,a:visited{
    color: #006464;
    outline: none;
    text-decoration: none;
}
img, object, embed, video {	
    max-width: 100%;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    opacity: .2;	
}

/*
--- 按鈕 btn ---*/
.btn:hover, .btn:active, .btn:focus {
    background: #393e46 !important;
    color: #fff;
    outline: none !important;
}
.btn{
	border-radius: 0px; 
}
.btn.btn-primary {
    background: #009999;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
	display: inline-block; 
	margin-top: 5px;
}
@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;} 
}
/****************** 導覽列 navbar ******************/
.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;    
}
.navbar-header {}
/*
--- 聯邦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/RWD/images/UBOT-logo.png) no-repeat 0 50%;
}
.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;
}
/*
--- 導覽列下拉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/RWD/images/UBOT-logo_s.png) no-repeat 0 50%;
	}
}
@media screen and (max-width: 576px){
	.navbar .navbar-brand {
	  margin-right: 50px;
	  margin-left: 15px;	  
	  background: url(https://card.ubot.com.tw/eCard/activity/RWD/images/UBOT-logo_s.png) no-repeat 0 50%;
    }
}
/****************** 輪播 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;}
.topimg2 { background-image: url(../images/top_2.jpg)  !important;}
.topimg3 { background-image: url(../images/top_3.jpg)  !important;}
@media screen and (max-width: 576px){
	.topimg1 { background-image: url(../images/top_m.jpg)  !important;}
    .topimg2 { background-image: url(../images/top_2m.jpg)  !important;}
    .topimg3 { background-image: url(../images/top_3m.jpg)  !important;}
}
/****************** 版面 Container ******************/
.gridContainer {	
	width: 100%;
	clear: none;
	float: none;
    margin-left: auto;
	margin-right: auto;
	background-size: cover;
}
@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;
    padding-bottom: 50px;
    margin-left: 0px;
    margin-right: 0px;
}
.mainArea h1{
    font-size: 2.2rem;
    color: #541b86;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    letter-spacing: 3px;
}
@media screen and (max-width: 992px){
    .mainArea h1{
        font-size: 2rem;
    }
}
@media screen and (max-width: 768px){
    .mainArea h1{
        font-size: 1.8rem;
        /* padding: 0; */
    }
}
@media screen and (max-width: 576px){
    .mainArea h1{
        font-size: 1.5rem;
        /* letter-spacing: 6px; */
        line-height: 1.4;
    }
}
@media screen and (max-width: 490px){
    .mainArea h1{
        font-size: 1.4rem;
        line-height: 1.4;
        padding-right: 2px;
        padding-left: 2px;
        letter-spacing: 0;
    }
}

.mainArea h2 {        /* 活動主標 */
    color: #FFFFFF;
    font-size: 19pt;
    background-color: #009999;
    border-radius: 50px;
    border: 1px solid #009999;
    max-width: 300px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    line-height: 28pt;
}
.mainArea h2 small {
	color: #333333;
}
.mainArea h3.date {    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.3rem;
    /* margin-top: 30px; */
    text-align: left;
    /* padding-left: 30px; */
} 
.mainArea h4 {        /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 16pt;
    line-height: 1.8;
    padding-top: 0px;
    padding-bottom: 3px;
    text-align: center;
    margin-top: 10px;

}
@media screen and (min-width: 992px) and (max-width: 1200px){
    .mainArea h4{
        padding: 0 220px 10px;
    }
}
@media screen and (min-width: 992px){
    .mainArea h4{
        padding: 0 150px 10px;
    }
}

.mainArea h5 {        /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}
#headingOne1 h5   {
    font-size: 20px;
    font-weight: bold;
}

.mainArea p {
	color: #000000;
	font-size: 13pt;
	text-align: center;
	margin-bottom: 0px;
}
.mainArea img{
	margin: 0px auto;
}
@media screen and (max-width: 576px){
    .mainArea {
        /* padding-top: 30px; */
        padding-bottom: 30px;
    }
    .mainArea h3.date {    /* 活動起訖日+對象 */
    font-size: 1rem;
    /* text-align: center; */
    padding-left: 0px;
    margin-top: 0px;
    } 
    .mainArea h4 {        /* 活動敘述文 */
    font-size: 13pt;
    line-height: 1.5;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    padding: 0;
    }
}
/*
--- 活動內文區塊 mainText ---*/
.mainText1{
	font-size: 24px;
	color: #545559;
	margin-top: 15px;
	margin-bottom: 15px;
	line-height: 50px;
	border: 1px dashed #767272;
	padding: 30px 20px;
	text-align: center;
}
.mainText2{
    font-size: 24px;
    color: #545559;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 50px;
    border: 1px solid #541b86;
    padding: 30px 20px;
    text-align: center;
    background-image: url(../images/bg.jpg);
    background-position: center center;
    background-size: cover;
    border-radius: 50px;
}

.mainText1 h2{
    text-align: center;
}
.mainText2 h2 {
    max-width: 300px;
    margin-top: -60px;
    background-color: #541b86;
    border: 1px solid #541b86;
    padding: 10px;
}
.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}
.reward {
    color: #d60000;
    margin-right: 3px;
    margin-left: 3px;
    padding: 5px;
}
.flex-container {
  flex-direction: row;
}
.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}
@media screen and (max-width: 991px){
    .flexBox {
        -webkit-flex-direction: column ;
        -moz-flex-direction: column ;
        -ms-flex-direction: column ;
        -o-flex-direction:column  ;
        flex-direction: column ;
                
    }
}
@media screen and (max-width: 576px){
    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }
    .mainText2 h2 {
        width: 200px;
    }    

}
/*
--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
}
.memoTable td {
    vertical-align: top;
}
/*
--- 活動表格 ---*/
.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
    font-size: medium;
}
.mainArea .table-bordered th, 
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #a1bbbd;
    vertical-align: middle;
}
.mainArea .table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
} 
@media screen and (max-width: 576px){
    .mainArea .table thead th {
        font-size: 17px;
    }
    .mainArea .table-bordered td {        
        font-size: 17px;
    }
    .mainArea .table-bordered {
        line-height: 1.5;
    }
.paytab .nav-tabs{
    margin-top: 20px;		
	}
.paytab .nav-tabs li a {
    /* [disabled]padding-right: 20px; */
    /* [disabled]padding-left: 20px; */
	}	
.nav.nav-tabs .nav-item a {
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.nav.nav-tabs .nav-item a.active {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.nav.nav-tabs .nav-item a.active:hover {
    padding-left: 20px;
    padding-right: 20px;
}

.paytab.nav-tabs .nav-item li {
    margin-left: 5px;
    margin-right: 5px;
}
.mainArea h2 {        /* 活動主標 */
    font-size: 16pt;
    margin-top: -52px;
    min-width: 250px;
    padding: 2px;
}	
	.mainText2{
    margin-top: 20px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    /* [disabled]padding-top: 0px; */
    border-radius: 15px;
	}
	.memoTable {
    font-size: 14px;
}
}
@media screen and (max-width: 480px){
    .mainArea h2 {        /* 活動主標 */
        font-size: 14pt;
        min-width: 230px;
        padding: 0;
    }	
}
/*
--- 注意事項 ---*/
.noticeDesc h4 {
    font-size: 1.3rem;
    text-align: left;
}
.noticeDesc .table-bordered {
    }
ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
    }
/*
--- 注意事項表格 exTable ---*/
#exTable table th,
#exTable table td {
    text-align: center;
    font-size: 12px;
    border: 1px solid #ccc;
    vertical-align: inherit;
}
#exTable table th {
    color: #fff;
    background-color: #323232;
}
/*
--- 分頁 tabs submenu ---*/
.tabs{
    margin-top: 50px;
    margin-bottom: 20px;
    padding-right: 0px;
    padding-left: 0px;
    border-bottom: 1px solid #00859a;
}
.submenu ul{
    list-style-type: none;
}
.submenu li {
    float: left;
    height: 30px;
    width: 33.333%;
    
    font-size: 13pt;
    font-weight: 500;
    line-height: 20px;
    color: #1c100b;
    text-align: center;
    padding: 0 24px;
    list-style-type: none;
}
.submenu li a {
    color: #a9a9a9;
    padding-bottom: 5px;
}
.submenu li a.active {
    color: #FFFFFF;
    font-size: 15pt;
    background: #00859a;
    padding: 10px 10% 8px;
    border-radius: 10px 10px 0 0;
}
/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate 
.js .animate-single {
  opacity: 0;
}

.js .animate-box {
	opacity: 0;
}
/* 3pay-tab */
.paytab{
    text-align: center;
    border-bottom: 1px solid #ccc;
    margin-top: -20px;
}
.paytab .nav-tabs{
    display: flex;
    justify-content: center;
    position: relative;
    border-bottom: none;
}
.paytab .nav-tabs li{
    margin: 0;
}
.paytab .nav-tabs li a{
    display: block;
    padding-top: 10px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 10px;
    background: #fff;
    font-size: 26px;
    font-weight: 700;
    color: #999;
    /*text-transform: uppercase;*/
    text-align: center;
    border-radius: 0;
    /* [disabled]border: none; */
    /* [disabled]border-bottom: 0px solid #ddd; */
    overflow: hidden;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease 0s;
    margin-left: 10px;
    margin-right: 10px;
}

.paytab .nav-tabs li a.active{
    color: #541b86;
    border: 1px solid #541b86;
    padding-left: 30px;
    padding-right: 30px;
}
.paytab .nav-tabs li a.active:hover{
    color: #7009E1;
    border: 1px solid #7009E1;
    padding-left: 30px;
    padding-right: 30px;
}
.paytab .nav-tabs li a:hover {
    color: #7009E1;
    /* [disabled]border: 1px solid #009dad; */
    padding-left: 30px;
    padding-right: 30px;
}


.paytab .nav-tabs li.active a
/*.paytab .nav-tabs li a:hover*/{
    /* [disabled]color: #999; */
    /* [disabled]border: none; */
    /* [disabled]border-bottom: 2px solid #ddd; *//*2px solid #fff;*/
}

.paytab .tab-content{
    padding: 20px;
    margin-top: /*-5px*/-20px;
    border-top: 2px solid #e5e5e5;
}
.paytab .tab-content h4{
	font-size: 24px;
	margin-top: 0;
}
.paytab .tab-content h5{
	font-size: 15px;
	color: #757575;
	line-height: 26px;
	text-align: left;
}

@media screen and (max-width: 587px){
    .submenu {
        padding: 0 0 0 0;
    }
    .submenu li {
        font-size: 12pt;
        padding: 0px;
    }
    .submenu li a {
        padding-bottom: 8px;
    }
    .submenu li a.active {
        font-size: 12pt;
        padding: 10px 10% 10px;
    }
}
@media screen and (max-width: 320px){
    .submenu li {
        font-size: 10pt;
    }
    .submenu li a.active {
        font-size: 10pt;
        padding-bottom: 13px;
    }
.nav.nav-tabs .nav-item a.active {
    font-size: 20px;
}
.nav.nav-tabs .nav-item a.active:hover {
    font-size: 20px;

}
	.nav.nav-tabs .nav-item a {
    font-size: 20px;

}
}

/*
--- 版權宣告footer ---*/
#footer {
	background-color: #eeeeee;
}
.copyright {}
.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;
	}
.forpad {
    margin-left: 10px;
    margin-right: 10px;
}

}


.setlogo {
    /* [disabled]display: block; */
    /* [disabled]margin-left: auto; */
    /* [disabled]margin-right: auto; */
    /* [disabled]border: 1px dotted #009999; */
    border-radius: 60px;

}
.set11 {
    margin-top: 25px;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0px 0px 5px #979797;
    box-shadow: 0px 0px 5px #979797;
    border-radius: 20px;
    /* [disabled]min-height: 400px; */
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 0px;
}
.tablebg {
    background-color: #EDEDED;
}

@media (max-width:480px){
.paytab{
    border-bottom: 1px solid #FFFFFF;
    margin-bottom: 10px;
}
.paytab .nav-tabs {
    margin-top: 10px;
}
.paytab .nav-tabs li {
    margin-top: 10px;
    width: 100%;
}
.paytab .nav-tabs li a{
    border: 1px solid #DBDBDB;
    padding-top: 0px;
}
	.nav.nav-tabs .nav-item a {
    font-size: 20px;
}
}

.imgSize{
    max-width: 500px;
}    

@media screen and (max-width: 576px){
    .imgSize{
        max-width: 300px;
    }    
}

/* 修改style */
.rfont{
    color: #e71a0f;
}
.thfontcolor{
    color: #fff;
}
.footbg{
    width: 100%; 
    background-color: #f4f4f4;
}

.noteS{
    padding-inline-start: 20px;
}
.noteRc{
    color: #e71a0f;
}

/* 閃亮亮 */
#confetti{
    z-index:5; 
    position:fixed; 
    top:0;
    width: 100%; 
    height:100%; 
    opacity:0.5;
}
