html,
body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  display: flex;
  flex-direction: column;
}

.maincontent:before,
.maincontent:after,
.pages:before,
.pages:after,
#feriasturismo:before,
#footer:before {
  left: 0;
}

#app {
  width: 100%;
  flex: 1 0 auto;
}

#footer {
  overflow: hidden;
  padding-bottom: 80px;
}

#footer .row {
  row-gap: 18px;
}

#footer .container {
  position: relative;
  z-index: 1;
}

#footer p {
  line-height: 1.4;
}

#footer:before {
  top: 55%;
  background-position: center bottom;
  background-size: contain;
  pointer-events: none;
}

@media (min-width: 1021px) {
  #mega-menu-wrap-primary_navigation #mega-menu-primary_navigation > li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
    display: block !important;
  }
}

.intvisa-alert {
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 15px;
  margin-bottom: 10px;
}

.intvisa-alert--success {
  background: #e8f8ea;
  color: #21613d;
  border: 1px solid #97d7a9;
}

.intvisa-alert--warning {
  background: #fff4e5;
  color: #8a5a15;
  border: 1px solid #f2c27c;
}

.intvisa-form textarea {
  resize: vertical;
  min-height: 130px;
}

.intvisa-form .buttonform {
  width: auto;
  padding: 14px 26px;
}

.post-content-html img {
  max-width: 100%;
  height: auto;
}

.post-content-html p {
  line-height: 26px;
}

.post-content-html iframe {
  max-width: 100%;
}

.widgetpages ul.custom-info li {
  display: inline-block;
}

.widgetpages ul.custom-info li a {
  font-size: 24px;
  color: #502968;
  padding: 0 10px;
}

.intvisa-destination-section h4 {
  font-size: 28px;
  line-height: 1.2;
  color: #502968;
  margin-bottom: 12px;
}

.intvisa-destination-list {
  list-style: disc;
  margin: 0;
  padding-left: 22px;
}

.intvisa-destination-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.mega-menupaises a.menu-itempaises {
  display: flex;
  align-items: center;
  gap: 0;
}

.mega-menupaises a.menu-itempaises img {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px;
  max-width: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: inline-block;
  margin-right: 12px !important;
  box-shadow: 0 0 0 1px rgba(80, 41, 104, 0.14);
}

.pages {
  height: auto;
  min-height: 380px;
}

.pages .titletopo {
  padding: 160px 0 70px;
}

.contato h3 {
  line-height: 1.25;
}

.contato .intvisa-form .buttonform {
  width: 100%;
  max-width: 360px;
}

.enderecos > a,
.enderecos > div {
  display: block;
  height: 100%;
  padding: 18px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(80, 41, 104, 0.08);
}

.map-frame {
  background: #f5f5f5;
  border-top: 1px solid #e9e9e9;
}

.map-frame .container {
  max-width: 900px;
}

@media (max-width: 1020px) {
  #header .container-header {
    position: relative;
  }

  .mobile-button {
    z-index: 1300;
    right: 8px;
    top: 50%;
  }

  #mainnav-mobi {
    position: absolute;
    z-index: 1200;
    left: 0;
    top: 100%;
    width: 100%;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }

  #mainnav-mobi ul li {
    text-align: left;
    padding: 12px 18px;
  }

  #mainnav-mobi ul li a {
    display: block;
  }

  #mainnav-mobi li {
    position: relative;
  }

  #mainnav-mobi li .btn-submenu {
    position: absolute;
    right: 18px;
    top: 14px;
    width: 22px;
    height: 22px;
    border-radius: 2px;
    cursor: pointer;
  }

  #mainnav-mobi li .btn-submenu:before {
    content: '+';
    display: block;
    text-align: center;
    line-height: 22px;
    color: #57ddea;
    font-size: 20px;
    font-weight: 700;
  }

  #mainnav-mobi li .btn-submenu.active:before {
    content: '-';
  }

  #mainnav-mobi ul.mega-sub-menu {
    display: none;
  }

  .maincontent .titletopo {
    padding: 190px 0 110px;
  }

  .pages {
    min-height: 330px;
  }

  .pages .titletopo {
    padding: 135px 0 45px;
  }

  .quote .row {
    row-gap: 16px;
  }

  .quote .buttonwhite {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #footer {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  #footer:before {
    top: 72%;
    background-size: cover;
  }

  .maincontent .titletopo {
    padding: 170px 0 80px;
  }

  .pages {
    min-height: 290px;
  }

  .pages .titletopo {
    padding: 118px 0 26px;
  }

  .intvisa-form .buttonform {
    width: 100%;
  }
}

@media (max-width: 548px) {
  .pages {
    min-height: 250px;
  }

  .pages .titletopo {
    margin-top: 0;
    padding: 102px 0 20px;
  }

  #footer {
    padding-bottom: 38px;
  }
}
