/*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 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: 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;}
    a:hover {background: none; color: #ff8727; text-decoration: none;}

    /*form*/
    select, textarea {
        width: 100%;
        background: #fff;
        border: 1px solid #6d6d6d;
        color: #6d6d6d;
        padding: .2rem .5rem
    }
    input{
        width: 100%;
        background: none;
        border:none;
        border-bottom:1px solid #fff;
        color: #fff;
        padding: .2rem .5rem
    }
    select {padding-bottom: .75rem}
    select:hover, textarea:hover {
        border: 1px solid #e4e4e4;
        outline: none
    }
    input:hover {
        border-bottom:1px solid #ff3a1e;
        outline: none
    }
    select:focus, textarea:focus {
        border: 1px solid #ff3a1e;
        outline: none
    }
     input:focus{
        border-bottom: 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: .25rem 1rem
    }
    button:hover {
        background: #ff3a1e;
        border-color: #ff3a1e;
        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;}
    
/*header*/
    header {
        background: rgba(0, 0, 0, 0.8);
        padding-left: 1rem;
        padding-right: 1rem;
        z-index: 9999;
    }
    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }
    a.navbar-brand>img{width: 10vw}

    /*主選單設定*/
    .bg-light {background: none !important; padding:0;}

    .navbar-light .navbar-nav .nav-link {
        color: #fff;
        text-align: center;
        line-height: 0.8rem;
        margin-bottom: 0;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .navbar-light .navbar-nav .nav-link p {
        font-size: 1.275rem;
        margin-bottom: 0;
    }
    .navbar-light .navbar-nav .nav-link span {
        font-size: .85rem;
    }

    /*主選單設定滑鼠滑過效果*/
    .navbar-light .navbar-nav .nav-link:focus,
    .navbar-light .navbar-nav .nav-link:hover {
      color: #fff;
      background: #0866a9;
      border-radius:5px;
      padding:.7rem 1.25rem;
    }
    .navbar-light .navbar-nav .nav-link[active] {
      color: #fff;
      background: #0866a9;
      border-radius:5px;
      padding:.7rem 1.25rem;
    }

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

    [class*=js-] {cursor: pointer;}
    .navbar-light button.navbar-toggler {border: #fff 1px solid !important}
    .navbar-light button.navbar-toggler:hover {background: none; border-color: #fff !important}
    .navbar-light button.navbar-toggler>i {color: #fff}
    .navbar-light button.navbar-toggler>i::before,
    .navbar-light button.navbar-toggler>i::after {margin: 0}
    .navbar-light button.navbar-toggler:hover>i {color: #fff}
    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.9);
        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: 2rem;
    }

/*footer*/
    footer {background: #036eb7;}
    /*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: #fff;
        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";
        padding-left: .15rem;
        padding-right: .15rem;
    }

    /*fNav*/
    footer {
       background: #0866a9;
    }

    section.copyright {
        background: #0866a9;
        color: #fff;
        text-align: center;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }


/*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}}