section.m40_messen {
	background: #eeeff1;
}

section.m40_messen .m40_text_container {
	max-width: 50%;
	margin-bottom: 55px;
}

section.m40_messen .m40_content_main {
	margin-bottom: 60px;
	border-bottom: 1px solid #c0c9d3;
}

section.m40_messen .m40_titel {
	margin-bottom: 38px;
}

section.m40_messen .m40_elements {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
}

section.m40_messen .m40_item {
	width: calc(50% - (25px / 2));
	background: #fff;
	padding: 29px 33px 40px 39px;
}

section.m40_messen .m40_item_month h3 {
	color: #004f9f;
	font-size: 3.75rem;
}

section.m40_messen .m40_item_day p {
	color: #004f9f;
	font-size: 1.375rem;
	font-weight: 600;
}

section.m40_messen .m40_item_title p {
	font-size: 1.063rem;
	font-weight: 600;
	color: #004f9f;
}

section.m40_messen .m40_item_location {
	display: flex;
	align-items: center;
	gap: 6px;
}

section.m40_messen .m40_item_location svg {
	width: 15px;
	fill: #6baee6;
}

section.m40_messen .m40_item,
section.m40_messen .m40_item_link {
	display: flex;
}

section.m40_messen .m40_item_left {
	width: 75%;
}

section.m40_messen .m40_item_right {
	width: 25%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

section.m40_messen .m40_item_link_icon {
	display: flex;
	justify-content: flex-end;
}

section.m40_messen .m40_item_link_icon svg {
	fill: #004f9f;
	width: 18px;
	height: 20px;
	margin-right: 5px;
	transition: fill .4s;
}

section.m40_messen .m40_item_logo {
	display: flex;
	max-width: 275px;
	width: 100%;
	max-height: 115px;
	height: 100%;
	justify-content: flex-end;
	align-items: flex-end;
}

section.m40_messen .m40_item_logo img {
	object-fit: contain;
	width: auto;
	max-height: 115px;
}

section.m40_messen .m40_item_link {
	width: 100%;
}

section.m40_messen .m40_item_month {
	margin-bottom: 6px;
}

section.m40_messen .m40_item_day {
	margin-bottom: 45px;
}

section.m40_messen .m40_item_link:hover .m40_item_link_icon svg {
	fill: #ffdf01;
}

section.m40_messen .m40_item_link_icon_mobile {
	display: none;
}

@media screen and (max-width: 991px) {
	section.m40_messen .m40_item {
		width: 100%;
	}
	
	section.m40_messen .m40_text_container {
		max-width: unset;
	}
	
	section.m40_messen .m40_item_location p {
		width: calc(100% - 15px - 6px);
	}
}

@media screen and (max-width: 575px) {
	section.m40_messen .m40_item,
	section.m40_messen .m40_item_link {
		flex-direction: column;
		gap: 25px;
	}
	
	section.m40_messen .m40_item_left {
		width: 100%;
	}
	
	section.m40_messen .m40_item_right {
		width: 100%;
	}
	
	section.m40_messen .m40_item_logo {
		justify-content: flex-start;
	}
	
	section.m40_messen .m40_item_link_icon {
		display: none;
	}
	
	section.m40_messen .m40_item_link_icon_mobile {
		display: flex;
		justify-content: flex-end;
	}
	
	section.m40_messen .m40_item_month h3 {
		font-size: 1.75rem;
	}
	
	section.m40_messen .m40_item_logo img {
		max-height: 55px;
		max-width: 170px;
	}
}