/*------------------------------------------------------------------
[Table of contents]

1. Blog Classic
2. Post Classic
3. Navigation
4. Single Services
4. Single Project
-------------------------------------------------------------------*/
.hidden-more-link .more-link {
	display: none;
}
.mfp-close:hover {
	background-color: transparent !important;
	color: $color_main !important;
}
.tr-overlay {
	@include background-gradient(rgba(255,255,255,0), #282828);
    bottom: 0;
    height: 50%;
    left: 0;
    position: absolute;
    width: 100%;
    @include transition(all 300ms linear 0ms);
}
.carousel {
	.carousel-control {
		background: transparent;
	    bottom: 26px;
	    @include opacity(1);
	    position: absolute;
	    right: 15px;
	    text-align: center;
	    top: 50%;
	    cursor: pointer;
	    font-size: 24px;
	    @include text-shadow(0 0 0 rgba(0,0,0,0));
	   	@include transform(translate(0px, -50%));
	   	height: 45px;
	   	width: 45px;
	   	line-height: 45px;
	   	border: 1px solid #fff;
	   	opacity: 0;
	    &.left {
	    	left: 15px;
    		right: 70px;
	    }
	    &:hover {
	    	color: $primary_color;
	    	border-color: $primary_color;
	    }
	}
	&:hover {
		.carousel-control.left {
			left: 50px;
			opacity: 1;
		}
		.carousel-control.right {
			right: 50px;
			opacity: 1;
		}
	}
}
#page-events, #page-blog-standard {
	#primary {
		margin-bottom: 40px;
	}
}
/* ==========================================================================
   [Start] 1. Blog Classic
========================================================================== */
.entry-blog {
	padding-bottom: 65px;
	&.has-feature-img .entry-header {
		.entry-feature {
			position: relative;
			margin-bottom: 13px;
			img {
				width: 100%;
			}
			.blog-date {
				.icon-single {
					background: #2f2f2f;
				    @include border-radius(0 0 0 2px);
				    bottom: -30px;
				    color: #fff;
				    font-size: 15px;
				    height: 30px;
				    left: 0;
				    line-height: 30px;
				    position: absolute;
				    text-align: center;
				    width: 30px;
				}
				ul {
					bottom: -30px;
				    left: 30px;
				    position: absolute;
				    text-align: center;
				}
				.detail-date {
					background-color: $primary_color;
					@include border-radius(2px 2px 2px 0);
					height: 50px;
				    padding: 7px 0;
				    position: relative;
				    width: 50px;
				    font-weight: bold;
					span:nth-child(1) {
						font-size: 13px;
						line-height: 28px;
						color: #fff;
						display: block;
						text-transform: uppercase;
						line-height: 1;
						margin-bottom: 3px;
					}
					span:nth-child(2) {
						color: #fff;
						font-size: 22px;
						line-height: 1;
					}
				}
			}
		}
	}
	&.no-feature-img {
		.entry-meta {
			padding-left: 0px;
		}
		.entry-header .blog-date {
			display: none;
		}
	}
	.entry-content {
		padding-left: 30px;
		.entry-title {
			font-size: 22px;
			line-height: 31px;
			margin-bottom: 22px;
			color: $color_dark;
			text-transform: uppercase;
		}
		.entry-readmore a {
			font-family: Montserrat;
		    font-size: 12px;
		    font-weight: 700;
		    text-transform: uppercase;
		    color: $primary_color;
		    &:hover {
		    	color: $secondary_color;
		    }
		    i {
		    	padding-right: 5px;
			    position: relative;
			    top: -1px;
		    }
		}
	}
	.entry-content-inner {
		font-size: 15px;
		line-height: 25px;
		ul {
			list-style: none;
			li {
				position: relative;
				padding-left: 15px;
				&:before {
					content: "\f111";
					font-family: FontAwesome;
					font-size: 7px;
				    left: 0;
				    position: absolute;
				    color: $primary_color;
				}
			}
		}
		img {
			margin-bottom: 16px;
		}
	}
	.entry-meta {
		padding-left: 70px;
		font-style: italic;
		font-size: 13px;
		ul {
			list-style: none;
			padding: 0;
			margin: 0 0 13px;
			li {
				display: inline-block;
				color: #a9a9a9;
				i {
					padding-right: 6px;
					color: #a9a9a9;
					font-size: 15px;
				}
				a {
					color: #2f2f2f;
					&:hover {
						color: $primary_color;
					}
				}
				+ li {
					margin-left: 15px;
				}
				&.comment {
					a {
						color: #a9a9a9;
						&:hover {
							color: $primary_color;
						}
					}
				}
				&.detail-date, &.detail-comment {
					display: none;
				}
				&.counter-view {
					color: #a9a9a9;
				}
			}
		}
		> ul {
			position: relative;
			padding-bottom: 3px;
		}
	}
	&.no-feature-img .entry-content .entry-meta ul li {
		&.detail-date {
			display: inline-block;
		}
	}
	.entry-readmore {
		margin-top: 25px;
	}
	.entry-video {
		iframe {
			width: 100%;
		}
	}
}
.format-gallery {
	.entry-gallery {
		margin-bottom: 20px;
	}
	.blog-date {
		display: none;
	}
}
/* ==========================================================================
   [End] 1. Blog Classic
========================================================================== */

/* ==========================================================================
   [Start] 2. Single Post
========================================================================== */
.single-post {
	.entry-blog {
		margin-bottom: 51px;
		padding-bottom: 0;
		border-bottom: none;
		.entry-content {
			border-bottom: 1px solid #f2f2f2;
			.entry-content-inner {
				padding-top: 14px;
			}
		}
		.social-shared {
			padding-bottom: 15px;
			margin-top: 45px;
			li {
				display: inline-block;
				margin: 0 5px;
				a {
					font-size: 14px;
				}
			}
		}
		.entry-content .entry-title {
			margin-bottom: 10px;
		}
		.entry-footer {
			margin-top: 53px;
			.admin-avt {
				max-width: 90px;
				float: left;
				img {
					width: 100%;
					@include border-radius(2px);
				}
			}
			.admin-info {
				padding-left: 120px;
			    position: relative;
			    top: -14px;
			}
			.admin-des {
				margin-top: 15px;
				ul li {
					display: inline-block;
					padding-right: 20px;
					a {
						color: #5e5e5e;
						font-size: 15px;
						&:hover {
							color: $primary_color;
						}
					}
				}
			}
		}
	}
	.post-navigation {
		margin-top: 30px;
		.nav-link-prev, .nav-link-next {
			a {
				padding: 20px;
				border: $border_1x;
				display: inline-block;
				width: 100%;
				img {
					max-width: 70px;
					float: left;
				}
				.nav-inner {
					padding-left: 85px;
					span {
						font-size: 13px;
    					font-style: italic;
    					color: #a9a9a9;
					}
				}
				h3 {
					font-size: 14px;
					line-height: 22px;
					text-transform: uppercase;
    				@include transition(all 300ms linear 0ms);
				}
				&:hover {
					border-color: $primary_color;
					h3 {
						color: $primary_color;
					}
				}
			}
		}
		.nav-link-next a {
			img {
				float: right;
			}
			.nav-inner {
				padding-left: 0;
				padding-right: 85px;
			}
		}
	}
	.single-post-wrap {
		margin-bottom: 50px;
	}
}
.cms-related-post {
	margin-bottom: 52px;
	.item {
		.item-inner {
			position: relative;
			overflow: hidden;
			.detail-terms {
				font-size: 13px;
			    font-style: italic;
			    margin-bottom: 8px;
			    margin-top: 14px;
			}
			.title {
				font-size: 16px;
			    font-weight: normal;
			    line-height: 25px;
			    text-transform: uppercase;
			}
		}
	}
}
/* ==========================================================================
   [End] 2. Single Post
========================================================================== */

/* ==========================================================================
   [Start] 3. Navigation
========================================================================== */
.pagination {
	margin-top: 0;
	margin-bottom: 90px;
	width: 100%;
	text-align: center;
	.page-numbers {
		border: 2px solid #eeeeee;
	    border-radius: 0px;
	    display: inline-block;
	    height: 51px;
	    line-height: 51px;
	    text-align: center;
	    width: 51px;
	    color: #333333;
	    font-size: 24px;
	    font-weight: 700;
	    &:hover, &.current {
	    	color: $primary_color;
	    }
	    + .page-numbers {
			margin-left: 10px;
	    }
	}
}
/* ==========================================================================
   [End] 3. Navigation
========================================================================== */

/* ==========================================================================
   [Start] 4. Single Services
========================================================================== */
.single-services-wrap {
	margin-bottom: 125px;
	.sg-services-image {
		margin-bottom: 55px;
		img {
			widows: 100%;
		}
	}
	.wpb_text_column {
	    font-size: 14px;
	    line-height: 23px;
	}
}
/* ==========================================================================
   [End] 4. Single Practice
========================================================================== */

/* ==========================================================================
   [Start] 4. Single Project
========================================================================== */
.sg-project {
	.project-heading-line {
		border-bottom: 2px solid #efefef;
	    font-size: 16px;
	    margin-bottom: 25px;
	    padding-bottom: 10px;
	    position: relative;
	    &:before {
	    	content: "";
	    	height: 3px;
	    	width: 30px;
	    	background-color: $primary_color;
	    	position: absolute;
	    	bottom: -2px;
	    	left: 0;
	    }
	}
	.project-heading {
		font-size: 20px;
		text-transform: uppercase;
	    margin-bottom: 11px;
	    padding-bottom: 3px;
	    position: relative;
	    &:before {
	    	content: "";
	    	height: 3px;
	    	width: 30px;
	    	background-color: $primary_color;
	    	position: absolute;
	    	bottom: -2px;
	    	left: 0;
	    }
	}
	.navigation {
		text-align: center;
		margin-bottom: 100px;
		ul li {
			display: inline-block;
			margin: 0 8px;
			a {
				height: 51px;
				width: 51px;
				border: 2px solid #2f2f2f;
				color: #2f2f2f;
				line-height: 51px;
				text-align: center;
				display: block;
			}
			a:hover {
				background-color: $primary_color;
				color: #fff;
				border-color: $primary_color;
			}
		}
	}
	.sg-project-body {
		margin-bottom: 50px;
	}
	.owl-theme .owl-controls {
		bottom: 30px;
	    left: 24px;
	    position: absolute;
		.owl-prev, .owl-next {
			margin: 0 6px;
			i {
				width: 27px;
				height: 70px;
				border: none;
				line-height: 70px;
				font-size: 20px;
				background-color: #2f2f2f;
				&:before {
					color: #fff;
				}
			}
			&:hover {
				i {
					width: 70px;
					background-color: $primary_color;
					&:before {
						color: #fff;
					}
				}
			}
		}
	}
	.sg-project-description {
		.sg-project-description-inner {
			padding: 25px 30px;
			background-color: #f9f9f9;
		}
		ul li {
			line-height: 29px;
			span {
				color: #313131;
				font-weight: 700;
			}
			a {
				color: #9e9e9e;
				&:hover {
					color: $primary_color;
				}
				+ a:before {
					content: ",";
					padding-right: 3px;
				}
			}
		}
	}
	&.project-layout1 {
		.sg-project-header {
			margin-bottom: 70px;
		}
	}
	&.project-layout2 {
		.sg-project-sidebar {
			.gap {
				margin-bottom: 55px;
			}
		}
		.sg-project-header {
			margin-bottom: 62px;
		}
		.sg-project-body {
			margin-bottom: 65px;
		}
		#sg-project-gallery {
			margin-bottom: 30px;
		}
		.navigation {
			li {
				margin: 0;
				&.nav-link-prev {
					float: left;
				}
				&.nav-link-next {
					float: right;
				}
			}
		}
	}
}
/* ==========================================================================
   [End] 5. Single Project
========================================================================== */

.single-teams {
	font-size: 16px;
	line-height: 25px;
	.sg-teams-header {
		margin-bottom: 30px;
		.sg-teams-image {
			margin-bottom: 40px;
			width: 270px;
			float: left;
			img {
				margin-bottom: 30px;
			}
			.sg-teams-social a {
				width: 35%;
				float: left;
				height: 40px;
				line-height: 40px;
				font-size: 16px;
				color: #fff;
				background-color: $primary_color;
				width: 60px;
				display: inline-block;
				@include border-radius(1px);
				text-align: center;
				margin-right: 10px;
				&.fa-facebook{
					background-color: #5d82d1;
				}
				&.fa-twitter {
					background-color: #40bff5;
				}
				&.fa-google-plus {
					background-color: #eb5e4c;
				}
				&.fa-linkedin {
					background-color: #238cc8;
				}
				&.fa-rss {
					background-color: #ea7d31;
				}
				&:hover {
					opacity: 0.8;
				}
			}
		}
		.sg-teams-excerpt {
			padding-left: 300px;
		}
		.cms-team-title {
			font-size: 18px;
			line-height: 26px;
			margin-top: 9px;
			margin-bottom: 9px;
		}
		.cms-team-position {
			font-size: 13px;
			line-height: 1;
		}
		.sg-teams-social a:last-child {
			margin-right: 0;
		}
	}
}
