@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;
}
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;
	}
}
.btn-default{
    font-size: 1.48rem;
    color: #000;
    border-radius: 4px;
    padding: 6px 12px;
    border: 1px solid #ccc;
}
.btn-default:visited {
    color: #666;
}
.btn-default:hover, .btn-default:active, .btn-default:focus {
    color: #009999;
    border: 1px solid #009999;

}
@media screen and (max-width: 576px){
    .btn-default{
        font-size: 1rem;
        padding: 4px 8px;
    }
}


/*
--- 切換裝置顯示項目 ---*/
#line {display: block;}   
#line_m {display: none;} 
#lineP {display: block;}   
#lineP_m {display: none;} 
#lineP1 {display: block;}   
#lineP1_m {display: none;} 
@media screen and (max-width: 768px){
    #line {display: none;}   
    #line_m {display: block;} 
    #lineP {display: none;}   
    #lineP_m {display: block;} 
    #lineP1 {display: none;}   
    #lineP1_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;
    /* [disabled]padding-bottom: 20px; */
    /* [disabled]padding-top: 20px; */
    /* [disabled]background-color: #e24e32; */
}
@media only screen and (max-width: 768px) {
	.gridContainer {
		width: 100%;
		margin: auto;
		clear: none;
		float: none;
		margin-left: auto;
		background-size: cover;
	}
}
/*
--- 活動主版 mainArea ---*/
.mainArea {
    /* [disabled]padding-top: 50px; */
    padding-bottom: 30px;
    padding-bottom: 10px;
}

.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: 5px;
    line-height: 28pt;
    padding-top: 5px;
    padding-bottom: 5px;
}
.mainArea h2 small {
	color: #333333;
}
.mainArea h3.date {    /* 活動起訖日+對象 */
    line-height: 2.2;/*原1.5*/
    font-size: 1.5rem;
    margin-top: 50px;
    text-align: left;
    padding-left: 0px;
} 
@media screen and (max-width:768px){
    .mainArea h3.date {    /* 活動起訖日+對象 */
        /* text-align: center; */
    }
}



.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: 12pt;
	text-align: center;
	margin-bottom: 0px;
}
.mainArea img{
	margin: 0px auto;
}
@media screen and (max-width: 576px){
    .mainArea {
    padding-bottom: 0px;
    margin-top: 10px;
    margin-bottom: 0px;
    }
    .mainArea h3.date {    /* 活動起訖日+對象 */
    font-size: 1rem;
    /* text-align: center; */
    padding-left: 0px;
    margin-top: 10px;
    } 
    .mainArea p {
        /* color: #000000; */
        font-size: 8pt;
    }
}
/*
--- 活動內文區塊 mainText ---*/
.mainText{
    font-size: 24px;
    color: #545559;
    /* [disabled]margin-top: 20px; */
    /* [disabled]margin-bottom: 15px; */
    line-height: 50px;
    /* [disabled]border: 1px dashed #767272; */
    padding-top: 30px;
    /* [disabled]padding-right: 20px; */
    /* [disabled]padding-left: 20px; */
    padding-bottom: 30px;
    text-align: center;
}
@media screen and (max-width: 480px){
    .mainText{
        padding-top: 0px;	
    }
}
.mainText1{
    font-size: 24px;
    color: #545559;
    /* margin-top: 80px; */
    /* [disabled]margin-bottom: 15px; */
    line-height: 50px;
    /* [disabled]border: 1px dashed #767272; */
    /* [disabled]padding-top: 30px; */
    /* [disabled]padding-right: 20px; */
    /* [disabled]padding-left: 20px; */
    /* [disabled]padding-bottom: 30px; */
    text-align: center;
    padding-top: 30px;
}
.mainText2{
    font-size: 24px;
    color: #545559;
    margin-top: 50px;
    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;
}

.mainText2 h2 {
    width: 300px;
    margin-top: -50px;
    background-color: #541b86;
    border: 1px solid #541b86;
}
.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}

.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;
    margin-bottom: 50px;
    margin-top: 20px;
    margin-right: 50px;
    margin-left: 50px;
    /* text-align: justify; */
}
.memoTable td {
    vertical-align: top;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}
/*
--- 活動表格 ---*/
.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;
    }


    .nav.nav-tabs .nav-item a.active {
        /* font-size: 20px; */
        padding-left: 13px;
        padding-right: 13px;
        padding-top: 5px;
        padding-bottom: 5px;
        /* top: 0px; */
    }
        
    .nav.nav-tabs .nav-item a.active:hover {
        /* font-size: 20px; */
        padding-left: 10px;
        padding-right: 10px;
    }


	
	.nav.nav-tabs .nav-item a {
        font-size: 20px;
        color: rgb(87, 87, 87);
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        letter-spacing: 0px; 
        width: 50px;
        margin: 0 5px;
    }

    .mainArea h2 {        /* 活動主標 */
        font-size: 13pt;
        /* [disabled]max-width: 300px; */
        margin-top: -50px;
        /* [disabled]width: 250px; */
        /* min-width: 210px; */
    }	
	.mainText2{
        margin-top: 40px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
        /* [disabled]padding-top: 0px; */
	}
	.memoTable {
        font-size: 14px;
        margin: 0px;
    }
    
    /* .row .col.text-center .date {
        font-size: 14pt;
    } */
    .row .col.text-center .date1 {
        font-size: 14pt;
        margin-top: 0px;
    }
    #home .container .date2 {
        font-size: 16pt;
    }
    #menu1 .container .date2 {
        font-size: 16pt;
    }
    .col.paytab .nav.nav-tabs .nav-item {
        margin-bottom: 15px;
    }
    .titleImg {
        width: 300px;


    }
    .mainText1{
        font-size: 20px;
    }

}




    
/*
--- 版權宣告footer ---*/
footer{
    width: 100%; 
    background-color: #f4f4f4;
}
#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;
}
/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate 
.js .animate-single {
  opacity: 0;
}

.js .animate-box {
	opacity: 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;
	}
}



.memoTable1 {
    font-size: 18px;
    /* [disabled]padding-bottom: 30px; */
    margin-top: 10px;
    margin-right: 20px;
    line-height: 32px;
    text-align: left;
    display: block;
    min-width: 300px;
}
@media screen and (max-width: 480px){
    .memoTable1 {
        /* [disabled]min-width: 200px; */
        /* [disabled]max-width: 200px; */
        margin-right: 20px;
        font-size: 16px;
        line-height: 26px;
}
}



/* h4 New Define */

.mainArea h4 {
    /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 18pt;
    line-height: 1.5;
    padding: 25px;
    /* text-align: right; */
    vertical-align: middle;
    letter-spacing: 1px;
    margin-bottom: 0;
    /* border-top: 1px solid #d0d0d0; */
    border-bottom: 1px solid #d0d0d0;

}
@media screen and (min-width: 992px) and (max-width: 1200px){
    .mainArea h4 {
        /* font-size: 16pt; */
        padding-top: 10px;
        letter-spacing: 0px;
    }
}
@media screen and (max-width: 992px){
    .mainArea h4 {
        text-align: center;
        padding: 10px 0px;
    }
}
@media screen and (max-width: 768px){
    .mainArea h4 {
        text-align: center;
        padding: 10px 65px;
    }
}
@media screen and (max-width: 576px) {
    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 19px;
        /*line-height: 1.5;*/
        letter-spacing: 0;
        padding: 10px 30px;
    }
}
@media screen and (max-width: 375px) {
    .mainArea h4 {
        padding: 10px 0px;
    }
}
@media screen and (max-width: 320px){
    .mainArea h4 {
        font-size: 16px;
        font-weight: 600;
    }
}
h4.contentT{
    text-align: center;
    border-bottom: 0px;
    line-height: 1.8;
}
@media screen and (max-width: 576px){
    h4.contentT{
        /* text-align: justify; */
    }
}





/* model notice Table */
.last {
    border-right: 1px #afafaf solid;
    border-bottom: 1px #afafaf solid;
}

.gift {
    border-bottom: 1px #afafaf solid;
}

.breezeTable {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
    padding-right: 15px;
    padding-left: 15px;
    border-top: 1px solid #afafaf;
}

.breezeTable td {
    padding: 2px 20px;
    text-align: center;
}

.table-bordered>tbody>tr>td {
    border: 1px solid #ABABAB;
}

.breezeTable p {
    margin-bottom: 0;}


@media screen and (max-width: 480px) {
    .breezeTable td {
        padding: 5px;
        /*border: 1px solid #cccccc;*/
    }
    .breezeTable p {
        font-size: 12px;
        margin-bottom: 0px;
    }
}
/* --model notice Table end-- */


.Hspacebox{
    height: 50px;
}
@media screen and (max-width: 576px){
    .Hspacebox{
        height: 10px;
    }
}

.centerP{
    padding-right: 250px;
    padding-left: 250px;
}
@media screen and (max-width: 992px){
    .centerP{
        padding-right: 100px;
        padding-left: 100px;
    }
}
@media screen and (max-width: 768px){
    .centerP{
        padding-right: 20px;
        padding-left: 20px;
    }
}

.fas{
    color: #489d9d;
}