:root {
    --primary: #7d7270;
    --secondary: #8B94A5;
    --secondary-darker:#A7A5B2;
    /*#835080   light   #A74E73*/
    --white: #ffffff;
    --white-trasparent: #ffffff8f;
    --white-trasparent-light: #ffffff36;
    --black: #000000;
    --black-trasparent: #00000067;
    --gray: #696767;
    --black-trasparent: #00000044;
    --azzurro:#b5dbf2;
    --blu-scuro:#157fb3;
    --white-opacity: #ffffff67;
    --border-color: #344647;
    --btn-back: #da9d1a;
    --btn-nav-back: #da9d1a;
    --btn-hover: #b29b81;
}
/*=================================================================
	BANNER POPUP
==================================================================*/

.popup {
    width: 295px;
    height: auto;
    position: fixed;
    
    z-index: 9000;
    right: -578px;
    bottom: 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.50);
    border: double 4px #157fb3;
    background: #fff;
    
}
.link-scopri{
    color:var(--black);
}
.link-scopri:hover{
    color:#157fb3;
}
.banner-content {
    background-color: #fff;
    padding: 1px 5px;
}

.banner-content h2 {
    letter-spacing: 2px;
    font-size: 40px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 20px 0;
}

/*.divisore {
	border-bottom:dashed 3px rgb(0,134,103);
	background:#fff;
}*/

.banner-content .fa {
    color: #157fb3;
    font-size: 2em;
}

.popup i {
    font-size: 1.5em;
    position: relative;
    padding: 4px;
    color: #000;
    z-index: 999;
}

.popup i:hover {
    cursor: pointer;
    color: #157fb3;
}

/*=================================================================
	FINE BANNER POPUP
==================================================================*/
html {
    overflow-x: hidden!important;
}

.title{
    font-size: calc(35px + (50 - 35) * ((100vw - 300px) / (1920 - 300))); 
    color:var(--blu-scuro);
    line-height: 1.3rem;
    padding:1em;
    font-weight: 500;
}
.container{
    max-width:1400px;
}
.button-scopri{
    color:var(--blu-scuro);
} 
.button-scopri-inverted{
    color:var(--blu-scuro);
} 

#video-back{
    position: relative;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.parallax-video, #video-parallax{
    height:35vh;
}
#video-parallax{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}
.logo-video{
    
    position: absolute;
}
.back-white-video{
    background-color: #ffffff45;
}
#video-back, .row-video{
    height:85vh;
}
.animated{
    animation-duration: 2s;
 }
body {
    overflow-x: hidden;
    font-family: "Urbanist", sans-serif;
}
body:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/slider/1.jpg) 
    url(../img/slider/2.jpg) 
    url(../img/slider/3.jpg)
    url(../img/slider/4.jpg); 
}
#bodytrasporti:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/slider-trasporti/trasporti.jpg) 
    url(../img/slider-trasporti/trasporti2.jpg);
}
#body-cremazioni:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/slider-cremazioni/1.jpg) 
    url(../img/slider-cremazioni/2.jpg)
    url(../img/slider-cremazioni/3.jpg);
}
#body-pratiche:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/slider-pratiche/1.jpg) 
    url(../img/slider-pratiche/2.jpg)
    url(../img/slider-pratiche/3.jpg);
}
#body-floreali:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/slider-floreali/1.jpg) 
    url(../img/slider-floreali/2.jpg)
    url(../img/slider-floreali/3.jpg);
}
#bodyallestimento:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1; 
    content:
    url(../img/slider-allestimento/1.jpg) 
    url(../img/slider-allestimento/2.jpg);
    
}
#map{
    height:368px;
}
.bordered{
    border:2px solid var(--white);
}
.header-trasporti, .row-header{
    min-height:65vh;
}
.header-trasporti{
    background-image: url("../img/slider-trasporti/trasporti.jpg");
    background-size: cover;
    background-position: 50%;
}
#headindex, .row-slider{
    min-height: 80vh;
}
#headindex{   
    backface-visibility: hidden;
    animation: headindex 20s linear infinite 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background: url("../img/slider/3.jpg") ;
    
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
@keyframes headindex{
    
    50%{
        background: url("../img/slider/4.jpg") ;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
}
#head-cremazioni{   
    backface-visibility: hidden;
    animation: cremazioni 20s linear infinite 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background: url("../img/slider-cremazioni/1.jpg") ;
    min-height: 99vh;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@keyframes cremazioni{
    33%{
        background: url("../img/slider-cremazioni/2.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    66%{
        background: url("../img/slider-cremazioni/3.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    
}
#head-pratiche{   
    backface-visibility: hidden;
    animation: cremazioni 20s linear infinite 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background: url("../img/slider-pratiche/1.jpg") ;
    min-height: 99vh;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@keyframes cremazioni{
    33%{
        background: url("../img/slider-pratiche/2.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    66%{
        background: url("../img/slider-pratiche/3.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    
}

#headtrasporti{   
    backface-visibility: hidden;
    animation: headtrasporti 20s linear infinite 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background: url("../img/slider-trasporti/trasporti.jpg") ;
    min-height: 99vh;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@keyframes headtrasporti{
    50%{
        background: url("../img/slider-trasporti/trasporti2.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    
}
#headfloreali{   
    backface-visibility: hidden;
    animation: headfloreali 20s linear infinite 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background: url("../img/slider-floreali/1.jpg") ;
    min-height: 99vh;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@keyframes headfloreali{
    33%{
        background: url("../img/slider-floreali/2.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    66%{
        background: url("../img/slider-floreali/3.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    
}
#head-allestimento{   
    backface-visibility: hidden;
    animation: headallestimento 20s linear infinite 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background: url("../img/slider-allestimento/1.jpg") ;
    min-height: 99vh;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@keyframes headallestimento{
    
    50%{
        background: url("../img/slider-allestimento/2.jpg") ;
        background-position: top;
        background-size: cover;
        background-attachment: fixed;
    }
    
}
.header-prodotti{
    background-image: url("../img/header-prodotti.jpg");
    background-size: cover;
    background-position:left;
    min-height:99vh;
    background-attachment: fixed;
}
.header-cimiteriali{
    background-image: url("../img/header-cimiteriali.jpg");
    background-size: cover;
    background-position:top;
    min-height:99vh;
    background-attachment: fixed;
}
.list li{
    margin-left:2rem;
    color:var(--blu-scuro);
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300))); 
}
.subtitle-h3, .subtitle-h3-inverted{
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
   
}
.subtitle-h3{
    color:var(--blu-scuro);
}
.subtitle-h3-inverted{
    color:var(--blu-scuro);   
}
.button-page{
    margin: 0.5rem;
    width: fit-content;
    text-decoration: none;
    background-color: var(--blu-scuro);
    border: 1px solid var(--blu-scuro);
    color: var(--azzurro);
    padding: 0.5em;
    text-align: center;
    display: inline-block;
    border-radius: 10px;
    white-space: nowrap;
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.button-page-inverted{
    margin: 0.5rem;
    width: fit-content;
    text-decoration: none;
    background-color: var(--azzurro);
    border: 1px solid var(--blu-scuro);
    color: var(--blu-scuro);
    padding: 0.5em;
    text-align: center;
    display: inline-block;
    border-radius: 10px;
    white-space: nowrap;
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.button-page-inverted:hover{
    background-color: var(--white);
    color: var(--blu-scuro);
    transition: all 0.5s;
}
.button-page:hover{
    background-color: var(--azzurro);
    color: var(--blu-scuro);
    transition: all 0.5s;
}
.row-padding{
    padding-left:3em;
    padding-bottom:2em;
}
/*animation*/
.img-hover-zoom {
     /* [1.1] Set it as per your need */
    overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  }
  
  /* [2] Transition property for smooth transformation of images */
  .img-hover-zoom img {
    transition: transform .5s ease;
  }
  
  /* [3] Finally, transforming the image when container gets hovered */
  .img-hover-zoom:hover img {
    transform: scale(1.1);
  }
 .animated{
    animation-duration: 2s;
 }
.hidden-desktop{
    display:none!important;
}
/* -------------- CLASSI ULILITY ------------------*/
/*flex-control*/
.flex-end {
    display: flex;
    justify-content: end;
}
.vertical-bottom{
    display: flex;
    align-items: end;
}
.flex-centered {
    display: flex;
    justify-content: center;
}
.vertical-center {
    display: flex;
    align-items: center;
}
.nopadding{
    padding:0;
}
.nomargin{
    margin:0;
}
.back-sfumatura{
    background: #ffffff;
    background: -webkit-linear-gradient(90deg, #ffffff9c 0%, #f8f8f800 100%);
    background: linear-gradient(90deg, #ffffff94 0%, #ffffff00 100%);
}
/*------------- TITLE E TESTI-----------------*/
.subtitle-contatti{
    font-weight: 700;
    text-transform: uppercase;
    padding-top:0em;
    
    padding-bottom: 0.5em;
    font-size: calc(45px + (45 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(----secondary-darker);
}

.subtitle-index{
    font-family: 'Kurale', serif;
    position: absolute;
    line-height: 3rem;
    padding:0.2em;
    font-size: calc(33px + (43 - 33) * ((100vw - 300px) / (1920 - 300)));
    left:10%;
    color:var(--black);
}

.title-page{
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    padding:0.2em;
    position: absolute;
    font-size: calc(83px + (100 - 83) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 800;
    color:var(--blu-scuro);
}

.overlay{
    padding:1em;
}
.icon-contatti{
    width:100px;
    position: absolute;
    top:-50px;
}
.subtitle { 
    font-weight: 600; 
    padding-top:1em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    font-size: calc(45px + (35 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(--blu-scuro);
}
.subtitle-inverted {
    font-weight: 600;
    padding-top:1em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    font-size: calc(45px + (35 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: var(--blu-scuro);
}
.subtitle-footer{
    font-style: italic;
    color: var(--blu-scuro);
    font-weight: 400;
    font-size: calc(45px + (35 - 22) * ((100vw - 300px) / (1920 - 300))); 
}
.text{
    font-style: italic;
    padding:2em;
    padding-top:0;
    color:var(--blu-scuro);
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300))); 
}
.text-inverted{
    font-style: italic;
    color:var(--blu-scuro); 
    padding:2em;
    padding-top:0;
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300))); 
}
.spacing-bottom{
    padding-bottom:1em;
}
/*------------------ VIDEO ------------------*/
.logo-footer{
    width:40%;
}
/*------------------ NAVBAR ------------------*/
.navbar {
    background-color: var(--white);
    
}
.dropdown-menu{
    width:300px;
    background-color: var(--secondary-darker);
    border-radius:unset;
    border:0;   
}
.dropdown-menu li{
    font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));   
}
.dropdown-menu li a{
    color: var(--white);   
}
.dropdown-menu li a:hover{
    background-color: var(--secondary);
    color:var(--white);
    font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
}
.navbar-expand-lg{
    flex-wrap: wrap;
    padding-bottom: 0;
}
.logo{
    position: absolute;
    left:0;
}
.nav-item {
    padding-right: 2em;
}
.nav-link {
    font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color:var(--blu-scuro);
}
.nav-link:hover{
    font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    color: var(--azzurro);  
}
/*-------------- FOOTER ---------------*/
.link-footer { 
    text-decoration: none;
    color: var(--black);
    font-size: calc(16px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.dati-aziendali {
    font-family: 'Roboto', sans-serif;
    background-color: #262626;
    color: var(--white);
    padding: 0.5em;
    margin-bottom: 0px;
}
.dati-aziendali  a{
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: var(--white);
    padding: 0.5em;
    margin-bottom: 0px;
}
.logo-footer{
    width:100%;
    padding:1em;
}
.col-footer{
    padding-left: 10em;
    padding-bottom:1.5em;
}
/*------------------- BORDI --------------------*/
.bordered-top{
    border-top:5px solid var(--blu-scuro);
}
.bordered{
    border:2px solid var(--white);
}
.collapse-button{
    padding:1em;
}
/*------------------- BACKGROUND IMAGE ---------------------*/
.back-addobbi-index{
    min-height: 55vh;
    background-image: url("../img/addobbi.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-servizi{
    min-height: 55vh;
    background-image: url("../img/servizi.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-cremazioni{
    min-height: 60vh;
    background-image: url("../img/cremazioni.jpg");
    background-position: left;
    background-size: cover;
}
.back-cofani {
    min-height: 60vh;
    background-image: url("../img/sfondo-1.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-allestimento {
    min-height: 55vh;
    background-image: url("../img/cimitero.jpg");
    background-position: 50% 5%;
    background-size: cover;   
}
.back-pratiche {
    min-height: 60vh;
    background-image: url("../img/pratiche.jpg");
    background-position: 39% 49%;
    background-size: cover;      
}
.back-sfondo-3 {
    min-height: 50vh;
    background-image: url("../img/sfondo-3.jpg");
    background-position: center;
}
.back-pratiche-1 {
    min-height: 65vh;
    background-image: url("../img/pratiche/1.jpg");
    background-position: 50% 5%;
    background-size: cover;  
}
/*cremazioni*/
.back-sala {
    min-height: 65vh;
    background-image: url("../img/cremazione/back-sala.jpg");
    background-position: 50% 5%;
    background-size: cover; 
}
.back-consulenza {
    min-height: 65vh;
    background-image: url("../img/cremazione/consulenza.jpg");
    background-position: 50% 5%;
    background-size: cover;   
}
/*cremazioni*/
.back-cimiteriali-1 {
    min-height: 65vh;
    background-image: url("../img/cimiteriali/2.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-cimiteriali-2 {
    min-height: 65vh;
    background-image: url("../img/cimiteriali/1.jpg");
    background-position: 50% 5%;
    background-size: cover;   
}
.back-composizione-1{
    min-height: 65vh;
    background-image: url("../img/composizioni/1.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-composizione-2{
    min-height: 65vh;
    background-image: url("../img/composizioni/2.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-pratiche-2{
    min-height: 65vh;
    background-image: url("../img/pratiche/2.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-allestimento-1{
    min-height: 50vh;
    background-image: url("../img/allestimento/1.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-allestimento-2{
    min-height: 65vh;
    background-image: url("../img/allestimento/2.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-vendita-1{
    min-height: 65vh;
    background-image: url("../img/prodotti/1.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
.back-vendita-2{
    min-height: 65vh;
    background-image: url("../img/prodotti/2.jpg");
    background-position: 50% 5%;
    background-size: cover;
}
/*-------------- LINK ---------------------*/
.container-wa{
    background-color: var(--azzurro);
    padding:0.7em;
    border-radius:20%;
    border:4px solid var(--blu-scuro);
    z-index:999999999;
    position: fixed;
    bottom: 25px;
    right: 25px;
}
.icon-wa{
    font-size:4rem;
}
.button {
    cursor:pointer;
    white-space: nowrap;
    
    text-decoration: none;
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    color: var(--white);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.container-button{
    padding-top:1em;
    padding-bottom:2em;
}
.container-button-pdf{
    padding-top:0.3em;
    padding-bottom:1em;
}
.button-pdf{
    cursor:pointer;
    display:block;
    text-align: center;
    width:80%;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    background-color: var(--white);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5em;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button-pdf:hover{
    cursor:pointer;
    display:block;
    text-align: center;
    width:80%;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    background-color: var(--secondary);
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.5em;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button-inverted {
    white-space: nowrap;
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button-inverted:hover {
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.button:hover {
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.5em;
    border-radius: 10px;
    font-size: calc(20px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
}
.row-nav{
    margin-right:0.3rem;
}
.btn-nav {  
    text-decoration: none;
    background-color: var(--blu-scuro);
    border: 1px solid var(--blu-scuro);
    color: var(--azzurro);
    padding: 0.5em;
    text-align: center;
    display: block;
    border-radius: 10px;
    white-space: nowrap;
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.btn-nav:hover {
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--blu-scuro);
    color: var(--blu-scuro);
    padding: 0.5em;
    text-align: center;
    display: block;
    border-radius: 10px;
    white-space: nowrap;
    font-size: calc(18px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
}
.reperibilita{
    padding-top:0.5em;
    text-align: center;
    font-weight: 800;
    color:var(--blu-scuro);
    text-transform: uppercase;
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
}
/*--------------------------- CLASSI COLORI TESTO ----------------------------------*/
.white {
    color: var(--white);
}
.black{
    color: var(--black);
}
.back-white{
    background-color: var(--white);
}
.back-white-trasparent{
    background-color: var(--white-trasparent);
}
.back-white-trasparent-page{
    background-color: var(--white-trasparent-light);
}
.back-black-trasparent{
    background-color: var(--black-trasparent);
}
.back-icon{
    background-color: var(--secondary);
    border-radius: 50%;  
}
.back-viola{
    /*ackground-color: var(--secondary-darker);*/
    background-color: #b5dbf2;
}
.bordered{
    border:3px solid white;
}

/*-------------------------------------*/
.icon{
    width:80%;
    padding:1em;
}
.subtitle-icon{
    font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300))); 
    
}
.link-icon{
    text-decoration: none;
    color:var(--black);
}
@media only screen and (max-width:2560px) and (max-height:800px) {
    .back-cofani{
        min-height:80vh;
    }
    .back-cremazioni{
        min-height:80vh;
    }
}
@media only screen and (max-width:1703px) {
    .nav-link {
        font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1920 - 300)));
    }
    .nav-item{
        padding:0.3em;
    }
    .subtitle-index{
        padding:0;
        line-height: 1.5;
        font-size: calc(35px + (40 - 35) * ((100vw - 300px) / (1920 - 300)));
        color:var(--black);
    }
    .img-logo{
        padding-top:3em;
    }
}
@media only screen and (max-width:1464px) {
    
    .nav-link {
        font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1920 - 300)));
    }
    .nav-link:hover{
        font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1920 - 300)));
    }
    .btn-nav{
        font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1920 - 300)));
    }
    .reperibilita{
        font-size: calc(13px + (14 - 13) * ((100vw - 300px) / (1920 - 300)));
    }
    .logo-nav{
        max-width: 186px;
    }
    .back-cofani{
        min-height:80vh;
    }
    .row-nav{
        margin:0;
    }

    .row-chiama{
        display:none;
    }
    .row-chiama-logo{
        display:block;
    }
    .nav-item{
        padding:0.5em;
    }
    .back-macchina-negozio{
        background-position: right;
    }
    .img-logo{
        float:left;
        width:70%;
    }
    .subtitle-index{
        padding:0;
        padding-left: 1.5em;
        line-height: 1.5;
        font-size: calc(45px + (50 - 45) * ((100vw - 300px) / (1920 - 300)));
        color:var(--black);
    }
    .logo-footer{
        width:100%;
    }
    .back-cremazioni{
        min-height: 82vh;
    }
    .col-footer{
        padding-left:0;
    }
    #headindex, .row-slider{
        min-height: 78vh;
    }
    .icon-wa{
        font-size:2.5rem;
    }
}
@media only screen and (max-width:1285px) {
    .nav-item{
        padding:0.1em;
    }
    .logo-nav{
        max-width:120px;
    }
    .nav-item{
        padding-right: 0;
    }
    .reperibilita{
        
        font-size: calc(11px + (12 - 11) * ((100vw - 300px) / (1920 - 300)));
    }
    .btn-nav{
        font-size: calc(9px + (10 - 9) * ((100vw - 300px) / (1920 - 300)));
    }
    .nav-link {
        font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1920 - 300)));
    }
}

@media only screen and (max-width:991px) {
    .row-footer{
        justify-content: center;
    }
    .logo-nav{
        max-width:220px;
    }
    .col-footer{
        text-align: center;
    }
    .btn-nav{
        font-size: calc(14px + (15 - 14) * ((100vw - 300px) / (1920 - 300)));
    }
    .reperibilita{
        font-size: calc(14px + (15 - 14) * ((100vw - 300px) / (1920 - 300)));
    }
    .back-servizi, .back-cremazioni, .back-pratiche, .back-sfondo-3, .back-addobbi-index, .back-cofani{
        min-height:35vh;
    }
    .img-hover{
        width:50%;
    }
    .container-wa{
        bottom:8vh;
    }
    #headindex{   
        background-size:cover;
    }

}

@media only screen and (max-width:780px) {
    .list li{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300))); 
    }
    .row-chiama{
        display:none;
    }
    .row-chiama-logo{
        display:block;
    }
    
    .img-logo{
        padding-top:1em;
    }
    .subtitle-index{
        padding:0;
        padding-left: 1.5em;
        line-height: 1.2;
        font-size: calc(35px + (40 - 35) * ((100vw - 300px) / (1920 - 300)));
        color:var(--black);
    }
    .nav-link {
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
        font-weight: 600;
        color:var(--white);
        
    }
    .navbar-collapse{
        justify-content: start;
    }
    .nav-link:hover {
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
        font-weight: 600;
        color:var(--secondary);
        
    }
    .dropdown-menu li a{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    }
    /*------------------- BACKGROUND IMAGE ---------------------*/
    .nav-item{
        padding-right:0;
    }
    .navbar{
        border-bottom:2px solid var(--secondary);
    }
    .back-preventivo{
        padding:0.5em;
    }
    .hidden-desktop{
        display:unset!important;
    }
    .header-negozio{ 
        min-height: 85vh; 
    }
    .header-filati{ 
        min-height: 85vh; 
    }
    .header-macchine-elettroniche{
        min-height: 85vh;
    }
    .back-macchina-negozio{  
        min-height:45vh;  
    }
    .back-merceria{ 
        min-height:45vh; 
    }
    .back-macchine-cucito{
        min-height:45vh;  
    }
    .back-preventivo {  
        min-height: 45vh; 
    }
    .back-riparazione {
        min-height: 45vh;  
    }
    
    .container-button{
        text-align: center;
    }
    .logo-footer{
        width: 100%;
    }
    .nav-link{
        padding-left:1em;
        padding-top:0.2em;
        padding-bottom:0.2em;
    }
    
    .text{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300))); 
    }
    .text-inverted{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300))); 
    }
    .link-footer{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    }
    .col-footer{
        font-size: calc(22px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    }
}
@media only screen and (max-width:630px) {
    
    .header-trasporti, .row-header{
        min-height:85vh;
    }
   .img-hover{
        width:100%;
   }
    #map{
        height:35vh;
    }
    .leaflet-popup-content{
        font-size: calc(13px + (14 - 13) * ((100vw - 300px) / (1920 - 300)));
    }
    .col-footer{
        padding:1em;
    }
    .container-wa{
        bottom:20vw;
        right:1px;
    }
    .row-padding{
        
        justify-content: center;
        width: 100%;
    }
    .button-page{
        width:unset;
        font-size: unset;
    }
    .button-page-inverted{
        width:unset;
        font-size: unset;
    }
    .title{
        font-size: calc(35px + (50 - 35) * ((100vw - 300px) / (1920 - 300))); 
        color:var(--blu-scuro);
        line-height: 2rem;
        padding:0.5em;
        
        font-weight: 500;
    }
    
    .img-logo{
        padding-top:1.8em;
    }
    .subtitle-index{
        padding:0;
        padding-left: 2.3em;
        line-height: 0.8;
        font-size: calc(24px + (26 - 24) * ((100vw - 300px) / (1920 - 300)));
        color:var(--black);
    }
    
    .subtitle-contatti{
        font-weight: 700;
        text-transform: uppercase;
        padding-top:0em;
        padding-bottom: 0.5em;
        font-size: calc(35px + (35 - 24) * ((100vw - 300px) / (1920 - 300)));
        color: var(--secondary);
    }
    .dropdown-menu li a{
        font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    }
    .nav-link{
        text-transform: unset;
        color: var(--secondary-darker);
        font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    }
    .nav-link:hover {
        font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
        
        font-weight: 600;
        color:var(--secondary-darker);
        
    }
    .link-footer{
        font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    }
    .navbar{
        
        border-bottom:2px solid var(--secondary);
    }
    .col-footer{
        font-size: calc(18px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    }
    .facebook{
        color:var(--white);
        padding:1em;
        font-weight: 300;
        background-color: var(--secondary);
    }
   
    .container-button{
        text-align: center;
    }
    .logo-footer{
        width:100%;
    }
    .subtitle-inverted{
        padding-left:0.5em;
        font-size: calc(28px + (32 - 28) * ((100vw - 300px) / (1920 - 300)));
    }
   
    .subtitle{
        padding-left:0.5em;
        font-size: calc(24px + (32 - 24) * ((100vw - 300px) / (1920 - 300)));
    }
    .text-inverted{
        padding:1em;
        font-size: calc(19px + (22 - 19) * ((100vw - 300px) / (1920 - 300)));
    }
    .list li{
        margin-left:0.3rem;
        font-size: calc(19px + (22 - 19) * ((100vw - 300px) / (1920 - 300)));
    }
    .dati-aziendali{
        padding:1em;
        font-size: calc(14px + (14 - 11) * ((100vw - 300px) / (1920 - 300)));
    }
    .subtitle-h3{
        padding-left:0.2em;
    }
    .navbar-collapse{
        justify-content: start;
        text-align: left;
    }
   
    .title-page{
       
        text-transform: uppercase;
        padding:0.2em;
        font-size: calc(48px + (70 - 50) * ((100vw - 300px) / (1920 - 300)));
        font-weight: 800;
        color:var(--secondary); 
    }
    
    /*------------------- BACKGROUND IMAGE ---------------------*/
    .facebook{
        padding:0.5em;
        padding-left: 1em;
    }
    .button-pdf{
        width: 100%;
    }
    .text{
        padding:0.7em;
        font-size: calc(19px + (22 - 19) * ((100vw - 300px) / (1920 - 300)));
    }
    
    #headtrasporti{   
        backface-visibility: hidden;
        animation: headtrasporti 20s linear infinite 0s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        background: url("../img/slider-trasporti/trasporti.jpg") ;
        min-height: 99vh;
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: unset;
    }
    @keyframes headtrasporti{
        50%{
            background: url("../img/slider-trasporti/trasporti2.jpg") ;
            background-position: top;
            background-size: cover;
            background-attachment: unset;
        }
    }
    .icon-wa{
        font-size:2rem;
    }
    @media only screen and (max-width:551px) {
        .logo-nav{
            width: 30vw;
        }
        
        .subtitle-index{
            padding-left: 0.8em;
            padding-bottom:0.3em;
            
        }
    }
}