@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;
}


hr {
    border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #009999;
    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;
}

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

/*
--- 按鈕 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: 1px solid transparent !important;
    display: inline-block;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

/****************** 導覽列 navbar ******************/
 /* 版面配置 Start */
 .header {
    height: 20px;
}

/* 聯邦LOGO Start */
.navbar-brand {
    padding-right: 0;
}

.navbar {
    padding: 0;
}

.navbar .navbar-brand {
    margin-right: 0px;
    margin-left: 20px;
    width: 180px;
    height: 60px;
    background: url(../../../img/form/UBOT_logo_180x26.png) no-repeat 0 50%;
}

/*
--- 導覽列下拉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;
}


/****************** 輪播 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;}
}

/*
--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
}

.memoTable td {
    vertical-align: top;
}


/*
--- 活動表格 ---*/
.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.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;
    }
}


/*
--- 注意事項 ---*/
.noticeDesc h4 {
    font-size: 1.3rem;
}

.noticeDesc ul.list-style {
    margin-bottom: .2rem;
    padding: 0 0 0 20px;
}

.noticeDesc ul li {
    word-break: break-all;
}

.red_text {
    color: #b51d28;
}

/*
--- 版權宣告footer ---*/
footer {
    width: 100%;
    background-color: #f4f4f4;
}

#footer {
    background-color: #eeeeee;
}

.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;
    }
}

/*----------------------------主視覺----------------------------------*/
/*X-Small devices（直向手機，小於 576px）*/
.shortKv {
    height: 180px;
}

.fill-shortKv {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
}

/*Small devices （橫向手機，576px 及以上）*/
/* @media screen and (min-width: 576px) {} */

/*Medium devices (平板電腦，768px 及以上）*/
@media screen and (min-width: 768px) {
    .shortKv {
        height: 225px;
    }
}
/*Large devices （桌機，992px 及以上）*/
@media screen and (min-width: 992px) {
    .shortKv {height: 250px;}
}
/*X-Large devices （大型桌機，1200 像素及以上）*/
@media screen and (min-width: 1200px) {
    .shortKv {height: 300px;}
}
/*XX-Large devices（更大的桌機，1400 像素及以上）*/
@media screen and (min-width: 1400px) {
    /* ... */
}
/*--線上e查詢--*/
.topimg-quickSearch {
    background-image: url(../images/quickSearch.jpg);
}
@media screen and (max-width: 576px) {
    .topimg-quickSearch {
        background-image: url(../images/quickSearch_m.jpg);
    }
}
/*----------------------------頁面主標題----------------------------------*/
.fill-shortKv .container-xl {
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*--shortKv-title-5標題總共5個字--*/
.fill-shortKv .shortKv-title-5 h2 {
    width: 145px;
    text-align: center;
    margin-left: 1%;
    /* margin: 0 auto; */
    font-size: 30px;
}
.fill-shortKv .shortKv-title-5 h2:after {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    background-color: #0ea9a1;
    margin: 3px auto 0px;
}
@media screen and (min-width: 576px) {
    .fill-shortKv .shortKv-title-5 h2 {
        margin-left: 8%;
    }
}
@media screen and (min-width: 768px) {
    .fill-shortKv .shortKv-title-5 h2 {
        width: 165px;
        font-size: 36px;
    }
}
@media screen and (min-width: 992px) {
    .fill-shortKv .shortKv-title-5 h2 {
        width: 200px;
        margin-left: 10%;
        font-size: 40px;
    }
}
.title-link {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}
.title-link a {
    line-height: 2;
    padding-bottom: 5px;
    position: relative;
    text-indent: -30px;

    background:
    linear-gradient(
      to right,
      rgba(0, 100, 100,1),
      rgba(0, 100, 100,1)      
    ),
    linear-gradient(
      to right,
      rgba(100, 200, 200, 1),
      rgba(100, 200, 200, 1)
  );
  background-size: 100% 2px, 0 2px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}
.title-link a:hover {
    background-size: 0 2px, 100% 2px;
}
@media only screen and (max-width: 768px) {
    .title-link  {font-size: 18px;}
}


/*----------------------------//頁面主標題----------------------------------*/
/* section */
section {
    position: relative;
}

.title h2 {
    text-align: center;
    color: #009999;
    font-size: 30px;
    text-align: center;
    line-height: 1.8;
    font-weight: bold;
}

/* listNav */
.listNav {
    padding: 0.5em 0;
    font-size: 1.25rem;
    text-align: center;
    background: linear-gradient(90deg, #fff 0%, #eaf3f4 50%, #fff 100%);
}

@media only screen and (max-width: 768px) {
    .listNav  {
        font-size: 1rem;
    }
}

.listNav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.listNav .link {
    width: 33.3333333333%;
}

.listNav .link a {
    display: block;
    color: #006464;
    background-color: #FFFFFF;
    padding: 5px 8px;
    margin: 5px;
    border: 1px solid #009999;
    max-width: 300px;
}

@media screen and (max-width: 587px) {
    .listNav .link a {
        margin: 5px 3px;
        padding: 5px 2px;
    }
}

.listNav .link a:hover {
    color: #FFFFFF;
    background-color: #006464;
}

/* listBox */
.listBox {
    padding: 2em 0;
}

.listBox .row {
    align-items: stretch;
}

.listBox .list-item {
    background-color: #FFFFFF;
    padding: 1.5em 0;
    margin-bottom: 1.5rem;
    font-size: 18px;
    min-height: 240px;
    border: 1px solid #ccc;
    border-top: 5px solid #88c8cd;
    box-shadow: 5px 5px 0 #e1e1e1;
    overflow: hidden;
}

.listBox .item-1 {
    background: url(../images/bg-item-1.png) no-repeat, #FFFFFF;
    background-position: bottom -30px right -30px;
}

.listBox .item-2 {
    background: url(../images/bg-item-2.png) no-repeat, #FFFFFF;
    background-position: bottom -47px right -30px;
}

.listBox .item-3 {
    background: url(../images/bg-item-3.png) no-repeat, #FFFFFF;
    background-position: bottom -30px right -30px;
}

.listBox .item-4 {
    background: url(../images/bg-item-4.png) no-repeat, #FFFFFF;
    background-position: bottom -30px right -30px;
}

.listBox .item-5 {
    background: url(../images/bg-item-5.png) no-repeat, #FFFFFF;
    background-position: bottom -30px right -30px;
}

.listBox .item-6 {
    background: url(../images/bg-item-6.png) no-repeat, #FFFFFF;
    background-position: bottom -30px right -40px;
}

.listBox .item-7 {
    background: url(../images/bg-item-7.png) no-repeat, #FFFFFF;
    background-position: bottom -30px right -30px;
}

.listBox .item-8 {
    background: url(../images/bg-item-8.png) no-repeat, #FFFFFF;
    background-position: bottom -40px right -20px;
}

.listBox .item-9 {
    background: url(../images/bg-item-9.png) no-repeat, #FFFFFF;
    background-position: bottom -27px right -40px;
}

@media screen and (max-width: 991px) {
    .listBox .list-item {
        padding: 1.25em 0;
        background-size: 50%;
    }

    .listBox .item-1 {
        background-position: bottom -10px right -10px;
    }

    .listBox .item-2 {
        background-position: bottom -20px right -10px;
    }

    .listBox .item-3 {
        background-position: bottom -10px right -10px;
    }

    .listBox .item-4 {
        background-position: bottom -10px right -10px;
    }

    .listBox .item-5 {
        background-position: bottom -10px right -10px;
    }

    .listBox .item-6 {
        background-position: bottom -10px right -15px;
    }

    .listBox .item-7 {
        background-position: bottom -10px right -10px;
    }

    .listBox .item-8 {
        background-position: bottom -20px right -10px;
    }

    .listBox .item-9 {
        background-position: bottom -10px right -15px;
    }
}

@media screen and (max-width: 768px) {
    .listBox {
        padding: 1.5em 0;
    }

    .listBox .list-item {
        min-height: auto;
        background-size: 30%;
    }
}

.item-link {
    padding-left: 27px;
}

@media screen and (max-width: 991px) {
    .item-link {
        padding-left: 22px;
    }
}

.item-link a {
    line-height: 2;
    padding-bottom: 5px;
    position: relative;
    text-indent: -17px;
}

.item-link a::before {
    content: "▸";
    color: #7e7e7e;
    display: inline-block;
    transform: translateX(0px);
    opacity: 0;
    transition: 0.3s;
}

.item-link a::after {
    content: "";
    position: absolute;
    background: #006464;
    height: 1px;
    width: 0%;
    left: 0;
    bottom: 0;
    transition: 0.5s;
}

.item-link a:hover::before {
    transform: translateX(-3px);
    opacity: 1;
}

.item-link a:hover::after {
    width: 100%;
}

#CusSer {
    position: fixed;
    width: 90px;
    height: 90px;
    bottom: 50px;
    right: 10px;
    z-index: 99;
}
.CusSer a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.CusSer a:hover{
    transform: scale(1.1);
    transition: 0.5s;
}

/* 跳轉提醒modal樣式*/
.modal-dialog .modal-content {

    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}

.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

.modal .modal-content .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 3em;
    height: 3em;
    float: right;
    background-position: center;
}
