#top_head{
    background:url(../images/bg_header.jpg) repeat-x left top #fff;
    display: block;
    position: relative;
    z-index: 999;
    padding-top:57px;
    padding-bottom:10px;  
}

#logo{
    display: inline-block;
    padding-right: 0;
}



@media (max-width:960px) {
    #top_head{
        background:url(../images/bg_header.jpg) repeat-x left -17px #fff;
        padding-top:40px; 
    }
    #logo {
        margin: 0 auto;
        display: table;
    }
    #logo a{
        width: 100%;
    }
        
    #tool_right{
        width: 100%;
    }
}



/*------
main_nav
--------*/
#main_nav{
    width: calc(100% - 309px);
    float: right;
    display: block;
    height: 40px;
}
@media (max-width:960px) {
    #main_nav{
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #648538;
        height: auto;

    }
}
/*------
link_nav
--------*/
#link_nav{
    width: 100%;
    border: none;
    clear: both;
    top: -50px;
    right: 0;
    position: absolute;
    color: #fff;
    padding-right: 70px;
}
#link_nav ul{
    float: right;
    list-style: none;
}


#link_nav ul li{
    float: left;
    padding: 0 12px;
    font-weight: 700;
    font-size: 14px;
    background: url(../images/line01.jpg) no-repeat right center;
}
#link_nav ul li a{
    width: auto;
    display: inline-block;
    color: #fff;
    font-size: 14px;
    
}
#link_nav ul li a b{    
    color: #fff600;
}
#link_nav a:hover b{
    text-decoration: underline;
}
#link_nav a:hover{
    color: #fff600;
    
}
@media (max-width:960px) {
     #link_nav{
        width: 100%;
        position: inherit;
        background: #ab3131;
        right: inherit;
        padding: 10px;
        top: inherit;
    }
    #link_nav ul{
        width: 100%;
        float: none;
        clear: both;
    }
    #link_nav ul li a {
        font-size: 18px;
        line-height: 40px;
    }

}
/*------
link_community
--------*/
#link_nav ul li.link_community{
    background: none;
}
.link_community a{
    margin: 0 5px;
}

@media (max-width:960px) {
    #link_nav ul li.link_community{
        float: none;
        clear: both;
    }
}
/*------
btn_cart
--------*/
.btn_cart{
    position: absolute;
    top: 0;
    z-index: 100;
    color: #fff;
    padding: 3px 0;
    text-align: center;
    background-color: #ab3131;
    width: 58px;
    height: 58px;
    display: block;
    right: calc((100% - 1200px)/2);
    font-size: 14px;
}

@media (max-width:1200px) {
     .btn_cart{
        right: 0;
    }
}

