body {
	font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
}
.activity-header img, .activity-footer img {
  width: 100%;
}
.activity-content .activity-background {
  width: 100%;
  height: 100%;
}
.activity-roulette-block {
  position: absolute;
}
.roulette-content {
  display:none;
  text-align: center;
  position: relative;
  margin: 5px 0 5px 0;
}
.roulette-content img {
  width: 90%;
  height: 90%;
}

.roulette-header-wording {
  height: 40px;
  text-align: center;
  font-size: 20px;
  color: white;
}
.roulette-footer {
  text-align: center;
  margin-top: 40px;
}
.roulette-footer img {
	width: 40%;
	cursor: pointer;
}
.roulette-content .roulette-pointer {
  position: absolute;
  z-index: 99;
}
.roulette-content .roulette-background {
  position: absolute;
}
.roulette-content .roulette-background img {
  width: 80%;
  height: 80%;
}
.roulette-content .roulette-pointer img {
  width: 35%;
  height: 35%;
  cursor: pointer;
}
.activity-footer {
  display:none;
  bottom:0px;
  right:0px;
}

.btn-image {
	cursor: pointer;
}

/* 彈跳視窗 */
.modal-dialog {
  margin: 0 auto;
}
.modal-content {
  border-radius: 20px;
  width:100%;
}
.modal-header {
	border-bottom: 0px;
}
.modal-body {
  text-align: center;
  padding: 30px;
}
.modal-body .modal-title, .modal-body .modal-prize {
  font-size: 24px;
  height: 10%;
}
.modal-body .modal-description {
  font-size: 12px;
  height: 10%;
  line-height: 20px;
}
.modal-body .modal-status-description {
  font-size: 16x;
  height: 10%;
  line-height: 20px;
}

.modal-body .modal-prize,
.modal-body .modal-description,
.modal-body .modal-status-description  {
  margin-top: 10px;
}
.modal-icon-image img{
  max-width: 200px;
  max-height: 200px;
}
.modal-btn-image img {
  width: 65%;
  cursor: pointer;
}
.modal-btn-image {
  margin-top: 20px;
}
.modal-icon-image img {
  margin: 20px 0 20px 0;
}

.modal-dialog-centered {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  min-height:calc(100% - (11rem * 2));
}

.modal-backdrop-transparent {
  background: #ff0000;
}
.modal-backdrop-transparent.in {
  opacity: .9;
  filter: alpha(opacity=90);
}

.modal-body-center {
  text-align: center;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 0px;
  padding-bottom: 5px;
}

.modal-history-content,
.modal-history-none {
	height: 400px;
	overflow-y: auto;
}

.modal-title-center {
	font-size:26px;
	margin-top:10px;
	text-align:center;
}

.modal-subtitle-center {
	font-size:16px;
	margin-top:4px;
	text-align: center;
}

.modal-history-none img {
	margin-top: 15px;
	width: 45%;
}

.modal-history-none h5 {
	margin-top: 10px;
	color: #222222;
}

.modal-footer-center {
	text-align: center;
}

.modal-content-transparent {
	background: transparent;
	-webkit-box-shadow:0 0 0 rgb(0 0 0);
	box-shadow:0 0 0 rgb(0 0 0);
	border:0px
}

.modal-header-transparent {
	background:#fff;
	border-radius: 20px 20px 0 0;
}

.modal-body-transparent {
	background:#fff;
	border-radius: 0 0 20px 20px;
}

.modal-footer-transparent {
	border-top:0px;
}

.modal-body button.close {
  top: 15px;
  right: 15px;
  position: absolute;
}

.modal-prize#prizeSn {
	overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow-wrap: break-word;
    display: -webkit-box;
}

.prize-list .list-item{
	position: relative;
	width: 99%;
	max-width: 600px;
	background: #fff;
	border: none;
	border-radius: 5px;
	color: #b7b7b7;
	margin: 0 auto;
	margin-top: 10px;
	margin-bottom: 8px;
	padding: 5px;
	min-height: 70px;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.prize-list .icon{
	position: absolute;
	left: 5px;
	top: 5px;
	margin: auto;
	text-align: center;
}
.prize-list .icon img{
	width: 60px;
	height: 60px;
}

.prize-list .item-content{
	width: calc(100% - 65px);
	text-align: left;
	vertical-align: top;
	border-left: 1px solid #e1e1e1;
	padding-left: 5px;
	padding-top: 10px;
	margin-left: 65px;
	min-height: 60px;
}
.prize-list .item-content .item-value{
	font-size: 14px;
	font-weight: bold;
	color: #000000;
}
.prize-list .item-content .item-title{
	font-size: 16px;
	font-weight: 400;
	color: #6b6b6b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top:1px;
}

.prize-list .item-content .item-period{
	font-size: 12px;
	font-weight: normal;
	color: #b7b7b7;
	margin-top:2px;
}

.award-column.in {
    display: flex !important;
}
.award-column .modal-content {
    display: flex;
    height: 80%;
    min-height: 366px;
    flex-direction: column;
}
.award-column .modal-body-center {
    flex: 1;
    min-height: 0;
}
.award-column .modal-history-content, .modal-history-none {
    height: 100% !important;
}
.award-column .modal-dialog {
    top: 0 !important;
    width: 100% !important;
}

@media (min-width: 480px) {
  
  .roulette-content .roulette-pointer img {
	width: 50%;
	height: 50%;
  }
  
  .modal-body .description {
    font-size: 14px;
  }

  .modal-dialog-centered {
    min-height:calc(100% - (38.5rem * 2));
  }
}