/* header */
.header-container {
  /* background-image: url("http://www.szlottery.org/assets/bg-header.png"); */
  /* background-size: 100% 100%; */
  /* background-repeat: no-repeat; */
}

.logo-container {
  /* height: 87px; */
  padding: 10px 0;
  color: #d33029;
}

.logo {
  height: 67px;
}

.title-text {
  font-size: 22px;
  color: #d33029;
  font-weight: bold;
}

.divider-link {
  width: 1px;
  height: 42px;
  background-color: #ccc;
  margin: 0 20px;
}

.search-container {}

.search-container .search-logo {
  width: 314px;
}

.search-text {
  text-align: center;
  font-size: 17px;
  padding: 8px;
}

.search-container .search-box {
  width: 314px;
  height: 42px;
  border-radius: 22px;
  border: 1px solid #d33029;
  overflow: hidden;
  position: relative;
  /* margin-top: 18px; */
  margin-top: 5px;
}

.search-container .search-box .search-ipt {
  position: absolute;
  left: 0;
  top: 0;
  width: 219px;
  line-height: 40px;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  border: 0;
  outline: none;
  font-size: 16px;
  padding: 0 20px;
}

.search-container .search-box .search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 94px;
  border-radius: 22px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border: 0;
  background: #d33029;
  color: #fff;
  cursor: pointer;
}

/* nav */
.nav .list .item {
  padding: 8px;
  min-width: 134px;
}

.nav .list .item:hover>a {
  /* background-color: #8e050f; */
  background-color: #fff;
  border-radius: 20px;
  padding: 2px 10px;
  color: #d33029;
  font-weight: bold;
}

.nav .list .item:hover .children-list {
  display: block;
}

.nav .list .item .children-list {
  display: none;
  top: 100%;
  left: 0;
  /* background-color: rgba(255, 255, 255, 0.8); */
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  z-index: 99;
  border-radius: 10px;
}

.children-list .children-item {
  color: #333;
  font-weight: bold;
}

.children-list .children-item:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

.children-list .children-item:hover {
  /* text-decoration: underline; */
  color: #d33029;
}

/* main */
.section {
  margin-top: 20px;
}

.section-title {
  font-size: 18px;
  color: #fff;
  background-color: #d33029;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 8px;
  text-indent: 40px;
  font-weight: bold;
  width: 260px;
}

.absolute-section-title {
  position: absolute;
  left: 0;
  top: 30px;
  z-index: 2;
}

/* banner */
.banner {
  height: 200px;
}

.banner .img-container {
  height: 200px;
}

.banner .img-container img {
  border-radius: 4px;
}

.left-box,
.right-box {
  /* border: 1px solid #000; */
}

#news-swiper {
  position: relative;
}

#news-swiper .swiper-wrapper {
  position: relative;
}

.news-swiper-swiper-pagination {
  position: absolute;
  right: 0 !important;
  bottom: 0 !important;
  left: unset !important;
  z-index: 99;
  width: 190px !important;
  height: 35px !important;
  padding: 5px;
}

.news-swiper-swiper-pagination.has-more-btn {
  right: 80px !important;

}

.news-swiper-swiper-pagination span {
  display: inline-block;
}

.news-swiper-more-btn {
  position: absolute;
  right: 0 !important;
  bottom: 0 !important;
  left: unset !important;
  z-index: 99;
  background-color: #d33029;
  color: #fff;
  padding: 8px;
  width: 80px;
  height: 35px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
}

#news-swiper .img-container {
  width: 100%;
  height: 460px;
  display: block;
}

.news-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  z-index: 2;
  padding: 5px;
}

.news-title .text {
  width: calc(100% - 190px);
}

.red-bullet {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
}

.red-bullet-active {
  background-color: #d33029;
  transform: scaleX(3);
  border-radius: 20%;
  transition: all 0.2s;
}

/* tab-header */
.tab-header .list .item.active {
  color: #fff;
  background-color: #d33029;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tab-header .list .item {
  color: #333;
  font-weight: bold;
  border-bottom: 4px solid #d33029;
}

/* article-list */
.article-list {
  /* padding: 16px; */
}

.article-list .item {
  font-size: 16px;
  line-height: 2;
  height: 60px;
}

.article-list .item:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

.article-list .item .title {
  color: #333;
  cursor: pointer;
}

.article-list .item .title:hover {
  color: #d33029;
}

.article-list .item .date {
  color: #666;
}

.video-box {
  border: 1px solid #ccc;
}

.video-box .img-container {
  width: 100%;
  height: 100%;
  display: block;
}

.video-box .title {
  font-size: 14px;
  color: #333;
}

/* lottery-list */
.lottery-notice {
  height: 535px;
}

.lottery-list .lottery-item {
  padding: 20px;
}

.lottery-list .lottery-item .thumb {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}

.lottery-list .lottery-item .thumb img {
  object-fit: contain;
}

.ball {
  width: 10%;
  height: 30px;
  font-size: 14px;
  line-height: 30px;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}

.red-ball {
  background: url(http://www.szlottery.org/images/fcw_redball.png) center center no-repeat;
  background-size: 30px 30px;
}

.blue-ball {
  background: url(http://www.szlottery.org/images/fcw_blueball.png) center center no-repeat;
  background-size: 30px 30px;
}

.welfare {
  height: 460px;
}

#welfare-swiper .img-container {
  width: 100%;
  height: 380px;
  display: block;
}

/* link-list */
#link-list a {
  display: block;
  width: 100%;
}

#link-list img {
  height: 171px;
  width: 100%;
}

#link-list .link-item:not(:last-child) {
  margin-bottom: 10px;
}

.ticket-title-bar {
  margin: 30px 0 10px 0;
}

#ticket-swiper .img-container {
  width: 100%;
  height: 220px;
  padding: 10px;
  display: block;
}

.ticket-swiper-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff !important;
  padding: 1rem !important;
  height: 30% !important;
}

/* friends-link */
.links-container {
  background-color: #d33029;
  color: #fff;
}

.friend-links-container .friend-links-item {
  max-width: 7.142857142857143%;
  flex: 0 0 7.142857142857143%;
  text-align: center;
  position: relative;
}

.friend-links-container .friend-links-item a {
  color: #fff;
  font-size: 12px;
}

.friend-links-container .friend-links-item:not(:nth-child(14n)):after {
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
}

.img-link-container a {
  display: block;
}

.qr-code-container .qr-code-list .item {
  margin-left: 20px;
}

.qr-code-container .qr-code-list .item .thumb {
  width: 80px;
  height: 80px;
}

.qr-code-container .qr-code-list .item .text {
  font-size: 12px;
}

.more-btn {
  /* position: absolute;
  right: 0;
  bottom: 0; */
  text-align: right;
  padding: 10px 0;
  font-size: 16px;
  color: #666;
  display: inline-block;
  width: 100%;
}

/* new css */


/* 快捷卡片入口 */
.entrance-item img {
  border-radius: 4px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, .12);
}

.quick-entrance-list .quick-entrance-item {
  margin-bottom: 20px;
}

.quick-entrance-list .quick-entrance-item img {
  border-radius: 4px;
}

/* 关于我们 */
.about-us .title {
  font-size: 24px;
  font-weight: bolder;
  margin-bottom: 10px;
  text-align: center;
  color: #d33029;
}

.about-us .info-list {
  margin-bottom: 10px;
}

.about-us .info-list .info-item {
  margin-bottom: 10px;
  color: #666;
  padding: 10px 0;
}

.about-us .info-list .info-item:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

.about-us .info-list .info-item .label {
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}

.about-us .info-list .info-item .value {
  font-size: 13px;
  /* flex: 1; */
}

.about-us .tel .icon {
  height: 40px;
  margin-right: 20px;
}

.about-us .tel .label {
  font-size: 18px;
  color: #666;
}

/* 开奖公告 */
.title-bar {
  padding: 30px 20px 0 0;
}

.lottery-result-link-list .lottery-result-link-item:not(:last-child) {
  margin-right: 50px;
}

.lottery-result-link-list .lottery-result-link-item .icon {
  height: 30px;
  margin-right: 16px;
}

.lottery-result-link-list .lottery-result-link-item .label {
  font-size: 18px;
  font-weight: bold;
  color: #d33029;
}