/* BLOCK VIEW (block.html.twig) */
.mx_news_block_item {
	float:left;
	width: 22%;
	padding-bottom: 15px;
	margin-bottom: 15px;
	margin-left:1.5%;
	margin-right:1.5%;
	position:relative;
}

.mx_news_block_item .link {
	position:absolute;
	top:0;
	width:100%;
	visibility: hidden;
}

.mx_news_block_item .link div {
	background-color:#000000;
	color:#FFFFFF;
	width:auto;
	height:60px;
	display:inline-block;
	padding-top: 5px;
	padding-right:25px;
		border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding-left:55px;
	background-image: url(/templates/layout/icon-link.png);
	background-repeat:no-repeat;
	background-size: auto 40px;
	background-position:9px 9px;
	font-size:23px;
	line-height:22px;
}

.mx_news_block_item:hover .link {
	top:30%;
visibility: visible;
transition: top 1s;
 -moz-transition: top 1s; /* Firefox 4 */
 -webkit-transition:top 1s; /* Safari and Chrome */
 -o-transition: top 1s; /* Opera */
 	opacity:1;
    }

.mx_news_block_item .link div::first-line {
    font-size:15px;
    line-height:12px;
    text-indent:10px;
} 


.mx_news_block_item a:hover {
	text-decoration:none;
}

.mx_news_block_item span {
	background-color:#FFFFFF;
	padding:5px 10px;
		border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.mx_news_block_item h3,
.mx_news_block_item p {
	margin: 0;
	padding: 0;
}

.mx_news_block_image img {
	max-width:100%;
	height:auto;
	padding-bottom:10px;
}



.mx_news_block_content {
	display: table;
}

@media screen and (max-width: 750px) {
	
.mx_news_block_item {
	float:left;
	width: 46%;
	margin-left:2%;
	margin-right:2%;
}

}

@media screen and (max-width: 400px) {

	.mx_news_block_item {
	width: 96%;
	}
}

/* CATEGORY VIEW (category.html.twig) */
.mx_news_category_item {
	display: table;
	width: 100%;
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px #DDD solid;
}

.mx_news_category_item:last-child {
	border-bottom: 0;
}

.mx_news_category_item h3,
.mx_news_category_item p {
	margin: 0;
	padding: 0;
}

.mx_news_category_image img {
	display: table;
	width:175px;
}

.mx_news_category_image {
	float: left;
	display: table;
	margin-right: 10px;
}

.mx_news_category_content {
	display: table;
}

/* 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 {
	width:31%;
	float: left;
	margin-right: 2%;
	margin-bottom:10px;
}

.mx_news_item_image:nth-of-type(3n) {
	margin-right:0;
}


.mx_news_item_image img {
	width:100%;
	height:auto;
}

.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: 600px) {
	
	.mx_news_item_image {
	width:48%;
	margin-right: 4%;
}

.mx_news_item_image:nth-of-type(3n) {
	margin-right:4%;
}

.mx_news_item_image:nth-of-type(2n) {
	margin-right:0;
}

}

@media screen and (max-width: 500px) {
	
	.mx_news_category_image img {
	display: table;
	width:100%;
}
	
	.mx_news_item_image, .mx_news_item_image:nth-of-type(3n) {
	width:100%;
	margin-right: 0;
}
}