/* =========== gift list =========== */
.top-title{
	margin-top: 20px;
}
.pageTitle{
	line-height: 30px;
}
.star-wrap{
	background: #fff;
	width: 100px;
	border-radius: 50px;
	font-size: 14px;
	text-align: center;
	padding: 3px 0 2px;
	box-shadow:  0px 2px 4px rgba(0, 0, 0, 0.05);
	border: 2px solid #fff;
	cursor: pointer;
}
.active .star-wrap{
    background: none;
	border: 2px solid #fff;
	box-shadow: none;
}
.star-wrap .icon-star{
	color: #FFD600;
}
.star-wrap .icon-star-o{
	color: #E8E8E8;
}
.star-wrap .icon{
	margin-right: 5px;
}
.star-wrap .icon:last-child{
	margin-right: 0;
}
.select-level{
	display: inline-block;
	float: right;
}
ul.select-star-level li{
	display: inline-block;
    float: left;
    border: 1px solid #00AFAA;
    border-left: none;
    width: 95px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
ul.select-star-level li:first-child{
	border-left: 1px solid #00AFAA;
}
ul.select-star-level li.active{
	color: #fff;
	background: #00AFAA;
}
.select-level .star-wrap{
	background: transparent;
	width: auto;
	border-radius: 0;
	padding: 6px 0 3px;
	box-shadow:  none;
	border: none;
	line-height: 20px;
}
dl.dropdown {
    width: 210px;
    float: right;
    margin-bottom: 0;
}
.dropdown dd, .dropdown dt, .dropdown ul { 
	margin:0px; 
	padding:0px; 
}
.dropdown dd { 
	position:relative;     
	width: 100%;
}
.dropdown a, .dropdown a:visited {
	color: #2f2f2f;
    font-weight: normal; 
	text-decoration:none; 
	outline:none;
}
.dropdown dt a {
	background: #fff; 
	display:block;
	border-radius: 50px; 
    width: 100%;
    box-shadow:  0px 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}
.dropdown dt a:after{
	content: "";
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    display: block;
    width: 8px;
    height: 8px;
    margin: auto;
    position: absolute;
    bottom: 12px;
    border-color: #00AFAA;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    right: 15px;
}
.dropdown dt a span {
	cursor: pointer;
    display: block;
    padding: 6px 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #00AFAA;
}
.dropdown dt a span i.icon{
	display: none;
}
.dropdown dd ul {
    font-size: 13px; 
	background: #fff;
	border-radius: 4px;
	display: none;
	left: 0px;
	padding: 0;
	position: absolute;
	top: 2px;
	width: 250px;
	max-width: 100%;
	list-style: none;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
	z-index: 9;
}
.dropdown dd ul li{
	padding: 5px 15px;
	cursor: pointer;
}
.dropdown dd ul li:hover { 
	background-color: #f5f5f5;
}
.gift-list-row {
  position: relative;
}
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.element-item {
  position: relative;
  float: left;
  width: 25%;
  padding: 15px;
}
figure.gift-list-item {
  text-align: left;
  position: relative;
  overflow: hidden;
}
figure.gift-list-item.mygift{
	background: #fff;
	border-radius: 9px;
}
figure.gift-list-item img {
    max-width: 100%;
    transition: opacity 0.25s linear;
    height: 140px;
    width: 100%;
    object-fit: cover;
}
figure.gift-list-item:hover{
    transform: scale(1.01, 1.01);
    transition: all 0.25s ease;
}
figure.gift-list-item.mygift:hover{
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}
figure.gift-list-item figcaption {
  padding: 10px 0PX;
  position: relative;
}
figure.gift-list-item figcaption .btn-green,
figure.gift-list-item figcaption .btn-greengift{
	width: 110px;
    position: absolute;
    right: 0;
    bottom: 6px;
}
.gift-detail{
  font-size: 17px;
  line-height: 1.2;
  max-height: 40px;
  height: 40px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.gift-points {
    color: #FF1111;
    font-size: 20px;
    margin-top: 20px;
}
h5.greenTips{
	margin: 10px 0;
}
/* =========== gift detail =========== */
.pointBalance {
	float: right;
	line-height: 30px;
}
span.mobileBalance {
    display: none;
}
.content-box{
	padding: 40px;
	background:#fff;
	border-radius: 15px;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}
.gift-detail-left img{
	width: 100%;
	max-width: 100%;
	border-radius: 9px;
}
.gift-detail-left h4{
	padding: 15px 10px 5px;
	margin: 0;
	position: relative;
}
.gift-detail-left .validDate{
	color: #777;
	margin: 5px 10px;
}
.star-wrap.star-wrap-detail{
	background: none;
    width: auto;
    border-radius: 0px;
    font-size: 18px;
    text-align: left;
    padding: 0;
    margin: 10px;
    box-shadow:none;
    border: none;
    cursor: auto;
}
.gift-detail-left .btn-redeem{
	margin-top: 30px;
	width: 100%;
}
h5.subtitle{
	margin-top: 30px;
}
.gift-detail-right p,
.gift-detail-txt{
	font-size: 13px;
}
.gift-detail-right > ul, 
.gift-detail-right > ol{
	padding-left: 20px;
	font-size: 13px;
}
.gift-detail-right>ul>li{
	list-style-type: disc;
}
.gift-detail-right > ol > li {
    list-style-type: decimal;
}
.remaining {
    max-width: 200px;
    margin: 0 auto;
    display: table;
}
.remaining span{
	display: table-cell;
	vertical-align: middle;
}
.gift-detail-leftTop {
    position: relative;
}
.remain-point {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 13px;
    background: #fff;
    border-top-right-radius: 4px;
    padding: 4px 10px 0;
}
.remain-point i.icon{
	color: #FF1111;
	font-size: 15px;
	margin-right: 5px;
}
/* =========== my gift =========== */
.select-valid{
	float: right;	
}
.filter-gift {
	float: right;
}
.btn-filter{
	font-size: 13px;
	padding: 5px 12px;
	margin-left: 8px;
    width: 100px;
	color: #777;
	background-color: #fff;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}
.select-valid .btn-filter:first-child{
	margin-left: 0;
}
.filter-gift .btn-filter:first-child {
	margin-left: 0;
}
.btn-filter.active{
	background: #00AFAA;
    color: #fff;
	box-shadow: none;
}
.btn-filter:hover,
.btn-filter:focus,
.btn-filter:active:focus{
	color: #777;
}
.btn-filter.active:hover,
.btn-filter.active:focus,
.btn-filter.active:active:focus{
	color: #fff;
}
figure.gift-list-item.mygift figcaption {
    padding: 10px 15px;
}
.gift-date {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}
.gift-count {
	font-size: 13px;
	float: right;
	background-color: #00AFAA;
	width: 13em;
	color: white;
	text-align: center;
	margin-top: 3px;
	border-radius: 2em;
	margin-right: -10px;
}
/* =========== my gift detail & application =========== */
.btn-mobile{
	display: none;
}
.gift-bar {
    margin-top: 15px;
}
.gift-bar img{
	max-width: 100%;
	border-top-right-radius: 9px;
	border-bottom-right-radius: 9px;
	box-shadow: 0px 8px 15px rgba(0, 92, 90, 0.12);
}
.gift-bar .validDate{
	color: #777;
	font-size: 13px;
}
.gift-brief{
	padding: 0;
	border-bottom: 1px solid #E8E8E8;
}
.gift-apply{
	margin: 20px -30px 0;
}
.gift-code{
	margin: 5px 10px;
}
.slideToUnlock {   
    position:relative;
    text-align: center;
    height: 58px;
    line-height: 58px;
    border-radius: 50px; 
    display: table;
    width: 100%; 
}
.progressBar {
    position: absolute;
    left:0;
    top:0;
    width: 0;
    height: 100%; 
    border-radius: 50px;
} 
.slider-wrap .text {
    display: table-cell;
    vertical-align: middle;
    padding-left: 100px;
    padding-right: 19px;
    line-height: 1.4;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
} 
.drag {
	line-height: 44px;
	color: #bbb;
	position: absolute;
    width: 85px;
    height: 44px;
    left: 8px;
    top: 8px;
    display: inline-block;
    border-radius: 25px;
    cursor: pointer;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}
.locked {
    background-color: #E4F0F1;   
    color: #FF1111;
}
.unlocked {
    background-color: #f1f1f1;
}
.btn-slideRedeem{
	display: none;
} 
.gift-detail-left.used{
	opacity: 0.1;
}
/* =========== my gift empty =========== */
.large-content {
    margin: 50px auto;
    max-width: 615px;
}
.large-content img{
	width: 364px;
	max-width: 100%;
}
.large-content h3{
	margin: 30px auto 70px;
}
/* =========== gift category =========== */
figure.gift-category{
	position: relative;
	margin-bottom: 20px;
}
figure.gift-category:hover {
    transform: scale(1.01, 1.01);
    transition: all 0.25s ease;
}
figure.gift-category img {
    max-width: 100%;
    width: 100%;
    border-radius: 15px;
}
figcaption.gift-category-brief {
    position: absolute;
    bottom: 0;
    padding: 0 15px;
}
figcaption.gift-category-brief h3{
	color: #fff;
	margin-bottom: 15px;
}
/* =========== 1200 =========== */
@media screen and (max-width: 1200px){
	figure.gift-list-item img {
		height: 110px;
	}
}
/* =========== 992 =========== */
@media screen and (max-width: 992px){
	.element-item {
	  width: 33.3333%;
	}
	.mygift-list .element-item {
	  width: 50%;
	}
	.select-level, .select-valid, .filter-gift {
		float: none;
	}
	.dropdown dt a span i.icon{
		display: inline-block;
	    float: left;
	    margin-right: 10px;
	    font-size: 16px;
	    height: 16px;
	}
	.gift-detail-left h3{
		margin: 0;
		position: relative;
		padding: 15px 115px 5px 10px;
	}
	.gift-detail-left h3 .btn-redeem{
	    position: absolute;
	    width: 110px;
	    left: auto;
	    margin-left: 0;
	    right: 5px;
	    top: 15px;
	    bottom: auto;
	}
	span.mobileBalance {
	    display: inline-block;
	}
	span.desktopBalance{
		display: none;
	}
	.gift-detail-left .btn-redeem {
	    margin-top: 0;
	    width: 100%;
	}
	.gift-detail-right{
		margin-top: 30px;
	}
	.gift-apply .gift-detail-left{
		text-align: center;
	}
	.gift-apply .gift-detail-right {
	    border-top: none;
	    padding-top: 0;
	    margin-top: 0;
	}
}
@media screen and (max-width: 767px){
	html{
		height: auto;
	}
	.element-item {
	  padding: 7.5px;
	}
	.select-level {
	    margin: 0 -16px;
	    width: calc(100% + 32px);;
	}
	ul.select-star-level li {
	    width: 25%;
	}
	.gift-list-row{
		margin: 7.5px;
	}
	.gift-points {
	    margin-top: 10px;
	    font-size: 14px;
	}
	figure.gift-list-item figcaption .btn-green,
	figure.gift-list-item figcaption .btn-greengift {
	    position: relative;
	    right: auto;
	    bottom: auto;
	    margin-top: 5px;
	    max-width: 100%;
	}
	.content-box {
	    padding: 0;
	    border-radius: 0;
	    box-shadow: none;
	    margin: 0 -15px;
	    position: relative;
	}
	.content-wrap{
		position: static;
	}
	.gift-detail-left img {
	    border-radius: 0;
	}
	.gift-detail-left h3 {
	    padding: 15px 140px 5px 25px;
	}
	.gift-detail-left h3 .btn-redeem {
	    right: 25px;
	}
	.gift-detail-left h4{
		padding: 15px 25px 5px;
	}
	.gift-detail-left .validDate {
	    margin: 5px 25px;
	}
	.gift-detail-right {
	    border-top: 1px solid #00AFAA;
	    padding: 30px 25px;
	}
	.star-wrap.star-wrap-detail {
	    margin: 10px 25px;
	}
	.gift-bar img {
	    margin-left: -15px;
	}
	.gift-apply .gift-detail-left img {
	    margin-top: 0px;
	    border-radius: 0;
	}
	.slider-wrap{
		padding: 0 15px;
	}
	.large-content {
	    margin: 0px auto;
	    max-width: 615px;
	    padding: 50px 15px;
	}
	figure.gift-list-item img {
		height: 60px;
	}
	.gift-detail {
	    font-size: 14px;
	    max-height: 32px;
	    height: 32px;
	}
	.large-content img{
		max-width: 85%;
	}
	h5.greenTips {
    	margin: 10px 0 0;
	}
	.remain-point {
	    left: 25px;
	    border-top-left-radius: 4px;
	}
}
@media screen and (max-width: 320px){
	.element-item {
	  width: 50%;
	}
}