/*google web fonts*/
/* noto 繁 簡 日, 黑體 宋體 */ @import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900|Noto+Sans+SC:100,300,400,500,700,900|Noto+Sans+TC:100,300,400,500,700,900|Noto+Serif+JP:200,300,400,500,600,700,900|Noto+Serif+SC:200,300,400,500,600,700,900|Noto+Serif+TC:200,300,400,500,600,700,900');
/* Raleway */ @import url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900');
/* Roboto */ @import url('https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900');
/*全域控制*/
    html {min-height: 100%; font-size: 93.75%} /*16px x 93.75% = 15px 網站字型大小預設值*/
    body {
        height: 100%;
        background: #fff;
        font-family:
            'Roboto',
            'Noto Sans TC',
            'Noto Serif TC',
            'Noto Sans SC',
            'Noto Serif SC',
            'Noto Sans JP',
            'Noto Serif JP',
            'Font Awesome\ 5 Brands',
            'Font Awesome\ 5 Free',
            'Font Awesome\ 5 Pro',
            sans-serif;
        font-size: 1rem;
        font-weight: 400;
        color: #202020;
    }
    div.googlebox {
        position: absolute;
        right: calc( 50% - 260px );
        z-index: 10;
        top: 12px;
    }
    .goog-te-gadget img{
        height: 30px !important;
        max-width: 30px !important;
        width: auto !important;
    }
    * {
        /*使用邊框不影響 div or table 本身寬度設定*/
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        box-sizing:border-box
    }
    *[onclick], button {cursor: pointer}

    div.clearfix {clear: both}

    .displayNone {display: none !important}

    /*漸變效果時間*/
    a, button, li, dt, dd, p,  input, i {
        -webkit-transition: all 0.30s ease-in-out;
        -moz-transition: all 0.30s ease-in-out;
        -ms-transition: all 0.30s ease-in-out;
        -o-transition: all 0.30s ease-in-out;
        outline: none
    }

    /*images rwd*/
    img {
        width: 100%;
        max-width: 100%;
        height: auto!important;
        border: none
    }

    /*font awesome icon*/
    i::before, i::after {margin-right: .5rem; margin-left: .5rem}

    /*fonts*/
    h1 {font-size: 2rem}
    h2 {font-size: 1.75rem}
    h3 {font-size: 1.3rem}
    h4 {font-size: 1.15rem}
    p, li {font-size: 1rem}
    li {list-style: none}

    /*link color*/
    a:link, a:visited {color: #221e1f; text-decoration: none; padding: 1px}
    a:hover {background: none; color: #0069aa; text-decoration: none}

    /*form*/
    input, select, textarea {
        width: 100%;
        background: #fff;
        border: 1px solid #221e1f;
        color: #221e1f;
        padding: .5rem .75rem
    }
    select {padding-bottom: .75rem}
    input:hover, select:hover, textarea:hover {
        border: 1px solid #e4e4e4;
        outline: none
    }
    input:focus, select:focus, textarea:focus {
        border: 1px solid #ff3a1e;
        outline: none
    }
    input::placeholder, textarea::placeholder {font-weight: 300; color: #afafaf}
    textarea {resize:none}
    input[type="checkbox"], input[type="radio"] {width: auto !important}

    button {
        background: #fff;
        border: 1px solid #333;
        border-radius: .5rem;
        font-weight: 400;
        color: #333;
        padding: .25rem 1.5rem
    }
    button:hover {
        background: #ff3a1e;
        border-color: #ff3a1e;
        color: #fff
    }
    button[type="submit"], button.addCart {background: #ff3a1e; border-color: #ff3a1e; color: #fff}
    button[type="submit"]:hover, button.addCart:hover {background: #c12913; border-color: #c12913}

/*header*/
    div.language>span {
        margin-left: .5rem;
        margin-right: .5rem;
    }

    /*選單設定*/

    .nav-item .nav-link p { margin-bottom: 0}
    .navbar-light .navbar-nav .nav-link {
        border-bottom: 2px solid rgba(255, 58, 30, 0);
        font-size: 1rem;
        color: #000;
        text-align: center;
        line-height: 1rem;
        padding: .75rem 1rem;
    }
   .nav-link p{font-size: 1rem}

    p.navIcon {
        font-size: 1.25rem;
        letter-spacing: 0;
        margin-bottom: 0rem;
    }
    p.navIcon i::before {margin-right: 0; margin-left: 0;}
    .bg-light {
    background-color: #fff !important;}

    .navbar-light .navbar-nav .nav-item:nth-last-of-type(2) .nav-link p.navIcon {
        width: 2.25rem;
        height: 2.25rem;
        background: #ff4848;
        border-radius: 50%;
    }
    .navbar-light .navbar-nav .nav-item:nth-last-of-type(1) .nav-link p.navIcon {
        width: 2.25rem;
        height: 2.25rem;
        background: #ff7f29;
        border-radius: 50%;
    }
    .navbar-light .navbar-nav .nav-link p.navIcon,
    .navbar-light .navbar-nav .nav-link p.navIcon span {color: #fff;}
    .navbar-light .navbar-nav .nav-item:nth-last-of-type(1) .nav-link span {color: #ff7f29}

    /*選單設定滑鼠滑過效果*/
    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {border-bottom: 2px solid #0069aa; color: #0069aa}

    /*dropdown hover display*/
    .dropdown:hover>.dropdown-menu {display: block;}
    .dropdown-toggle::after {
        content: "\f0d7";
        border: none;
        font-weight: 900;
        vertical-align: inherit;
        margin-left: auto;
    }
    /*dropdown nav*/
    .dropdown-menu {background: rgba(0, 105, 170, 0.975);}
    .dropdown-menu {min-width: 7rem !important;}
    .dropdown-menu .dropdown-item {
        color: #fff;
        padding: 1rem;
    }
    .dropdown-menu .dropdown-item:hover {background: #012c42}

/*moblie nav*/
    .navbar-light button.navbar-toggler {border: #0069aa 1px solid !important}
    .navbar-light button.navbar-toggler:hover {background: none; border-color: #221e1f !important}
    .navbar-light button.navbar-toggler>i {color: #0069aa}
    .navbar-light button.navbar-toggler>i::before,
    .navbar-light button.navbar-toggler>i::after {margin: 0}
    .navbar-light button.navbar-toggler:hover>i {color: #221e1f}
    div.closeBtn {text-align: right; margin-bottom: 1.25rem;}
    div.closeBtn>button {background: none; border: none; color: #fff}

    /*行動裝置主選單背景*/
    div.slidebars {
        width: 100vw;
        background: rgba(0, 105, 170, 0.975);
        padding: 1rem;
    }
    /*行動裝置主選單*/
    dl.slidebarNav {text-align: center; margin-bottom: 0}
    dl.slidebarNav>dd {
        border-bottom: #fff 1px solid;
        margin-bottom: 2rem;
        padding-bottom: 2rem
    }
    dl.slidebarNav>dd:nth-last-of-type(1){border-bottom:none}
    dl.slidebarNav>dd>a {
        font-size: 1.5rem;
        font-weight: 300;
        color: #fff;
        line-height: 1.15rem;
    }

/*footer*/
    footer {background:#0069aa}

    dl.tna_info, dl.tna_info>dd, dl.tna_info>dd>p,
    dl.supported, dl.supported>dd {font-weight: 500; margin-bottom: 0;}
    dl.tna_info>dt {font-weight: 700; margin-bottom: .75rem;}
    dl.fNav a{color:#fff}
    dl.addInfo dd{color:#fff}
    dl.tna_info>dd>p:last-of-type::after {content: none}
    .FOOTER{ border-bottom:1px #fff solid;}

    section.copyright {
        font-size: .85rem;
        font-weight: 500;
        color: #fff;
        text-align: center;
        margin-top: .7rem;
    }

/*goTOP use only*/
    .cd-top {
        width: 2rem;
        height: 2rem;
        background: url(../images/layout/cd-top-arrow.svg) no-repeat center 50% #221e1f;
        border-radius: .5rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        text-indent: 100%;
        white-space: nowrap;
        visibility: hidden;
        display: inline-block;
        position: fixed;
        bottom: 40px;
        right: 10px;
        z-index: 9999;
        /* image replacement properties */
        overflow: hidden;
        opacity: 0;
        -webkit-transition: opacity .3s 0s, visibility 0s .3s;
        -moz-transition: opacity .3s 0s, visibility 0s .3s;
        transition: opacity .3s 0s, visibility 0s .3s;
    }
    .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s;
        -moz-transition: opacity .3s 0s, visibility 0s 0s;
        transition: opacity .3s 0s, visibility 0s 0s
    }
    .cd-top.cd-is-visible {visibility: visible; opacity: .75}
    /* the button becomes visible */
    /* .cd-top.cd-fade-out {opacity: .25} */
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    .cd-top:hover {background: url(../images/layout/cd-top-arrow.svg) no-repeat center 50% #9b9b9b; opacity: 1} /*改變按鈕顏色*/
    @media only screen and (min-width: 1024px) {.cd-top {right: 30px; bottom: 30px}}
    @media only screen and (min-width: 768px) {.cd-top {right: 1.5rem; bottom: 6.5rem}}



/*news*/
    dl.List {margin-bottom: 0;}
    dl.List>dd {border-bottom: 1px dashed #ddd; margin-bottom: 1.25rem; padding-bottom: 1.25rem;}
    dl.List>dd:last-of-type {border-bottom: none;}
    dl.List>dd>a {
        /*單行文字限制*/
        overflow:hidden;
        text-overflow : ellipsis;
        white-space : nowrap;
    }
    dl.List>dd>span {color: #0069aa; margin-right: .5rem;}