/**
 * @author JoomDev https://www.joomdev.com/
 * @copyright Copyright (C) 2008 - 2018 Joomdev.com. All rights reserved.
 * @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later
*/

ul.post-meta{
	margin:0;
	padding:0;
	list-style:none;
	display:inline-block;
	li{
		color:#aaa;
		float:left;
		padding:5px 15px 5px 0;
		.catItemTagsBlock{
			li{
				float:none;
				a{
					&:before{
						content:"";
					}
					&:after{
						content:", ";
					}
				}
				&:last-child{
					&:after{
						content:"";
					}
				}
			}
		}
		a,span{
			color:#444;
			&:hover , &:focus{
				color:@major_color;
				.fa{
					color:@major_color;
				}
			}
		}
		.fa{
			color:#444;
			padding-right:3px;
		}
		.catItemRatingBlock,.catItemHitsBlock,
		.catItemCategory,.catItemTagsBlock{
			padding:0;
		}
	}
}

#k2Container{
	.itemList{
		.itemContainer{
			margin:0 0 20px;
			background:#fff;
			position:relative;
			.catItemView{
				padding:0;
				margin:0;
			}
			.cat_details{
				padding:0 20px 20px;
			}
			.catItemBody{
				padding:0 0 8px;
			}
			.catItemImageBlock{
				margin:0;
				padding:0;
				.catItemImage{
					margin:0;
				}
			}
			h3.catItemTitle{
				font-size:24px;
				line-height:normal;
				padding:10px 10px 10px 0;
				a{
					color:@text_color;
					&:hover , &:focus{
						color:@major_color;
					}
				}
			}
			.catItemHeader{
				position:relative;
			}
			.catItemDateCreated{
				top:0;
				right:0;
				color:#fff;
				padding:10px;
				font-size:22px;
				min-width:65px;
				position:absolute;
				text-align:center;
				margin-bottom:8px;
				line-height:normal;
				display:inline-block;
				background-color:@major_color;
				span{
					display:block;
					&.date{
						font-size:30px;
						font-weight:bold;
						margin-bottom:5px;
						padding-bottom:7px;
						border-bottom:1px solid #ddd;
					}
				}
			}
			.catItemReadMore{
				a{
					background:#fff;
					padding:10px 24px;
					color:@major_color;
					display:inline-block;
					border:1px solid @major_color;
					&:hover , &:focus{
						color:#fff;
						background:@major_color;
					}
				}
			}
		}
	}
	.itemImageBlock{
		margin:0;
		padding:0;
		.itemImage{
			margin:0;
		}
	}
	.itemHeader{
		.itemTitle{
			font-size:24px;
			padding:10px 10px 10px 0;
		}
	}
	.itemDateCreated{
		top:0px;
		right:15px;
		color:#fff;
		padding:10px;
		font-size:22px;
		min-width:65px;
		position:absolute;
		text-align:center;
		margin-bottom:8px;
		line-height:normal;
		display:inline-block;
		background-color:@major_color;
		span{
			display:block;
			&.date{
				font-size:30px;
				font-weight:bold;
				margin-bottom:5px;
				padding-bottom:7px;
				border-bottom:1px solid #ddd;
			}
		}
	}
	.item_content{
		background:#fff;
	}
	.item_content_details{
		padding:20px;
		margin-bottom:20px;
	}
	div.itemToolbar{
		background:#fff;
		border:1px solid #ddd;
				border-radius:0;
		-webkit-border-radius:0;
	}
	.itemAuthorBlock,.itemAuthorLatest,.itemNavigation{
		border:none;
		padding:20px;
		margin:0 0 20px;
		background:#fff;
		border-radius:0;
		-webkit-border-radius:0;
	}
	.itemAuthorBlock{
		img.itemAuthorAvatar{
			border-radius:0;
			-webkit-border-radius:0;
		}
		.itemAuthorDetails{
			padding:0;
			h3.itemAuthorName{
				margin:0;
				font-size:24px;
				a{
					color:@text_color;
				}
			}
		}
	}
}

/*----- SearchBlock -----*/
div.k2SearchBlock{
	position:relative;
	form{
		input.button{
			color:#fff;
			padding:5px 20px;
			background:#222533;
			border:1px solid #ddd;
		}
		.search_img{
			width:100%;
			height:40px;
			+ .fa-search{
				padding:5px 15px;
				background:none;
				display:block;
				border:none;
				text-indent:-99999px;
				color:#fff;
				font-size: 0;
				line-height:0;
				position:absolute;
				right:0;
				top:0;
				height:40px;
				background:@major_color;
				&:after{
					display:block;
					content:"\f002";
					font-size:22px;
					text-indent:0px;
					font-family:FontAwesome;
				}
			}
		}
	}
}

/*----- CategoriesListBlock -----*/
div.k2CategoriesListBlock{
	ul{
		li{
			margin:0;
			a{
				padding:12px 0px;
				line-height:normal;
				&:before{ display:none; }
				.catTitle{
					
				}
				.catCounter{
					float:right;
				}
			}
			&.activeCategory{
				a{
					color:@major_color;
					font-weight:normal;
				}
			}
		}
	}
}

/*----- TagCloudBlock -----*/
div.k2TagCloudBlock{
	a{
		color:@text_color;
		padding:8px 18px;
		margin:0 7px 7px 0;
		line-height:normal;
		font-size:14px !important;
		border:1px solid @text_color;
		&:hover , &:focus{
			color:#fff;
			padding:8px 18px;
			margin:0 7px 7px 0;
			line-height:normal;
			background:@major_color;
			border:1px solid @major_color;
		}
	}
}

/*----- RelatedItem -----*/
.itemRelated{
	h3{}
	ul{
		margin:0;
		padding:0;
		list-style:outside none none;
		li{
			float:left;
			width:260px;
			a.itemRelTitle{
				color:inherit;
				line-height:normal;
				&:hover,&:hover{
					color:@major_color;
				}
			}
			.itemRelimage{
				&:hover , &:focus{
					+ .itemRelTitle{
						color:@major_color;
					}
				}
			}
		}
		.created_date{
			color:#aaa;
			display:block;
		}
	}
}

/*----- ItemComments -----*/
div.itemComments{
	background:#fff;
	border-radius:0;
	-webkit-border-radius:0;
	ul.itemCommentsList{
		border:none;
		li{
			img{
				min-width:90px;
				overflow:hidden;
				min-height:60px;
				margin-right:15px;
				border:1px solid #ddd;
			}
		}
	}
	p.itemCommentsFormNotes{
		padding:0;
		border:none;
	}
	form input#submitCommentButton{
		color:#fff;
		font-weight:normal;
			border-radius:0;
		-webkit-border-radius:0;
		background:@major_color;
		&:hover,&:focus{
			background:lighten(@major_color, 10%);
		}
	}
}

/*----- RelatedItem -----*/
div.k2ItemsBlock{
	ul{
		li{
			margin:0 0 24px;
			a{
				&:before{
					display:none;
				}
			}
			.moduleItemIntrotext{
				clear:both;
			}
			a.moduleItemImage:hover + a.moduleItemTitle{
				color:@major_color;
			}
			&.lastItem{
				margin:0;
				border:none;
			}
		}
		.moduleItemTitle{
			font-size: 16px;
			margin-top: 5px;
			line-height: 20px;
		}
		.moduleItemDateCreated{
			color:#999;
			font-size:13px;
		}
		.moduleItemTags{
			a{
				border-right:1px solid #ddd;
			}
		}
	}
	.post-meta{
		padding:0;
	}
}

/*----- Pagination -----*/
div.k2Pagination{
	padding:0;
	text-align:left;
	margin:0 auto;
	ul{
		margin:0;
		li{
			a{
				margin:0 -1px 5px;
				font-size:20px;
				padding:12px 22px;
				border:1px solid #eee;
						border-radius:0;
				-webkit-border-radius:0;
				&:hover,&:focus{
					color:#fff;
					background:@major_color;
				}
			}
			&.active{
				a{
					color:#fff;
					background:@major_color;
					border:1px solid #eee;
					&:hover,&:focus{
						color:#fff;
						background:@major_color;
						border:1px solid #eee;
					}
				}
			}
			&:first-child,
			&:last-child{
				>a, >span{
				border-radius:0;
				-webkit-border-radius:0;
				}
			}
		}
	}
}

.itemDateModified{
	display:block;
	padding-top:10px;
}

@media (min-width:767px) and (max-width:991px){
    div.k2CategoriesListBlock ul li a .catCounter{
        display:none;
    }
}