/*
 *   Important Information about this CSS File
 *
 * - Do not delete or rename this file, if you do not use it leave it blank (delete
 *   everything) and the file will be skipped when you enable Production Mode in
 *   the Global theme settings.
 *
 * - Read the _README file in this directory, it contains useful help and other information.
 *
 * Live theme settings (gw2d_settings.info):
 *   only screen and (min-width:1024px) and (max-width:1620px)
 *
 * This range is near-desktop: keep horizontal chrome, but raise tiny vw fonts,
 * contain overflow, and stack the worst multi-column desktop compositions.
 */

html {
  font-size: 100%;
}

/* Floor common global.vw body/UI text that reads ~10–14px at 1024–1400 */
body,
p,
li,
label,
td,
th,
.form-item,
.views-field,
.field-content,
#page #content {
  font-size: max(13px, 0.95vw);
}

h1,
h1.nome {
  font-size: max(22px, 1.8vw);
  line-height: 1.25;
}

h2,
.pane-title,
.block-title {
  font-size: max(18px, 1.5vw);
  line-height: 1.3;
}

h3,
h4 {
  font-size: max(15px, 1.2vw);
}

#header .content-width #block-system-main-menu ul li a {
  font-size: max(13px, 1vw);
}

#footer .content-width ul.menu li a,
#footer #block-gw2d-gw2d-footer .footer-block #menu-footer ul li a,
#footer #block-gw2d-gw2d-footer .footer-block #info-footer a,
#footer .footer-block #info-footer .telefone-footer,
#copyright-region a,
#copyright-region p,
#copyright-region li {
  font-size: max(12px, 0.85vw);
}

#page #content #user-login a.link-forgot-pass {
  font-size: max(12px, 0.8vw);
}

.page-acesso-interno #page #content table.views-table th,
.page-acesso-interno #page #content table.views-table td {
  font-size: max(12px, 0.9vw);
  padding: 0.6vw 0.8vw;
}

.page-acesso-interno #page #content .view-content {
  overflow-x: auto;
  max-width: 100%;
}

.page-acesso-interno .views-exposed-form .views-exposed-widget .form-submit {
  width: auto;
  min-width: 110px;
  min-height: 36px;
}

/* Login / register: avoid ultra-narrow 21.5% column */
.page-user-password #page #content #user-pass,
.page-user-login #page #content #user-login {
  width: 36%;
  max-width: 420px;
  min-width: 280px;
}

/* Cadastre-se cards: allow stack when still tight */
.page-cadastre-se #page #content #cadastro-wrapper .box-cadastro {
  padding-left: 6vw;
  padding-right: 6vw;
}

/* Praia detail: soften extreme desktop sidebar at mid widths */
.node-praia {
  padding-left: 28vw;
  padding-right: 8vw;
  overflow: visible;
}

.node-type-praia #page #content .node-praia .descricao,
.node-type-praia #page #content .node-praia .como-chegar,
.node-type-praia #page #content .node-praia p.sub-title {
  font-size: max(14px, 1.05vw);
}

/* Overlay */
#page #content .overlay-primeiro-acesso .overlay-inicio {
  width: 56%;
  max-width: 720px;
}

#page #content .overlay-primeiro-acesso .overlay-content {
  height: auto;
  min-height: 36vw;
  max-height: 85vh;
  overflow-y: auto;
}

#page #content .overlay-primeiro-acesso .informacoes-overlay h2.title {
  font-size: max(20px, 2vw);
}

#page #content .overlay-primeiro-acesso .informacoes-overlay p.descricao,
#page #content .overlay-primeiro-acesso .informacoes-overlay .opcoes-funcoes-site .funcionalidades {
  font-size: max(13px, 1.1vw);
}

/* Mapa tweak (legacy rule kept) */
.page-mapa #page #content #loja-credenciada-slide .view-loja-credenciada {
  padding: 6.5vw 1.2vw 0;
}

/* Forms: prevent clipped fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
select,
textarea,
.form-text,
.form-select,
.form-textarea {
  max-width: 100%;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}
