html, body{
	font-size: 14px;
	font-weight: 400;
	line-height: 240%;
	letter-spacing: normal;
}

#sp-cookie-banner {
	z-index: 11;
	line-height: 120%;
	background: #e63631;
}

.squarelines {
	padding: 0 calc(30px*1);
	min-width: 15%;
	max-width: 35%;
	position: relative;
}
.sp-main-doors .squarelines {
	/*padding: 0 calc(1*30px);*/
	padding: 0 2rem;
}

.squarelines .squarelines-img img{
	border-radius: calc(5px/2);
	box-shadow: 1px 1px 3px;
}

.sp-gallery  img{
	object-fit: cover;
	margin-bottom: 30px;
}

.sp-flex:has(.disabled) {
	margin: 0 !important;
}

.sp-product-category {
	color: #197ada;
	font-weight: bold;
	background-color: #eaeaeaa3;
	text-transform: uppercase;
	border-top: 1px solid #bebdbd;
	border-bottom: 1px solid #bebdbd;
}

.sp-home-grid > * > * {
	padding: unset;
}

.sphere-app {
	padding: 15px;
}

.sp-product-title-dialog {
	font-size: 1.3rem;
	color: #222850;
}

.squarelines .squarelines-text {
	width: 45%;
	background: -moz-linear-gradient(left, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0) 100%);
	background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0) 100%);
	padding: 15px;
	color: #ffffff;
	text-shadow: 0 2px 2px #4e4f4fcc;
	position: absolute;
	top: 10%;
	right: -10%;
	transition: all 0.5s ease;
}

.squarelines-data{
	position: absolute;
	bottom: 0;
	background: rgba(255,255,255,0.8);
	width: 100%;
	color: #040c1e;
}

.squarelines-features{
	padding: 0 15px 15px;
	font-style: italic;
}

.squarelines.sp-gallery{
	margin: 5px;
}

.squarelines.sp-gallery .squarelines-img{
	height: auto;
	width: auto;
}

.sp-gallery{
	cursor: pointer;
}

.slides:nth-child(3) {
	width: 65%;
	margin: -30px auto calc(30px*3);
}

.parallax-img {
	height: 700px; 
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
 .parallax-text{
	height: auto;
	padding: calc(30px*2) calc(30px*12);
}

.parallax-title{
	text-align: center;
	font-size: 2.5rem;
	text-transform: uppercase;
	margin-bottom: 15px;
	color: #222850;
}

.parallax-desc{
	text-align: center;
	font-size: 1.2rem;
	color: #222850;
}

.parallax-text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
	width: 40%;
}

.parallax {
    position: relative;
}

.parallax-desc a{
    color: #fff;
}

.parallax-service-icon{
	font-size: 7rem;
	margin-bottom: 20px;
	color: #fafafa;
}

.parallax-service-text{
	font-size: 2rem;
	color: #fafafa;
}

.parallax-service-desc{
	color: #fafafa;
}

.sp-map > .sp-map-title{
	color: #222850;
}

.slide-nav-panel .active{
	color: #222850;
}

b{
	color: #222850;
}

.sp-login-title{
	color: #222850;
}

.sp-res-menu-title > h1{
	color: #222850;
}

.sp-home-grid-title{
	color: #222850;
}

.sp-res-menu-item-icon{
	color: #222850;
}

.sp-button:hover, .sp-button:active {
	border: 1px solid #222850;
}

.sp-button {
	border: 1px solid #222850;
	background: #222850;
    justify-content: center;
    border-radius: 7px;
    font-weight: 600;
    padding: 7px 11px;
}

.sp-login-box {
	border-radius: 6px;
}

.sp-map > div:nth-child(2) > iframe:nth-child(1) {
	border-radius: 6px;
}

.parallax-service-section{
	text-align: center;
	vertical-align: middle;
	width: 33%;
}

div.parallax:nth-child(4) > div:nth-child(2) {
	height: 400px;
}

div.parallax:nth-child(2) > div:nth-child(2) {
	height: 400px;
}

.sp-main-content-full-box {
	width: 100%;
	box-sizing: border-box;
	background: #fafafa;
	font-size: 1rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	border-radius: 0px;
	position: relative;
	height: 700px;
	display: block;
    overflow: hidden;
}

.sp-main-content-full-box-img {
	width: 100%;
}

a.sp-main-content-full-box:nth-child(1) > img:nth-child(1) {
	margin-top: -12%;
}

a.sp-main-content-full-box:nth-child(2) > img:nth-child(1) {
	margin-top: -40%;
}

a.sp-main-content-full-box:nth-child(3) > img:nth-child(1) {
	margin-top: -16%;
}

a.sp-main-content-full-box:nth-child(4) > img:nth-child(1) {
	margin-top: -21%;
}

a.sp-main-content-full-box:nth-child(5) > img:nth-child(1) {
	margin-top: -31%;
}

a.sp-main-content-full-box:nth-child(6) > img:nth-child(1) {
	margin-top: -25%;
}

.sp-slider-width {
  margin-top: -30px;
  font-size: 1.1rem;
}

.sp-main-content-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.sp-main-content-full-box-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.sp-main-content-full-box-text {
    font-size: 1rem;
    margin-top: 10px;
}

.sp-main-content-intro-full a:nth-child(even) .sp-main-content-full-overlay {
	background-color: #e6363196; /*rosso*/
}

.sp-main-content-intro-full a:nth-child(odd) .sp-main-content-full-overlay {
    background-color: #22285096; /*blu*/
}

.sp-main-content-partners-box {
	width: 100%;
	box-sizing: border-box;
	background: #fafafa;
	font-size: 1rem;
	box-shadow: 0 1px 6px rgba(0,0,0,0.2);
	border-radius: calc(5px/2);
	position: relative;
	height: 700px;
	display: block;
    overflow: hidden;
}

.sp-main-content-partners-box-img {
	position: relative;
	width: 20%;
	margin: auto;
}

.sp-main-content-partners-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.sp-main-content-intro-partners{
	height: 100%;
}

h3.sp-intro-partners {
	margin: calc(30px*2) 0;
	font-size: 2.5rem;
	text-transform: uppercase;
}

.sp-main-content-intro-partners:nth-child(2) .sp-main-content-partners-overlay {  /*harken*/
    background-color: #ed1b378a;
}

.sp-main-content-intro-partners:nth-child(3) .sp-main-content-partners-overlay { /*bamar*/
    background-color: #009fe347;
}

.sp-main-content-intro-partners:nth-child(4) .sp-main-content-partners-overlay { /*spinlock*/
    background-color: #231f2012;
}

.sp-main-content-intro-partners:nth-child(5) .sp-main-content-partners-overlay { /*ubi*/
    background-color: #0b0a0a47;
}

.sp-main-content-intro-partners:nth-child(6) .sp-main-content-partners-overlay {  /*gottiffredi*/
    background-color: #00518647;
}

.sp-main-content-intro-partners:nth-child(7) .sp-main-content-partners-overlay { /*marlow*/
    background-color: #e0002b7a;
}

.sp-main-content-intro-partners:nth-child(8) .sp-main-content-partners-overlay { /*armare*/
    background-color: #14367147;
}

.sp-main-content-intro-partners:nth-child(9) .sp-main-content-partners-overlay { /*protecttapes*/
    background-color: #ff991147;
}

.sp-main-content-intro-partners:nth-child(10) .sp-main-content-partners-overlay { /*wichard*/
    background-color: #06518e47;
}

.sp-main-content-intro-partners:nth-child(11) .sp-main-content-partners-overlay { /*tylaska*/
    background-color: #ee2e248a;
}


.sp-main-content-intro-partners:nth-child(12) .sp-main-content-partners-overlay { /*antal*/
    background-color: #fdc62e47;
}

.sp-main-content-partners-box-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.sp-main-content-partners-box-text {
    font-size: 1rem;
    margin-top: 10px;
}

div.sp-footer-content:nth-child(2) {
	display: ;
	text-align: end;
}

div.sp-footer-content:nth-child(2) > div:nth-child(2) {
	justify-content: end;
}

.sp-sitebar {
	/* background-image: linear-gradient( to right, #0b0b0b 0%, #151a27 40%, #1a2037 60%, #222850 100% );
	background-image: linear-gradient( to right, #0b0b0b 0%, #282935 40%, #3c3e4f 60%, #545460 100% );*/
	background-image: linear-gradient( to right, #e63631 0%, #222850 20%);
	backdrop-filter: blur(12px);
	height: 40px;
	padding: 0 calc(30px*12);
}

.sp-sitebar > * > * {
	padding: 0;
}

header {
	padding: 15px calc(30px*12);
	background-color: rgba(0,0,0,0.05);
	box-sizing: border-box;
	width: 100%;
	backdrop-filter: blur(30px);
	transition: .3s ease-in-out,box-shadow .3s ease-in-out;
	height: auto;
	color: #fff;
	font-size: 1.1rem;
}

header.scrolling-header{
	background-color: #fafafa;
	color: #000;
}

footer {
	padding: calc(15px*3) calc(30px*12);
}

.sp-logo {
	transition: .3s ease-in-out,box-shadow .3s ease-in-out;
	filter: brightness(100%) invert(0);
	max-height: unset;
	height: calc(30px*2);
}

.sp-logo.scrolling-logo{
	filter: unset;
	height: calc(30px*1.5);
}

.sp-menu-item {
	color: unset;
	font-weight: bold;
}

.sp-menu-item::after{
	content: "";
	width: 0;
	height: 2px;
	display: block;
	transition: color .5s ease-in-out;
	position: relative;
	bottom: -10px;
	border-radius: 2px;
}

.sp-menu-item:hover::after{
	width: 100%;
	background-color: #e63631;
	margin-top: -5px;
	transition: color .5s ease-in-out;
}

.slide > img {
	height: auto;
	/*filter: saturate(80%) contrast(90%);*/
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.slide{
	transition: all 1s ease;	
	width: 100%;
	height: 600px;
	opacity: 0;
}

.slide.active {
	opacity: 100%;
}

.slides, .slide{
	height: 79vh;
}

.sp-main-content-top {
	text-align: center;	
	padding: calc(30px*1) calc(30px*12);
	font-size: 1.2rem;
	line-height: 2.5rem;
	background-color: #2228500f;
}

.sp-content-image-top {
	height: calc(30px*20);
}

.sp-content-image-top img {
	height: calc(30px*20);
}

.sp-content-text-top, .sp-content-text-top-sub {
	top: 57%;
	left: 0;
	width: 100%;
	text-align: center;
}

.sp-main-content-box img {
	top: unset;
	width: 40%;
}

.sp-main-content-box {
	padding:calc(30px*3.5);
	margin-bottom: 30px;
	margin-top: 0;
	cursor: pointer;
	width: 30%;
}

.sp-main-content-content {
	padding: calc(30px*3) calc(30px*12);
}

.sp-main-content-box-icon {
	background-color: #222850;
}

.sp-main-content-box-title {
	color: #222850;
}

.sp-login{
	padding: calc(30px*16) calc(30px*12);
	/*filter: saturate(80%) contrast(90%);*/
}

.sp-contacts {
	margin: 30px calc(30px*11);
}

.sp-map {
	margin: 0 calc(30px*12) 30px;
}

.sp-button:hover {
	color: #222850;
}

.sp-main-content-block-desc {
	background: transparent;
	color: #222850;
	font-size: 1.2rem;
	padding: 0 calc(30px*4);
	height: 210px;
}

.sp-main-content-block-img {
	/*filter: saturate(80%) contrast(90%);*/
	height: 600px;
}

.sp-main-content-hcontents {
	padding: 0;
}

.sp-main-content-block-title {
	margin-bottom: 5px;
	font-size: 2.5rem;
	line-height: 3.2rem;
	color: #222850;
}

.sp-main-content-block-img-container {
	width: 100%;
}

div.sp-main-content-top:nth-child(4) {
	padding-top: 15px;
}

.sp-main-content-intro {
	padding: calc(30px*3) calc(30px*12);
}

div.sp-main-content-intro:nth-child(3) {
	padding-top: 0;
}

.sp-main-content-block:nth-child(2n+1) .sp-main-content-block-img-container {
  order: 2;
}

.sp-main-content-block:nth-child(2n+1) .sp-main-content-block-desc {
  order: 1;
}

.sp-main-content-block {
	margin: 0;
	height: auto;
}

.slider {
	padding: 45px calc(30px*12);
}

div.sp-main-content-top:nth-child(5) > h2:nth-child(1) {
	margin: 0px;
}

.sp-slide-title {
  top: 46%;
  left: 12%;
}

.sp-slide-intro {
  top: 50%;
  left: 12%;
}

.sp-product-description {
	font-style: italic;
}

.sp-product{
	box-shadow: 1px 1px 1px 1px #d9d9d9;
	padding:30px;
	background: #fff;
	margin: 15px;
	width: 20%;
}

.sp-product-image .item-image{
	width: 50%;
}

.fen-view-label{
	color: #222850;
}

.sp-home-grid > :nth-child(1) {
	flex-grow: 4;
}

.sp-home-grid > * > * {
  border-radius: 6px;
}

.sp-res-menu {
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════
   SPHERE PRODUCTS — nuovo layout card + categorie
   Da appendere in fondo al CSS esistente
═══════════════════════════════════════════════════════ */

/* ── CATEGORIA COLLASSABILE (checkbox trick) ──────── */

.cat-section-b {
    margin-bottom: 16px;
}

.cat-toggle {
    display: none;
}

.cat-label-b {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #fff;
    border: 1.5px solid #dce4ef;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: border-color .18s, background .18s;
    box-shadow: 0 2px 10px rgba(26,46,74,.07);
}

.cat-label-b:hover {
    border-color: #222850;
    background: #fafcff;
}

.cat-label-b .cat-icon {
    color: #222850;
    font-size: .95rem;
    width: 20px;
    text-align: center;
}

.cat-label-b .cat-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222850;
    letter-spacing: .04em;
    text-transform: uppercase;
    flex: 1;
    /* azzera il div sp-text-left interno */
    line-height: 1.2;
}

.cat-label-b .cat-name > div {
    display: inline;
}

.cat-label-b .cat-chevron {
    color: #8899aa;
    font-size: .8rem;
    transition: transform .22s ease;
}

/* stato aperto — sfondo blu pastello */
.cat-toggle:checked ~ .cat-label-b {
    border-color: #222850;
    border-radius: 8px 8px 0 0;
    border-bottom-color: transparent;
    background: #d0dff0;
}

.cat-toggle:checked ~ .cat-label-b .cat-name,
.cat-toggle:checked ~ .cat-label-b .cat-icon {
    color: #222850;
}

.cat-toggle:checked ~ .cat-label-b .cat-chevron {
    color: #222850;
    transform: rotate(180deg);
}

/* pannello prodotti */
.cat-panel-b {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.cat-toggle:checked ~ .cat-panel-b {
    max-height: 2000px;
}

/* ── GRIGLIA PRODOTTI ─────────────────────────────── */

.products-grid-b {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding-top: 16px;
}

/* ── CARD PRODOTTO ────────────────────────────────── */

.product-card-b {
    background: #fff;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(26,46,74,.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    overflow: hidden;
}

.product-card-b:hover {
    box-shadow: 0 6px 24px rgba(26,46,74,.13);
    transform: translateY(-3px);
}

/* immagine / gallery sul boxetto */
.pcb-image {
    height: 350px;
    overflow: hidden;
    background: #e8edf5;
    position: relative;
}

.pcb-gallery {
    position: relative;
}

.pcb-gallery-slide {
    display: none;
    height: 100%;
}

.pcb-gallery-slide--active {
    display: block;
}

.pcb-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

/* frecce */
.pcb-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26,46,74,.45);
    border: none;
    color: #fff;
    width: 28px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s;
    opacity: 0;
}

.pcb-image:hover .pcb-gallery-arrow {
    opacity: 1;
}

.pcb-gallery-arrow:hover {
    background: rgba(26,46,74,.75);
}

.pcb-gallery-arrow--prev { left: 6px; }
.pcb-gallery-arrow--next { right: 6px; }

/* pallini */
.pcb-gallery-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.pcb-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transition: background .15s;
}

.pcb-gallery-dot--active {
    background: #fff;
}

/* ── FULLSCREEN OVERLAY ───────────────────────────── */

.pcb-fullscreen-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10,20,35,.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

.pcb-fullscreen-overlay.active {
    display: flex;
}

.pcb-fullscreen-close {
    position: absolute;
    top: 16px;
    right: 20px;
    color: rgba(255,255,255,.7);
    font-size: 1.4rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color .15s;
    z-index: 3;
}

.pcb-fullscreen-close:hover { color: #fff; }

.pcb-fullscreen-img {
    max-width: min(900px, 90vw);
    max-height: 70vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.pcb-fullscreen-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 44px;
    height: 56px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    z-index: 3;
}

.pcb-fullscreen-arrow:hover { background: rgba(255,255,255,.25); }
.pcb-fullscreen-arrow--prev { left: 16px; }
.pcb-fullscreen-arrow--next { right: 16px; }

.pcb-fullscreen-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90vw;
}

.pcb-fullscreen-thumb {
    width: 64px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: .55;
    cursor: pointer;
    transition: opacity .15s, border-color .15s;
    flex-shrink: 0;
}

.pcb-fullscreen-thumb:hover,
.pcb-fullscreen-thumb.active {
    opacity: 1;
    border-color: #fff;
}

.pcb-fullscreen-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* body */
.pcb-body {
    padding: 12px 14px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pcb-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222850;
    line-height: 1.3;
}

.pcb-name > div {
    display: inline;
}

.pcb-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.pcb-brand {
    font-size: .8rem;
    font-weight: 500;
    color: #197ada;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pcb-brand > div {
    display: inline;
}

.pcb-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222850;
    white-space: nowrap;
}

.pcb-price > div {
    display: inline;
}

/* footer pulsanti */
.pcb-footer {
    padding: 10px 14px 14px;
    border-top: 1px solid #dce4ef;
    margin-top: 10px;
}

.pcb-footer .sp-flex {
    gap: 6px;
}

.pcb-footer .sp-button {
    justify-content: center;
    border-radius: 7px;
    font-weight: 600;
    padding: 7px 11px;
}

/* ── RESPONSIVE ───────────────────────────────────── */

@media only screen and (max-width: 600px) {
    .products-grid-b {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .pcb-image {
        height: 130px;
    }
}

@media only screen and (max-width: 400px) {
    .products-grid-b {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   SPHERE DIALOG
   Da appendere in fondo al CSS esistente
═══════════════════════════════════════════════════════ */

.sphere-dialog-w {
    border-radius: 7px;
    overflow: hidden;
}

.sp-dialog-header {
    padding: 0px 5px 0px 12px;
    line-height: 1rem;
    background: #222850;
    color: #fff;
}

.sphere-dialog-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sphere-dialog-icon {
    font-size: .8rem;
}

.sphere-dialog-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sp-dialog-handle {
    flex: 1;
    cursor: move;
}

.sphere-dialog-controls {
    display: flex;
    align-items: center;
}

.sphere-dialog-max {
    display: none;
}

.sphere-dialog-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    transition: color .15s;
}

.sphere-dialog-close:hover {
    color: #fff;
}

.sphere-dialog-content .sp-padding {
    padding: 14px;
}

.sp-product-title-dialog {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222850;
    line-height: 1.3;
    margin-bottom: 10px;
}

.sp-product-details {
    font-size: 1rem;
}

@media (min-width: 1440px) and (max-width: 2560px) {
	
	.slides, .slide{
		height: 65vh;
	}
		
	.slider {
		padding: calc(30px*1.5) calc(30px*6);
	}

	.sp-main-content-content {
		padding: calc(30px*2) calc(30px*6);
	}

	.sp-main-content-top {
		padding: calc(30px*1) calc(30px*6);
	}

	footer {
		padding: calc(15px*2) calc(30px*6);
	}

	header {
		padding: 15px calc(30px*6);
	}

	.sp-sitebar {
		padding: 0 calc(30px*6);
	}
	
	.sp-content-text-top, .sp-content-text-top-sub {
		top: 63%;
	}
	
	.sp-main-content-intro {
		padding: calc(30px*3) calc(30px*6);
	}
	
	.parallax-img {
		height: 600px; 
	}

	.sp-content-image-top {
		height: calc(30px*15);
	}

	.sp-main-content-full-box {
		height: 600px;
	}
	
	.sp-main-content-partners-box {
		height: 600px;
	}
	
	.parallax-service-icon {
		font-size: 6rem;
	}
}


@media (min-width: 1025px) and (max-width: 1920px) {
	
	html, body{
		font-size: 13px;
	}
	
	.sp-content-text-top, .sp-content-text-top-sub {
		top: 64%;
	}
	
	.slides, .slide{
		height: 67vh;
	}
	
	.slider {
		padding: calc(30px*1.5) calc(30px*5);
	}

	.sp-main-content-content {
		padding: calc(30px*2) calc(30px*5);
	}

	.sp-main-content-top {
		padding: calc(30px*1) calc(30px*5);
	}

	footer {
		padding: calc(15px*2) calc(30px*5);
	}

	header {
		padding: 15px calc(30px*5);
	}

	.sp-sitebar {
		padding: 0 calc(30px*5);
	}
	
	.parallax-img {
		height: 600px; 
	}
	
	.sp-content-image-top {
		height: calc(30px*14);
	}

	.sp-main-content-full-box {
		height: 600px;
	}
	
	.sp-main-content-partners-box {
		height: 600px;
	}
	
	.parallax-service-icon {
		font-size: 6rem;
	}

	.sp-main-content-intro {
		padding: calc(30px*2) calc(30px*5);
	}

	.sp-main-content-content {
		padding: calc(30px*8) calc(30px*5) calc(30px*5);
	}

}

@media only screen and (min-device-width: 956px) and (max-device-width: 1470px) {
	
	html, body{
		font-size: 12px;
	}
	
	.sp-main-content-box img {
		width: 65%;
	}

	.parallax-img {
		height: 500px; 
	}

	.slider {
		padding: calc(30px*1.5) calc(30px*3);
	}

	.sp-main-content-content {
		padding: calc(30px*2) calc(30px*3);
	}

	.sp-main-content-top {
		padding: calc(30px*1) calc(30px*3);
	}

	.sp-main-content-block-desc {
		padding: 0 calc(30px*3);
	}

	footer {
		padding: calc(15px*3) calc(30px*3);
	}

	header {
		padding: 15px calc(30px*3);
	}

	.sp-sitebar {
		padding: 0 calc(30px*3);
	}

	.sp-logo {
		height: calc(30px*1.5);
	}

	.sp-logo.scrolling-logo{
		height: calc(30px*1.3);
	}

	.sp-content-image-top {
		height: calc(30px*10);
	}

	.sp-contacts {
		margin: 30px calc(30px*2);
	}

	.sp-map {
		margin: 0 calc(30px*3) 30px;
	}

	.sp-login {
		padding: calc(30px*13) calc(30px*3);
	}

	.sp-main-content-intro {
		padding: calc(30px*1) calc(30px*3);
	}
	
	.sp-main-content-intro {
		padding: calc(30px*2) calc(30px*3);
	}
	
	div.parallax:nth-child(4) > div:nth-child(2) {
		height: 300px;
	}

	div.parallax:nth-child(2) > div:nth-child(2) {
		height: 300px;
	}
	
	.sp-main-content-full-box {
		height: 500px;
	}
	
	.sp-main-content-partners-box {
		height: 500px;
	}
	
	.parallax-service-icon {
		font-size: 5.5rem;
	}
	
	.squarelines {
		max-width: 33%;
	}
}


@media (min-width: 720px) and (max-width: 1280px) {
	
	html, body{
		font-size: 12px;
	}
	
	.sp-main-content-box, .sp-contact-box {
		margin: 30px;
	}

	.sp-main-content-intro {
		padding: unset;
	}
	
	header {
		padding: 15px calc(30px*2);
	}

	.sp-contacts {
		margin: 30px calc(30px*2);
	}

	.sp-map {
		margin: 0 calc(30px*2) 30px;
	}

	.sp-main-content-content {
		padding: calc(30px*3) calc(30px*2);
	}

	.sp-content-image-top img {
		height: calc(30px*9);
	}

	.sp-sitebar {
		padding: 0 calc(30px*2);
	}

	.sp-main-content-top {
		padding: calc(30px*1) calc(30px*2);
	}
	
	footer {
		padding: calc(30px*1.5) calc(30px*2);
	}
	
	.sp-main-content-box img {
		width: 65%;
	}
	
	.sp-login{
		padding: calc(30px*9) calc(30px*1);
	}

	.slider {
		padding: calc(30px*1) calc(30px*2);
	}
	
	.sp-main-content-intro {
		padding: calc(30px*1) calc(30px*2);
	}
	
	.squarelines {
		max-width: 45%;
		padding: 0;
	}
	
	.slides, .slide{
		height: 56vh;
	}

	.sp-main-content-full-box {
		height: 500px;
	}
	
	.parallax-service-icon {
		font-size: 5rem;
	}
	
	.sp-main-content-top {
		padding: calc(15px*1) calc(30px*2);
	}
	
	footer {
		padding: calc(15px*1.5) calc(30px*2);
	}

	div.parallax:nth-child(4) > div:nth-child(2) {
		height: 200px;
	}

	div.parallax:nth-child(2) > div:nth-child(2) {
		height: 200px;
	}
	
	.sp-main-content-full-box {
		height: 400px;
	}
	
	.sp-main-content-partners-box {
		height: 400px;
	}

	.parallax-service-text {
		font-size: 1.6rem;
	}

	.parallax-title {
		font-size: 2rem;
	}

	.parallax-text {
		padding: 30px calc(30px*2);
	}

	.sp-main-content-top-title {
		font-size: 2rem;
	}

	.parallax-img {
		height: 400px;
	}

	.sp-content-image-top {
		height: calc(30px*9);
	}

	.sp-content-text-top, .sp-content-text-top-sub {
		top: 68%;
		font-size: 3rem;
	}

	.parallax-service-text {
		font-size: 1.1rem;
	}

}


@media (min-width: 700px) and (max-width: 1125px) {

	.sp-logo {
		height: calc(30px*1.5);
	}
}

@media only screen and (min-width: 375px) and (max-width: 1110px) {
	html, body{
		font-size: 12px;
	}
	header {
		padding: 15px calc(30px*2);
	}
	.sp-content-image-top img {
		height: calc(30px*9);
	}
	.sp-content-image-top {
		height: calc(30px*9);
	}
	.sp-main-content-full-box {
		height: 400px;
	}
	footer {
		padding: calc(15px*3) calc(30px*2);
	}
	.sp-content-text-top {
		transform: unset; 
	}
	a.sp-main-content-full-box:nth-child(1) > img:nth-child(1) {
		margin-top: unset; 
	}
	a.sp-main-content-full-box:nth-child(2) > img:nth-child(1) {
		margin-top: unset; 
	}
	a.sp-main-content-full-box:nth-child(3) > img:nth-child(1) {
		margin-top: unset; 
	}
	a.sp-main-content-full-box:nth-child(4) > img:nth-child(1) {
		margin-top: unset; 
	}
	a.sp-main-content-full-box:nth-child(5) > img:nth-child(1) {
		margin-top: unset; 
	}
	a.sp-main-content-full-box:nth-child(6) > img:nth-child(1) {
		margin-top: unset; 
	}
	.sp-logo {
		height: calc(30px*1.5);
	}
	.sp-content-text-top {
		top: 68%;
	}
}
@media only screen and (min-width: 600px) and (max-width: 767px) {
	.sp-main-content-full-box {
		height: 300px;
	}
}

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

/*------------------->>>>>MENU A SCORRIMENTO<<<<<-------------------*/

	.sp-menu{
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch; 
		scroll-snap-type: x mandatory;
		align-items: center;
	}

	.sp-menu-item {
		white-space: nowrap;
		flex: 0 0 auto;
		scroll-snap-align: start; 
	}

	.sp-menu-item-label {
		white-space: nowrap;
	}

/*------------------->>>>><<<<<-------------------*/

	html, body {
		font-size: 12px;
	}

	header {
		padding: 5px;
		font-size: 1rem;
		backdrop-filter: blur(50px);
	}

	.slider {
		padding: 30px;
	}

	.sp-slider-item {
		width: 50%;
	}

	.parallax-text {
		padding: 30px;
	}
	
	.parallax-title {
		font-size: 1.6rem;
	}
	
	.parallax-img {
		height: 300px;
	}

	.sp-sitebar {
		padding: 0 calc(30px*1);
	}

	.sp-logo {
		height: calc(30px*1.4);
	}

	.sp-logo.scrolling-logo{
		height: calc(30px*1.3);
	}

	.sp-sitebar > * > * {
		font-size: 1rem;
	}

	.sp-menu {
		justify-content: space-between;
		width: 100%;
	}

	.sp-main-content-top {
		padding: calc(15px*1.5) calc(15px*1);
	}

	.sp-main-content-top-title {
		font-size: 1.6rem;
		line-height: 140%;
	}

	.sp-main-content-block-title {
		font-size: 1.6rem;
	}

	.sp-main-content-block-desc {
		padding: 0 calc(15px*1);
	}

	.sp-main-content-block-img-container {
		display: flex;
		flex: fit-content;
	}

	.sp-main-content-block-text {
		line-height: 160%;
	}

	footer {
		padding: 20px;
	}

	.sp-footer-content {
		margin: 0; 
	}

	.sp-main-content-hcontents {
		padding-bottom: 0;
	}

	.sp-footer-logo {
		padding-bottom: 0;
		padding-top: 15px;
	}

	.sp-menu-item {
		margin: 0 5px 0px 0;
	}
	
	.sp-menu-item-label {
		padding: 3px;
	}

	.sp-menu-item::after{
		bottom: -2px;
	}

	.sp-main-content-block-img-container {
		padding: 30px 0;
	}

	.sp-main-content-content {
		padding: calc(30px*1) calc(15px*1);
	}

	.sp-content-text-top, .sp-content-text-top-sub {
		top: 63%;
	}

	.sp-content-image-top {
		height: auto;
	}

	.sp-content-image-top img {
		height: calc(30px*11);
	}

	.sp-main-content-box {
		padding: calc(30px*1.2);
		margin-bottom: 30px;
	}

	.sp-content-text-top {
		transform: none;
	}

	.sp-main-content-box img {
		width: 65%;
	}

	.sp-contacts {
		margin: 30px 0 0;
		padding: 0px;
	}

	.sp-login{
		padding: calc(30px*9) 15px;
	}

	.sp-sitebar {
		padding: 0 calc(5px*1);
	}

	.sp-contacts {
		margin: 15px 0 0;
	}

	.sp-map {
		margin: 0 15px 15px;
	}

	.sp-main-content-intro {
		padding: 15px;
	}

	.sp-login-box {
		width: 100%;
	}
	
	.slider {
		padding: 30px;
	}

	.sp-main-content-bottom img {
		width: 100%;
		padding: calc(5px*3);
	}
	
	.sp-main-content-block-img {
		height: 250px;
	}

	.sp-main-content-block-desc {
		height: 200px;
	}

	.sp-main-content-block:first-child {
		margin-top: 30px;
	}

	.parallax-service-icon {
		font-size: 3.5rem;
	}

	.parallax-text-center {
		width: 95%;
	}

	div.parallax:nth-child(4) > div:nth-child(2) {
		height: 200px;
	}

	div.parallax:nth-child(2) > div:nth-child(2) {
		height: 250px;
	}

	.sp-main-content-full-box {
		height: 250px;
	}

	.sp-main-content-partners-box {
		height: 250px;
	}

	.sp-main-content-full-box-title {
		font-size: 1.8rem;
		width: 92%;
	}

	.sp-main-content-partners-box-img {
		width: 60%;
	}

	.parallax-service-text {
		font-size: 1.5rem;
	}

	.parallax-service-desc{
		font-size: 1rem;
	}
	
	.slide-nav {
		width: 2rem;
	}
	
	.sp-main-content-intro {
		padding: 30px;
	}
	
	.squarelines {
		max-width: unset;
		padding: 0;
	}
	
	.slides:nth-child(3) {
		width: 100%;
		margin: -30px auto calc(30px*1);
		padding-top: unset;
	}
	
	a.sp-main-content-full-box:nth-child(1) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(2) > img:nth-child(1) {
		margin-top: -26%;
	}

	a.sp-main-content-full-box:nth-child(3) > img:nth-child(1) {
		margin-top: 0;
	}

	a.sp-main-content-full-box:nth-child(4) > img:nth-child(1) {
		margin-top: -18%;
	}

	a.sp-main-content-full-box:nth-child(5) > img:nth-child(1) {
		margin-top: -31%;
	}

	a.sp-main-content-full-box:nth-child(6) > img:nth-child(1) {
		margin-top: -10%;
	}
	
	.sp-main-content-full-box-img{
		height: auto;
	}
	
	.slides, .slide {
		height: 38vh;
	}

	.slides {
		padding-top: calc(30px*3.1);
		background-color: #4a6dc14d;
	}
}

@media only screen and (min-device-width: 375px) and (max-device-width: 450px) {
	.sp-main-content-full-box-img{
		height: 100%;
	}
	
	a.sp-main-content-full-box:nth-child(1) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(2) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(3) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(4) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(5) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(6) > img:nth-child(1) {
		margin-top:0;
	}
}

@media only screen and (min-device-width: 375px) and (max-device-width: 767px) {

	.sp-logo {
		height: calc(30px*1.4);
		margin:0 0 5px 0;
	}

	.sp-logo.scrolling-logo{
		height: calc(30px*1.3);
	}

	.sp-content-text-top {
		font-size: 2.5rem;
	}

	.sp-main-content-content {
		padding: calc(30px*1) calc(15px*1);
	}

	.sp-login{
		padding: calc(30px*9) 15px;
	}

	.sp-sitebar {
		padding: 0 calc(5px*1);
	}

	.sp-main-content-top {
		padding: calc(15px*1.5) calc(15px*1);
	}

	.sp-main-content-block-desc {
		padding: 0 calc(15px*1);
	}

	.sp-contacts {
		margin: 15px 0 0;
	}

	.sp-map {
		margin: 0 15px 15px;
	}

	.sp-main-content-intro {
		padding: 15px;
	}

	.sp-login-box {
		width: 100%;
	}

	.sp-contacts {
		padding: 0px;
	}

	.sp-sitebar {
		padding:unset;
	}
	
	.sp-menu {
		font-size: 1rem; 
		padding: 0; 
	}
}
@media only screen and (min-device-width: 255px) and (max-device-width: 375px) {

	.sp-main-content-full-box-img{
		height: 100%;
	}
	a.sp-main-content-full-box:nth-child(1) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(2) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(3) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(4) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(5) > img:nth-child(1) {
		margin-top:0;
	}

	a.sp-main-content-full-box:nth-child(6) > img:nth-child(1) {
		margin-top:0;
	}
}