﻿@font-face {
	font-family: "NiveauGroteskBold";
	src: url("Helvetica/DINPro-Boldtr.eot"); /* IE9 Compat Modes */
	src: url("Helvetica/DINPro-Boldtr.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
	url("Helvetica/DINPro-Boldtr.woff2") format("woff2"), /* Modern Browsers */
	url("Helvetica/DINPro-Boldtr.woff") format("woff"), /* Modern Browsers */
	url("Helvetica/DINPro-Boldtr.otf") format("opentype"), /* Open Type Font */
	url("Helvetica/DINPro-Boldtr.svg") format("svg"), /* Legacy iOS */
	url("Helvetica/DINPro-Boldtr.ttf") format("truetype"); /* Safari, Android, iOS */
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "NiveauGroteskLight";
	src: url("Helvetica/DINPro-Lighttr.eot"); /* IE9 Compat Modes */
	src: url("Helvetica/DINPro-Lighttr.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
	url("Helvetica/DINPro-Lighttr.woff2") format("woff2"), /* Modern Browsers */
	url("Helvetica/DINPro-Lighttr.woff") format("woff"), /* Modern Browsers */
	url("Helvetica/DINPro-Lighttr.otf") format("opentype"), /* Open Type Font */
	url("Helvetica/DINPro-Lighttr.svg") format("svg"), /* Legacy iOS */
	url("Helvetica/DINPro-Lighttr.ttf") format("truetype"); /* Safari, Android, iOS */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "NiveauGroteskMedium";
	src: url("Helvetica/DINPro-Mediumtr.eot"); /* IE9 Compat Modes */
	src: url("Helvetica/DINPro-Mediumtr.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
	url("Helvetica/DINPro-Mediumtr.woff2") format("woff2"), /* Modern Browsers */
	url("Helvetica/DINPro-Mediumtr.woff") format("woff"), /* Modern Browsers */
	url("Helvetica/DINPro-Mediumtr.otf") format("opentype"), /* Open Type Font */
	url("Helvetica/DINPro-Mediumtr.svg") format("svg"), /* Legacy iOS */
	url("Helvetica/DINPro-Mediumtr.ttf") format("truetype"); /* Safari, Android, iOS */
	font-weight: 500; /* Medium weight */
	font-style: normal;
}

.normal {
	font-family: 'NiveauGroteskMedium';
	font-size: 14px;
	color: #000000;
	TEXT-DECORATION: none;
	text-transform: uppercase;
}


.FontBold {
	font-family: 'NiveauGroteskBold';
}
.FontMedium {
	font-family: 'NiveauGroteskMedium';
}
.FontLight {
	font-family: 'NiveauGroteskLight';
}
.Font16 {
	font-size: 16px;
	color: #000000;
	TEXT-DECORATION: none;
	text-transform: uppercase;
}
.Font18 {
	font-size: 18px;
	color: #000000;
	TEXT-DECORATION: none;
	text-transform: uppercase;
}
.Font24 {
	font-size: 24px;
	color: #000000;
	TEXT-DECORATION: none;
	text-transform: uppercase;
}


.font_username {
	font-family: 'NiveauGroteskMedium';
	font-size: 14px;
	color: #FFFFFF;
}
.font_written_heading {
	font-family: 'NiveauGroteskMedium';
	font-size: 18px;
	color: #FFFFFF;
	TEXT-DECORATION: none;
	text-transform: uppercase;
}


.CheckOver {
	cursor: pointer;
}

.ButtonTopHeight {
	height: 35px;
}
.ButtonHeight {
	height: 45px;
}

/********************************************* FONT Others **********************/
/********************************************* FONT Others **********************/
.swal2-confirm {
	font-family: 'Arial' !important;
	font-size: 18px !important;
	width: 80px;
	text-align: center !important;
	background-color: #2d2e2d !important;
	padding: 8px 12px !important;
	border: none !important;
	color: white !important;
	display: inline-block !important;
	margin: 4px 2px !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	margin-left: 10px !important;
	margin-right: 10px !important;
}

	.swal2-confirm:hover, .swal2-confirm:active {
		/*background: green !important;*/
		color: lightgray !important;
	}

.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('images/loading3.gif') 50% 50% no-repeat rgb(249,249,249);
	opacity: .8;
}

/***************** MENU DROPDOWN *****************/
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 250px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

	.dropdown-content a {
		color: black;
		padding: 8px 12px;
		text-decoration: none;
		display: block;
	}

		.dropdown-content a:hover {
			background-color: #f1f1f1;
		}

.dropdown:hover .dropdown-content {
	display: block;
}

.InActive:hover {
	background-color: #F0F8FF;	
}

/* Spinner Style */
.spinner {
	width: 100px;
	height: 100px;
	border: 6px solid red;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	backface-visibility: hidden;
	will-change: transform;
	transform: translateZ(0);
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	display: none; 
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/*ADMAN 2025*/
@font-face {
	font-family: "DINProMedium";
	src: url("fonts/DINPro-Medium.ttf") format("truetype");
	font-weight: 500; /* ใช้ 500 สำหรับฟอนต์ Medium */
	font-style: normal;
}

@font-face {
	font-family: "DINProBold";
	src: url("fonts/DINPro-Bold.ttf") format("truetype");
	font-weight: bold; /* ใช้ bold สำหรับฟอนต์ Bold */
	font-style: normal;
}

@font-face {
	font-family: "DINProLight";
	src: url("fonts/DINPro-Light.ttf") format("truetype");
	font-weight: 300; /* ใช้ 300 สำหรับฟอนต์ Light */
	font-style: normal;
}

@font-face {
	font-family: "NotoSansThai";
	src: url("fonts/NotoSansThai.ttf") format("truetype");	
	font-style: normal;
}

.font_written_body {
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 16px;
	color: #FFFFFF;
	TEXT-DECORATION: none;
}

/* Custom Global Loader */
#btn-loader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999999;
	justify-content: center;
	align-items: center;
}

	#btn-loader .spinner-border {
		width: 8rem;
		height: 8rem;
		border-width: 0.8rem;
	}