@charset "utf-8";
/*main_menu*/
#main_menu{

    display: block;
    float:left;
    height:55px;
}
#main_menu > ul{
    float:right;
    display:block;
    width:100%;
}
#main_menu > ul > li{
    color: #fff;
    float: right;
    position: relative;
    
}
#main_menu > ul > li > a{
    color: #7c7c7c;
    display: block;  
    overflow-x: visible;
    position: relative;


}
#main_menu > ul > li > a span{
    height:25px;
    font-size: 12px;
    text-transform:uppercase;
    font-family:Candara, Arial ,"微軟正黑體";
}
#main_menu > ul > li > a span:first-of-type{
    font-size: 18px;
    line-height: 25px;
    height:30px;
    margin-left: -1px;
}
#main_menu > ul > li > a img{
    float: left;
    margin: 10px 5px 50px 0;
    display: block;
}
#main_menu > ul > li:hover > a{
    
}

#main_menu li a:hover:before {content:url(../images/icon_ufo.svg);display: table;margin: -20px auto -40px;
    padding-left: 44px;animation: move .9s ease-in-out infinite alternate;}

#main_menu > ul > li > a.current:before {content:url(../images/icon_ufo.svg);display: table;margin: -20px auto -40px;
    padding-left: 44px;animation: move .9s ease-in-out infinite alternate;}


.sub_menubox{
	width: 100%;
    left: 0;
    box-shadow: 5px 3px 5px rgba(0, 0, 0,0.3);
    overflow: hidden;
    background: rgba(0,0,0,0.8);
    position: absolute;
    top:50px;
    z-index: -1;
    display:block;
    opacity:0;
      
}
.sub_menubox.ss{
    width: auto;
    left:auto;
    min-width:100px;
}
#main_menu ul > li:hover > .sub_menubox{
    opacity:1;
    top:45px;
    z-index: 50;
    transition: all 0.3s;
}

.sub_menubox ul{
    float: left;
    display: inline-block;
    width:100%;

    
}
.sub_menubox span{
    text-align:left;
    color: #000;
    font-size: 16px;
    text-decoration: underline;
    font-weight: 700;
    margin-bottom: 10px;
    line-height:22px;
    display: block;
}

.sub_menubox li {
    text-align: left;
}
.sub_menubox li a{
	padding: 8px 10px;
    color: #FFF;
    font-size: 14px;
    display:block;
    line-height: 22px;
}


.sub_menubox li a:hover{
    background-color:#000;
    

}


.sub_menubox .line{
    float: left;
    width: 1px;
    min-height: 250px;
    margin:20px 0;
    display: block;
    overflow: hidden;
    background-color: #eee;
}

/*mment*/
.mm-navbar.mm-navbar-top.mm-navbar-top-1.mm-navbar-size-1 {
    width: 100%;
    padding: 10px;
	background-color: #fff !important;
    padding: 20px 10px;
}

.mm-hasnavbar-top-1 .mm-panels, .mm-navbar-top-2 {
    top: 70px !important;
}

#hamburger{
    box-sizing: border-box;
    display: block;
    width: 45px;
    height: 45px;
    position: fixed;
    top: 1%;
    right: 10px;
    border-radius:22.5px;
    background: #5db8c4;
    z-index: 20000;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
}
#hamburger:before {
    content: '選單';
    line-height: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 7px;
    letter-spacing: -1px;
    transition: top 0.3s ease;
    display: block;
    text-align: left;
    padding-left: 11px;
    color: #fff;
}
html:not(.mm-opening):not(.mm-opened) #hamburger{
    transition: top 0.3s ease;
}

#hamburger span{
    background: #fff;
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    position: absolute;
    left: 10px;
}


#hamburger span:first-of-type{
    top: 9px;
}
#hamburger span{
    top: 14px;
    opacity: 1;
}
#hamburger span:last-of-type{
    top: 19px;
}

html.mm-opening #hamburger{
	border: none;
    left: 0;
    width: 100%;
}
html.mm-opening #hamburger span{left:18px;}

/* Hamburger animation*/

#hamburger span{
    -webkit-transition: none 0.5s ease 0.5s;
    transition: none 0.5s ease 0.5s;

    -webkit-transition-property: transform, top, bottom, left, opacity;
    transition-property: transform, top, bottom, left, opacity;
}
html.mm-opening #hamburger span:first-of-type,
html.mm-opening #hamburger span:last-of-type{
    top: 20px;  
}
html.mm-opening #hamburger span{
    left: -50px;
    opacity: 0;
}
html.mm-opening #hamburger:before{
    content: "";
}
html.mm-opening #hamburger span:first-of-type{
    transform: rotate( 45deg );
    left: 5px;
    opacity: 1;
   
    
}
html.mm-opening #hamburger span:last-of-type{
    transform: rotate( -45deg );
    left: 5px;
    opacity: 1;

}

li.mm-divider {
    background: rgba(0,0,0,0.8)!important;
    color: #fff;
    font-size: 20px !important;
    line-height: 30px !important;
}
.mm-listview{
    color: #000;
    font-size:20px !important;
    line-height:30px !important;}


/*LINK*/
.link{
    float: right;
    margin: 0 10px;
   
}

.link a{
    margin: 0 2px;
}

.link li{
    float:left;
    padding:0 5px;
    color:#79c5cf;
}

.link > li:after{
    content:"|";
    height: 8px;
    float:right;
    line-height:32px;
    margin-left:8px;
}

.link > li:last-of-type:after{
    content:"";
}

.link li a{
    float: left;
    display:block;
    line-height:32px;
    color: #4ca1ad;
    font-size: 14px;
}

.link li a:hover{
    text-decoration:underline;
}

.link li img{
    width:18px;
}


.linksub{
    cursor:pointer;
    float:right;
}

.linksub ul{
    top:40px;
    display:block;
    z-index: -1;
    opacity: 0;
    width: 130px;
    position: absolute;
    background: rgba(255,255,255,0.9);
}
.linksub:hover ul{
    transition: all 0.3s;
    top:30px;
    z-index: 2;
    opacity: 1;
}

.linksub span{
    float:left;
    line-height:32px;
    display:block;
    font-size: 14px;
}
.linksub:hover span{
    color:#009FFF;
}

.linksub span:after{
    content:"▾";
    font-size:18px;
    float:right;
}

.linksub li{
    width:100%;
    clear:both;
    padding:0;
}
.linksub li a{
    width:100%;
    display:block;
    color:#666;
    padding:0 8px;
    margin:0;
}

.linksub li a:hover{
    color:#fff;
    background-color:#1564A2;
}

.linksub img{
    margin: 0 5px;
}



.community{
    float:right;
}
.community li{
    float:right;
    margin:0 5px;
}



#head_left .link > li:after{
    display: none;
}


/*CATEGORY*/
.category{
    clear:both;
    position: relative;
    margin-bottom: 53px;
}

.category ul{
    overflow:hidden;
    display:table;
    margin:0 auto;
}



.category > ul > li{ 
    float: left;
    background: #ababab;
    border-right: solid 2px #8b8e91;
}
.category > ul > li:last-of-type{
    border-right:none;
}


.category > ul > li > a{
    line-height:48px;
    display:block;
    color:#fff;
    font-size:20px;
    padding:0 20px;
}


.category > ul > li:hover > a{
    background-color:#ebafc9;
}
.category > ul > li > a.current{
    background-color:#5db8c4;
}


.category > ul > li > a.current:after{
    content: "";
    padding: 0 10px;
    background:url('../images/icon_arrow_bottom.png')no-repeat right center;
}
.category .category_title{
    display: none;
    width: 100%;
    background-color: #5db8c4;
    color: #fff;
    line-height: 48px;
    font-size: 20px;
    padding: 0 20px;
    cursor: pointer;
    position: relative;
}  
.category .category_title:after{
    content: "";
    width: 20px;
    background: url("../images/icon_arrow_bottom.png")no-repeat right center;
    height: 20px;
    position: absolute;
    right: calc(1% + 70px);
    top: 13px;
}

.category .s{
    max-height:auto;
    width: 100%;
    display: none;
}

.category .s > li{
    width:100%;
    border-bottom: solid 1px #fff;
    border-right:none;
}
.category .s > li > a{
    padding: 0 20px;
    font-size: 16px;
}
.category .s > li > a.current {
    background-color: #434343;
}
.category .s > li > a.current:after {
background: none;
}

.category ul > li:hover > #submenu{
    display: block;
    background-color:#ebafc9;
    z-index: 2;
}

.category ul > li.current > #submenu{
    display: block;
    background: #5db8c4;
    z-index: 1;
}
/*submenu*/
#submenu{
    width: 100%;
    left: 0;
    overflow: hidden;
    display: none;
    position: absolute;
    top: 48px;
    background: #5db8c4;
    padding: 5px;
    border-radius: 5px;
}
#submenu ul{
    overflow: hidden;
    margin: 0 auto;
}
#submenu li{
    margin: 0 5px;
    display: inline-block;
}
#submenu li a{
    display: block;
    border-radius: 10px;
    font-size: 18px;
    padding: 0 10px;
    color: #fff;
    line-height: 30px;
    font-weight: 700;
}
.category ul > li:hover > #submenu li a:hover{
    background: #c68aa4;
}

.category ul > li.current > #submenu li a:hover{
    background: #46919a;
}
.category ul > li.current > #submenu li a.current{
    background: #46919a;
}
.s+#submenu{
    position: relative;
    top: inherit;
    z-index: 10;
}
.s+#submenu li a:hover{
    background: #46919a;
}

.s+#submenu li a.current{
    background: #46919a;
}

/*BAR_CART*/
#bar_cart{ width: 100%; text-align: center; padding: 30px 0;}
#bar_cart ul{ 
    display: inline-block;
    margin: 0 auto;
}
#bar_cart li{
    float: left;
    background: url(../images/line07.jpg) repeat-x left 25px;
    padding: 0 22px;
    text-align: center;
}
#bar_cart li.current{
    background: url(../images/line06.jpg) repeat-x left 25px;
}

#bar_cart li span{ margin: 0 auto 20px;color: #333; line-height: 22px; font-size: 16px; clear: both;}
.cart_pic{
    width: 68px;
    height: 56px;
    display: block;
    background-color: #fff;
    background-position: center bottom;
    background-repeat: no-repeat;
}


#bar_cart li.current .cart_pic{
    background-position: center top;
}

#bar_cart li:first-of-type .cart_pic{background-image: url(../images/icon_cart03.png) ;}
#bar_cart li:nth-of-type(2) .cart_pic{background-image: url(../images/icon_pay02.png) ;}
#bar_cart li:last-of-type .cart_pic{background-image: url(../images/icon_ok.png) ;}


/*------------- RWD 各裝置調整 ----------------*/

@media screen and (min-width: 1400px){
    /*main_menu*/
    #main_menu{
        width:calc(100% - 238px);
    }

    #main_menu > ul > li{
        margin:0 15px;
    }

	/*mment*/
    #hamburger{
        display:none;
        right: 0px;
    }

}

@media screen and (max-width: 1400px){


    /*mment*/
    #hamburger{
        display:none;
    }
    /*main_menu*/
    #main_menu{
        width:calc(100% - 238px);
    }
    #main_menu > ul > li{
        margin:0 1%;
    }
    #main_menu > ul > li > a img{
        width: 28%;
        max-width: 35px;
    }


}

@media screen and (max-width: 1024px){
	/*mment*/
    #hamburger{
        display:block;

    }

    #main_menu,#head_right{
        display:none;
    }

    /*CATEGORY*/
    .category .category_title{ display:block;}
    .category .b{
        display:none;
    }
    .category .s{
        display: table;
    }
    .category ul > li.current >  #submenu{
        display: ;
    }

    #submenu {
    z-index: -10;
    display: block;
}
 .category ul > li:hover > #submenu{
    display: block;
    background-color:#ebafc9;
    z-index: -2;
}

.category ul > li.current > #submenu{
    display: block;
    background: #5db8c4;
    z-index: -3;
}   
}
@media screen and (max-width: 480px){
   
   #bar_cart li{
    float: left;
    background: url(../images/line07.jpg) repeat-x left 25px;
    padding: 0 12px;
    text-align: center;
}
}