/*-------------------------------------    
CSS INDEX
===================================
#. Common
#. Course Archive
#. Course Single - Tabs and Defaults
#. Course Single Curriculum
#. Course Curriculum Popup
#. Course Instructor
#. Course Single Reviews
#. Course Sidebar
#. Related Courses
#. User profile
#. Checkout
---------------------------------------*/
@primaryColor:    #002147;
@secondaryColor:  #fdc800;

/*-------------------------------------
#. Common
---------------------------------------*/
.ul0() {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.rt-course-box,
ul.learn-press-courses .rt-course-box {
	margin: 0 0 30px;
	overflow: hidden;
	transition: all 0.5s ease-out;
	box-shadow: 0 1px 5px fade(transparent, 10%);
	background-color: #fff;
	width: 100%;
	.rtin-thumbnail {
		position: relative;
		&:before {
			background-color: fade(@primaryColor, 60%);
			z-index: 1;
		}
		a {
			position: absolute;
			top: 50%;
			left: 0;
			right: 0;
			z-index: 3;
			margin: 0 auto;
			text-align: center;
			width: 40px;
			line-height: 40px;
			border: 1px solid @secondaryColor;
			border-radius: 50%;
			color: #fff;
			opacity: 0;
			transform: translateY(-50%);
			transition: all 0.5s ease-out;
		}
		.rtin-price {
			background-color: @secondaryColor;
			bottom: 0;
			color: #fff;
			font-weight: 500;
			padding: 3px 10px;
			position: absolute;
			right: 0;
			z-index: 5;
			.course-price {
				color: #fff;
			}
		}
		&:hover {
			a {
				opacity: 1;
			}
		}
	}
	.rtin-content {
		padding: 20px;
		.rtin-title {
			font-size: 18px;
			line-height: 1.4;
			margin-bottom: 10px;
		}
		.rtin-author {
			font-size: 13px;
			line-height: 1.5;
			i {
				color: @secondaryColor;
				margin-right: 10px;
			}
			a {
				color: #646464;
				font-weight: 500;
				&:hover {
					text-decoration: underline;
				}
			}
		}
		.rtin-description {
			font-size: 14px;
			line-height: 1.6;
			margin-top: 15px;
			height: 42px;
			display: block;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	}
	.rtin-meta {
		border-top: 1px solid #e5e5e5;
		font-size: 13px;
		line-height: 1.5;
		padding: 10px;
		text-align: center;
		&.rtin-count-2 {
			padding: 10px 20px;
			.col-sm-6:first-child {
				text-align: left;
			}
			.col-sm-6:last-child {
				text-align: right;
			}
		}
		i {
			color: #a4a4a4;
			margin-right: 5px;
		}
		span {
			color: #646464;
		}
		.rt-wishlist-icon span {
			cursor: pointer;
			font-size: 0;
			&:before {
				font-size: 13px;
				color: #a4a4a4;
			}
			&.on:before {
				color: #f2b827;
			}
			&.ajaxload_wishlist {
				animation: 2s linear 0s normal none infinite running fa-spin;
				cursor: auto;
				&:before {
					content:"\f110";
					color: #a4a4a4;
				}
			}
		}
		.review-stars-rated {
			width: 60px;
			.review-stars.empty,
			.review-stars.filled {
				font-size: 12px;
				padding-top: 3px;
				width: 60px;
				height: 14px;
			}
		}
	}
}

.rt-course-box-2,
ul.learn-press-courses .rt-course-box-2 {
	margin: 0 0 30px;
	overflow: hidden;
	transition: all 0.5s ease-out;
	box-shadow: 0 1px 5px fade(transparent, 10%);
	background-color: #fff;
	width: 100%;
	.rtin-thumbnail {
		position: relative;
		&:before {
			background: linear-gradient(to top, #000 30%, transparent);
			content: "";
			height: 80px;
			bottom: 0;
			left: 0;
			right: 0;
			position: absolute;
		}
		.rt-wishlist-icon {
			position: absolute;
			right: 12px;
			top: 8px;
			span {
				cursor: pointer;
				font-size: 0;
				&:before {
					font-size: 17px;
					color: #fff;
					line-height: 1;
				}
				&.on:before {
					color: #f2b827;
				}
				&.ajaxload_wishlist {
					animation: 2s linear 0s normal none infinite running fa-spin;
					cursor: auto;
					&:before {
						content:"\f110";
						color: #fff;
					}
				}
			}
		}
		.rtin-thumb-user {
			position: absolute;
			bottom: 10px;
			left: 20px;
			img {
				border-radius: 50%;
				width: 45px;
				display: inherit;
			}
		}
		.rtin-thumb-meta {
			position: absolute;
			left: 80px;
			bottom: 2px;
			.rtin-author {
				a {
					color: #fff;
					font-weight: 600;
					&:hover {
						text-decoration: underline;
					}
				}
			}
			.review-stars-rated {
				width: 60px;
				.review-stars.empty,
				.review-stars.filled {
					font-size: 12px;
					height: inherit;
					line-height: 1;
					height: 18px;
					width: inherit;
				}
			}
			.rtin-rating-total {
				color: #f0f0f0;
				vertical-align: top;
				font-size: 13px;
				line-height: 1.1;
				font-weight: 600;
				padding-left: 7px;
			}
		}
	}
	.rtin-content {
		padding: 20px;
		.rtin-title {
			font-size: 18px;
			line-height: 1.4;
			margin-bottom: 10px;
		}
		.rtin-description {
			font-size: 14px;
			line-height: 1.6;
			margin-top: 15px;
			height: 42px;
			display: block;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	}
	.rtin-meta {
		border-top: 1px solid #e5e5e5;
		font-size: 13px;
		line-height: 1.3;
		padding: 10px 20px;
		.rtin-enrolled {
			color: #646464;
			padding-top: 4px;
			.rtin-count {
				color: #222;
				padding: 0 3px;
			}
		}
		.rtin-price {
			background-color: @primaryColor;
			color: #fff;
			border-radius: 5px;
			padding: 5px 10px;
			font-weight: 500;
			.course-price {
				color: #fff;
			}
		}
	}
}

.rt-course-box-3,
ul.learn-press-courses .rt-course-box-3 {
	margin: 0 0 30px;
	overflow: hidden;
	transition: all 0.5s ease-out;
	box-shadow: 0 1px 5px fade(transparent, 10%);
	background-color: #fff;
	width: 100%;
	.rtin-thumbnail {
		position: relative;
		&:before {
			background-color: fade(@primaryColor, 60%);
			z-index: 1;
		}
		a {
			position: absolute;
			top: 50%;
			left: 0;
			right: 0;
			z-index: 3;
			margin: 0 auto;
			text-align: center;
			width: 40px;
			line-height: 40px;
			border: 1px solid @secondaryColor;
			border-radius: 50%;
			color: #fff;
			opacity: 0;
			transform: translateY(-50%);
			transition: all 0.5s ease-out;
		}
		&:hover {
			a {
				opacity: 1;
			}
		}
		.rtin-price {
			background-color: @secondaryColor;
			top: 12px;
			color: #fff;
			font-weight: 500;
			padding: 3px 10px;
			position: absolute;
			right: 12px;
			z-index: 5;
			border-radius: 3px;
			.course-price {
				color: #fff;
			}
		}
	}
	.rtin-content {
		padding: 20px;
		.rtin-title {
			font-size: 18px;
			line-height: 1.4;
			margin-bottom: 10px;
		}
		.rtin-description {
			font-size: 14px;
			line-height: 1.6;
			margin-top: 10px;
			height: 42px;
			display: block;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	}
	.rtin-meta {
		border-top: 1px solid #e5e5e5;
		padding: 10px 20px;
		position: relative;
		.rtin-author {
			display: inline-block;
			margin-right: 10px;
			cursor: pointer;
			img {
				border-radius: 50%;
				width: 40px;
				display: inherit;
			}
			span {
				position: absolute;
				color: #fff;
				background-color: @primaryColor;
				border-radius: 4px;
				left: -5px;
				bottom: 57px;
				margin: 0 20px;
				padding: 0 10px;
				padding: 4px 10px;
				font-size: 12px;
				line-height: 1.3;
				font-weight: 500;
				visibility: hidden;
				&:after {
					content: '';
					position: absolute;
					top: 100%;
					left: 20px;
					width: 0;
					height: 0;
					border-top: 6px solid #666;
					border-right: 5px solid transparent;
					border-left: 5px solid transparent;
				}
			}
			&:hover span {
				visibility: visible;
			}
		}
		.review-stars-rated {
			width: 75px;
			display: inline-block;
			height: 18px;
			vertical-align: middle;
			.review-stars.empty,
			.review-stars.filled {
				font-size: 15px;
				line-height: 1.5;
				height: inherit;
			}
		}
		.rtin-right {
			padding-top: 7px;
			.rt-wishlist-icon {
				display: inline-block;
				padding-right: 5px;
				span {
					cursor: pointer;
					font-size: 0;
					&:before {
						font-size: 15px;
						line-height: 1.2;
						color: #a4a4a4;
					}
					&.on:before {
						color: #f2b827;
					}
					&.ajaxload_wishlist {
						animation: 2s linear 0s normal none infinite running fa-spin;
						cursor: auto;
						&:before {
							content:"\f110";
							color: #a4a4a4;
						}
					}
				}			
			}
			i {
				font-size: 15px;
				line-height: 1.2;
				color: #a4a4a4;
				margin-right: 8px;
			}
			span {
				color: #222;
			}
		}
	}
}

.rt-lp-socials {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 0;
	li {
		display: inline-block;
		margin: 0 2px 5px;
		text-align: center;
		a {
			background-color: @secondaryColor;
			height: 30px;
			width: 35px;
			display: block;
			transition:all 0.5s ease-out;
			color: #ffffff;
			font-size: 14px;
			line-height: 31px;
			&:hover {
				background-color: @primaryColor;
			}
		}
	}
}
.learn-press-message {
	padding: 10px 20px;
	&:before {
		background-color: @primaryColor;
		border-radius: 0;
	}
}
.course-remaining-time {
	position: relative;
	clear: both;
	margin-top: 25px;
	background: #F5F5F5;
	border-left: 5px solid @primaryColor;
	padding: 10px 20px;
	overflow: hidden;
	margin: 0 0 20px;
	p {
		margin: 0;
	}
}
.lp-label.label-enrolled,
.lp-label.label-started {
	background-color: @secondaryColor;
}
.single-lp_course .learn-press-message .learn-press-countdown {
	background-color: @secondaryColor;
	height: inherit;
	line-height: 1;
	margin-left: 5px;
	padding: 5px;
	text-align: center;
	width: inherit;
}

// Retake course popup
#popup_container #popup_title {
	background-color: @primaryColor;
}

/*-------------------------------------
#. Course Archive
---------------------------------------*/
.rt-course-archive-top {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	//box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
	padding: 15px 30px;
	.rtin-left {
		margin-top: 3px;
		.rtin-icons {
			display: inline-block;
			margin-right: 15px;
			a {
				color: #aaa;
				font-size: 18px;
				line-height: 1.5;
				margin-right: 5px;
				&:hover,
				.rt-course-grid-view &.rtin-grid,
				.rt-course-list-view &.rtin-list {
					color: @primaryColor;
				}
			}
		}
		.rtin-text {
			color: @primaryColor;
			display: inline-block;
		}		
	}
	.rtin-search {
		text-align: right;
		form {
			display: inline-block;
			position: relative;
			width: 270px;
			input[type="text"] {
				border-color: #ededed;
				border-radius: 0;
				box-shadow: none;
				height: 34px;
				padding-right: 42px;
				transition: all 0.3s ease-in-out 0s;
			}
			button[type="submit"] {
				position: absolute;
				top: 0;
				right: 0;
				width: 35px;
				background-color: @primaryColor;
				color: #fff;
				border: none;
				padding: 0;
				height: 34px;
			}
		}
	}
}
.rt-course-list-view .lp-archive-courses {
	.rtin-main-cols {
		width: inherit;
		float: none;
		.rt-course-box {
			.rtin-thumbnail {
				float: left;
			}
			.rtin-content-wrap {
				padding: 20px;
				overflow: hidden;
				.rtin-content {
					padding: 0;
				}
			}
			.rtin-meta {
				border-top: none;
				padding: 15px 0 0;
				.row {
					margin: 0;
					padding: 0;
					> div {
						margin: 0;
						padding: 0 15px 0 0;
						width: inherit;
						&:nth-child(3) {
							float: right;
						}
					}
				}
			}
			.review-stars-rated {
				.review-stars.empty,
				.review-stars.filled {
					height: inherit;
				}
			}
		}
	}
}
.lp-archive-courses .pagination-area {
	margin-top: 30px;
}

/*-------------------------------------
#. Course Single - Tabs and Defaults
---------------------------------------*/
.single-lp_course {
	.content-area {
		background-color: #f5f5f5;
		.site-main > .lp_course {
			padding: 30px;
			background-color: #fff;
			@media all and (max-width: 479px) {
				padding: 30px 20px;
			}
			ul.learn-press-nav-tabs {
				background-color: #f5f5f5;
				border: none;
				margin-bottom: 30px;
				li {
					border-right: 1px solid #cdcdcd;
					margin-bottom: 0;
					margin-right: 1px;
					@media all and (max-width: 479px) {
						border-right: 0;
					}
					&:last-child {
						border-right: 0;
					}
					&:after {
						content: none;
					}
					a {
						border: none;
						color: @primaryColor;
						font-weight: 500;
						padding: 15px 30px;
						transition: all 0.3s ease-out;
						@media all and (max-width: 991px) {
							padding: 10px 15px;
						}
					}
					&.active,
					&:hover {
						background-color: @primaryColor;
						border-bottom: none;
						a {
							color: #fff;
							margin-bottom: 0;
						}
					}
				}
			}
			.learn-press-tab-panel {
				border: none;
				box-shadow: none;
			}
		}
	}
	.comments-area {
		background-color: #fff;
		padding: 30px 30px 10px;
		.reply-separator {
			display: none;
		}
	}
}
ul.course-features {
	list-style-type: none;
	margin: 0;
	padding: 0;
	&:after {
		clear: both;
		content: "";
		display: block;
	}
	li {
		width: 33.3%;
		float: left;
		padding-left: 30px;
		padding-right: 5px;
		position: relative;
		margin-bottom: 10px;
		@media only screen and (max-width : 991px) {
			width: 50%;
		}
		@media only screen and (max-width : 479px) {
			width: 100%;
			padding-right: 0;
		}
		&:before {
			content: "\f058";
			position: absolute;
			font-family: FontAwesome;
			left: 0;
			top: 0;
			font-size: 20px;
			z-index: 1;
			line-height: 1.3;
			color: @secondaryColor;
		}
	}
}
.course-terms {
	margin-top: 10px;
	span {
		padding-right: 5px;
	}
}
.course-sep {
	border-top: 1px solid #bdbdbd;
	margin-top: 15px;
	margin-bottom: 20px;
}

/*-------------------------------------
#. Course Single Curriculum
---------------------------------------*/
#learn-press-course-curriculum .curriculum-sections .section {
	background-color: #EFEFEF;
	border-bottom: 2px solid #fff;
	.section-description {
		border-bottom: 1px solid #e2e2e2;
		display: none;
		margin: 25px 30px 0;
		padding-bottom: 20px;
	}
	.section-header {
		background-color: #f5f5f5;
		color:@primaryColor;
		font-size: 20px;
		line-height: 1.2;
		padding: 18px;
		cursor: pointer;
		transition: all 0.3s ease-out;
		border: none;
		display: block;
		margin: 0;
		position: relative;
		&.active,
		&:hover {
			background-color: @secondaryColor;
			color: #fff;
		}
		&.active + .section-description {
			display: block;;
		}
		.title {
			display: inline-block;
			margin-right: 110px;
		}
		.meta {
			font-size: 17px;
			line-height: 1.5;
			position: absolute;
			right: 15px;
			top: 20px;
			.collapse {
				color: @primaryColor;
				font-size: 14px;
				line-height: 19px;
				margin-left: 15px;
				display: inline-block;
				position: relative;
				font-family: 'lp-icons';
				width: 24px;
				height: 24px;
				text-align: center;
				border-radius: 5px;
				vertical-align: middle;
				&:before {
					font-family: fontAwesome;
					content: "\f077";
				}
			}			
		}
		&.active .meta .collapse:before {
			content: "\f078";
		}
	}
	.section-content {
		background-color: #EFEFEF;
		padding: 0 30px 10px;
		display: none;
		margin: 0;
		@media all and (max-width: 991px) {
			padding: 0 15px 10px;
		}
		li {
			background-color: inherit;
			border: none;
			border-bottom: 1px solid #e2e2e2;
			padding: 15px 0;
			display: flex;
			align-items: center;
			@media all and (max-width: 479px) {
				display: block;
			}
			&:last-child {
				border-bottom: 0;
			}
			&:hover {
				background-color: inherit;
				transition: none;
			}
			.section-item-link {
				&:before {
					content: none;
				}
				.rtin-left {
					float: left;
					width: 20%;
					padding-right: 10px;
					@media all and (max-width: 479px) {
						width: inherit;
						float: none;
					}
					.rtin-left-icon {
						color: @secondaryColor;
						margin-right: 15px;
						font-size: 18px;
						@media all and (max-width: 1199px) {
							margin-right: 5px;
						}
					}
					.rtin-left-index {
						color: #222222;
						span {
							@media all and (min-width: 480px) and (max-width: 991px) {
								display: none;
							}
						}

					}
				}
				.rtin-center {
					float: left;
					width: 66%;
					@media all and (max-width: 479px) {
						width: inherit;
						float: none;
						padding-top: 8px;
					}
					.course-item-title {
						color: #111111;
						display: inline;
						float: none;
						font-size: 16px;
						font-weight: 500;
						line-height: 1.4;
						&:before {
							content: none;
						}
					}
					.course-item-meta {
						display: inline;
						float: none;
						margin: 0;
						position: static;
						span {
							background-color: @primaryColor;
							font-size: 12px;
							height: inherit;
							line-height: 1;
							padding: 5px 10px;
							margin-left: 5px;
							color: #fff;
							width: inherit;
							border-radius: 4px;
							display: inline;
						}
						.course-item-status:before {
							color: @primaryColor;
							vertical-align: top;
						}
					}
				}
				.rtin-right {
					float: right;
					width: 14%;
					text-align: right;
					color: #111;
					@media all and (max-width: 479px) {
						width: inherit;
						float: none;
						text-align: left;
						padding-top: 8px;
					}
					i {
						color: #888888;
					}
					span {
						margin-left: 8px;
					}
				}				
			}
			&.no-counting .section-item-link {
				.rtin-center {
					width: 80%;
				}
				.rtin-right {
					width: 0;
				}
			}
		}
	}
}

/*-------------------------------------
#. Course Curriculum Popup
---------------------------------------*/
body.course-item-popup {
	#course-item-content-header {
		background-color: @secondaryColor;
		.course-item-search {
			display: none;
		}
		.course-title a,
		a.toggle-content-item {
			color: #fff;
		}
		.course-title {
			display: none;
		}
		.form-button.lp-button-back {
			float: none;
			margin-left: 15px;
			button {
				background-color: #fff;
				color: #111;
				font-weight: 500;
				border-radius: 5px;
				height: inherit;
				&:before {
					content: '<';
					font-size: 16px;
					padding-right: 6px;
					line-height: 1.1;
				}
				&:hover {
					&:before {
						content: '<<';
					}
				}
			}
		}
	}
	#learn-press-course-curriculum {
		width: 350px;
		.rt-popup-title {
			padding: 15px 20px 5px;
		}
		.curriculum-sections {
			margin: 15px;
			.section {
				.section-header {
					font-size: 15px;
					line-height: 1.5;
					padding: 14px;
					background-color: @primaryColor;
					color: #fff;
					.title {
						margin-right: 85px;
					}
					.meta {
						font-size: 14px;
						line-height: 1.2;
						top: 16px;
						.collapse {
							font-size: 12px;
							line-height: 18px;
							margin-left: 2px;
							color: #fff;
						}
					}
				}
				.section-description {
					margin: 15px 15px 0;
					padding-bottom: 11px;
					font-size: 13px;
					line-height: 1.8;
				}			
				.section-content {
					padding: 0 15px 10px;
					li {
						&:before {
							background-color: @primaryColor;
							left: -15px;
						}
						padding: 2px 0;
						.section-item-link {
							.rtin-left {
								width: 65px;
								.rtin-left-icon {
									font-size: 13px;
									margin-right: 10px;
								}
								.rtin-left-index span {
									display: none;
								}
							}
							.rtin-center {
								width: 75%;
								width: calc(~"100% - "75px);
								.course-item-meta span {
									padding: 3px 8px;
								}
								.course-item-title {
									font-size: 14px;
									line-height: 1.2;
								}						
							}
							.rtin-right {
								display: none;
							}
						}
					}
				}			
			}
		}
	}

	#learn-press-content-item {
		left: 350px;
		.learn-press-content-protected-message {
			background-color: #ddd;
		}
		.content-item-summary {
			border-bottom: 2px dashed #ddd;
			margin: 30px 0;
			padding-bottom: 20px;
			.course-item-title {
				border-bottom: 2px dashed #ddd;
				font-size: 35px;
				line-height: 1.3;
				margin-bottom: 20px;
				padding-bottom: 20px;
				@media all and (max-width: 767px) {
					font-size: 25px;
				}
			}
			button {
				font-size: 14px;
				font-weight: 500;
				line-height: 1;
				padding: 13px 20px 10px;
				text-transform: uppercase;
				height: inherit;
			}
		}
		#content-item-quiz {
			.lp-quiz-buttons {
				margin-bottom: 0;
				margin-top: 25px;
			}
			.question-numbers {
				margin-top: 35px;
				li {
					a:hover,
					&.current a {
						background-color: @primaryColor;
						border-color: @primaryColor;
					}
				}
			}
			.question-title {
				font-size: 20px;
				margin-bottom: 20px;
				line-height: 1.3;
			}
			.answer-options .answer-option {
				padding: 5px;
				.option-title {
					font-size: 13px;
					line-height: 1.2;
					padding-top: 8px
				}
			}
			.quiz-result {
				max-width: inherit;
				margin: 0;
				text-align: inherit;
				.result-achieved {
					border: none;
					color: @primaryColor;
				}
				.result-require {
					display: inline;
					&:before {
						content: '/';
					}
				}
				.result-message {
					margin-top: 10px;
				}
			}
		}
		.course-item-nav {
			.prev span,
			.next span {
				color: #666666;
				text-transform: uppercase;
				font-weight: 500;
				font-size: 13px;
			}
			.prev a,
			.next a {
				color: #222222;
				font-weight: 500;
				&:hover {
					text-decoration: underline;
				}
			}
		}
		.comments-area {
			padding: 40px 0 0;
		}
	}
}

.scrollbar-light > .scroll-element.scroll-y .scroll-bar {
	background-color: @primaryColor;
}

@media all and (max-width: 767px) {
	html,
	html body {
		overflow: auto !important;
	}
	html #wpadminbar {
		position: fixed;
	}
	html body.course-item-popup {
		#page {
			display: none;
		}
		#learn-press-course-curriculum {
			position: static;
			width: 100%;
			margin-top: 60px;
			.curriculum-scrollable {
				position: static !important;
			}
		}
		#learn-press-content-item {
			position: static;
			width: 100%;
			.content-item-scrollable {
				position: static !important;
				.scroll-content {
					height: inherit !important;
					max-height: inherit !important;
					.content-item-summary {
						margin-top: 10px;
					}
				}
			}
			.scroll-element {
				display: none;
			}
		}
	}
}

/*-------------------------------------
#. Course Instructor
---------------------------------------*/
.course-instructor-tab-contents {
	padding: 15px 15px 0;
	@media all and (max-width: 479px) {
		text-align: center;
	}
	.media-left {
		margin-right: 40px;
		padding-right: 0;
		@media all and (max-width: 479px) {
			display: block;
			margin: 0 0 20px;
			float: none !important;
		}
		img {
			border-radius: 50%;
		}
	}
	.media-body {
		@media all and (max-width: 479px) {
			display: block;
			width: 100%;
		}
		.author-name a {
			color: #111;
			font-size: 22px;
			font-weight: 600;
			line-height: 1.5;
		}
		.author-designation {
			color: #969696;
			font-size: 16px;
			font-weight: 500;
			line-height: 1.5;
			margin-top: 2px;
		}
		.author-bio {
			margin-top: 15px;
		}
	}
	.rtin-social {
		margin-top: 25px;
	}
}

/*-------------------------------------
#. Course Single Reviews
---------------------------------------*/
#course-reviews {
	margin-bottom: 40px;
	.course-review-head {
		color: @primaryColor;
		font-size: 22px;
		line-height: 1.3;
	}
	.course-review-head::after {
		background-color: @secondaryColor;
		border-radius: 6px;
		content: "";
		display: block;
		height: 3px;
		margin-bottom: 22px;
		margin-top: 15px;
		width: 40px;
	}
	.course-reviews-list {
		padding-left: 0;
		li {
			background-color: inherit;
			border: none;
			border-bottom: 1px solid #e3e3e3;
			padding: 0 0 30px;
			margin: 0 0 35px;
			&:last-child {
				margin-bottom: 0;
				padding-bottom: 0;
				border: none;
			}
			.review-author {
				margin-right: 30px;
				@media all and (max-width: 479px) {
					margin-right: 15px;
					max-width: 60px;
				}
			}
			.review-text {
				width: 55%;
				width: calc(~"100% - "110px);
				.user-name {
					color: @primaryColor;
					font-size: 16px;
					line-height: 1.4;
					margin: 0 0 10px;
				}
				.review-meta {
					margin-bottom: 10px;
					@media all and (max-width: 479px) {
						margin-bottom: 0;
					}
					.review-title {
						background-color: @primaryColor;
						color: #fff;
						float: left;
						font-size: 14px;
						line-height: 1.5;
						margin: 0 0 10px;
						padding: 2px 8px;
						font-style: normal;
						@media all and (max-width: 479px) {
							display: block;
							float: none;
							margin-bottom: 15px;
							width: fit-content;
						}
					}
					.review-stars-rated {
						float: right;
						width: inherit;
						@media all and (max-width: 479px) {
							float: none;
						}
						.review-stars {
							font-size: 15px;
							line-height: 1.3;
							width: inherit;
						}
					}
				}
				.review-content {
					color: #757575;
				}
			}
		}
	}
}
.review-form {
	h3 {
		font-size: 20px;
		line-height: 1.2;
	}
	ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
	ul.review-fields {
		> li > label .required {
			font-size: 15px;
			margin-left: 3px;
		}
		.review-stars > li {
			width: 18px;
			span {
				font-size: 18px;
				&.hover::before {
					color: #f2b827;
				}			
			}			
		}
		.review-actions button.close {
			display: none;
		}
	}
}

/*-------------------------------------
#. Course Sidebar
---------------------------------------*/
.retake-course,
.enroll-course,
.purchase-course {
	display: block;
}
.learnpress-page .course_enroll_wid {
	.lp-form {
		width: 100%;
	}
	.rtin-pricing {
		font-size: 30px;
		line-height: 1.2;
		margin-top: 25px;
		color: @primaryColor;
		overflow-wrap: break-word;
		text-transform: uppercase;
		.course-price {
			color: @primaryColor;
		}
		.course-origin-price {
			color: #666;
		}
	}
	a,
	button {
		color: @primaryColor;
		background-color: @secondaryColor;
		border: 2px solid @secondaryColor;
		display: block;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.2;
		padding: 18px 0;
		margin-top: 25px;
		text-align: center;
		text-transform: uppercase;
		transition: all 0.3s ease-out 0s;
		width: 100%;
		height: inherit;
		&:hover {
			background-color: transparent;
		}
	}
	button.course-wishlist {
		margin-top: 15px;
	}
	.learn-press-course-buttons form {
		margin: 0;
	}
}

.course-rate {
	margin-bottom: 0;
	.average-rating {
		color: @primaryColor;
		font-size: 16px;
		line-height: 26px;
		margin-bottom: 10px;
		margin-right: 0;
		position: relative;
		padding-right: 55px;
		span {
			font-size: 36px;
			line-height: 26px;
			position: absolute;
			right: 0;
			top: 0;
		}
	}
	.review-stars-rated {
		width: 80px;
		display: block;
		.review-stars.empty,
		.review-stars.filled {
			font-size: 16px;
		}
	}
	.course-each-rating {
		margin: 15px 0 0;
		.star-info {
			color: @primaryColor;
			margin-bottom: 3px;
			.pull-left {
				font-size: 16px;
				font-weight: 500;
				line-height: 1.4;
			}
		}
		.review-bar {
			background-color: #f0f0f0;
			display: block;
			height: 8px;
			margin-right: 0;
			width: 100%;
			.rating {
				background-color: #f2b827;
				height: 8px;
			}
		}		
	}
}
#course-curriculum-popup #popup-sidebar,
.single-lp_course .course_progress_wid {
	.learn-press-course-results-progress {
		.items-progress, 
		.course-progress {
			float: none;
			margin: 25px 0 0;
			width: inherit;
			.number,
			.percentage-sign {
				color: #222;
				font-size: 14px;
				font-style: italic;
				line-height: 1;
				vertical-align: inherit;
				margin-left: 0;
				margin-right: 2px;
			}
			.lp-progress-bar {
				margin: 5px 0 0;
				height: 10px;
				border-radius: 0;
				.lp-progress-value {
					background-color: #f2b827;
					height: 10px;
				}
			}
		}
	}
}
.single-lp_course .course_progress_wid .learn-press-course-results-progress {
	margin-bottom: 10px;
	margin-top: 30px;
}
#course-curriculum-popup #popup-sidebar .learn-press-course-results-progress .items-progress {
	margin-bottom: 20px !important;
}

/*-------------------------------------
#. Related Courses
---------------------------------------*/
.rt-related-courses {
	margin-top: 30px;
	.section-title {
		background-color: #fff;
		margin-bottom: 20px;
		padding: 12px 20px;
	}
	.owl-custom-nav-title {
		color: @primaryColor;
		float: left;
		font-size: 22px;
		margin: 0;
		padding: 0;
	}
	.owl-custom-nav {
		float: right;
		padding-left: 30px;
		.owl-prev,
		.owl-next {
			background-color: @secondaryColor;
			color: #ffffff;
			cursor: pointer;
			display: inline-block;
			font-size: 14px;
			height: 30px;
			line-height: 32px;
			opacity: 1;
			text-align: center;
			width: 30px;
			transition: all 0.2s ease-in-out 0s;
		}
		.owl-next {
			margin-left: 5px;
		}
		.owl-prev:hover,
		.owl-next:hover {
			background-color: @primaryColor;
		}
		i {
			font-size: 20px;
			font-weight: 400;
			line-height: 28px;
		}
	}
	&.no-nav .owl-nav {
		display: none;
	}
}

/*-------------------------------------
#. User profile
---------------------------------------*/
#learn-press-user-profile {
	&:before {
		content: none;
	}
	// Header
	.rdtheme-lp-profile-header {
		background-color: @primaryColor;
		margin-bottom: 30px;
		color: #fff;
		position: relative;
		.rtin-item {
			padding: 20px;
			@media all and (max-width: 767px) {
				padding-bottom: 40px;
			}
			.rtin-left {
				float: left;
				margin-right: 25px;
				position: relative;
				width: 140px;
				height: 140px;
				.rtin-overlay {
					width: 140px;
					height: 133px;
					background-color: #c5c5c5;
					position: absolute;
					left: 0px;
					bottom: 5px;
					transform: rotate(4deg);
				}
				img {
					width: 140px;
					height: 140px;
					position: absolute;
					left: 0;
					top: 0;
				}
			}
			.rtin-right {
				float: left;
				padding-top: 15px;
				.rtin-name {
					color:#fff;
					margin-bottom: 0;
				}
				.rtin-social {
					.ul0();
					font-size: 0;
					margin-top: 15px;
					li {
						display: inline-block;
						margin: 0 2px 5px;
						text-align: center;
						a {
							background-color: @secondaryColor;
							color: #000;
							height: 34px;
							width: 35px;
							line-height: 35px;
							display: block;
							transition: all 0.5s ease-out;
							color: #002147;
							font-size: 16px;
							border-radius: 5px;
							&:hover {
								opacity: 0.8;
							}
						}
					}
				}
			}
		}
		.rtin-logout {
			position: absolute;
			bottom: 0;
			right: 25px;
			@media all and (max-width: 480px) {
				right: inherit;
				left: 20px;
			}
			a {
				color: #000;
				background-color: @secondaryColor;
				border-radius: 5px 5px 0 0;
				display: block;
				padding: 8px 20px;
				font-weight: 500;
				@media all and (max-width: 767px) {
					padding: 1px 15px;
				}
				.fa {
					padding-right: 5px;
					font-size: 13px;
				}
				&:hover {
					opacity: 0.9;
				}
			}

		}
	}

	// Left Navigation
	#learn-press-profile-nav {
		background: none;
		padding-top: 0;
		&:before {
			content: none;
		}
		.learn-press-tabs {
			background-color: inherit;
			li {
				border-bottom: 1px solid #fff;
				a {
					&:before {
						content: '\f105';
						font-family: FontAwesome;
						padding-right: 10px;
						vertical-align: unset;
						font-size: 15px;
						line-height: 17px;
						font-weight: 600;
					}
					background-color: #f5f5f5;
					border-radius: 3px;
					padding: 10px 20px;
					color: #444;
					font-weight: 500;
				}
				&.active > a,
				a:hover {
					background-color: @secondaryColor;
					color: #222;
				}
				> ul {
					border-left: 1px solid #fff;
					@media all and (max-width: 767px) {
						display: none;
					}
				}
				&.active ul {
					display: none;
				}
			}
		}
		&:hover #profile-mobile-menu {
			background-color: @primaryColor;
		}
	}

	// Content
	#learn-press-profile-content {
		margin-top: 0;
		// Top Tab
		.lp-tab-sections {
			background: none;
			margin-bottom: 30px;
			border-bottom: 1px solid #dedede;
			@media all and (max-width: 767px) {
				border: none;
			}
			li {
				margin-right: 5px;
				@media all and (max-width: 767px) {
					margin-bottom: 5px;
				}
				span,
				a {
					background-color: #f2f2f2;
					padding: 15px 25px;
					color: @primaryColor;
					font-weight: 500;
					border-bottom: none;
					border-radius: 3px 3px 0 0;
					@media all and (max-width: 767px) {
						border-radius: 3px;
					}
				}
				&.active span,
				a:hover {
					background-color: @primaryColor;
					color: #fff;
				}
			}
		}

		// Top Sub-Tab
		.learn-press-subtab-content	.lp-sub-menu {
			padding: 0;
			margin-bottom: 30px;
			background-color: #f5f5f5;
			font-size: 0;
			line-height: 17px;
			li {
				border-right: 1px solid #cdcdcd;
				span, a {
					padding: 5px 25px;
					color: #444;
					font-weight: 500;
					border-bottom: none;
					margin-right: 0;
					font-size: 14px;
					line-height: 17px;
				}
				span,
				a:hover {
					background-color: @primaryColor;
					color: #fff;
				}
			}
		}

		// Heading
		.profile-heading {
			font-size: 22px;
			line-height: 1.3;
			margin-bottom: 20px;
			color: #111;
		}
		
		// Forms
		.learn-press-form {
			.form-fields {
				max-width: 350px;
				.form-field {
					margin-bottom: 15px;
					label {
						color: #646464;
					}
					input[type="text"],
					input[type="password"],
					select,
					textarea {
						background-color: #f2f2f2;
						border-radius: 3px;
						border: none;
						color: #111;
						font-weight: 500;
						width: 100%;
						padding: 10px 20px;
					}
					textarea {
						font-weight: 400;
						color: #444;
					}
				}
			}		
		}
		.learn-press-form button,
		button#submit {
			background-color: #1A9E27;
			padding: 14px 23px;
			border-radius: 5px;
			font-weight: 500;
			&:hover {
				opacity: 0.9;
			}
		}
		#lp-avatar-actions button {
			background-color: #f2f2f2;
			color: #222;
			font-weight: 500;
			border-radius: 5px;
			padding: 10px 30px;
			&:hover {
				background-color: #d2d2d2;
			}
		}

		// Order
		.profile-recover-order .order-recover {
			input[name="order-key"] {
				background-color: #f2f2f2;
				border-radius: 3px;
				border: none;
				color: #111;
				font-weight: 500;
				padding: 10px 20px;
				@media all and (max-width: 767px) {
					margin-bottom: 10px;
				}
			}
			button {
				background-color: #1A9E27;
				padding: 11px 23px;
				border-radius: 5px;
				font-weight: 500;
				height: inherit;
				line-height: 1.3;
				cursor: pointer;
				vertical-align: top;
				&:hover {
					opacity: 0.9;
				}
			}
		}

		// Table
		.lp-list-table {
			thead tr {
				border-top: 1px solid #e2e2e2;
				border-bottom: 1px solid #d6d6d6;
				th {
					background-color: inherit;
					color: #111;
				}
			}
			tbody {
				tr {
					td {
						color: #111;
						font-weight: 500;
						border: none;
						line-height: 1.5;
						a {
							color: #111;
							&:hover {
								text-decoration: underline;
							}
						}
					}
				}
				tr:nth-child(even) td {
					background-color: #f5f5f5;
				}
			}
			tfoot tr {
				font-style: italic;
			}
		}

		// Wishlist
		#profile-content-wishlist {
			margin: 0 2px;
		}

		// Own Courses
		.rt-owned-courses {
			margin: 0 2px;
		}
	}
}

/*-------------------------------------
#. Checkout
---------------------------------------*/
.learn-press-checkout .lp-list-table thead tr th {
	background: @primaryColor;
}