/* Posts */

/* Background white and padding if just a post but non-DIVI post page */
.single-post.divi-page-builder #main-content .et_builder_inner_content > .et_pb_section > .et_pb_row:first-child > .et_pb_column:first-child
{
	padding: 0px;
    background: transparent;
}
.single-post:not(.divi-page-builder) #main-content .et_builder_inner_content > .et_pb_section > .et_pb_row:first-child > .et_pb_column,
.single-post.divi-page-builder #main-content .et_builder_inner_content > .et_pb_section > .et_pb_row:first-child > .et_pb_column .et_pb_post_title
{
	padding: 40px;
    background: #ffffff;
}


/* Sidebar News */
.news-list-container h2
{
	font-size: 25px;
	width: 100%;	
}

.news-list
{
	border-bottom: 1px solid #707070;
	padding-bottom: 20px;
    margin-bottom: 40px;
}
	.et_pb_column_4_4 .news-list
	{
		border-bottom: 0;
	}

.news-list-block
{
	margin-bottom: 20px;
}

	.news-list-image
	{
		overflow: hidden;
		padding-top: 56.25%;
		background-repeat: no-repeat;
		background-size: cover;
		line-height: 0;
		margin-bottom: 20px;
		position: relative; 
	}

		.news-list-image a
		{
			position: absolute;
			margin: auto;
			height: 100%;
			width: 100%;
			top: 0;
		}
		
	.news-list-title
	{
	  	font-size: 17px;
		line-height: 26px;
	  	padding-bottom: 10px;
	}
		.news-list-title a
		{
		  	color: #0d0d0d;
		}
		
	.news-list-date
	{
		color: #464749;
	  	font-size: 13px;
	  	line-height: 20px;
	  	margin-bottom: 6px;
	}


/* IN FOOTER */

.et_pb_column_4_4 .news-list
{
	display: flex;
	flex-wrap: wrap;
	width: 102%;
	margin-left: -1%;
}

.et_pb_column_4_4 .news-list-block
{
	width: 23%;
	margin-left: 1%;
	margin-right: 1%;
	float: left;
	border: 1px solid #cccccc;
}

	.et_pb_column_4_4 .news-list-content
	{
		padding: 20px;
	}

		
@media (max-width: 981px)
{
	.et_pb_column_4_4 .news-list-block
	{
		width: 48%;
	}
}
		
@media (max-width: 767px)
{
	.et_pb_column_4_4 .news-list
	{
		display: block;
	}
	.et_pb_column_4_4 .news-list-block,
	.et_pb_column_4_4 .news-list-block:last-child
	{
		width: 100%;
	}
}
	
			
/* Home Page News Block */

.home-news-row
{
	width: 100%; 
}
	.home-news-block
	{
	    background: rgba(125, 178, 45, 0.95);
		background-size: cover;
		background-repeat: no-repeat;
		position: relative;
		width: 25%;
		float: left;
	    height: 300px;
	    border: 2px solid #ffffff;
		overflow: hidden;
	}

	.home-news-block:nth-child(5n+1)
	{
		width: 50%;
	    height: 600px;
	}
		.home-news-block:nth-child(5n+1) .home-news-block-title
		{
		    min-height: auto;
			max-width: 400px;
			padding: 0;
			width: 90%;
		}
		
		@media (max-width: 980px)
		{
			.home-news-block
			{
				width: 50%;
			}
			.home-news-block:nth-child(5n+1)
			{
				width: 100%;
			}
		}
		@media (max-width: 768px)
		{
			.home-news-block
			{
				width: 100%;
				height: 400px;
			}
			.home-news-block .home-news-block-title
			{
			    width: 100%;
			    min-height: auto;
			}
	
		}

.home-news-block a
{
    display: block;
    position: relative;
    height: 100%;
	padding: 20px 20px 40px 15px;
	background: rgb(28, 29, 32, .5);
	color: #ffffff;
}

.home-news-block-categories
{
	text-transform: uppercase;
	font-weight: bold;
}
	.home-news-block:nth-child(1) .home-news-block-categories
	{
		font-size: 26px;
	}
	
.home-news-block-title
{
    position: absolute;
    bottom: 20px;
    padding-right: 60px;
    width: 100%;
}

	.home-news-block-title h2
	{
		color: #ffffff;
		font-weight: bold;
		font-size: 18px;
		line-height: 22px;
	}
	
	.home-news-block-title .link
	{
		display: block !important;
		text-align: right;
	}
		
	.home-news-block-title .news_or_insight
	{
		font-size: 12px;
		padding: 0 5px;
		background: #F26B34;
		color: #ffffff;
		float: left;
		text-transform: uppercase;
		line-height: 20px;
		margin-bottom: 10px;
	}
	

/* This applies to the Full Width blog layout, 
	because the Grid puts them in column order which messes up date
	ordering on mobile */

.four-col-blog > div,
.four-col-blog .et_pb_ajax_pagination_container
{
	display: flex;
	flex-wrap: wrap;
}

	.four-col-blog article
	{
		color: #0d0d0d!important;
		border: 1px solid #d8d8d8;
		background-color: #fff;
		word-wrap: break-word;
		float: left;
		width: 23%;
		margin-right: 2%;
	}

		.four-col-blog > div > div /* Pagination Div */
		{
			width: 100%;
		}
	
		.four-col-blog article .entry-title
		{
			padding: 0 19px 6px 19px;
		} 
		.four-col-blog article .post-meta
		{
			padding: 0 19px 0 19px;
		}
		.four-col-blog article .post-content
		{
			padding: 0 19px 19px 19px;
		}
			.four-col-blog article a.more-link
			{
			    display: inline-block;
			}


		.four-col-blog article a.entry-featured-image-url
		{
		    height: 200px;
		    overflow: hidden;
		}
			.four-col-blog article a.entry-featured-image-url img
			{
			    position: absolute;
			    /*top: 50%;
			    left: 50%;
			    transform: translate(-50%, -50%);
			    width: 200%;
			    max-width: none;*/
			    
				/* top: 50%; */
				/* left: 50%; */
				/* transform: translate(-50%, -50%); */
				width: 130%;
				max-width: none;
    
			}

@media (max-width: 1500px)
{
	.four-col-blog article
	{
		width: 31%;
	}
}
@media (max-width: 981px)
{
	.four-col-blog article
	{
		width: 48%;
	}
}

@media (max-width: 767px)
{
	.four-col-blog article
	{
		width: 100%;
		margin-right: 0;
	}
	.four-col-blog article a.entry-featured-image-url img
	{
	    position: static;
	    transform: none;
	    width: 100%;
	    max-width: none;
	}
}


    
    
/* Change Blog Column to 4 Columns */
/* DOESNT WORK WHEN NUMBER PER ROW DONT MATCH */
/*
.four-col-blog .et_pb_salvattore_content,
.four-col-blog .et_pb_salvattore_content .column
{
	display: flex;
    flex-wrap: wrap;
}
.four-col-blog .et_pb_salvattore_content[data-columns]::before
{
	content: '4 .column.size-1of4' !important;
}
@media only screen and ( min-width: 981px )
{
	.four-col-blog .column.size-1of4
	{
	    width: 24%!important;
	    margin-right: 1%;
	}
}
*/