.download-icon {
    width: 15px;
    height: 15px;
}   
/* ถ้าพี่พลอยทำรูป bg ใหม่เสร็จ ให้ลบ .contact-center ออก */
@media screen and (max-width: 540px) {
    .download-icon {
        width: 10px;
        height: 10px;
    }

    .contact-center {
        font-size: 0.5rem;
        margin-top: -0px;
        color: #a7a7a7;
    }

    .card-text {
        font-size: 64%;
    }

    .customer-name {
        font-size: 100%;
    }

    .mobile-right {
        padding-left: 3%;
        padding-right: 8px;
    }

    .covid-icon-img {
        max-width: 100px;
    }

    /* .expire-date-css {
position: absolute;
bottom: 0px;
right: 15px;
}

.renew-covid-btn {
padding: 0px 10px;
border-radius: 30px;
background-color: white;
text-decoration: none;
position: absolute;
bottom: 0px;
right: 15px;
font-size: 64%;
} */
    .expire-date-css-no-renew {
        position: absolute;
        bottom: 14px;
        right: 15px;
    }

    .expire-date-css {
        position: absolute;
        bottom: -2px;
        right: 15px;
    }

    .renew-covid-btn {
        padding: 0px 10px;
        border-radius: 30px;
        /* background-color: white; */
        text-decoration: none;
        position: absolute;
        bottom: -5px;
        right: 7px;
        font-size: 75%;
    }

    .card-text-grid {
        display: grid;
        grid-template-columns: 32% 5px auto;
    }
}

@media screen and (min-width: 541px) {
    .download-icon {
        width: 20px;
        height: 20px;
    }

    .contact-center {
        font-size: 0.8rem;
        margin-top: -10px;
        color: #a7a7a7;
    }

    .renew-covid-btn {
        padding: 0px 10px;
        border-radius: 30px;
        /* background-color: white; */
        text-decoration: none;
        position: absolute;
        bottom: 16px;
        right: 15px;
        font-size: 115%;
    }

    .renew-covid-btn {
        padding: 0px 10px;
        border-radius: 30px;
        /* background-color: white; */
        text-decoration: none;
        position: absolute;
        bottom: 10px;
        right: 15px;
        font-size: 120%;
    }

    .expire-date-css {
        position: absolute;
        bottom: 22px;
        right: 25px;
    }

    /* .expire-date-css-no-renew {
position: absolute;
bottom: 16px;
right: 20px;
} */
    .expire-date-css-no-renew {
        position: absolute;
        bottom: 38px;
        right: 20px;
    }

    .card-text {
        font-size: 100%;
    }

    .customer-name {
        font-size: 130%;
    }

    .covid-icon-img {
        max-width: 150px;
    }

    .mobile-right {
        padding-left: 20px;
        padding-right: 8px;
    }

    .card-text-grid {
        display: grid;

        grid-template-columns: 30% 5px auto;;
    }
}

/* ipad pro */
@media screen and (max-width: 1024px)and (min-width: 901px) {
    .download-icon {
        width: 15px;
        height: 15px;
    }

    .renew-covid-btn {
        font-size: 80%;
    }

    .card-text {
        font-size: 80%;
    }

    .customer-name {
        font-size: 130%;
    }
}

@media screen and (max-width: 900px)and (min-width: 769px) {
    .customer-name {
        font-size: 130%;
    }

    .renew-covid-btn {
        font-size: 100%;
    }

    .card-text {
        font-size: 100%;
    }
}

@media screen and (max-width: 768px)and (min-width: 701px) {

    .renew-covid-btn {
        padding: 0px 10px;
        border-radius: 30px;
        /* background-color: white; */
        text-decoration: none;
        position: absolute;
        bottom: 16px;
        right: 25px;
        font-size: 110%;
    }

    .expire-date-css {
        position: absolute;
        bottom: 26px;
        right: 25px;
    }

    .mobile-right {
        padding-left: 30px;
        padding-right: 8px;
    }

    .card-text {
        font-size: 120%;
    }

    .card-text-grid {
        display: grid;
        grid-template-columns: 25% 5px auto;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', sans-serif;
    font-size: 16px;
}

/* ถ้าการ์ดหมดอายุ */
.card-expired {
    opacity: 0.3;
}

h1,
h2,
h3,
h4,
h5,
.pricingdiv ul.theplan li.title {
    font-family: 'Mitr', sans-serif;
}

.card-no-border {
    border: none;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    /* change if the mask should have another color then white */
    z-index: 99;
    /* makes sure it stays on top */
    display: none;
}

#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    /* centers the loading animation horizontally one the screen */
    top: 50%;
    /* centers the loading animation vertically one the screen */
    background-image: url(assets/img/preload.gif);
    opacity: 0.6;
    /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;
    display: none;
    /* is width and height divided by two */
}

@font-face {
    font-family: 'DB Adman X';
    src: url('DB_Adman_X/DB Adman X_0.ttf') format('truetype'),
}

@import url('https://fonts.googleapis.com/css2?family=Ovo&display=swap');

@font-face {
    font-family: "Muli";
    font-style: normal;
    font-weight: 300;
    src: local("Muli Light"), local("Muli-Light"), url("https://fonts.gstatic.com/s/muli/v7/T-qN9Yh40TTJeenUALkjgg.woff2") format("woff2"), url("https://fonts.gstatic.com/s/muli/v7/_fUwxgthNvUM9WCtMyMvbA.woff") format("woff");
}

@font-face {
    font-family: 'FontTitle';
    src: url('../assets/fonts/ThaiSansNeue-Light.eot');
    src: url('../assets/fonts/ThaiSansNeue-Light.eot?') format('embedded-opentype'), url('../assets/fonts/ThaiSansNeue-Light.woff') format('woff'), url('../assets/fonts/ThaiSansNeue-Light.ttf') format('truetype'), url('../assets/fonts/ThaiSansNeue-Light.svg#ThaiSansNeue-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

.sum-p {
    line-height: 1;
    /* margin: 0px; */
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 5px;
}

.sum-p:nth-child(1) {
    font-size: 18px;
}

canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.tooltip-inner {
    text-align: left;
}

.sum-data {
    border-bottom: 1px solid #E1E1E1;
    /* padding-bottom: 5px; */
}

.sum-data>td:nth-child(2) {
    text-align: right;
}

.sum-data>td:nth-child(3) {
    text-align: right;
}

.sum-data>td {
    padding: 5px 0px;
}