/* Container voor de blokjes */
#mx_news_block {
	display: flex;
	flex-wrap: wrap;
	margin: -15px; /* zodat spacing mooi uitkomt */
	    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    height: auto;
    padding: 20px 20px;
}
.mx_news_block_content .button {
    position: absolute;
    right: 16px;
    bottom: 0;
}

/* Elk block-item neemt 50% van de rij */
.mx_news_block_item {
	width: 50%;
	padding: 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	overflow: hidden;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	margin-bottom: 30px;
}

/* Afbeelding links */
.mx_news_block_image {
	width: 40%;
	background-size: cover;
	background-position: center center;
	border-top: solid 60px #666;
	position: relative;
}
.mx_news_block_image a {color:#fff; padding-bottom: 0;}

.mx_news_block_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mx_news_block_item h3 {
	    font-size: 24px;
   
    font-weight: 400;
    line-height: 40px;
}

.mx_newsblock_item p {
	margin: 0;
	padding: 0;
	
}

/* Content rechts */
.mx_news_block_content {
	width: 60%;
	padding: 40px;
	background-color: #E6EEF1;
	position: relative;
	-webkit-border-bottom-right-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	border-bottom-right-radius: 20px;
}

.mx_news_category_date i {
    font-size: 24px;
}

.mx_news_block_item:nth-of-type(2n) .mx_news_category_date {
    background-color: #666;
}

.mx_news_block_item:nth-of-type(3n) .mx_news_category_date {
    background-color: #666;
}

.mx_news_block_item:nth-of-type(4n) .mx_news_category_date {
    background-color: #666;
}


/* Responsive: op mobiel onder elkaar */
@media screen and (max-width: 900px) {
	.mx_news_block_item {
		width: 100%;
		flex-direction: column;
	}
	.mx_news_block_image {
		width: 100%;
		height: 60vw;
		border-top: 0;
		border-bottom: solid 60px #666;
	}
	.mx_news_block_content {
		width: 100%;
		padding: 25px;
	}
}



/* CATEGORY VIEW (category.html.twig) */

.mx_news_category_image a {color:#fff;}
.mx_news_category_item {
	display: table;
	width: 100%;
	padding-bottom: 35px;
		overflow:hidden;
		-webkit-border-top-left-radius: 20px;
-moz-border-radius-topleft: 20px;
border-top-left-radius: 20px;
}

.mx_news_category_item:last-child {
	border-bottom: 0;
}
.mx_news_category_item h3 {
	    font-size: 24px;
      font-weight: 400;
    line-height: 40px;
}

.mx_news_category_item p {
	margin: 0;
	padding: 0;
}

.mx_news_category_image {
	float: left;
	width: 27%;
	background-size:cover;
	background-position:center center;
	border-top: solid 60px #666;
	position:relative;
}

.mx_news_category_image a {
	display:block;
	height:100%;
}

.mx_news_category_date {
    position: absolute;
    width: 100%;
    top: -63px;
    left: 0;
    text-align: center;
    color: #FFFFFF;
    background-color: #999;
    font-family: 'Merriweather', serif;
    padding: 11px 10px 7px 10px;
    text-transform: uppercase;
    line-height: 24px;
}
.mx_news_category_date p {padding-bottom:0;}
.mx_news_category_date i {
    font-size: 24px;
}

.mx_news_category_item:nth-of-type(2n) .mx_news_category_date {
    background-color: #999;
}

.mx_news_category_item:nth-of-type(3n) .mx_news_category_date {
    background-color: #999;
}

.mx_news_category_item:nth-of-type(4n) .mx_news_category_date {
    background-color: #999;
}


.mx_news_category_content {
	float: left;
	width: 73%;
	padding-top: 60px;
	padding-left:45px;
	padding-right:45px;
background-color: #E6EEF1;
position: relative;
padding-bottom: 60px;
-webkit-border-bottom-right-radius: 20px;
-moz-border-radius-bottomright: 20px;
border-bottom-right-radius: 20px;

}

.mx_news_category_content.bevel,
.mx_news_category_content.bevel:after,
.mx_news_category_content.bevel:before {
  border-color: #E6EEF1;
}

.mx_news_category_content .button {
	position:absolute;
	right:16px;
	bottom:0;
}

@media screen and (max-width: 1124px) {
	
.mx_news_category_image {
width:35%;
}
	
.mx_news_category_content {
	padding-left:25px;
	padding-right:25px;
width:65%;
}

}

@media screen and (max-width: 1023px) {
	
.mx_news_category_image {
width:40%;
}
	
.mx_news_category_content {
width:60%;
}

}

@media screen and (max-width: 800px) {
	
.mx_news_category_image {
width:100%;
height:60vw;
border-top:0;
border-bottom: solid 60px inherit;
}
	
.mx_news_category_content {
width:100%;
}

.mx_news_category_date {
top:inherit;
bottom:-1px;
}

}

/* ITEM VIEW (item.html.twig) */
#mx_news_item .addthis_toolbox {
	margin: 10px 0 10px -2px;
}

.mx_news_item_main_image {
	float: left;
	margin: 0 10px 10px 0;
}

.mx_news_item_main_image img {
	display: table;
}

.mx_news_item_image {
	border: 1px #DDD solid;
	display: table;
	padding: 5px;
	float: left;
	margin: 0 10px 10px 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.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;
}