.footer{
  width: 100%;
  
  background-image: url("https://4334701.fs1.hubspotusercontent-na1.net/hubfs/4334701/Sito%20DMA/SVG%20Varia/footerBackgroundToggle.svg"), linear-gradient(180deg, #080357 0%, #030124 100%);
  background-repeat: no-repeat;
  background-position: top right;
}
.footer-wrapper{
  height: 100%;
  padding: 0 0;
  padding-top: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
}
.footer-header{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-title{
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color: #FFFFFF !important;
  max-width: 650px;
  margin: 0 auto;
}
.footer-btn-letstalk,.footer-btn-letstalk:hover,.footer-btn-letstalk:active,.footer-btn-letstalk:focus{
   margin-top: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 30px;
  border: 2px solid #FFFFFF;
  box-sizing: border-box;
  filter: drop-shadow(0px 10px 30px rgba(11, 70, 248, 0.2));
  border-radius: 50px;
  background: transparent;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}
.footer-btn-letstalk:after{
    /*content: '';
    display: block;
    width: 100%;
    height: 100%;
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    transform: translateX(-100%);
    transition: all .5s cubic-bezier(0.47, 1.64, 0.46, 0.71);
    background: white;
    border-top-right-radius:50px;
    border-bottom-right-radius:50px;*/
}
.footer-btn-letstalk:hover{
  color: #070D4B;
  background: white;
}
.footer-btn-letstalk:hover:after{
    /*transform: translateX(0%) !important;*/
}
.footer-body{
  margin-top: 150px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
}

/*
.footer-body > div:first-child{
    flex-basis: 15%;
}
.footer-body > div:last-child{
  flex-basis: 45%;
}

.footer-body > div:nth-child(2),.footer-body > div:nth-child(3){
  flex-basis: 15%;
}
*/

.footer-company-info{
  display: flex;
  flex-direction: column;
  margin-top:30px;
}
.footer-company-info > img{
  margin-bottom: 17px;
  height: 58px;
  width: 127px;
  object-fit: contain;
}
.footer-company-info > p, .footer-company-info > p > a{
  margin-bottom:0;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: #CED0D2;
}
.footer-social{
  display: flex;
  margin-top:40px;
}
.footer-social > a{
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}
/*Per allineare verticalmente logo linkedin*/
.footer-social > a:nth-child(2){
  padding-bottom:3px;
}
.footer-social > a svg{
  height: 15px;
  width: 15px;
}
.footer-social > a svg path{
  fill: #080357;
  transition: all .3s;
}
.footer-social > a:hover svg path{
  fill: #0b46f8;
}
.footer-links > div{
  display: flex;
  flex-direction: column;
}
.footer-links h3{
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 38px;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom:0;
}
.footer-links h3:not(.footer-links.footer-form h3)
  margin-bottom:25px;
}
.footer-links > div:not(.footer-links > div:first-child) {
  margin-top:34px;
}
.footer-links p{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: #CED0D2;
  margin-bottom:0;
}
.footer-form form {
  display: flex;
  position: relative;
}
.footer-footer{
  padding-top: 25px;
}
.footer-footer hr{
  border-bottom: 2px solid rgba(247, 247, 247, 0.6) !important;
}
.footer-footer .footer-policy{
  display: flex;
  justify-content: space-between;
  padding: 42px 0 47px 0;
}
.footer-footer .footer-policy span, .footer-footer .footer-policy a{
    font-family: 'Inter';
  font-style: normal;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;
  color: #F5F5F5;
  opacity: 0.7;
}
.footer-footer .footer-policy a{
  font-weight: 700;
}
.footer-footer .footer-policy > div{
  display: flex;
}
.footer-footer .footer-policy > div > a:not(.footer-footer .footer-policy > div > a:last-child){
  margin-right: 8px;
}
.footer form{
  display: flex;
  align-items: baseline;
  margin-top: 10px;
}
.footer form .hs-form-field, .footer form .legal-consent-container{
  padding-left: 0 !important;
}
.footer form .hs-form-field.hs-email {
  width: 100%;
  margin-right: 20px;
}
.footer form .legal-consent-container{
  position: absolute;
  top: 100%;
  left: 0;
}
.footer form .legal-consent-container *{
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 20px;
  margin:0;
}
.footer form input:not(.footer form input[type=submit]){
  background-color: transparent;
  border-top: unset;
  border-left: unset;
  border-right: unset;
  border-radius: unset !important;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  display: flex;
  align-items: center;
  color: #CED0D2 !important;
  padding: 13px 0;
  margin-right: 15px;
  width: 100%;
}
.footer form input[type="checkbox"]:not(.footer form input[type=submit]){
  width: auto;
  margin-right: 0;
}
.footer form .hs-error-msg{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: #ef6b51 !important;
  display: none;
}
.footer form input:-webkit-autofill,
.footer form input:-webkit-autofill:hover, 
.footer form input:-webkit-autofill:focus, 
.footer form input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 40px #05083B inset !important;
    -webkit-text-fill-color: #CED0D2;
}
.footer form input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color:  #CED0D2;
  opacity: 1; /* Firefox */
}
.footer form input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color:  #CED0D2;
}
.footer form input::-ms-input-placeholder { /* Microsoft Edge */
  color: #CED0D2;
}
.footer form input:focus {
    outline: none;
}
.footer form input[type=submit], .footer form .hs-button {
  position: relative;  
  padding: 0;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 30px;
  background: var(--blueRyb);
  border-radius: 50px;
  border:unset;
}
.footer form input[type=submit]:hover, .footer form .hs-button:hover {
  background: var(--blueRybHover);
}
.hs_error_rollup{
  display:none;
}

.footer-social a, .footer-social path{
  transition: all .3s;
}

.footer-social a:hover {
  background:#0B46F8;
} 
.footer-social a:hover path {
  fill: white !important;
}

@media screen and (max-width: 1200px){
  .footer-body{
    flex-wrap: wrap;
  }
  .footer-body > div:first-child,
  .footer-body > div:last-child,
  .footer-body > div:nth-child(2),.footer-body > div:nth-child(3){
    flex-basis: 50%;
  }
  .footer-body>div:nth-child(2){
    display: flex;
    justify-content: space-between;
    align-items: start;
  }
  .footer-body>div:nth-child(2) > div{
    margin-top: 0 !important;
  }
  .footer-body > div:nth-child(3),.footer-body > div:nth-child(4){
    margin-top: 34px;
  }
}
@media screen and (max-width: 960px){
  .footer-body > div:first-child,
  .footer-body > div:last-child,
  .footer-body > div:nth-child(2),.footer-body > div:nth-child(3){
    flex-basis: 100%;
  }
  .footer-body > div{
    margin-top: 34px;
  }
  .footer-body>div:nth-child(3){
    display: flex;
    justify-content: space-between;
    align-items: start;
  }
  .footer-body>div:nth-child(3) > div{
    margin-top: 0 !important;
  }
}
@media screen and (max-width: 676px){
  .footer-wrapper{
    padding: 88px 50px 0 50px;
  }
  .footer-body{
    margin-top: 50px;
  }
  .footer-body > div{
    flex-direction: column;
  }
  .footer-body > div:first-child{
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: flex-start;
  }
  .footer-links{
    margin-top: 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
    text-align: left;
  }
  .footer-form form {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
  }
  .footer-form form input {
    text-align: left;
  }
  .footer h3{
    margin-top: 25px;
  }
  .footer-policy{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-company-info img{
    /*margin: 0 auto;*/
  }
  .footer-social{
    width: 100%;
    justify-content:left;
  }
  .footer-social > a {
    margin: 0 10px;
  }
  .footer-social > a:first-child {
    margin-left: 0;
  }
  .footer form .legal-consent-container{
    position: static;
  }
  .footer form input:not(.footer form input[type=submit]){
    width: 100%;
  }
  .footer-form form {
    width: 100%;
  }
  .footer form input:not(.footer form input[type=submit]){
    max-width: unset;
  }
  .footer-links > div {
    width:100%;
  }
  .footer .hs-form-field{
    width: 100%;
  }
  .footer-title{
    font-size: 36px;
  }
}

@media screen and (max-width: 480px){
  .footer-wrapper{
    padding-left: 0;
    padding-right: 0;
  }
}