:root {
    --button-sm: 1rem;
    --card-content: 1rem;
    --cert-content: 1rem;
    --contact-content: .9rem;
    --content-ico: 2rem;
    --content-title: 2rem;
    --content-detail: 1.25rem;
    --content-desc: .9rem;
    --content-max-l: 997px;
    --content-sep-bottom: 1.5rem;
    --content-sep-mb: 2rem;
    --copyright-txt: .9rem;
    --section-top: 4rem;
    --section-bottom: 5rem;
    --inside-title-1: 2rem;
    --inside-title: 1.5rem;
    --inside-content: 1rem;
    --link-footer: .95rem;
    --menu-top: 1.125rem;
    --price-txt: 1.5rem;
    --slogan-txt: 2.4rem;
    --small-content: 1rem;
    --timeline-topic: 1.2rem;
    --timeline-sub: 1.1rem;
}

html {
    height: 100%;
    font-size: 16px;
}

/*
html {
  filter: grayscale(95%) brightness(0.85) !important;
}
*/

body {
    min-width: 375px;
    min-height: calc(100vh - 104px);
    overflow-y: scroll;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    font-family: Kanitlight, Kanit, sans-serif !important;
}

.flex-center {
    display: inline-flex;
    align-items: center;
}

div#siteWrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div#vidCon {
    width: 100%;
    /* max-width: 1240px; */
    margin: auto;
}

.vidFrame {
    display: flex;
    margin: auto;
    max-width: 2500px;
}

.backToTop {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: none;
  padding: 10px 10px;
  background-color: #09c5d2;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.backToTop:hover {
  background-color: #018d97;
}

.cpg-logo.admin-view {
    margin-left: 80px;
    width: calc(100vw - 80px);
}

.dts-dropdown {
    position: absolute;
    background-color: white;
    border-radius: 4px;
    padding: 2px;
    border: 1px solid #eeefff;
    right: 40px;
    top: 33px;
}

.dts-dropdown .dropdown-item {
    background-color: #f2f2f2;
    margin: 2px 0px;
    border-radius: 4px;
}

.dts-dropdown .dropdown-item.actived {
    background-color: #bdbdbd;
    color: white;
}

.d-inline-flex.nav {
    padding: 8px;
    margin-bottom: 3px;
}

.header-box {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
    align-items: center;
}

.mb-nav-box {
    top: 50px;
}

.mb-nav-box,
.mb-nav,
.menu-nav-btn,
.menu-logo {
    height: 70px;
}

#btnBackToTop {
    position: fixed;
    right: 20px;
    bottom: -40px;
    z-index: 99;
    background-color: rgb(128 128 128 / 40%);
    padding: 10px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    color: white;
    font-size: .8em;
    -webkit-transition: -webkit-transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

img.main-logo {
    padding: 12pt 0px 10pt;
    max-width: 120px !important;
}

.top-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-list {
    display: inline-flex;
    align-items: center;
}

.menu-list .menu-item,
.menu-list .menu-item:visited {
    display: inline-flex;
    margin: 0px;
    margin-left: 1rem;
    font-size: var(--menu-top);
    color: #3b3b3b;
}

.menu-list .menu-item.ico {
    border: 1px solid #cccccc;
    font-size: 11pt;
    padding: 4px 8px;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.menu-list .menu-item.active,
.menu-list .menu-item:hover {
    color: #079c5e;
}

.css-footer {
    background-color: #068276;
    font-size: 11pt;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

.css-footer a.lnk-ft-item {
    display: block;
    color: white;
    font-size: var(--link-footer);
    padding-top: 2px;
    margin-bottom: 5pt;
}

a.lnk-social {
    display: inline-flex;
    width: 30px;
    height: 30px;
    color: white;
    border: 1px solid white;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #686868;
    margin-left: 1rem;
}

a.lnk-social:hover {
    background-color: black;
}

a.lnk-social:first-child {
    margin-left: 0px;
}

.copyright-box {
    padding: .5rem 0px;
    color: white;
    border-top: 1px solid #adadad;
    font-size: var(--copyright-txt);
}

.hero-bnr {
    display: inline-block;
    border-radius: 1rem;
    overflow: hidden;
}

.section .title {
    font-size: var(--content-title);
    font-weight: bold;
    color: #222;
    padding-top: .5rem;
    padding-bottom: 1.2rem;
}

.section .content {
    font-size: var(--content-detail);
    line-height: 1.3;
}

.cpsi-bg .title {
    color: white;
}

.content-s {
    margin: auto;
    max-width: 375px;
}

.content-m {
    margin: auto;
    max-width: 768px;
}

.section {
    padding-top: var(--section-top);
    padding-bottom: var(--section-bottom);
}

.content-sep {
    padding-bottom: var(--content-sep-bottom);
    margin-bottom: var(--content-sep-mb);
}

.card-type {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 15pt;
    overflow: hidden;
}

.cpsi-bg {
    background-color: #009f8d;
    color: white;
}

.pd-bg {
    background-color: #c54698;
    color: white;
}

.card-head {
    padding: 1em;
}

.card-head .content,
.card-body .content {
    display: block;
    font-size: var(--card-content);
    line-height: 1;
}

.w-inside-m {
    max-width: 350px;
}

.min-h-3 {
    min-height: 3em;
}

.ico {
    width: 30px;
}

.flex-v-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body a.btn.btn-card {
    color: white;
    border: 1px solid white;
    display: inline-block;
    width: fit-content;
    border-radius: 15px;
    padding: .5rem 1rem;
    background-color: rgb(255 255 255 / 10%);
}

.card-body a.btn.btn-sm {
    font-size: var(--button-sm);
    padding: .1rem 1rem;
    margin: auto;
}

.section-2-bg {
    background-color: #f5f5f5;
}

.content-l {
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: var(--content-max-l);
}

.cert-group a, .cert-group > img {
    width: 100%;
    max-width: 150px;
    margin: 0px 10px;
    display: inline-block;
}

.youtube .vdo-clip {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.about-hero {
    background-image: url("/portals/0/2025/images/banner/bnr-about-l.jpg");
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.cert-hero {
    background-image: url("/portals/0/images/backgrounds/bnr-hero-cert.jpg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 74%;
}

.products-hero {
    background-image: url("/portals/0/images/backgrounds/banner-Product.jpg");
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero {
    overflow: hidden;
    border-radius: 15px;
    padding: 1em;
}

.inside-box {
    background-color: rgb(255 255 255 / 90%);
    border-radius: 15px;
}

.inside-box .title {
    font-size: var(--inside-title);
    padding-bottom: .5rem;
}

.inside-box .title-1 {
    font-size: var(--inside-title-1);
    font-weight: bold;
}

.inside-box .content {
    font-size: var(--inside-content);
    padding-bottom: .5rem;
}

.about-hero .inside-box {
    display: block;
    margin: auto;
    max-width: 500px;
    padding: 2em;
    margin-bottom: 2em;
}

img.logo-compact-square {
    width: 100%;
    max-width: 60px;
}

.cert-box .content {
    font-size: var(--cert-content);
}

.thumbnail.cert {
    width: 100%;
    max-width: 260px;
    cursor: pointer;
}

.logo-compact {
    max-width: 110px;
}

span.slogan {
    font-size: var(--slogan-txt);
    font-style: italic;
    color: #00a393;
}

.products-box {
    display: flex;
    font-size: .75rem;
    line-height: 1.3;
    margin-bottom: 1.2em;
}

.products-box .ico {
    font-size: var(--content-ico);
    text-align: center;
    width: 50px;
    color: #009da6;
    padding-top: 2px;
}

.products-box .detail {
    width: calc(100% - 50px);
    line-height: 1.3;
    display: flex;
    align-items: center;
    font-size: var(--small-content);
}

.products-box .color-box {
    display: inline-flex;
    align-items: center;
}

span.vw-color {
    display: inline-block;
    aspect-ratio: 1/1;
    width: 21px;
    border: 2px solid #d8d8d8;
    border-radius: 50%;
    margin-right: .3em;
}

.mask-light-green {
    background-color: #72da91;
}

.pd span.slogan {
    color: #e08393;
}

a.tab-products {
    background-color: rgb(255 255 255 / 15%);
    display: inline-block;
    height: 100%;
    width: 100%;
    text-align: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: .5rem 15px;
}

.tab-products img.tab-products-logo {
    width: 100%;
    max-width: 150px;
}

a.tab-products.active {
    background-color: white;
    pointer-events: none;
}

a.tab-products:hover {
    background-color: rgb(255 255 255 / 80%);
}

.products-box .price {
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
}

.text-bold {
    font-weight: bold;
}

.cpsi-primary {
    color: #00a191;
}

.content.desc {
    font-size: var(--content-desc);
    line-height: 1.2;
}

.contact-block {
    display: flex;
    justify-content: center;
}

.contact-item .content {
    font-size: var(--contact-content);
    line-height: 1;
}

.contact-item {
    /* border: 1px solid #e4e4e4; */
    margin: 4px;
    border-radius: 4px;
    padding-top: 1em;
    padding-bottom: 1em;
}

.products-box .price {
    font-weight: bold;
    font-size: var(--price-txt);
    display: inline-block;
}

.contact-block .contact-item i {
    color: #00abff;
    border: 2px solid #00abff;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    margin: 24px auto;
}

.btn.btn-cpsi-info {
    border-radius: 4px;
    border: 1px solid #e7e7e7;
    padding: 0px 10px 4px;
}

.btn.btn-cpsi-info:hover {
    background-color: #f3f3f3;
}

.timeline {
    position: relative;
    padding: 10px;
    margin: 0 auto;
    overflow: hidden;
    color: #222;
}

.timeline:after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    border-right: 4px solid #5fbbd9;
    height: 100%;
    display: block;
}

.timeline-row {
    padding-left: 50%;
    position: relative;
    margin-bottom: 30px;
}

.timeline-row .timeline-time {
    position: absolute;
    right: 50%;
    top: 31px;
    text-align: right;
    margin-right: 20px;
    color: #000000;
    font-size: 1.5rem;
}

.timeline-row .timeline-time small {
    display: block;
    font-size: .8rem;
    color: #8796af;
}

.timeline-row .timeline-content {
    position: relative;
    padding: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.timeline-row .timeline-content:after {
    content: "";
    position: absolute;
    top: 20px;
    height: 2px;
    width: 35px;
    border-top: 4px solid #5fbbd9;
}

.timeline-row .timeline-content h4 {
    margin: 0 0 20px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 150%;
}

.timeline-row .timeline-content p {
    margin-bottom: 30px;
    line-height: 150%;
}

.timeline-row .timeline-content i {
    font-size: 2rem;
    color: #ffffff;
    line-height: 100%;
    padding: 10px;
    border: 2px solid #ffffff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-row .timeline-content .thumbs {
    margin-bottom: 20px;
}

.timeline-row .timeline-content .thumbs img {
    margin-bottom: 10px;
}

.timeline-row:nth-child(even) .timeline-content {
    background-color: #efefef;
    margin-left: 40px;
    text-align: left;
}

.timeline-row:nth-child(even) .timeline-content:after {
    left: -38px;
    /* border-right: 18px solid #efefef; */
    /* border-top: 10px solid transparent; */
    /* border-bottom: 10px solid transparent; */
}

.timeline-row:nth-child(odd) {
    padding-left: 0;
    padding-right: 50%;
}

.timeline-row:nth-child(odd) .timeline-time {
    right: auto;
    left: 50%;
    text-align: left;
    margin-right: 0;
    margin-left: 20px;
}

.timeline-row:nth-child(odd) .timeline-content {
    background-color: #efefef;
    margin-right: 40px;
    margin-left: 0;
    text-align: right;
}

.timeline-row:nth-child(odd) .timeline-content:after {
    right: -39px;
    /* border-left: 18px solid #efefef; */
    /* border-top: 10px solid transparent; */
    border-bottom: 10px solid transparent;
}

@media (max-width: 767px) {
    .timeline {
        padding: 15px 10px;
    }
    .timeline:after {
        left: 28px;
    }
    .timeline .timeline-row {
        padding-left: 0;
        margin-bottom: 16px;
    }
    .timeline .timeline-row .timeline-time {
        position: relative;
        right: auto;
        top: 0;
        text-align: left;
        margin: 0 0 6px 56px;
    }
    .timeline .timeline-row .timeline-time strong {
        display: inline-block;
        margin-right: 10px;
    }
    .timeline .timeline-row .timeline-icon {
        top: 52px;
        left: -2px;
        margin-left: 0;
    }
    .timeline .timeline-row .timeline-content {
        padding: 15px;
        margin-left: 56px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        position: relative;
    }
    .timeline .timeline-row .timeline-content:after {
        right: auto;
        left: -38px;
        top: 20px;
        /* background-color: #5fbbd9; */
    }
    .timeline .timeline-row:nth-child(odd) {
        padding-right: 0;
    }
    .timeline .timeline-row:nth-child(odd) .timeline-time {
        position: relative;
        right: auto;
        left: auto;
        top: 0;
        text-align: left;
        margin: 0 0 6px 56px;
    }
    .timeline .timeline-row:nth-child(odd) .timeline-content {
        margin-right: 0;
        margin-left: 55px;
    }
    .timeline .timeline-row:nth-child(odd) .timeline-content:after {
        right: auto;
        left: -38px;
        top: 20px;
        /* border-right: 18px solid #efefef; */
        border-left: inherit;
    }
    .timeline.animated .timeline-row:nth-child(odd) .timeline-content {
        left: 20px;
    }
    .timeline.animated .timeline-row.active:nth-child(odd) .timeline-content {
        left: 0;
    }
}

.timeline .f-date {
    font-size: var(--timeline-topic);
    font-weight: bold;
    line-height: 1.2;
}

.timeline .f-week {
    font-size: var(--timeline-sub);
    line-height: 1.2;
    margin-bottom: 4pt;
}

.timeline .f-content {
    font-size: var(--small-content);
    line-height: 1.1;
}

.inside-row {
    display: flex;
    flex-direction: column;
}

.inside-row .col-image {
    margin-bottom: 8px;
}

.inside-row .col-content {
    text-align: left;
}

.timeline-top {
    display: block;
    background-color: #5fbbd9;
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 15pt;
    margin: 0px 19px;
    position: relative;
    top: 2px;
}

@media (min-width: 576px) {
    .inside-row {
        display: flex;
        flex-direction: row;
    }
    .inside-row .col-image {
        margin-bottom: 0px;
    }
    .inside-row .col-image {
        width: 40%;
        padding-right: 15px
    }
    .inside-row .col-content {
        width: 60%;
    }
}

@media (min-width: 768px) {
    .inside-row {
        display: flex;
        flex-direction: column;
    }
    .timeline-row:nth-child(odd) .timeline-content {
        text-align: left;
    }
    .inside-row .col-image {
        margin-bottom: 8px;
        padding-right: 0px;
    }
    .inside-row .col-image,
    .inside-row .col-content {
        width: 100%;
    }
    .timeline-top {
        margin: 0px auto;
    }
}

@media (min-width: 992px) {
    .inside-row {
        display: flex;
        flex-direction: row;
    }
    .inside-row .col-image {
        width: 40%;
        padding-right: 15px;
        margin-bottom: 0px;
    }
    .inside-row .col-content {
        width: 60%;
    }
    .timeline-row:nth-child(odd) .inside-row .col-image {
        order: 2;
        padding-right: 0px;
        padding-left: 15px;
    }
    .timeline-row:nth-child(odd) .inside-row .col-content {
        order: 1;
        text-align: right;
    }
    .timeline-row:nth-child(odd) .timeline-content {
        text-align: right;
    }
}

.menu .menu-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
    width: calc(100vw - 80px);
    position: absolute;
    top: 0;
    right: -100vw;
    background-color: white;
    padding: 1rem !important;
    transition: right 0.3s ease;
}

.menu .menu-list a {
    padding: 18px 0px;
    border-bottom: 1px solid #efefef;
    width: calc(100% - 30px);
    font-weight: bold;
}

.menu.show a.lnkHome {
    display: none;
}

.menu.show .menu-list {
    right: 0;
}

.cpg-logo.menu.show {
    height: 100%;
    transition: background-color 0.5s ease;
    background-color: rgb(0 0 0 / 70%);
}

.menu.fa-bars {
    font-size: 2rem;
    color: #7c7c7c;
}

a.lnkHome {
    display: block;
}

@media (max-width: 476px) {
    .cpg-logo img {
        left: initial !important;
        position: initial !important;
    }
}

@media (min-width: 650px) {
    .menu.fa-bars {
        display: none;
    }
}

@media (max-width: 650px) {
    .menu-list {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: initial !important;
    }
}

.menu.show .menu.fa-bars {
    display: none;
}

.cpg-logo .menu-item.home,
.cpg-logo .close-menu {
    display: none;
}

.cpg-logo.menu .menu-item.home {
    display: inline-flex;
}

.cpg-logo.menu.show .menu-item.ico {
    display: none;
}

.cpg-logo.menu.show.actived {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}

i.close-menu {
    font-size: 1rem;
    color: white;
    background-color: black;
    padding: 5pt;
    aspect-ratio: 1/1;
    display: inline-flex;
    margin-left: auto;
    margin-right: 0px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.cpg-logo.menu .close-menu {
    display: block;
}

.modal.cert .modal-content {
    background: transparent;
    border: none;
}

.modal.cert .modal-body {
    padding: 0px;
}

.modal.cert .modal-footer {
    border: none;
    padding: 5px 0px;
}

a.menu-item.donation-lnk, 
a.lnk-ft-item.donation-lnk, 
a.lnk-ft-item.disabled {    
    pointer-events: none;
    opacity:.5;
}

.swiper {
    border-radius: 1rem;
}

.vdo-frame-rm {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 576px) {
    .vdo-frame-rm {
        padding-left: 0px;
        padding-right: 0px;
        margin: auto;
        width: 100%;
        max-width: 500px;
    }
}

.secondary-bg {
    background-color: #c6dae2;
}

.mt-section {
    margin-top: 5em;
}

img.cer-logo {
    width: 100%;
    max-width: 114px;
}

.border-bottom-5 {
    border-bottom: 5px solid #efefef;
}

.border-y-5 {
    border-top: 5px solid #52ab8a;
    border-bottom: 5px solid #52ab8a;
}

.dark-bg {
    background-color: #444;
    color: white;
}

.ico-block {
    display: flex;
    align-items: center;
}

.ico-block .divIco {
    aspect-ratio: 1/1;
    width: 40px;
    background-color: #177a9e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.8em;
    margin-right: 8pt;
}

.ico-block .divTxt {
    font-size: 1.3em;
}

.divTxt a {
    color: white;
}

.vidFrame > img {
    aspect-ratio: 1/1;
    width: 354px;
}

.vidFrame .vidPoster {
    width: 50.7%;
    display: none;
}

.footer-img img,
.footer-img {
    margin-top: 5px;
    border-radius: 4px;
    overflow: hidden;
}

.col-image img {
    border-radius: 4px;
}


@media (min-width: 576px) {
    .vidFrame .vidPoster {
        display: block;
    }
}

.intro-bg {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-image: url(/portals/0/20251025/bg.webp);
}









