@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: #009999;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}

a:hover,
a:active,
a:focus,
a:visited {
    color: #000000;
    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: #373737 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.text-center {
    margin-top: 20px;
    margin-bottom: 30px;
}

.btn.btn-primary {
    background: #009999;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    /* margin-top: 5px; */
    /* margin-bottom: 24px; */
}

#myBtn {
    display: inline-block;
    position: fixed;
    width: 117px;
    height: 127px;
    bottom: 50px;
    right: 35px;
    z-index: 99;
    border: none;
    outline: none;
    background-image: url(../images/apply.png?d=20230630);
    background-size: contain;
    cursor: pointer;
    padding: 10px;
}

#myBtn:hover {
    background-image: url("../images/apply_a.png?d=20230630");
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .btn.btn-lg {
        font-size: 14px;
    }
}


/*
--- 切換裝置顯示項目 ---*/

#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(../../../../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-list .btn-secondary {
    background-color: #e05950;
    color: #ffffff;
    border-radius: 32px;
    position: fixed;
    top: 130px;
    right: 80px;
    width: 140px;
    font-size: 18px;
    font-weight: 600;
    border: 0px;
}

.dropdown-menu {
    min-width: 140px;
}

.dropdown-item img {
    width: 16px;
    margin-right: 4px;
    margin-bottom: 3px;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        margin-right: 0px;
        margin-left: 20px;
        width: 200px;
        height: 60px;
    }
}

@media screen and (max-width: 576px) {
    .navbar .navbar-brand {
        margin-right: 50px;
        margin-left: 15px;
    }
} */


.dropdown-list {
    position: fixed;
    right: 0;
    bottom: 10.8rem;
    z-index: 10; 
}

.dropdown-list .dropdown-toggle {
    display: flex; 
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    padding: 10px 6px;
    background-color: #002152;
    border: 0px;
    color: #ffffff;
    border-radius: 8px 0 0 8px; 
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.dropdown-list .dropdown-toggle:hover,
.dropdown-list .dropdown-toggle:focus {
    background-color: #084298 !important;
    color: #fff;
}

.dropdown-list .dropdown-toggle::after {
    display: none;
}

.dropdown-list .dropdown-menu {
    min-width: 0 !important;
    width: max-content !important; 
    padding: 0 !important;  
    right: 100% !important;
    left: auto !important;
    top: 0 !important;
    transform: none !important;
    margin-right: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-list .dropdown-item {
    padding: 6px 8px !important; 
    font-size: 16px !important; 
    font-weight: 600;
    display: flex;
    align-items: center;
}

.dropdown-list .dropdown-item img {
    width: 16px !important;
    margin-right: 4px; 
}

/****************** 輪播 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: cover;
    background-image: url(../images/bg.jpg);
    /* background-size: contain;  */
}

@media only screen and (max-width: 768px) {
    .gridContainer {
        width: 100%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
        /* background-size: contain; */
        background-repeat: no-repeat;
        background-image: url(../images/bg_mb.jpg);
    }

    .dropdown-list .btn-secondary {
        top: 700px;
        right: 30px;
    }
}


/*
--- 活動主版 mainArea ---*/

.mainArea {
    padding-top: 50px;
    padding-bottom: 50px;
}

.bg_white {
    /* background-image: url(../images/threecard-line.png); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.mainArea h2 {
    /* 活動主標 */
    color: #FFFFFF;
    font-size: 24pt;
    /* border-radius: 50px; */
    /* border: 1px solid #009999; */
    max-width: 300px;
    /* margin: 30px auto 15px; */
    line-height: 28pt;
    text-align: center;
}

.mainArea h2 small {
    color: #333333;
}

.title-wrap {
    position: relative;
    /* background-image: url('../images/title-bg.png'); */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    padding-bottom: 80px;
}

.title {
    position: relative;
    z-index: 1;
    text-align: center;
}

.card-wrapper {
    margin-top: -85px;
    /* 卡片往上移，壓進背景圖 */
    position: relative;
    z-index: 2;
}

.mainArea h3.title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 44px;
    font-weight: 900;
    text-align: center;
    color: #ffffff;
    letter-spacing: 4px;
    padding-top: 100px;
    line-height: 1.3;
}

.mainArea h3 {
    /* padding-top: 20px; */
    font-size: 24px;
    font-weight: 600;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #595757;
    font-size: 13pt;
    padding-top: 10px;
    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: #ffffff;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
    /* margin-right: 12px; */
    padding-top: 24px;
    text-shadow: 2px 2px 8px rgb(34 127 175);
}

.big1 {
    /* font-size: 48px; */
    font-weight: 900;
    font-family: 'Noto Sans TC', sans-serif;
}

.big2,
.no-spacing {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 900;
    font-size: 72px;
    color: #ffffff;
    letter-spacing: 0.8rem;
}

.no-spacing {
    letter-spacing: 3px;
}

.mainArea img {
    margin: 0px auto;
    margin-bottom: 8px;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding: 10px 0px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 16px;
        margin-bottom: 0;
        /* text-align: center; */
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 13pt;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .mainArea p {
        font-size: 11pt;
        text-align: center;
        line-height: 30px;
        margin-top: 0px;
        text-align: start;
    }

    .dropdown-list .btn-secondary {
        top: 500px;
        right: 30px;
    }
}


/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
    font-size: 1.5rem;
    color: #313131;
    margin-top: 35px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    background: #fff;
    border: #dcdcdc 1px solid;
    border-radius: 24px;
    padding: 80px 8px 8px;
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 93%;
}

.card-btns {
    margin-top: auto;
    margin-bottom: 20px;
}

/* 
標題區塊 */

.mainText1 .ribbon {
    position: absolute;
    top: 20px;
    left: -3.5%;
    z-index: 2;
    width: 50%;
    height: auto;
}

.mainText1 .ribbon img {
    width: 100%;
    height: auto;
}


@media screen and (max-width: 992px) {
    .mainText1 .ribbon {
        top: 26px;
        left: -2.5%;
        width: 35%;
    }
}

@media screen and (max-width: 576px) {
    .mainText1 .ribbon {
        top: 2px;
        left: -3.5%;
        width: 50%;
    }
}



.mainText-list {
    font-size: 20px;
    line-height: 2rem;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 4px;
    list-style: none;
}

.mainText1s {
    font-size: 18px;
    letter-spacing: 0px;
}

.mainText2 {
    font-size: 24px;
    color: #545559;
    margin-top: 50px;
    margin-bottom: 15px;
    line-height: 50px;
    border: 1px solid #009999;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mainText1 h2 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 1px;
    color: #222;
    margin: 0 auto 20px;
    font-weight: 600;
}

.mainText1 h3 {
    padding-top: 20px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.mainText1 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}

.mainCtn {
    display: flex;
    justify-content: center;
    /* align-items: center; */
}

.mainText1 img {
    /* margin-left: 100px; */
    width: 70%;
}


@media screen and (max-width: 768px) {
    /* .mainCtn {
        flex-wrap: wrap;
    } */

    #myBtn {
        width: 84px;
        height: 90px;
        bottom: 50px;
        right: 10px;
        z-index: 99;
        border: none;
        outline: none;
        background-image: url(../images/apply_s.png?d=20230630);
    }

    #myBtn:hover {
        background-image: url("../images/apply_a_s.png?d=20230630");
    }
}

@media screen and (max-width: 576px) {
    .mainText1 h2 {
        font-size: 36px;
    }
}

.green {
    color: #40a880;
    font-size: 1.4rem;
    padding-left: 4px;
}

.gold {
    color: #CA8314;
    font-size: 1.4rem;
    padding-left: 4px;
}

.purple {
    color: #A065AA;
    font-size: 1.4rem;
    padding-left: 4px;
}

.reward {
    color: #F50004;
    margin-right: -9px;
    margin-left: 3px;
    padding: 5px;
    /* font-size: 28px; */
    font-weight: 800;
    font-size: 2.2rem;
}

.rewardBlue {
    color: #153d7c;
}

.reward2 {
    color: #ff7e29;
    margin-right: 0px;
    margin-left: 0px;
    padding: 3px;
    font-weight: 800;
    font-size: 28px;
}

.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}

@media screen and (max-width: 1200px) {
    .mainText-list {
        font-size: 11pt;
    }
}

@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;

    }

    .mainText1 {
        font-size: 1.5rem;
        line-height: 3rem;
    }

    .reward {
        font-size: 1.8rem;
        color: #F50004;
        font-size: 1.8rem;
        margin-right: -7px;
        margin-left: 1px;
        padding: 3px;
        font-weight: 800;
    }

    .mainText1 img {
        width: 45%;
    }

    .mainText-list {
        font-size: 16pt;
        line-height: 2rem;
    }
}

@media screen and (max-width: 768px) {

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .reward2 {
        font-size: 18px;
    }

    .mainText2 h2 {
        width: 200px;
    }

    .mainText1 img {
        width: 80%;
        margin-top: 20px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

@media screen and (max-width: 576px) {
    .mainText1s {
        font-size: 20px;
    }

    .mainText1 {
        font-size: 20px;
        line-height: 2rem;
    }

    .mainText-list {
        font-size: 21px;
    }
}



/*
--- 備註文字 ---*/

.memoTable {
    font-size: 15px;
    margin-top: 30px;
}

.memoTable td {
    vertical-align: top;
}


/*
--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
    position: relative;
}

.mainArea .table th {
    background-color: #518a53;
    color: #fff;
}

.mainArea .table td {
    background-color: #fff;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 10px;
    border: 1px solid#518a53;
    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;
    }
}


/*
--- 注意事項 ---*/

.noticeDesc h4 {
    font-size: 1.3rem;
    text-align: left;
}

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;
    border-color: inherit;
    border-style: solid;
    padding: 0 5px;
}

#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 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;
}



/*-------注意事項彈出視窗--------------------*/
.modal-title {
    font-size: 30px;
    /* font-weight: 600; */
    line-height: 1.5;
    letter-spacing: 5px;
    color: #000000;
    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; */
    padding: calc(var(--bs-modal-header-padding-y)* .5) calc(var(--bs-modal-header-padding-x)* .5);
    margin: calc(var(--bs-modal-header-padding-y)* -.5) calc(var(--bs-modal-header-padding-x)* -.5) calc(var(--bs-modal-header-padding-y)* -.5) auto;
}

/* .modal-footer {
    padding: 0;
} */

@media screen and (max-width: 768px) {

    .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}

/*-------//注意事項彈出視窗--------------------*/