:root {
    --color-brand: #410d75;
    --color-brand-50:  #EDE6F2;
    --color-brand-200: #B59CCA;
    --color-brand-400: #7E51A2;
    --color-brand-600: #320555;
    --main-color: var(--color-brand);
    --main-color-light: var(--gray-100);

    --color-badge: #3164CB;
    --color-link: #0D6E00;
    --color-link-200: #D4F1D0;

    --gray-50: #F4F4F5;
    --gray-100: #ebebeb;
    --gray-200: #D4D4D8;
    --gray-300: #A1A1AA;
    --gray-500: #71717A;
    --gray-700: #3C3C41;
    --gray-900: #27272A;

    --color-black: black;
}

.dark-mode {
    --color-brand: #47077A;
    --color-brand-50:  #EDE6F2;
    --color-brand-200: #B59CCA;
    --color-brand-400: #7E51A2;
    --color-brand-600: #320555;

    --color-badge: #3164CB;
    --color-link: #0D6E00;
    --color-link-200: #D4F1D0;

    --gray-50: #27272A;
    --gray-100: #3C3C41;
    --gray-200: #71717A;
    --gray-300: #A1A1AA;
    --gray-500: #D4D4D8;
    --gray-700: #ebebeb;
    --gray-900: #F4F4F5;

    --color-black: white;
}

body {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
}

a {
    color: var(--color-link);
    text-decoration: none;
}

b {
    color: var(--color-black);
}

h1, h2, h3, h4, h5 {
    line-height: 1.3;
    margin: 16px 0;
    font-weight: 600;
    color: var(--color-black);
}

.home h1.hero {
    font-size: 3em;
    font-weight: 700;
}

.home h1 {
    font-size: 2.625em;
    margin-top: 80px;
}

.home h2 {
    font-size: 2.25em;
    margin-top: 20px;
    margin-bottom: 0;
}

.home h3 {
    font-size: 1.5em;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.home h4 {
    font-size: 1.125em;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.home h5 {
    font-size: 1em;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

footer {
    margin-top: 40px;
    font-size: 0.8em;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin: 10px 0;
}

footer a {
    color: var(--gray-500);
}

footer h5 {
    font-size: 1em;
}

blockquote {
    background-color: var(--color-brand-50);
    border-left: 4px solid var(--color-brand);
    padding: 20px 50px 20px 25px;
    margin: 30px 0 40px 0;
}

blockquote.green {
    background-color: var(--color-link-200);
    border-left: 8px solid #5bbe56;
}

blockquote.white {
    background-color: #fff;
    border-left: 8px solid #ccc;
}

blockquote.pro {
    background-color: var(--gray-50);
    border-left: 4px solid var(--color-brand);
}

blockquote h2, blockquote h3 {
    margin: 15px 0 !important;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.row.gap {
    gap: 32px;
}

.row.gap.big {
    gap: 128px;
}

.row.gap.small {
    gap: 16px;
}

.row.container {
    flex-wrap: nowrap;
}

.row.right {
    justify-content: right;
}

.row.left {
    justify-content: left;
}

.row.center {
    justify-content: center;
}

.row.start {
    align-items: flex-start;
}

.row.end {
    align-items: flex-end;
}

.row.stretch {
    align-items: stretch;
}

footer .row {
    align-items: unset;
}

.column .start {
    justify-items: start;
}

.column.space-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    display: flex;
}

.logo img {
    display: block;
}

/* Buttons */

.button {
    color: var(--gray-900);
    padding: 12px 16px;
    display: inline-block;
    border-radius: 8px;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875em;
}

.button:hover {
    background-color: var(--gray-100);
}

.button.big, .lm-primary.big {
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 1em;
}

.button.selected {
    color: var(--gray-900);
    background-color: var(--gray-100);
}

.button.primary, .lm-primary {
    background-color: var(--gray-900) !important;
    color: var(--gray-50) !important;
}

.button.primary:hover, .lm-primary:hover {
    background-color: var(--gray-700) !important;
}

.button.disabled {
    color: var(--gray-300) !important;
    background: var(--gray-100) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.button.disabled:hover {
    background: transparent;
    box-shadow: none;
}

.button.secondary, .lm-secondary {
    border: 1px solid var(--gray-200) !important;
}

.button.secondary:hover, .lm-secondary:hover {
    background-color: var(--gray-100) !important;
}


/* resolução de sintoma */
div.example > input {
    padding: 6px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.875em;
    border: 1px solid var(--gray-500);
}

div.example > input[type=button],
div.example > p > input[type=button] {
    padding: 8px 12px;
    display: inline-block;
    border-radius: 2px;
    background-color: var(--gray-500) !important;
    color: var(--gray-50) !important;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875em;
}

div.example > select,
div.example > p > select {
    padding: 6px;
    display: inline-block;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.875em;
}

/** Pricing **/

.button-group {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    display: inline-flex;
    flex-wrap: nowrap;
    padding: 8px 4px;
}

.button-group button a {
    color: var(--gray-300);
    margin: 0 4px;
}

/*Form & Form-group*/

.form .jdropdown {
    width: 100%;
}

.form .jdropdown-default .jdropdown-header {
    border: 1px solid var(--gray-200);
    padding: 12px 16px;
}

.form input,
.form select,
.form textarea,
.form button,
.form .input,
.form .jdropdown-header {
    border: 1px solid var(--gray-200);
    box-sizing: border-box;
    background-color: transparent;
    line-height: initial;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875em;
    font-family: inherit;
}

.form-group {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
}

.form-group input[type="checkbox"] {
    width: 15px;
    margin-right: 5px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.row input[type="checkbox"] + label {
    cursor: pointer;
}

/** Sections */

.top {
    font-size: 0.9em;
    background-color: #fff;
    padding: 12px 20px;
    position: sticky !important;
    top: 0;
    z-index: 7;
}

.top.scrolled {
    border-bottom: 1px solid var(--gray-100);
}

.top nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel {
    margin: 0;
    padding: 64px;
    background-color: var(--gray-50);
    border-radius: 30px;
}

.panel.small {
    padding: 32px;
}

.center {
    text-align: center;
}

.caption {
    font-size: 0.75em !important;
    font-weight: 500 !important;
    color: var(--gray-900) !important;
}

.section {
    margin: 80px 0;
}

.link {
    color: var(--color-link);
    font-weight: 600;
}

.space240 {
    height: 240px;
    position: relative;
}

.space160 {
    height: 160px;
    position: relative;
}

.space80 {
    height: 80px;
    position: relative;
}

.space40 {
    height: 40px;
    position: relative;
}

.line {
    margin: 24px 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
}

/** Navigation **/

.breadcrumb {
    padding: 15px 0 0 0;
    font-size: 0.875em;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb i {
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb strong {
    font-weight: normal;
}

.breadcrumb a {
    color: var(--color-link);
    font-weight: 600;
}

.nowrap {
    white-space: nowrap;
}

/** Framework **/

.box {
    display: grid;
    grid-gap: 32px;
    justify-content: left;
    padding: 32px;
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    box-sizing: border-box;
    background: white;
}

.box p {
    font-size: 0.875em;
}

.box h2, .panel.small h2{
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.box.center {
    justify-content: center;
}

.box.nogap {
    grid-gap: 0;
}

.box.gap.small {
    grid-gap: 16px;
}

.box.stretch {
    grid-template-columns: repeat(auto-fit, 100%);
}

.box[data-number='2'] {
    grid-template-columns: repeat(auto-fit, minmax(250px, calc(50% - 15px)));
}

.box[data-number='3'] {
    grid-template-columns: repeat(auto-fit, minmax(250px, calc(33.333% - 20px)));
}

.box[data-number='4'] {
    grid-template-columns: repeat(auto-fit, minmax(250px, calc(25% - 22.5px)));
}

.box.shadow{
    box-shadow: 0 0 20px 0 var(--gray-100);
}

.row.stretch .column .box {
    height: 100%;
}

.box > a img {
    height: 48px;
    width: auto;
}

.f1 {
    flex:1;
}

.f2 {
    flex:2;
}

.f3 {
    flex:3;
}

.f4 {
    flex:4;
}

.f5 {
    flex:5;
}

.f6 {
    flex:6;
}

.f7 {
    flex:7;
}

.f8 {
    flex:8;
}

.f9 {
    flex:9;
}

.f10 {
    flex:10;
}

.w5 {
    width:5%;
}

.w10 {
    width:10%;
}

.w15 {
    width:15%;
}

.w20 {
    width:15%;
}

.w25 {
    width:25%;
}

.w30 {
    width:30%;
}

.w33 {
    width:33%;
}

.w40 {
    width:40%;
}

.w50 {
    width:50%;
}

.w60 {
    width:60%;
}

.w66 {
    width:66%;
}

.w70 {
    width:70%;
}

.w80 {
    width:80%;
}

.w100 {
    width:100%;
}

.p0 {
    padding:0;
}

.p2 {
    padding:2px;
}

.p4 {
    padding:4px;
}

.p6 {
    padding:6px;
}

.p8 {
    padding:8px;
}

.p10 {
    padding:10px;
}

.p15 {
    padding:15px;
}

.p20 {
    padding:20px;
}

.p25 {
    padding:25px;
}

.p30 {
    padding:30px;
}

.p40 {
    padding:40px;
}

.m0 {
    margin: 0 !important;
}

/* companies carousel */

.carousel-container {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.carousel-container::before {
    z-index: 1;
    content: "";
    position: absolute;
    left: 0;
    width: 300px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.carousel-container::after {
    content: "";
    position: absolute;
    right: 0;
    width: 300px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.carousel-content {
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
    animation: scrollAnimation 60s linear infinite;
}

.carousel-content img {
    margin: 0 40px;
    width: auto;
    height: 100%;
}

@keyframes scrollAnimation {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/** Custom **/

.toggle {
    margin: 0 80px;
}

.toggle h3 {
    margin-top: 40px !important;
}

.toggle > div {
    padding: 20px 30px 20px 0;
    position: relative;
    border-bottom: 2px solid var(--gray-100);
    cursor: pointer;
    user-select: none;
}

.toggle > div::after {
    position: absolute;
    right: 8px;
    top: calc(50% - 16px);
    content: "\e5cf";
    font-family: 'Material Icons';
    font-size: 24px;
}

.toggle > div :nth-child(2) {
    font-size: 1.2em;
    display: none;
    width: calc(100% - 50px);
    margin: 20px 0;
}

.toggle > div.toggle-opened::after {
    content: "\e5ce";
}

.toggle > div.toggle-opened :nth-child(2) {
    display: block !important;
}

.github-edition {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    text-align: center;
    font-size: 0.8em;
    margin: 100px 0 50px 0;
    padding: 5px 20px;
    position: relative;
}

.github-edition:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg height="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="20"><path fill="rgb(149, 157, 165)" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>');
}

.github-edition a {
    padding: 5px;
    color: #707070;
}

.github {
    line-height: 1em;
    margin-left: 40px;
    margin-right: 40px;
}

/** Ace Editor **/

.ace_editor {
    height: 100%;
    width: 100%;
    font-size: 13px;
    font-family: monospace !important;
    line-height: 1.6 !important;
}

.ace-github-dark .ace_gutter {
    background: inherit !important;
}

/** Indexing **/

#index {
    position: sticky !important;
    top: 80px !important;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

#index:empty {
    display: none;
}

@media (max-width: 1200px) {
    #index {
        display: none;
    }

    .big-screen-only {
        display: none !important;
    }

    .jmenu-icon {
        display: block !important;
    }
}

@media (min-width: 1201px) {
    .small-screen-only {
        display: none !important;
    }
}

/** Mobile **/

@media (max-width: 800px) {
    .carousel-container::after, .carousel-container::before {
        width: 30px;
    }

    .column {
        min-width: fit-content;
    }

    .top {
        padding: 10px;
    }

    .w50, .w70, .w80, .w100 {
        width: unset;
    }

    .home h1 {
        font-size: 2em;
        margin-top: 20px;
    }

    .home h1.hero {
        font-size: 2.4em;
        margin-top: 20px;
    }

    .home h2 {
        font-size: 1.6em;
    }

    .home h3 {
        font-size: 1.2em;
    }

    .home h4 {
        font-size: 1em;
    }

    .home h5 {
        font-size: 1em;
    }

    .panel {
        padding: 40px;
    }

    .space240 {
        height: 120px;
    }

    .space160 {
        height: 80px;
        position: relative;
    }

    .space80 {
        height: 40px;
        position: relative;
    }

    .space40 {
        height: 20px;
        position: relative;
    }

    .space10 {
        height: 10px;
        position: relative;
    }

    .row.gap {
        gap: 16px;
    }

    .row.gap.big {
        gap: 64px;
    }

    .row.gap.small {
        gap: 8px;
    }

    .logo img {
        height: 28px;
    }

    .breadcrumb {
        padding: 0;
    }

    .toggle {
        margin: 0;
    }

    footer > .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .lm-page {
        padding: 80px 16px 0 16px !important;
    }

    .lm-page > table {
        display: block;
        overflow-x: auto;
    }

    .row.reverse-mobile {
        flex-direction: column-reverse;
    }

    .carousel-container {
        zoom: 0.5;
    }
}

/* Products */

.products {
    display: unset;
    min-height: auto !important;
}

.products::after {
    text-align: center;
    content: "keyboard_arrow_down";
    font-family: 'Material Icons';
    margin-left: 3px;
    width: 24px;
}

.products .jpicker-content {
    width: auto;
    padding: 32px;
    max-height: none;
    margin-top: 30px !important;
    margin-left: 0;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    box-shadow: 0 0 20px 0 var(--gray-100);
    cursor: pointer;
    pointer-events: all;
    position: absolute;
    left: 0;
    top: 12px;
}

.products .jpicker-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    gap: 16px;
}

.products .jpicker-item > a b.mit {
    background-color: #E8EFFD;
    border-radius: 24px;
    padding: 4px 8px;
    color: #3164CB !important;
}

.products .jpicker-item > a p {
    margin: 4px 0;
}

/** Tags */

.jtag {
    background-color: red;
    color: #fff;
    padding: 2px 8px 2px 8px;
    font-size: 9px;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.jtag.black {
    background-color: var(--color-black);
}

.jtag.purple {
    background-color: #410d75;
}

.info-label {
    color: #fff;
    padding: 2px 8px 2px 8px;
    font-size: 8px;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    line-height: 16px;
    margin: 6px;
    font-style: normal;
    word-break: initial;
}

.info-label.new  {
    background-color: green;
}

.info-label.new:after {
    content: '';
}

.info-label.deprecated  {
    background-color: var(--color-black);
}

.info-label.removed  {
    background-color: red;
}

.info-label.updated  {
    background-color: orange;
}

/** Examples */

.jss_container {
    font-size: 14px;
}

.frameworks img {
    width: 40px;
    margin: 10px;
}

.frameworks-options {
    list-style: none;
    display: flex;
    padding: 20px 5px;
    margin: 20px 0 0 0;
}

.frameworks-options img {
    width: auto;
    height: 24px;
    margin-left: 12px;
    display: inline-block;
    cursor: pointer;
}

.frameworks-options li:first-child>img {
    margin-left: 0 !important;
}

.frameworks-options li {
    display: flex;
    list-style: none;
    padding: 0;
}

.framework-images:after {
    content: '';
    position: absolute;
    background-image: url(../img/framework-images.png);
    width: 115px;
    height: 20px;
    margin-top: -5px;
    margin-left: 20px;
}

.framework-logos {
    margin: 0 auto;
    max-width: 400px;
}

.framework-logos img {
    width: 24px;
}

.example-container {
    margin-bottom: 40px;
}

.example {
    display: inline-block;
    line-height: initial;
}

.github-edition {
    margin-top: 40px;
    margin-bottom: 120px;
}

/** md */

.md a.arrow {
    color: var(--color-link);
}

.md a.arrow::after,
.md a.arrow.back::before {
    font-family: "Material Icons";
    font-size: 28px;
    vertical-align: middle;
}

.md a.arrow::after {
    content: "chevron_right";
}

.md a.arrow.back::after {
    content: none;
}

.md a.arrow.back::before {
    content: "chevron_left";
}

.md .box.nogap p {
    margin: 5px 0;
}

.md img.right {
    width: 100%;
    max-width: 320px;
    float: right;
    margin: 40px;
}

.md img.left {
    width: 100%;
    max-width: 320px;
    float: left;
    margin: 40px;
}

.md img.icon {
    width: 60px;
    float: left;
    margin: -10px 10px 0 0
}

.md img.cover {
    width: 100%;
    height: auto;
    padding: 0;
}

.md .heading-permalink {
    visibility: collapse;
}

.md pre {
    overflow-wrap: anywhere;
    white-space: break-spaces;
    margin: 0;
}

.md pre > code {
    padding: 2em;
    margin: 0 0 20px 0;
    display: inline-block;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #2e3440;
    color: #fff;
    overflow-wrap: anywhere;
    white-space: break-spaces;
    position: relative;
}

.md > div > table {
    border: 1px solid var(--gray-200);
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    margin: 30px 0 50px;
    font-size: 0.875em;
    text-align: left;
    empty-cells: show;
}

.md > div > table thead th {
    background-color: var(--gray-100);
    padding: 16px;
}

.md > div > table td {
    padding: 6px;
    border: 1px solid var(--gray-200);
}

.md ol {
    margin: 0;
}

.md ul {
    margin: 0;
}

.md .container-btn-code {
    display: flex;
    justify-content: end;
    z-index: 1;
    position: absolute;
    padding: 10px;
    margin: 15px;
    max-width: 790px;
    min-width: 790px;
    width: 100%;
    overflow-wrap: anywhere;
    white-space: break-spaces;
}

.md .container-btn-code-demo {
    display: flex;
    padding: 0;
    margin: 0 0 10px 0;
}

.md h2 {
    margin-top: 40px;
    margin-bottom: 10px;
}

.md h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.md h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.md h5 {
    margin-top: 15px;
    margin-bottom: 10px;
}


/* Tables Pricing */

table.pricing th:nth-child(n+2),
table.pricing td:nth-child(n+2) {
    text-align: center;
}

table .icon {
    color: var(--color-link);
    font-family: 'Material Icons';
    font-size: 1.5em;
    font-style: normal;
}

table .icon-no {
    font-family: 'Material Icons';
    font-size: 1.5em;
    font-style: normal;
}

table.pricing thead tr,
table.pricing tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.table.pricing td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--color-black) !important;
}


/** Menu **/

.jmenu * {
    font-family: Inter, sans-serif !important;
    color: var(--gray-900) !important;
}

.jmenu nav h2 {
    border-radius: 8px !important;
    letter-spacing: 0 !important;
}

.jmenu nav h2.folder.selected {
    border-radius: 8px;
    background: var(--gray-50);
}

.jmenu nav h3, .jmenu a {
    font-size: 14px !important;
}

.jmenu {
    font-size: 0.9em;
}

.jmenu > div {
    background-color: #fff;
    width: 260px;
}

.jmenu:not(:empty) {
    min-width: 260px;
}

.jmenu:empty {
    display: none;
}

.jmenu-icon {
    margin-right: 10px;
}

@media (min-width: 960px) {
    .jmenu > div {
        position: fixed;
        top: 0;
        margin-top: 70px;
        height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
        scrollbar-width: thin; /* For Firefox */
        scrollbar-color: transparent transparent; /* For Firefox */
    }
}

.strike {
    text-decoration: line-through;
}

.alert {
    color: var(--color-brand);
}

/** Product Boxes **/

.product-box-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-box-content h3 {
    margin: 0 0 8px 0;
    text-align: left;
}

.product-box-content p {
    color: var(--color-black);
    margin: 0;
    text-align: left;
    width: 90%;
}

