
/*@font-face {
	font-family: myFont;
	src: url(../fonts/iannnnn-DUCK-Regular.ttf);
}*/

@font-face {
	font-family: myFont;
	src: url(../fonts/LINESeedSansTH_A_Rg.ttf);
}

body{
	font-family: myFont !important;
	color: #2e4053 !important;
}

div{
	font-family: myFont !important;
	color: #2e4053 !important;
}

h1, h2, h3, h4, h5, h6, ul, li, a, p, b, font, th, td, pre, tt, span{
	font-family: myFont !important;
}

label{
	font-family: myFont !important;
	font-weight: 600 !important;
}

td{
	padding: 0px !important;
	color: #2e4053 !important;
}

tr.border_bottom {
    border: 1px solid #2e4053;
    height: 35px;
	color: #2e4053 !important;
}

p{
    font-size: 16px;
    line-height: unset;
    margin-bottom: 10px;
    word-break: break-word;
}

hr{
    border-top: 1px solid #d5d8dc !important;
}

pre {
	white-space: pre-wrap;
	word-break: normal;
	width: 100%;
	display: -webkit-inline-box !important;
	display: unset;
    font-size: unset;
}

body.loading {
	overflow: auto;
}

a {
    color: #2e4053 !important;
    text-decoration: none !important;
}

a:hover{
	text-decoration: none !important;
	color: #31ce36 !important;
}

.my-separator-dashed-1{
    border-top: 1px dashed #ddd;
    margin: 8px 0;
}

.my-separator-dashed{
    border-top: 1px dashed #d5d8dc;
    margin: 15px 0;
}

.my-separator-dashed-2{
    border-top: 2px dashed #2e4053;
    margin: 15px 0;
}

.form-control{
	border-radius: 15px !important;
}

.form-group {
    padding: 10px 0 !important;
}

.sidebar .nav>.nav-item.submenu, .sidebar[data-background-color=white] .nav>.nav-item.submenu {
    background: rgba(0, 0, 0, .03) !important;
}

.swal2-img-maxheight {
	max-height: 90vh !important;
	width: auto !important;
	height: auto !important;
	border-radius: 18px;
	display: block;
	margin: 0 auto;
}

.my-card-hover {
	transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.22s;
	/*cursor: pointer;*/
}
.my-card-hover:hover {
	transform: translateY(-8px) scale(1.03);
	box-shadow: 0 8px 24px 0 rgba(22,22,22,0.13), 0 1.5px 6px 0 rgba(0,0,0,0.04);
	z-index: 5;
}

.img-hover-lift {
	transition: transform 0.18s cubic-bezier(.4,1,.7,1), box-shadow 0.2s;
	box-shadow: 0 2px 10px 0 rgba(40,40,40,0.03);
	cursor: pointer;
	border-radius: 16px; /* เพิ่มมุมมน ดู soft */
}

.img-hover-lift:hover {
	transform: translateY(-8px) scale(1.045);
	box-shadow: 0 10px 32px 0 rgba(44, 44, 44, 0.17), 0 1.5px 6px 0 rgba(0,0,0,0.08);
	z-index: 5;
}

#fileListTable_filter input[type="search"].form-control {
	width: 320px;   /* หรือขนาดที่ต้องการ เช่น 400px */
	max-width: 100%;   /* ไม่เกิน parent */
	display: inline-block;
}

/* -------------------------------------------- */

div.c {
	position: absolute;
	right: 10px;  
	width: 106px;
	height: 132px;
	border: 1px solid #000;
	top: 80px;
} 

div.c2 {
	position: absolute;
	right: 10px;  
	width: 106px;
	height: 132px;
	border: 1px solid #ebecec;
	top: 80px;
} 

.iframe-wrap{
	position: relative;
	width: 100%;
	/* 16:9 => 56.25% | 4:3 => 75% */
	padding-bottom: 100%;
}
.iframe-wrap iframe{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.my-badge {
    border-radius: 5px;
    margin-left: auto;
    line-height: 1;
    padding: 0px;
    vertical-align: middle;
    font-weight: 400;
    font-size: 11px;
    border: none;
    height: fit-content !important;
}

.ok-badge, .no-badge { display: none; }

#homeCarousel .carousel-item img {
	height: 450px;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.swal2-img-maxheight {
	max-height: 90vh !important;
	width: auto !important;
	height: auto !important;
	border-radius: 18px;
	display: block;
	margin: 0 auto;
}

.w-10{
	width: 10% !important;
}

.w-15{
	width: 15% !important;
}

.w-20{
	width: 20% !important;
}

.my-card-body{
	padding: 5px !important;
	border-radius: 20px;
}

.my-card-body:hover{
	background-color: #fffcfc !important;
}

.my-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.my-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
	box-shadow: 0 2px 16px rgba(148, 49, 38, 0.13);
}

.my-container-maxwidth{
	max-width: 1280px !important;
	margin: auto !important;
}

.active>.page-link, .page-link.active {
    background-color: #f2f9f2 !important;
    border-color: #f2f9f2 !important;
}

.my-user{
	padding: 0px 5px !important;
}

.user-level-my{
	font-weight: unset !important;
}

.user{
	background: #f2f9f2 !important;
	border-radius: 25px;
}

.online-status::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: #31ce36;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}

.sidebar .user, .sidebar[data-background-color=white] .user {
    margin-left: 5px !important;
    margin-right: 5px !important;
    margin-top: 5px !important;
}

.highlight {
	background-color: yellow;
	font-weight: bold;
}

.crop-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: center;
	border-radius: 10px;
}

.crop-img-2 {
	width: 100%;
	height: 90px;
	object-fit: cover;
	object-position: center;
	border-radius: 10px;
}

.my-container-top{
	margin-top: 10px !important;
}

.table>tbody>tr>td, .table>tbody>tr>th {
    padding: 10px 5px !important;
}

.table thead th {
    padding: 10px 5px !important;
}

.btn {
    border-radius: 15px;
}

.breadcrumbs {
    margin-left: 0px !important;
}

.card, .card-light {
    border-radius: 20px;
	box-shadow: none;
	margin-bottom: 15px !important;
	box-shadow: 0 2px 16px rgba(80, 100, 120, 0.13);
}

.card-none{
	box-shadow: none !important;
	background: #F8FAFC !important;
}

.card-none-backup{
	box-shadow: none !important;
	background: #CBFBF1 !important;
}

.input-shadow{
	box-shadow: 0 2px 16px rgba(80, 100, 120, 0.13);
}

.pd-none {
	padding: 0 !important;
}

.pd-5{
	padding: 5px !important;
}

.pd-10{
	padding: 10px !important;
}

.pd-15{
	padding: 15px !important;
}

.bd-rd-5{
	border-radius: 5px !important;
}

.bd-rd-10{
	border-radius: 10px !important;
}

.bd-rd-15{
	border-radius: 15px !important;
}

.bd-rd-20{
	border-radius: 20px !important;
}

.overflow-x-auto {
	-ms-overflow-style: none;      /* IE, Edge */
	scrollbar-width: none;         /* Firefox */
	overflow-x: auto;
}

.overflow-x-auto::-webkit-scrollbar {
	display: none;                 /* Chrome, Safari, Opera */
}

.font-main{
	color: #2e4053 !important;
}

.font-pink{
	color: #ff6bcc !important;
}

.font-blue{
	color: #6bb7ff !important;
}

.font-orange{
	color: #f37567 !important;
}

.font-red{
	color: #f69292 !important;
}

.font-yellow{
	color: #fcd752 !important;
}

.font-green{
	color: #1fa084 !important;
}

.font-white{
	color: #fff !important;
}

.my-status-red{
	padding: 2px 8px !important;
	color: #b03a2e !important;
	background-color: #fdedec !important;
    border-color: #fdedec !important;
	border-radius: 10px !important;
}

.my-status-yellow{
	padding: 2px 8px !important;
	color: #b7950b !important;
	background-color: #fef9e7 !important;
    border-color: #fef9e7 !important;
	border-radius: 10px !important;
}

.my-status-green{
	padding: 2px 8px !important;
	color: #148f77 !important;
	background-color: #e8f8f5 !important;
    border-color: #e8f8f5 !important;
	border-radius: 10px !important;
}

.my-status-blue{
	padding: 2px 8px !important;
	color: #1f618d !important;
	background-color: #eaf2f8 !important;
    border-color: #eaf2f8 !important;
	border-radius: 10px !important;
}

.my-status-success{
	padding: 2px 8px !important;
	color: #155724 !important;
	background-color: #d4edda !important;
    border-color: #c3e6cb !important;
	border-radius: 10px !important;
}

.my-status-danger{
	padding: 2px 8px !important;
	color: #721c24 !important;
	background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
	border-radius: 10px !important;
}

.my-status-info{
	padding: 2px 8px !important;
	color: #0c5460 !important;
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
	border-radius: 10px !important;
}

.my-status-primary{
	padding: 2px 8px !important;
	color: #004085 !important;
    background-color: #cce5ff !important;
    border-color: #b8daff !important;
	border-radius: 10px !important;
}

.my-status-warning{
	padding: 2px 8px !important;
	color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
	border-radius: 10px !important;
}

.my-status-defult{
	padding: 2px 8px !important;
	color: #383d41 !important;
    background-color: #e2e3e5 !important;
    border-color: #d6d8db !important;
	border-radius: 10px !important;
}

.my-status-maroon{
	padding: 1px 10px !important;
	margin: 0px 5px !important;
	color: #ffffff !important;
    background-color: #990000 !important;
    border-color: #990000 !important;
	border-radius: 10px !important;
}

.my-status-secondary{
	padding: 1px 10px !important;
	margin: 0px 5px !important;
	color: #8207DB !important;
    background-color: #E9D4FF !important;
    border-color: #E9D4FF !important;
	border-radius: 10px !important;
}

.text-1-lines{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1; /* number of lines to show */
	-webkit-box-orient: vertical;
}

.text-2-lines{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* number of lines to show */
	-webkit-box-orient: vertical;
}

.text-3-lines{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3; /* number of lines to show */
	-webkit-box-orient: vertical;
}

.my-mt-5{
	margin-top: 5px;
}

.my-mt-10{
	margin-top: 10px;
}

.my-mt-15{
	margin-top: 15px;
}

.my-mt-20{
	margin-top: 20px;
}

.my-mb-5{
	margin-bottom: 5px;
}

.my-mb-10{
	margin-bottom: 10px;
}

.my-mb-15{
	margin-bottom: 15px;
}

.my-mb-20{
	margin-bottom: 20px;
}

.my-font-10{
	font-size: 10px !important;
}

.my-font-12{
	font-size: 12px !important;
}

.my-font-14{
	font-size: 14px !important;
}

.my-font-16{
	font-size: 16px !important;
}

.my-font-18{
	font-size: 18px !important;
}

.my-font-20{
	font-size: 20px !important;
}

.my-font-22{
	font-size: 22px !important;
}

.my-font-24{
	font-size: 24px !important;
}

.my-font-26{
	font-size: 26px !important;
}

.my-font-28{
	font-size: 28px !important;
}

.my-font-30{
	font-size: 30px !important;
}

@media (min-width: 992px) {
    
}

/* Responsive */
@media (max-width: 1024px) {
	

}

/* Responsive */
@media (max-width: 767px) {
	#homeCarousel .carousel-item img {
		height: clamp(220px, 35vh, 45vh);
	}
}

@media (max-width: 576px) {
	#homeCarousel .carousel-item img {
		height: clamp(220px, 25vh, 35vh);
	}
}
