/* BEGIN : Website init  and Page layout */

* {
    font-weight: 300;
}
html {
    font-size: calc(60% + 0.68891vmin);
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
    /* IE10+ specific styles go here */  
    html {
        font-size: calc(0.6em + 0.68891vmin);
    }
}
body {
    padding: 0;
    margin: 0;
    line-height: 1.7rem;
    font-family: 'Kanit', sans-serif;
    background-color: #efefef;
}
i {
    font-size: 1em;
}
h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}
strong {
  font-weight: 400;
}

iframe {
    max-width: 100%;
}

a:link,  a:visited,  a:active {
    text-decoration: none;
    color: #0C78A6;
}
a:hover {
    text-decoration: underline;
}

/* END : Website init  and Page layout */

/* BEGIN : General UI */

a.button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.7em;
    font-weight: 400;
    padding: 0.4em 0.8em;
    border-radius: 8px;
    min-width:4em;
    color: #005377;
    background-color: #DFEDF3;
}
a.button i {
    margin-right: 0.5em;
}
a.button span {
    text-align: center;
}
a.button:hover {
    background-color: #cbe6f1;
}
a.button.main {
    position: relative;
    min-width:6em;
    color: #DFEDF3;
    background-color: #005377;
}
a.button.main i {
    position: absolute;
    left: -0.2em;
    top: -3px;
    border: 4px solid #005377;
    border-radius: 50%;
    font-size: 1.8em;
    margin-right: 0.5em;
}
a.button.main span {
    margin-left: 1.5em;
    text-align: center;
}
a.button.main:hover {
    background-color: #0e6183;
}

.social a {
    display: block;
    border: 2px solid #0C78A6;
    background-color: #0C78A6;
    color: #fff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
    margin: 0 0.5rem;
}
.social a:hover {
    background-color: #ffffff;
    color: #0C78A6;
    -webkit-animation-name: socialMouseOver;
    -webkit-animation-duration: 0.4s;
    animation-name: socialMouseOver;
    animation-duration: 0.4s;
}
@-webkit-keyframes socialMouseOver {
    0%   {background-color: #0C78A6;color: #fff;}
    100% {background-color: #fff;color: #0C78A6;}
}
@keyframes socialMouseOver {
    0%   {background-color: #0C78A6;color: #fff;}
    100% {background-color: #fff;color: #0C78A6;}
}
.badgeNoti {
    position: absolute;
    z-index: 999;
    top: calc(50% - 0.67rem);
    right: 0.2rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.8rem;
    font-size: 0.7em;
    font-weight: 500;
    text-align: center;
    line-height: 0.4;
    color: #ffffff;
    background-color: #cc3333;
    border: 1px solid #cc333380;
}
.badgeNoti.white {
    color: #cc3333;
    background-color: #ffffff;
}
.badgeNoti.right {
    right: -0.3rem;
}
.badgeNoti.topRight {
    top: -0.3rem;
    right: -0.3rem;
}

.scroll::-webkit-scrollbar {
    width: 1rem;
}
.scroll::-webkit-scrollbar-track-piece{
	background-color: #FFF;
}
.scroll::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    border-radius: 5px;
    background-color: #CBCBCB;
	outline: 2px solid #FFF;
	outline-offset: -2px;
	border: .1px solid #B7B7B7;
}
.scroll::-webkit-scrollbar-thumb:hover{
	background-color: #909090;
}

.textCenter {
    text-align: center;
}

.textRight {
    text-align: right;
}

.orangeBox span {
    background-color: #ff4500;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 3px;
}
.greenBox span {
    background-color: #458178;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 3px;
}

.greenFont {
    color: #009688;
}
.orangeFont {
    color: #f26b41;
}
.redFont {
    color: #cc3333;
}
.whiteFont {
    color: #ffffff;
}
.lightGrayFont {
    color: #cccccc;
}
.darkGrayFont {
    color: #666666;
}

/* Layout */

.col1 {
    flex-basis: 8%;
}
.col2 {
    flex-basis: 15%;
}
.col3 {
    flex-basis: 24%;
}
.col4 {
    flex-basis: 32%;
}
.col5 {
    flex-basis: 42%;
}
.col6 {
    flex-basis: 49%;
}
.col7 {
    flex-basis: 56%;
}
.col8 {
    flex-basis: 64%;
}
.col9 {
    flex-basis: 73%;
}
.col10 {
    flex-basis: 82%;
}
.col11 {
    flex-basis: 91%;
}
.col12 {
    flex-basis: 100%;
}

/* Layout Mobile */

@media screen and (max-width: 990px) {
    .col1-md {
        flex-basis: 8%;
    }
    .col2-md {
        flex-basis: 15%;
    }
    .col3-md {
        flex-basis: 24%;
    }
    .col4-md {
        flex-basis: 32%;
    }
    .col5-md {
        flex-basis: 42%;
    }
    .col6-md {
        flex-basis: 49%;
    }
    .col7-md {
        flex-basis: 56%;
    }
    .col8-md {
        flex-basis: 64%;
    }
    .col9-md {
        flex-basis: 73%;
    }
    .col10-md {
        flex-basis: 82%;
    }
    .col11-md {
        flex-basis: 91%;
    }
    .col12-md {
        flex-basis: 100%;
    }
}
@media screen and (max-width: 660px) {
    .col1-sm {
        flex-basis: 8%;
    }
    .col2-sm {
        flex-basis: 15%;
    }
    .col3-sm {
        flex-basis: 24%;
    }
    .col4-sm {
        flex-basis: 32%;
    }
    .col5-sm {
        flex-basis: 42%;
    }
    .col6-sm {
        flex-basis: 49%;
    }
    .col7-sm {
        flex-basis: 56%;
    }
    .col8-sm {
        flex-basis: 64%;
    }
    .col9-sm {
        flex-basis: 73%;
    }
    .col10-sm {
        flex-basis: 82%;
    }
    .col11-sm {
        flex-basis: 91%;
    }
    .col12-sm {
        flex-basis: 100%;
    }
}
@media screen and (min-width: 991px) {
    .md, .md.sm, .sm {
        display: none;
    }
    .lg, .lg.md {
        display: block;
    }
}
@media (min-width: 661px) and (max-width: 990px) {
    .lg, .sm {
        display: none;
    }
    .md, .lg.md, .md.sm {
        display: block;
    }
}
@media screen and (max-width: 660px) {
    .lg, .lg.md, .md  {
        display: none;
    }
    .sm, .md.sm {
        display: block;
    }
}

.flexCol {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    flex-flow: column nowrap;
}
.flexRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    flex-flow: row nowrap;
}

/* END : General UI */

/* BEGIN : Container */

.container {
    min-width: 375px;
    width: 1407px;
    margin: 0 auto;
    background-color: #fff;
    max-width: 100% !important;
}
.container .body {
    margin: 0 10%;
}

@media screen and (max-width: 1080px){
    .container {
        width: 1080px;
        margin: 0 auto;
        background-color: #fff;
        /* font-size: 0.9rem; */
    }
   /* .container .body {
        margin: 0 9%;
    }*/
}

@media (max-width: 991px){
    .container .body {
        margin: 0 5%;
    }
}

@media (max-width: 991px) and (min-width: 641px){
    .softwareCateList .col6mb{
        flex-basis: 100%;
    }
    .contentBody .content.tile.hilight.col6mb{
        flex-basis: 49%;
    }
}

@media screen and (max-width: 980px){
    .container {
        width: 980px;
        margin: 0 auto;
        background-color: #fff;
        /* font-size: 0.9rem; */
    }
    .container .body {
        margin: 0 5%;
    }
}
@media screen and (max-width: 840px){
    .container .body {
        margin: 0 5%;
    }
}
@media screen and (max-width: 720px){
    .container .body {
        margin: 0 5%;
    }
}
@media screen and (max-width: 640px){
    .container {
        max-width: 640px;
        margin: 0 auto;
        background-color: #fff;
       /* font-size: 1.5rem;*/
    }
    .container .body {
        margin: 0 5%;
    }
    .social a {
        font-size: 2rem;
    }
}
@media screen and (max-width: 580px){
    .container .body {
        margin: 0 4%;
    }
}
@media screen and (max-width: 460px){
    .container .body {
        margin: 0 3%;
    }
}
@media screen and (max-width: 390px){
    .container .body {
        margin: 0 2%;
    }
}

/* END : Container */

/* BEGIN : Content & Section Header */

.contentHeader,
.sectionHeader {
    position: relative;
    background: #0C78A6;
    border-radius: 8px;
    color: #FFFFFF;
    padding: 0.7rem 0.7rem 0.7rem 4rem;
    margin: 1.6rem 0;
}
.contentHeader h1, .contentHeader h2 {
    font-weight: 400;
    font-size: 1.8rem;
    padding-right: 12rem;
    line-height: 1.2;
}
.contentHeader h1:before, .contentHeader h2:before,
.sectionHeader h1:before, .sectionHeader h2:before {
    content: "";
    background-color: #2393C1;
    border-radius: 4px;
    height: 2.4rem;
    width: 1.2rem;
    display: block;
    position: absolute;
    bottom: -14%;
    left: 1rem;
    overflow: unset;
}
.contentHeader h1:after, .contentHeader h2:after,
.sectionHeader h1:after, .sectionHeader h2:after {
    content: "";
    background-color: #96CEE7;
    border-radius: 4px;
    height: 1.2rem;
    width: 1rem;
    display: block;
    position: absolute;
    top: -14%;
    left: 2rem;
    overflow: unset;
}
.contentHeader:before,
.sectionHeader:before {
    content: "";
    background-color: #96CEE7;
    border-radius: 4px;
    height: 1rem;
    width: 10%;
    display: block;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 7%;
    overflow: unset;
}
.contentHeader:after,
.sectionHeader:after {
    content: "";
    background-color: #1B91C1;
    border-radius: 4px;
    height: 1rem;
    width: 3%;
    display: block;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 2%;
    overflow: unset;
}
.contentHeader a:link, .contentHeader a:visited, .contentHeader a:active,
.sectionHeader a:link, .sectionHeader a:visited, .sectionHeader a:active {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-decoration: none;
    line-height: 1.2;
}
.contentHeader a:hover,
.sectionHeader a:hover {
    text-decoration: underline;
}
.sectionHeader {
  display: flex;
  align-items: center;
  margin-top: calc(-10rem + 90px);
  background-image: url("https://images.thaiware.com/new/section-header.png");
  box-shadow: 0px -2px 4px rgb(0 0 0 / 10%);
  border-radius: 8px;
  border: 2px solid #fff;
}
.sectionHeader h1, .sectionHeader h2 {
  font-size: 1em;
  padding: 0;
  margin: 0;
}
.sectionHeader .title {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  display: flex;
  flex-flow: column;
} 
.sectionHeader .title div {
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 10px 15px;
    line-height: 1;
    width: fit-content;
}
.sectionHeader .title .small {
  font-size: 1em;
}
.sectionHeader .title .big {
  font-size: 1.8em;
}
.sectionHeader .title .sub {
  font-size: 1em;
  color: #ddd;
}
.sectionHeader .title .indent {
  margin-left: 1em;
}
.sectionHeader .title .right {
  align-self: end;
}
.sectionHeader .title .right.indent {
  margin-left: 0;
  margin-right: 1em;
}
.sectionHeader .description {
    width: 40%;
    padding-left: 50px;
    text-align: center;
    line-height: 1.3;
}
.sectionHeader h1:before, .sectionHeader h2:before {
  content: "";
  background-color: #96CEE7;
  border-radius: 4px;
  height: 4rem;
  width: 1.3rem;
  display: block;
  position: absolute;
  bottom: 10%;
  left: 1rem;
  overflow: unset;
}
.sectionHeader h1:after, .sectionHeader h2:after {
  content: "";
  background-color: #0A6085;
  border-radius: 4px;
  height: 2.6rem;
  width: 1rem;
  display: block;
  position: absolute;
  top: -4%;
  left: 2rem;
  overflow: unset;
}
.sectionHeader:before {
  content: "";
  background-color: #96CEE7;
  border-radius: 4px;
  height: 1rem;
  width: 7rem;
  display: block;
  position: absolute;
  top: calc(20% - 0.5rem);
  right: calc(3% + 2.5rem);
  overflow: unset;
}
.sectionHeader:after {
    content: "";
  background-color: #0A6085;
  border-radius: 4px;
  height: 1rem;
  width: 2.5rem;
  display: block;
  position: absolute;
  top: calc(20% - 0.5rem);
  right: 2%;
  overflow: unset;
}
@media (max-width: 991px) {
  .sectionHeader {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0.7rem;
    background-image: url("https://images.thaiware.com/new/section-header-mobile.png") !important;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .sectionHeader .description {
    width: 60% !important;
    padding-left: 0 !important;
    text-align: center;
    margin-top: 13px;
    line-height: 1.3;
  }
  .sectionHeader h1:before, .sectionHeader h2:before {
    content: "";
    background-color: #96CEE7;
    border-radius: 4px;
    height: 54%;
    width: 1.3rem;
    display: block;
    position: absolute;
    bottom: 10%;
    left: 1rem;
    overflow: unset;
  }
  .sectionHeader h1:after, .sectionHeader h2:after {
    content: "";
    background-color: #0A6085;
    border-radius: 4px;
    height: 30%;
    width: 1rem;
    display: block;
    position: absolute;
    top: -4%;
    left: 2rem;
    overflow: unset;
  }
  .sectionHeader:before {
    content: "";
    background-color: #96CEE7;
    border-radius: 4px;
    height: 1rem;
    width: 10%;
    display: block;
    position: absolute;
    top: calc(20% - 0.5rem);
    right: calc(3% + 5%);
    overflow: unset;
  }
  .sectionHeader:after {
      content: "";
    background-color: #0A6085;
    border-radius: 4px;
    height: 1rem;
    width: 4.5%;
    display: block;
    position: absolute;
    top: calc(20% - 0.5rem);
    right: 2%;
    overflow: unset;
  }
}
@media screen and (max-width: 840px) {
    .contentHeader:before,
    .sectionHeader:before {
        display: none !important;
    }
    .contentHeader:after,
    .sectionHeader:after {
        display: none !important;
    }
    .contentHeader h1, .contentHeader h2,
    .sectionHeader h1, .sectionHeader h2 {
        padding-right: 0 !important;
    }
}
@media (max-width: 767px){
    .sectionHeader:before {
        display: none;
    }
    .sectionHeader:after {
        display: none;
    }
}
@media (max-width: 680px){
    .sectionHeader h1:before {
        display: none;
    }
    .sectionHeader h1:after {
        display: none;
    }
}

/* END : Content & Section Header */

/* BEGIN : Content Sub Header */
.contentSubHeader {
    background-color: #eef5f7;
    padding: 0.5rem 1.4rem;
    border: 1px solid #a6c9d9;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}
.contentSubHeader h2, .contentSubHeader h3, .contentSubHeader h4 {
    display: inline;
    font-weight: 400;
    font-size: 1.3rem;
    color: #0a6085;
}
.contentSubHeader i {
    display: inline-block;
    font-size: 1.3rem;
    color: #0a6085;
    margin-right: 0.75em;
    padding-top: 0.2em;
    vertical-align: top;
}
.contentSubHeader a:link, .contentSubHeader a:visited, .contentSubHeader a:active {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-decoration: none;
}
.contentSubHeader a:hover {
    text-decoration: underline;
}

/* END : Content Sub Header */

/* BEGIN : Content Body */

.contentBody {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.contentBody .content {
    display: flex;
    border-radius: 8px;
    background-color: #f7f7f7;
    margin-bottom: 2%;
    overflow: hidden;
}
.contentBody .content:hover {
    box-shadow: 0px 0px 5px 0px #8e8e8e;
}
.contentBody .content .image {
    line-height: 0;
}
.contentBody .content .image img {
    width: 100%;
    transition: transform .2s;
}
.contentBody .content:hover .image img {
    transform: scale(1.02);
}
.contentBody .content .title h1, .contentBody .content .title h2, .contentBody .content .title h3, .contentBody .content .title h4 {
  /*  font-size: 1.1em;*/
    padding: 0.5rem 1rem;
}
.contentBody .content .title a:link, .contentBody .content .title a:visited, .contentBody .content .title a:active {
    color: #333;
    text-decoration: none;
}
.contentBody .content .title a:hover {
    text-decoration: underline;
}
.contentBody .content .description {
    font-family: 'Sarabun', sans-serif;
    font-size: 1.1rem;
    color: #666;
    padding: 0.5rem 1rem;
}
.contentBody .content .info {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    margin-top: auto;
}
.contentBody .content .info .date, .contentBody .content .info .view {
    font-size: 0.85em;
    color: #888;
}
.contentBody .content .info .category {
    text-align: right;
    flex-grow: 1;
}
.contentBody .content .info .category a:link, .contentBody .content .info a:visited, .contentBody .content .info a:active {
    font-size: 0.85em;
    color: #888;
    text-decoration: none;
}
.contentBody .content .info .category a:hover {
    color: #888;
    text-decoration: underline;
}
.contentBody .content.big.col4 {
    flex-basis: 65.9%;
}
.contentBody .content.big .title h1, .contentBody .content.big .title h2, .contentBody .content.big .title h3, .contentBody .content.big .title h4 {
    font-size: 1.4em;
    padding: 0.8rem 1rem;
    line-height: 1.5;
}
.contentBody .content.hilight .info .date, .contentBody .content.hilight .info .category a {
    color: #ccc;
}
.contentBody .hilightGroup {
    margin-bottom: 0.5%;
}
.contentBody a.content:link, .contentBody a.content:visited, .contentBody a.content:active, .contentBody a.content:hover {
    color: #333;
    text-decoration: none;
}

/* Use for fix > flex layout don't shift left side */

.contentBody.shiftLeft {
    column-gap: 0.99%;
}
@media (min-width: 661px) and (max-width: 990px) {
    .contentBody.shiftLeft {
        column-gap: 1.39%;
    }
}
@media screen and (max-width: 660px) {
    .contentBody.shiftLeft {
        column-gap: 0.99%;
    }
}
.contentBody.shiftLeft::after {
  content: "";
  flex: auto;
}

/* END : Content Body */

/* BEGIN : Content Card */

.contentBody .content.card {
    flex-flow: column nowrap;
}
.contentBody .hilightGroup .content.card.hilight {
    background-color: #203443;
    margin-bottom: 5%;
}
.contentBody .hilightGroup .content.card.hilight .title a {
    color: #fff;
}

/* END : Content Card */

/* BEGIN : Content Tile */

.contentBody .content.tile {
    flex-flow: row nowrap;
}
.contentBody .content.tile .detail {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
}
.contentBody .content.tile .title {
    display: -webkit-box;
    height: 4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.contentBody .content.tile .title.l3{
    -webkit-line-clamp: 3;
    height: 4rem;
    font-size: 1.1rem;
}

.contentBody .content.tile .description {
    display: -webkit-box;
    height: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.contentBody .content.tile.hilight {
    background-color: #fdf5f2;
}
.contentBody .content.tile.hilight .info {
    position: absolute;
    bottom: 0.2em;
}

/* END : Content Tile */

/* BEGIN : YouTube Box */

.youtube {
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.youtubeClip {
    float: left;
    width: 64%;
    position: relative;
    padding-bottom: 36%;
    padding-top: 0px;
    height: 0;
}
.youtubeClip iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.youtubeList {
    float: left;
    width: 35%;
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 5px 5px 0;
    overflow: hidden;
    background: #fff;
}
.youtubeList ul.ui-nav {
    position: absolute;
    top: 0;
    right: 0px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}
.youtubeList ul.ui-nav li {
    font-size: 1rem;
    color: #666;
    height: 88px;
}
.youtubeList ul.ui-nav li img {
    float: left;
    margin: 2px 5px;
    margin-right: 10px;
    background: #fff;
    padding: 2px;
    border: 1px solid #eee;
}
.youtubeList ul.ui-nav li span {
    font-size: 1rem;
    line-height: 18px;
    display: block;
    margin: 5px;
    padding-top:5px;
}
.youtubeList li.ui-nav-item a {
    display: block;
    height: 83px;
    text-decoration: none;
    color: #333;
    background: #fff;
    line-height: 2px;
    padding:2px;
    outline: none;
    border-bottom: 1px solid #efefef;
}
.youtubeList .line-item {
    border-bottom: 1px solid #dfdfdf;
    clear: both;
    font-size: 1px;
    height: 1px;
}
.youtubeList li.ui-nav-item a:hover {
    background: #f7f7f7;
}
.youtubeList ul.ui-nav li.ui-tabs-selected a, .youtubeList ul.ui-nav li.ui-active a {
    background: #203443;
    color: #fff;
}
@media (min-width: 821px) and (max-width: 990px) {
    .youtubeList ul.ui-nav li span {
    font-size: 12px;
    line-height: 16px;
    padding-top:0;
    }
}
@media (min-width: 721px) and (max-width: 820px) {
    .youtubeList ul.ui-nav li span {
        font-size: 11px;
        line-height: 15px;
        padding-top:0;
    }
}
@media (max-width: 1104px){
    .footer .bottomBar .copyright{
        text-align: center;
    }
}

@media (max-width: 720px) {
    .youtube {
        height: 100%;
        width: 100%;
        /*display: block;*/
    }
    .youtubeClip {
        clear: both;
        width: 100%;
        position: relative;
        padding-bottom: 56.25%;
        display: block;
    }
    .youtubeList {
        clear: both;
        width: 100%;
        padding-bottom: 70%;
        position: relative;
        display: block;
    }
    .youtubeList ul.ui-nav li img {
        margin: 2px 10px;
        margin-right: 20px;
    }
    .youtubeList ul.ui-nav li span {
        font-size: 15px;
        line-height: 20px;
        padding-top:5px;
    }
}

/* END : YouTube Box */

@media screen and (max-width: 640px){

    .flexRow{
        flex-flow: wrap;
    }
}

@media (max-width: 991px) {
    .visible-lg {
        display: none !important;
    }
}

/*// badge //*/

.badge_outofstock{
     position: absolute;
     top: -12px;
     left: -12px;
     color: #ffffff;
     background-color: #7c7c7c;
     border: 2px solid #ffffff;
     padding: 9px;
     border-radius: 50%;
     font-size: 14px;
     font-weight: 600;
     font-family: Kanit;
     line-height: 0.9;
     transform: rotate(-45deg);
     z-index: 2000;
}
 .badge_sales{
     position: absolute;
     top: 3px;
     left: -8px;
     font-size: 14px;
     display: inline-block;
     text-align: center;
     transform: rotate(-45deg);
     line-height: normal;
     z-index: 2000;
}
 .badge_sales:before, .badge_sales span:before, .badge_sales span:after {
     content: '';
     position: absolute;
     border-style: solid;
     border-color: transparent;
}
 .badge_sales span:after {
     top: 100%;
     right: 0;
     border-width: 0.5em 2em 0 0;
     border-color: #FC9544 transparent transparent transparent;
}
 .badge_sales span {
     display: inline-block;
     padding: 0.5em 1em;
     line-height: 1.2em;
     background: #FFD72A;
     position: relative;
     font-weight: 600;
     font-family: Kanit;
}
 .badge_new {
     position: absolute;
     top: -12px;
     left: -3px;
     color: #ffffff;
     background-color: #438644;
     border: 2px solid #ffffff7d;
     padding: 14px 3px;
     border-radius: 50%;
     font-size: 14px;
     font-weight: 600;
     font-family: Kanit;
     transform: rotate(-45deg);
     line-height: normal;
}
 .badge_new span {
     background-color: #117112;
     border: 2px solid #ffffff7d;
     padding: 9px 6px;
     border-radius: 50%;
}

/* BEGIN : Progress Step Bar */

.progressStep {
    width: 100%;
    margin: 1em 0 0;
    padding: 0;
    z-index: 1;
    position: relative;
}
.progressStep li {
    position: relative;
    display: block;
    color: #333333;
    padding: 1em;
    text-align: center;
}
.progressStep li span {
    background-color: #fff;
    padding: 0 1em;
    font-weight: 400;
}
.progressStep::after {
    content: "";
    background-color: lightgray;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 5px;
    z-index: -2;
}
.progressStep li::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f192";
    font-size: 1.5em;
    color: lightgray;
    position: absolute;
    top: -0.5em;
    left: 0;
    right: 0;
}
.progressStep li.active::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f05a";
    font-size: 2.2em;
    color: #002534;
    position: absolute;
    top: -0.5em;
    left: 0;
    right: 0;
}
.progressStep li.active {
    color: #002534;
}
.progressStep li.active::before {
    content: "";
    background-color: #002534;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 5px;
    z-index: -1;
}
.progressStep li.done::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f058";
    font-size: 1.5em;
    color: #2d904b;
    position: absolute;
    top: -0.5em;
    left: 0;
    right: 0;
}
.progressStep li.done {
    color: #2d904b;
}
.progressStep li.done::before {
    content: "";
    background-color: #2d904b;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 5px;
    z-index: -1;
}

/* END : Progress Step Bar */
