.ts_reward_gal {
display: flex;
}
.ts_reward_item {
border: 1px solid #fff; margin: 5px;;
margin: 5px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.ts_reward_item.active{
background-color:#fff;
}
.ts_reward_img {
flex-direction: column;
/* display: flex; */
width: 200px;
padding: 20px 10px;
}
.ts_reward_cnt {
display: none;
width: 65%;
font-size: .9rem;
padding: 20px;
display: none;

}
.ts_reward_filter {
display: flex;
flex-wrap: wrap;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
margin-bottom: 10px;
}
.ts_reward_filter_item {
padding: 10px;
width: 20%;
font-size: 80%;
text-align: center;
border: 1px solid #eee;
border-radius: 5px;
margin: 5px;
}
.ts_reward_filter_item img {
width: 60%;
}
.ts_reward_filter_item span {
display: inline-block;
padding: 10px;
padding-bottom: 0;
}
.ts_reward_cnt h4{
margin-bottom:15px;
}
.ts_reward_cnt span {
color: #8c8c8c;
padding: 5px;
}
.ts_btn_cont {
display: flex;
}
.ts_reward_btn {
display: inline-block;
color: #000 !important;
padding: 0 !important;
margin: 5px 0px;
}
.ts_btns {
max-width: 33%;
}
.ts_btn_cont a{
padding: 10px 15px;
text-decoration:none;
 border-width:1px;
  color:#ffffff;
border-color:#124d77;
  border-top-left-radius:3px;
  border-top-right-radius:3px;
  border-bottom-left-radius:3px;
  border-bottom-right-radius:3px;
  box-shadow:inset 0px 1px 0px 0px #54a3f7;
  text-shadow:inset 0px 1px 0px #154682;
  background:linear-gradient(#007dc1, #0061a7);
}
.ts_btn_cont a:hover {
  background: linear-gradient(#0061a7, #007dc1);
}

.close {
position: relative;
/* right: 0; */
float: right;
top: -4px;
width: 32px;
height: 32px;
opacity: 0.3;
cursor: pointer;
/* color: red !important; */
}
.close:hover {
opacity: 1;
}
.close:before, .close:after {
position: absolute;
left: 15px;
content: ' ';
height: 30px;
width: 2px;
background-color: #f00;
}
.close:before {
transform: rotate(45deg);
}
.close:after {
transform: rotate(-45deg);
}

.badge-promo {
  position: relative;
  display: inline-block;
  
  max-height: 60px;
  margin-bottom: -8px;
  z-index: 1;
  padding: 0px 14px;
  border-radius: 2px 2px 0 0;
  color: #fff;
  text-align: left;
}
/*.badge-promo:before, .badge-promo:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
}
.badge-promo:before {
  background: #a5daff;
  height: 100%;
  width: 110%;
  transform-origin: bottom right;
  transform: rotate(1deg);
}
.badge-promo:after {
  background: #3fb0ff;
  transform: rotate(-3deg);
  transform-origin: bottom left;
  height: 100%;
  width: 110%;
}
*/
.badge-promo-content {
  position: relative;
  z-index: 1;
  font-family: sans-serif;
  font-size: 18px;
  background-color: #006699;
padding: 7px 10px 7px 10px;
border-radius: 3px;
box-shadow: 2px 2px 2px #000;
}
.ts_reward_filter_item {
border: 1px solid #808080;
	width:calc(100% * (1/7));
	max-width: 100%;
}
.ts_reward_filter_item img {
width: 65%;
}
.ts_reward_item {
border: 1px solid #006699;

align-items: center;
align-content: center;
}
.ts_reward_img {
align-content: center;
align-items: center;
text-align: center;
}
.ts_reward_img img {
max-width: 150px;
margin-bottom: 0;
}
.ts_reward_cnt {

width: 80%;
font-size: 1.5rem;
padding: 20px;

}
.ts_reward_item.active {
background-color: #ebf1f6;
}
.ts_reward_cnt h4 span {
	font-size:75%;
}
.ts_btns {

width: 33%;
max-width: 200px;

padding: 10px;
}
.ts_reward_btn {
	margin: 10px 0px;
	width: 100%;
}
@media only screen and (max-width: 767px){
	.ts_reward_filter_item {
		max-width:100%;
		width:45%;
	}
	.ts_reward_img {
		width:99%;
	}
	.ts_btn_cont{
		flex-direction:column;
	}
	.ts_btns {
		max-width:100%;
		width: 100%;
	}
	.ts_reward_item {
position: relative;
}
	.ts_reward_cnt .close {
position: absolute;
top: 0;
right: 0;
}
	
}