/* BLOCK VIEW (block.html.twig) */
#mx_news_block {
display: flex;
flex-wrap: wrap;
width: calc(100% + 30px);
margin-left: -15px;
}

.mx_news_block_item {
	position:relative;
	display: block;
	width: 33.3%;
	margin-bottom: 15px;
    padding: 15px;
	padding-top: 0;
	margin-top:60px;
	border-bottom: solid 2px var(--bg-color);
}

.mx_news_block_date {
	position:absolute;
	top:-20px;
	left:50%;
	margin-left:-35px;
	width:70px;
	height:60px;
	background-color:var(--second-color);
	color:#FFFFFF;
	font-weight:300;
	text-transform:uppercase;

}

.mx_news_block_date span {
display: block;
font-family: var(--headers-font-family) !important;
line-height: 36px;
  height: 32px;
overflow:hidden;
font-size:32px;
letter-spacing:-2px;
}

.mx_news_block_item h3 {
	margin: 0;
	padding: 0;
}

.mx_news_block_item em {
	display:block;
	margin-bottom:15px;
	font-size:14px;
}

.mx_news_block_image img {
	width:100%;
	height:auto;
}

.mx_news_block_image {
	margin-bottom:35px;
}

.mx_news_block_content {
	
}

.mx_news_block_footer {
	position:absolute;
	width:100%;
	bottom:-25px;
	left:0;
}

@media screen and (max-width: 700px) {
	
	.mx_news_block_item {
	width: 100%;
	margin-right:0;
	}
}

/* CATEGORY VIEW (category.html.twig) */

#mx_news_category {
	margin-top:90px;
}

.mx_news_category_item {
	display: flex;
    flex-wrap: wrap;
	width: 100%;
	padding-bottom: 25px;
	margin-bottom: 80px;
	border-bottom: solid 2px var(--bg-color);
}

.mx_news_category_content {
	width:55%;
	background-color:#EEEEEE;
	padding: 35px 60px;
	position:relative;
}

.mx_news_category_content p, .mx_news_category_content h3 {
	margin: 0;
	padding: 0;
}

.mx_news_category_content em {
	display:block;
	margin-bottom:15px;
	font-size:14px;
}

.mx_news_category_footer {
position:absolute;
bottom:0;
left:0;
width:100%;
}

.mx_news_category_footer a {
  position: absolute;
  white-space:nowrap;
 left: 50%;
  transform: translateX(-50%);
}

.mx_news_category_image {
	width:28%;
	background-size:cover;
	background-position: center center;
}

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

.mx_news_category_date {
	width:17%;
	background-color:var(--second-color);
	color:#FFFFFF;
	font-size:30px;
	font-weight:300;
	text-transform:uppercase;
	padding:16px;
	position: relative;
}

.mx_news_category_date_inner {
	width:100%;
	height:100%;
  border:solid 2px #FFFFFF;
}

.mx_news_category_date .align {
	width:100%;
	text-align:center;
  position: absolute;
  left:0;
  top: 50%;
  transform: translateY(-50%);
}

.mx_news_category_date span {
font-family: var(--headers-font-family) !important;
text-transform:none;
font-size:46px;
letter-spacing:-1px;
}

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

.mx_news_category_image {
	width:65%;
	height:35vw;
}

.mx_news_category_date {
	width:35%;
	height:35vw;
}

}

@media screen and (max-width: 550px) {
	
.mx_news_category_date {
	font-size:24px;
}

.mx_news_category_date span {
font-size:30px;
}

}

/* 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;
	max-width:40%;
}

.mx_news_item_main_image img {
	display: table;
}

.mx_news_item_image {
	display: table;
	float: left;
	width:23.5%;
	margin: 0 2% 25px 0;
}

.mx_news_item_image:nth-of-type(4n) {
	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: 700px) {
	
	.mx_news_item_main_image {
	width:100%;
	max-width:100%;
	margin-bottom:25px;
}
}