/* #Latest posts
   ========================================================================== */
.edgtf-blog-list-holder{
	display: inline-block;
	width: 100%;
    
    &>ul{
        list-style: none;
        display: inline-block;
        width: 100%;
        height: 100%;
        position: relative;
        margin: 0;
        padding:0;	
        vertical-align: top;
        
        &>li{
            display: block;
            position: relative; 
        }
    }
    .edgtf-item-text-holder {
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 0;
    }

    .edgtf-excerpt{
        margin: 0 0 20px;
    }

    .edgtf-item-info-section {
		margin-bottom: 22px;
		font-size: 12px;
		line-height: 14px;

		> div,
		.edgtf-info-btm-left > div,
		.edgtf-info-btm-right > div{
			display: inline-block;
			position: relative;
			color: #999;
			font-size: 15px;
			font-weight: 500;
			margin-right: 4px;

			&.edgtf-post-info-comments-holder{
				margin-right: 9px;
			}
		}

	    div.edgtf-post-info-author > a,
	    div.edgtf-post-info-category > a,
		.edgtf-info-btm-left > div a{

		    color: $first-main-color;

		}

		> div:last-child {
			border-right: none;
			margin-right: 0;
			padding-right: 0;
		}

		.edgtf-post-info-comments,
		.edgtf-like{
			> i:first-child,
			> span:first-child{
				margin-right: 7px;
			}
		}
    }

	.edgtf-info-bottom.edgtf-item-info-section{
		display: table;
		width: 100%;
		border-top: 2px solid #ededed;
		padding-top: 20px;
		margin-bottom: 0;

		.edgtf-info-btm-left,
		.edgtf-info-btm-right{
			display: table-cell;
			vertical-align: middle;
		}

		.edgtf-info-btm-right{
			text-align: right;
		}
	}

    .edgtf-item-image img{
        width:100%;
		vertical-align: middle;
    }
}

/*------------------ boxes -----------------------------*/

.edgtf-blog-list-holder.edgtf-boxes{
	> ul{
        clear: both;
        
        >li{
            padding: 0;
            float: left;
            border: 0;
            box-sizing: border-box;
            margin: 0 2% 2% 0;
        }
    }

	.edgtf-item-image + .edgtf-item-text-holder {
		padding: 20px 0 0;
	}
	.edgtf-item-title {
		margin-bottom: 7px;
	}

	&.edgtf-one-column > ul > li{
		float: none;
		margin: 0; 
	}

	&.edgtf-two-columns{
		> ul > li{
			width: 49%;

			&:nth-child(2n){
				margin: 0;
			}

			&:nth-child(2n + 1){
				clear: both;
			}
		}
	}

	&.edgtf-three-columns{
		> ul > li{
			width: 32%;

			&:nth-child(3n){
				margin: 0;
			}

			&:nth-child(3n + 1){
				clear: both;
			}
		}
	}

	&.edgtf-four-columns{
		> ul > li{
			width: 23.5%;

			&:nth-child(4n){
				margin: 0;
			}

			&:nth-child(4n + 1){
				clear: both;
			}
		}
	}

}


/*------------------image in left box -----------------------------*/
.edgtf-blog-list-holder.edgtf-image-in-box{
	ul li{
		margin: 0 0 25px;

		&:last-child{
			margin: 0;
		}
	}

    .edgtf-blog-list-item-inner{
        @include edgtfTableLayout;
    }

    .edgtf-item-image{
        @include edgtfTableCellLayout;
        width: 210px;
		padding-right: 15px;
    }

	.edgtf-item-title {
		margin-bottom: 5px;
	}

    .edgtf-item-text-holder{
        @include edgtfTableCellLayout;
        text-align: left;
        vertical-align: top;
		padding: 0;
    }

	.edgtf-info-bottom.edgtf-item-info-section{
		padding-top: 15px;
	}
}
/*------------------Minimal type styles -----------------------------*/
.edgtf-blog-list-holder.edgtf-minimal{
	ul li{
		margin: 0 0 15px;

		&:last-child{
			margin: 0;
		}
	}
    .edgtf-item-text-holder{
        padding: 0;
    }
    .edgtf-excerpt{
        margin: 0;
    }
}
