@font-face {
    font-family: Prompt-Regular;
    src: url('../fonts/Prompt/Prompt-Regular.ttf'); 
    font-display: swap;
}

body {
    /* font-family: "Athiti-Medium", sans-serif; */
    font-family: "Prompt-Regular", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden; 
}

/* วิธีง่ายที่สุด — ทั้งเว็บเป็นขาว-ดำ */
html {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

i, span, a {
    display: inline-block; 
}

a, a:hover {
    text-decoration: none;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

ul, ol {
    margin: 0px;
    padding: 0px;
    /* list-style-type: none;  */
}

.ul-icons li {
    margin-bottom: 20px;
    font-size: 16px;
}

.ul-icons li:last-child {
    margin-bottom: 0px;
    font-size: 16px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin: 0px; 
}

.bg_cover {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%; 
}

form .radio label {
    color: #999;
    cursor: pointer;
}

.radio label {
    width: 100%;
}

.form-info label, .form-info input, .form-info select {
    width: 100%;
    margin-bottom: 0;
}

.hidden {
    display: none !important;
}

.required {
    color: var(--color-theme-red);
    font-size: 16px;
    line-height: 1;
    border: none;
}

.remark {
    font-size: 16px;
    border: none;
    padding: 0px 0px 10px 0px;
}

.remark-notice {
    font-size: 14px;
    color: var(--color-theme-red);
    padding-bottom: 10px;
}

.check-succes {
    font-size: 150px;
    color: green;
}

.check-error {
    font-size: 150px;
    color: var(--color-theme-red);
}

.text-red{
    color: var(--color-theme-red) !important;
}

.text-white{
    color: var(--color-white) !important;
}

.text-black{
    color: #000000;
}

.text-white-subfooter{
    color: var(--color-white) !important;
}

.text-white-subfooter:focus, .text-white-subfooter:hover {
    color: var(--color-theme-red) !important;
    text-decoration: underline;
}

.text-white-topbar{
    color: var(--color-white) !important;
    font-weight: 600;
}

.text-white-topbar:focus, .text-white-topbar:hover {
    color: #ffd720 !important;
    text-decoration: none;
}

img {
    max-width: 100%;
}

fieldset {
    border: 3px solid #D63229;
    padding: 12px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.bg-image-01 {
    background-image: url('../images/background/background-01.webp');
    background-position: center;
    background-repeat: repeat;
}

.border-shadow {
    box-shadow: 0 0 8px 0 rgb(141 151 158 / 20%);
    border: solid 1px #eee;
    background-color: var(--color-white);
}

hr {
    border-top: 1px solid rgb(218 77 77);
}

.content-box {
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.5s ease;
    /* box-shadow: 0 8px 16px 0 rgb(0 0 0 / 10%); */
    box-shadow: 0 5px 20px 0 rgb(0 0 0 / 10%);
    background-color: var(--color-white);
}

.content-box-empty {
    overflow: hidden;
    border-radius: 0px;
    padding: 0px;
    transition: all 0.5s ease;
}

.notice-input span {
    font-size: 14px;
}

@media (max-width: 500px) {
    .notice-input span {
        font-size: 12px;
    }
}

.input-group-prepend span {
    -webkit-box-shadow: 0 0.125rem 0.25rem 0 rgb(58 59 69 / 20%) !important;
    box-shadow: 0 0.125rem 0.25rem 0 rgb(58 59 69 / 20%) !important;
    color: #fff;
    background-color: #da2a2a !important;
    border-color: #da2a2a !important;
    border-radius: 0px 30px 30px 0px !important;
}

.input-group-text {
    padding: 0rem 0.75rem;
}

.input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}

/* Style for the date picker arrow */
.custom-date-input::-webkit-calendar-picker-indicator {
    background: transparent;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb-box{
    background-color: rgb(202 42 42);
    color: var(--color-white);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;    
}

.breadcrumb-box span{
    text-decoration: underline;
}

.screen-display{
    display: block;
}

.border-red-right{
    border-right: 2px solid var(--color-theme-red);
}

@media (max-width: 767px){
    .screen-display{
        display: none;
    }

    .border-red-right{
        border-right: 0px solid var(--color-theme-red);
    }
}

/*=============== BUTTON ===============*/
.btn-friend-facebook {
    width: 100%;
    background-color: #1877f2;
    color: var(--color-white);
    font-weight: bold;
    padding: 0px 40px 0px 10px;
    border: 2px solid #1877f2;
    border-radius: 20px;
}

.btn-friend-facebook:active, .btn-friend-facebook:hover, .btn-friend-facebook:focus {
    box-shadow: 0 0 3px #1877f2;
    color: var(--color-white);
}

.btn-friend-facebook img {
    padding-left: 10px;
    float:left;
}

.btn-friend-facebook span {
    vertical-align: -webkit-baseline-middle;
}

.btn-friend-line {
    width: 100%;
    background-color: #00c300;
    color: var(--color-white);
    font-weight: bold;
    padding: 0px 35px 0px 10px;
    border: 2px solid #00c300;
    border-radius: 20px;
}

.btn-friend-line:active, .btn-friend-line:hover, .btn-friend-line:focus {
    box-shadow: 0 0 3px #00c300;
    color: var(--color-white);
}

.btn-friend-line img {
    padding-left: 10px;
    float:left;
}

.btn-friend-line span {
    vertical-align: -webkit-baseline-middle;
}
.btn-60{
    width: 60%;
}

.btn-70{
    width: 70%;
}

.btn-80{
    width: 80%;
}

.btn-90{
    width: 90%;
}

.btn-100{
    width: 100%;
}

.btn {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 16px;
}
  
.btn-template-main {
    background: #da4d4d;
    border: 1px solid #da4d4d !important;
    color: var(--color-white) !important;
    border-radius: 0 !important;
    text-decoration: none;
}
  
.btn-template-main:hover, .btn-template-main:focus {
    background: #d63838;
    color: var(--color-white) !important;
    border-color: #d63838 !important;
}
  
.btn-template-white {
    background: var(--color-white);
    color: #da4d4d !important;
    border: 1px solid #da4d4d !important;
    border-radius: 0 !important;
    text-decoration: none;
}
  
.btn-template-white:hover, .btn-template-white:focus {
    background: #da4d4d !important;
    color: var(--color-white) !important;
}

.btn-template-outlined {
    background: none;
    border: 1px solid #da4d4d !important;
    color: #da4d4d;
    border-radius: 0 !important;
    text-decoration: none;
}

.btn-template-outlined:hover, .btn-template-outlined:focus {
    background: #da4d4d;
    color: var(--color-white) !important;
}

.btn-template-outlined-white {
    background: none;
    border: 1px solid var(--color-white) !important;
    color: var(--color-white);
    border-radius: 0 !important;
    text-decoration: none;
}

.btn-template-outlined-white:hover, .btn-template-outlined-white:focus {
    background: var(--color-white);
    color: #da4d4d !important;
}

.btn-template-outlined-black {
    background: none;
    border: 1px solid #333 !important;
    color: #333;
    border-radius: 0 !important;
    text-decoration: none;
}

.btn-template-outlined-black:hover, .btn-template-outlined-black:focus {
    background: #333 !important;
    color: var(--color-white) !important;
}
/*=============== BUTTON ===============*/

/*=============== FORM CONTROL ===============*/
.form-control {
    height: calc(1.5em + 0.75rem + 2px);
    border-radius: 30px;
    font-size: 16px;
}
  
.form-control:focus {
    border-color: #da4d4d;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(218, 77, 77, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(218, 77, 77, 0.25);
}

.form-group label {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 16px;
}
/*=============== FORM CONTROL ===============*/

/*=============== BANNER BLOG css ===============*/
.custom-banner-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
    width: 100%;
    display: block;
}

.custom-banner-image .banner-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-banner-image .banner-absolute {
    position: absolute;
}

.custom-banner-image .banner-text {
    color: #eee;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.custom-banner-image .banner-text-padding-50 {
    padding: 50px 0;
}

.custom-banner-image .banner-text-padding-85 {
    padding: 85px 0;
}
.custom-banner-image .banner-text{
    color: var(--color-white);
}

@media (max-width: 767px){
    /* .custom-banner-image {
        display: none;
    } */

    .header-container.container-fluid .row-fluid .page-center {
        padding: 0;
    }

    .custom-banner-image .banner-text {
        padding: 50px 15px;
    }
}
/*=============== BANNER BLOG css ===============*/

/*=============== recaptcha ===============*/
.g-recaptcha {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: -webkit-center;
}
/*=============== recaptcha ===============*/

/*=============== file ===============*/
.file {
    visibility: hidden;
    position: absolute;
}

.upload-thumbnail-sm {
    width: 150px;
    border: none !important;
    outline: none;
}

.post-dropzone .delete {
    width: 24px;
    height: 33px;
    margin-left: -27px;
    font-size: 25px;
    cursor: pointer;
    color: var(--color-white);
    position: relative;
    opacity: 0.8;
    display: inline-block;
    margin-top: -23px;
    text-align: center;
    line-height: 31px;
}
/*=============== file ===============*/

/*=============== nav tab ===============*/
.nav-tab .nav-pills {
    margin-bottom: 20px;
    border-bottom: 1px solid #da4d4d;
}

.nav-tab .nav-pills a {
    font-size: 16px;
    border-bottom: none !important;
}

.nav-tab .nav-pills a.disabled {
    cursor: not-allowed;
}

.nav-tab .nav-pills .nav-item.nav-link i {
    font-size: 22px;
}

.nav-tab form label {
    margin-bottom: 5px;
}

.nav-tab .payment-method:hover, .nav-tab .shipping-method:hover {
    cursor: pointer;
}
/*=============== nav tab ===============*/

/*================ cover ================*/
.cover-web-page {
    display: block;
    width: 100%;
}

.cover-mobile-page {
    display: none;
}

@media (max-width: 767px){
    .cover-web-page {
        display: none;
        width: 100%;
    }

    .cover-mobile-page {
        display: block;
    }
}
/*================ cover ================*/

/*================ table ================*/
.table-styled {
    border-spacing: 1;
    border-collapse: collapse;
    background: var(--color-white);
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

@media only screen and (max-width: 1024px) {
    .table-styled {
        width: 650px;
    }
}

@media only screen and (max-width: 991px) {
    .table-styled {
        width: 660px;
    }
}

@media only screen and (max-width: 767px) {
    .table-styled {
        width: 650px;
    }
}

.table-styled thead tr {
    background-color: #dc3545;
    color: var(--color-white);
}

.table-styled th, .table-styled td {
    padding: 12px 15px;
}

.table-styled tbody tr {
    border-bottom: 1px solid #dddddd;
}

.table-styled tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.table-styled tbody tr:last-of-type {
    border-bottom: 2px solid #dc3545;
}

.table-styled tbody tr.active-row {
    font-weight: bold;
    color: #dc3545;
}
/*================ table ================*/

/*================ modal ================*/
.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
    background-color: #dc3545;
}

.modal-header h4, .modal-header .close {
    color: var(--color-white);
}
/*================ modal ================*/

/*================ video ================*/
.video-content {
    position: relative;
    padding-bottom: 30px; 
}

.video-content .dots {
    position: absolute;
    left: -30px;
    bottom: 0; 
}

.video-wrapper {
    margin-right: 15px;
    position: relative;
    -webkit-box-shadow: 0px 13px 46px 0px rgba(113, 113, 113, 0.33);
    -moz-box-shadow: 0px 13px 46px 0px rgba(113, 113, 113, 0.33);
    box-shadow: 0px 13px 46px 0px rgba(113, 113, 113, 0.33);
    border-radius: 10px;
    overflow: hidden; 
}

@media (max-width: 767px) {
    .video-wrapper {
        margin-right: 0; 
    } 
}

.video-wrapper .video-image img {
    width: 100%; 
}

.video-wrapper .video-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(54, 28, 193, 0.2) 0%, rgba(46, 130, 239, 0.2) 100%);
    background: -o-linear-gradient(left, rgba(54, 28, 193, 0.2) 0%, rgba(46, 130, 239, 0.2) 100%);
    background: linear-gradient(to right, rgba(54, 28, 193, 0.2) 0%, rgba(46, 130, 239, 0.2) 100%); 
}

.video-wrapper .video-icon a {
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--color-white);
    color: #FE8464;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); 
}
/*================ video ================*/

/*================ owl pagination ================*/
.owl-pagination {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -40px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--color-theme-red);
}

.owl-carousel .owl-dots .owl-dot span {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #aaa;
}

.owl-carousel button.owl-dot {
    display: inline-block;
    zoom: 1;
    display: inline;
    text-align: center;
}

.owl-carousel button.owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 2px 4px;
    filter: alpha(opacity=50);
    opacity: 1;
    border-radius: 30px;
    background: var(--color-white);
    border: 2px solid var(--color-white);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.owl-carousel button.owl-dot.active span, .owl-carousel button.owl-dot.clickable, .owl-carousel button.owl-dot:hover span {
    background: #da4d4d;
}
/*================ owl pagination ================*/

/*================ countdown ================*/
.time-box {
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.5s ease;
    box-shadow: 0 8px 16px 0 rgb(0 0 0 / 10%);
    background-color: var(--color-theme-red);
}

.time-detail {
	/* font-size: 26px; */
    font-weight: 600;
	text-align: center;
    color: var(--color-white);
}

.time-label {
	font-size: 0.5em;
}

@media (max-width: 775px) {
	.time-box {
		flex-wrap: wrap;
	}

	.time-detail {
		font-size: 3em;
	}

	.time-lebel {
		color: var(--color-white);
	}
}

.red-box {
    background-color: rgb(255 232 232);
    border-radius: 10px;
}
/*================ countdown ================*/

/*================ checkbox ================*/
.checkbox {
    --background: var(--color-white);
    --border: #ff9999;
    --border-hover: #eb7f7f;
    --border-active: var(--color-theme-red);
    --tick: var(--color-white);
    position: relative;
}

.checkbox input, .checkbox svg {
    width: 21px;
    height: 21px;
    display: block;
}

.checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    outline: none;
    background: var(--background);
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
    transition: box-shadow 0.3s;
    box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));
}

.checkbox input:hover {
    --s: 2px;
    --b: var(--border-hover);
}

.checkbox input:checked {
    --b: var(--border-active);
}

.checkbox svg {
    pointer-events: none;
    fill: none;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--stroke, var(--border-active));
    position: absolute;
    top: 0;
    left: 0;
    width: 21px;
    height: 21px;
    transform: scale(var(--scale, 1)) translateZ(0);
}

.checkbox.path input:checked {
    --s: 2px;
    transition-delay: 0.4s;
}

.checkbox.path input:checked + svg {
    --a: 16.1 86.12;
    --o: 102.22;
}

.checkbox.path svg {
    stroke-dasharray: var(--a, 86.12);
    stroke-dashoffset: var(--o, 86.12);
    transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;
}

.checkbox-label {
    margin-left: 5px;
}
/*================ checkbox ================*/