/*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: url(../images/BG.jpg) no-repeat top;
        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 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, h1, h2, h3, h4, p, input, i, span, figure, figcaption {
        -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: 1.7rem}
    h2 {font-size: 1.5rem}
    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;}
    a:hover {ackground: none; color: #0a3f99; text-decoration: none;}

    /*form*/
    input, select, textarea {
        width: 100%;
        background: #fff;
        border: 1px solid #6d6d6d;
        color: #6d6d6d;
        padding: .2rem .5rem
    }
    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 {color: #afafaf;}
    textarea {resize:none}
    input[type="checkbox"], input[type="radio"] {width: auto !important}

    button {
        border-radius:0.2rem;
        background: #fff;
        border: 1px solid #333;
        border-radius: .2rem;
        font-weight: 400;
        color: #333;
        padding: .4rem 1rem
    }
    button:hover {
        background: #ff3a1e;
        border-color: #ff3a1e;
        color: #fff;
    }
    button.red{background: #f91717;border-color: #f91717;color: #fff;}
    button.red:hover{background: #ce0b0b;border-color: #ce0b0b;color: #fff;}
    button.orange{ background: #ff7224;border-color: #ff7224;color: #fff;}
    button.orange:hover{ background: #cc5215;border-color: #cc5215;color: #fff;}
    button.gray{ background: #8e8e8e;border-color: #8e8e8e;color: #fff;}
    button.gray:hover{ background: #353535;border-color: #353535;color: #fff;}

    button[type="submit"], button.addCart {border-radius:0.2rem;background: #ff321d; border-color: #ff321d; color: #fff}
    button[type="submit"]:hover, button.addCart:hover {background: #c61806; border-color: #c61806;}
    button[type="reset"] {border-radius:0.2rem;background: #818181; border-color: #818181; color: #fff;}
    button[type="reset"]:hover {background: #666; border-color: #666;}
    button.addCart{padding: 0.2rem 0.2rem}

    div.more, div.backList {text-align: center;}
    div.more>a, div.backList>a {
        border-radius:0.5rem;
        background: none;
        border: 1px solid #333333;
        color: #333333;
        padding: .3rem 1rem;
    }
    div.more>a:hover, div.backList>a:hover {
        background: #ff3a1e;
        border: 1px solid #ff3a1e;
        color: #fff;
    }
   

/*header*/
    header {
        padding-left: 1rem;
        padding-right: 1rem;
        z-index: 9999;
    }

    /*主選單設定*/
    .bg-light {background: none !important; padding:0;}
    .navbar-light .navbar-nav .nav-link {
        color: #000;
        text-align: center;
        line-height: 0.8rem;
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
    header ul.navbar-nav>li.nav-item>a{
        border-right: 1px dashed #ccc;
    }
    header ul.navbar-nav>li.nav-item:last-of-type>a{
        border-right: none
    }
   

    .navbar-light .navbar-nav .nav-link p {
        font-size: 1.275rem;
        margin-bottom: 0;
    }
    .navbar-light .navbar-nav .nav-link span {
        font-size: .85rem;
        color: #6d6d6d;
    }

    /*主選單設定滑鼠滑過效果*/
    .navbar-light .navbar-nav .nav-link:focus,
    .navbar-light .navbar-nav .nav-link:hover {
        color: #064795;
    }

/*moblie nav*/
    [canvas=container], [off-canvas] {}

    [class*=js-] {cursor: pointer;}
    .navbar-light button.navbar-toggler {border: #000 1px solid !important}
    .navbar-light button.navbar-toggler:hover {background: none; border-color: #000 !important}
    .navbar-light button.navbar-toggler>i {color: #000}
    .navbar-light button.navbar-toggler>i::before,
    .navbar-light button.navbar-toggler>i::after {margin: 0}
    .navbar-light button.navbar-toggler:hover>i {color: #000}
    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, 0, 0, 0.95);
        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:last-of-type{border-bottom: none}
    dl.slidebarNav>dd>a {
        font-weight: 300;
        color: #fff;
        line-height: 1.15rem;
    }
    dl.slidebarNav>dd>a>p {
        font-size: 1.7rem;
    }
    dl.slidebarNav>dd>a>p>span {
        font-size: 1.1rem;
    }

/*footer*/
    footer {background: #1e1e1e;}
    .Flogo img{width: 16vw}
    /*addInf icon*/
    dl.com-info,
    dl.com-info>dd:last-of-type {margin-bottom: 0;}
    dl.com-info>dd {color:#fff}
    dl.com-info>dd::before {
        color: #ff3a1e;
        font-weight: 900;
        margin-right: .5rem;
    }
    dl.com-info>dd:nth-of-type(1)::before {
        content: "\f095";
    }
    dl.com-info>dd:nth-of-type(2)::before {
        content: "\f1ac";
    }
    dl.com-info>dd:nth-of-type(3)::before {
        content: "\f0e0";
    }
    dl.com-info>dd:nth-of-type(4)::before {
        content: "\f3c5";
    }
    div.QRcode img{width: 120px;}
    div.QRcode p{color:#fff;text-align: center}

    /*fNav*/
    section.fNav{background: #fff}
    dl.fNav>dd {
        border-right: 1px solid #333;
        text-align: center;}
    dl.fNav>dd:last-of-type {
        border-right:none;
        }
    section.copyright{
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#eaeaea+0,c8c5c4+100 */
        background: #eaeaea; /* Old browsers */
        background: -moz-linear-gradient(top,  #eaeaea 0%, #c8c5c4 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #eaeaea 0%,#c8c5c4 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #eaeaea 0%,#c8c5c4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#c8c5c4',GradientType=0 ); /* IE6-9 */
        text-align: center;
    }

 


/*goTOP use only*/
    .cd-top {
        width: 2rem;
        height: 2rem;
        background: url(../images/layout/cd-top-arrow.svg) no-repeat center 50% #7c7c7c;
        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% #ff3a1e; 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}}