@charset "utf-8";

/****************** 基本 ******************/

* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #323232;
    background-color: #fff;
    height: 100%;
    position: relative;
    padding-top: 70px;
}
/*--- 主視覺 ---*/
.kv {
    position: relative;
    width: 100%;
    --w: 1920;
    --h: 1000;
    overflow: hidden;
    margin-top: -70px;
}
.kv:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;    
    background-image: url(../images/top.jpg);
    background-size: cover;
}

.kv_title {
    position: absolute;
    top: 26%;
    left: 24.921875%;
    width: 50.15625%; /*主標圖寬/1920*/
    height:47.8%;/*主標圖高/總高*/ 
    -webkit-animation: float 1s ease-in-out 0.5s infinite alternate both;
    animation: float 1s ease-in-out 0.5s infinite alternate both;
} 
.kv_box {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%; 
    height:100%;
}
.kv_box_1 {
    position: absolute; 
    top: 0%;
    left: 20.885416%;
    width: 32.65625%;
}
.kv_box_2 {
    position: absolute; 
    bottom: 0;
    left: 0%;
    width: 28.072916%;  
    z-index: 3;  
}
.kv_box_3 {
    position: absolute; 
    top: 32.4%;
    left: 42.135416%;
    width: 53.541666%;  
    z-index: 3;  
}

@media (max-width:768px){
    .kv {
        --w: 768;
        --h: 700;
    }
    .kv:before {         
        background-image: url(../images/top_m.jpg);
    }
    .kv_box_1 {
        position: absolute; 
        top: 0%;
        left: 35.885416%;
        width: 39.65625%;
    }
    .kv_box_2 {
        position: absolute; 
        bottom: 23%;
        left: -3%;
        width: 36.072916%; 
        z-index: 3;  
    }
    .kv_box_3 {
        position: absolute; 
        top: 50%;
        left: 8%;
        width: 90%;  
        z-index: 3;  
    }
   
}
@media (max-width:576px){
    .kv {       
        margin-top: -5%;
    }
    .kv_title {
        top: 28%;
        left: 5%;
        width: 90%;
        height:42.8%;
    } 
      
}



/*--- //主視覺 ---*/


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;
    margin-bottom: 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;
    }
}

@media screen and (max-width: 480px) {
    .btn.btn-lg {
        font-size: 14px;
    }
}


/****************** 導覽列 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(../../../../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;
}

/*
--- 導覽列下拉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 {     
        width: 200px;
        height: 60px;
    }
}




/****************** 輪播 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;
}




/****************** 版面 Container ******************/

.gridContainer {
    width: 100%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: contain;
    background-repeat: repeat-y;
    background-color: #f2cfcc;
    background-image: url(../images/bg_02.png);    
}
.gridContainer_top, .gridContainer_b {
   display: block;
}
.gridContainer_top_m, .gridContainer_b_m {
   display: none;
}
@media only screen and (max-width: 768px) {
    .gridContainer {        
        background-image: url(../images/bg_m02.png);
    }
    .gridContainer_top, .gridContainer_b {
        display: none;
     }
     .gridContainer_top_m, .gridContainer_b_m {
        display: block;
     }
}



/*
--- 活動主版 mainArea ---*/

.mainArea {
    /* padding-top: 50px;
    padding-bottom: 30px; */
}

.mainArea h2 {
    /* 活動主標 */
    color: #FFFFFF;
    font-size: 24pt;
    background-color: #009999;
    border-radius: 50px;
    border: 1px solid #009999;
    max-width: 300px;
    /* margin: 30px auto 15px; */
    line-height: 28pt;
    text-align: center;
}

.mainArea h2.title,
.mainArea h2.titleM {
    color: #53adf7;
    font-weight: 600;
    max-width: none;
    background: none;
    border: none;
    text-align: center;
    line-height: 2;
}

.mainArea h2.title {
    display: block;
    font-size: 25pt;
    /* border: 1px solid #fda0b4; */
    /* padding: 10px; */
    padding-top: 10px;
    /* border-radius: 1000px; */
    /* width: 600px; */

}

.mainArea h2.title::before{
    content: url(../images/iconf.png);
    margin-top: 6px;
    margin-right: 6px;
    display: inline-block;
}

.mainArea h2.title::after{
    content: url(../images/iconf.png);
    margin-left: 6px;
    display: inline-block;
}
@media screen and (max-width:768px){
    .mainArea h2.title {
        font-size: 24px;
        padding-top: 0;
    }
    .mainArea h2.title::before{
        content: url(../images/iconfa.png);
    }
    
    .mainArea h2.title::after{
        content: url(../images/iconfa.png);
    }
}    

@media screen and (max-width: 576px){
    .mainArea h2{
        font-size: 23px;
        margin: 0px;
    }
    .mainArea h2.title {
        font-size: 22px;
    }
    .mainArea h2.title::before{
        content: url(../images/iconfa.png);
    }
    
    .mainArea h2.title::after{
        content: url(../images/iconfa.png);
    }
}
@media screen and (max-width: 350px){
    .mainArea h2.title {
        font-size: 18px;
    }
}


.mainArea h2.titleM {
    display: none;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
	padding-top: 10px;
    line-height: 1.6;
    font-size: 1.5rem;
	font-weight: 600;
}


.mainArea h4 {
    /* 活動敘述文 */
    color: #323232;
    text-align: left;
    font-size: 15pt;
    line-height: 1.7;
    padding-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 0.1rem;
    font-weight: 400;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

/* .mainArea p {
    color: #000000;
    font-size: 13pt;
  
    text-align: center;
    margin-bottom: 10px;
    line-height: 40px;
} */


.mainArea img {
    margin: 0px auto;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding: 10px 0px;
    }
 /*   .mainArea h2.title {
        display: none;
    }
    .mainArea h2.titleM {
        display: block;
        font-size: 16pt;
        line-height: 1.8;
    } */
    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
        margin-bottom: 0;
        /* text-align: center; */
    }
    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 13pt;
        line-height: 1.5;
        margin-bottom: 0;
    }
    /* .mainArea p {
        color: #000000;
        font-size: 11pt;
        text-align: center;
        margin-bottom: 5px;
        line-height: 30px;
    } */
}


/*--- 活動內文區塊 mainText ---*/
/*-----月曆-------*/
.calendar_title .calendar_title_img {
    width: 90%;
}
.calendar_title {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}
.calendar_box {
    border-radius: 30px;
    background-color: #ffffff;
    padding: 20px;
    margin: 12px;
    /* width: 100%; */
}
.calendar_item {
    display: flex;
    justify-content: center;

}
.calendar_item_img {
    width: 25%;
    display: flex;
    justify-content: center;
}
.calendar_item_content {

}
.calendar_item_content p {
    line-height: 1.5;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}
.calendar_item_content a {
    display: block;
    text-decoration: none;

}
.calendar_item_content h3 {
    text-align: center;
    letter-spacing: -1px;
    font-size: 1.5rem;
}
.calendar_item_content h3 .reward{
    color: #e71a0f;
    margin-right: 0px;
    margin-left: 0px;    
    font-size: 36px;
    font-weight: 800;
}
@media screen and (max-width: 1700px) {
    .calendar_box {        
        width: 85%;
    }
}
@media screen and (max-width: 1400px) {
    /* .calendar_box {        
        width: 88%;
    } */
}
@media screen and (max-width: 1200px) {
    .calendar_item_img {
        width: 100%;
    }
    .calendar_item_content p {
        text-align: center;
    }
}
@media screen and (max-width: 992px) {
    .calendar_box {        
        width: 90%;
    }
}
@media screen and (max-width: 768px) {
    .calendar_item {
        justify-content: center;
    }
    .calendar_item_content p {
        margin-bottom: 20px;
    }
    .calendar_item_content h3 {
        margin-bottom: 35px;
    }
    
}
/*-----//月曆-------*/

.reward {
    color: #497ecd;
    padding: 2px;
    font-weight: 600;
}
.rewardOrange{
    color: #f98a1d;
    padding: 2px;
    font-weight: 600;
}

/*
--- 備註文字 ---*/

.memoTable {
    font-size: 15px;
    margin-top: 30px;
}

.memoTable td {
    vertical-align: top;
}


/*
--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table th{
    background-color: #e3f1ff;
    /* color: #fff; */
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 10px;
    border: 1px solid #9cbfdf;
    vertical-align: middle;
    font-weight: 800;
    font-size: 21px;
    line-height: 26px;
}

.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,.mainArea .table-bordered th {
        font-size: 17px;
        padding: 5px;
        line-height: 22px;
    }
    .mainArea .table-bordered {
        line-height: 1.5;
        margin-bottom: 5px;
    }
}


/*
--- 注意事項 ---*/
.notice {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ae4a53;
}

.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;
}

@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;
    }
}


/*
--- 版權宣告footer ---*/

#footer {
    background-color: #eeeeee;
}

#footerStyle{
    width: 100%; 
    background-color: #f4f4f4;
}

.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;
    }
}


/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

.bgColor{
    background-color: rgb(219, 241, 255);
}

.redText{
    color: #ff0000;
}

.indentNote {
    padding-top: 7px;
}
.indentNote p {
    font-size: 15px;
    text-align: left;
    line-height: 20px;
    padding-left: 40px;
    text-indent: -40px;
    margin-bottom: 10px;
    margin-top: 0;
}

/*-------注意事項彈出視窗--------------------*/
.modal-title {
        font-size: 30px;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 5px;
        color: #009999;
        padding: 0;
    }
 .modal-content {
	border-radius: 1rem;}
 .modal-content button:focus {
        outline: none;
    }
    
 .modal-dialog {
        max-width: 960px;
        margin: 1.75rem auto;
    }
.modal-header .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.8rem 1.3rem;
    margin: 0rem 0rem -1rem auto;
    background: transparent url(../images/close.png) center/2.5em auto no-repeat;}
.modal-footer {
    padding: 0;
}
@media screen and (max-width: 768px) {
        .modal-title {
            font-size: 22px;
            letter-spacing: 0px;
            font-weight: 600;
        }
    }
/*-------//注意事項彈出視窗--------------------*/
