/*******
STYLE ONE
*******/
.template_post_grid_wrap {
	margin-bottom:30px;
}
.template_post_grid_wrap img, .post_grid_four img {
	-webkit-transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
    transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
}
.template_post_grid_wrap .template_post_image, .post_grid_four .image_wrap {
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.template_post_grid_wrap .template_post_image:hover img, .post_grid_four .image_wrap:hover img  {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
    overflow: hidden;
}
.template_post_grid_wrap .template_post_grid_content_wrap {
	padding-top:20px;
}
.template_post_grid_wrap .template_post_grid_title, .template_post_grid_wrap .template_post_grid_meta, .template_post_grid_wrap .template_post_grid_desc {
	margin-bottom:15px;
}
.template_post_grid_wrap .template_post_grid_meta {
	opacity: .9;
}
.template_post_grid_wrap .template_post_grid_link a {
    padding-bottom: 5px;
	border-bottom: 1px solid #747474;
}

/*******
STYLE TWO
*******/
.template_post_grid_wrap .template_post_grid_footer_meta {
    padding: 15px 0px;
    border-top: 1px solid rgba(140,140,140,.2);
    box-sizing: border-box;
    margin-bottom: 0;
	opacity: .7;
}
.template_post_grid_wrap .template_post_grid_footer_meta .template_post_grid_footer_meta_author{
    margin-right: 15px;
}



/*******
STYLE THREE
*******/
.template_post_grid_wrap_style_three {
	display: flex;
    position: relative;
	margin-bottom:30px;
}
.template_post_grid_wrap_style_three .template_post_grid_allwrap_style_three {
	padding: 30px 0;
	justify-content: center;
	display: flex;
    flex-direction: column;
	position: relative;
    flex: 1;
    max-width: 100%;
}
.template_post_grid_wrap_style_three img {
    width: 279px;
	min-height: 245px;
    right: auto;
    margin-bottom: 0;
	overflow: hidden;
	position: absolute !important;
    height: 100% !important;
    top: 0 !important;
	object-fit: cover;
    display: block;
    vertical-align: middle;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.template_post_grid_wrap_style_three .template_post_grid_wrap_style_three_wrap {
    min-height: 245px;
    background-size: auto;
    margin: 0 0 0 125px;
	text-align: left;
	display: flex;
	position: relative;
}
.template_post_grid_wrap_style_three .template_post_grid_wrap_style_three_wrap_inner {
	padding: 15px 30px;
	justify-content: center;
	display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 100%;
	background: aliceblue;
}


/*******
STYLE FOUR
*******/
.post_grid_four {
	width:100%;
	margin-bottom:30px;
	padding-left: 15px;
    padding-right: 15px;
}
.post_grid_four .grid_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
	align-items: flex-start;
}
.post_grid_four .image_wrap {
	width: 100px;
	height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.post_grid_four .content_wrap {
    margin-left: 20px;
	vertical-align: middle;
	flex: 1;
    min-width: 1px;
	width: 100%;
    max-width: 100%;
	padding-left: 15px;
}
.post_grid_four .content_wrap .content_wrap_title {
   margin-bottom: 4px!important;
}
.post_grid_four .content_wrap .content_wrap_meta {
    margin-bottom: 0;
    margin-top: 0;
    color: #999;
}

/*******
STYLE FIVE
*******/
.template_post_grid_wrap_style_five .style_five_wrap {
	overflow: hidden;
	position: relative!important;
	margin-bottom:30px;
}
.template_post_grid_wrap_style_five .image_wrap {
    overflow: hidden;
}
.template_post_grid_wrap_style_five .image_wrap a {
    height: 380px;
	background-size: cover;
	background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 1;
	text-decoration: none;
	display: flex;
	cursor: pointer;
}
.template_post_grid_wrap_style_five .custom_overlay {
    background: linear-gradient(to bottom,rgba(255,255,255,0) 20%,rgba(0,0,0,.75) 100%);
    opacity: .75;
    transition: .5s cubic-bezier(.4,.7,.04,.88);
    transition-property: opacity,transform,filter;
    pointer-events: none;
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.template_post_grid_wrap_style_five .grid_desc {
    background: rgba(0,0,0,.5);
    width: 100%;
	bottom: 0;
    left: 0;
	position: absolute!important;
}
.template_post_grid_wrap_style_five .grid_desc .medium {
    margin: 30px;
}
.template_post_grid_wrap_style_five .grid_desc .medium .style_five_meta, .template_post_grid_wrap_style_five .grid_desc .medium .style_five_meta a, .template_post_grid_wrap_style_five .grid_desc .medium .style_five_title a, .template_post_grid_wrap_style_five .grid_desc .medium .style_five_desc {
	color:#FFFFFF;
}
.template_post_grid_wrap_style_five .grid_desc .medium .style_five_desc {
	opacity: 0;
    transition: opacity 0.6s ease-out;
	position: absolute;
	overflow: hidden;
	visibility:hidden;
}
.template_post_grid_wrap_style_five .style_five_wrap:hover > .grid_desc .medium .style_five_desc{
	visibility: visible;
	cursor:pointer;
	position: relative;
	transition: opacity 0.6s ease-out;
	opacity: 1;
}
.template_post_grid_wrap_style_five .image_wrap a {
	-webkit-transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
    transition: all 1.5s cubic-bezier(0, 0, 0.2, 1);
}
.template_post_grid_wrap_style_five .image_wrap {
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.template_post_grid_wrap_style_five .image_wrap:hover a {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
    overflow: hidden;
}

/*******
PAGINATION
*******/
.theme-pagination-center {
    justify-content: center;
}
.theme-pagination {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    padding: 0;
    list-style: none;
}
.theme-pagination >* {
    flex: none;
    padding-left: 0;
    position: relative;
}
.theme-pagination>*>* {
    display: block;
    padding: 5px 10px;
    color: #999;
}
.theme-pagination >.active> * {
    color: #666;
}
.theme-pagination .pagination-dot {
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-pagination .pagination-dot span {
    line-height: 1px;
    height: 13px;
    color: #bbb !important;
}

/*******
ALL STYLE - GLOBAL
*******/
@media (max-width:1024px){
	.row.post-grid-responsive {
		margin-right: 0px;
		margin-left: 0px;
	}
}
