/* ==========================================================
   RESET / BASE
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    overflow-x: hidden;

    background: #ffffff;
    color: #171717;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.65;
}

body.docs-mobile-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    width: 100%;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;

    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    z-index: 1000;

    border-bottom: 1px solid #e6e6e6;

    background: #ffffff;
}

.site-header-left {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 28px;
}

.site-header-right {
    display: flex;
    align-items: center;

    margin-left: auto;
}


/* ==========================================================
   MARCA
========================================================== */

.site-brand {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 10px;

    color: #18181b;

    white-space: nowrap;

    font-size: 15px;
}

.site-brand:hover {
    color: #18181b;
}

.site-logo {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.site-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* ==========================================================
   MENU SUPERIOR
========================================================== */

.header-navigation {
    min-width: 0;
}

.header-navigation ul {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;
}

.header-navigation li {
    position: relative;

    margin: 0;
    padding: 0;
}

.header-navigation a {
    display: block;

    padding: 20px 17px;

    color: #262626;

    white-space: nowrap;

    font-size: 14px;
    font-weight: 500;

    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

.header-navigation a:hover {
    color: #3558ff;
}


/* ==========================================================
   PESQUISA
========================================================== */

.docs-search {
    width: 400px;

    position: relative;

    z-index: 1600;
}


/* ==========================================================
   CAMPO
========================================================== */

.docs-search-field {
    width: 100%;
    height: 40px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 12px;

    border: 1px solid transparent;
    border-radius: 22px;

    background: #f3f4f6;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.docs-search-field:focus-within,
.docs-search.is-open
.docs-search-field {
    border-color: #d7d8dd;

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(36, 71, 255, 0.08);
}

.docs-search-field svg {
    flex-shrink: 0;

    color: #71717a;
}

.docs-search-field input {
    width: 100%;
    min-width: 0;

    padding: 0;

    border: 0;
    outline: 0;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;
    color: #18181b;

    font: inherit;
}

.docs-search-field input::placeholder {
    color: #a1a1aa;
}


/* ==========================================================
   REMOVE X NATIVO
========================================================== */

.docs-search-field
input[type="search"]::-webkit-search-cancel-button,

.docs-search-field
input[type="search"]::-webkit-search-decoration,

.docs-search-field
input[type="search"]::-webkit-search-results-button,

.docs-search-field
input[type="search"]::-webkit-search-results-decoration {
    display: none;

    width: 0;
    height: 0;

    margin: 0;
    padding: 0;

    -webkit-appearance: none;
}

.docs-search-field
input[type="search"]::-ms-clear,

.docs-search-field
input[type="search"]::-ms-reveal {
    display: none;

    width: 0;
    height: 0;
}


/* ==========================================================
   BOTÃO LIMPAR
========================================================== */

.docs-search-clear {
    width: 24px;
    height: 24px;

    display: none;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    outline: none;

    background: transparent;
    color: #71717a;

    cursor: pointer;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 20px;
    line-height: 1;
}

.docs-search-clear.is-visible {
    display: flex;
}

.docs-search-clear:hover {
    background: #e4e4e7;
    color: #18181b;
}


/* ==========================================================
   DROPDOWN PESQUISA
========================================================== */

.docs-search-dropdown {
    width: 540px;

    max-width:
        calc(100vw - 30px);

    max-height:
        min(
            620px,
            calc(100vh - 100px)
        );

    display: none;

    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 7px;

    border: 1px solid #e4e4e7;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 14px 40px
        rgba(0, 0, 0, 0.14);
}

.docs-search.is-open
.docs-search-dropdown {
    display: block;
}


/* ==========================================================
   RESULTADO PESQUISA
========================================================== */

.docs-search-result {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 12px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: #27272a;

    cursor: pointer;

    text-align: left;

    font: inherit;

    transition:
        background-color 0.12s ease;
}

.docs-search-result:hover,
.docs-search-result.is-selected {
    background: #f4f4f5;
}


/* ==========================================================
   ÍCONE RESULTADO
========================================================== */

.docs-search-result-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-top: 1px;

    border-radius: 7px;

    background: #f1f2ff;
    color: #2447ff;

    font-size: 13px;
    font-weight: 700;
}


/* ==========================================================
   CONTEÚDO RESULTADO
========================================================== */

.docs-search-result-content {
    min-width: 0;

    display: flex;
    flex: 1;
    flex-direction: column;
}

.docs-search-result-title {
    color: #27272a;

    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.4;
}


/* ==========================================================
   TRECHO ENCONTRADO
========================================================== */

.docs-search-result-snippet {
    display: -webkit-box;

    margin-top: 4px;

    overflow: hidden;

    color: #52525b;

    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* ==========================================================
   CAMINHO
========================================================== */

.docs-search-result-path {
    margin-top: 5px;

    overflow: hidden;

    color: #92929a;

    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 11.5px;
}


/* ==========================================================
   TIPO
========================================================== */

.docs-search-result-type {
    flex-shrink: 0;

    margin-top: 3px;

    padding: 2px 6px;

    border-radius: 5px;

    background: #f4f4f5;
    color: #71717a;

    font-size: 10px;
    font-weight: 500;
}


/* ==========================================================
   MARCAÇÃO
========================================================== */

.docs-search-result mark {
    padding: 0;

    background: transparent;
    color: #2447ff;

    font-weight: 700;
}


/* ==========================================================
   BUSCANDO
========================================================== */

.docs-search-loading {
    min-height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 15px;

    color: #71717a;

    font-size: 12.5px;
}

.docs-search-spinner {
    width: 17px;
    height: 17px;

    display: block;

    flex-shrink: 0;

    border:
        2px solid
        #e4e4e7;

    border-top-color:
        #2447ff;

    border-radius: 50%;

    animation:
        docs-search-spin
        0.7s
        linear
        infinite;
}

@keyframes docs-search-spin {

    to {
        transform:
            rotate(360deg);
    }

}


/* ==========================================================
   SEM RESULTADOS
========================================================== */

.docs-search-empty {
    padding: 22px 14px;

    color: #71717a;

    font-size: 13px;
    text-align: center;
}

.docs-search-empty strong {
    color: #27272a;
}


/* ==========================================================
   LAYOUT
========================================================== */

.docs-layout {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        280px
        minmax(0, 1fr)
        290px;

    padding-top: 64px;

    background: #ffffff;
}


/* ==========================================================
   SIDEBAR
========================================================== */

.docs-sidebar {
    width: 100%;
    height:
        calc(
            100vh - 64px
        );

    position: sticky;

    top: 64px;

    overflow-x: hidden;
    overflow-y: auto;

    border-right:
        1px solid #e5e7eb;

    background: #ffffff;

    scrollbar-gutter: stable;
}

.docs-sidebar-inner {
    padding:
        20px
        10px
        40px;
}

.docs-sidebar-title {
    padding:
        6px
        10px
        14px;

    color: #52525b;

    font-size: 13px;
    font-weight: 600;
}


/* ==========================================================
   MENU
========================================================== */

.docs-menu,
.docs-menu ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.docs-menu li {
    position: relative;

    margin: 0;
    padding: 0;
}

.docs-menu a {
    min-height: 34px;

    display: block;

    position: relative;

    margin: 1px 0;

    padding:
        7px
        35px
        7px
        12px;

    border-radius: 6px;

    color: #52525b;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        font-weight 0.15s ease;
}

.docs-menu a:hover {
    background: #f5f5f5;
    color: #2447ff;
}


/* ==========================================================
   SUBNÍVEIS
========================================================== */

.docs-menu .sub-menu {
    padding-left: 12px;
}

.docs-menu
.sub-menu
.sub-menu {
    padding-left: 12px;
}

.docs-menu
.sub-menu
.sub-menu
.sub-menu {
    padding-left: 10px;
}

.docs-menu
.sub-menu
.sub-menu
.sub-menu
.sub-menu {
    padding-left: 8px;
}


/* ==========================================================
   SETA SUBMENU
========================================================== */

.docs-submenu-toggle {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;

    top: 3px;
    right: 3px;

    z-index: 3;

    margin: 0;
    padding: 0;

    border: none;
    border-radius: 5px;

    outline: none;

    background: transparent;
    color: #71717a;

    cursor: pointer;
}

.docs-submenu-toggle:hover {
    background: #eeeeef;
    color: #18181b;
}

.docs-submenu-toggle::after {
    content: "";

    width: 7px;
    height: 7px;

    margin-top: -3px;

    border-right:
        2px solid currentColor;

    border-bottom:
        2px solid currentColor;

    transform:
        rotate(45deg);

    transition:
        transform 0.2s ease;
}

.docs-menu-item-open
>
.docs-submenu-toggle::after {
    margin-top: 3px;

    transform:
        rotate(225deg);
}


/* ==========================================================
   ABRIR SUBMENU
========================================================== */

.docs-menu
li.menu-item-has-children
>
.sub-menu {
    display: none;
}

.docs-menu
li.menu-item-has-children.docs-menu-item-open
>
.sub-menu {
    display: block;
}


/* ==========================================================
   ESTADO WORDPRESS
========================================================== */

.docs-menu
.current-menu-item
>
a {
    background: #f2f2f3;
    color: #2447ff;

    font-weight: 600;
}

.docs-menu
.current-menu-parent
>
a,

.docs-menu
.current-menu-ancestor
>
a {
    color: #2447ff;

    font-weight: 600;
}


/* ==========================================================
   NAVEGAÇÃO POR SEÇÃO
========================================================== */

body.docs-has-section-navigation
.docs-menu
.current-menu-item
>
a,

body.docs-has-section-navigation
.docs-menu
.current-menu-parent
>
a,

body.docs-has-section-navigation
.docs-menu
.current-menu-ancestor
>
a {
    background: transparent;
    color: #52525b;

    font-weight: 400;
}


/* ==========================================================
   TODOS OS PAIS ATIVOS
========================================================== */

body.docs-has-section-navigation
.docs-menu
.docs-parent-active
>
a {
    background: transparent !important;
    color: #2447ff !important;

    font-weight: 600 !important;
}

body.docs-has-section-navigation
.docs-menu
.docs-parent-active
>
.docs-submenu-toggle {
    color: #2447ff;
}


/* ==========================================================
   SEÇÃO ATIVA
========================================================== */

.docs-menu
a.docs-section-active {
    background: #f0f1f3 !important;
    color: #2447ff !important;

    font-weight: 600 !important;
}

.docs-menu
.docs-section-current
>
a {
    background: #f0f1f3 !important;
    color: #2447ff !important;

    font-weight: 600 !important;
}

.docs-menu
.docs-section-current
>
a::before {
    content: "";

    width: 3px;

    position: absolute;

    top: 7px;
    bottom: 7px;
    left: 2px;

    border-radius: 999px;

    background: #2447ff;
}


/* ==========================================================
   CONTEÚDO CENTRAL
========================================================== */

.docs-main {
    width: 100%;
    min-width: 0;

    padding:
        22px
        clamp(32px, 5vw, 85px)
        80px;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.docs-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 26px;

    color: #71717a;

    font-size: 12px;
}

.docs-breadcrumb a:hover {
    color: #2447ff;
}


/* ==========================================================
   ARTIGO
========================================================== */

.docs-article {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.docs-article h1 {
    margin:
        0
        0
        24px;

    color: #171717;

    font-size:
        clamp(
            32px,
            3vw,
            44px
        );

    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -0.035em;
}

.docs-article h2 {
    margin:
        38px
        0
        12px;

    color: #171717;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: -0.02em;

    scroll-margin-top: 90px;
}

.docs-article h3 {
    margin:
        28px
        0
        10px;

    color: #171717;

    font-size: 19px;
    font-weight: 650;
    line-height: 1.35;

    scroll-margin-top: 90px;
}

.docs-article h4 {
    margin:
        24px
        0
        8px;

    color: #27272a;

    font-size: 16px;
    font-weight: 650;

    scroll-margin-top: 90px;
}

.docs-article p {
    margin: 0 0 18px;

    color: #27272a;
}

.docs-article ul,
.docs-article ol {
    margin: 0 0 20px;

    padding-left: 28px;
}

.docs-article li {
    margin-bottom: 5px;
}

.docs-article a {
    color: #2447ff;
}

.docs-article a:hover {
    text-decoration: underline;
}

.docs-article img {
    max-width: 100%;
    height: auto;

    border-radius: 6px;
}


/* ==========================================================
   TABELAS
========================================================== */

.docs-article table {
    width: 100%;

    margin: 25px 0;

    border-collapse: collapse;
}

.docs-article th,
.docs-article td {
    padding: 12px;

    border: 1px solid #e5e7eb;

    text-align: left;
    vertical-align: top;
}

.docs-article th {
    background: #f8f8f9;

    font-weight: 600;
}


/* ==========================================================
   ELEMENTOR
========================================================== */

.docs-article
.elementor {
    width: 100%;
    max-width: 100%;
}

.docs-article
.elementor-element {
    min-width: 0;
}

.docs-article
.elementor-widget-container {
    max-width: 100%;
}

.docs-article
.e-con,

.docs-article
.elementor-section,

.docs-article
.elementor-container {
    max-width: 100%;
}


/* ==========================================================
   MENU DIREITO
========================================================== */

.docs-toc-wrapper {
    min-width: 0;

    padding:
        26px
        30px
        40px
        0;
}

.docs-toc {
    max-height:
        calc(
            100vh - 125px
        );

    position: sticky;

    top: 100px;

    overflow-y: auto;

    padding-left: 20px;

    border-left:
        1px solid #dfe1e5;
}

.docs-toc-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.docs-toc-item {
    margin: 0;
    padding: 0;
}

.docs-toc-link {
    display: block;

    padding: 5px 0;

    color: #71717a;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.docs-toc-link:hover {
    color: #2447ff;
}

.docs-toc-link.active {
    color: #2447ff;

    font-weight: 600;
}

.docs-toc-level-3 {
    padding-left: 14px;
}

.docs-toc-level-3
.docs-toc-link {
    font-size: 12.5px;
}


/* ==========================================================
   SCROLLBARS
========================================================== */

.docs-sidebar::-webkit-scrollbar,
.docs-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.docs-toc::-webkit-scrollbar {
    width: 5px;
}

.docs-sidebar::-webkit-scrollbar-track,
.docs-toc::-webkit-scrollbar-track,
.docs-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.docs-sidebar::-webkit-scrollbar-thumb,
.docs-toc::-webkit-scrollbar-thumb,
.docs-search-dropdown::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #d4d4d8;
}


/* ==========================================================
   MOBILE BUTTON
========================================================== */

.mobile-menu-button {
    width: 36px;
    height: 36px;

    display: none;

    flex-shrink: 0;

    margin: 0;
    padding: 7px;

    border: none;
    border-radius: 6px;

    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    width: 100%;
    height: 2px;

    display: block;

    margin: 5px 0;

    border-radius: 3px;

    background: #222;
}

.docs-overlay {
    display: none;
}


/* ==========================================================
   1350
========================================================== */

@media (max-width: 1350px) {

    .docs-layout {
        grid-template-columns:
            260px
            minmax(0, 1fr)
            250px;
    }

    .docs-main {
        padding:
            22px
            45px
            80px;
    }

    .docs-search {
        width: 340px;
    }

}


/* ==========================================================
   1200
========================================================== */

@media (max-width: 1200px) {

    .docs-layout {
        grid-template-columns:
            250px
            minmax(0, 1fr);
    }

    .docs-toc-wrapper {
        display: none;
    }

    .docs-search {
        width: 280px;
    }

}


/* ==========================================================
   950
========================================================== */

@media (max-width: 950px) {

    .header-navigation a {
        padding:
            20px
            10px;
    }

    .docs-search {
        width: 240px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 800px) {

    .site-header {
        padding: 0 14px;
    }

    .site-header-left {
        gap: 8px;
    }

    .mobile-menu-button {
        display: block;
    }

    .header-navigation {
        display: none;
    }

    .docs-search {
        width: 220px;
    }

    .docs-layout {
        display: block;

        padding-top: 64px;
    }

    .docs-sidebar {
        width:
            min(
                320px,
                88vw
            );

        height:
            calc(
                100vh - 64px
            );

        position: fixed;

        top: 64px;
        left: 0;

        z-index: 1200;

        background: #ffffff;

        transform:
            translateX(-105%);

        transition:
            transform 0.25s ease;
    }

    .docs-sidebar.is-open {
        transform:
            translateX(0);
    }

    .docs-main {
        padding:
            24px
            20px
            60px;
    }

    .docs-overlay {
        position: fixed;

        inset:
            64px
            0
            0
            0;

        z-index: 1100;

        background:
            rgba(0, 0, 0, 0.35);
    }

    .docs-overlay.is-visible {
        display: block;
    }

}


/* ==========================================================
   MOBILE PEQUENO
========================================================== */

@media (max-width: 500px) {

    .site-brand strong {
        max-width: 110px;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .docs-search {
        width: 175px;
    }

    .docs-search-result-type {
        display: none;
    }

    .docs-search-dropdown {
        width:
            calc(
                100vw - 28px
            );

        position: fixed;

        top: 70px;
        right: 14px;
    }

    .docs-main {
        padding:
            20px
            16px
            50px;
    }

    .docs-article h1 {
        font-size: 32px;
    }

    .docs-article h2 {
        font-size: 23px;
    }

}


/* ==========================================================
   MOVIMENTO REDUZIDO
========================================================== */

@media (
    prefers-reduced-motion: reduce
) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }

}