:root {
  --container-margin: (100vw - 1260px) / 2;
  --navbar-height: 62px;
}

@media (max-width: 1300px) {
  :root {
    --container-margin: (100vw - 1000px) / 2;
    --navbar-height: 64px;
  }
}

@media (max-width: 1100px) {
  :root {
    --container-margin: (100vw - 700px) / 2;
    --navbar-height: 52px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-margin: (100vw - 500px) / 2;
  }
}

@media (max-width: 576px) {
  :root {
    --container-margin: 15px;
  }
}

.footer-link:hover {
  opacity: 0.7;
}

.link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  margin-bottom: 0;
}

.link .link-text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #f0af36;
  margin-bottom: 0;
}

.link .link-icon {
  height: 12px;
  margin-left: 18px;
}

.footer-container {
  margin-top: 80px;
}

@media (max-width: 576px) {
  .footer-container {
    height: 100%;
  }
}

.pre-footer {
  padding: 0 15px;
}

.pre-footer .image {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media (max-width: 576px) {
  .pre-footer .image {
    position: relative;
    bottom: initial;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 430px) {
  .pre-footer .image {
    position: absolute;
  }
}

.pre-footer .title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #304a70;
  margin-bottom: 12px;
}

.pre-footer .content {
  font-size: 0.75rem;
  line-height: 1.25;
  color: #304a70;
}

.news-letter {
  padding: 80px 0;
  background-color: #304a70;
  color: #ffffff;
}

@media (max-width: 768px) {
  .news-letter {
    padding: 10px;
    min-height: 350px;
  }
}

.news-letter .title {
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.25;
  text-align: right;
}

@media (max-width: 768px) {
  .news-letter .title {
    text-align: left !important;
  }
}

.news-letter .content {
  font-size: 1rem;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .news-letter .content {
    text-align: left;
  }
}

.news-letter .link {
  margin-top: 40px;
}

.news-letter .iscrivititext {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-align: right;
  line-height: 32px;
}

@media (max-width: 768px) {
  .news-letter .iscrivititext {
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 5px;
  }
}

.news-letter .footerdesc {
  color: white;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  font-weight: normal;
}

@media (max-width: 768px) {
  .news-letter .footerdesc {
    text-align: center;
    font-size: 13px;
  }
}

.news-letter .footerdescagenda {
  color: white;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  font-weight: 400;
}

@media (max-width: 768px) {
  .news-letter .footerdescagenda {
    text-align: center;
    font-size: 13px;
  }
}

.news-letter .footerlink {
  color: #f0af36;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  line-height: 20px;
}

@media (max-width: 768px) {
  .news-letter .footerlink {
    text-align: center;
    font-size: 13px;
  }
}

.news-letter .footeradress {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.news-letter .footeradress .footersingleadress {
  font-size: 14px;
  line-height: 17px;
  text-align: left;
}

@media (max-width: 768px) {
  .news-letter .footeradress .footersingleadress {
    text-align: center;
    font-size: 12px;
  }
}

.news-letter .footeradress .footeraddcity {
  color: #f0af36;
  font-weight: bold;
}

.news-letter .footeradress2 {
  margin-top: 30px;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
}

.news-letter .footeradress2 .contattsfooter {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-letter .footeradress2 .contattsfooter .contactfooter {
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.news-letter .footeradress2 .contattsfooter .contactfooter .icon-container {
  margin-top: 5px;
  height: 32px;
  width: 32px;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px white;
  border-radius: 100%;
  padding: 6px;
  margin-right: 12px;
}

.news-letter .footeradress2 .contattsfooter .contactfooter .icon-container img {
  width: 100%;
  height: auto;
}

.news-letter .footeradress2 .contattsfooter .contactfooter .contact-label {
  color: #ffffff;
  text-align: center;
}

@media (max-width: 768px) {
  .news-letter .footeradress2 .contattsfooter {
    font-size: 12px;
  }
}

.news-letter .footeradress2 .socialscontatti {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  background-color: #304a70;
}

.news-letter .footeradress2 .socialscontatti .icon-container {
  height: 32px;
  width: 32px;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px white;
  border-radius: 100%;
  padding: 6px;
  margin-right: 12px;
}

.news-letter .footeradress2 .socialscontatti .icon-container img {
  width: 100%;
  height: auto;
}

.copy-right {
  color: #ffffff;
  background-color: #304a70;
  position: relative;
  padding: 24px 0;
}

.copy-right::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.copy-right .content,
.copy-right .links {
  position: relative;
  font-size: 0.75rem;
  line-height: 1.25;
  margin-bottom: 0;
  z-index: 1;
}

.copy-right .links {
  text-align: right;
}

