﻿.top .tool-bar {
  background: #f0f0f0;
  line-height: 30px;
  font-size: 12px;
  position: relative;
  z-index: 200;
}

.top .tool-bar .tool-bar-inner {
  width: 1200px;
  margin: 0px auto;
}

.top .tool-bar .tool-bar-inner:after {
  content: "";
  display: block;
  clear: both;
}

.top .tool-bar .tool-bar-inner .welcome {
  float: left;
  margin-right: 2em;
}

.top .tool-bar .tool-bar-inner .links {
  float: left;
}

.top .tool-bar .tool-bar-inner .other-links {
  float: right;
}

.top .tool-bar .tool-bar-inner .other-links .drop {
  float: left;
  position: relative;
  margin-left: 10px;
}

.top .tool-bar .tool-bar-inner .other-links .drop .drop-title {
  display: block;
  border: 1px solid #f0f0f0;
  padding: 0px 20px 0px 10px;
  line-height: 28px;
  position: relative;
}

.top .tool-bar .tool-bar-inner .other-links .drop .drop-title::after {
  content: "";
  display: block;
  position: absolute;
  border-right: 2px solid #333333;
  border-bottom: 2px solid #333333;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 3px;
  height: 3px;
  right: 10px;
  top: 12px;
}

.top .tool-bar .tool-bar-inner .other-links .drop .drop-menu {
  display: none;
  position: absolute;
  right: 0px;
  top: 29px;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  min-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.top .tool-bar .tool-bar-inner .other-links .drop .drop-menu li {
  white-space: nowrap;
  border-bottom: 1px solid #e5e5e5;
}

.top .tool-bar .tool-bar-inner .other-links .drop .drop-menu li a {
  display: block;
  padding: 5px 10px;
}

.top .tool-bar .tool-bar-inner .other-links .drop:hover .drop-title {
  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-bottom: 1px solid #ffffff;
  z-index: 10;
}

.top .tool-bar .tool-bar-inner .other-links .drop:hover .drop-menu {
  display: block;
  z-index: 5;
}

.top .top-bar {
  background: #ffffff;
}

.top .top-bar .topbar-inner {
  width: 1200px;
  margin: 0px auto;
  padding: 20px 0px;
}

.top .top-bar .topbar-inner::after {
  content: "";
  display: block;
  clear: both;
}

.top .top-bar .logo {
  width: 200px;
  height: 50px;
  background: url(https://g.100xuexi.com/CssModel/XXMain2018/css/images/bg0354.png) left center no-repeat;
  float: left;
}

.top .top-bar .logo a {
  display: block;
  height: 100%;
  width: 100%;
}

.top .top-bar .logo img {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.top .top-bar .user-bar {
  float: right;
  text-align: center;
}

.top .top-bar .user-bar .user-bar-item {
  float: left;
  padding: 0px 10px;
  position: relative;
  z-index: 100;
}

.top .top-bar .user-bar .user-bar-item .user-bar-item-inner {
  display: block;
}

.top .top-bar .user-bar .user-bar-item .item-ico {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0px auto 5px auto;
  position: relative;
}

.top .top-bar .user-bar .user-bar-item .item-ico svg {
  width: 100%;
  height: 100%;
}

.top .top-bar .user-bar .user-bar-item .item-ico .shopcart-num {
  position: absolute;
  right: -10px;
  top: -5px;
  background: #e53737;
  color: #ffffff;
  font-size: 12px;
  border-radius: 100px;
  padding: 0px 5px;
}

.top .top-bar .user-bar .user-bar-item .shop-cart {
  position: absolute;
  right: 0px;
  top: 50px;
  background: #ffffff;
  border: 1px solid #d5d5d5;
  text-align: left;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.2);
  display: none;
}
.top .top-bar .user-bar .user-bar-item:hover .shop-cart{
  display: block;
}
.top .top-bar .user-bar .user-bar-item .shop-cart::after{
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 1px solid #d5d5d5;
  border-top: 1px solid #d5d5d5;
  background: #ffffff;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  position: absolute;
  right: 25px;
  top: -6px;
}
.top .top-bar .user-bar .user-bar-item .shop-cart-inner{
  padding: 10px;
  width: 400px;
  max-height: 400px;
  overflow: auto;
  overflow-x: hidden;
}

.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item {
  overflow: hidden;
  zoom: 1;
  padding: 10px 0px;
  border-bottom: 1px dotted #e5e5e5;
  position: relative;
  font-size: 12px;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item:last-child{
  border: none;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item .item-img {
  width: 60px;
  height: 60px;
  float: left;
  border: 1px solid #e5e5e5;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item .item-img img{
  width: 100%;
  height: 100%;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item .item-des {
  margin-left: 70px;
  margin-right: 50px;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item .item-price{
  color: #e53737;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .cart-item .item-del {
  background: #f5f5f5;
  border-radius: 4px;
  border: 1px solid #d5d5d5;
  position: absolute;
  right: 0px;
  top: 50%;
  line-height: 24px;
  height: 24px;
  margin-top: -13px;
  padding: 0px 5px;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .empty{
  padding: 20px 0px;
  text-align: center;
  font-size: 12px;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .btn-container{
  background: #f5f5f5;
  padding: 10px;
  overflow: hidden;
  line-height: 24px;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .btn-container .btn-clear-shopcart{
  float: left;
}
.top .top-bar .user-bar .user-bar-item .shop-cart .btn-container .btn-goto-shopcart{
  float: right;
  padding: 0px 1em;
  background: #e53737;
  color: #ffffff;
  border-radius: 4px;
}
.top .top-bar .search {
  margin: 4px 300px;
}

.top .top-bar .search .search-box {
  border: 1px solid #e5e5e5;
  height: 40px;
  position: relative;
  padding: 0px 90px 0px 40px;
  border-radius: 5px;
  background: url(/css/images/bg0146.gif) 5px center no-repeat;
}

.top .top-bar .search .btn-search {
  position: absolute;
  right: -1px;
  top: -1px;
  background: #e53737;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  height: 42px;
  border: 0px;
  width: 80px;
  border-radius: 0px 5px 5px 0px;
  cursor: pointer;
}

.top .top-bar .search .text-search {
  width: 100%;
  padding: 0px;
  height: 40px;
  border: 0px;
  outline: none;
  font-size: 15px;
  background: #ffffff;
}

.top .nav {
  background: #f5f5f5;
  position: relative;
  z-index: 10;
}

.top .nav .nav-inner {
  width: 1200px;
  margin: 0px auto;
  line-height: 50px;
  font-size: 16px;
}

.top .nav .nav-inner:after {
  content: "";
  display: block;
  clear: both;
}

.top .nav .category {
  float: left;
  width: 240px;
  border-right: 5px solid #ffffff;
  position: relative;
}

.top .nav .category .category-title {
  padding: 0px 20px;
  background: #e53737;
  color: #ffffff;
  position: relative;
}

.top .nav .category .category-title::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-left-color: transparent;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -7px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.top .nav .category:hover .category-title::after {
  margin-top: 0px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.top .nav .category .category-content {
  position: absolute;
  left: 0px;
  top: 50px;
  width: 240px;
  background: #ffffff;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.2);
  display: none;
  line-height: 40px;
}

.top .nav .category:hover .category-content {
  display: block;
}

.top .nav .category .category-item {
  border-bottom: 1px solid #eeeeee;
}

.top .nav .category .category-item a {
  padding: 0px 20px;
  display: block;
}

.top .nav .category .category-item a:hover {
  background: #f7f7f7;
}

.top .nav .nav-list {
  float: left;
  padding-left: 20px;
}

.top .nav .nav-list .nav-item {
  float: left;
}

.top .nav .nav-list .nav-item a {
  display: block;
  padding: 0px 20px;
}