.container:after,
.container:before {
  display: inherit;
  content: none;
}

.content-body {
  overflow: auto;
}

@media (min-width: 992px) {
  a {
    transition: all 0.1s ease-out;
  }
}

/* #region member section */
.member-wrapper-bg {
  background: linear-gradient(#f8f9fa 88%, transparent 12%);
}
@media (max-width: 767px) {
  .member-wrapper-bg {
    background-image: none;
    background-color: #f8f9fa;
    padding-bottom: 20px;
  }
}

.member-header.container {
  max-width: 100%;
}

.member-header .row,
.sub-section .row {
  align-items: center;
  justify-content: center;
}

/* member-header */
.member-header {
  text-align: center;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.member-header .user-pic {
  padding: 10px;
  width: 84px;
  margin: 0 auto;
}
@media (max-width: 425px) {
  .member-header .user-pic {
    padding: 0 5px;
    width: auto;
  }
}

.member-header .user-pic img {
  width: 64px;
  margin: auto;
  height: 64px;
  object-fit: cover;
}

.member-header .user-name {
  line-height: 32px;
  font-size: 20px;
  color: #212529;
  font-weight: 600;
  text-align: left;
  margin-left: -30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 425px) {
  .member-header .user-name {
    padding-right: 0;
  }
}

.member-header .user-login {
  text-align: right;
  font-size: 0;
  font-weight: 500;
}
@media (max-width: 425px) {
  .member-header .user-login {
    padding-right: 0;
  }
}

.member-header .afterlogin .user-login {
  display: none;
}

.member-header .user-login button {
  border-radius: 32px;
  font-size: 15px;
  color: #212529;
  line-height: 28px;
  border: 1px solid #9c9c9c;
  background-color: #f8f9fa;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 480px) {
  .member-header .user-login button {
    line-height: 36px;
    padding-left: 45px;
    padding-right: 45px;
    font-size: 17px;
  }
}

@media (min-width: 768px) {
  .member-header .afterlogin .login-setting {
    max-width: 600px;
  }
}

.member-header .afterlogin .login-setting .row {
  margin: 0 0 10px 0;
}
.member-header .afterlogin .login-setting .row::before {
  content: normal;
}

.member-header .afterlogin .login-setting .row div {
  padding: 5px;
}
@media (min-width: 576px) {
  .member-header .afterlogin .login-setting .row div {
    padding: 10px;
  }
}
@media (min-width: 768px) {
  .member-header .afterlogin .login-setting .row div {
    padding: 8px;
  }
}

.member-header .afterlogin .login-setting button {
  background-color: #d8d8d8;
  border-radius: 3px;
  border: 1px solid transparent;
  color: #212529;
  font-size: 15px;
  line-height: 28px;
  opacity: 1;
  padding: 5px;
  transition: all 0.4s ease-out;
  white-space: nowrap;
  width: 100%;
}
.member-header .afterlogin .login-setting button:hover {
  opacity: 0.8;
}

.member-header .afterlogin .login-setting button i {
  font-size: 16px;
}

.member-header .afterlogin .login-setting button span {
  padding-left: 5px;
  font-weight: 500;
}

.member-header .afterlogin .row {
  align-items: flex-start;
  justify-content: flex-start;
}

.member-header .afterlogin .user-name {
  margin-left: -15px;
}

@media (min-width: 768px) {
  .member-header .user-pic {
    width: 120px;
  }

  .member-header .user-pic img {
    width: 100px;
    height: 100px;
  }

  .member-header .user-login {
    text-align: right;
    font-size: 0;
    padding-bottom: 20px;
  }

  .member-header .user-name {
    text-align: center;
    margin-left: 0;
    padding-bottom: 15px;
  }

  .member-header .user-login button {
    line-height: 36px;
    padding-left: 45px;
    padding-right: 45px;
    font-size: 17px;
  }

  .member-header .afterlogin .row {
    justify-content: center;
  }

  .member-header .afterlogin .user-name {
    margin-left: 0;
  }

  .member-header .afterlogin .login-setting button {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 350px) {
  .member-header .user-pic img {
    width: 48px;
    height: 48px;
  }

  .member-header .user-name {
    font-size: 18px;
  }

  .member-header .user-login button {
    font-size: 13px;
  }
}

/* intro button */
.member-header .login-setting {
  padding-right: 10px;
  padding-left: 10px;
}

.member-header .logout-setting {
  padding-top: 8px;
  padding-bottom: 8px;
}

.member-header .logout-setting button:hover {
  opacity: 0.8;
}

.member-header .user-ufun {
  height: 32px;
  margin-top: 0; /* override margin-top */
  font-weight: 500; /* override inherit font-weight */
  text-align: left; /* Fix cursor width */
}
@media (min-width: 480px) {
  .member-header .user-ufun {
    height: 40px;
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .member-header .user-ufun {
    height: 60px;
    margin-top: 0;
  }
}

.member-header .user-ufun button {
  background-color: transparent;
  border-radius: 3px;
  border: 1px solid transparent;
  color: #212529;
  font-size: 15px;
  line-height: 28px;
  opacity: 1;
  padding: 5px;
  transition: all 0.4s ease-out;
  white-space: nowrap;
  width: 200px; /* Fix cursor width */
}
@media (max-width: 480px) {
  .member-header .user-ufun button {
    width: 100%; /* Fix cursor width */
  }
}

.member-header .afterlogin .login-setting .ufun button,
.member-header .user-ufun button {
  padding: 0;
  border: 0;
}

.member-header .user-ufun button .gradient-box {
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  max-width: 140px;
  height: 32px;
  position: relative;
  padding: 2px !important;
  box-sizing: border-box;
  color: #fff;
  background: transparent;
  background-clip: padding-box;
  border: solid 0px transparent;
  border-radius: 3px;
  background-image: linear-gradient(86.07deg, #f33d69 13.04%, #f37f2c 84.4%);
}
@media (min-width: 480px) {
  .member-header .user-ufun button .gradient-box {
    max-width: 200px;
    height: 40px;
  }
}

.member-header .user-ufun button .border-box {
  border: solid 2px #fff;
  background-clip: content-box;
  background-color: #fff;
  border-radius: 3px;
  background-image: linear-gradient(86.07deg, #f33d69 13.04%, #f37f2c 84.4%);
  position: absolute;
  top: 2px;
  left: 2px;
  height: 28px;
  width: calc(100% - 4px);
  padding: 0 !important;
}
@media (min-width: 480px) {
  .member-header .user-ufun button .border-box {
    height: 36px;
  }
}

.member-header .user-ufun button span {
  padding-left: 0px;
  text-shadow: 0px 0px 2px rgb(0 0 0 / 40%);
  font-size: 14px;
  line-height: 24px;
  vertical-align: top;
}
@media (min-width: 480px) {
  .member-header .user-ufun button span {
    font-size: 15px;
    line-height: 30px;
    vertical-align: unset;
  }
}

.login-setting .ufun button .gradient-box {
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  max-width: 129px;
  height: 40px;
  position: relative;
  padding: 2px !important;
  box-sizing: border-box;
  color: #fff;
  background: transparent;
  background-clip: padding-box;
  border: solid 0px transparent;
  border-radius: 3px;
  background-image: linear-gradient(86.07deg, #f33d69 13.04%, #f37f2c 84.4%);
}
@media (max-width: 767px) {
  .login-setting .ufun button .gradient-box {
    max-width: unset;
  }
}

.login-setting .ufun button .border-box {
  border: solid 2px #fff;
  background-clip: content-box;
  background-color: #fff;
  border-radius: 3px;
  background-image: linear-gradient(86.07deg, #f33d69 13.04%, #f37f2c 84.4%);
  position: absolute;
  top: 2px;
  left: 2px;
  height: 36px;
  width: calc(100% - 4px);
  padding: 0 !important;
}
@media (max-width: 767px) {
  .login-setting .ufun button .border-box {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 36px;
    width: calc(100% - 4px);
    padding: 0 !important;
  }
}

.login-setting .ufun button span {
  padding-left: 0px;
  text-shadow: 0px 0px 2px rgb(0 0 0 / 40%);
  font-size: 15px;
  line-height: 30px;
}

/* sub-section */
.sub-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 25%);
  margin-bottom: 20px;
  max-width: 574px;
  padding: 20px 10px;
}
@media (max-width: 767px) {
  .sub-section {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%);
    margin: 5px 15px 0;
    max-width: 95%;
    padding: 15px 6px;
  }
}
@media (max-width: 425px) {
  .sub-section {
    margin: 5px 10px 0;
  }
}

.sub-section .afterlogin {
  margin-right: -10px;
  margin-left: -10px;
}

.sub-section .afterlogin p {
  margin-bottom: 0;
}

.sub-section .speaker {
  padding-right: 5px;
}

.sub-section .icon-speaker {
  height: 50px;
  margin: auto;
  padding: 3px;
  width: 50px;
}
@media (max-width: 767px) {
  .sub-section .icon-speaker {
    padding: 5px 10px 5px 0;
  }
}
@media (max-width: 576px) {
  .icon-speaker {
    padding: 5px;
  }
}

.sub-section .notice-text {
  color: #212529;
  font-size: 15px;
  font-weight: 400;
  padding-left: 5px;
  text-align: left;
}
@media (max-width: 425px) {
  .sub-section .notice-text {
    font-size: 14px;
  }
}

.sub-section .member-text a {
  display: inline-block;
  width: auto;
  height: auto;
  text-align: center;
  margin-top: 0;
  padding: 5px 5px 0;
  border-radius: 10px;
  color: #fff;
}

.sub-section .afterlogin a img {
  display: inline-block;
  width: 24px;
  height: auto;
}
/* #endregion */

/* #region tab selector */
.member-carousel {
  border-bottom: 1px solid #e0e0e0;
  float: inherit;
  height: 80px;
}
@media (min-width: 576px) {
  .member-carousel {
    height: 70px;
  }
}
@media (min-width: 768px) {
  .member-carousel {
    height: 60px;
  }
}

@media (max-width: 767px) {
  .member-carousel .container {
    padding-right: 0;
    padding-left: 0;
    margin-top: 15px;
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .member-carousel .container {
    padding-right: 0;
    padding-left: 0;
  }
}

.member-select {
  padding: 0;
  min-height: 60px;
}

.member-select .owl-carousel .owl-stage-outer {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
@media (max-width: 767px) {
  .member-select .owl-carousel .owl-stage-outer {
    padding-right: 0;
    padding-left: 0;
  }
}
@media (max-width: 575px) {
  .member-select .owl-carousel .owl-stage-outer {
    padding-right: 0;
    padding-left: 0;
  }
}

.member-select .owl-carousel .owl-stage {
  margin: auto;
  max-width: max-content;
}
@media (min-width: 595px) {
  .member-select .owl-carousel .owl-stage {
    max-width: 594px;
  }
  .member-select .owl-carousel .owl-item {
    width: 198px !important;
  }
}

.member-select .owl-carousel .owl-nav .disabled {
  display: none;
}

.member-select .owl-carousel .owl-item > div {
  cursor: pointer;
  margin: 6% 8%;
  -webkit-transition: margin 0.4s ease;
  -o-transition: margin 0.4s ease;
  transition: margin 0.4s ease;
}

.member-select .owl-carousel .owl-item.center > div {
  cursor: auto;
  margin: 0;
}

.member-select .owl-carousel .owl-item:not(.center) > div:hover {
  opacity: 0.75;
}

ul.member-tab-selector {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
}

ul.member-tab-selector li {
  margin: 0;
  padding: 0;
  list-style: none;
  float: none;
}

ul.member-tab-selector li.item {
  width: 198px;
  text-align: center;
}
@media (max-width: 992px) {
  ul.member-tab-selector li.item {
    width: 172.5px;
  }
}
@media (max-width: 575px) {
  ul.member-tab-selector li.item {
  }
}
@media (max-width: 425px) {
  ul.member-tab-selector li.item {
  }
}
@media (max-width: 375px) {
  ul.member-tab-selector li.item {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
}

ul.member-tab-selector li a {
  color: #383212;
  font-size: 16px;
  padding: 7px 18px 8px;
  line-height: 25px;
}
ul.member-tab-selector li a.active {
  border-bottom: 2px solid transparent;
}

ul.member-tab-selector li a:hover {
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 425px) {
  ul.member-tab-selector li a {
    font-size: 15px;
    padding: 7px 14px 7px;
    line-height: 22px;
  }
}

.member-select li img {
  width: 28px;
  height: 28px;
  display: inline-block;
  margin-top: 2px;
}

.member-select li div {
  position: relative;
}
@media (max-width: 575px) {
  .member-select li div {
    width: 100%;
    height: 28px;
    margin-bottom: 5px;
  }
}
@media (max-width: 425px) {
  .member-select li div {
    margin-bottom: 0;
  }
}
.member-select li a div:before {
  content: "";
  background-image: url(/res/images/ufun_inact.png);
  position: absolute;
  width: 28px;
  height: 28px;
  background-size: 28px;
  background-repeat: no-repeat;
  top: 0;
  left: 28px;
  margin-top: 2px;
}
@media (max-width: 992px) {
  .member-select li a div:before {
    left: 8px;
  }
}
@media (max-width: 575px) {
  .member-select li a div:before {
    width: 100%;
    margin-top: 0;
    left: 0;
    background-position-x: center;
  }
}

.member-select li span {
  padding-left: 37px;
  vertical-align: middle;
}
@media (max-width: 575px) {
  .member-select li span {
    padding-left: 0;
  }
}

.member-select li .item-tag {
  display: block;
  color: #5d5d5d;
  font-size: 18px;
  font-weight: 400;
  padding: 14px 16px 16.46px;
  border-bottom: 2px solid transparent;
}
@media (max-width: 767px) {
  .member-select li .item-tag {
    font-size: 17px;
    padding: 14px 8px 14.46px;
  }
}
@media (max-width: 575px) {
  .member-select li .item-tag {
    padding-top: 3px;
    padding-bottom: 0.46px;
    padding-left: 15%;
    padding-right: 15%;
  }
}
@media (max-width: 425px) {
  .member-select li .item-tag {
    font-size: 15px;
    padding: 8px 5px 4.14px;
  }
}
@media (max-width: 375px) {
  .member-select li .item-tag {
    padding: 8px 5px 4.14px;
  }
}
@media (max-width: 374px) {
  .member-select li .item-tag {
    font-size: 15px;
  }
}
.member-select li .item-tag:focus {
  text-decoration: none;
}

/* item options */
.member-select a.ujetso.active {
  color: #f54c53 !important;
  font-weight: 500 !important;
  border-bottom: 2px solid #f54c53 !important;
}
.member-select a.ujetso:hover {
  color: #f54c53 !important;
  font-weight: 500;
}

.member-select a.ujetso div:before {
  background-image: url(/res/images/ufun_inact.png) !important;
}
.member-select a.ujetso.active div:before,
.member-select a.ujetso:hover div:before {
  background-image: url(/res/images/ufun.png) !important;
}

.member-select a.campaign.active {
  color: #c069d8 !important;
  font-weight: 500 !important;
  border-bottom: 2px solid #c069d8 !important;
}
.member-select a.campaign:hover {
  color: #c069d8 !important;
  font-weight: 500;
}

.member-select a.campaign div:before {
  background-image: url(/res/images/campaign_inact.png) !important;
}
.member-select a.campaign.active div:before,
.member-select li a.campaign:hover div:before {
  background-image: url(/res/images/campaign.png) !important;
}

.member-select a.newsletter.active {
  color: #5bcbce !important;
  font-weight: 500 !important;
  border-bottom: 2px solid #5bcbce !important;
}
.member-select a.newsletter:hover {
  color: #5bcbce !important;
  font-weight: 500;
}

.member-select a.newsletter div:before {
  background-image: url(/res/images/newsletter_inact.png) !important;
}
.member-select a.newsletter.active div:before,
.member-select a.newsletter:hover div:before {
  background-image: url(/res/images/newsletter.png) !important;
}

.member-select a.uflip.active {
  color: #4c2a85 !important;
  font-weight: 500 !important;
  border-bottom: 2px solid #4c2a85 !important;
}
.member-select a.uflip:hover {
  color: #4c2a85 !important;
  font-weight: 500;
}

.member-select a.uflip div:before {
  background-image: url(/res/images/uflip_inact.png) !important;
}
.member-select a.uflip.active div:before,
.member-select a.uflip:hover div:before {
  background-image: url(/res/images/uflip.png) !important;
}

/* SHIFT effect */
.shift ul li a {
  position: relative;
  z-index: 1;
  -webkit-transition: transform 200ms ease-in-out;
  -o-transition: transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out;
}

.shift ul li a:hover {
  color: #fff;
}

.shift ul li a:after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  content: "";
  color: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  z-index: -1;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  transform-origin: 0% 50%;
}

.shift ul li a.active:after {
  display: none;
}

.shift ul li a:hover:after,
.shift ul li a:focus:after {
  height: 100%;
  transform: scaleX(1);
}

.shift ul li a.ujetso:hover:after {
  border-bottom: 2px solid #f54c53 !important;
}

.shift ul li a.campaign:hover:after {
  border-bottom: 2px solid #c069d8 !important;
}

.shift ul li a.newsletter:hover:after {
  border-bottom: 2px solid #5bcbce !important;
}

.shift ul li a.uflip:hover:after {
  border-bottom: 2px solid #4c2a85 !important;
}
/* #endregion */

/* #region channel filter */
.channel-wrapper {
  margin: 5px auto;
  padding: 0 5px;
}

.channel-wrapper .container {
  max-width: 100%;
}
@media (min-width: 768px) {
  .channel-wrapper .container {
    width: 100%;
  }
}
@media (min-width: 1170px) {
  .channel-wrapper .container {
    width: 100%;
    max-width: 1170px;
  }
}

.channel-wrapper .nav-tabs {
  border-bottom: none;
  margin-left: -10px;
  margin-right: -10px;
}
@media (max-width: 524px) {
  .channel-wrapper .nav-tabs {
    margin-left: -20px;
    margin-right: -20px;
  }
}

.member-tab-selector,
.channel-nav-carousel {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
}

.channel-nav-carousel:not(.owl-loaded) {
  margin: 15px auto;
}

.channel-nav-carousel:not(.owl-loaded) .item {
  margin-right: 10px;
  min-width: fit-content;
}

.channel-wrapper .owl-stage {
  margin: 15px auto;
  max-width: 750px;
  padding-left: 10px;
  padding-right: 10px;
}

#tab-content[data-tab="reward"] .channel-wrapper .owl-stage {
  max-width: 700px;
}

#tab-content[data-tab="uflip"] .content-body #ebook:before {
  left: 0;
  top: auto;
  background-position: top;
  background-size: 100%;
}

.channel-wrapper .owl-theme .owl-nav,
.channel-wrapper .owl-theme .owl-dots {
  display: none;
}

.channel-wrapper .owl-carousel.owl-drag .owl-item:last-child {
  margin-right: 0 !important;
}

.channel-wrapper .item li {
  background-color: #e0e0e0;
  border-radius: 14px;
  text-align: center;
  padding: 0;
}

.channel-wrapper .item li.all.active {
  background-color: #dcabad;
}

.channel-wrapper .item li.ul.active {
  background-color: #4e45a3;
}

.channel-wrapper .item li.uhk.active {
  background-color: #197cbc;
}

.channel-wrapper .item li.utravel.active {
  background-color: #65b145;
}

.channel-wrapper .item li.ufood.active {
  background-color: #ec9729;
}

.channel-wrapper .item li.ubeauty.active {
  background-color: #ea5c81;
}

.channel-wrapper .item li.ublog.active {
  background-color: #e2b486;
}

.channel-wrapper .item li a {
  height: 28px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 400;
  color: #212529;
  padding: 4px 21px;
  display: block;
  cursor: pointer;
}

.channel-wrapper .item li.active a {
  font-weight: 500;
  color: #fff;
}

@media (max-width: 524px) {
  .channel-nav-carousel.owl-carousel.owl-loaded:before {
    content: "";
    position: absolute;
    left: 0;
    width: 5%;
    height: 58px;
    background: linear-gradient(to left, transparent, white 50%);
    z-index: 2;
    margin-left: -10px;
  }
  .channel-nav-carousel.owl-carousel.owl-loaded:after {
    content: "";
    position: absolute;
    right: 0;
    width: 10%;
    height: 58px;
    background: linear-gradient(to right, transparent, white 50%);
    z-index: 2;
    margin-right: -15px;
  }
}
/* #endregion */

/* #region reward filter */
.filter-wrapper {
  margin-top: 5px;
}

.filter-wrapper .dropdown {
  padding: 1.28rem;
}

.filter-wrapper .dropdown.tag {
  padding-right: 6px;
  padding-left: 18px;
}

.filter-wrapper .dropdown.type {
  padding-left: 6px;
  padding-right: 18px;
}

.filter-wrapper .btn {
  font-size: 13px;
  text-align: left;
  padding: 6px 15px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: #212529;
  position: relative;
  padding-right: 33px;
  width: 100%;
}

.filter-wrapper .dropdown-menu-item {
  background: #fff;
}
.filter-wrapper .dropdown-menu-item > a {
  color: #212529;
}

.filter-wrapper .dropdown-menu-item.selected {
  background: #f54c53;
}
.filter-wrapper .dropdown-menu-item.selected > a {
  color: #fff;
}
.filter-wrapper .dropdown-menu-item.selected > a:hover {
  background: #dcabad;
}

.filter-wrapper .fa-angle-down {
  font-size: 16px;
  line-height: 19px;
  position: absolute;
  right: 15px;
}

.filter-wrapper .btn-primary:active,
.filter-wrapper .btn-primary.active,
.filter-wrapper .open > .dropdown-toggle.btn-primary {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: #212529;
}

.filter-wrapper .btn-primary:active:hover,
.filter-wrapper .btn-primary.active:hover,
.filter-wrapper .open > .dropdown-toggle.btn-primary:hover,
.filter-wrapper .btn-primary:active:focus,
.filter-wrapper .btn-primary.active:focus,
.filter-wrapper .open > .dropdown-toggle.btn-primary:focus,
.filter-wrapper .btn-primary:active.focus,
.filter-wrapper .btn-primary.active.focus,
.filter-wrapper .open > .dropdown-toggle.btn-primary.focus {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: #212529;
}

.filter-wrapper .btn-primary:focus-visible,
.filter-wrapper .open > .dropdown-toggle.btn-primary:focus-visible {
  outline: none;
}
.filter-wrapper .btn:focus,
.filter-wrapper .btn:active:focus,
.filter-wrapper .btn.active:focus,
.filter-wrapper .btn.focus,
.filter-wrapper .btn:active.focus,
.filter-wrapper .btn.active.focus {
  outline: none;
  outline-offset: 0;
}

.filter-wrapper .btn:active,
.filter-wrapper .btn.active {
  box-shadow: none;
}

.filter-wrapper .dropdown .dropdown-menu {
  margin: -1.28rem 6px 0;
  font-size: 13px;
}
@media (max-width: 1169px) {
  .filter-wrapper .dropdown .dropdown-menu {
    min-width: 208.5px;
  }
}

.filter-wrapper .dropdown.tag .dropdown-menu {
  right: 0;
  left: inherit;
}

.filter-wrapper .dropdown.type .dropdown-menu {
  left: 0;
}

.filter-wrapper .dropdown-menu > li > a {
  text-align: left;
  padding: 3px 15px;
  color: #212529;
  cursor: pointer;
}

@media (max-width: 991px) {
  .filter-wrapper .dropdown.tag,
  .filter-wrapper .dropdown.type {
    padding: 1.28rem;
  }

  .filter-wrapper .dropdown.dropdown.tag .dropdown-menu {
    left: 7px;
    right: 7px;
    width: calc(100% - 25px);
    min-width: unset;
  }

  .filter-wrapper .dropdown.type .dropdown-menu {
    left: 6px;
    width: calc(100% - 25px);
    min-width: unset;
  }
}

.filter {
  width: 100%;
}
@media (min-width: 768px) {
  .filter {
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .filter {
    max-width: 960px;
  }
}
@media (min-width: 1170px) {
  .filter {
    max-width: 1170px;
  }
}
/* #endregion */

/* #region list */
.member-list {
  position: relative;
}

.member-list .empty-list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 210px;
  width: 100vw;
}

.member-list__overlay {
  display: none;
  position: absolute;
  z-index: 19;
  left: -15px;
  top: 0;
  width: calc(100% + 30px);
  height: 100%;
  opacity: 0.7;
  background: white url(/res/images/ajax-loader.gif) center 100px no-repeat;
}

.member-list .row::before,
.member-list .row::after {
  content: normal; /* Fix safari grid layout.*/
}
/* #endregion */

/* #region card bootstrap */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  /* border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 4px; */
  box-shadow: rgb(100 100 111 / 20%) 1px 1px 7px 0px;
  border-radius: 6.48px;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(4px - 1px);
  border-top-right-radius: calc(4px - 1px);
}

.card-detail {
  /* border-top: 4px solid #f9d400; */
  border-top: 4px solid transparent;
  padding: 5px 10px 0 10px;
}

.card-title {
  margin: 0;
  height: 47px;
  min-height: 47px;
}

.card-detail .card-title a {
  padding: 4px 0;
}
/* #endregion card bootstrap */

/* #region list item */
.card-wrapper {
  padding: 1.28rem;
}

.card-hk .card-detail {
  border-top: 4px solid #f9d400;
}

.card-travel .card-detail {
  border-top: 4px solid #fca883;
}

.card-food .card-detail {
  border-top: 4px solid #ec9729;
}

.card-beauty .card-detail {
  border-top: 4px solid #59c9bd;
}

.card-blog .card-detail {
  border-top: 4px solid #e2b486;
}

.wide-ratio {
  position: relative;
  overflow: hidden;
}

.wide-ratio:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.card img {
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 0;
}

.card-img-top {
  transition: all 0.15s ease-out;
}

.card:hover > a img.card-img-top {
  -webkit-transform: scale(1.045);
  -ms-transform: scale(1.045);
  transform: scale(1.045);
  width: 100% !important;
}

.card.card-reward .card-img-top {
  height: 100%;
  width: auto;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.card.card-reward:hover > a img.card-img-top {
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 104%;
  width: auto !important;
}

.card-ufun {
  display: inline-block;
  width: 100%;
}

.reward .card-detail .card-tag a {
  /* color: #197cbc; */
  color: #3087d9;
  word-wrap: break-word;
  text-overflow: ellipsis;
}

.card-ufun .points {
  float: right;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-ufun.card-ufun__cost .points {
  max-width: 27%;
}
.card-ufun.card-ufun__cash .points {
  max-width: 40%;
}

.card-ufun .points img {
  width: 20px;
  padding-bottom: 2px;
  display: inline-block;
  position: inherit;
  top: unset;
}

.card-ufun .points span {
  padding-left: 3px;
  color: #f54c53;
}

.card-detail .card-title {
  margin: 0;
  height: 47px;
  min-height: 47px;
  overflow: hidden;
  line-height: 24px;
  font-size: 20px;
  width: 100%;
}

.reward .card-detail .card-title {
  margin-bottom: 8px;
}

.card-detail .card-tag {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 19.2px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-detail .card-tag a {
  /* color: #197cbc; */
  color: #3087d9;
  font-size: 16px;
}

.card-hk .card-detail .card-tag a {
  color: #197cbc;
}

.card-travel .card-detail .card-tag a {
  color: #65b145;
}

.card-food .card-detail .card-tag a {
  color: #28a745;
}

.card-beauty .card-detail .card-tag a {
  color: #ea5c81;
}

.card-blog .card-detail .card-tag a {
  color: #0c70a2;
}

.card-detail .card-title a {
  font-size: 17px;
  color: #505050;
  padding: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-detail .card-tag a:hover,
.card-detail .card-title a:hover {
  text-decoration: none;
}

.card-detail .card-info {
  display: inline-block;
  width: 100%;
  height: 24px;
}

.card-detail .card-info .time {
  float: right;
  color: #757575;
  font-size: 12px;
  line-height: 24px;
  font-weight: 400;
  position: relative;
}

.card-detail .card-info .recruit {
  position: absolute;
  left: -52px;
  top: 0.5px;
  height: 24px;
  padding: 3.4px;
}

.card.card-reward .card-detail:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  /* background: linear-gradient(to left, #ff8a01, #ff3383); */
  top: -4px;
  left: 0;
}

.card.card-reward .card-ufun .card-tag {
  float: left;
  line-height: 1.3;
  margin-bottom: 4px;
  margin-top: 0;
  font-size: 16px;
  overflow: hidden;
  height: 42px;
  min-height: 42px;
}
.card.card-reward .card-ufun.card-ufun__cost .card-tag {
  width: 73%;
}
.card.card-reward .card-ufun.card-ufun__cash .card-tag {
  width: 60%;
}

.card.card-reward .card-detail .card-tag a {
  color: #555;
  font-weight: 400;
}

.card.card-reward .card-detail .card-title a {
  color: #353535;
}

.card-detail.no-information {
  padding-bottom: 10px;
}

.item-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  color: #fff;
}

.item-overlay.item-overlay__out-of-stock-ufun {
  background-color: rgba(136, 136, 136, 0.8);
}

.item-overlay.item-overlay__out-of-stock-cash {
  background-color: rgba(152, 152, 152, 0.8);
}

.item-overlay.item-overlay__previewable {
  background-color: rgba(102, 156, 220, 0.8);
}

.item-overlay span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

@media (min-width: 992px) {
  .card.card-reward:hover > a div .card-img-top {
    height: 104%;
    width: auto !important;
    transition: all 0.15s ease-in;
    opacity: 0.9;
  }

  .card-hk .card-detail .card-tag a:hover {
    color: #f9d400 !important;
    text-decoration: none;
  }

  .card.card-hk:hover > div .card-title a {
    color: #f9d400 !important;
    text-decoration: none;
  }

  .card-travel .card-detail .card-tag a:hover {
    color: #65b145 !important;
    text-decoration: none;
  }

  .card.card-travel:hover > div .card-title a {
    color: #65b145 !important;
    text-decoration: none;
  }

  .card-food .card-detail .card-tag a:hover {
    color: #ec9729 !important;
    text-decoration: none;
  }

  .card.card-food:hover > div .card-title a {
    color: #ec9729 !important;
    text-decoration: none;
  }

  .card-beauty .card-detail .card-tag a:hover {
    color: #59c9bd !important;
    text-decoration: none;
  }

  .card.card-beauty:hover > div .card-title a {
    color: #59c9bd !important;
    text-decoration: none;
  }

  .card-blog .card-detail .card-tag a:hover {
    color: #606060 !important;
    text-decoration: none;
  }

  .card.card-blog:hover > div .card-title a {
    color: #606060 !important;
    text-decoration: none;
  }
}
/* #endregion */

.member-list__wrapper .card-detail {
  position: relative;
  border-top: 4px solid transparent;
}

/*
.member-list__wrapper[data-channel="uhk"] .card.card-campaign .card-detail {
	border-top: 4px solid #f9d400;
}

.member-list__wrapper[data-channel="utravel"] .card.card-campaign .card-detail {
	border-top: 4px solid #fca883;
}

.member-list__wrapper[data-channel="ufood"] .card.card-campaign .card-detail {
	border-top: 4px solid #ec9729;
}

.member-list__wrapper[data-channel="ubeauty"] .card.card-campaign .card-detail {
	border-top: 4px solid #59c9bd;
}

.member-list__wrapper[data-channel="ublog"] .card.card-campaign .card-detail {
	border-top: 4px solid #e2b486;
}

.member-list__wrapper[data-channel="uhk"] .card.card-newsletter .card-detail {
	border-top: 4px solid #f9d400;
}

.member-list__wrapper[data-channel="utravel"] .card.card-newsletter .card-detail {
	border-top: 4px solid #fca883;
}

.member-list__wrapper[data-channel="ufood"] .card.card-newsletter .card-detail {
	border-top: 4px solid #ec9729;
}

.member-list__wrapper[data-channel="ubeauty"] .card.card-newsletter .card-detail {
	border-top: 4px solid #59c9bd;
}

.member-list__wrapper[data-channel="ublog"] .card.card-newsletter .card-detail {
	border-top: 4px solid #e2b486;
}

.member-list__wrapper[data-channel="uhk"] .card-detail .card-tag a {
	color: #197cbc;
}

.member-list__wrapper[data-channel="utravel"] .card-detail .card-tag a {
	color: #65b145;
}

.member-list__wrapper[data-channel="ufood"] .card-detail .card-tag a {
	color: #28a745;
}

.member-list__wrapper[data-channel="ubeauty"] .card-detail .card-tag a {
	color: #ea5c81;
}

.member-list__wrapper[data-channel="ublog"] .card-detail .card-tag a {
	color: #0c70a2;
}
*/
