/*-------------------------------------
#. Banner
---------------------------------------*/
.entry-banner .entry-banner-content {
	padding: 100px 0 110px;
	h1 {
		color: #ffffff;
		font-size: 48px;
		font-weight: 700;
		margin-bottom: 5px;
		line-height: 1.1;
		word-wrap: break-word;
	}
}

.breadcrumb-area .entry-breadcrumb {
	color: #ffffff;
	span {
		color: #ffffff;
		font-size: 14px;
		line-height: 1.2;
		a {
			transition: all 0.3s ease-in-out 0s;
			&:hover {
				color: #ffffff;
			}
		}
	}
}

/*-------------------------------------
#. Buttons
---------------------------------------*/
body .rdtheme-button-1 {
	border: none;
	padding: 13px 30px;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
	transition: all 0.3s ease-out;
	background-color: #ffffff;
	&, &:link {
		color: @primaryColor;
	}
	&:hover {
		color: #ffffff;
		background-color: @primaryColor;
	}	
}
body a.rdtheme-button-2,
body .rdtheme-button-2 {
	border: none;
	padding: 13px 40px;
	background-color: @primaryColor;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
	transition: all 0.3s ease-out;
	&, &:link {
		color: #ffffff;		
	}
	&:hover {
		color:@primaryColor;
		background-color: @secondaryColor;
	}	
}
body a.rdtheme-button-3,
body .rdtheme-button-3 {
	border: none;
	padding: 8px 30px;
	background-color: @primaryColor;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
	transition: all 0.3s ease-out;
	&, &:link {
		color: #ffffff;
	}
	&:hover {
		color:@primaryColor;
		background-color: @secondaryColor;
	}	
}

/*-------------------------------------
#. Contents
---------------------------------------*/
.entry-header {
	ul {
		.ul0();
	}
	.entry-thumbnail-area {
		margin-bottom: 30px;
		position: relative;
		.post-date {
			position: absolute;
			bottom: 0;
			left: 0;
			z-index: 1;
			min-width: 112px;
			li {
				font-size: 24px;
				height: 60px;
				padding: 18px 5px;
				text-align: center;
				@media all and (max-width: 767px) {
					font-size: 18px;
					height: 38px;
					padding-top: 6px;
				}
				&:nth-child(odd) {
					background-color: @primaryColor;
					color: #ffffff;
					font-weight: 700;
				}
				&:nth-child(even) {
					background-color: @secondaryColor;
					color: #212121;
					font-weight: 500;
				}
			}
		}
	}
	h2.entry-title {
		margin-bottom: 15px;
		a {
			color:@primaryColor;
			transition: all 0.3s ease-in-out 0s;
			&:hover {
				color: @secondaryColor;
			}
		}
	}
	.entry-meta {
		ul li {
			display: inline-block;
			margin-right: 20px;
			color:#b1b1b1;
			span {
				padding-right: 5px;
				color: #444444;
			}			
			i {
				color: @secondaryColor;
				margin-right: 8px;
			}
			a {
				color: #b1b1b1;
				&:hover {
					color: @primaryColor;
				}
			}
		}
	}
}
.entry-content .readmore-btn {
	margin-top: 10px;
	@media all and (max-width: 767px) {
		padding: 10px 20px;
	}
}
.entry-footer {
	margin-top: 10px;
	margin-bottom: 60px;
	.tags {
		span {
			color: #222222;
			font-weight: 600;
			padding-right: 8px;
		}
		a {
			color: #707070;
			&:hover {
				color: @primaryColor;
			}
		}
	}
}
.post-each {
	margin-bottom: 55px;
}
.post-each-2 {
	margin-bottom: 35px;
	.entry-header {
		.entry-thumbnail-area {
			margin-bottom: 25px;
		}
		.entry-title {
			font-size: 22px;
			line-height: 1.5;
		}
		.entry-meta ul li {
			margin-right: 15px;
		}
		.post-date {
			min-width: 80px;
			li {
				height: 50px;
				font-size: 18px;
				padding: 12px 5px;
			}			
		}
	}
}
.page-thumbnail {
	margin-bottom: 30px;
}

.sticky.post-each-blog {
	background-color: #f8f8f8;
	padding: 30px;
	@media all and (max-width: 767px) {
		padding: 20px;
	}
}

/*-------------------------------------
#. Pagination
---------------------------------------*/
.pagination-area ul,
.learn-press-pagination ul {
	.ul0();
	text-align: center;
	font-size: 0;
	li {
		display: inline-block;
		margin-top: 10px;
		font-size: 15px;
		line-height: 22px;
		a {
			background-color: @primaryColor !important;
			color: #ffffff;
			text-decoration: none;
			transition: all 0.3s ease 0s;
			padding: 10px 18px !important;
			margin: 0 3px;
			border: none !important;
			display: inline !important;
		}
		span.current {
			margin: 0 3px;
			padding: 10px 18px !important;
		}
		span.dots {
			background-color: inherit !important;
			border: none !important;
			padding: 0 !important;
		}
		&.active a,
		a:hover,
		span.current,
		.current {
			background-color: @secondaryColor !important;
			color: #ffffff;
		}
	}
}

/*-------------------------------------
#. Comments
---------------------------------------*/
.comments-area {
	ul.comment-list,
	ul.children {
		.ul0();
	}
	ul.children {
		margin-left: 50px;
		@media all and (max-width: 991px) {
			margin-left: 20px;
		}
		@media all and (max-width: 480px) {
			margin-left: 10px;
		}
	}
	.avatar-disabled {
		.main-comments {
			ul.children {
				margin-left: 50px;
				@media all and (max-width: 991px) {
					margin-left: 20px;
				}
				@media all and (max-width: 480px) {
					margin-left: 10px;
				}
			}
		}
	}	
	h3.comment-title {		
		color: @primaryColor;
		font-size: 22px;
		font-weight: 500;
		position: relative;
		margin-bottom: 0;
		&:after{
			background-color: @secondaryColor;
			border-radius: 6px;
			content: "";
			display: block;
			height: 3px;
			margin-top: 15px;
			margin-bottom: 5px;
			width: 40px;
		}
	}
	.main-comments {
		border-top: 1px solid #e3e3e3;
		padding-top: 20px;
		&:first-child {
			border-top: none;
			padding-top: 0px;
		}
		.children li {		
			border-top: 1px solid #e3e3e3;
			padding-top: 20px;
		}
		.each-comment {
			padding: 15px 0;
		}
		.imgholder {
			margin-right: 20px;
			margin-bottom: 10px;
		}
		.comment-meta {
			font-size: 14px;
			margin-bottom: 8px;
			.comment-author-name {
				padding-right: 4px;
				color: @primaryColor;
				font-weight: 600;
				a {
					color: @primaryColor;
					font-weight: 600;
					&:hover {
						text-decoration: underline;
					}
				}
			}
			.comment-time {
				color: #9d9d9d;
				margin-bottom: 15px;
			}
		}
		.comments-body {
			.comment-text {
				font-size: 14px;
				p {
					margin-bottom: 10px;
				}
				.comment-awaiting-moderation {
					font-size: 16px;
					font-style: italic;
					font-weight: bold;
				}
			}
		}
		.reply-area {
			float: left;
			margin-bottom: 20px;
			a {
				background-color: @primaryColor;
				color: #ffffff;
				font-size: 14px;
				padding: 3px 10px;
				transition: all 0.3s ease-in-out;
				&:hover {
					background-color: @secondaryColor;
				}
			}
		}
		#respond {
			padding-top: 20px;
		}
	}
	.comments-closed {
		font-size: 16px;
		font-style: italic;
		font-weight: bold;
		padding-top: 20px;
	}
	.comment-pagination {
		margin-top: 30px;
		ul li {
			margin-right: 5px;
			margin-top: 0;
			a {
				font-size: 12px;
				padding: 10px;
			}
		}
	}
	.reply-separator {
		margin-top: 40px;
	}
}

#respond {
	.comment-reply-title {
		font-size: 22px;
		line-height: 1.2;
		margin-bottom: 10px;
		color: @primaryColor;
		&:after {
			background-color: @secondaryColor;
			border-radius: 6px;
			content: "";
			display: block;
			height: 3px;
			margin-top: 15px;
			margin-bottom: 5px;
			width: 40px;
		}
	}
	.comment-notes,
	.logged-in-as,
	.form-group {
		margin-bottom: 20px;
	}
	form {
		input,
		textarea {
			border: none;
			border-bottom: 1px solid #e5e5e5;
			border-right: 1px solid #e5e5e5;
			background-color: #f5f5f5;
			border-radius: 0;
			&:focus {
				box-shadow: none;
			}
		}
		input {
			height: 45px;
		}
		.btn-send {
			height: inherit;
			background-color: @primaryColor;
			border: none;
			color: #ffffff;
			font-size: 14px;
			line-height: 1.6;
			font-weight: 600;
			padding: 12px 30px;
			text-transform: uppercase;
			transition: all 0.3s ease-in-out 0s;
			&:hover {
				background-color: @secondaryColor;
				color: #212121;
			}
		}
	}
	#cancel-comment-reply-link {
		font-size: 12px;
	}
}

/*-------------------------------------
#. No Content
---------------------------------------*/
.no-results h2.page-title {
	color: #000;
}
/*-------------------------------------
#. Search Result Page
---------------------------------------*/
.search .post-each .entry-content .readmore-btn {
	font-size: 12px;
	line-height: 1;
	margin-top: 0;
	padding: 13px 30px;
}

/*-------------------------------------
#. Error 404
---------------------------------------*/
.error-page-area {
	.error-page {
		color: #ffffff;
		text-align: center;
		h3 {
			color: #000000;
			font-weight: 500;
			margin-top: 45px;
			margin-bottom: 10px;
			font-size: 30px;
			line-height: 1.5;
		}
		p {
			color: #634e00;
			font-size: 18px;
			margin-bottom: 40px;
		}

	}
}

/*-------------------------------------
#. Single Event
---------------------------------------*/
.event-single {
	.event-thumbnail-area {
		position: relative;
		margin-bottom: 20px;
		#event-countdown {
			position: absolute;
			left: 0;
			top: 50%;
			transform: translateY(-50%);
			z-index: 1;
			.event-countdown-each {
				padding: 15px 0;
				text-align: center;
				width: 80px;
				.count-title {
					color: #ffffff;
					margin-bottom: 0;
					line-height: 1;
					font-size: 18px;
					font-weight: 700;
				}
				&:nth-child(odd) {
					background-color: @primaryColor;
					.count-subtitle {
						color: #a0a5ac; 
					}
				}
				&:nth-child(even) {
					background-color: @secondaryColor;
					.count-subtitle {
						color: #856900;
					}
				}
				@media all and (max-width: 767px) {
					display: inline-block;
				}
			}
			@media all and (max-width: 767px) {
				position: relative;
				transform: inherit;
			}
		}
		@media all and (max-width: 767px) {
			margin-bottom: 30px;
		}
	}
	.event-meta {
		margin: 0 0 30px;
		padding: 0;
		list-style-type: none;
		li {
			display: inline-block;
			line-height: 1.4;
			margin-right: 30px;
			font-size: 18px;
			color: @primaryColor;
			i {
				font-size: 20px;
				margin-right: 15px;
				color: @secondaryColor;
			}
			&:last-child {
				margin-right: 0;
			}
		}
	}
	.event-contents {
		margin-bottom: 45px;
	}
	.event-info {
		margin-bottom: 30px;
		ul {
			.ul0();
			li {
				font-size: 15px;
				margin-bottom: 5px;
				span {
					color: #222222;
					font-weight: bold;
					margin-right: 15px;
					i {
						color: @primaryColor;
						width: 30px;
					}
				}
			}
		}
	}
	.event-social {
		margin-top: 45px;
		ul {
			.ul0();
			font-size: 0;
			li {
				border: none;
				display: inline-block;
				margin-right: 5px;
				margin-bottom: 5px;
				a {
					background-color: @primaryColor;
					display: inline-block;
					line-height: 1;
					text-align: center;
					transition: all 0.5s ease-out 0s;
					width: 40px;
					font-size: 18px;
					padding: 10px 0;
					color: #fff;
					&:hover {
						background-color: @secondaryColor;
					}
				}
			}
		}
	}
	.event-info h3,
	.event-social h3 {
		color: @primaryColor;
		font-size: 26px;
		line-height: 1.3;
		margin-bottom: 20px;
	}
	.event-map {
		iframe {
			height: 300px;
			width: 100%;
			border: none;
		}
	}
}

/*-------------------------------------
#. Single Instructor
---------------------------------------*/
.instructor-single {
	.rtin-image {
		margin-bottom: 30px;
	}
	.rtin-content {
		.rtin-heading {
			margin-bottom: 20px;
			h2 {
				color: #111111;
				font-size: 30px;
				margin-bottom: 5px;
				line-height: 1.3;
			}
			.rtin-designation {
				font-size: 14px;
			}
		}
		ul.rtin-social {
			list-style-type: none;
			margin: 0;
			padding: 15px 0 5px;
			li {
				display: inline-block;
				a {
					border: 1px solid #d6d6d6;
					display: block;
					height: 35px;
					line-height: 31px;
					margin-right: 5px;
					text-align: center;
					width: 35px;
					&:hover {
						background-color: @primaryColor;
						border-color: @primaryColor;
						color: #ffffff;
					}
				}
			}
		}
	}
}