/* Event calendar */

#event_calendar {}

	.body_title {
		margin-bottom: 30px;
	}
	
	@media screen and (min-width : 994px) {
		.body_title { margin-bottom: 60px; }
	}
	
	#event_calendar_box {
		position: relative;
	}
	
		#event_calendar_cont {
			position: relative;
			display: flex;
			flex-direction: row;
			align-items: stretch;
			overflow: hidden;
			padding: 15px 5px;
			width: 100%;
			clear: both;
		}
		
			.event_calendar_item {
				flex: 1 0 auto;
				flex-grow: 0;
				margin-right: 20px;
				width: 100%;
				border-radius: 10px;
				overflow: hidden;
				box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
			}
			@media screen and (min-width: 480px) and (max-width: 993px) {
				.event_calendar_item { width: calc((100% - 20px) / 2); }
			}
			@media screen and (min-width : 994px) {
				.event_calendar_item { margin-right: 30px; width: calc((100% - (30px * 3)) / 4); }
			}
			#event_calendar_cont .event_calendar_item:last-of-type {
				margin-right: 0;
			}
			
				.event_img {
					position: relative;
					width: 100%;
					margin: auto;
					height: 0;
					padding-bottom: 52.5%;
					/* 40:21 = 100%:52.5% */
				}
				
				.event_img img {
					display: block;
					width: 100%;
					border-radius: 10px 10px 0 0;
				}
				
				.event_tag {
					position: absolute;
					bottom: 20px;
					left: 20px;
				}
		
					.tag {
						background: var(--second_color);
						border-radius: 4px;
						color: var(--fourth_color);
						font-weight: 700;
						font-size: 14px;
						text-transform: uppercase;
						padding: 3px 10px;
					}
					
				.event_info {
					padding: 20px;
				}
						
					.event_title {
						font-size: 18px;
						font-weight: 700;
					}
				
						.event_title a {
							color: var(--third_color);
							transition: color 0.3s linear;
							-webkit-transition: color 0.3s linear;
							-moz-transition: color 0.3s linear;
						}
				
						.event_title a:hover {
							color: var(--second_color);
						}
				
					.event_date {
						display: flex;
						margin-top: 10px;
						color: #6c6c6c;
					}
					
						.event_date svg {
							margin-top: 1px;
							margin-right: 10px;
							color: var(--second_color);
							width: 17px;
						}
				
					.event_text {
						margin-top: 10px;
						overflow: hidden;
						display: -webkit-box;
						-webkit-line-clamp: 3;
						-webkit-box-orient: vertical;
					}
	
/* Notizie */

#news_edizioni {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-top: 60px;
	padding-top: 60px;
	border-top: 1px solid #d9d9d9;
}
	
@media screen and (min-width : 994px) {
	#news_edizioni { /*padding-right: 50px;*/ flex-direction: row; }
}

	#news_body {
		position: relative;
		width: 100%;
	}
	@media screen and (min-width : 994px) {
		#news_body { width: 50%; padding-right: 50px; }
	}
	
		#news_box {
			position: relative;
		}
		
			#news_cont {
				position: relative;
				display: flex;
				flex-direction: row;
				align-items: stretch;
				overflow: hidden;
				padding: 5px;
				width: 100%;
				clear: both;
			}
			
				.news_item {
					flex: 1 0 auto;
					flex-grow: 0;
					margin-right: 20px;
					width: 100%;
					border-radius: 10px;
					overflow: hidden;
					box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
					
					min-height: 157px;
					padding: 20px 28px;
					display: flex;
					justify-content: center;
					align-items: center;
				}
				@media screen and (min-width: 480px) {
					.news_item { width: calc((100% - 20px) / 2); }
				}
				#news_cont .news_item:last-of-type {
					margin-right: 0;
				}	
				
					.news_date {
						display: flex;
						color: #6c6c6c;
					}
				
						.news_date svg {
							margin-top: 1px;
							margin-right: 10px;
							color: var(--second_color);
							width: 17px;
						}
					
					.news_title {
						font-size: 18px;
						font-weight: 700;
						margin-top: 10px;
					}
			
						.news_title a {
							color: var(--third_color);
							transition: color 0.3s linear;
							-webkit-transition: color 0.3s linear;
							-moz-transition: color 0.3s linear;
						}
			
						.news_title a:hover {
							color: var(--second_color);
						}
	
/* Edizioni precedenti */

	#edizioni_body {
		position: relative;
		width: 100%;
		margin-top: 60px;
		padding-top: 60px;
		border-top: 2px dotted #d9d9d9;
	}
	@media screen and (min-width : 994px) {
		#edizioni_body { width: 50%; margin-top: 0; padding-top: 0; border-top: 0; padding-left: 50px; border-left: 2px dotted #d9d9d9; }
	}
	#edizioni_body.edizioni_body_no_news {
		padding: unset;
		border: none;
		margin-top: 0px;
		width: 100%;
	}
	
		#edizioni_box {
			position: relative;
		}
		
			#edizioni_cont {
				position: relative;
				display: flex;
				flex-direction: row;
				align-items: stretch;
				overflow: hidden;
				padding: 5px;
				width: 100%;
				clear: both;
			}
			
				.edizioni_item {
					flex: 1 0 auto;
					flex-grow: 0;
					margin-right: 20px;
					width: 100%;
					border-radius: 10px;
					overflow: hidden;
					box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
					
					min-height: 157px;
					max-width: 300px;
					display: flex;
					justify-content: center;
					align-items: center;
				}
				@media screen and (min-width: 480px) {
					.edizioni_item { width: calc((100% - 20px) / 2); }
				}
				#edizioni_cont .edizioni_item:last-of-type {
					margin-right: 0;
				}	
				
					.edizioni_item_image {
						position: relative;
					}
					
						.edizioni_item img {
							display: block;
							width: 100%;
							border-radius: 10px;
						}
					
					
				
.nav_arrows { }
@media screen and (max-width : 993px) {
	.nav_arrows {
		position: absolute;
		top: -74px;
		right: 5px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}
@media screen and (min-width : 994px) {
	.nav_arrows { display: block; }
}

	.arrow_left, .arrow_right {
		width: 40px;
		height: 40px;
		line-height: 48px;
		text-align: center;
		border-radius: 50%;
		background-color: var(--fourth_color);
		box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
		z-index: 3;
		
		display: flex;
		align-items: center;
		justify-content: center;
	}
	@media screen and (min-width : 994px) {
		.arrow_left, .arrow_right { position: absolute; top: 50%; transform: translateY(-50%); }
	}
	
	.arrow_left { margin-right: 8px; }
	@media screen and (min-width : 994px) {
		.arrow_left { left: -20px; }
		.arrow_right { right: -20px; }
	}
	
	.arrow_left.disabled, .arrow_right.disabled {
		color: #bbbbbb;
		cursor: default;
	}
	
		.arrow_left svg {
			position: relative;
			left: -5px;
		}
		.arrow_right svg {
			position: relative;
			left: -3px;
		}


.btt_viewall {
	position: relative;
	width: 160px;
	height: 48px;
	line-height: 48px;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	background-color: var(--fourth_color);
	border-radius: 10px;
	border: 1px solid #d9d9d9;
	transition: box-shadow 0.3s linear;
	-webkit-transition: box-shadow 0.3s linear;
	-moz-transition: box-shadow 0.3s linear;
	margin-bottom: 30px;
}
@media screen and (min-width: 480px) and (max-width: 993px) {
	.btt_viewall { width: 200px; }
}

@media screen and (min-width : 994px) {
	.btt_viewall { position: absolute; top: 45px; right: 50px; margin-bottom: 0; width: 150px; }
	#news_body .btt_viewall { top: -16px; }
	#edizioni_body .btt_viewall { top: -16px; right: 0; }
}
@media screen and (min-width: 1090px) {
	.btt_viewall { width: 200px; }
}

.btt_viewall:hover {
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
}

	.btt_viewall a {
		color: var(--third_color);
	}