@charset "utf-8";
/* CSS Document */
.btnStyle {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #007dd5;
  margin: 5px /*新增上下左右距離，手機版有多個btn時才不會黏在一起*/
}
.btnStyle:hover {
  color: #FFF;
  background: #e85774;
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  #black {
    background: url("../images/event/blackDiscount/bg.png") #450026;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 40px;
    height: 850px;
  }
  .black {
    display: flex;
    /*flex-wrap: nowrap;
    flex-direction: row;*/
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20%;
      padding: 10px;
  }
  .black li {
    display: block;
    width: 24%;
    margin: .5%;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 20px 10px 20px 10px;
    border: 1px solid #fff;
    height: auto;
    color: #fff
  }
  .black li:nth-child(3n) {
    /*margin-right: 0;*/
  }
  .black li a {
    display: block;
    text-decoration: none;
    color: #fff
  }
  .black li a:hover {
    color: #91BD1E
  }
  .black li h3 {
    color: #00cdff; font-size: 18px; 
  }
      .black li h4 {
    color: #fff; font-size: 16px; 
  }
  .blackPN {
    height: 60px;
    display: flex;
    /*flex-wrap: wrap;
    flex-direction: row;*/
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
      margin: 15px 0px 10px 0px;

 
      
  }
  .blackPN h4 {
    font-weight: normal;
    /*font-size: 17px;*/
    padding: 10px 5px 5px 5px;
    text-align: center;
    vertical-align: middle;
      height: auto;
      
  }
  .black li ol li {
    border: none;
    width: 95%;
    padding: 0px;
    margin: 2px 0px 2px 15px;
    height: auto;
    list-style: decimal
  }
  /*----------------- Promotion list---------------*/
  .promo li {
    border-bottom: 1px solid #ddd;
    min-height: 180px;
    display: block;
    position: relative;
    padding: 10px 0;
    width: auto;
  }
  .promo li:first-child {
    padding-top: 0;
  }
  .promo li div.left {
    width: 160px;
    float: left;
    position: relative;
  }
  .promo li div.right {
    width: auto;
    margin-left: 180px;
  }
  .promo li div.right h4 em {
    font-weight: bold;
  }
  .promo li div.right h4 span {
    font-size: 15px;
  }
  .promo li div.right span {
    display: inline-block;
    /*background: #f15151;*/
    padding: 0 10px;
    font-style: italic;
    color: #007dd5;
      border: 1PX solid #007dd5;
    margin-bottom: 5px;
  }
      .promo li div.hoverDesc {
    color: rgba(255, 255, 255, 0);
    background-color: rgba(0, 0, 0, 0);
    background-image: url(../images/iconEnlarge.png);
    background-repeat: no-repeat;
    background-size: 25% auto;
    background-position: center center;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    width: 100%;
    height: 0;
    padding-bottom: 66%;
  }
  .promo li:hover div.hoverDesc {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
  }
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  .promo li {
    border-bottom: 1px solid #ddd;
    display: block;
    width: auto;
    padding: 20px 0;
  }
  .promo li:first-child {
    padding-top: 0;
  }
  .promo li div.left {
    width: 22%;
    float: left;
    position: relative;
  }
  .promo li div.right {
    width: auto;
    margin-left: 25%;
  }
  .promo li div.right span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
  }
   #black {
    background: url("../images/event/blackDiscount/bgM.png") #12181d;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-top: 40px;
       padding-bottom: 40px;
    height: 900px;
  }
  .black {
    display: flex;
    /*flex-wrap: nowrap;
    flex-direction: row;*/
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30%;
  }
  .black li {
    display: block;
    width: 45%;
    margin: .5%;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 30px 10px 20px 10px;
    border: 1px solid #fff;
    height: auto;
    color: #fff
  }
  .black li:last-of-type {
    margin-bottom: 0;
  }
  .black li a {
    display: block;
    text-decoration: none;
  }
  .black li a:hover {}
      .black li h3 {
    color: #00cdff; font-size: 18px; 
  }
      .black li h4 {
    color: #fff; font-size: 16px; 
  }
  .blackPN {
    height: 80px;
    display: flex;
    /*flex-wrap: wrap;
    flex-direction: row;*/
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }
  .blackPN h4 {
    font-weight: normal;
    /*font-size: 17px;*/
    padding: 10px 5px 5px 5px;
    text-align: center;
    vertical-align: middle;
  }
}