/*LAYOUT CONTAINER COME HEADER*/
footer {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  footer .container {
    padding: 0px 30px;
    max-width: calc(100% - 10px);
  }
}

@media (min-width: 1440px) {
  footer .container {
    max-width: calc(100% - 100px);
  }
}

/* METADATI E SOCIAL */
.it-footer-main {
  background-color: #53911f !important;
}

.it-footer-small-prints {
  background-color: #0b5302;
}

.it-footer-main > div {
  display: flex;
  flex-direction: column-reverse;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.it-footer-main > div > section {
  padding: 0;
}

.it-footer-main section img {
  width: 200px;
  margin-bottom: 30px;
}

.footer-description {
  margin-bottom: 2rem;
}

.footer-description p {
  margin: 0;
  padding: 0;
}

.footer-description p,
.footer-description a {
  line-height: 1.5rem;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-description a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.footer-description a:hover {
  text-decoration: underline;
}

footer .it-footer-main .container .row .social-container h4 a {
  font-size: 16px;
  text-transform: uppercase !important;
  font-weight: 400;
}

.it-footer-small-prints a:hover,
.it-footer-main a:hover {
  opacity: 0.7;
  transition: 0.2s;
}

footer .social-container {
  margin: 1rem 0rem 2rem 0rem !important;
}

footer .social-container > div {
  border-top: 1px solid #ffffff96;
  border-bottom: 3px solid #003051;
  padding-top: 17px;
}

.it-footer-main ul.social li a {
  padding-left: 0px !important;
  margin-left: 0px !important;
}

@media (min-width: 992px)  and (max-width: 1200px) {
  .footer-description {
    display: flex;
    justify-self: flex-start;
    >a {
      width: 30%;
    }
    > div {
      width: 70%;
      padding-left: 44px;
      display: flex;
      flex-wrap: wrap;
      >* {
        width: calc(50% - 20px);
        margin-right: 20px;
        margin-bottom: 10px;
        a {
            margin-bottom: 0;
        }
      }
    }
  }
}

@media (min-width: 1024px) {
  .it-footer-main section img {
    width: 300px;
  }

  .it-footer-main > div {
    display: flex;
    flex-direction: column-reverse;
  }

  .it-footer-main > div > section:nth-child(1) {
    padding-left: 0rem;
    width: 100%;
  }

  .it-footer-main > div > section:nth-child(1) .row > div {
    padding-right: 2rem;
  }

  .it-footer-main > div > section:nth-child(2) {
    width: 100%;
  }

  footer .social-container > div {
    border-bottom: 0px solid #003051;
  }
}

@media (min-width: 1200px) {
  .it-footer-main > div {
    display: flex;
    flex-direction: row-reverse;
  }
  footer .social-container > div {
    border-top: 0px solid #ffffff96;
    border-bottom: 0px solid #003051;
  }

  .it-footer-main > div > section:nth-child(1) {
    padding-left: 3rem;
    width: 70%;
  }
  .it-footer-main > div > section:nth-child(2) {
    width: 30%;
    padding-right: 2rem;
    border-right: 1px solid #ffffff5c;
  }
}

/* MENU */
footer .it-footer-main H4 a {
  font-size: 1.5rem;
  text-transform: none !important;
}

footer .it-footer-main .col-12.col-md.pb-2 .link-list-wrapper {
  border-bottom: 1px solid #ffffff5c;
  margin-bottom: 1rem;
}

.it-footer-main .container .row > div h4 a {
  font-size: 24px;
}
.it-footer-main .container .row > div h4 a {
  pointer-events: none;
  opacity: 1 !important;
  display: block;
  margin-bottom: 1rem;
}

.it-footer-main .link-list-wrapper ul.footer-list li a {
  padding: 7px 18px !important;
  margin-left: 13px;
  font-family: "Poppins";
  font-size: 14px;
  line-height: 25px;
}

.it-footer-main ul li a {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  padding-left: 50px;
  margin-left: -20px;
  font-size: 1.125rem;
  text-decoration: underline;
  display: block;
}

.it-footer-main .link-list-wrapper ul li a::before {
  content: "";
  background-image: url(./../../images/icon-arrow-link-menu.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  left: -12px;
  top: 11px;
}

@media (min-width: 1024px) {
  footer .it-footer-main H4 a {
    font-size: 1.125rem;
    text-transform: none !important;
  }
  .it-footer-main ul li a {
    font-size: 1rem;
    text-decoration: underline !important;
  }
  footer .it-footer-main .col-12.col-md.pb-2 .link-list-wrapper {
    border-bottom: 0px solid #ffffff5c;
    margin-bottom: 2rem;
  }
}

/*UNDER FOOTER*/
.it-footer-small-prints ul.it-footer-small-prints-list {
  padding: 1.5rem 0rem;
}
