.promotion-popup .mfp-container {
  height: auto;
}

.promotion-popup .mfp-content {
  width: 100%;
  max-width: 1170px;
  max-height: none !important;

  margin: 50px 0;
}

.promotion-popup .mfp-content h3,
.promotion-popup .mfp-content h4,
.promotion-popup .mfp-content h5,
.promotion-popup .mfp-content p {
  font-family: "notosansthai", sans-serif;
}

.promotion-popup .mfp-content h3,
.promotion-popup .mfp-content h4,
.promotion-popup .mfp-content h5 {
  font-weight: bold;
}

.promotion-popup .mfp-content .mfp-close {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background: #00A850;
  color: #fff;
  text-align: center;
  position: absolute;
  top: -15px !important;
  right: -15px !important;
  z-index: 1;
  opacity: 1;
}

.promotion-popup .mfp-content .mfp-close:after {
  font-size: 12px;
  font-weight: bold;
}

.promotion-popup .mfp-content .container,
.promotion-popup .mfp-content .container-md {
  position: relative;
  padding: 0;
}

.promotion-popup .mfp-content .promotion-header {
  position: relative;
  padding: 30px 0;

  background: url(/SiteCollectionDocuments/kcc/img/ptt-x-popup-bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-bottom: solid 5px #00A950;
}

.promotion-popup .mfp-content .promotion-header h3 {
  font-size: 20px;
  font-weight: bold;
  color: #00A950;

  margin-top: 0;
  margin-bottom: 10px;
}

.promotion-popup .mfp-content .promotion-header p {
  font-size: 16px;
  font-weight: normal;
  color: #333333;

  margin: 0;
}

.promotion-popup .mfp-content .promotion-header p:last-child {
  font-size: 14px;
  margin-top: 10px;
}

.promotion-popup .mfp-content .promotion-content {
  padding: 30px 0;

  font-size: 16px;
  line-height: 24px;
}

.promotion-popup .mfp-content .promotion-content .hr {
  display: block;
  margin: 30px 0;

  width: 100%;
  height: 1px;
  background-color: #E2E2E2;
}

.promotion-popup .mfp-content .promotion-content .action {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.promotion-popup .mfp-content .promotion-content .action.sm {
  margin-top: 15px;
}

.promotion-popup .mfp-content .promotion-content .btn {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 0 50px;
  max-width: 100%;
  height: 40px;
  line-height: 40px;
  border-radius: 25px;
  border: 0;
  color: #fff;
  cursor: pointer;

  background: #40AF55;
  background: -moz-linear-gradient(left, #40AF55 0%, #7BD499 100%);
  background: -webkit-linear-gradient(left, #40AF55 0%, #7BD499 100%);
  background: linear-gradient(to right, #40AF55 0%, #7BD499 100%);
}

.promotion-popup .mfp-content .promotion-content .products {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.promotion-popup .mfp-content .promotion-content .products .product {
  display: flex;
  flex-direction: row;
  align-items: center;

  position: relative;

  width: 480px;
  padding: 15px;
}

.promotion-popup .mfp-content .promotion-content .products .product:not(:last-child) {
  margin-bottom: 0;
  margin-right: 15px;
}

.promotion-popup .mfp-content .promotion-content .products .product:before {
  content: "";
  position: absolute;
  z-index: 10;

  width: calc(100% - 45px);
  height: 100%;
  top: 0;
  right: 0;

  background: #014DE3;
  border-radius: 10px;
}

.promotion-popup .mfp-content .promotion-content .products .product:first-child:before {
  background: -moz-linear-gradient(-45deg, #014DE3 0%, #268AFF 100%);
  background: -webkit-linear-gradient(-45deg, #014DE3 0%, #268AFF 100%);
  background: linear-gradient(135deg, #014DE3 0%, #268AFF 100%);
}

.promotion-popup .mfp-content .promotion-content .products .product:last-child:before {
  background: -moz-linear-gradient(-45deg, #268AFF 0%, #014DE3 100%);
  background: -webkit-linear-gradient(-45deg, #268AFF 0%, #014DE3 100%);
  background: linear-gradient(135deg, #268AFF 0%, #014DE3 100%);
}

.promotion-popup .mfp-content .promotion-content .products .product .image,
.promotion-popup .mfp-content .promotion-content .products .product .caption {
  position: relative;
  z-index: 20;
}

.promotion-popup .mfp-content .promotion-content .products .product .image {
  min-width: 160px;
  max-width: 160px;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption {
  padding-left: 15px;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption h5 {
  display: inline-block;
  color: white;
  background: #F66262;
  padding: 0 10px;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption > p {
  color: white;
  margin: 10px 0;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points {
  display: flex;
  flex-direction: row;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point:first-child:before {
  content: "หรือ";
  position: absolute;
  z-index: 20;
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 50%;
  background: white;

  font-family: "notosansthai", sans-serif;
  font-weight: bold;
  font-size: 11px;
  color: #1771F3;
  text-align: center;

  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point:first-child:after {
  content: "";
  position: absolute;
  z-index: 10;
  width: 1px;
  height: 100%;
  top: 0;
  right: 27px;

  background: rgba(255, 255, 255, 0.3);
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point {
  width: 100%;
  position: relative;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point h6 {
  font-family: "notosansthai", sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: white;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point p {
  font-family: "notosansthai", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point p > span {
  font-size: 14px;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul {
  display: flex;
  flex-direction: row;
  padding: 0;
  margin: 0;
  list-style: none;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point .flip {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point .flip > p {
  font-size: 14px;
  font-weight: bold;
  color: white;

  margin-left: 7px;
  margin-top: 2px;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li {
  position: relative;
  padding: 0;
  margin: 0;

  text-align: center;

  background: #ABDDFD;
  border-radius: 4px;
  min-width: 20px;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li span {
  display: inline-block;
  font-family: "notosansthai", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #222222;
  line-height: 1.2;
  margin-top: 2px;

  position: relative;
  z-index: 20;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li:before {
  content: "";
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;

  background: #014DE3;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li:not(:last-child):after {
  content: "";
  position: absolute;
  width: 1px;
  height: 3px;
  top: calc(50% - 1px);
  right: -2px;

  background: white;
}

.promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li:not(:last-child) {
  margin-right: 3px;
}

.promotion-popup .mfp-content .promotion-content p.condition {
  font-size: 14px;
  font-weight: bold;
  color: #333333;
}

.promotion-popup .mfp-content .promotion-content h4 {
  font-size: 18px;
  color: #1A4A9F;
  text-align: center;
  margin: 0 0 15px 0;
}

.promotion-popup .mfp-content .promotion-content ul {
  margin-top: 5px;
  padding-left: 17px;
  list-style: disc;
}

.promotion-popup .mfp-content .promotion-content ul.list-extend {
  margin-top: 0;
}

.promotion-popup .mfp-content .promotion-content ul li {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #666666;

  line-height: 1.5;
}

.promotion-popup .mfp-content .promotion-content .link {
  font-weight: bold;
  font-size: 14px;
  color: #00A850;
  cursor: pointer;
  text-decoration: none;
}

.promotion-popup .mfp-content .promotion-content .link.grey {
  color: #666666;
}

.promotion-popup .mfp-content .promotion-content .link.more:after {
  display: inline-block;
  content: "\e901";
  font-family: 'iconkcc';
  font-size: 10px;
  margin-left: 8px;

  -webkit-transition: transform 300ms;
  -moz-transition: transform 300ms;
  -ms-transition: transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
}

.promotion-popup .mfp-content .promotion-content .link.more.down:after {
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.promotion-popup .mfp-content .promotion-content .link.more.up:after {
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.promotion-popup .mfp-content .promotion-content .list-extend {
  display: none;
}

@media screen and (max-width: 1199px) {
  .promotion-popup .mfp-container {
    padding: 0 15px;
  }

  .promotion-popup .mfp-content .container-md {
    margin: auto;
    padding: 0 15px;
  }

  .promotion-popup .mfp-content .mfp-close {
    right: -10px !important;
  }
}

@media screen and (max-width: 991px) {  
  .promotion-popup .mfp-content .promotion-content .products .product {
    flex-direction: column;
    width: calc(100% - 30px);
    max-width: 350px;
  }
  
  .promotion-popup .mfp-content .promotion-content .products .product:before {
    width: 100%;
    height: calc(100% - 90px);
    top: auto;
    bottom: 0;
  }
  
  .promotion-popup .mfp-content .promotion-content .products .product .caption {
    padding-left: 0;
    padding-top: 15px;
  }
}

@media screen and (max-width: 767px) {
  .promotion-popup .mfp-content .promotion-content .products {
    flex-direction: column;
  }

  .promotion-popup .mfp-content .promotion-content .products .product:not(:last-child) {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .promotion-popup .mfp-content .promotion-header {
    background: url(/SiteCollectionDocuments/kcc/img/ptt-x-popup-bg-mb.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .promotion-popup .mfp-content .promotion-content .products .product .image {
    min-width: 200px;
    max-width: 200px;
  }

  .promotion-popup .mfp-content .promotion-content .products .product:last-child:before {
    background: -moz-linear-gradient(-45deg, #014DE3 0%, #268AFF 100%);
    background: -webkit-linear-gradient(-45deg, #014DE3 0%, #268AFF 100%);
    background: linear-gradient(135deg, #014DE3 0%, #268AFF 100%);
  }

  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point:first-child:before {
    right: 15px;
  }
  
  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point:first-child:after {
    right: 27px;
  }

  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point p {
    font-size: 22px;
  }

  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point .flip > p {
    font-size: 12px;
  }

  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li {
    min-width: 18px;
  }

  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point ul li span {
    font-size: 18px;
  }
}

@media screen and (max-width: 375px) {
  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point:first-child:before {
    right: 8px;
  }
  
  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point:first-child:after {
    right: 20px;
  }

  .promotion-popup .mfp-content .promotion-content .products .product .caption .points .point p {
    font-size: 16px;
  }
}

br.visible-w767 {
  display: none !important;
}

br.hidden-w767 {
  display: block !important;
}

@media screen and (max-width: 767px) {
  br.visible-w767 {
    display: block !important;
  }

  br.hidden-w767 {
    display: none !important;
  }
}