body{
    font-family: Microsoft JhengHei,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

a{
    text-decoration: none !important;
}

button{
    outline: none !important;
}

.section-block {
    width: 1020px;
    max-width: 100%;
    display: inline-block;
}

.section-block .row{
    justify-content: center;
}

/* div,span,a,span,button{ */
    /* font-weight: 400; */
/* } */

/* 導覽列 */
.logo-img{
    width: 230px;
}

.navbar{
    background: #ffffff;
    width: 100%;
    border-bottom: 1px solid #eeeeee;
    padding: .75rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: 0.4s all;
}

.navbar > .container-fluid{
    width: 1250px;
}

.navbar ul{
    margin: 0;
    margin-left: auto;
}

.navbar .list-inline-item:not(:last-child){
    margin-right: 2.5rem;
}

.navbar .list-inline-item a{
    cursor: pointer;
}

.navbar .list-inline li a{
    font-size: 18px;
    color: #555555;
    /* font-weight: 600; */
}

.search-block{
    border: 1px solid #979797;
    border-radius: 40px;
}

.search-form{
    position: relative;
    text-align: left;
    width: 100%;
}

.search-block input{
    border: 0;
    margin: 3px 0 3px 12px;
    width: calc(100% - 55px);
    outline: none;
}

.search-block button{
    background: none;
    padding: 2px;
    border: 0;
    position: absolute;
    top: 0px;
    right: 10px;
}

.search-block img{
    width: 25px;
}

.nav-right{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-left: 40px;
}

#nav-product{
    padding: 10px 0 30px;
}

#nav-product img{
    margin-top: -2px;
}

#cart,.signin{
    cursor: pointer;
    width: 31px;
    margin-left:15px
}

.cart-block{
    position: relative;
}

.cart-num-img{
    display: flex;
    background: url('../images/oval.svg');
    background-position: center;
    background-size: cover;
    width: 23px;
    height: 23px;
    font-size: 12px;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -9px;
    right: -6px;
    cursor: pointer;
}

.nav-product-category{
    text-align: center;
    padding-bottom: 25px;
    position: absolute;
    width: 100%;
    top: 75%;
    left: 0;
    z-index: 2;
    visibility:hidden;
    opacity: 0;
    transition: 0.3s all;
}

.nav-product-category-active{
    visibility:visible;
    opacity: 1;
}

.nav-product-category-list{
    background: #ffffff;
    text-align: center;
    display: inline-block;
    max-width: 1015px;
    padding: 15px 15px 0px;
    margin-top: 28px;
    box-shadow: 2px 6px 13px rgb(0 0 0 / 30%);
    border-radius: 8px;
}

.nav-product-category-list ul{
    display: inline-block;
}

.nav-product-category a{
    font-size: 17px !important;
    position: relative;
}

.nav-product-category .list-inline-item{
    width: 120px;
    position: relative;
    margin: 0 0 9px 0 !important;
    padding: 0 15px;
    float: left;
}

.nav-product-category .list-inline-item::after{
    content: '';
    position: absolute;
    width: 0.1rem;
    height: 19px;
    background: #009ade;
    right: 0;
    top: 3px;
}

.nav-product-category .list-inline-item:last-child::after{
    width: 0;
}

 /* 右側導覽列 */
 .navbar-r{
    position: fixed;
    top: 160px;
    right: 30px;
    z-index: 998;
}

.navbar-r img{
    width: 70px;
}

.nav-right-mb{
    display: none;
}

/* 展開導覽列 */
#menu{
    cursor: pointer;
    width: 30px;
    display: none;
}

.nav-mb{
    background: #ffffff;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 0 25px;
    overflow-y: auto;
    visibility:hidden;
    opacity: 0;
    transition: 0.3s all;
}

.nav-mb-show{
    visibility:visible;
    opacity: 1;
}

.nav-mb ul{
    list-style: none;
    margin: 0;
    padding: 0 0 15px;
    text-align: center;
}

.nav-mb a,.nav-mb span{
    cursor: pointer;
    color: #555555;
    /* font-weight: 600; */
    font-size: 15px;
    display: inline-block;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
    position: relative;
}

.nav-mb .rectangle{
    position: absolute;
    top: 25px;
    right: 15px;
}

.nav-product-mb{
    margin-top: 10px !important;
    padding: 0 !important;
}

.nav-product-mb a{
    border: 0;
    padding: 4px 0;
    margin: 5px 0 0;
}

.nav-mb-search{
    cursor: default !important;
    padding-left: 10px !important;
}

.nav-mb .search-block{
    display: block;
    width: calc(100% - 50px);
    float: right;
}

#nav-mb-close{
    position: absolute;
    top: 14px;
    left: 0;
    cursor: pointer;
}

@media (max-width: 350px){
    .nav-right-mb .cart-block {
        display: none;
    }

    .logo-href{
        margin-left: auto;
    }

}

.nav-mb  .cart-num-img{
    right: 11px;
    top: 16px;
}


@media (max-width: 1190px){
    .nav-product-category-list{
        max-width: 890px;
    }
}

@media (min-width: 993px) and (max-width: 1190px){
    .navbar>.container, .navbar>.container-fluid{
        padding: 0;
    }
    .navbar .list-inline li a {
        font-size: 19px;
    }
    .navbar .list-inline-item:not(:last-child) {
        margin-right: 1.5rem;
    }
    .nav-right {
        margin-left: 15px;
    }
    #cart, .signin{
        margin-left: 11px;
    }
    .block-item {
        flex: 0 0 300px;
    }
}

@media (max-width: 993px){
    .nav-product-category{
        top: 90%;
    }
    .navbar ul{
        width: 100%;
        text-align: center;
        margin-top: 5px;
        order: 1;
    }
    
    .nav-product-category-list{
        max-width: 655px;
        margin-top: 18px;
    }
}

@media (max-width: 710px){
    .navbar>.container, .navbar>.container-fluid{
        padding: 0;
    }
    .logo-img {
        width: 215px;
    }
    .navbar .list-inline li a {
        font-size: 18px;
    }
    .navbar .list-inline-item:not(:last-child) {
        margin-right: 2rem;
    }
    .nav-right {
        margin-left: 5px;
    }
    .search-block{
        width: 140px;
    }

    .nav-product-category-list{
        max-width: 425px;
    }
}

@media (max-width: 650px){
    .navbar-r {
        right: 5px;
        top: unset;
        bottom: 25px;
    }
    .navbar-r img {
        width: 60px;
    }
}

@media (max-width: 500px){
    .navbar ul,.nav-product-category-list,.nav-right {
        display: none;
    }

    .nav-right-mb{
        display: block;
    }

    .logo-img {
        width: 165px;
    }

    #cart{
        margin-left: 10px;
        width: 25px;
    }

    .signin{
        margin-left: 0;
        width: 25px;
    }

    .cart-num-img{
        top: -6px;
        right: -7px;
        width: 18px;
        height: 18px;
    }

    #menu{
        display: block;
    }
}

    @media (max-width: 960px){
        .section-block{
            width: 650px;
        }
    }

    @media (max-width: 680px){
        .section-block {
            width: 500px;
        }
    }

    /* 頁尾 */
    footer{
        background: #003764;
        color: #ffffff;
        padding: 40px 15px 25px;
        text-align: center;
        letter-spacing: 1px;
    }

    footer .section-block{
        width: 1180px;
    }

    footer a{
        color: #ffffff !important;
    }

    .footer-top{
        margin: 0 0 30px 0;
        justify-content: left !important;
        text-align: left;
    }

    .footer-item{
        position: relative;
        padding: 0 15px;
        flex: 0 0 250px;
        max-width: 100%;
    }

    .footer-item:last-child{
        margin-left: auto;
        flex: 0 0 365px;
        max-width: 100%;
    }

    .footer-item:last-child ul li a{
        border-left: 0;
    }

    .footer-item span{
        margin-bottom: 20px;
        display: inline-block;
        font-size: 20px;
        /* font-weight: 400; */
    }

    .footer-item ul{
        padding: 0;
        list-style: none;
    }

    .footer-item ul li{
        margin-bottom: 10px;
        font-size: 15px;
        /* font-weight: 400; */
    }

    .footer-item ul li a{
        border-left: 1px solid #3cb4e5;
        padding-left: 7px;
    }

    .footer-hr{
        border-color: #ffffff;
    }

    .footer-bottom{
        padding: 0 15px;
    }

    .footer-bottom span{
        margin-left:15px;
        margin-top: 25px;
        display: inline-block;
    }

    .footer-company ul li a{
        padding-left: 0 !important;
    }

    .footer-company ul li img{
        margin-right: 7px;
    }

    .footer-phone a:first-child{
        margin-right: 31px;
    }

    @media (max-width: 1180px){
        footer .section-block {
            width: 920px;
        }
    }

    /* 頁尾 */
    @media (max-width: 996px){
        .footer-item {
            flex: 0 0 200px;
        }
    }

    @media (max-width: 845px){
        .footer-top {
            margin: 0 0 0 0;
        }
        .footer-item {
            flex: 0 0 50%;
            margin-bottom: 20px;
        }
        .footer-item:last-child {
            margin-left: unset;
        }
        .footer-hr {
            margin: 15px 0;
        }
    }

    @media (max-width: 500px){
        footer{
            padding-left: 0;
            padding-right: 0;
        }
        
        .footer-item {
            flex: 0 0 44%;
            padding: 0 5px;
        }

        .footer-item:first-child{
            flex: 0 0 56%
        }

        .footer-item ul li a {
            padding-left: 4px ;
            font-size: 14px !important;
            display: inline-block;
            width: 100%;
        }

        .footer-item ul li{
            font-size: 15px !important;
            display: inline-block;
            width: 100%;
        }

        .footer-phone a:first-child{
            margin-bottom: 10px;
            margin-right: 0;
        }
    }

    @media (max-width: 425px){
        .footer-item span {
            margin-bottom: 15px;
            font-size: 19px;
        }

        .footer-bottom span {
            margin-left: 0;
            margin-top: 15px;
            width: 100%;
        }
    }

    body{
        margin-top:75px;
    }
    @media (max-width: 993px){
        body{
            margin-top:106px;
        }
    }

    @media (max-width: 500px){
        body{
            margin-top:61px;
        }
    }


    

    #messageModalLabel{
        font-size: 17px;
        font-weight: 600;
    }

    #messageModal .btn{
        background: #3cb4e5;
        color: #ffffff;
        font-weight: 600;
        border: 0;
        padding: 5px 0;
        font-size: 15px;
        width: 75px;
        border-radius: 6px;
        margin: 12px 0;
    }