/* @import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Krub:wght@300;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Trirong:wght@500;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital@1&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    font-family: var(--bs-font-secondary);
    font-weight: normal;
    font-size: 1rem;
    background-color: #DFE4F3;
}
.font-pri {
    font-family: var(--bs-font-primary);
}
.font-sec {
    font-family: var(--bs-font-secondary);
}
.font-tri {
    font-family: var(--bs-font-tertiary);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--bs-font-primary), sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

a,
a:hover {
    text-decoration: none;
    color: var(--bs-dark);
}
/*
|--------------------------------------------------------------------------
| Text & Button
|--------------------------------------------------------------------------
*/
.btn {
    /* border-radius: 0 !important; */
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    border: 2px solid var(--bs-primary) !important;
}
.btn-primary2 {
    background-color: var(--bs-primary2) !important;
    color: var(--bs-white) !important;
    border: 2px solid var(--bs-primary2) !important;
}
.btn-outline-primary {
    background-color: var(--bs-white) !important;
    color: var(--bs-primary) !important;
    border: 2px solid var(--bs-primary) !important;
}
.btn-outline-primary2 {
    background-color: var(--bs-white) !important;
    color: var(--bs-primary-2) !important;
    border: 2px solid var(--bs-primary-2) !important;
}
.btn-secondary {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    border: 2px solid var(--bs-secondary) !important;
}
.btn-outline-secondary {
    background-color: var(--bs-white) !important;
    color: var(--bs-secondary) !important;
    border: 2px solid var(--bs-secondary) !important;
}
.btn-outline-triple {
    background-color: #f7f7f7 !important;
    color: var(--bs-dark) !important;
    border: 2px solid #f7f7f7 !important;
}
.btn-cancel {
    background-color: var(--bs-light-gray) !important;
    color: var(--bs-dark) !important;
    border: 2px solid var(--bs-light-gray) !important;
}

.btn-lang {
    background: transparent;
    border: 0;
    color: #fff;
    padding: 0 10px;
}
.btn-lang.active {
    color: var(--bs-blue);
}
.text-primary {
    color: var(--bs-primary) !important;
}
.text-secondary {
    color: var(--bs-secondary) !important;
}
.text-triple {
    color: var(--bs-triple) !important;
}
.text-grey {
    color: var(--bs-grey) !important;
}
.text-border {
    color: var(--bs-border) !important;
}
.text-yellow {
    color: var(--bs-yellow) !important;
}
.text-blue {
    color: var(--bs-blue) !important;
}
.text-green {
    color: var(--bs-green) !important;
}

.btn-del-comment,
.btn-del-comment:hover {
    font-size: 0.8rem;
    background-color: var(--bs-danger);
    border: 1px solid var(--bs-danger) !important;
    padding: 0 10px 0 10px;
    color: var(--bs-white);
    border-radius: 5px;
}

.btn-edit-comment,
.btn-edit-comment:hover {
    font-size: 0.8rem;
    background-color: var(--bs-white);
    border: 1px solid var(--bs-danger) !important;
    padding: 0 10px 0 10px;
    border-radius: 5px;
    color: var(--bs-danger);
}
a.rounded {
    border-radius: 1rem !important;
}

a.bg-secondary:hover,
a.bg-secondary:focus,
a.bg-secondary:active {
    background-color: #ffb81c !important;
    color: #fff !important;
}

/*
|--------------------------------------------------------------------------
| Background Image
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Font Size
|--------------------------------------------------------------------------
*/
.fs-smaller {
    font-size: 0.9rem;
}
.fs-normal {
    font-size: 1rem;
}
.fs-bigger {
    font-size: 1.2rem;
}

/*
|--------------------------------------------------------------------------
| Background Color
|--------------------------------------------------------------------------
*/
.bg-primary {
    background-color: #DFE4F3 !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.bg-secondary-2 {
    background-color: var(--bs-secondary-2) !important;
}

.bg-tertiary {
    background-color: var(--bs-tertiary) !important;
}

.bg-triple {
    background-color: var(--bs-triple) !important;
}
.bg-white {
    background-color: var(--bs-white) !important;
}
.bg-blue {
    background-color: var(--bs-blue) !important;
}

.bg-breadcrumbs {
    font-size: 0.8rem;
    background: var(--bs-gradient-1);
    color: white;
}
div.sub-link i:first-child {
    display: none !important;
}

.bg-footer {
    background-color: var(--bs-primary);
}

.bg-grey {
    background-color: var(--bs-grey);
}

.bg-transparent {
    background-color: transparent;
}

.gradiant-bg {
    background: linear-gradient(45deg, #2fafa4, #214097);
}
/*
|--------------------------------------------------------------------------
| Padding
|--------------------------------------------------------------------------
*/
.pr-1 {
    padding-right: 10px;
}
.pr-2 {
    padding-right: 20px;
}
.pr-3 {
    padding-right: 30px;
}
.pr-4 {
    padding-right: 40px;
}
.pr-5 {
    padding-right: 50px;
}

/*
|--------------------------------------------------------------------------
| Font Weight
|--------------------------------------------------------------------------
*/
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-800 {
    font-weight: 800;
}

/*
|--------------------------------------------------------------------------
| Bordor
|--------------------------------------------------------------------------
*/
.border-primary {
    border: 2px solid var(--bs-primary) !important;
    background-color: var(--bs-primary);
}

.border-secondary {
    border: 2px solid var(--bs-secondary) !important;
    background-color: var(--bs-secondary);
}

/*
|--------------------------------------------------------------------------
| Shadow
|--------------------------------------------------------------------------
*/

.box-shadow-prod {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/
ul.pagination button {
    color: #7b8189;
    font-weight: 600;
    font-size: 1.1rem;
}
ul.pagination button:hover,
ul.pagination button:focus,
ul.pagination button:active {
    color: var(--bs-primary);
    outline: none;
    box-shadow: none;
}

.btn-page {
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-page.active {
    color: var(--bs-secondary);
}
.btn-page-next,
.btn-page-pre {
    text-transform: uppercase;
    font-weight: 400 !important;
    font-size: .9rem !important;
}
.btn-circle.btn-sm {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    text-align: center;
}

/*
|--------------------------------------------------------------------------
| Dropdown List
|--------------------------------------------------------------------------
*/
.dropdown-item:active {
    background-color: #efefef;
}

.dropdown-menu a:hover {
    color: var(--bs-secondary);
}
/*
|--------------------------------------------------------------------------
| Radio Button
|--------------------------------------------------------------------------
*/

.form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/*
|--------------------------------------------------------------------------
| Back to top button
|--------------------------------------------------------------------------
*/
#st-1 .st-btn {
    border-radius: 5px !important;
    background-color: #c1c1c1 !important;
}
#st-1 .st-btn:last-child {
    display: inline-block !important;
}

/*
|--------------------------------------------------------------------------
| Back to top button
|--------------------------------------------------------------------------
*/
#btn_back_to_top {
    display: inline-block;
    background-color: var(--bs-gray);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
#btn_back_to_top::before {
    /*font-family: "Font Awesome 5 Free";
	content: "\f167";*/
    font-weight: 400;
    font-style: normal;
    /*font-size: 1.4em;*/
    line-height: 50px;
    color: #fff;
}
#btn_back_to_top:hover {
    cursor: pointer;
    opacity: 0.8 !important;
}
#btn_back_to_top i:hover {
    color: #fff !important;
    text-decoration: none !important;
}
#btn_back_to_top:active {
    background-color: var(--bs-gray);
}
#btn_back_to_top.show {
    opacity: 1;
    visibility: visible;
}

/*
|--------------------------------------------------------------------------
| Text line limit
|--------------------------------------------------------------------------
*/
.text-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-3-line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-4-line {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-5-line {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-6-line {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-7-line {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-8-line {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-9-line {
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| Error input
|--------------------------------------------------------------------------
*/
label.error {
    color: #dc3545;
}

.form-control.error {
    border: 1px solid #dc3545;
    font-size: 0.8rem;
}

/*
|--------------------------------------------------------------------------
| Modal alert
|--------------------------------------------------------------------------
*/
.modal-content {
    border-radius: 2rem;
}

/*
|--------------------------------------------------------------------------
| Border buttom
|--------------------------------------------------------------------------
*/

.border-bt-collapse {
    border-bottom: 2px solid var(--bs-grey) !important;
}

/*
|--------------------------------------------------------------------------
| Scroll bars
|--------------------------------------------------------------------------
*/
::-webkit-scrollbar{
    width:10px;
    height:10px
}
::-webkit-scrollbar-track{
    background-color:#e1e7ed
}
::-webkit-scrollbar-thumb{
    height:8px;
    min-height:6px;
    border:0;
    background-clip:padding-box;
    background-color:#4a4a4a;
    -webkit-border-radius:2px;
    -webkit-box-shadow:inset -1px -1px 0px rgba(0,0,0,0),inset 1px 1px 0px rgba(0,0,0,0)
}
::-webkit-scrollbar-button{
    display:none;
    width:0;
    height:0
}
::-webkit-scrollbar-corner{
    background-color:transparent
}
.no-scroll{
    position:relative;
    overflow:hidden!important
}

/* owlcustom */

.owl-theme .owl-dots .owl-dot span {
    background: var(--bs-white) !important;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--bs-secondary) !important;
}
