/* Header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(62, 32, 8);
  padding: 30px 60px;
}
.button-duferco {
  cursor: pointer;
  background-color: #ff9800;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: normal;
}
.button-duferco-alert {
  color: #fff;
  background-color: #ff9800;
  border-color: #ff9800;
}
.logo-left,
.logo-right {
  flex: 0 0 auto;
  max-width: 100px;
}

.logo-left img,
.logo-right img {
  width: 200px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
  }

  .logo-left,
  .logo-right {
    max-width: 150px;
  }
}

/* Footer */
@font-face {
  font-family: Gotham;
  src: url("Gotham-Light.otf") format("opentype");
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  /* Applicato a tutto il documento di base */
  font-family: 'Gotham', Arial, sans-serif; 
}

footer {
  font-family: 'Gotham', Arial, sans-serif;
  background-color: black;
  color: white;
  padding: 20px 0;
  text-align: center;
}
.footer-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-section {
  flex: 1 1 200px;
  margin: 10px;
  min-width: 0;
}
.social-icons a {
  display: inline-block;
  margin: 0 5px;
}
.social-icons img {
  width: 24px;
  height: 24px;
}
.footer-logo img {
  max-width: 80px; /* Reduced from 100px */
  height: auto;
}
.footer-link {
  color: white;
  text-decoration: none;
}
.footer-copyright {
  margin-top: 10px;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .footer-section {
    flex-basis: 100%;
  }
  .footer-logo img {
    max-width: 60px; /* Even smaller on mobile devices */
  }
}

footer .col a img {
  width: 24px; /* Increased from 12px */
  height: 24px; /* Increased from 12px */
}

footer .footer_site_link ,
footer .footer_copyright {
  font-size: 0.8em; /* Reduced font size */
}

footer .footer_logo {
  width: 80px; /* Adjusted logo size */
  height: auto;
}

@media (max-width: 768px) {
  footer .col a img {
    width: 20px; /* Slightly smaller on mobile */
    height: 20px;
  }

  footer .footer_site_link ,
  footer .footer_copyright {
    color: rgb(255, 255, 255);
    font-size: 0.7em; /* Even smaller on mobile */
  }

  footer .footer_logo {
    width: 60px; /* Smaller logo on mobile */
  }
}

footer a {
  text-decoration: none;
  color:#ffffff;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
}
img {
  height: auto;
}
.content {
  width: 100%;
}
.innerpadding {
  padding: 0px 30px 30px 30px;
}
li {
  padding: 0 0 10px 0;
}
.borderbottom {
  border-bottom: 1px solid #f2eeed;
}
.subhead {
  font-size: 15px;
  color: #ffffff;
  font-family: 'Gotham', Arial, sans-serif;
  letter-spacing: 10px;
}
.h1,
.h2,
.bodycopy {
  color: #153643;
  font-family: 'Gotham', Arial, sans-serif;
}
.h1 {
  font-size: 33px;
  line-height: 38px;
  font-weight: bold;
}
.h2 {
  padding: 0 0 15px 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: bold;
}
.bodycopy {
  font-size: 14px;
  line-height: 24px;
  text-align: justify;
  font-family: 'Gotham', Arial, sans-serif;
  color: rgb(112, 112, 112);
}
.button {
  text-align: center;
  font-size: 18px;
  font-family: 'Gotham', Arial, sans-serif;
  font-weight: bold;
  padding: 0 30px 0 30px;
}
.button a {
  color: #ffffff;
  text-decoration: none;
}
@media only screen and (max-width: 550px),
  screen and (max-device-width: 550px) {
  body[yahoo] .hide {
    display: none !important;
  }
  body[yahoo] .buttonwrapper {
    background-color: transparent !important;
  }
  body[yahoo] .button {
    padding: 0px !important;
  }
  body[yahoo] .button a {
    background-color: #e05443;
    padding: 15px 15px 13px !important;
  }
  body[yahoo] .unsubscribe {
    display: block;
    margin-top: 20px;
    padding: 10px 50px;
    background: #2f3942;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
  }
}
@media only screen and (min-device-width: 601px) {
  .content {
    width: 600px !important;
  }
  .col345 {
    width: 345px !important;
  }
  .col380 {
    width: 380px !important;
  }
}
.templateContainer {
  max-width: 600px !important;
  width: 100% !important;
}

.mcnTextContent {
  max-width: 600px !important;
  width: 100% !important;
  padding: 0 18px;
  box-sizing: border-box !important;
}

table {
  max-width: 100% !important;
  width: 100% !important;
}

@media only screen and (max-width: 480px) {
  .templateContainer {
    max-width: 100% !important;
    width: 100% !important;
  }

  .mcnTextContent {
    padding: 0 9px !important;
  }
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 20px;
}

.invoice-table td {
  padding: 0px;
  text-align: center;
  vertical-align: middle;
}

.invoice-table td:nth-child(1) {
  width: 40%;
}

.invoice-table td:nth-child(2) {
  width: 30%;
}

.invoice-table td:nth-child(3) {
  width: 30%;
}

.invoice-table img {
  max-width: 100%;
  height: auto;
  max-height: 35px;
}
main {
  flex-grow: 1;
}
.spinner-snake {
  width: 80px;
  height: 80px;
  border: 3px solid #ffc979;
  border-top: 3px solid #e48900;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.modal-dialog {
  position: fixed !important;  /* fixed to viewport */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important; /* Remove default Bootstrap margin */
}
