/* 導航樣式 - Navigation Styles */

/* Main Navigation */
nav.wsmenu.slideLeft.gry {
    margin-top: 15px;
}

nav.wsmenu.slideLeft.gry a:hover { 
    color: #E14847 !important;
}

.nav li.level_1{
    float:left;
    padding-right:20px;
    position:relative
}

.nav a:hover{
    text-decoration:none
}

.nav a.level_1{
    float:left;
    font-size:14px;
    line-height:30px;
}

.nav a.level_1 span{
    float:left
}

.nav li.current a.level_1{
    font-weight:bold
}

.nav li.parent a.level_1 span{
    padding-right:15px;
    background:url('../img/nav_arrow.gif') no-repeat right 13px
}

.nav li.parent:hover a.level_1 span, .nav li.parent_hover a.level_1 span{
    background-position:right -17px
}

.nav li.parent:hover, .nav li.parent_hover{
    z-index:100
}

.nav li:hover .sub_nav, .nav li.parent_hover .sub_nav{
    display:block
}

.nav .sub_nav{
    display:none;
    position:absolute;
    left:-10px;
    top:29px;
    height:auto;
    width:150px;
    background-color:#fff;
    border-top:3px solid #444
}

.nav .sub_nav ul{
    height:auto;
    padding:10px 18px;
    border:1px solid #ccc;
    border-top-width:0;
    border-radius:0 0 5px 5px;
    box-shadow:0 5px 8px #999
}

.nav .sub_nav ul li{
    display:block;
    height:24px;
    width:100%
}

.nav .sub_nav ul a{
    display:block;
    height:24px;
    padding:0;
    font-size:14px;
    font-weight:bold;
    line-height:24px
}

/* WSMenu Styles */
.wsmenuexpandermain a {
    display:block;
    text-align:center
}

.wsmenu-list > li > a {
    font-size:15px;
}

.wsmenu-submenu li:hover > a{
    color:#E14847 !important
}

/* Navbar Styles */
.navbar-wrapper {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

.navbar-wrapper > .container {
    padding-right: 0;
    padding-left: 0;
}

.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
    background-color: #555;
}

.navbar-wrapper .navbar .container {
    width: auto;
}

.navbar-wrapper .navbar-nav>li>a:hover, .navbar-wrapper .navbar-nav>li>a:focus {
    color: #62B6FF;
}

.navbar-wrapper { 
    background: #555  
}

.nav.navbar-nav li:hover { 
    background-color: #888;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s; 
}

.navbar-nav .dropdown-menu {
    padding: 10px 0 10px !important;
    background: #080808 !important; 
    border: none !important;
}

.navbar-nav li.dropdown.open .dropdown-menu a {
    color: #fff !important;
    padding: 10px 20px;
}

.navbar-nav li.dropdown.open .dropdown-menu .hover a {
    color: #333 !important;
}

ul.dropdown-menu .current {
    background-color: #f5f5f5;
}

/* Top Category Menu */
.top-cate.wsmenu {
    width: 150px;
    float: left;
    height: 40px;
}

.wsmenu-list.all-cate a {
    font-size: 14px;
}

.wsmenu-list.all-cate > li > a {
    line-height: 40px;
    height: 40px;
}

.all-cate .wsmenu-submenu {
    top: 40px;
    width:275px
}

.all-cate .wsmenu-submenu.middle {
    top: 50px;
}

.all-cate .wsmenu-submenu li {
    width: 270px;
}

.wsmenu-submenu li div {
    width: 260px;
    height: 33px !important;
    word-break: break-word;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.wsmenu-list.all-cate > .menu-arrow-1 > a:after {
    top:16px
}

/* Level hover effects */
li.level_1:hover i {
    margin-right: 10px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

li.level_1:hover .level_3 i {
    margin-right:0
}

.level_1:hover > .level_1 {
    color:#FD5252;
}