/* BLOCK VIEW (block.html.twig) */
.mx_news_block_item {
	  width: 25%;
    float: left;
    margin: 6% 2% 0 2%;
    position: relative;
    font-size: 13px;
    font-family: 'Arimo', sans-serif;
}


.mx_news_block_item:last-child {
	border-bottom: 0;
}
.mx_news_block_item h3 {
margin-bottom: 20px;
    padding-bottom: 20px;
    line-height: 26px;
    border-bottom: 1px #eceaeb solid;
}
.mx_news_block_item h3 a {color:#fff;}

.mx_news_block_item h3:after {
		margin: 0 auto;
	
}
.mx_news_block_item em {color:#fff;}


.mx_news_block_item p {
	margin: 0;
	padding: 0;
	color:#fff;
	z-index: 47;
position: absolute;
}

.mx_news_block_image img {
	    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    vertical-align: middle;
        max-width: 100%;
}
.mx_news_block_item:hover .mx_news_block_image img {
opacity: 0.6;
}

.mx_news_block_image {
	    width: 46%;
	float: left;
	display: table;
	margin-right: 10px;
	background-color:#f00a77;
}

.mx_news_block_content {
 float: left;
    width: 56%;
    margin: 0;
    box-shadow: 0 1px 10px 0px #ECEBEB;
    padding: 4.3% 7.2%;
    min-height: 173px;
}


/* CATEGORY VIEW (category.html.twig) */
.mx_news_category_item {
    width: 45.8%;
    float: left;
    margin: 6% 2% 0 2%;
    position: relative;
    font-size: 13px;
    font-family: 'Arimo', sans-serif;
}

.mx_news_category_item:last-child {

}
.mx_news_category_item:hover .date-news{ background:#f00a77; color:#fff;}

.mx_news_category_item h3:after {
	border-bottom:none;
}
.mx_news_category_item h3 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    line-height: 26px;
    border-bottom: 1px #eceaeb solid;
}

.mx_news_category_item p {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}


.mx_news_category_content p a:hover{
background-color : #fff;
color : #f00a77;
border-color : #f00a77;
font-size:18px;
padding-left:5px;

}
.mx_news_category_content p a{
    padding: 0 15px;
    height: 30px;
    font-size: 16px;
    line-height: 27px;
    text-transform: uppercase;
    text-transform: uppercase;
    /* border: #f00a77 solid 3px; */
    background-color: transparent;
    color: #f00a77;
    display: block;
    text-align: right;
    margin: 0 auto 0;
    float: left;
    width: 100%;
    max-width: 250px;
    position: absolute;
    bottom: 0;
    right: 2%;

	
}



.mx_news_category_image img {
	    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    vertical-align: middle;
        max-width: 100%;
}
.mx_news_category_item:hover .mx_news_category_image img {
opacity: 0.6;
}

.mx_news_category_image {
	   width: 46%;
	float: left;
	display: table;
	margin-right: 10px;
	background-color:#f00a77;
}

.mx_news_category_content {
    float: left;
    width: 51%;
    margin: 0;
    box-shadow: 0 1px 10px 0px #ECEBEB;
    padding: 4.3% 7.2%;
    min-height: 173px;
   position: relative;
}


.date-news {
    padding: 13px;
    border: solid 3px #f1177e;
    color: #343434;
    text-align: center;
    display: inline-block;
    margin-top: -165px;
    position: absolute;
    right: 10px;
}

.date-news span.newsdate {
    font: bold 24px/100% 'Roboto';
    border-bottom: 2px #f00a77 solid;
    display: block;
}


/* ITEM VIEW (item.html.twig) */
#mx_news_item .addthis_toolbox {
	margin: 10px 0 10px -2px;
}

#mx_news_item ul { margin:0 15px;float: left; }
#mx_news_item ul li { }

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




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

.mx_news_block_item{
float : left;
width : 50%;
}

.mx_news_category_item h3, .mx_news_category_item p {
    margin-top: 15px;
}

.mx_news_category_image img {
     max-width: 100%;
}
.mx_news_category_image {
     margin-right: 0px;
}
.mx_news_category_content p a {left:0;}
.mx_news_category_content {
    float: left;
    width: 100%;}
    
    .date-news {
    margin-top: -217px;
}

}
@media only screen and (max-width: 600px) {
	.mx_news_category_item {
    width: 70%;
    float: left;
    margin: 5% auto;
    float: none;
    padding: 2%;
    display: table;
}
.mx_news_category_content {
    float: left;
    width: 99%;
}
.mx_news_category_image {
    width: 100%;
}

.mx_news_category_content p a {left: 0;
right: 0;}
   .date-news {
    margin-top: -130px;
}
    .date-news {
    margin-top: -197px;
    background-color: #fff;
}
}
@media only screen and (max-width: 414px) {
.mx_news_category_item {
 
      width: 70%;
    float: left;
    margin: 5% auto;
    float: none;
    padding: 2%;
    display: table;
}

.mx_news_category_content {
    float: left;
    width: 99%;
}
.mx_news_category_image {
    width: 100%;
}
.mx_news_category_content p a {left: 0;
right: 0;}

   .date-news {
    margin-top: -130px;
}

}