/* 更改上方导航栏的样式 */
nav.index_nav {
  border-bottom: 2px solid #e01222;
}

.flash-sale-container {
  width: 100%;
  min-height: 900px;
  margin: auto;
  position: relative;
  background: #f6f6f6;
  font-family: 'Hiragino Sans GB', 'Microsoft Yahei UI', 'Microsoft Yahei',
    微软雅黑, 'Segoe UI', Tahoma, 宋体b8b体, SimSun, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.flash-sale-container .container-bg {
  background-image: url('../images/flash-sale-header.png');
  width: 100%;
  height: 90px;
  background-size: cover;
  position: absolute;
  top: 0;
}

.flash-sale-container > div:not(.container-bg) {
  width: 1200px;
  margin: auto;
}

.flash-sale-container .name {
  font-size: 30px;
  text-align: center;
  height: 90px;
  line-height: 90px;
}

.flash-sale-container .nav {
  height: 60px;
  margin-bottom: 30px;
  display: flex;
  font-size: 14px;
  cursor: pointer;
}

.flash-sale-container .nav.none{
  display: none;
}

.flash-sale-container .nav.fixed {
  position: fixed;
  top: 0;
  left: 35%;
  left: calc(50% - 600px);
  box-shadow: 0 5px 20px -8px #4e4e4e;
}

.flash-sale-container .nav .time-line {
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flash-sale-container .nav .time-line.this {
  background: #e01222;
  color: #fff;
}

.flash-sale-container .nav .time-line .title {
  border: 1px solid #666;
  padding: 0 14px;
  color: #666;
  border-radius: 22px;
  font-size: 12px;
}

.flash-sale-container .nav .time-line.this .title {
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  color: white;
}

.flash-sale-container .nav .time-line .down {
  display: none;
}

.flash-sale-container .nav .time-line.this .down {
  display: block;
}

.flash-sale-container .nav .time-line.this > span {
  font-size: 20px;
}

.flash-sale-container .nav .time-line > span {
  font-size: 14px;
  font-weight: 700;
  margin-right: 10px;
}

.flash-sale-container .body {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 20px;
  z-index: 3;
}

.flash-sale-container .body .goods {
  width: 290px;
  margin-right: 13.3333333333px;
  margin-top: 18px;
  background: #fff;
}

.flash-sale-container .model {
  display: none;
}

.flash-sale-container .body .goods:nth-child(4n) {
  margin-right: 0;
}

.flash-sale-container .body .goods .up {
  padding: 30px;
}

.flash-sale-container .body .goods .up p {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  line-height: 20px;
  height: 40px;
  overflow: hidden;
  text-align: left;
}

.flash-sale-container .body .goods .up p:hover {
  color: #e01222;
}

.flash-sale-container .body .goods .up img {
  width: 230px;
  height: 230px;
}

.flash-sale-container .body .goods .down {
  height: 60px;
  width: 100%;
  border: 1px solid #e01222;
  display: flex;
  position: relative;
  box-sizing: border-box;
}

.flash-sale-container .body .goods.grey .down{
  border-color: #443630;
}

.flash-sale-container .body .goods .down > div {
  display: flex;
  flex-direction: column;
  padding: 8px 30px;
}

.flash-sale-container .body .goods .price em {
  color: #e01222;
  font-size: 14px;
  margin-right: -5px;
}

.flash-sale-container .body .goods .current {
  font-size: 28px;
  color: #e01222;
  font-family: arial;
  line-height: 1;
  margin-right: 5px;
  font-weight: 400;
}

.flash-sale-container .body .goods del {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.flash-sale-container .body .goods .buy-now {
  display: inline-block;
  width: 90px;
  height: 100%;
  background: #e01222;
  font-size: 16px;
  line-height: 60px;
  color: #fff;
  text-align: center;
  position: absolute;
  right: 0;
  top: 0;
}

.flash-sale-container .body .goods .buy-now {
  cursor: pointer;
}

.flash-sale-container .body .goods.grey .buy-now{
  background: #443630;
}

.flash-sale-container .body .goods .percent {
  display: flex;
  align-items: center;
}

.flash-sale-container .body .goods.grey .percent{
  margin-top: 1px;
}

.flash-sale-container .body .goods .percent-icon {
  display: inline-block;
  overflow: hidden;
  width: 88px;
  height: 11px;
  background: #b8b8b8;
  position: relative;
  margin-left: 5px;
}

.flash-sale-container .body .goods .percent-icon span {
  display: inline-block;
  background: #e01222;
  position: absolute;
  top: 0;
  left: 0;
  height: 11px;
  width: 20%;
}

.screen-modal {
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0);
  opacity: 0.3;
  z-index: 100004;
}

.screen-modal-info {
  width: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 0;
  text-align: center;
  box-shadow: 3px 4px 10px -2px #8e8e8e;
  position: fixed;
  top: 35%;
  left: calc(50% - 200px);
  z-index: 100005;
}

.screen-modal-info p {
  font-size: 16px;
  color: #666;
  margin: 0 30px 14px;
}
