@charset "utf-8";
*{
	margin: 0 auto;
	padding: 0;
}
/*路径*/
/*在当中显示内容的小标签，需要配合bootstrap使用*/
a {
  color: black;
  cursor: pointer;
  text-decoration: none;
  transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
}
a:focus,
a:hover {
  color: #b61f1f;
  text-decoration: none;
  transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
}
a img {
  cursor: pointer;
}
ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.errorMessage {
  color: #c30;
  margin: 0 5px;
  vertical-align: middle;
}
.errorMessage:before {
  vertical-align: inherit;
}
.errorMessage.top {
  vertical-align: top;
}
[class^="xy-col-"],
[class*=" xy-col-"] {
  float: left;
  min-height: 1px;
  position: relative;
}
.xySation {
  visibility: hidden;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
}
.xySationShow {
  visibility: visible;
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
  -webkit-animation: fadeInUp 1s;
  -ms-animation: fadeInUp 1s;
  animation: fadeInUp 1s;
}
@media (max-width: 767.98px) {
  .xySation {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
  }
}
/*如制作手机站，请将以下代码放到@media (min-width: 768px)内*/
html {
  font-size: 12px;
}
body {
  position: relative;
  overflow-y: scroll;
  color: #333333;
  font-family: Verdana, "微软雅黑", "宋体";
  font-size: 16px;
  line-height: 2;
}
.xy-container {
  width: 100%;
}
.xy-container-fluid {
  width: 100%;
}
@media (min-width: 576px) {}
@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
  .xy-container {
    width: 1280px;
  }
  .xy-container-fluid {
    min-width: 1280px;
  }
}
@media (min-width: 992px) {}
@media (min-width: 1200px) {}

.title{
  padding: 20px 0;
  color: #333333;
  font-size: 20px;
  line-height: 1.25;
  text-align: center;

}
.title a{
  color: #333333;
}
.title b{
  color: #333333;
}
@media (min-width: 768px) {
  .title{
    font-size: 24px;
  }
}
@media (min-width: 992px) {
  .title{
    font-size: 26px;
  }
}
@media (min-width: 1200px) {
.title {
    font-size: 32px;
    font-weight: bold;
    position: relative;
    display: block; /* 修改为块级元素，使其能占据整行宽度 */
    text-align: center; /* 文本水平居中 */
    padding-bottom: 10px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* 从父元素左侧偏移50% */
    transform: translateX(-50%); /* 向左移动自身宽度的50%，实现居中 */
    width: 100px; /* 设置下划线的固定宽度 */
    height: 3px;
    background-color: #b0d039;
}
}
.pager{
  width: 94%;
  margin: 20px auto;
}
.pagination>li>a, .pagination>li>span, .pager li > a, .pager li > span{
  color: #b61f1f;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus{
  color: #b61f1f;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
  background-color: #b61f1f;
  border-color: #b61f1f;
}

#cart {
  width:90%;
  padding-bottom:5%;
  margin: 0 auto 5%;
}
#cart table.xySationShow{
  animation: fadeInUp 0.3s;
  -ms-animation: fadeInUp 0.3s;
  -moz-animation: fadeInUp 0.3s;
  -webkit-animation: fadeInUp 0.3s;
  -o-animation: fadeInUp 0.3s;
}
#cart table td {
  padding: 5px 0;
  font-size: 1em;
  line-height: 2;
}
#cart table td > font {
  color: #c30;
}
#cart table td > input {
  width: 180px;
  height: 20px;
  line-height: 20px;
  padding: 2px 5px;
  border: 1px #dbdbdb solid;
  border-radius: 4px;
}
#cart table td > textarea {
  width: 87%;
  height: 120px;
  line-height: 20px;
  padding: 2px 5px;
  border: 1px #dbdbdb solid;
  border-radius: 4px;
}
#cart table td > button {
  padding: 6px 45px;
  margin-right: 15px;
}
#cart > .table {
  table-layout: fixed;
}
#cart > .table thead > tr:first-child {
  background-color: #f5f5f5;
}
#cart > .table.table-bordered {
  border: 1px solid #ddd;
}
#cart > .table.table-bordered tbody > tr:first-child td,
#cart > .table.table-bordered tbody > tr:first-child th {
  border-top-width: 1px;
}
#cart > .table.table-striped tbody > tr:nth-of-type(even) {
  background-color: #ecf2fc;
}
#cart > .table.table-striped tbody > tr:nth-of-type(odd) {
  background-color: #FFFFFF;
}
#cart > .table tbody > tr td a.btn-default,
#cart > .table tbody > tr th a.btn-default {
  background-color: transparent;
  border-color: transparent;
}
#cart > .table tbody > tr td a.btn-default:hover,
#cart > .table tbody > tr th a.btn-default:hover,
#cart > .table tbody > tr td a.btn-default:active,
#cart > .table tbody > tr th a.btn-default:active {
  border-color: #CCCCCC;
}
#cart > .table tbody > tr td a.btn-default .glyphicon,
#cart > .table tbody > tr th a.btn-default .glyphicon {
  font-size: 14px;
  top: 3px;
}
#cart > .table tbody > tr td a.btn-default .glyphicon-remove,
#cart > .table tbody > tr th a.btn-default .glyphicon-remove {
  color: red;
}
#cart > .table tbody > tr td.img,
#cart > .table tbody > tr th.img {
  height: 161px;
  vertical-align: middle;
}
#cart > .table tbody > tr td.img > div,
#cart > .table tbody > tr th.img > div {
  position: relative;
  width: 200px;
}
#cart > .table tbody > tr td.img > div::before,
#cart > .table tbody > tr th.img > div::before {
  content: '';
  display: block;
  width: 100%;
  padding-top: 74%;
}
#cart > .table tbody > tr td.img > div > img,
#cart > .table tbody > tr th.img > div > img {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  max-width: 100%;
  max-height: 100%;
  margin:auto;
}
#cart .table tbody input.trim{
  width: 50%;
}
#cart table .th{
  width: 24%;
}
#cart table .td{
  width: 76%;
}
#cart table td .xy-col-1-2{
  width:50%;
}
#cart table td .xy-col-1-2 table{
  width:100%;
  margin:0;
}
@media (max-width: 991px) {
  #cart table .th{
    width: 30%;
  }
  #cart table .td{
    width: 70%;
  }
  #cart table td > input{
    width:auto;
  }
}
@media (max-width: 767px) {
  #cart {
    padding-bottom:10%;
  }
  #cart table td .xy-col-1-2{
    width:100%;
  }
  #cart table td.tdtable{
    padding:0;
  }
  #cart table td > button {
    padding: 6px 15px;
    margin-right: 15px;
  }
}