body,h1,h2,h3,h4,h5 {
    font-family: "Prompt", sans-serif;
}
h1,h2,h3,h4,h5 {
    font-weight: 300!important;
}

span.mobtitle {
    font-size: 18px;
    font-weight: 600 !important;
    pointer-events: none;
}

body {
    font-weight: 200!important;
    font-size: 16px;
    max-width: 100%;
    overflow-x: hidden;
}

nav > div > a {
    font-weight: 300!important;
}

img.logo-mob {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    padding: 0px;
    max-width: 165px;
}

.w3-half img {
    margin-bottom:-6px;
    margin-top:16px;
    opacity:1;
    cursor:pointer;
}
.w3-half img:hover {
    opacity:1;
}

.max100 {
    max-width:100%;
}

.w3-xxxlarge {
    font-size: 38px !important;
}

@media screen and (min-height:850px) {
    video#bg-video {
        zoom: 1.3;
    }
}

@media screen and (max-width:992px) {
    div#home {
        margin-top:85px!important;
    }

    /*img.logo {
        max-width: 75%!important;
    }*/

}

@media screen and (max-width:768px) {
    div#home {
        margin-top:68px!important;
    }
}


@media screen and (min-height:1500px) {
    video#bg-video {
        zoom: 2;
    }
}

@media screen and (max-width: 992px) {
    .w3-sidebar.w3-collapse {
        width: 260px!important;
    }
}

/*iphone safari dm*/

.safari {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .safari {
        display: block;
    }

    video#bg-video {
        z-index: 9999;
    }

    .homeparall {
        background-image: url(/assets/img/home/parallasse.jpg);
        background-size: contain;
        background-position: unset!important;
    }

    .nosafari {
        display: none;
    }

}

.privacy > p {
    padding-top: 25px;
}

.content-inner > p > strong {
    font-weight: 800;
}

.azure {
    color:#ACCBD9;
}

a.w3-button:hover {
    color: unset!important;
    background-color: unset!important;

}

.DM {
    text-decoration: none;
}

.DM:hover {
    color: #ee0000;
    font-weight:400;
}

.w3-button-fenato {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background-color: #489cba;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.w3-button-fenato:hover {
    background-color: #50636d;
}

.newsimg {
    max-width: 100%;
}

/* Riga centrata verticalmente su desktop */
.news-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Permette al contenuto di andare a capo su mobile */
}

/* Padding per il testo */
.news-text-container {
  padding: 0 25px;
}

/* Stile hr */
.news-hr {
  width: 50px;
  border: 5px solid #489cba;
  margin: 0 25px 15px 0;
}

/* Immagine responsive */
.news-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Media query per mobile: immagine sopra il testo */
@media screen and (max-width: 768px) {
  .news-row {
    flex-direction: column;
    align-items: flex-start; /* Non serve più centrare verticalmente */
  }

  .news-text-container {
    padding: 15px 0 0 0; /* Spazio tra immagine e testo */
  }

  .news-hr {
    margin: 0 0 15px 0; /* Allinea hr a sinistra senza padding */
  }

  .videocont {
    padding: 0!important;
  }
}

.w3-blue-gray{
    background-color: #489cba!important;
}

.w3-text-blue-gray {
    color: #489cba!important;
    line-height: 1;
}

.w3-closemenu, .w3-closemenu:hover, .w3-cosemenu:focus {
    background-color: #489cba!important;
    padding-top: 17px;
    padding-left: 33px;
}

