.page-template-chemicals .banner-green {
  color: #53d698;
}

.page-template-chemicals .banner-title {
  display: block;
}

.page-template-chemicals .banner-subtitle {
  font-size: 16px;
  line-height: 22.5px;
  letter-spacing: -1%;
  display: block;
  margin-top: 20px;
}

.page-template-chemicals .intro-excerpt h1 {
  display: none;
}

.page-template-chemicals .how-it-work-title {
  color: #00186d;
  font-size: 40px;
  line-height: 100%;
  font-weight: 300;
  margin-bottom: 40px;
}

.page-template-chemicals .how-it-work-contents .item {
  padding: 40px;
}

.page-template-chemicals ul.how-it-work-list {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-template-chemicals .how-it-work-subitem img {
  width: auto;
  margin: 0 auto;
}

.page-template-chemicals .how-it-work-subitem p {
  color: #00186d;
  margin-top: 10px;
  max-width: 237px;
  text-align: center;
}

.page-template-chemicals #contents #operacoes {
  display: flex;
  max-width: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url(http://www.ultracargo.com.br/wp-content/uploads/2026/03/quimicos-operacoes-banner.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  background-position: bottom;
}

.page-template-chemicals .bloco-content {
  margin: 50px auto;
}

.page-template-chemicals .tab-navigation {
  border-bottom: unset;
}

.page-template-chemicals .tab-navigation.wrap--offset-xs {
  margin-bottom: 50px;
}

.page-template-chemicals .tab-link {
  color: #00186d66;
  border-bottom: 2px solid #00186d66;
}

.page-template-chemicals .tab-navigation a.tab-navigation-active {
  color: #00186d !important;
  border-bottom: 2px solid #574aee;
}

.page-template-chemicals #dados {
  display: flex;
  height: auto;
  background: url(http://www.ultracargo.com.br/wp-content/uploads/2026/03/banner-numeros-1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

.page-template-chemicals div#dado-item p {
  color: #fff;
  font-size: 20px;
}

.page-template-chemicals span.banner-green.dados-capacidade {
  font-size: 52px;
  line-height: 43.4px;
  display: block;
  padding-bottom: 15px;
}

.page-template-chemicals span.dados-pais {
  font-size: 52px;
  color: #ff7c2b;
  line-height: 43.4px;
  display: block;
  padding-bottom: 15px;
  padding-top: 5px;
}

.page-template-chemicals span.dados-bolsa {
  font-size: 52px;
  line-height: 43.4px;
  display: block;
  color: #fff;
  padding-top: 15px;
}

.page-template-chemicals div#dado-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-template-chemicals div#dados-presenca {
  display: block;
}

#pilares {
  display: flex;
  height: auto;
  background: #00186d;
}

div#dados-pilares {
  color: #fff;
}

#dados-pilares h2 {
  font-size: 52px;
  line-height: 58px;
  margin-bottom: 40px;
}

#dados-pilares div p:first-child {
  font-size: 14px;
}

#dados-pilares div p {
  margin-bottom: 20px;
}

div#certificados {
  display: flex;
  max-width: 100%;
  height: auto;
  background: #53d698;
}

div#dados-certificados h2 {
  font-size: 52px;
  line-height: 58px;
  color: #fff;
  margin-bottom: 20px;
}

.certificado-content {
  color: #00186d;
  margin-bottom: 40px;
}

div#certificados h3 {
  color: #fff;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 40px;
}

.certificacoes {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
}

.certificacoes.row div {
  display: block;
}

.certificacoes div p {
  text-align: center;
  max-width: 173px;
}

.certificacoes div img {
  height: 70px;
  margin: 0 auto;
  display: block;
  margin-bottom: 15px;
}

#procedures-titles h2 {
  font-size: 40px;
  line-height: 42px;
  font-weight: 500;
}

#procedures-titles h2 span {
  color: #53d698;
}

.icon-item-text span {
  color: #574aee;
}

div#dados-contato h2 {
  font-size: 52px;
  line-height: 58px;
  color: #fff;
  font-weight: 500;
}

div#dados-contato h2 span {
  color: #53d698;
}

#contato {
  display: flex;
  height: auto;
  background: #00186d;
}

ul.itens {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 30px;
  margin-bottom: 30px;
}

ul.itens li {
  color: #fff;
  max-width: 265px;
  text-align: center;
  padding: 10px;
  width: 100%;
}

ul.itens li:nth-child(even) {
  border-bottom: 2px solid #ff7c2b;
}

ul.itens li:nth-child(odd) {
  border-bottom: 2px solid #53d698;
}

div#dados-contato {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.dados-contatos h3 {
  font-size: 34px;
  color: #fff;
  margin-bottom: 40px;
}

.dados-contatos a {
  color: #fff;
  margin: 0px 20px;
  background: #ff7c2b;
  padding: 20px;
  max-width: 200px;
  display: inline-block;
  text-align: center;
  width: 100%;
  position: relative;
}

#mapa {
  display: flex;
  height: auto;
}

div#dados-mapa {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  width: auto;
  margin-top: 100px;
}

.mapa-img img {
  height: 520px;
}

#dados-mapa h2 {
  font-size: 52px;
  line-height: 58px;
  font-weight: 500;
}

#dados-mapa h2 span {
  color: #53d698;
}

.whats-contato::before {
  content: '';
  background: url('/wp-content/uploads/2026/03/whatsapp.svg');
  width: 42px;
  height: 42px;
  display: inline-block;
  position: absolute;
  left: 15px;
  top: 10px;
}

.email-contato::before {
  content: '';
  background: url('/wp-content/uploads/2026/03/email.svg');
  width: 42px;
  height: 42px;
  display: inline-block;
  position: absolute;
  left: 15px;
  top: 10px;
}

.pin-color {
  transition:
    transform 0.2s ease-in-out,
    fill 0.2s ease;
  cursor: pointer;
  transform-origin: 50% 100%;
  transform-box: fill-box;
}

.pin-color:hover {
  transform: scale(1, 1.1);
  outline: none;
}

svg:has(.pin-para:hover) .mapa-para,
svg:has(.pin-per:hover) .mapa-pe,
svg:has(.pin-ba:hover) .mapa-ba,
svg:has(.pin-rj:hover) .mapa-rj,
svg:has(.pin-sp:hover) .mapa-sp {
  fill: #53d698 !important;
}

.mapa-para:hover,
.mapa-per:hover,
.mapa-ba:hover,
.mapa-rj:hover,
.mapa-sp:hover {
  fill: #53d698;
  cursor: pointer;
}

svg:has(.mapa-para:hover) .pin-para,
svg:has(.mapa-per:hover) .pin-per,
svg:has(.mapa-ba:hover) .pin-ba,
svg:has(.mapa-rj:hover) .pin-rj,
svg:has(.mapa-sp:hover) .pin-sp {
  transform: scale(1, 1.1);
  outline: none;
}

.plus-para,
.plus-per,
.plus-ba,
.plus-rj,
.plus-sp,
.plus-texto {
  cursor: pointer;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  z-index: 10000;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #00186d;
  margin: 0px auto;
  padding: 0px;
  border: 1px solid #888;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  color: #fff;
  height: auto;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  background: #ff7c2b;
  padding: 0px 0px 0px;
  text-align: center;
  margin-top: -10px;
  width: 30px;
  height: auto;
}

.close:hover,
.close:focus {
  color: #00186d;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 10px 40px;
  background-color: unset;
  color: #fff;
}

.modal-body {
  padding: 10px 40px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-header h2 {
  font-size: 28px;
  line-height: 43px;
}

.modal-header p {
  color: #ff7c2b;
  padding: 0px 0px 20px 0px;
  width: 80%;
  border-bottom: 2px solid #fff;
  font-size: 18px;
}

.modal-body ul li {
  padding: 10px 0px;
  list-style: disc;
  margin-left: 20px;
}

.modal-body ul li::marker {
  color: #ff7c2b;
}

.pilares-img.row {
  margin-top: 50px;
}

.mapa-img.row {
  margin-left: 40px;
}

/* Remove margens fixas exageradas no mobile */
@media (max-width: 767px) {
  .mapa-img.row {
    margin-left: 0px;
  }
  #operacoes .col-md-9 {
    margin-left: 38px !important;
    margin-top: 20px !important;
    padding: 0 15px;
  }

  /* Faz a navegação de abas ter scroll horizontal se forem muitos itens */
  .tab-navigation {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .tab-link {
    flex: 0 0 auto;
    margin-right: 15px;
  }

  /* Ajusta a lista interna para empilhar itens se necessário */
  .how-it-work-subitem {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
  }

  .how-it-work-subitem img {
    width: 40px !important;
  }

  div#how-it-work-contents {
    margin-left: -15px;
  }

  #dados .wrap .col-xs-12.col-md-9.col-md-offset-1 {
    margin-left: 15px;
  }

  .page-template-chemicals .how-it-work-title {
    max-width: 300px;
  }

  .page-template-chemicals span.banner-green.dados-capacidade,
  .page-template-chemicals span.dados-pais {
    font-size: 25px;
    line-height: 26px;
    padding-bottom: 5px;
  }

  .page-template-chemicals span.dados-bolsa {
    font-size: 25px;
    line-height: 26px;
    padding-top: 5px;
  }

  #mapa .wrap > div {
    margin-top: 50px !important;
    margin-left: 0px !important;
  }

  div#dados-mapa {
    margin-top: 0px;
  }

  div#dados-mapa p {
    margin: 20px 0px;
  }

  #pilares .wrap {
    margin-top: 0px !important;
  }

  #pilares .wrap > div {
    margin-left: 0px !important;
  }

  .pilares-img.row img {
    display: block;
    width: 100%;
  }

  #certificados .wrap > div {
    margin-left: 0px !important;
  }

  div#dados-certificados h2,
  #dados-mapa h2,
  #dados-pilares h2,
  div#dados-contato h2 {
    font-size: 40px;
    line-height: 43px;
  }

  #certificados .col-xs-12.col-md-10.col-md-offset-1 {
    margin-left: 0px !important;
  }

  div#certificados h3 {
    font-size: 25px;
  }

  .certificacoes {
    gap: 10px;
    flex-wrap: wrap;
  }

  #contato .wrap > div {
    margin-left: 0px !important;
  }

  ul.itens {
    flex-wrap: wrap;
  }

  ul.itens li {
    max-width: 100%;
  }

  .dados-contatos a {
    color: #fff;
    margin: 10px 0px;
    background: #ff7c2b;
    padding: 20px;
    max-width: 100%;
    display: block;
    text-align: center;
    width: 100%;
    position: relative;
  }

  .imagem.row img {
    display: block;
    width: 100%;
  }

  .page-template-chemicals ul.how-it-work-list {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
  }
}

.click-estado {
  pointer-events: bounding-box; /* Faz a área de clique ser o retângulo envolvente */
  cursor: pointer;
}

a.whats-contato{display:none;}