﻿* {
	font-family: "Roboto", sans-serif;
}

.top-1 {
	top: 1% !important;
}

.end-2 {
	right: 2% !important;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
	display: none;
}

input[type='checkbox'] {
	cursor: pointer;
}

.group-password {
	position: relative;
}

.btn-show-hide-password {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	opacity: 0.6;
	z-index: 2;
	cursor: pointer;
	height: 20px;
	width: 20px;
}

.hover_underline {
	transition: color .2s ease;
	position: relative;
}

.lazyloaded {
	opacity: 1;
	transition: opacity 300ms;
}

.hover_underline::after {
	position: absolute;
	content: '';
	width: 0;
	height: 3px;
	/* Add height to make the underline visible */
	left: 0;
	bottom: 0;
	background-color: black;
	/* Use background-color for the underline */
	transition: width .2s ease;
	/* Animate the width for the underline */
}

.hover_underline:hover::after,
.hover_underline.active::after {
	width: 100%;
	/* Hiển thị underline khi hover hoặc có class active */
}

#back-top {
	transition: all .2s ease-in-out;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	color: #fff;
	background-color: #E8501A;
	border: 1px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 2px rgba(0, 0, 0, .2), 0 4px 15px rgba(0, 0, 0, .19);
	z-index: 9;
	position: fixed;
	bottom: 30px;
	right: 30px;
}

	#back-top:hover {
		transform: scale(1.1);
	}

#hr-under-line {
	border: 0;
	border-top: 3px solid rgba(0, 0, 0, 0.69)
}


/*text-action*/
.text-action {
	color: #2271b1;
}

.text-action-delete {
	color: #d33e3e !important;
}

.text-action:hover {
	color: #094b81 !important;
	text-decoration: none !important;
}

.text-action-delete:hover {
	color: #9f0000 !important;
	text-decoration: none !important;
}

.text-error {
	color: #d32e2e;
}

/*switch*/
.onoffswitch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 32px;
}

.onoffswitch input {
	display: none;
}

.switch {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 25px;
	transition: background-color 0.3s;
}

.switch::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	left: 3px;
	bottom: 2.5px;
	background-color: white;
	border-radius: 50%;
	transition: transform 0.3s;
}

input:checked+.switch {
	background-color: #5aa4ff;
}

input:checked+.switch::before {
	transform: translateX(25px);
}

.index-switch-on {
	font-size: 25px;
	color: #5aa4ff;
}

.index-switch-off {
	font-size: 25px;
	color: #999fa7;
}

@media screen and (max-width: 767px) {
	#back-top {
		right: 15px;
		font-size: 11px;
		width: 35px;
		height: 35px;
	}
}

.cursor-pointer {
	cursor: pointer;
}

.owl-nav button {
	position: absolute;
	top: 30%;
	transform: translateY(50%);
	visibility: hidden;
	transition: all 0.3s ease;
}

.owl-nav button.owl-prev {
	left: -100px;
}

.owl-nav button.owl-next {
	right: -100px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
	background: transparent;
}

.owl-nav button span {
	font-size: 0;
	height: 50px;
	width: 50px;
	text-align: center;
	background: #02c19e;
	display: inline-block;
	border-radius: 50%;
	line-height: 50px;
	color: #fff;
}

.owl-nav button span:before {
	content: "\f105";
	display: inline-block;
	font: normal normal normal 14px / 1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-size: 32px;
	vertical-align: middle;
}

.owl-nav button.owl-prev span:before {
	transform: rotate(180deg)
}

.list-news:hover .owl-nav button {
	visibility: visible;
}

.list-news:hover .owl-nav button.owl-prev {
	left: -50px;
}

.list-news:hover .owl-nav button.owl-next {
	right: -50px;
}

.img-wrapper {
	padding: 5px;
}

.handle-image .img-wrapper {
	overflow: hidden;
	display: block;
	position: relative;
}

.handle-image img {
	transition: transform 2s cubic-bezier(0, 0, .44, 1.18);
}

.handle-image:hover img {
	transform: scale(1.09);
}

.form-label {
	font-weight: 700;
}

.form-group:has(input[required]) label::after,
.form-group:has(select[required]) label::after,
.form-group:has(textarea[required]) label::after {
	content: ' *' !important;
	color: red !important;
}

.text-draft {
	background-color: #f9f0ff;
	color: #9561dd;
	padding: 5px 10px;
	border: 2px solid #9561dd;
}

.text-publish {
	background-color: #f0f5ff;
	color: #3e60ec;
	padding: 5px 10px;
	border: 2px solid #3e60ec;
}

/*#accordionSidebar.toggled>a>div>img {
	width: 100px;
}
*/

.select2-selection--single {
	height: 100% !important;
}

.select2-selection__arrow {
	height: 100% !important;
}

.select2-selection__placeholder {
	height: 100% !important;
	display: inline-block !important;
	align-content: center;
}

.select2-selection__rendered {
	height: 100% !important;
}

.delete-video .delete-image {
	background-color: transparent;
	border: none;
	padding: 1.5rem;
	height: 100%;
	position: absolute;
}

.exercise-video {
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	max-width: 240px;
	max-height: 180px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
video.exercise-video {
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	width: 240px;
	height: 180px;
}
#modal-gif-preview-video {
	border: 1px solid #d9d9d9;
	border-radius: 4px;
}

@media screen and (max-width: 768px) {
	.exercise-video {
		max-width: 120px;
		max-height: 100px;
	}
}


#image-preview-wrapper-program,#image-preview-wrapper {
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}
