/* BLOCK VIEW business (block.html.twig) */

#mx_news_block .owl-stage {
	display: flex;
}

#mx_news_block .owl-item {
	display: flex;
	height: auto;
}

#mx_news_block .owl-nav {
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	width: calc(100% + 20px);
	left: -10px;
	margin-top: -40px;
}

.owl-prev,
.owl-next {
	border-radius: 20px;
	width: 40px !important;
	height: 40px !important;
	background-color: #FFFFFF !important;
	color: #8b8e91 !important;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
	-moz-box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
	box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
}

/* COMPLETE CARD */
.business .mx_news_block_item {
	background-color: #fff;
	width: calc(100% - 12px);
	height: auto;
	margin: 6px;
	border-radius: 20px;
	-webkit-box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
	-moz-box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
	box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
	overflow: hidden;
	position: relative;

	/* FLEX FIX */
	display: flex;
	flex-direction: column;
}

/* IMAGE */
.business .mx_news_block_image {
	position: relative;
	display: block;
	overflow: hidden;
}

.business .mx_news_block_image img {
	width: 100%;
	height: auto;
	display: block;
}

/* OVERLAY */
.business .mx_news_block_item .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #2C78B2;
	z-index: 1;
	opacity: 0.8;
}

/* CONTENT */
.business .mx_news_block_content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-height: 220px;
}

.business .mx_news_block_content h3 {
	margin-bottom: 5px;
}

/* INTRO TEXT */
.business .mx_news_block_content p:first-of-type {
	margin-bottom: 20px;
}

/* LEES MEER KNOP */
.business .mx_news_block_item p:last-child {
	margin: 20px 0 0 0;
	padding: 0;
	position: relative;
}

/* BUTTON */
.business .mx_news_block_content .button.outline {
	color: #2C78B2;
	border-color: #2C78B2;
}

.business .mx_news_block_content .button.outline:hover {
	background-color: #2C78B2;
}

/* NUMBER 2 */
.business .mx_news_block_item.number2 .overlay {
	background-color: #8E737A;
}

.business .mx_news_block_item.number2 .mx_news_block_content .button.outline {
	color: #8E737A;
	border-color: #8E737A;
}

.business .mx_news_block_item.number2 .mx_news_block_content .button.outline:hover {
	background-color: #8E737A;
}

/* NUMBER 3 */
.business .mx_news_block_item.number3 .overlay {
	background-color: #47B06E;
}

.business .mx_news_block_item.number3 .mx_news_block_content .button.outline {
	color: #47B06E;
	border-color: #47B06E;
}

.business .mx_news_block_item.number3 .mx_news_block_content .button.outline:hover {
	background-color: #47B06E;
}

/* NUMBER 4 */
.business .mx_news_block_item.number4 .overlay {
	background-color: #8ACCCA;
}

.business .mx_news_block_item.number4 .mx_news_block_content .button.outline {
	color: #8ACCCA;
	border-color: #8ACCCA;
}

.business .mx_news_block_item.number4 .mx_news_block_content .button.outline:hover {
	background-color: #8ACCCA;
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {

	#mx_news_block .owl-nav {
		width: calc(100% + 5px);
	}

}

/* FIX OWL CAROUSEL INLINE HEIGHT */
.business .mx_news_block_content {
	height: auto !important;
}


@media screen and (max-width: 768px) {

	.business .mx_news_block_content {
		min-height: auto;
		padding: 20px;
	}

}

/* CATEGORY VIEW (category.html.twig) */

.mx_news_category_item {
	display:flex;
    flex-wrap:wrap;
	width: 100%;
	margin-bottom: 35px;
	background-color:#FFFFFF;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
-khtml-border-radius: 20px;
border-radius: 20px;
-webkit-box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
-moz-box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
box-shadow: 0px 0px 6px 0px rgba(153,153,153,0.4);
overflow:hidden;
}

.mx_news_category_item:last-child {
	margin-bottom: 0;
}

.mx_news_category_item em {
	font-size:12px;
}

.mx_news_category_item p:last-child {
	margin: 0;
	padding: 0;
}

.mx_news_category_image a {
	display: block;
	height:100%;
background-color:#bf3571;
	opacity:0.8;
}

.mx_news_category_item:nth-of-type(2n) .mx_news_category_image a {
	background-color:#8E737A;
}

.mx_news_category_item:nth-of-type(3n) .mx_news_category_image a {
background-color:#1f183a;
}

.mx_news_category_item:nth-of-type(4n) .mx_news_category_image a  {
background-color:#8ACCCA;
}

.mx_news_category_image {
	float: left;
	width:40%;
	background-size:cover;
	background-position:center center;
}

.mx_news_category_content {
	float: left;
	width:60%;
	padding:30px 30px 30px 50px;
}

.mx_news_category_content .button.outline {
	background-color:#FFFFFF;
	color:#bf3571;
	border:solid 2px #bf3571;
	transition: all 0.8s ease;
}

.mx_news_category_content .button.outline:hover {
	background-color:#bf3571;
}

.mx_news_category_item:nth-of-type(2n) .mx_news_category_content .button.outline {
	color:#8E737A;
	border:solid 2px #8E737A;
}

.mx_news_category_item:nth-of-type(2n) .mx_news_category_content .button.outline:hover {
	background-color:#8E737A;
}

.mx_news_category_item:nth-of-type(3n) .mx_news_category_content .button.outline {
	color:#1f183a;
	border:solid 2px #1f183a;
}

.mx_news_category_item:nth-of-type(3n) .mx_news_category_content .button.outline:hover {
	background-color:#1f183a;
}

.mx_news_category_item:nth-of-type(4n) .mx_news_category_content .button.outline {
	color:#8ACCCA;
	border:solid 2px #8ACCCA;
}

.mx_news_category_item:nth-of-type(4n) .mx_news_category_content .button.outline:hover {
	background-color:#8ACCCA;
}

@media screen and (max-width: 860px) {
	
	.mx_news_category_image {
		width:45%;
		
	}
	
	.mx_news_category_content {
		width:55%;
		padding-left:30px;
	}
	
} /* end mediaquery */



@media screen and (max-width: 640px) {
	
	.mx_news_category_image {
		width:100%;
		height:60vw;
	}
	
	.mx_news_category_content {
		width:100%;
		padding-left:30px;
	}
	
} /* end mediaquery */

/* ITEM VIEW (item.html.twig) */
#mx_news_item .addthis_toolbox {
	margin: 10px 0 10px -2px;
}

.mx_news_item_main_image {

}

.mx_news_item_main_image img {
	display: block;
		margin: 0 auto 35px auto;
}

.mx_news_item_image {
	display: table;
	float: left;
	margin: 0 10px 10px 0;
	    width: 48%;


}

.mx_news_item_image a {
	display: inline-block;
	width: 100%;
	height: 100%;
	float: left;
}

.mx_news_item_image img {
	float: left;
	clear: both;
}

.mx_news_item_image span {
	float: left;
	clear: both;
	width: 100%;
	line-height: 1em;
	margin: 7px 0 2px;
	display: inline-block;
	text-align: center;
	overflow: hidden;
	height: 1em;
	text-overflow: ellipsis;
	white-space: nowrap;
}