.featured-lesson-category{
	position: relative;
}

.featured-lesson-category > a{
	display: block;
}

.featured-lesson-category > a::before{
	background-image: linear-gradient(rgba(0,0,0,0), rgba(90,90,90,.5));
	content: "";
	height: 100px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}

.featured-lesson-category .category-title{
	padding: 1rem;
	position: absolute;
	bottom: 0;
	text-shadow: 1px 1px 0 rgba(155,55,55,.5);
}

.featured-lesson-category figure{
	width: 100%;
}

.featured-lesson-category figure img{
	object-fit: cover;
	width: 100%;
}

#pb-grid .grid-item{
	display: inline-block;
	margin-bottom: 10px;
	padding: 10px;
	vertical-align: top;
	width: 33%;
}

#pb-grid .grid-item .lesson {
	box-shadow: 0 0 2px rgba(0,0,0, .5);
}

#pb-grid .grid-item .lesson figure{
	position: relative;
	margin-bottom: 0;
}

#pb-grid .grid-item .lesson figure img{
	width: 100%;
}

#pb-grid .grid-item .lesson.unavailable{
	filter: grayscale(60%);
}

#pb-grid .grid-item .lesson.unavailable .badge{
	position: absolute;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	padding: 10px;
	color: #FFF;
}

#pb-grid .grid-item .lesson .lesson-title{
	padding: 10px;
}

.lesson_navigation{
	display: flex;
	justify-content: center;
}

.lesson_navigation .page-numbers{
	border: 1px solid;
	padding: 5px 10px;
	margin: 0 10px

}

.lesson a{
	display: block;
}

.lesson a figure{
	position: relative;
}

.lesson a .player-overlay{
	align-items: center;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	height: 100%;
	justify-content: center;
	opacity: 1;
	position: absolute;
		left: 0;	
		top: 0;
	transition: all .5s ease-in-out;
	width: 100%;
}

.lesson a:hover .player-overlay{
	opacity: 0;
}

/** Profile */

#pb_profile{
	display: flex;
	align-content: stretch;
}

#pb_profile .user-image{
	background: tomato;
	border-radius: 100%;
	color: rgba(255,255,255,0.5);
	margin: 10px auto;
	height: 100px;
	text-align: center;
	padding: 25px;
	width: 100px;
}

#pb_profile .user-image h3{
	color: rgba(255,255,255,0.5);
	font-size: 36px;
	margin: 0;
	padding: 0;
}

#pb_profile  h5.user_name{
	text-align: center;
}

#pb_profile .pb_profile_menu{
	border-right: 2px solid #EFEFEF;
	width: 25%;
}

#pb_profile .pb_profile_menu ul{
	list-style-type: none;
}

#pb_profile .pb_profile_menu ul li{
	border-bottom: 2px solid #EFEFEF;
}

#pb_profile .pb_profile_menu ul li:last-child{
	border-bottom: none;
}

#pb_profile .pb_profile_menu ul a{
	display: block;
	padding: 10px;
}

#pb_profile .pb_profile_content{
	margin-left: 25px;
}

@media screen and (max-width: 768px){
	#pb-grid .grid-item{
		display: inline-block;
		width: 49.5%;
	}
}

@media screen and (max-width: 640px){
	#pb-grid .grid-item{
		display: inline-block;
		width: 100%;
	}
}

/* Packages */

.my-account #packages .package{
	display: flex;
}

.my-account #packages .package .image{
	padding: 0 25px;
}

.my-account #packages .package .image img{
	width: 100%;
}

.my-account #packages ul{
	list-style: none;
}