/*
 * Author: Luca Arzilli, ALSolutions
 *
 * Project Name: Mantoflex
 *
 */

/* HOME PAGE */

/* cataloghi */
header .text-box {
	background-color: rgba(0, 0, 0, 0.62);
}
header h1 {
	font-size:60px;
	text-transform:uppercase;
}
#img-header-m {
	display:none;
}
#news {
	padding:75px 0px;
}
#news h4 {
	font-size:20px;
	line-height:20px;
	text-transform:uppercase;
	color:#cd0c0c;
	padding: 5px 0;
	text-align:center;
	margin-top:20px;
}
#btn-loadmore {
	font-size: 18px;
	line-height:18px;
	font-weight:bold;
	color:#CD0C0C;
	border:1px solid #CD0C0C;
	background-color:transparent;
	margin:0px;
	border-radius:25px;
	padding:10px 30px;
	height:45px;
	text-transform:uppercase;
	text-decoration:none;
}
#news p {
	font-size:16px;
	line-height:16px;
	text-align:center;
}

#news img {
	border: 3px solid #FFF;
	margin: 0 auto;
}
#list-news .post-id > img {
	cursor: zoom-in;
}
.text-post {
	min-height:200px;
	border-bottom: 1px solid #717171;
	margin-bottom:20px;
}

/* Lightbox news */
.news-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}
.news-lightbox.is-open {
	display: flex;
}
.news-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	cursor: pointer;
}
.news-lightbox-content {
	position: relative;
	z-index: 1;
	line-height: 0;
	max-width: 96vw;
}
.news-lightbox-content img {
	display: block;
	height: 75vh;
	width: auto;
	max-width: 96vw;
	margin: 0 auto;
	border: 3px solid #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.news-lightbox-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #cd0c0c;
	color: #fff;
	font-size: 22px;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 450px) {
	#img-header-m {
		display:block;
	}
	#img-header-d {
		display:none;
	}
	header h1 {
		font-size:40px;
		line-height:45px;
		margin-bottom:0px;
	}
	#news h5, a {
		text-align:center;
	}
	.list-news {
		padding-top:50px;
	}
}