/* Font */
@font-face {
	font-family: 'IBM';
	font-weight: 100;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-Thin.ttf) format('truetype');
}
@font-face {
	font-family: 'IBM';
	font-weight: 200;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-ExtraLight.ttf) format('truetype');
}
@font-face {
	font-family: 'IBM';
	font-weight: 300;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-Light.ttf) format('truetype');
}
@font-face {
	font-family: 'IBM';
	font-weight: 400;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-Regular.ttf) format('truetype');
}
@font-face {
	font-family: 'IBM';
	font-weight: 500;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-Medium.ttf) format('truetype');
}
@font-face {
	font-family: 'IBM';
	font-weight: 600;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-SemiBold.ttf) format('truetype');
}
@font-face {
	font-family: 'IBM';
	font-weight: 700;
	font-style: normal;
	src: url(../font/IBMPlexSansThai-Bold.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 100;
	font-style: normal;
	src: url(../font/Kanit-Thin.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 100;
	font-style: italic;
	src: url(../font/Kanit-ThinItalic.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 200;
	font-style: normal;
	src: url(../font/Kanit-ExtraLight.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 200;
	font-style: italic;
	src: url(../font/Kanit-ExtraLightItalic.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 300;
	font-style: normal;
	src: url(../font/Kanit-Light.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 300;
	font-style: italic;
	src: url(../font/Kanit-LightItalic.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 400;
	font-style: normal;
	src: url(../font/Kanit-Regular.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 400;
	font-style: italic;
	src: url(../font/Kanit-Italic.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 500;
	font-style: normal;
	src: url(../font/Kanit-Medium.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 500;
	font-style: italic;
	src: url(../font/Kanit-MediumItalic.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 600;
	font-style: normal;
	src: url(../font/Kanit-SemiBold.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 600;
	font-style: italic;
	src: url(../font/Kanit-SemiBoldItalic.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 700;
	font-style: normal;
	src: url(../font/Kanit-Bold.ttf) format('truetype');
}
@font-face {
	font-family: 'Kanit';
	font-weight: 700;
	font-style: italic;
	src: url(../font/Kanit-BoldItalic.ttf) format('truetype');
}

/* Define */
:root {
	--bs-primary: #b90127;
	--bs-success: #2db58c;
	--bs-success-rgb: 45, 181, 140;
	--bs-danger: #EB5757;
	--bs-info: #56CCF2;
	--text-color: #3c3b3b;
	--text-color-2: #666E7D;
	--gray-1: #525252;
	--gray-2: #7C88B1;
	--gray-3: #D6D9E4;
	--gray-4: #f5f5f5;
	--gray-5: #838383;
	--gray-6: #b7b7b7;
	--bg-color: #5d5d5d;
	--border-color: #EAECF3;
	--brand-line: #06C755;
	--green: #e6f9f7;
	--red: #8d031f;
	--dark-1: #202020;
	--red-fade: #efe5ed;
	--yellow: #ffc700;

	--bs-link-hover-color: #aa2d1b;

	--border-red: #b90127;
	--border-gray: #efe5ed;

	--card-bg: #fff;

	--cc-btn-primary-bg: #c23825;
	--cc-btn-secondary-hover-text: #c23825;

	--social-facebook: #1877f2;
	--social-line: #06c755;
	--social-youtube: #ff0000;
	--social-linkedin: #0a66c2;
	--social-instagram: #E1306C;
	--social-messenger: #168AFF;
	--social-tiktok: #000;
}


/* Main */
html,
body {
	font: 400 16px/1.5 'IBM';
	color: var(--text-color);
	background-color: #fff;
}
.main-content {
	margin-top: 111px;
}
.grecaptcha-badge {
	display: none;
}
strong,
.strong {
	font-weight: 500;
}
hr {
	margin: 1rem 0;
	border-color: var(--border-color);
	opacity: 1;
}
hr.dashed {
	border: 1px dashed var(--border-color);
}
hr.sm {
	margin: 0.5rem 0;
}
.fancybox__container {
	z-index: 1060;
}
.ellipsis {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
}
.ellipsis-3-lines {
	-webkit-line-clamp: 3;
}
section {
	padding: 60px 0;
	overflow: hidden;
}
.row-gap-custom-1 {
	row-gap: 10px;
}
.nowrap {
	white-space: nowrap;
}


/* Image */
img {
	max-width: 100%;
	height: auto;
}
.gallery-image {
	height: 300px;
}
.profile-image {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	z-index: 1;
	width: 100%;
	height: 100%;
}
.profile-image-wrapper {
	position: relative;
	width: 43px;
	height: 43px;
	border-radius: 50%;
	border: 3px solid var(--bs-primary);
}
.profile-image-wrapper.lg {
	width: 200px;
	height: 200px;
	border-width: 7px;
}
.profile-image-wrapper:after {
	content: "";
	display: block;
	position: absolute;
	z-index: 0;
	height: calc(100% - 2px);
	width: calc(100% - 2px);
	left: 1px;
	top: 1px;
	border-radius: 50%;
	background-color: rgba(202, 202, 202, 0.5);
	animation: placeholder-glow 2s ease-in-out infinite;
}
@keyframes placeholder-glow {
	50% {
		opacity: .2
	}
}
.img-login {
	width: 550px;
	height: 550px;
	border-radius: 50%;
	border: 20px solid var(--bs-primary);
	background-size: cover;
	background-position: center;
}
img[src=""],
img:not([src]) {
	display: none;
}


/* Loader */
.loader {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 3000;
	transition: .25s all;
	opacity: 0;
	visibility: hidden;
}
.loader.active {
	opacity: 1;
	visibility: visible;
}
.loader-bg {
	background-color: #070707;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	opacity: 0.05;
}


/* Typo */
h6,
.h6,
.fs-6 {
	font-size: 1.1rem !important;
}
.fs-7 {
	font-size: 0.9rem !important;
}
.fs-0 {
	font-size: calc(2rem + 1.5vw);
}
.fw-light {
	font-weight: 300 !important;
}
.fw-regular {
	font-weight: 400 !important;
}
.fw-medium {
	font-weight: 500 !important;
}
.fw-semibold {
	font-weight: 600 !important;
}
.fw-bold {
	font-weight: 700 !important;
}
.text-primary {
	color: var(--bs-primary) !important;
}
.text-color {
	color: var(--text-color) !important;
}
.text-2 {
	color: var(--text-color-2) !important;
}
.text-color-3 {
	color: rgba(0, 0, 0, 0.7) !important;
}
.text-dark-1 {
	color: var(--dark-1) !important;
}
.text-gray-1 {
	color: var(--gray-1) !important;
}
.text-gray-2 {
	color: var(--gray-2) !important;
}
.text-gray-3 {
	color: var(--gray-3) !important;
}
.text-gray-4 {
	color: var(--gray-4) !important;
}
.text-gray-5 {
	color: var(--gray-5) !important;
}
.text-gray-6 {
	color: var(--gray-6) !important;
}
.text-blue {
	color: #2F80ED !important;
}
.text-red {
	color: var(--red) !important;
}
.text-red-fade {
	color: var(--red-fade) !important;
}
.text-yellow {
	color: var(--yellow) !important;
}
.text-social-facebook {
	color: var(--social-facebook) !important;
}
.text-social-line {
	color: var(--social-line) !important;
}
.text-social-youtube {
	color: var(--social-youtube) !important;
}
.text-social-linkedin {
	color: var(--social-linkedin) !important;
}
.text-social-instagram {
	color: var(--social-instagram) !important;
}
.text-social-messenger {
	color: var(--social-messenger) !important;
}
.text-social-tiktok {
	color: var(--social-tiktok) !important;
}
.border-1 {
	border: 1px solid var(--border-color);
}
.border-primary {
	border-color: var(--bs-primary) !important;
}
.border-red {
	border-color: var(--border-red);
}
.border-gray {
	border-color: var(--border-gray);
}
.border-gray-4 {
	border-color: var(--gray-4);
}
.border-red-fade {
	border-color: var(--red-fade) !important;
}
.circle {
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	border-radius: 50%;
}
.circle-success {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow: 0 0 8px 0 rgba(0, 189, 110, 0.55);
	background-color: #00bd6e;
	line-height: 1;
}
.rectangle {
	width: 72px;
	height: 72px;
	text-align: center;
	line-height: 76px;
	font-size: 28px;
	border-radius: 20px;
	flex: 0 0 72px;
}
.text-muted {
	color: rgba(255, 255, 255, 0.6);
}
.rounded-custom-1 {
	border-radius: 20px;
}
dl.horizontal {
	font-size: 0;
}
dl.horizontal dt,
dl.horizontal dd {
	display: inline-block;
	font-size: 1rem;
	vertical-align: top;
}
dl.horizontal dt {
	width: 80px;
	font-weight: 500;
	margin-bottom: 8px;
}
dl.horizontal dd {
	width: calc(100% - 80px);
	margin-bottom: 8px;
	font-weight: 300;
}
.icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--gray-4);
	color: var(--bs-primary);
	font-size: 26px;
	line-height: 52px;
	text-align: center;
	flex: 0 0 48px;
}
.circle-smaller {
	width: 38px;
	height: 38px;
	line-height: 42px;
	font-size: 20px;
	flex: 0 0 38px;
}
.circle-bigger {
	width: 100px;
	height: 100px;
	line-height: 104px;
	font-size: 48px;
	flex: 0 0 100px;
}
.line {
	width: 200px;
	height: 1px;
}
.line-vertical {
	width: 1px;
	height: 32px;
}
.shadow-custom-1 {
	box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.04);
}
.rounded-custom-1 {
	border-radius: 20px;
}


/* Badge */
.badge {
	--bs-badge-padding-y: 5px;
	--bs-badge-font-size: 14px;
	--bs-badge-font-weight: 500;
	--bs-badge-border-radius: 8px;
}
.badge-small {
	--bs-badge-font-size: 0.8rem;
}
.badge-primary {
	background-image: linear-gradient(102deg, #816b32 0%, #d6a015 33%, #b68814 81%, #ebc16f 100%);
}
.badge-success {
	background-color: var(--bs-success);
}
.badge-warning {
	background-color: var(--bs-warning);
}
.badge-danger {
	background-color: var(--bs-danger);
}
.badge-new {
	background-color: #fd4343;
}
.badge-open {
	padding: 4px 12px;
	border-radius: 8px;
	background-color: #fff;
	color: var(--bs-success);
}


/* List group */
.list-group {
	--bs-list-group-item-padding-y: 0.75rem;
	--bs-list-group-border-radius: 15px;
	--bs-list-group-active-bg: var(--bs-primary);
	--bs-list-group-active-border-color: var(--bs-primary);
}


/* Bg */
.bg-1 {
	background: linear-gradient(93.79deg, #EDF0FA 0%, rgba(237, 240, 250, 0) 138.16%);
}
.bg-2 {
	background: linear-gradient(94.87deg, #FEF6F4 1.13%, rgba(254, 246, 244, 0) 107.62%);
}
.bg-3 {
	background: linear-gradient(94.48deg, #F0FFFE 0%, rgba(240, 255, 254, 0) 117.08%);
}
.bg-4 {
	background: linear-gradient(94.47deg, #FFFAEB 0%, rgba(255, 250, 235, 0) 109.77%);
}
.bg-text-color {
	background-color: var(--text-color) !important;
}
.bg-gray {
	background-color: #FAFAFD !important;
}
.bg-gray-2 {
	background-color: #F8FAFD !important;
}
.bg-warning {
	background-color: #FFF3CE !important;
}
.bg-login {
	background-image: url(../img/background/bg-login.png);
	background-size: cover;
	background-position: center;
}
.bg-primary {
	background-color: var(--bs-primary) !important;
}
.bg-orange {
	background-color: var(--bs-secondary-orange);
}
.bg-green {
	background-color: var(--green);
}
.bg-gray-1 {
	background-color: var(--gray-1);
}
.bg-gray-4 {
	background-color: var(--gray-4);
}
.bg-card {
	background-color: var(--card-bg);
}
.bg-red {
	background-color: var(--red);
}
.bg-dark-1 {
	background-color: var(--dark-1) !important;
}
.bg-dark-2 {
	background-color: rgba(0, 0, 0, 0.5) !important;
}
.bg-red-fade {
	background-color: var(--red-fade) !important;
}
.bg-cover {
	background-size: cover;
	background-position: center;
}
.bg-car-default {
	background-size: 80% auto;
	background-position: center;
	background-repeat: no-repeat;
}
.bg-contact-us {
	position: relative;
}
.bg-contact-us:before {
	content: "";
	display: block;
	width: 50%;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background-image: url(../img/img-contact-us.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.bg-car-insurance {
	background-image: url(../img/background/bg-car-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-motorcycle-insurance {
	background-image: url(../img/background/bg-motorcycle-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-motorcycle-insurance-quote {
	background-image: url(../img/background/bg-motorcycle-insurance-quote.jpg);
}
.bg-emergency {
	background-image: url(../img/background/bg-emergency.jpg);
}
.bg-quote {
	background-image: url(../img/background/bg-quote.jpg);
}
.bg-travel-insurance {
	background-image: url(../img/background/bg-travel-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-health-insurance {
	background-image: url(../img/background/bg-health-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-accident-insurance {
	background-image: url(../img/background/bg-accident-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-property-insurance {
	background-image: url(../img/background/bg-property-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-miscellaneous-insurance {
	background-image: url(../img/background/bg-miscellaneous-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-marine-insurance {
	background-image: url(../img/background/bg-marine-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-commercial-miscellaneous-insurance {
	background-image: url(../img/background/bg-commercial-miscellaneous-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-commercial-travel-insurance {
	background-image: url(../img/background/bg-commercial-travel-insurance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-profile {
	background-image: url(../img/background/bg-profile.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-company-board {
	background-image: url(../img/background/bg-company-board.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-financial {
	background-image: url(../img/background/bg-financial.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-privacy-policy {
	background-image: url(../img/background/bg-privacy-policy.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-car-garage {
	background-image: url(../img/background/bg-car-garage.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-motorcycle-garage {
	background-image: url(../img/background/bg-motorcycle-garage.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-ergo {
	background-image: url(../img/background/bg-contact-us.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-ergo-assistance {
	background-image: url(../img/background/bg-ergo-assistance.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-auto-glass-store {
	background-image: url(../img/background/bg-auto-glass-store.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-hospital {
	background-image: url(../img/background/bg-hospital.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-claim {
	background-image: url(../img/background/bg-claim.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-career {
	background-image: url(../img/background/bg-career.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}
.bg-news {
	background-image: url(../img/background/bg-news.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
}


/* Button */
a {
	color: var(--bs-primary);
}
.link {
	text-decoration: none;
	color: var(--text-color);
	background: transparent;
	border: none;
	padding: 0;
}
.link:hover,
.link:focus,
.link:active {
	color: var(--bs-primary);
	border-color: transparent;
}
.link-card {
	transition: .25s all;
	text-decoration: none;
	color: var(--text-color);
}
.link-card:hover,
.link-card:focus,
.link-card:active {
	color: #fff;
	background-color: var(--bs-primary);
}
.link-bg {
	margin-left: -10px;
	margin-right: -10px;
	border-radius: 20px;
	padding: 10px;
}
.link-bg:hover,
.link-bg:focus,
.link-bg:active {
	background-color: var(--bs-primary);
}
.link-bg:hover,
.link-bg:focus,
.link-bg:active,
.link-bg:hover .text-gray-5,
.link-bg:focus .text-gray-5,
.link-bg:active .text-gray-5 {
	color: #fff !important;
}
.btn-link {
	text-decoration: none;
}
.btn {
	--bs-btn-border-radius: 20px;
	--bs-btn-padding-x: 15px;
	--bs-btn-padding-y: 10px;
	--bs-btn-border-width: 0;
	font-weight: 500;
}
.btn-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	box-shadow: 0 11px 40px 0 rgba(0, 0, 0, 0.1);
	line-height: 54px;
	font-size: 26px;
	text-align: center;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-bg: var(--bs-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #aa2d1b;
	--bs-btn-hover-border-color: #aa2d1b;
	--bs-btn-focus-shadow-rgb: ;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #892011;
	--bs-btn-active-border-color: #892011;
	--bs-btn-active-shadow: ;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--bs-primary);
	--bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-outline-secondary {
	--bs-btn-color: #6c757d;
	--bs-btn-border-color: var(--red-fade);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--red-fade);
	--bs-btn-hover-border-color: var(--red-fade);
	--bs-btn-focus-shadow-rgb: ;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--red-fade);
	--bs-btn-active-border-color: var(--red-fade);
	--bs-btn-active-shadow: ;
	--bs-btn-disabled-color: var(--red-fade);
	--bs-btn-disabled-bg: var(--red-fade);
	--bs-btn-disabled-border-color: var(--red-fade);
}
.btn-light {
	--bs-btn-color: var(--bs-primary);
	--bs-btn-bg: #efe5ed;
	--bs-btn-hover-color: var(--bs-primary);
	--bs-btn-hover-bg: #d4c8d1;
	--bs-btn-focus-shadow-rgb: ;
	--bs-btn-active-color: var(--bs-primary);
	--bs-btn-active-bg: #b9abb6;
	--bs-btn-active-shadow: ;
	--bs-btn-disabled-color: var(--bs-primary);
	--bs-btn-disabled-bg: #efe5ed;
}
.btn-delete:not(.btn) {
	border: none;
	background: transparent;
	padding: 0;
}
.btn-back {
	--bs-btn-color: #fff;
	--bs-btn-bg: rgba(0, 0, 0, 0.3);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: rgba(0, 0, 0, 0.4);
	--bs-btn-focus-shadow-rgb: ;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: rgba(0, 0, 0, 0.5);
	--bs-btn-active-shadow: ;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: rgba(0, 0, 0, 0.3);
}
.btn-check:active+.btn,
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:active {
	background-color: var(--bs-primary);
	color: #fff;
}
.btn-circle-2 {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	padding: 0;
	line-height: 44px;
}


/* Nav */
.navbar {
	--bs-navbar-padding-y: 15px;
}
.navbar-nav {
	--bs-nav-link-color: #000;
	--bs-nav-link-hover-color: var(--bs-primary);
	--bs-navbar-active-color: var(--bs-primary);
	--bs-nav-link-font-weight: 500;
	--bs-navbar-nav-link-padding-x: 12px;
}
.navbar-nav .nav-link {
	
}
.nav-link .icon {
	font-size: 16px;
}
.nav-link.btn-outline-secondary:focus,
.nav-link.btn-outline-secondary:hover {
	color: var(--gray-1);
}
.dropdown-toggle::after {
	display: none;
}
.sp-left {
	position: relative;
	margin-left: 15px;
}
.sp-left:before {
	content: "";
	display: block;
	width: 1px;
	height: 30px;
	background-color: #E6E9F1;
	position: absolute;
	left: 0;
	top: 6px;
}
.dropdown-menu li { 
	position: relative;
}
.nav-item .submenu { 
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
}
.nav-item .submenu-left { 
	right: 100%;
	left: auto;
}
.dropdown-menu > li:hover > .submenu,
.dropdown-menu > li:focus > .submenu,
.dropdown-menu > li:active > .submenu {
	display: block;
}
.nav-pills {
	overflow: hidden;
	border-radius: 15px;
	--bs-nav-pills-border-radius: 0;
}
.nav-pills .nav-link {
	background-color: var(--red-fade);
	color: var(--bs-primary);
	font-weight: 500;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	color: #fff !important;
	background-color: var(--bs-primary);
}
.fix-overflow-dropdown {
	overflow: scroll;
	max-height: calc(100dvh - 111px); /* Navbar height */
}


/* Dropdown */
.dropdown-menu {
	--bs-dropdown-min-width: 175px;
	--bs-dropdown-border-width: 0;
	--bs-dropdown-border-radius: 12px;
	box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.04);
	--bs-dropdown-padding-y: 0;
	--bs-dropdown-item-padding-y: 0.6rem;
	--bs-dropdown-link-hover-color: var(--bs-primary);
	--bs-dropdown-link-hover-bg: #fff;
	--bs-dropdown-link-active-color: var(--bs-primary);
	--bs-dropdown-link-active-bg: #fff;
	--bs-dropdown-divider-margin-y: .25rem;
	z-index: 1021;
}
.dropdown-menu > li:first-child > a {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}
.dropdown-menu > li:last-child > a {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
.dropdown-secondary {
	overflow: hidden;
	--bs-dropdown-padding-y: 0;
	--bs-dropdown-item-padding-y: 0.6rem;
	--bs-dropdown-link-active-bg: var(--bs-secondary-orange);
	--bs-dropdown-link-hover-color: var(--gray-1);
	--bs-dropdown-link-hover-bg: var(--bs-secondary-orange);
	--bs-dropdown-link-active-color: var(--gray-1);
}
.dropdown-primary {
	--bs-dropdown-padding-y: 0.75rem;
	--bs-dropdown-item-padding-y: 0.4rem;
}
.dropdown-menu i {
	width: 20px;
	text-align: center;
}
@media (min-width: 200px) {
	.animate {
		animation-duration: 0.3s;
		-webkit-animation-duration: 0.3s;
		animation-fill-mode: both;
		-webkit-animation-fill-mode: both;
	}
}
@keyframes slideIn {
	0% {
		transform: translateY(-1rem);
		opacity: 0;
	}
	100% {
		transform: translateY(0rem);
		opacity: 1;
	}
	0% {
		transform: translateY(-1rem);
		opacity: 0;
	}
}
@-webkit-keyframes slideIn {
	0% {
		-webkit-transform: transform;
		-webkit-opacity: 0;
	}
	100% {
		-webkit-transform: translateY(0);
		-webkit-opacity: 1;
	}
	0% {
		-webkit-transform: translateY(-1rem);
		-webkit-opacity: 0;
	}
}
.slideIn {
	-webkit-animation-name: slideIn;
	animation-name: slideIn;
}


/* Card */
.card {
	position: relative;
	--bs-card-border-width: 0;
	box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.04);
	--bs-card-inner-border-radius: 15px;
	--bs-card-border-radius: 15px;
	--bs-card-spacer-y: 25px;
	--bs-card-spacer-x: 25px;
	--bs-card-cap-bg: transparent;
	--bs-card-cap-padding-y: 20px;
	--bs-card-cap-padding-x: 25px;
}
.card-footer {
	border-top: 1px solid var(--bg-color);
}
.card-header {
	border-bottom: 1px solid var(--bg-color);
}
.card-login {
	width: 100%;
}


/* Toast */
.toast {
	--bs-toast-bg: rgba(255, 255, 255, 0.95);
	--bs-toast-max-width: 380px;
	--bs-toast-color: #000;
}


/* Form */
.form-label {
	font-weight: 500;
	margin-bottom: .25rem;
}
.form-control,
.form-select {
	border-width: 0;
	border-radius: 20px;
	padding: 10px 15px;
	height: auto;
	color: #000;
	background-color: #f5f5f5;
}
.form-control:focus,
.form-select:focus {
	background-color: #f5f5f5;	
}
.input-group-text {
	border-color: #EAECF3;
}
.btn.dropdown-toggle:focus,
.btn.dropdown-toggle:active,
.btn.dropdown-toggle:hover,
.btn.dropdown-toggle.show {
	color: var(--bs-primary);
}
.dropdown-toggle.disabled,
.form-control:not(.input):read-only,
.form-select:disabled {
	background-color: #e9ecef !important;
	opacity: 1;
}
.autoComplete_wrapper,
.autoComplete_wrapper > input {
	display: block;
	width: 100%;
}
.form-control:focus,
.form-select:focus {
	border-color: var(--bs-primary);
	box-shadow: none;
}
.form-control::placeholder {
	color: rgba(60, 60, 60, 0.4);
}
.form-control.error {
	border-width: 1px;
	border-color: var(--bs-primary);
}
label.error {
	margin-top: 5px;
	font-size: 0.95rem;
	color: var(--bs-primary);
	font-weight: 500;
}
.form-check-input:focus {
	border-color: var(--bs-primary);
	box-shadow: none;
}
.form-check-input:checked {
	border-color: var(--bs-primary);
	background-color: var(--bs-primary);
}
.required > label:first-child {
	position: relative;
}
.required > label:first-child:after {
	content: "*";
	color: red;
	display: block;
	position: absolute;
	top: 0;
	right: -12px;
}
.icon-left {
	position: absolute;
	left: 15px;
	top: 12px;
}
.hide-icon::-webkit-inner-spin-button,
.hide-icon::-webkit-calendar-picker-indicator {
	opacity: 0;
}
.bootstrap-select .dropdown-menu {
	max-width: 100%;
}
.bootstrap-select > .dropdown-toggle {
	border-color: #EAECF3;
}
.bootstrap-select > .dropdown-toggle:active,
.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > .dropdown-toggle.show {
	border-color: var(--bs-primary);
	box-shadow: none;
}
.bootstrap-select > .dropdown-toggle {
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-size: 12px auto;
	background-repeat: no-repeat;
	background-position: right 15px center;
}
.bootstrap-select.rounded-0 > .dropdown-toggle {
	border-radius: 0;
}
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select > select.mobile-device:focus+.dropdown-toggle {
	outline: none !important;
	box-shadow: none;
}
.bootstrap-select > .dropdown-menu {
	transform: translate(0, 44px) !important;
}
.bs-actionsbox, .bs-donebutton,
.bs-searchbox {
	padding: 8px;
}
.bootstrap-select .no-results {
	padding: 0;
	background: transparent;
	margin: 0 10px 10px;
}
.bootstrap-select .bs-invalid,
.bootstrap-select .bs-invalid:focus {
	color: var(--bs-danger);
	border-color: var(--bs-danger);
}
.bootstrap-select .dropdown-toggle::after {
	display: none;
}
.input-with-icon {
	position: relative;
}
.input-with-icon i {
	position: absolute;
	left: 14px;
	top: 14px;
}
.input-with-icon .form-control {
	padding-left: 40px;
}
.input-with-icon.right i {
	right: 14px;
	left: auto;
}
.input-with-icon.right .form-control {
	padding-left: 15px;
	padding-right: 40px;
}
.image-item {
	display: inline-block;
	width: 20%;
}
.image-preview {
	position: relative;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px;
}
.image-preview > div {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
	color: #fff;
	text-decoration: none;
	padding: 5px;
}
/* Style for OTP input container */
.otp-input {
	display: flex;
	justify-content: space-between;
	width: 360px; /* You can adjust the width as needed */
}
/* Style for each OTP input */
.otp-input input {
	width: 50px;
	height: 50px;
	text-align: center;
	font-size: 20px;
}
.otp-input input::-webkit-outer-spin-button,
.otp-input input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}


/* Modal */
.modal {
	--bs-modal-border-width: 0;
	--bs-modal-border-radius: 20px;
	--bs-modal-padding: 1.25rem;
	--bs-modal-header-padding-x: 1.25rem;
	--bs-modal-header-padding: 1.25rem;
	--bs-modal-width: 400px;
}
.modal-content {
	box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.04);
}
.modal-backdrop {
	--bs-backdrop-bg: #707070;
	--bs-backdrop-opacity: 0.7;
	width: 100%;
	height: 100%;
	right: 0;
	bottom: 0;
}
.modal-action {
	max-width: 500px;
	font-size: 0;
	margin: auto;
}
.modal-action .btn {
	width: calc(50% - 10px);
}
.modal-action .btn + .btn {
	margin-left: 20px;
}


/* Pagination */
.pagination {
	--bs-pagination-border-width: 0;
	--bs-pagination-color: var(--bs-primary);
	--bs-pagination-bg: var(--red-fade);
	--bs-pagination-hover-bg: var(--bs-primary);
	--bs-pagination-focus-bg: var(--bs-primary);
	--bs-pagination-disabled-bg: var(--red-fade);
	--bs-pagination-active-bg: var(--bs-primary);
	--bs-pagination-active-color: #fff;
	--bs-pagination-hover-color: #fff;
	--bs-pagination-disabled-color: #cb8695;
	--bs-pagination-focus-box-shadow: ;
	--bs-pagination-border-radius: 16px;
}
.pagination .page-item + .page-item {
	margin-left: 8px;
}
.page-link {
	width: 40px;
	height: 40px;
	border-radius: 16px;
	text-align: center;
	line-height: 30px;
}


/* Table */
.table-border {
	border: 1px solid var(--bs-border-color);
	overflow: hidden;
	border-radius: 5px;
}
.table th,
.table td {
	vertical-align: middle;
}
.table-1 th {
	background-color: var(--bs-primary);
	color: #fff;
}
.table-1 td {
	background-color: var(--gray-4);
}
.table-1 th,
.table-1 td {
	padding: 10px 15px;
}
.table-1 th {
	padding-top: 15px;
	padding-bottom: 15px;
}
.table-1 >:not(caption)>*>* {
	border-color: var(--red-fade);
}


/* Carousel */
.carousel-indicators-custom-1 {

}
.carousel-indicators-custom-1 [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #fff;
    opacity: 1;
    margin-left: 5px;
    margin-right: 5px;
}
.carousel-indicators-custom-1 .active {
	background-color: var(--bs-primary);
}
.carousel-banner .carousel-caption {
	width: 500px;
	max-width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	padding: 0;
	height: 100px;
}
.carousel-banner .carousel-caption h3,
.carousel-banner .carousel-caption p {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.carousel-banner .carousel-item.active .carousel-caption h3, 
.carousel-banner .carousel-item.active .carousel-caption p {
	opacity: 1;
	transform: translateY(0);
}


/* Accordion */
.accordion-custom-1 {
	--bs-accordion-border-width: 0;
	--bs-accordion-border-radius: 20px;
}
.accordion-custom-1 .accordion-button:focus {
	border: none;
	box-shadow: none;
}
.accordion-custom-1 .accordion-button:not(.collapsed) {
	color: inherit;
	box-shadow: none;
	background-color: var(--gray-4);
}
.accordion-custom-1 .accordion-button:not(.collapsed)::after {
	background-image: none;
	content: "\f068";
	transform: none;
}
.accordion-custom-1 .accordion-button::after {
	background-image: none;
	content: "\2b";
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: var(--fa-display, inline-block);
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	text-rendering: auto;
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.accordion-body {
	border-bottom-left-radius: var(--bs-accordion-border-radius);
	border-bottom-right-radius: var(--bs-accordion-border-radius);
}


/* Map */
.gm-style-iw-chr {
	position: absolute !important;
	right: 0 !important;
}
.gm-style-iw-chr button {
	width: 24px !important;
	height: 24px !important;
}
.gm-style-iw-chr button span {
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
}


/* Footer */
footer {

}


/* Filter */
.filter-menu {
	position: fixed;
	width: 100%;
	top: 0;
	bottom: 0;
	right: -100%;
	left: auto;
	height: 100% !important;
	z-index: 1040;
	transition: .25s all;
}
.filter-menu.active {
	right: 0;
}
.filter-menu-content {
	width: 250px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	height: 100%;
	z-index: 1042;
	overflow: scroll;
	background-color: #fff;
}
.filter-menu-bg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1041;
}
.mobile-menu-close {
	position: absolute;
    background-color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    color: var(--bs-danger);
    font-size: 0;
    top: 10px;
    right: 10px;
}
.mobile-menu-close i {
	line-height: 30px;
}


/* Cookie consent */
.cc_div i:before {
	font-family: 'FontAwesome';
}
#cm {
	background-color: rgba(19, 19, 19, 0.9);
	/* background-image: linear-gradient(120deg, rgba(19, 19, 19, 0.7) -2%, rgba(58, 58, 57, 0.7) 108%); */
	color: #fff;
	font-family: 'NotoSansThai';
}
.cc_div .c-bn {
	font-size: 1rem;
}
#s-bns {
	height: auto;
}
#cm.bar {
	padding: 1.5rem;
}

/* Tooltip */
.custom-tooltip .tooltip-inner {
	background-color: var(--bs-primary);
	max-width: 400px;
	text-align: left;
}
.custom-tooltip .tooltip-arrow::before {
	border-top-color: var(--bs-primary) !important;
}


/* Iframe */
.iframe-container {
    position: relative;
    width: 100%;
    margin: auto;
    padding-top: 56.25%;
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Page error */
.page-error {
	width: 300px;
	text-align: center;
	margin: 0 auto;
}
.page-error h1 {
	font-size: 120px;
	font-weight: 600;
	line-height: 1;
}
.page-error p {
	font-size: 24px;
	font-weight: 500;
}


/* Responsive */
@media (min-width: 768px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 750px;
    }
}
@media (min-width: 1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1140px;
	}
}
@media (min-width: 1400px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1170px;
	}
}
@media (max-width: 1199px) {
	.img-login {
		width: 500px;
		height: 500px;
	}
	.navbar-toggler {
		width: 33px;
		height: 44px;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		padding-left: 0;
		padding-right: 0;
		margin: 0;
		border: none;
	}
	.navbar-toggler:focus {
		box-shadow: none;
	}
	.navbar-toggler .icon-bar {
		display: block;
		width: 33px;
		height: 3px;
		border-radius: 3px;
		-webkit-transition: all .25s;
		-moz-transition: all .25s;
		transition: all .25s;
		background-color: var(--bs-primary);
		margin-left: auto;
		margin-right: auto;
	}
	.navbar-toggler .first-bar,
	.navbar-toggler .third-bar {
		width: 20px;
	}
	.navbar-toggler .icon-bar+.icon-bar {
		margin-top: 8px;
	}
	.navbar-toggler:not(.collapsed) .first-bar {
		width: 33px;
		transform: translateY(11px) rotate(45deg);
	}
	.navbar-toggler:not(.collapsed) .second-bar {
		visibility: hidden;
		opacity: 0;
	}
	.navbar-toggler:not(.collapsed) .third-bar {
		width: 33px;
		transform: translateY(-11px) rotate(-45deg);
	}
	.navbar-toggler .first-bar {
		transform: translateY(0) rotate(0);
	}
	.navbar-toggler .second-bar {
		visibility: visible;
		opacity: 1;
	}
	.navbar-toggler .third-bar {
		transform: translateY(0) rotate(0);
	}
	.nav-link {
		margin: 0;
	}
	.navbar-nav {
		--bs-nav-link-padding-x: 0;
		--bs-nav-link-padding-y: 0.75rem;
	}
	.navbar-nav-wrapper {
		height: calc(100dvh - 115px);
		overflow: scroll;
	}
	.navbar-nav > .nav-item {
		width: 100%;
	}
	.navbar-nav .nav-link i.animate,
	.navbar-nav .list-group-item i.animate {
		transition: .25s all;
	}
	.navbar-nav .nav-link.collapsed i.animate,
	.navbar-nav .list-group-item.collapsed i.animate {
		transform: rotate(0deg);
	}
	.navbar-nav .nav-link:not(.collapsed) i.animate,
	.navbar-nav .list-group-item:not(.collapsed) i.animate {
		transform: rotate(180deg);
	}
	.navbar-nav .list-group {
		--bs-list-group-action-hover-color: var(--bs-primary);
		--bs-list-group-action-active-color: var(--bs-primary);
		overflow: hidden;
	}
	.main-content {
		margin-top: 115px;
	}
	.bg-car-insurance,
	.bg-motorcycle-insurance,
	.bg-travel-insurance,
	.bg-health-insurance,
	.bg-accident-insurance,
	.bg-property-insurance,
	.bg-miscellaneous-insurance,
	.bg-marine-insurance,
	.bg-commercial-miscellaneous-insurance,
	.bg-commercial-travel-insurance,
	.bg-profile,
	.bg-company-board,
	.bg-financial,
	.bg-privacy-policy,
	.bg-car-garage,
	.bg-motorcycle-garage,
	.bg-ergo,
	.bg-auto-glass-store,
	.bg-hospital,
	.bg-claim,
	.bg-career,
	.bg-news,
	.bg-ergo-assistance {
		background-size: auto 250px;
	}
}
@media (max-width: 991px) {
	.card-login {
		width: 440px;
		max-width: 100%;
		margin: auto;
	}
}
@media (max-width: 767px) {
	.w-100-mobile {
		width: 100%;
	}
	.card {
		--bs-card-spacer-y: 15px;
		--bs-card-spacer-x: 15px;
	}
	.navbar-nav-wrapper {
		height: calc(100vh - 126px);
	}
	.main-content {
		margin-top: 126px;
	}
	section {
		padding: 40px 0;
	}
	.bg-contact-us:before {
		display: none;
	}
	.modal {
		--bs-modal-padding: 1rem;
		--bs-modal-header-padding-x: 1rem;
		--bs-modal-header-padding: 1rem;
	}
	.bg-car-insurance,
	.bg-motorcycle-insurance,
	.bg-travel-insurance,
	.bg-health-insurance,
	.bg-accident-insurance,
	.bg-property-insurance,
	.bg-miscellaneous-insurance,
	.bg-marine-insurance,
	.bg-commercial-miscellaneous-insurance,
	.bg-commercial-travel-insurance,
	.bg-profile,
	.bg-company-board,
	.bg-financial,
	.bg-privacy-policy,
	.bg-car-garage,
	.bg-motorcycle-garage,
	.bg-ergo,
	.bg-auto-glass-store,
	.bg-hospital,
	.bg-claim,
	.bg-career,
	.bg-news,
	.bg-ergo-assistance {
		background-size: auto 200px;
	}
	.accordion {
		--bs-accordion-btn-padding-x: 1rem;
		--bs-accordion-body-padding-x: 1rem;
	}
}