:root {
    --navbar-height: 0px;
    
    --color-primary: #b73135;
    --color-secondary: #ff8e03;
    --color-dark: #333132;
    --color-light: #d9d9d9;
    
    --color-body: #91282b;
    
    --color-form-cornice: #8f8e8d;

    --fs-6: 0.875rem;
    --fs-5: 1.0rem;
    --fs-4: 1.25rem;
    --fs-3: 1.5rem;
    --fs-2: 1.875rem;
    --fs-1: 2.25rem;
    --max-width: min(1920px,100vw);

    --navbar-height: 75px;
}

b{
    font-weight: 900;
}

#canvas {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    z-index: -1;
    background-color: white;
}

.container-fluid {
    max-width: var(--max-width);
    
}

.intro {
    /*background-image: url('/nsw/assets/images/Screenshot%202023-12-20%20alle%2018.08.48.png');*/
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    position: relative;
    display: block;
    
    height: 90vh;
    max-height: 900px;
}

.colline {
    background-image: url('/nsw/assets/images/forme/colline.svg');
    position: absolute;
    right: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center top;
    height: 250px;
    background-size: cover;
    bottom: -2px;
}

.chi-siamo {
    background-image: url('/nsw/assets/images/index/foto-sfondo-chi-siamo-2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 30px;
    background-color: white;
}


.titolo-flex {
    display: inline-flex;
    flex-direction: column;
    max-width: 75vw;
}

.titoli2 {
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: var(--fs-1);
    text-align: left;
    color: #333132;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.titoli3 {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    color: #333132;
    font-size: var(--fs-3);
    text-align: left;
    letter-spacing: 1px;
    z-index: 1;
    position: relative;
    margin: 0 10px 0 0;
}

.titoli2 span {
    position: absolute;
    font-family: 'Overpass', sans-serif;
    font-size: 150px;
    top: -55px;
    left: -90px;
    
    color: rgba(183, 49, 53, 0.4);
    z-index: -1;
    font-weight: 700;
}

.titoli4 {
    font-family: 'Overpass', sans-serif;
    font-size: var(--fs-4);
    font-weight: 800;
    color: #b73135;
    letter-spacing: 1px;
}

.testo1 {
    font-family: 'Overpass', sans-serif;
    text-align: justify;
    font-weight: 400;
    font-size: var(--fs-6);
    color: #333132;
    line-height: 25px;
    letter-spacing: 1px;
}

/* .titoli3:before {
    content: " ";
    display: block;
    position: absolute;
    background-image: url('/nsw/assets/images/linea-arancione.svg');
    background-repeat: no-repeat;
    background-position: right center;
    right: 0;
    left: 140px;
    height: 30px;
    background-size: contain;
} */
.testo1 span {
    font-family: 'Overpass', sans-serif;
    font-style: italic;
    font-weight: 900;
}

.colline-trat-a {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -70px;
    height: 230px;
    background-image: url('/nsw/assets/images/forme/colline-tratteggiate-arancione-2.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.img1-chi-siamo {
    border-radius: 20px;
}

.linea-del-tempo {
    margin-top: 100px;
    margin-bottom: 40px;
    background-position: center center;
    background-repeat: repeat-x;
    background-image: url('/nsw/assets/images/forme/linea-tratteggiata-3.svg');
    background-size: contain;
}

.casetta {
    background-image: url('/nsw/assets/images/forme/casa.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 80px;
    position: relative;
}

.casetta p {
    text-align: center;
    margin-bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    top: 35px;
}

.testo2 {
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
    color: #333132;
    line-height: 25px;
    font-size: var(--fs-5);
}

.casetta div {
    position: absolute;
    right: 0;
    left: 0;
    background-image: url('/nsw/assets/images/forme/linea-punto.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 40px;
    top: -45px;
}

.chi-siamo a {
    font-family: 'Overpass', sans-serif;
    padding: 10px 30px;
    border-radius: 10px;
}

.servizi {
    position: relative;
    padding-bottom: 120px;
    background-color: white;
    z-index: 1;
}

.servizi .btn{
    
    font-family: 'Overpass', sans-serif;
}

.muro {
    background-color: var(--bs-primary);
    background-repeat: repeat;
    background-image: url('/nsw/assets/images/muro1-def.jpg');
    background-position: center center;
    background-size: contain;
    position: absolute;
    right: 0;
    left: 0;
    top: 350px;
    bottom: 0;
    z-index: -1;
}

.categorie-servizi {
    display: block;
    
    position: relative;
    
    margin-bottom: 50px;
}

.categorie-servizi img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.rettangolo-nero-servizi {
    height: 100px;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 85px;
    background-image: url('/nsw/assets/images/forma-nera.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    border-bottom-left-radius: 15px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

rettangolo-nero-servizi:before {
}

.rettangolo-grigio-servizi {
    background-color: #d9d9d9;
    height: 85px;
    left: 0;
    right: 0;
    position: absolute;
    bottom: -50px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;

}

.rettangolo-grigio-servizi img {
    float: right;
    height: 100%;
    padding: 12px;
}

.rettangolo-nero-servizi h4 {
    color: white;
    text-align: center;
    margin-bottom: 0;
    padding: 0 25px 0 10px;
}

.perche-sceglierci {
    position: relative;
    z-index: 2;
}

.colline-trat-g {
    position: absolute;
    right: 0;
    left: 0;
    top: 260px;
    height: 230px;
    background-image: url('/nsw/assets/images/forme/colline-tratteggiate-grigie-3.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

card1-perche-sceglierci {
    width: 50%;
}

.card1 {
    background-image: url('/nsw/assets/images/valori-2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 120px;
}

.card2 {
    
    background-image: url('/nsw/assets/images/valori.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.card1 h2 {
    color: white;
    font-size: var(--fs-3);
}

.card1 h3 {
    color: white;
    font-size: var(--fs-4);
}

.card1 h2 span {
    top: -38px;
    left: -120px;
}

.card1 p {
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.valori {
    background-color: white;
    border-radius: 20px;
    /* margin-left: 220px; */
    margin-left: 0;
    margin-right: -80px;
    position: relative;
    height: 150px;
    margin-top: 80px;
}

.valori h4 {
    font-family: 'Overpass', sans-serif;
    font-size: var(--fs-5);
    position: relative;
    margin: 0;
    text-align: center;
}

.casetta-valori {
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
    top: -52px;
}

.casetta-valori img {
    height: 100px;
}

.valori-card1 {
    position: relative;
    border-right: 3px solid #ff8e03;
    margin-top: 20px;
    margin-bottom: 20px;
}

.valori-card2 {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

.progetti {
    z-index: 2;
    position: relative;
}

.muro2 {
    background-image: url('/nsw/assets/images/muro2-def.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
    top: 460px;
}

.progetti h4 {
    text-align: center;
    font-style: normal;
    margin-bottom: 0;
    margin-top: 0;
}

.progetti a {
    display: block;
    font-style: normal;
    text-align: center;
    color: #333132;
    font-size: var(--fs-5);
    letter-spacing: 0;
    font-family: 'Overpass', sans-serif;
    font-weight: 800;
}

.lavori {
    position: relative;
    height: 306px;
    z-index: 1;
    padding: 30px;
    
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin: 20px;
}

.titoli5 {
    font-family: 'Overpass', sans-serif;
    font-size: var(--fs-5);
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.chi-siamo h4 {
    font-style: italic;
    margin-bottom: 15px;
}

.casetta h5 {
    position: absolute;
    color: #b73135;
    left: -15px;
    right: -15px;
    top: -66px;
    text-align: center;
    font-family: 'Overpass', sans-serif;
}


.lavori h5 {
    text-align: left;
    margin-bottom: 20px;
}

.lavori p {
    color: #ff8e03;
    margin: 0;
}

.casetta-lavori {
    position: absolute;
    left: 22px;
    top: -25px;
}

.card-lavori {
    position: absolute;
    z-index: -1;
    border-radius: 15px;
    border-top: 5px solid #ff8e03;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


.lavori-card-bg {
    position: relative;
    border-radius: 15px;
    border-top: 5px solid #b73135;
    width: 100%;
    position: relative;
    padding: 70% 0 0;
    overflow: hidden;
}
.lavori-card-bg>img{
    position: absolute;
    top:0;left:0;
    /*
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    */
    width: 100%;
    height: 100%;
    
    object-fit: cover;
    object-position: center;
    transition: all 0.15s;
}

.lavori-card:hover .lavori-card-bg>img,
.lavori-card:focus .lavori-card-bg>img{
    transform: scale(1.15);
    filter:blur(4px);
}


.lavori-card {
    display: block;
    position: relative;
}
.owl-carousel .lavori-card{
    width: 400px;
    max-width: 90vw;
    margin:30px auto 0px;
}

.galleria-lavori .lavori-card{
    margin: 30px 15px 0px;
}

.lavori-card-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;

}

.lavori-card-container p {
    color: #ff8e03;
    margin: 0;
}

.casetta-lavori img {
    height: 80px;
    width: initial!important;
}

.colline-trat-g-2 {
    position: absolute;
    right: 0;
    left: 0;
    top: 370px;
    height: 230px;
    background-image: url('/nsw/assets/images/colline-tratteggiate-grigie-4.svg');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}

.icona-indirizzo {
    height: 30px;
    width: 30px;
    background-image: url('/nsw/assets/images/indirizzo.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-right: 10px;
}

.vedi-di-piu {
    width: 40px;
    height: 40px;
    background-color: #ff8e03;
    border-radius: 10px;
    
    
}

.vedi-di-piu img {
    width: 30px;
    height: 30px;
}

.piede {
    margin-top: 100px;
    z-index: 1;
}

.piede h2 span {
    color: rgba(255, 255, 255, 0.5);
    left: -120px;
}

.linea-arancione {
    height: 3px;
    background-color: #b73135;
    flex: 1 0 0;
}

.linea-bianca {
    height: 3px;
    background-color: white;
    flex: 1 0 0;
}

.contatti {
    background-color: white;
    border-radius: 15px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;

    /* width: 420px */
    position: relative;
    margin: 40px 0 40px 0px;
}

.contatti img {
    width: 58px;
    height: 58px;
    position: absolute;
    left: -27px;
}

.contatti h4 {
}

.contatti a {
    color: #333132;
    font-family: 'Overpass', sans-serif;
    font-weight: 600;
    font-size: var(--fs-5);
    letter-spacing: 1px;
    margin-left: 50px;
    margin-right: 40px;
    text-align: center;
    text-decoration: none;
}

.testo3 {
    color: #333132;
    font-size: var(--fs-3);
    line-height: 1.4;
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    
    margin: 0;
}

.testo3 span {
    font-weight: 900;
    font-style: italic;
}

.titoli1 {
    font-family: 'Overpass', sans-serif;
    font-size: 40px;
    color: white;
    font-weight: 500;
    line-height: 60px;
    margin-top: 20px;
}

.titoli1 span {
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-style: italic;
    color: #ff8e03;
}

.form {
    background-image: url('/nsw/assets/images/form-casa.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 560px;
    position: relative;
    padding-top: 160px;
}

.nuvoletta {
    background-image: url('/nsw/assets/images/nuvoletta.svg');
    position: absolute;
    background-repeat: no-repeat;
    background-position: right center;
    bottom: -50px;
    width: 450px;
    height: 400px;
    right: 0;
}

.form2 {
    background-color: white;
    padding: 16px;
    border-radius: 25px;
    border: 13px solid #333132;
    position: relative;
    
}

.form2 h4 {
    text-align: center;
    font-family: 'Overpass', sans-serif;
    font-size: var(--fs-2);
    margin-top: 35px;
    font-style: italic;
    font-weight: 900;
}

.form2 .form-control {
    /*background-color: #d9d9d9;*/
    
}

.gancio {
    display: none;
    position: absolute;
    background-image: url('/nsw/assets/images/gancio.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    top: -470px;
    height: 520px;
    left: 0;
    right: 0;
    z-index: 1;
}

.cornice {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    border: 8px solid #8f8e8d;
    border-radius: 10px;
    pointer-events: none;
}

.form2 button {
    
    border-radius: 10px;
    padding: 10px 30px;
}

.intro img {
    width: 70%;
}

.intro-interno img {
    width: 70%;
}

.linea-del-tempo-mobile {
    
    margin-top: 50px;
}

.casetta-mobile {
    margin-top: 70px;
    margin-bottom: 50px;
}

.valori-mobile {
    position: relative;
    background-color: white;
    padding-top: 30px;
    
    border-radius: 20px;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 50px;
}

.valori-mobile h4 {
    font-family: 'Overpass', sans-serif;
    position: relative;
    margin: 0;
    text-align: center;
}

.valori-card1-mobile:not(:last-child) {
    position: relative;
    border-bottom: 3px solid #ff8e03;
    margin-bottom: 30px;
}

.valori-card1-mobile h4 {
    font-family: 'Overpass', sans-serif;
    font-size: var(--fs-5);
    text-align: center;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

.casetta-valori-mobile {
    text-align: center;
}

.casetta-valori-mobile img {
    height: 80px;
}

.valori-card2-mobile {
    position: relative;
}

.valori-card2-mobile h4 {
    margin-top: 30px;
    font-family: 'Overpass', sans-serif;
    position: relative;
    text-align: center;
}

.card2-mobile {
    height: 450px;
    background-image: url('/nsw/assets/images/valori.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.intro-row {
    padding-top: 50px;
}

.intro-interno {
    
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;

    height: 66vh;
    max-height: 600px;
}

body.page-chi-siamo .intro-interno{
    background-image: url('/nsw/assets/images/intro-chi-siamo.jpg');
    
}
body.page-contattaci .intro-interno{
    background-image: url('/nsw/assets/images/intro-contattaci.jpg');
    background-position: right 33% top 45%;
}
body.page-servizi .intro-interno{
    background-image: url('/nsw/assets/images/intro-servizi.jpg');
}
body.page-lavori .intro-interno{
    background-image: url('/nsw/assets/images/intro-lavori.jpg');
    background-position: right 40% top 45%;
}

.intro-interno-row {
    padding-top: 50px;
    padding-bottom: 250px;
}

.colline-interno {
    background-image: url('/nsw/assets/images/colline-specchiate-2.svg');
    position: absolute;
    right: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center top;
    height: 180px;
    background-size: cover;
    bottom: -2px;
}

.colline-tratt-a-interno {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -70px;
    height: 230px;
    background-image: url('/nsw/assets/images/colline-tratteggiate-arancione-interno.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.chi-siamo-interno {
    background-image: url('/nsw/assets/images/index/foto-sfondo-chi-siamo-2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /*margin-top: 30px;*/
}

.chi-siamo-interno h3 {
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
    font-size: var(--fs-1);
    border-bottom: 4px solid #b73135;
    padding-bottom: 5px;
    padding-left: 50px;
    padding-right: 50px;
    margin: 0 0 25px;
}

.cerchio1 {
    height: 40px;
    width: 40px;
    background-color: white;
    border-radius: 200px;
    border: 10px solid #b73135;
    position: absolute;
    left: -28px;
    bottom: -20px;
    z-index: 1;
}

.chi-siamo-interno h4 {
    padding-left: 50px;
    padding-right: 50px;
}

.chi-siamo-interno p {
    padding-left: 50px;
    padding-right: 50px;
}

.cerchio2 {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 200px;
    border: 10px solid #b73135;
    position: absolute;
    right: -28px;
    bottom: -20px;
    z-index: 1;
}

.cerchio3 {
    height: 20px;
    width: 20px;
    position: absolute;
    background-color: #b73135;
    border-radius: 200px;
    bottom: -8px;
    right: 0;
}

.cerchio4 {
    height: 20px;
    width: 20px;
    position: absolute;
    background-color: #b73135;
    border-radius: 200px;
    left: 0;
    bottom: -8px;
}

.casetta-chi-siamo {
    position: absolute;
    left: -160px;
    bottom: -40px;
}

.casetta-chi-siamo img {
    height: 100px;
}

.casetta-chi-siamo2 {
    position: absolute;
    right: -160px;
    bottom: -40px;
}

.casetta-chi-siamo2 img {
    height: 100px;
}

.linea-chi-siamo {
    position: absolute;
    background-image: url('/nsw/assets/images/dash-repeat-y.svg');
    background-repeat: no-repeat space;
    background-position: center top;
    background-size:auto 10px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    
}

.muro3 {
    background-image: url('/nsw/assets/images/muro2-def.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    left: 0;
    top: -140px;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.servizi-interno {
    background-color: white;
/*    background-image: url('/nsw/assets/images/sfondo-servizi-2.png');*/
    background-repeat: repeat;
    background-position: center top;
    padding-bottom: 50px;
    /*padding-top: 50px;*/
}

.colline-trat-g-interno {
    position: absolute;
    right: 0;
    left: 0;
    top: -230px;
    height: 230px;
    background-image: url('/nsw/assets/images/colline-tratteggiate-grigie-4.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.lavori-interno {
    display: flex;
    flex-direction: column-reverse;
    margin: 25px;
    padding: 20px;
    position: relative;
    z-index: 1;
    height: 236px;
}

.lavori-interno p {
    color: #ff8e03;
    margin: 0;
}

.grigio-interno {
    background-color: #d9d9d9;
    height: 80px;
    left: 0;
    right: 0;
    position: absolute;
    margin-left: 20px;
    margin-right: 20px;
    bottom: 0;
    border-radius: 15px;
    transition: transform 0.1s;
}

.indice-servizi:not(:hover) .grigio-interno{
    transform: scale(0.9);
}


.grigio-interno img {
    float: right;
    width: 80px;
    padding: 8px;
    margin-right: 5px;
}

.nero-interno {
    height: 80px;
    position: absolute;
    left: 0;
    right: 100px;
    background-image: url('/nsw/assets/images/forma-nera2.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.nero-interno .titoli4 {
    color: white;
    text-align: center;
    padding-right: 20px;
    padding-left: 10px;
    top: 0;
    bottom: 0;
    font-size: var(--fs-5);
    text-decoration: none;
}

.indice-servizi {
    display: block;
    height: 80px;
    margin-top: 15px;
}

.casetta-chi-siamo-mobile {
    position: absolute;
    top: -120px;
    left: 43px;
}

.casetta-chi-siamo-mobile img {
    display: none;
    height: 80px;
}

.casetta-chi-siamo2-mobile {
    display: none;
    position: absolute;
    top: -120px;
    right: 43px;
}

.casetta-chi-siamo2-mobile img {
    height: 100px;
}

.linea-chi-siamo-mobile {
    position: absolute;
    background-image: url('/nsw/assets/images/dash-repeat-y.svg');
    background-repeat: no-repeat space;
    background-position: center top;
    background-size:100% auto;
    
    top: 50px;
    bottom: 0;
    left: -1px;
    width: 2px;
}

.linea-chi-siamo-mobile2 {
    position: absolute;

    background-image: url('/nsw/assets/images/dash-repeat-y.svg');
    background-repeat: no-repeat space;
    background-position: right top;
    background-size:100% auto;
    
    top: 50px;
    bottom: 0;
    right: -1px;
    width: 2px;
}

.card-servizi-interno {
    margin-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 20px;
}

.card-servizi-interno img {
    border-radius: 15px;
}

.muro4 {
    background-image: url('/nsw/assets/images/muro2-def.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.muro5 {
    background-image: url('/nsw/assets/images/muro3-def-def.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.piede-interno {
    padding-bottom: 100px;
    padding-top: 100px;
    z-index: 1;
}

.colline-interno-servizi {
    position: absolute;
    right: 0;
    left: 0;
    height: 180px;
    bottom: 0px;

    background-image: url('/nsw/assets/images/colline-specchiate-servizi.png');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  /*  
    -webkit-mask-image: url('/nsw/assets/images/colline-specchiate-servizi.png');
    -webkit-mask-position: center top;
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    
    background-color: white;
    background-image: url('/nsw/assets/images/sfondo-servizi-2.png');
    background-repeat: repeat;
    background-position: center bottom;
*/

}

.intro-video {
    display: block;
    position: absolute;
    top:0;
    left:0;
    right: 0;
    bottom:0px;
    overflow: hidden;
}
.intro-video>video {
    display: block;
    position: absolute;
    top: -10%;
    right: 0%;
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: top center;
    /*transform: scaleX(1);*/
}

.intro-video > .container  {
    height: 85%;
    position: relative;
}

.intro-video h2 {
    line-height: 1.5;
    text-shadow: rgba(255, 255, 255, .75) 0 0 0, #000 1px 0 5px;
    color: rgba(255, 255, 255, 0);
}
.intro-video h2 span {
    font-size: 150%;
    font-weight: 900;
    color: #fff;
    text-shadow: #000 1px 0 5px;
}

.colore-body {
    background-color: #2a1819;
}

.colore-sfondo {
    background-color: white;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 60px;
}


/* OWL */
.owl-theme .owl-dots .owl-dot span{

}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span{

}

/*  */
anchor {
    width: 20px;
    height: calc(2 * var(--navbar-height) + 0.5rem);
    margin-top: calc(-2 * var(--navbar-height) - 0.5rem);
    position: absolute;

}

nav.navbar {
    position: fixed;
    top: 0;
    width: var(--max-width);
    z-index: 10;
    

    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px); 
    padding-top: 10px;
    padding-bottom: 10px;
    background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
}

.navbar .container-fluid{

}

@media (max-width:992px){
    .intro {
        height: 85vh;
    }

    .intro-video h2 {
        line-height: 1.5;
    }
}
@media (max-width:767.98px){
    .intro {
        height: 85vh;
    }
    .intro-video>video{
        height: 110%;
    }
    .colline{
        height: 180px;
    }
    .colline-trat-a{
        height: 180px;
        bottom:-35px;

    }

    .colline-interno {
        height: 100px;
    }

    .colline-tratt-a-interno{
        bottom: -115px;
    }

    .navbar-toggler {
        border: 0;
        box-shadow:none!important;
    }


    .navbar-collapse{
        position: fixed;
        top: 0;
        left:0;
        width: var(--max-width);
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        background-color: #91282b;
        transition: opacity 0.1s;
        z-index: -1;
    }

    .navbar-collapse-dismiss{
        position: absolute;
        top: 0;
        left:0;
        width: 100%;
        height: 100%;
    }

    .navbar-nav{
        position: relative;
        align-items: center;
        text-align: center;
    }

    .navbar-nav a {
        padding: 1rem;
    }
    
    .navbar-collapse:not(.show){
        pointer-events: none;
        opacity: 0;
    }

    
}

@media (min-width:768px){
    #navbarNav ul {
        margin-left: auto;
    }
    .navbar-collapse {
        pointer-events: none;
    }
    .navbar-collapse>*{
        pointer-events: all;
    }
    .navbar-collapse-dismiss{
        display: none;
    }

}

#navbarNav ul a {
    color: #fff;
}

#navbarNav ul a:hover {
    color: #b73135;
}

#navbarNav ul.dark a {
    color: #fff;
}

#navbarNav ul.dark a:hover {
    color: #333132;
}



.nGY2 .nGY2Gallery{
    display: flex; /* fix per altezza in più inspiegabile tra nGY2Gallery e nGY2GallerySub */
}

.nGY2GallerySub .nGY2GThumbnail {
    border-radius: 1.25rem!important;
}

.nGY2Viewer {
    background: hsl(159, 40%, 10%)!important;
}

.nGY2viewerGallery{
    bottom: 0!important;
    overflow: visible!important;
}
.nGY2viewerGallery>*{
    position: relative;
    z-index: 2;
}
.nGY2viewerGallery:before{
    content: '';
    display: block;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background-color: rgba(0,0,0,0.256);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1;
}

.nGY2ViewerAreaPrevious>i,
.nGY2ViewerAreaNext>i {
    
    width: 3rem!important;
    height: 3rem!important;
    line-height: 3rem!important;

    border-radius: 4px;

    background-color: rgba(255,255,255,0.4)!important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nGY2ViewerAreaPrevious>i:hover,
.nGY2ViewerAreaNext>i:hover {
    background-color: rgba(255,255,255,0.5)!important;
}

.nGY2Icon-ngy2_chevron_right3 {
    right:0;
}


.nGY2 .nGY2ViewerAreaNext>i, .nGY2 .nGY2ViewerAreaPrevious>i{
    text-shadow: none;
    color: #000;
}

.nGY2Viewer .toolbar {

    border-radius: 4px;

    background-color: rgba(255,255,255,0.4)!important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin: 0 !important;
    padding: 0 !important;

}

.nGY2Viewer .toolbar .ngy2viewerToolAction,
.nGY2Viewer .toolbar .label
{
    width: 2.5rem;
    height: 2.5rem;
    padding: 0!important;
    line-height: 2rem;
    text-shadow: none;
    color: #000!important;
}

.nGY2Viewer .toolbar .ngy2viewerToolAction:hover {
    background-color: rgba(255,255,255,0.2)!important;
}

.nGY2Viewer .toolbar .ngy2viewerToolAction.pageCounter{
    width: auto;
    padding: 0 0.5rem!important;
    pointer-events: none;
}

.nGEvent.title {
    padding:0 0.5rem;
}

.nGEvent.toolbarBackground{
    display: none!important;
}

.form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-select ~ label::after{
    background-color: transparent;
}

.ratio>img{
    object-fit: cover;
    object-position: center;
}

.footer {
    font-family: 'Overpass', sans-serif;
}

.casetta-mobile:before{
    content: '';
    position: absolute;
    display: block;
    bottom:-48px;
    height: 48px;
    left: calc(50% - 1px);
    width: 2px;
    background-image: url('/nsw/assets/images/dash-repeat-y.svg');
    background-repeat: no-repeat space;
    background-position: center top;
    background-size:100% auto;
}