/*
* General Post Style using for all with naming class entry
*/
.entry-title{
   	font-size: 30px;
    margin: 0 0 15px;
    font-weight: 700;
}
.layout-title{
	font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: inherit;
}
.entry-create{
	font-size: 13px;
	margin: 0 0 15px;
	> *{
		@include rtl-margin-right(2px);
	}
	.author{
		font-style: italic;
		text-transform: capitalize;
	}
}
.entry-link{
	margin-top: 20px;
	.readmore {
		color: $theme-color;
		text-transform: capitalize;
		font-weight: 500;
		 font-size: $font-size-base - 2;
		&:hover{
			color: #000;
		}
	}
}
.entry-meta{
	margin:0;
	.fa,.icon{
		@include rtl-margin-right(8px);
	}
}
.entry-vote{
	z-index: 1;
	display: table;
	text-align: center;
	top: 20px;
	position: absolute;
	background: rgba($black,.5);
	@include square(44px);
	@include rtl-right(20px);
	.entry-vote-inner{
		color: $white;
		display: table-cell;
		vertical-align: middle;
		font-weight: $headings-font-weight;
	}
	&.vote-perfect{
		.entry-vote-inner{
			color: $red;
		}
	}
	&.vote-good{
		.entry-vote-inner{
			color: $yellow;
		}
	}
	&.vote-average{
		.entry-vote-inner{
			color: #91e536;
		}
	}
	&.vote-bad{
		.entry-vote-inner{
			color: $orange;
		}
	}
	&.vote-poor{
		.entry-vote-inner{
			color: $green;
		}
	}
}
.type-post{
	margin-bottom:$theme-margin;
}
.blog-title{
	margin-bottom: $theme-margin;
}
//commentform
#commentform{
	margin-bottom:$theme-margin;
	.form-control{
		border-width: 2px;
		border-style: solid;
		border-color: $border-color;;
	    padding: 5px 20px;
	    @include border-radius(20px);
	    background: #fafafa;
	    color: #515151;
	    height: 40px;
	    @include transition(all 0.3s ease 0s);
	    &:focus{
	    	background: #fff;
	    	border-color:#616161;
	    }
	}
	textarea {
		padding:25px !important;
		height: 285px !important;
		resize: none;
	}
	.form-group{
		margin: 0 0 27px;
	}
	.space-comment{
		margin: 0 0 15px;
	}
	label{
		color: #616161;
		@include rtl-margin-left(7px);
	}
	.btn{
		padding:11px;
		font-size: 15px;
		border-color: #212121;
		color: #212121;
		&:hover,&:active{
			color: #fff;
			background: #212121;
			border-color:#212121;
		}
	}
}
/*
* using for new, magazine
*/
.post-specail{
	.entry-title{
		font-size: 16px;
	}
	.entry-date{
		font-style: italic;
	}
	.entry-create{
		margin: 0 0 18px;
	}
}
.post-title{
	@include font-size(font-size,$entry-title-font-size);
}
.post-thumb{
	position: relative;
}
.blog-meta{
	top: 0;
	position: absolute;
	@include rtl-right($entry-meta-position);
}
/** Post blog style **/
.blog{
	&.style1 .blog-date{
		top: 0;
		position: absolute;
		@include rtl-right(0);
	}
	&.style2 {
		border: 1px solid $border-color;
		.blog-date{
	  		@include rtl-float-left();
	  		@include rtl-margin(-1px,$theme-margin,0px,0px);
	  	}
	  	.entry-title{
	  		@include rtl-padding-left(65px);
	  		@include rtl-padding-right(20px);
		}
	  	.entry-description{
	  		@include rtl-padding-left(65px);
	  		@include rtl-padding-right(20px);
	  	}
		.entry-content{
			@include clearfix();
			border: 0px;
			margin-bottom: 20px;
		}
	}
	.blog-date{
		display: table;
		background: $blog-date-bg;
		text-align: $align-center;
		color: $blog-date-color;
		text-transform: $blog-date-transform;
		@include font-size(font-size,$blog-date-font-size);
		font-weight: $blog-date-font-weight;
		@include size($blog-date-size,$blog-date-size);
		line-height: normal;
		.blog-date-inner{
			display: table-cell;
			vertical-align: middle;
		}
		span{
			display: block;
			margin: 2px 0 3px 0;
			line-height:$blog-date-number-line-height;
			@include font-size(font-size,$blog-date-font-size-number);
			font-weight: $blog-date-font-weight-number;
		}
	}
	.blog-date--grids{
		position: absolute;
		top: 0;
		@include rtl-right(15px);
	}
	.entry-content--info{
		overflow: hidden;
		padding: $theme-margin 0;
	}
}
/* Post type: Grid */
.entry-image{
	display: block;
}
.layout-blog{
	&.style-grid{
		article {
			margin-bottom: 30px;
		}
	}
	article {
		margin-bottom: 50px;
	    overflow: hidden;
	}
	.post-thumbnail{
		display: block;
	}
	.entry-thumb {
		position: relative;
		.category{
			margin-top: 25px;
			display: inline-block;
		    a{
			    color: $text-color;
			    font-size: 11px;
			    font-weight: 400;
			    padding: 6px 15px;
			    text-transform: uppercase;
			    display: inline-block;
			    margin-bottom: 5px;
			    border:1px solid $border-color;
			    &:hover{
			    	color: $theme-color;
			    	border-color:$theme-color;
			    	text-decoration: none;
			    }
			    + a{
			    	@include rtl-margin-left(4px);
			    }
		    }
		}
	}
	.entry-title{

	}
	.entry-description{
		margin: 0 0 $theme-margin;
	}
	.social{
		margin: 25px 0 0 ;
	}
	.bo-sicolor{
		> a{
			@include rtl-margin-left(20px);
			color: $text-color;
			&:hover{
				color: $link-color;
			}
		}
	}
}
/// style posts
.post{
	overflow: hidden;
	&.sticky{
		border:3px solid $brand-danger;
		.entry-title a{
			color: $brand-danger;
		}
	}
	.entry-description{
		margin: 0 0 25px;
	}
}
/* Post type: half content */
.grid-half{
	// style for carousel
	&.owl-carousel .owl-controls{
		top:100%;
		@include translate(50px,-80px);
		@include rtl-left(50%);
		.owl-nav .owl-prev,
		.owl-nav .owl-next{
			@include opacity(1);
			position: static;
		}
		.owl-nav .owl-next{
			@include rtl-margin-left(5px);
		}
	}
	&.halfdark{
		&.owl-carousel .owl-controls{
			.owl-nav .owl-prev,
			.owl-nav .owl-next{
				background: #e1e4e6;
				border-color: #e1e4e6;
				color: $link-color;
				&:hover,&:active{
					background: $theme-color;
					border-color: $theme-color;
					color: #fff;
				}
			}
		}
	}
	// style image
	&.style_img.owl-carousel{
		.owl-controls{
			@include rtl-left(0);
			@include translate(0,0);
		}
	}
}
.layout-half{
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	background:$theme-color;
	color: #fff;
	.entry-content{
		max-width: 650px;
		padding-bottom: 120px;
		padding-top: 50px;
		&[class *='-6']{
			padding-left: 50px;
			padding-right: 50px;
		}
	}
	> div{
		padding-left: 0px;
		padding-right: 0px;
	}
	@media(max-width:1024px){
		.entry-content[class *='-6']{
			padding-left: $theme-margin;
			padding-right: $theme-margin;
			padding-top: $theme-margin;
			max-width: none;
		}
	}
	.entry-title{
		font-size: 50px;
		margin: 0 0 20px;
		line-height: 1.1;
		font-family: $font-family-base;
		a{
			color: #fff !important;
		}
	}
	.entry-description{
		margin:0 0 40px;
		font-size: 17px;
		font-weight: 400; 
	}
}
.layout-dark{
	background: #eff1f2 !important;
	color: $text-color;
	.meta{
		font-size: 20px;
		font-weight: 400;
		font-family: $font-family-second;
		position: relative;
		padding:0 0 10px; 
		margin: 0 0 35px;
		&:before{
			content: '';
			@include size(80px,2px);
			background: $link-color;
			position: absolute;
			bottom:0;
			@include rtl-left(0);
		}
	}
	.entry-title {
		margin: 0 0 10px;
		a{
			color: $link-color !important;
			font-size: 30px;
		}
	}
	.entry-description{
		font-size: 15px;
		font-weight: 300; 
	}
}
.layout-halfimg{
	position: relative;
	background: transparent;
	margin-bottom: 60px;
	.entry-content{
		padding: 40px 40px 80px;
		background:$theme-color;
		color: #fff;
		.entry-title{
			font-size: 35px;
			line-height: 1.1;
			margin: 0 0 10px;
			font-weight: 500;
			font-family: $font-family-base;
			a{
				color: #fff !important;
			}
		}
	}
	@media(min-width:768px){
		.half-img{
			width: 75%;
		}
		.entry-content{
			max-width: 500px;
			position: absolute;
			top: 50%;
			@include translateY(-50%);
			@include rtl-right(0);
		}
	}
}
/* Post type: List widget list*/
.posts-list{
	list-style: none;
	padding:0;
	margin:0;
	li{
		margin:0 0 25px;
		padding: 0 0 25px;
		border-bottom:1px solid $border-color;
		&:last-child{
			padding: 0;
			margin:0;
			border:none;
		}
		.entry-content{
			background: transparent;
			padding: 0;
		}
	}
	.entry-thumb{
		width: 90px;
		max-width: 100%;
	}
	.media-left{
		@include rtl-padding-right(20px);
	}
	.entry-title{
		font-size: 14px;
		text-transform: inherit;
		font-family: $font-family-base;
		margin: 0 0 3px;
		font-weight: 700;
	}
	.entry-create{
		font-size: 14px;
		color: #818689;
	}
	.entry-meta{
		font-family: $font-family-second;
		font-size: 16px;
		font-style: italic;
	}
	// style list default
	.list-default{
		.meta{
			a{
				color: $theme-color;
			}
			.space{
				margin: 0 12px;
			}
			padding: 10px 0;
			margin: 0 0 10px;
			border-bottom: 1px solid $border-color;
		}
		.entry-title{
			font-weight: 400;
			font-size: 20px;
			margin: 0 0 7px;
		}
		.description{
			margin: 0 0 15px;
		}
	}
}
.post-list{
	&.style1{
		.entry-title{
			font-size: 14px;
			font-weight: 400;
			margin: 0 ;
		}
		.date{
			color: $theme-color;
			font-family: $font-family-second;
			font-style: italic;
			font-size: 16px;
		}
		margin: 0 0 15px;
	}
}
.list-default{
	margin:0 0 30px !important;
	@include box-shadow(0 0 10px 0 rgba(0,0,0,0.1));
	.entry-title{
		margin: 0;
		padding:15px 0 5px;
		border-top:1px solid $border-color;
		font-size: 16px;
	}
	.meta{
		font-family: $font-family-second;
		font-size: 16px;
		font-style: italic;
		> span + span{
			@include rtl-margin-left(18px);
		}
	}
	.date{
		font-family: $font-family-second;
		font-size: 16px;
		font-style: italic;
		padding:10px 0;
	}
	.entry-description{
		margin: 5px 0;
		font-size: 13px;
	}
	.info-content{
		@include rtl-padding-right(20px);
	}
}
// post-grid
.post-grid{
	@include box-shadow(0 0 10px 0 rgba(0,0,0,0.1));
	@include transition(all 0.2s ease 0s);
	&:hover{
		@include box-shadow(0 0 15px 0 rgba(0,0,0,0.2));
	}
	a:hover,a:active,a:focus{
		color: #000;
	}
	.date{
		padding:10px $theme-margin;
		background:#fff;
		a{
			color: $text-color;
			font-size: 16px;
			font-family:$font-family-second;
			font-style: italic;
			&:hover,&:active{
				color: $link-color;
			}
		}
	}
	.meta{
		font-family: $font-family-second;
		color: $link-color;
		text-transform: capitalize;
		font-size: 16px;
		font-style:italic;
		i{
			color: $text-color;
			font-size: 14px;
		}
		> *{
			+ *{
				@include rtl-margin-left(20px);
			}
		}
	}
	.entry-content {
		padding:14px 30px 0;
	}
	.entry-title{
		font-size: 16px;
		font-weight: 800;
		margin: 0;
		a:hover,a:active,a:focus{
			color: #000;
		}
	}
	.info-bottom{
		margin: 15px 0 0;
	}
	&.grid-noimage{
		@include box-shadow(none);
		.info-bottom {
			font-size: 18px;
			font-family: $font-family-second;
			color: #555;
			font-style: italic;
		}
		.entry-content {
			padding:0;
		}
		.entry-description{
			margin:0;
		}
		.date{
			padding:0;
			margin: 0 0 5px;
			> a{
				position: relative;
				font-size: 11px;
				text-transform: uppercase;
				color:$text-color;
				letter-spacing: 3px;
				&:before{
					@include size(70px,2px);
					background:$text-color;
					content: '';
					display: inline-block;
					vertical-align: super;
					@include rtl-margin-right(10px);
				}
			}
		}
		.entry-title{
			font-size:24px;
			font-weight: 800;
			margin:0 0 12px; 
		}
	}
}
/* Post type: By Category */
.posts-grid-category{
	overflow: hidden;
}
.category-posts{
	position: relative;
	&::after{
		content: "";
		top: 20px;
		position: absolute;
		@include rtl-right(0);
		@include size(1px,1000px);
		background: $border-color;
	}
	.post{
		border-bottom: 1px solid $border-color;
	}
	.category-posts-label{
		padding: 1px 3px;
		@include border-radius(0);
		background: $theme-color;
		font-weight: $category-posts-label-font-weight;
		@include font-size(font-size,$category-posts-label-font-size);
		text-transform: $category-posts-label-transform;
		a{
			color: $category-posts-label-color;
		}
	}
	.entry-meta{
		&::after{
			display: none;
		}
	}
	.posts-more{
		.post{
			&:last-child{
				border: 0px;
			}
		}
		.entry-title{
			@include font-size(font-size,$category-posts-subtitle-font-size);
			a{
				color: $gray-light;
				&:hover{
					color: $theme-color;
				}
			}
		}
	}
}

/*------------------------------------*\
    Post detail
\*------------------------------------*/
.sharebox{
	margin-bottom: $post-share-margin;
	.sharebox-title{
		margin: $post-share-title-margin;
	}
}

.social-networks{
	li{
		padding-left: 10px;
		padding-right: 10px;
		&:last-child{
			a{
				margin-right: 0;
			}
		}
		a{
			font-size: 14px;
			&:hover{
				color: $theme-color;
			}
		}
	}
}
.tag-links, 
.post-share {
	margin-bottom: 10px;
	span i {
		@include rtl-margin-right(5px);
	}
}
/*------------------------------------*\
    Comment List
\*------------------------------------*/
.comment-list{
	padding:0;
	margin: 0 0 25px;
	list-style: none;
	ul{
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.media-body{
		width: 1000px;
	}
	.children{
		@include rtl-padding-left(100px);
	}
	div.avatar{
		min-width: 90px;
		@include rtl-padding-right(20px);
	}
	.comment-text{
		color: #616161;
	}
	.comment-author{
		margin: 0 0 10px;
		font-family: $font-family-second;
		font-size: 16px;
		font-style: italic;
		strong{
			font-family: $font-family-base;
			color: $link-color;
			font-weight: 700;
			font-style: normal;
		}
	}
	.comment-reply-link{
		font-size: 14px;
		font-weight: 700;
		font-family: $font-family-base;
		font-style: normal;
	}
	img.avatar{
		@include size(70px,70px);
		@include border-radius(50%);
		overflow:hidden;
	}
	.the-comment{
		padding: 35px 0;
		border-bottom: 1px solid $border-color;
	}
}
.commentform {
	.title{
		font-size: 24px;
		margin: 0 0 10px;
	}
	.comment-notes{
		display: none;
	}
}
.post-navigation{
	a{
		color: $text-color;
		&:hover,&:active{
			color: $link-color;
		}
	}
	.navi{
		display: block;
		float: none;
		width: 100%;
		margin: 0; 
		font-family: $font-family-second;
		font-size: 18px;
		font-style: italic;
		i{
			font-size: 12px;
			@include rtl-margin-right(5px);
		}
	}
	.post-title{
		font-size: 16px;
		font-weight: 700;
		margin:10px 0 0;
		display: block;
	}
	.nav-next{
		.navi i{
			@include rtl-margin-right(0);
			@include rtl-margin-left(5px);
		}
	}
}
/*------------------------------------*\
    Single post
\*------------------------------------*/
#comments{
	padding:20px 0 0;
	#reply-title{
		margin: 0;
	}
	.comments-title{
		font-size: 24px;
		margin: 0;
	}
}
//post-navigation
.post-navigation{
	padding: 30px 0;
	position: relative;
	&:before{
		content: '';
		@include size(5000px,1px);
		background:$border-color;
		position: absolute;
		top: 0;
		left: -1000px;
	}
	.screen-reader-text{
		display: none;
	}
	.nav-links{
		overflow: hidden;
		> *{
			width: 40%;
			@include rtl-float-left();
			&.nav-next{
				@include rtl-float-right();
				@include rtl-text-align-right();
			}
		}
		.meta-nav{
			display: none;
		}
	}
}
.author-info{
	padding:$theme-margin;
	background:#fafafa;
	border:2px solid $border-color;
	@include border-radius(20px);
	.author-title{
		font-size: 20px;
		margin:0 0 10px;
	}
	.avatar-img {
		@include rtl-padding-right(20px);
		.avatar {
			@include border-radius(50%);
			overflow: hidden;
			max-width: none;
		}
	}
	.description{
		color: #616161;
	}
}
//related-posts
.related-posts{
	padding: 0;
	margin: 60px 0 0;
	overflow: hidden;
	.widget-title{
		font-size: 24px;
		margin: 0 0 10px;
		font-weight: 700;
	}
	.post{
		margin-bottom: 0;
	}
	.owl-carousel .owl-stage-outer{
		padding:5px;		
	}
}
.widget-blogs{
	.layout-blog article:last-child{
		margin: 0;
	}
	.layout-blog article.post-grid{
		margin-bottom: 50px;
	}
	.owl-carousel .owl-stage-outer{
		padding:15px 0 0;
	}
}
.blog-post-icon{
	display: table;
	color: $white;
	text-align: center;
	position: absolute;
	top: 0;
	z-index: 1;
	background: $theme-color;
	@include opacity(0.9);
	@include rtl-left(0);
	@include square(50px);
	.fa{
		display: table-cell;
		vertical-align: middle;
		font-size: 22px;
	}
}

/*------------------------------------*\
    Blog Masonry Page
\*------------------------------------*/
.blog-masonry{
	.entry-thumb{
		margin-bottom: 0;
	}
}
// post gallery
.gallery{
	margin-left: -($theme-margin / 2);
	margin-right: -($theme-margin / 2);
	overflow: hidden;
	.gallery-item{
		@include rtl-float-left();
		margin-bottom:($theme-margin / 2);
		padding-right: ($theme-margin / 2);
		padding-left: ($theme-margin / 2);
		position: relative;
		figcaption{
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100%;
			color: #fff;
			max-height: 50%;
			font-size: 12px;
			background: rgba(0,0,0,0.5);
			margin-left: ($theme-margin / 2);
			margin-right: ($theme-margin / 2);
			@include opacity(0);
			padding:8px ($theme-margin / 2);
		}
		&:hover{
			figcaption{
				@include opacity(1);
			}
		}
	}
	&.gallery-columns-9{
		.gallery-item{
			width: 11%;
		}
	}
	&.gallery-columns-8{
		.gallery-item{
			width: 12.5%;
		}
	}
	&.gallery-columns-7{
		.gallery-item{
			width: 14%;
		}
	}
	&.gallery-columns-6{
		.gallery-item{
			width: 16.5%;
		}
	}
	&.gallery-columns-5{
		.gallery-item{
			width: 20%;
		}
	}
	&.gallery-columns-4{
		.gallery-item{
			width: 25%;
		}
	}
	&.gallery-columns-3{
		.gallery-item{
			width: 33%;
		}
	}
	&.gallery-columns-1{
		.gallery-item{
			width: 100%;
		}
	}
	&.gallery-columns-2{
		.gallery-item{
			width: 50%;
		}
	}
}
// navigation
.comment-navigation{
  overflow: hidden;
  padding: 20px 0;
  .nav-links{
    > div{
      display: inline-block;
      + div{
        line-height: 1.1;
        @include rtl-margin-left($theme-margin / 2);
        @include rtl-padding-left($theme-margin / 2);
        @include rtl-border-left(2px solid $border-color);
      }
    }
  }
}
.detail-post{
	> *{
		max-width: 860px;
		margin-left: auto;
		margin-right: auto;
	}
	.entry-content-detail{
		max-width: 860px;
		margin: auto;
		.top-info{
			text-align: center;
			padding:$theme-margin 0;
		}
		.entry-title{
			font-size: 36px;
			font-weight: 700;
			margin: 0 0 15px;
		}
		.meta{
			.author,
			.date{
				text-transform: uppercase;
			}
			font-size: 12px;
			> span{
				+ span{
					@include rtl-margin-left(30px);
				}
			}
			i{
				font-size: 16px;
				@include rtl-margin-right(8px);
			}
		}
		.entry-description{
			font-family: $font-family-second;
			font-size: 22px;
			font-weight: 400;
			color: $link-color;
		}
		.entry-tags-list{
			> strong{
				display: none;
			}
			> a{
				display: inline-block;
				vertical-align: top;
				font-size: 12px;
				background:#f7f7f7;
				padding:7px 15px;
				color: $link-color;
				+ a{
					@include rtl-margin-left(10px);
				}
				&:hover,&:active{
					color: #fff;
					background:#212121;
				}
			}
		}
	}
	.apus-social-share{
		display: inline-block;
		margin-top: 3px;
		@include rtl-margin-left(20px);
		vertical-align: top;
		a{
			font-size:16px;
			@include rtl-margin-right(10px);
		}
	}
}