/* BLOCK VIEW (block.html.twig) */
.mx_news_block_item {
	float:left;
	width: 32%;
	padding: 0;
	background-color:#EEEEEE;
	margin-right:2%;
}


.mx_news_block_item:last-child {
margin-right:0;
}

.mx_news_block_item h2,
.mx_news_block_item h3,
.mx_news_block_item p {
	margin: 0;
	padding: 0;
}

.mx_news_block_item a {
	white-space:nowrap;
}

.mx_news_block_item em {
	display:block;
	font-style:normal;
	font-weight:400;
	font-size:14px;
	margin-bottom:15px;
	color:#2B3B48;
}

.mx_news_block_image img {
	display: table;
		width:100%;
	border:solid 5px #EEEEEE;
}

.mx_news_block_image {
	width:100%;
	margin-right:0;
}

.mx_news_block_content {
	width:100%;
	padding:20px;
	border-top:solid 5px #FFFFFF;
}

@media screen and (max-width: 980px) {

.mx_news_block_item {
width:48%;
margin-right:2%;
}

.mx_news_block_item:nth-of-type(2){
margin-right:0;
}

.mx_news_block_item:nth-of-type(3){
display:none;
}

} /* end mediaquery */

@media screen and (max-width: 600px) {

.mx_news_block_item {
width:100%;
margin-right:0;
}

.mx_news_block_item:first-child {
margin-bottom:30px !important;
}

.mx_news_block_image {
height:auto;
margin-bottom: 0;
}
	
}

/* CATEGORY VIEW (category.html.twig) */
.mx_news_category_item {
	width: 100%;
	padding:15px 30px;
	margin-bottom: 15px;
}

.mx_news_category_item.has-image {
	display: flex;
    flex-wrap: wrap;
}

.mx_news_category_item:nth-of-type(odd) {
	background-color:#EEEEEE;
}

.mx_news_category_item:nth-of-type(odd) .mx_news_category_image {
	border:solid 5px #FFFFFF;
}

.mx_news_category_item h2,
.mx_news_category_item p {
	margin: 0;
	padding: 0;
}

.mx_news_category_item em {
	display:block;
	font-style:normal;
	font-weight:400;
	font-size:16px;
	margin-bottom:15px;
	color:#081825;
}

.mx_news_category_image a {
	display:block;
	width:100%;
	height:100%;
}

.mx_news_category_image {
  display: block; 
	padding-right: 20px;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center center;
	border:solid 5px #EEEEEE;
	width:20%;
}

.mx_news_category_content {
  display: block;
  width:80%;
  padding-left:30px;
}

@media screen and (max-width: 1023px) {
	
	.mx_news_category_image {
		width:30%;
	}
	
	.mx_news_category_content {
		width:70%;
	}
	
}

@media screen and (max-width: 890px) {
	
	.mx_news_category_image {
		width:40%;
	}
	
	.mx_news_category_content {
		width:60%;
	}
	
}

@media screen and (max-width: 750px) {
	
	.mx_news_category_item:nth-of-type(odd) {
		padding-left:20px;
		padding-right:20px;
	}
	
	.mx_news_category_item {
		padding-left:0;
		padding-right:0;
	}
	
	.mx_news_category_image {
		width:100%;
		height:50vw;
	}
	
	.mx_news_category_content {
		width:100%;
		padding-left:0;
	}
	
}

/* ITEM VIEW (item.html.twig) */

#mx_news_item {
	margin-bottom:30px;
}

#mx_news_item .addthis_toolbox {
	margin: 10px 0 10px -2px;
}

.mx_news_item_main_image {
	float: left;
	width:40%;
	margin-right: 30px;
}

.mx_news_item_main_image img {
	display: table;
}

.mx_news_item_image {
    width:32%;
	float: left;
	margin: 10px 2% 0 0;
}

.mx_news_item_image:nth-of-type(3n) {
	margin-right:0;
}

.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;
}

@media screen and (max-width: 750px) {
	
.mx_news_item_image {
    width:49%;
}

.mx_news_item_image:nth-of-type(3n) {
	margin-right:2%;
}

.mx_news_item_image:nth-of-type(2n) {
	margin-right:0;
}

}