@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(./public/googlefont/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(./public/googlefont/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    transform: translate(0px, 6px);
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-icons.space { margin-right:5px; }
.material-icons.trans { -webkit-transform: none; -ms-transform: none; -moz-transform: translate(0,3px); }


body {font-size:16px; text-align: center; font-family: "Arial","微軟正黑體","Microsoft JhengHei", serif; }
html * { max-height: 9999999px; }
a { color:#002c45; text-decoration: none; }
a:hover { color:#f2a900; text-decoration: none; }
a.linkType1 { background-color:transparent; color:#002c45; border:1px solid #002c45; }
a.linkType1:hover { background-color:#002c45; color:#fff; }
a.linkType1.back { padding:6px 27px; border-radius:25px; }
button { border:none; background-color:transparent; }

.imgBaseBD { position: relative; width:100%; }
.imgBaseArea { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; }
.imgBaseSize-dl { padding-top:140%; }
.imgBaseSize-square { padding-top:100%; }
/* 圖片cover */
.imgCoverBox { overflow: hidden; }
.imgCoverBox .wh { height:100%; width:auto; position: absolute; top:50%; left:50%; transform: translate(-50%,-50%); }
.imgCoverBox .ww { width:100%; height:auto; position: absolute; top:50%; left:50%; transform: translate(-50%,-50%); }

/* 高度設定 */
.mh10 { height:10px; overflow: hidden; }
.mh20 { height:20px; overflow: hidden; }
.mh30 { height:30px; overflow: hidden; }
.mh40 { height:40px; overflow: hidden; }
.mh50 { height:50px; overflow: hidden; }
.mh60 { height:60px; overflow: hidden; }
.mh_main_top { height:60px; overflow:hidden; }
.mh_main_bottom { height:120px; overflow:hidden; }

.BD1 { border-bottom:1px solid #e2e2e2; }
.BD2 { border-bottom:1px solid #919191; }

/* form  */
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin:0; }

select { padding:7px 10px; width:100%; background-color:#fff; border:1px solid #9d9d9f; color:#000; }

/* select 改變按鈕圖示 */
select { -webkit-appearance: none; -moz-appearance: none; background: url("./images/arrow.png") no-repeat center center; background-size:24px; background-position:calc(100% - 5px) 50%; background-color:#fff; }
select.none { background-image:none; }

/* ie remove arrow */
select::-ms-expand { display: none; }

.check { display: inline-block; position: relative; line-height:15px; margin-top:5px; padding-left: 22px; margin-bottom: 0px; cursor: pointer; overflow:hidden; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.check input:not([type="text"]) { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; display:none; }/* Hide the browser's default checkbox */
.checkmark { position: absolute; top: 0px; left: 4px; height: 14px; width: 14px; background-color: #fff; border-radius:3px; border:1px solid #262626; }/* Create a custom checkbox */
.checkmark.square { border-radius: 3px; }
.check:hover input ~ .checkmark { background-color: #ccc; }/* On mouse-over, add a grey background color */
.check input:checked ~ .checkmark { background-color: #262626; border:1px solid #262626; }/* When the checkbox is checked, add a blue background */
.checkmark:after { content: ""; position: absolute; display: none; }/* Create the checkmark/indicator (hidden when not checked) */
.check input:checked ~ .checkmark:after { display: block; }/* Show the checkmark when checked */
.check .checkmark:after { left: 4px; top: 1px; width: 5px; height: 8px; border: solid white; border-width: 0 2px 2px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); }/* Style the checkmark/indicator */

form { text-align:left; }
form label { color:#006e3b; }
form label.check { color:#262626; }
form .form-group { margin-bottom:25px; }
form .form-control { border:1px solid #9d9d9f; border-radius: 0; height:auto; padding:7px 10px; cursor: pointer; }
form .form-control:focus { box-shadow: none; border-color:#9d9d9f; }
form .form-control.keyword { width:calc(100% - 120px); }
form .verify { display:flex; align-items:center; flex-wrap: wrap; margin:0px -15px; }
form .verify > div { margin-left:15px; margin-right:15px; }
form .verify .verifyInput { width:200px; }
form .verify .verifyImg { width:auto; height:40px; }
form .verify .change { color:#0070be; }
form button.send1 { width:200px; padding:7px 0px; background-color:#002c45; color:#dae000; border-radius:25px; }
form button.send1:hover { background-color:#f2a900; }


.header { position: relative; background-color:#fff; z-index:5; }
.header .topnav { display: flex; justify-content: space-between; align-items: center; height:100px; }
.header .topnav .logo img { height:65px; width:auto; }
.header .topnav .link a { color:#596f7f; }
.header .topnav .link a:hover { color:#f2a900; }
.header .menu .navbar { padding:0; }
.header .menu .navbar .navbar-nav { width:100%; }
.header .menu .navbar .navbar-nav > .nav-item { flex:1; font-size:1.125rem; padding-top:10px; padding-bottom:7px; border-bottom:4px solid transparent; }
.header .menu .navbar .navbar-nav > .now { border-bottom:4px solid #f2a900; }
.header .menu .navbar .subnav { display:none; }

.header .submenu { position:relative; display:none; }
.header .submenu .ii { position:absolute; top:0; left:0; width:100%; background:rgba(80,90,100, 0.8); font-size:1.125rem; color:#fff; padding-top:10px; padding-bottom:10px; }
.header .submenu .sub-item { flex:0 0 18%; }
.header .submenu a { color:#fff; }
.header .submenu a:hover { color:#ffee00; }
.header .submenu-show { display:block; }

.top { position: relative; }
.top .toptitle { position: absolute; left:0; right:0; bottom:0; background-color:rgba(0, 110, 59, 0.5); }
.top .toptitle .MainTitle { text-align:left; padding:16px 0px; }
.MainTitle { font-size:2rem; color:#fff; }

.footerBnr .weblink { background:url("./images/bg_link.jpg") no-repeat center center/cover; }
.footerBnr .weblink .list { height:240px; display: flex; justify-content: center; align-items:center; margin:0px -5px; }
.footerBnr .weblink .list > a, 
.footerBnr .weblink .list > div { width:14.285%; margin:0px 5px; }
.footerBnr .weblink .list > .empty { display:none; }
.footerBnr .weblink .list img { width:100%; }

.footer { color:#596f7f; display: flex; align-items:flex-end; justify-content: space-between; padding:30px 0px; background-color:#fff; }
.footer a { color:#596f7f; }
.footer a:hover { color:#f2a900; }
.footer .link { width:calc(100% - 400px); display: flex; align-items:flex-end; }
.footer .link .type1 a { margin-right:40px; }
.footer .link .type1 img { width:auto; height:85px; }
/* .footer .link .type2 a.mr { margin-right:25px; } */
/* .footer .link .type2 a.lr { margin-left:25px; } */

.footer .desc { width:400px; text-align: right; }
.footer .desc .txt { margin-bottom:20px; }
.footer .desc .copyright { font-size:0.875rem; }

.mask { position: fixed; width:100%; height:100vh; top:0; left:0; z-index:3; background-color:rgba(0,0,0,0.5); display: none; }

.sidebar { position: fixed; right:20px; bottom:20vh; }
.sidebar .totop { display: inline-block; padding:18px 0px; width:60px; height:60px; border-radius: 50px; background-color:#002c45; color:#dae000; }
.sidebar .totop:hover { background-color:#f2a900; }

/* modal */
.clickable { cursor: pointer; }
#searchModal .close , #loginModal .close { position: absolute; right:0px; top:-50px; color:#ffffff; text-shadow:none; opacity: 1; }
#searchModal .modal-dialog { margin:8rem auto; max-width:730px; }
#searchModal .modal-content { border-radius: 0; text-align: left; }
/* .modal .modal-body { padding:14px; } */
#searchModal .modal-body input { border:none; width:calc(100% - 40px); border-right:1px solid #c6c6c6; }
#searchModal .modal-body .fa-search { color:#504f58; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }
#searchModal .modal-body .fa-search:hover  { color:#9b98a5; }


::-webkit-input-placeholder{ color:#777777; }
/* scrollbar */
.topnb .menu *::-webkit-scrollbar{ display:none; }
.top .topmenu .subject::-webkit-scrollbar { display:none; }

.map-responsive { overflow:hidden; padding-bottom:480px; position:relative; height:0; }
.map-responsive iframe { left:0; top:0; height:100%; width:100%; position:absolute; }

.jcarousel { overflow: hidden; width: 100%; }
.jcarousel ul { width: 10000em; position: relative; list-style: none; margin: 0; padding: 0; }
.jcarousel li { float: left; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
.jcarousel li .bnr { height:350px; }
.jcarousel li img { width:100%; }
/** Carousel Controls **/
.jcarousel-control-prev,
.jcarousel-control-next { position: absolute; top: 50%; transform: translate(0,-50%); text-align: center; z-index: 0; text-decoration: none; cursor: pointer; }
.jcarousel-control-prev { left: 0px; }
.jcarousel-control-next { right: 0px; }

.text-overflow { text-overflow: ellipsis; -ms-text-overflow: ellipsis; overflow:hidden; white-space: nowrap; }

.main { background-color:#edf2f7; text-align:left; }

@media (max-width:1199.98px){
    .footer .link .type1 a { margin:0px 20px; }
    /* .footer .link .type2 a.mr { margin-right:20px; } */
    /* .footer .link .type2 a.lr { margin-left:20px; } */

    form .verify .verifyInput  { width:150px; }
}

@media (max-width:991.98px){
    .header .topnav { height:60px; }
    .header .container-lg { padding:0; }
    .header .topnav .logo { margin-left:15px; }
    .header .topnav .logo img { height:50px; }
    .header .topnav .link a { height:60px; padding-top:13px; padding-bottom:13px; }
    .header .topnav .link #menuBtn { padding-left:18px; padding-right:18px; }
    .header .topnav .link #menuBtn.active { background-color:#002c45; color:#fff; }
    
    .header .menu .navbar .navbar-nav > .nav-item { border-bottom:0px none; }
    .header .menu .navbar .navbar-nav > .now { border-bottom:0px none; }
    .header .menu .navbar .subnav { display:block; }
    .header .menu .navbar .subnav ul { margin:10px 0 0 1.5rem; padding:0; list-style-type:disc; }
    .header .menu .navbar .subnav ul li { margin-top:10px; }
    .header .submenu-show { display:none; }

    .header .menu #navbarMenu { text-align:left; position: absolute; top:-60px; left:0; bottom:0; height:100vh; transition: ease .2s all; background-color:#fff; width:calc(100% - 60px); }
    .header .menu .navbar .navbar-nav > .nav-item { padding:14px 15px; }

    .footerBnr .weblink .list { flex-wrap: wrap; justify-content: flex-start; }
    .footerBnr .weblink .list > a, 
    .footerBnr .weblink .list > div { width:23%; }

    .footer { flex-direction: column; align-items:center; }
    .footer .link { width:100%; justify-content: center; }
    .footer .desc { width:100%; text-align:center; margin-top:30px; }

    .sidebar .totop { width:40px; height:40px; padding:8px 0px; }
}

@media (max-width:767.98px){
    .MainTitle { font-size:1.5rem; }

    .header .topnav .logo { margin-left:5px; }
    .header .topnav .logo img { height:30px; }

    .footerBnr .weblink { background:url("./images/bg_link_m.jpg")no-repeat center center/cover; }
    .footerBnr .weblink .list { height:320px; }
    .footerBnr .weblink .list > a, 
    .footerBnr .weblink .list > div { width:calc(33% - 10px); }

    .footer .link { flex-direction: column; align-items:center; }
    .footer .link .type2 { margin-top:30px; }

    form .verify .verifyInput  { width:100%; }

    .map-responsive { padding-bottom:300px; }

    .jcarousel li .bnr { height:450px; }
}

@media ( max-width:575.98px ){}

@media ( min-width:576px ){}

@media ( min-width:768px ){}

@media ( min-width:992px ){
    .header .topnav .link a:nth-child(2) { margin-left:35px; }
}

@media ( min-width:1200px ){
    .bottombar { display: none; }
}

@media (max-width:450px){
    .footerBnr .weblink .list { height:460px; }
    .footerBnr .weblink .list > a, 
    .footerBnr .weblink .list > div { width:calc(50% - 10px); }
    .footerBnr .weblink .list > .empty { display: block; }
}