body #main .mod_article.smallwidth, .mod_article.fullwidth-boxed-medium > .container {
	max-width: 1000px;
}

@media only screen and (min-width: 768px) {
	.header.original .logo {
		width: 230px;
	}
	.stickyheader .header .logo {
		width: 180px;
		height: 65px;
	}
	
	.stickyheader .header.cloned {
		line-height: 70px;
	}
}


@media (min-width: 1024px) and (max-width: 1200px) {
	.logo a {
		width: 200px !important;
	}
	
	.header.cloned .logo a {
		width: 160px !important;
	}
	
	.colonna-box {
		max-width: 100%;
	}
	
	.box > .container > .ce_wrap {
		height: 600px !important;
	}
	
}


.header.cloned .logo a {
    width: 180px;
    margin-top: 5px;
}

.header.cloned > .inside {
	background-color: #e0f1ff;
}

.logo a {
	background-image: url(/files/siderpres/logo.svg) !important;
	width: 280px;
	margin-top: 5px;
}

.header-home h1,
.header-home p {
	color: #FFFFFF;
}

.footer .ce_text { 
	margin-bottom: -35px;
    margin-left: 15px;
}

.cta-contatti .ce_calltoaction_v2 .ce_hyperlink a {
	border-radius: 40px;
}

textarea {
	resize: none;
}

#main > .inside {
    display: flex;
    flex-wrap: wrap; 
}

#main > .inside > .mod_article {
    flex: 0 0 100%;
}

#article-16, #article-17, #article-33, #article-34 {
    flex: 0 0 50%;
    max-width: 50%;
}

.box > .container > .ce_wrap {
	height: 800px;
	margin: 20px 20px;
}

.box.home > .container > .ce_wrap {
	height: 550px !important;
	display: flex;
    align-items: center;
    justify-content: center;
}

.footer .img-stretch-footer {
    width: 100%;    
    object-fit: cover;    
    opacity: 1;
	display: block;
    clip-path: inset(0 0 0 87%); 
	transform: translateX(-87%);
    will-change: transform, clip-path;
}

.footer .img-stretch-footer.active {
    animation: slideAndReveal 2s ease-out forwards;
}

@keyframes slideAndReveal {
    0% {
        clip-path: inset(0 0 0 87%); 
        transform: translateX(-87%);
    }
    100% {
        clip-path: inset(0 0 0 0); 
        transform: translateX(0);
    }
}

form fieldset {
	border: none;
}

.cookiebar p,
.cookiebar a {
	font-size: 15px;
}

.box-6 {
	max-width:33%;
}

.box-6 > .container > .ce_wrap {
	height: 350px;
}

.colonna-box-6 {
	max-width: 100%;
}
	
.portfolio-slide-container {
    padding: 20px 0;
}

.portfolio-slide-container .card {
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.btn-badge {
    display: block;
    width: fit-content;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
}

.portfolio-slide-container .image_container img {
    width: 100%;
    height: 350px; 
    object-fit: cover; 
	object-position: center;
}

.portfolio-slide-container {
    overflow: hidden;
    position: relative;
}

.row.align-items-center {
    display: flex;
    align-items: center;
}


.mod_newslist img {
    width: 100%;
    height: auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.align-items-center {
	align-items: center;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
  pointer-events: none; 
  background-color: rgba(0, 0, 0, 0.5); 
  transition: all .8s cubic-bezier(0.24, 1, 0.30, 1);
}

.overlay > * {
	position: relative;
	z-index: 2; 
}

.overlay:hover::before {  
	background-color: rgba(0, 0, 0, 0.7); 
	transition: all .8s cubic-bezier(0.24, 1, 0.30, 1);
}

.img-timeline img {
	margin-left: 20px;
}

.certificate.ce_image img {
	width: 115px;
    margin-left: 15px;
	margin-top: -15px;
}

@media (max-width: 768px) {
	.logo a {
		width: 160px !important;
		margin-top: 5px !important;
	}
	
	.header.cloned .logo a {
		width: 100px !important;
		margin-top: 2px !important;
	}
	
	.txt-sottolineato {
		font-size: 15px !important;
		line-height: 23px !important;
	}
	
	#article-16, #article-17, #article-33, #article-34 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
	
	.box > .container > .ce_wrap {
		height: auto !important;
	}
	
	.box-6 {
		max-width:100% !important;
	}
	
	.mod_article.article-pb-xs > .container {
		padding-top: 0px;
	}
	
	.contatti > .container {
		padding-left: 0px !important;
		padding-right: 0px !important;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
	
	.tabella td {
		font-size: 15px;
	}
	
	.tabella {
		margin-bottom: 60px !important;
	}
	
	.frase-scorrimento {
		overflow: hidden;
		white-space: nowrap;
		width: 100%;
		box-sizing: border-box;
	}

	.frase-scorrimento span {
		display: inline-block;
		animation: scorri 15s linear infinite;
	}

	@keyframes scorri {
		0% {
			transform: translate(0, 0);
		}
		100% {
			transform: translate(-100%, 0);
		}
	}
	
	.row.align-items-center {
		display: block !important;
	}
	
	.parco-macchine {
		width: 55%;
		padding: 5px !important;
	}
	
	#main .mod_article.fullwidth {
		padding-right: 20px;
		padding-left: 20px;
	}
	
	.certificate.ce_image img {
		margin-left: 0;
	}
	
	.txt-home {
		font-size: 20px;
		line-height: normal;
	}
	
	.img-timeline img {
		margin-left: 0;
	}
	
	.ce_wrap {
		height: auto !important;
	}
	
	.ce_hyperlink a {
		font-size: 12px;
	}
	
	.mappa {
		padding-right: 0;
		padding-left: 0;
	}
	
	.ce_teambox_simple .image_container {
		margin-bottom: 0;
	}
	
	.ce_vertical_spacer.sp-xs {
		height: 0;
	}
}
