.section-hero {
	position: relative;
	background-size: cover;
}

.section-hero .container-content {
	align-self: center;
}

.container-category {
	padding: 10px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
}
.category-item {
	width: 20%;
	padding: 10px;
	color: #141414;
	font-weight: 600;
}
.category-item:hover .category-item-inner,
.category-item:active .category-item-inner,
.category-item:focus .category-item-inner {
	border: 1px solid #b41d2532;
	box-shadow: 0px 0px 8px 0px #b9151d27;
}
.category-item-inner {
	width: 100%;
	height: auto;
	padding: 16px;
	align-items: center;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	border: 1px solid white;
}

.top-course .owl-dots > button > span {
	border: none;
	border-radius: 20%;
	height: 5px !important;
	width: 30px !important;
	margin: 0 5px;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
	background-color: #b9151c !important;
}
.owl-theme .owl-nav.disabled + .owl-dots {
	margin-top: 20px !important;
}

.course-item .course-item-summary * {
	line-height: 14px;
}
.course-item .course-item-summary > i {
	margin-right: 6px !important;
}
.course-item .course-item-summary > span {
	margin-top: 2px;
}

.container-student {
	width: 100dvw;
	min-height: 100dvh;
	height: auto;
	padding-top: 68px;
	background-color: #f7f7f7;
}

#sidebarMenu {
	background-color: white !important;
	/* max-height: 95dvh !important; */
	position: fixed;

	width: 100%;
	position: sticky !important;
	top: 68px;
}

#sidebarMenu .sidebar-sticky {
	/* width: 280px; */
}
.container-body {
	margin-left: 280px;
}

#sidebarMenu .nav-link {
	color: #747474;
	font-size: 16px;
}

#sidebarMenu .card:hover,
#sidebarMenu .card:focus {
	box-shadow: none !important;
}

#sidebarMenu .nav-item .nav-link {
	padding: 0.5rem 1rem 0.5rem 1rem;
}

#sidebarMenu .card .nav-item .nav-link {
	padding: 0.5rem 1rem 0.5rem 3rem;
}

#sidebarMenu .nav-link.active path {
	fill: #b9151c;
}

#sidebarMenu .nav-link:hover,
#sidebarMenu .nav-link:focus {
	color: #2d2a2a;
}

#sidebarMenu .nav-link.active,
#sidebarMenu .nav-link.active * {
	color: #b9151c;
	font-weight: 500;
	text-decoration: underline;
}

#sidebarMenu li.nav-item > .nav-link {
	display: flex;
	flex-direction: row;

	> * {
		align-self: center;
	}
}

.version-info {
	padding-left: 15px;
}

.page-student hr {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	opacity: 0.8;
}

.page-student .btn-primary {
	background-color: #b9151c !important;
	border: none;
}
.page-student .btn.btn-primary:hover {
	background-color: #a11218 !important;
	border-color: #700d12 !important;
}
.page-student .btn.btn-primary:hover,
.page-student .btn.btn-primary:focus,
.page-student .btn.btn-primary:active {
	box-shadow: 0 0 0 0.2rem rgba(185, 21, 28, 0.25) !important; /* โทนแดงหลัก */
}
.dropdown-toggle::after {
	color: white;
}

.modal-header .close {
	padding: 1rem 1rem;
	margin: -1rem -1rem -1rem auto;

	float: right;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: 0.5;

	background-color: transparent;
	border: 0;
}

.modal-header .close:not(:disabled):not(.disabled):focus,
.modal-header .close:not(:disabled):not(.disabled):hover {
	opacity: 0.75;
}

a:hover {
	/* text-decoration: underline !important; */
}

.page-student * {
	-webkit-transition: all 0.05s ease-in-out;
	-moz-transition: all 0.05s ease-in-out;
	-o-transition: all 0.05s ease-in-out;
	-ms-transition: all 0.05s ease-in-out;
	transition: all 0.05s ease-in-out;
}
.page-searach-course .hero {
	background-color: #f6f8f7;
}

.text-right a {
	color: #b9151c !important;
}

/* .dropdown-menu .dropdown-item:active {
	background-color: #b9151c !important;
} */

@media (min-width: 768px) and (max-width: 1200px) {
	.bg-cover-mobile {
		background-position-y: 27% !important;
	}
	.category-item {
		width: 33.33% !important;
	}
	.section-category {
		margin-top: -50px !important;
	}
}

@media (max-width: 767px) {
	.section-hero .title1 {
		font-size: 22px !important;
	}
	.section-hero .title2 {
		font-size: 20px !important;
	}
	.container-content {
		align-self: flex-start !important;
		margin-top: 20%;
	}

	.bg-cover-mobile {
		/* height: 100dvw;
    max-height: none; */
		background-position-y: -40% !important;
	}

	.category-item {
		width: 50% !important;
	}

	.section-category {
		margin-top: -20px !important;
	}
}

@media (max-width: 992px) {
	.container-body {
		padding-left: 0px;
	}
}
