/* ==========================================================================
   SKYSTONE - DOWNLOADS V27
   Página central oficial: 535px.
   ========================================================================== */

body.template-styller-slim .sky-download {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cabeçalho ------------------------------------------------------------- */

body.template-styller-slim .sky-download .download-page-header {
    margin: 0 0 18px;
    padding: 0 0 13px;
    border-bottom: 1px solid #dcebed;
}

body.template-styller-slim .sky-download .download-page-header > span {
    display: block;
    margin: 0 0 6px;
    color: #73a6b5;
    font-size: 6px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.3px;
}

body.template-styller-slim .sky-download .download-page-header > h1 {
    margin: 0;
    color: #075f78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.05;
}

body.template-styller-slim .sky-download .download-page-custom {
    margin: 0;
    color: #426e7c;
    font-size: 7px;
    line-height: 1.45;
}

body.template-styller-slim .sky-download .download-page-custom > br:first-child,
body.template-styller-slim .sky-download .download-page-custom > p:empty {
    display: none;
}

/* Arquivos -------------------------------------------------------------- */

body.template-styller-slim .sky-download .download-files-section {
    margin: 0 0 18px;
}

body.template-styller-slim .sky-download .download-section-title,
body.template-styller-slim .sky-download .download-extra-section > h2 {
    margin: 0 0 9px;
    padding: 7px 9px;
    border-left: 2px solid #40b7cc;
    background: #f3fafb;
    color: #075f78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

body.template-styller-slim .sky-download .download-empty {
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px dashed #cfe1e6;
    background: #f9fcfd;
    color: #789aa5;
    font-size: 7px;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

body.template-styller-slim .sky-download .download-public-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
    color: #4d7582;
    font-size: 6.3px;
}

body.template-styller-slim .sky-download .download-public-table th {
    padding: 7px 6px;
    border: 1px solid #d5e6ea;
    background: #eff8fa;
    color: #356474;
    font-size: 6px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

body.template-styller-slim .sky-download .download-public-table td {
    padding: 7px 6px;
    border: 1px solid #e0ecef;
    vertical-align: middle;
    word-break: break-word;
}

body.template-styller-slim .sky-download .download-name {
    color: #075f78;
    font-weight: 700;
}

body.template-styller-slim .sky-download .download-size {
    white-space: nowrap;
    color: #608894;
}

body.template-styller-slim .sky-download .download-link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body.template-styller-slim .sky-download .download-link-button {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 1px solid #8fcbd7;
    background: #f2fafc;
    color: #087b9c;
    font-size: 5.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color .14s ease, border-color .14s ease;
}

body.template-styller-slim .sky-download .download-link-button:hover {
    border-color: #55b4c8;
    background: #e9f8fa;
}

/* Requisitos ------------------------------------------------------------ */

body.template-styller-slim .sky-download .download-extra-section {
    margin: 0 0 18px;
    padding: 0;
}

body.template-styller-slim .sky-download .download-requirements {
    width: 100%;
    overflow: hidden;
    border: 1px solid #d6e7ea;
    background: #fff;
}

body.template-styller-slim .sky-download .download-requirements table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    color: #4d7582;
    font-size: 7px;
}

body.template-styller-slim .sky-download .download-requirements th,
body.template-styller-slim .sky-download .download-requirements td {
    height: 30px;
    padding: 0 9px;
    border: 0;
    border-right: 1px solid #e0ecef;
    border-bottom: 1px solid #e0ecef;
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;
}

body.template-styller-slim .sky-download .download-requirements tr:last-child td {
    border-bottom: 0;
}

body.template-styller-slim .sky-download .download-requirements th:last-child,
body.template-styller-slim .sky-download .download-requirements td:last-child {
    border-right: 0;
}

body.template-styller-slim .sky-download .download-requirements thead th {
    height: 31px;
    background: #eff8fa;
    color: #356474;
    font-size: 6.5px;
    font-weight: 700;
}

body.template-styller-slim .sky-download .download-requirements th:first-child,
body.template-styller-slim .sky-download .download-requirements td:first-child {
    width: 15%;
    color: #075f78;
    font-weight: 700;
}

/* Drivers --------------------------------------------------------------- */

/*
 * O HTML vem diretamente do editor de páginas e usa uma única célula com
 * links + vários &nbsp;. NÃO transformamos essa estrutura em grid porque os
 * espaços do editor viram itens anônimos e quebram a linha.
 *
 * Em vez disso, a célula vira uma linha flex centralizada. O texto &nbsp;
 * recebe font-size:0 e deixa de ocupar espaço visual.
 */
body.template-styller-slim .sky-download .download-extra-section > table {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #d6e7ea;
    border-collapse: collapse;
    background: #f9fcfd;
    box-sizing: border-box;
}

body.template-styller-slim .sky-download .download-extra-section > table tbody,
body.template-styller-slim .sky-download .download-extra-section > table tr {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.template-styller-slim .sky-download .download-extra-section > table td {
    display: flex;
    width: 100%;
    min-height: 66px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 9px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    white-space: normal;
    box-sizing: border-box;
}

body.template-styller-slim .sky-download .download-extra-section > table a {
    flex: 0 0 74px;
    width: 74px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px;
    border: 1px solid #d4e5e9;
    background: #fff;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

body.template-styller-slim .sky-download .download-extra-section > table a:hover {
    transform: translateY(-1px);
    border-color: #8fcbd7;
    box-shadow: 0 4px 10px rgba(57, 111, 126, .08);
}

body.template-styller-slim .sky-download .download-extra-section > table img {
    display: block;
    max-width: 64px;
    max-height: 38px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}

/* Remove parágrafo de quebra criado pelo editor depois da tabela. */
body.template-styller-slim .sky-download .download-extra-section > p:empty,
body.template-styller-slim .sky-download .download-extra-section > p:has(> br:only-child) {
    display: none;
}

/* Limpeza contra regras globais antigas -------------------------------- */

body.template-styller-slim .sky-download table,
body.template-styller-slim .sky-download tbody,
body.template-styller-slim .sky-download thead,
body.template-styller-slim .sky-download tr,
body.template-styller-slim .sky-download th,
body.template-styller-slim .sky-download td,
body.template-styller-slim .sky-download a,
body.template-styller-slim .sky-download img {
    float: none;
    max-width: none;
}

/* Responsivo ------------------------------------------------------------ */

@media (max-width: 620px) {
    body.template-styller-slim .sky-download .download-page-header > h1 {
        font-size: 19px;
    }

    body.template-styller-slim .sky-download .download-public-table {
        table-layout: auto;
        font-size: 6px;
    }

    body.template-styller-slim .sky-download .download-requirements {
        overflow-x: auto;
    }

    body.template-styller-slim .sky-download .download-requirements table {
        min-width: 430px;
    }

    body.template-styller-slim .sky-download .download-extra-section > table td {
        flex-wrap: wrap;
    }

    body.template-styller-slim .sky-download .download-extra-section > table a {
        flex-basis: 70px;
        width: 70px;
    }
}

/* StyLLer Slim: tema da página Downloads */
body.template-styller-slim .sky-download{color:#e6edf7;font-size:14px;line-height:1.55}
body.template-styller-slim .sky-download .download-page-header{border-bottom-color:#293a4c;padding-bottom:18px;margin-bottom:22px}
body.template-styller-slim .sky-download .download-page-header>span{font-size:11px;color:#67b6ff;letter-spacing:.16em}
body.template-styller-slim .sky-download .download-page-header>h1{font:400 clamp(26px,3vw,36px) Georgia,serif;color:#e8bc79}
body.template-styller-slim .sky-download .download-page-custom{font-size:14px;color:#b9c9db}
body.template-styller-slim .sky-download .download-files-section,body.template-styller-slim .sky-download .download-extra-section{margin:0 0 22px;padding:20px;background:linear-gradient(135deg,#0c1521,#080e17);border:1px solid #26394e;border-radius:8px}
body.template-styller-slim .sky-download .download-section-title,body.template-styller-slim .sky-download .download-extra-section>h2{font:400 22px Georgia,serif;color:#e8bc79;background:transparent;border:0;border-bottom:1px solid #26394e;padding:0 0 13px;margin:0 0 17px}
body.template-styller-slim .sky-download .download-public-table,body.template-styller-slim .sky-download .download-requirements table{width:100%;border-collapse:collapse;background:transparent;color:#e6edf7;font-size:13px;table-layout:auto}
body.template-styller-slim .sky-download .download-public-table th,body.template-styller-slim .sky-download .download-requirements th{background:#102237;color:#e8bc79;font-size:12px;padding:12px;border:1px solid #273b50}
body.template-styller-slim .sky-download .download-public-table td,body.template-styller-slim .sky-download .download-requirements td{background:#0b1521;color:#dce6f2;font-size:13px;padding:12px;border:1px solid #273b50}
body.template-styller-slim .sky-download .download-public-table tr:nth-child(even) td,body.template-styller-slim .sky-download .download-requirements tr:nth-child(even) td{background:#0e1b2a}
body.template-styller-slim .sky-download a{color:#75bcff}
body.template-styller-slim .sky-download .download-extra-section>table{background:transparent;border:0}
body.template-styller-slim .sky-download .download-extra-section>table td{background:transparent}
body.template-styller-slim .sky-download .download-extra-section>table a{background:#e9f0f7;border:1px solid #38516b;border-radius:5px}
body.template-styller-slim .sky-download .download-extra-section>table img{max-width:64px;max-height:38px}
@media(max-width:620px){body.template-styller-slim .sky-download .download-files-section,body.template-styller-slim .sky-download .download-extra-section{padding:14px}body.template-styller-slim .sky-download .download-public-table{font-size:12px}body.template-styller-slim .sky-download .download-requirements{overflow-x:auto}}
