/*
 * New styling for sidebar
 * for tablet/desktop view only
 */

.content {
	margin: 20px 16px
}

nav#sidebarMenu {
	display: none;
}

nav#sidebarMenu .nav-item {
	padding-top: .5rem;
	padding-bottom: .5rem;
	border-bottom: solid 1px rgba(0, 0, 0, 0.04)
}

nav#sidebarMenu .nav-item:last-child {
	border-bottom: none
}

nav#sidebarMenu .nav-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: .5rem 1rem;
}

nav#sidebarMenu .nav-item span {
	padding-left: 1rem;
	color: #74787D !important
}

nav#sidebarMenu .nav-link.active span {
	color: #bd112a !important
}

nav#sidebarMenu .nav-item i:last-child {
	color: #434343;
	opacity: 0.3;
	position: absolute;
	top: 50%;
	right: 5px;
	transform: scale(0.7, 0.7) translate(-50%, -50%);
	text-align: center;
	transition: all 250ms ease;
	width: 1rem;
	font-size: 8px !important;
}

nav#sidebarMenu .nav-link.active i:last-child {
	color: #bd112a !important;
	opacity: .7
}

#profileDraw .btn-profile {
	background-color: #fff;
	padding-top: 1rem;
	padding-bottom: 1rem;

	text-decoration: none;
}

#profileMenu {
	background-color: rgba(16, 16, 16, .04);
	border-bottom: 1px solid rgba(16, 16, 16, .15);
}

.theme-dark #page {
	background-color: #1b1d21 !important
}

.theme-dark nav#sidebarMenu,
.theme-dark #profileDraw .btn-profile {
	background-color: #0f1117 !important;
	color: #fff !important;
}

.theme-dark nav#sidebarMenu .nav-item:not(:last-child) {
	border-bottom: solid 1px rgba(255, 255, 255, .15)
}

.divider-icon {
	position: relative;
}


.double-slider .card {
	height: 40vw;
}

.user-list-slider .owl-item {
	display: flex;
	justify-content: center;
	align-items: center;
}

#menu-success-1 {
	overflow: hidden;
}

.video-content {
	display: flex;
	flex-wrap: wrap;
}

.video-content .card-style {
	margin: 0px 1rem 2rem;
}

.list-custom-large a i:first-child {
	margin-top: 16px;
	margin-right: 4px
}

.user-list-badge {
	display: none;
}

.user-list-badge .my-badge {
	flex: 0 0 100%;
	padding: 0 1rem;
	height: 80px;
}

@media (min-width: 768px) {
	#page {
		background-color: #f0f0f0 !important
	}

	.header-active {
		padding-left: 220px;
	}

	.header-logo-app .header-title {
		margin-left: 240px;
	}

	.page-title h2,
	.page-title a {
		color: #1f1f1f !important
	}

	.page-title:not(.retain-title) * {
		display: none
	}

	.page-content:not(.full) {
		padding-bottom: 1rem;
		padding-left: 220px;
	}

	.login-card {
		width: 100%;
		min-width: 320px;
		max-width: 60%;
		margin: 0 auto;
	}


	nav#sidebarMenu {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100;
		width: 220px;
		height: 100vh;

		background-color: #fff
	}

	.double-slider .card {
		height: 16vw !important;
	}

	.single-slider-boxed .owl-item>.card {
		height: 400px !important;
	}

	.user-list-badge {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.user-list-badge .my-badge {
		flex: 0 0 33%
	}

	.classroom-links {
		display: flex;
		flex-wrap: wrap;
	}

	.classroom-links>div {
		flex: 1 0 50%;
	}

	.video-content iframe {
		height: 40vh !important
	}

	.video-content .card-container {
		display: flex;
		flex-wrap: wrap;

		height: 60vh !important
	}

	.file-data img.img-fluid {
		display: block;
		margin: 3rem auto 1rem;
		padding: 1rem;
		background: #ccc;
		width: 100%;
		height: 100%;
		max-height: 20rem;
		object-fit: contain;
	}

	.history-list {
		max-width: 800px;
		margin: 0 auto
	}

	.upload-file-data img {
		flex-direction: row;
	}

	.upload-file-data>a {
		flex: 1 0 auto;
	}

	.race-item {
		height: 60vh !important;
		max-height: none
	}

	#footer-bar {
		display: none;
		margin-left: 220px;
	}
}

@media (min-width: 992px) {
	.video-content .item {
		flex: 0 0 50%
	}

	.user-list-badge .my-badge {
		flex: 0 0 25%
	}
}

@media (min-width: 1180px) {
	.video-content .item {
		flex: 0 0 33%
	}

	.user-list-badge .my-badge {
		flex: 0 0 20%
	}
}