:root {
    --lm-main-color: #2F8431;
    --lm-main-color-deep: #256c27;
    --social-color: #298BA8;
    --gray-active: #aaa;
    --gray-disabled: #eee;
    --button-color: #2F8431;
    --main-color: #c70000;
    --second-color: #2F8431;
    --border-color: #E6E2E2;
    --main-color-light: #ffeeee;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open sans', sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

.breadcrumb a[href] {
    color: var(--second-color);
}

a:hover {
    text-decoration: underline;
}

input[type="button"], .button {
    font-family: "Open Sans", sans-serif;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: normal;
}

input[type="button"], .button a {
    color: var(--main-color);
    font-weight: normal;
}

.button a {
    padding: 20px 0;
}

input[type="button"], .button.main {
    background-color: var(--main-color);
    color: #fff;
    padding: 6px 30px;
}

input[type="button"], .button.main a {
    color: #fff;
}

li.button {
    padding: 4px 15px;
}

.container {
    max-width: 1600px;
}

.button.secondary {
    border: 2px solid var(--button-color);
    background-color: var(--button-color);
    color: #fff;
}

.button.secondary a {
    color: #fff;
}

.button.dark {
    background-color: #333333;
    border-color: #333333;
    color: white;
    font-weight: 600;
}

a.button.dark {
    text-decoration: none;
}

.button.stretch {
    display: block;
    width: 100%;
    text-align: center;
}

.logo img {
    height: 35px;
    display: block;
}

.top {
    position: sticky;
    top: 0;
    z-index: 6;
    padding: 10px 0 10px 0;
    background-color: inherit;
}

/** Configurations specific for mobile **/

@media (max-width: 800px) {
    .logo img {
        height: 30px;
        display: block;
    }

    .top {
        padding: 0;
    }

    .frameworks-options {
        margin-left: 10px !important;
    }

    .search {
        margin: 0 5px 0 5px !important;
    }
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.4em;
    font-weight: bold;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.25em;
}

h5 {
    font-size: 1em;
}

[data-text]::before {
    content: attr(data-text);
    color: var(--main-color);
    font-size: 16px;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    line-height: 1.4;
}

.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;
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5 {
    margin: initial;
}

footer {
    margin-top: 40px;
    box-shadow: initial;
    background-color: #fff;
}

.code-box {
    box-sizing: border-box;
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    font-size:1em;
    line-height: initial;
    border-radius: 2px;
    height: fit-content;
    margin-top: 20px;
}

.search {
    margin: 0 40px 0 40px;
    box-sizing: border-box;
    max-width: 240px;
}

#index {
    position: sticky;
    top: 80px;
}

#index:empty {
    display: none;
}

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

.jmenu {
    font-size: 0.9em;
}

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

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

.jmenu:empty {
    display: none;
}

@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 */
    }
}

.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: black;
}

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

blockquote {
    background-color: rgb(255, 223, 227);
    border-left: 8px solid #ff6464;
    padding: 20px 50px 20px 25px;
    margin: 30px 0 40px 0;
}

blockquote.green {
    background-color: rgb(222, 255, 213);
    border-left: 8px solid #5bbe56;
}

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

blockquote.pro {
    background-color: #f6f6f6;
    border-left: 4px solid var(--main-color);
}

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

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

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

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

.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;
}

/** md */
.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.demo {
    padding: 0;
}

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

.md > div > table {
    border: 1px solid #d0d0d0;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin-top: 30px;
    margin-bottom: 50px;
    empty-cells: show;
    font-size: 0.9em;
}

.md > div > table thead th {
    background-color: #eee;
    border: 1px solid #ccc;
    border-bottom: 1px solid black;
    padding: 10px;
    font-size: 1.2em;
}

.md > div > table td {
    padding: 6px;
    border: 1px solid #ccc;
    word-break: break-word;
}

.example-container {
    display: inline-block;
    margin: 20px 0;
}

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

.example input[type="button"], .example .button a {
    border: 2px solid #737373;
    background-color: #737373;
    margin-right: 2px;
}

@media (max-width: 720px) {
    .md pre > code {
        width: 100%;
        overflow-x: auto;
    }

    #content {
        padding-top: 55px;
        box-sizing: border-box;
    }
}

.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;
    border: 1px solid #707070;
}

.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;
}

.limit-75 {
    width: 75%;
}

.limit-85 {
    width: 85%;
}

.box {
    display: grid;
    grid-gap: 30px;
    justify-content: center;
}

.box h2, .box h3, .box h4 {
    font-family: "Open Sans", sans-serif;
}

.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 > div {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-sizing: border-box;
}

.box.shadow > div {
    box-shadow: 0 0 20px 0 var(--border-color);
}

.box > div img {
    height: 35px;
}

.box > div .title {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.box a {
    text-decoration: underline;
}

.box > div:empty {
    border: 0;
    box-shadow: initial;
}

.space200 {
    height: 200px;
    position: relative;
}

.space100 {
    height: 100px;
    position: relative;
}

.space50 {
    height: 50px;
    position: relative;
}

.line::before {
    content: '';
    height: 1px;
    background-color: var(--border-color);
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
}

.products {
    flex: 1;
}

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

.products .jpicker-content {
    font-weight: normal;
    width: 300px;
    margin-top: 30px !important;
}

.products .jpicker-item {
    padding: 10px;
}

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

.products .jpicker-item > a > img {
    margin-right: 10px;
}

.products .jpicker-item > a > span {
    flex: 1;
}

.products .jpicker-item > a > b {
    font-size: 12px;
    background-color: #EDEDED;
    padding: 0 10px;
    color: black;
}

.home-container {
    position: relative;
}

.home-container img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    margin-left: -110px;
    margin-bottom: -60px;
}

.bg-section {
    position: absolute;
    left: 0;
    right: 0;
    z-index: -9;
}


@media (max-width: 1300px) {
    .bg-section {
        display: none;
    }
}

.button-group {
    border: 1px solid #E6E2E2;
    border-radius: 5px;
    display: inline-flex;
    padding: 5px;
    flex-wrap: nowrap;
}

.button-group button {
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.button-group button:not(.selected) {
    background-color: transparent;
    border-color: white;
    color: #333333;
}

.hljs-comment, .hljs-quote {
    color: #b4b4b4 !important;
}

.hljs-number {
    color: #D4BFD1 !important;
}

code.highlight {
    background-color: #eee;
    padding: 2px 6px;
    border-radius: 3px;
}

.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: black;
}

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

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

.nowrap {
    white-space: nowrap;
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

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

    .limit-75 {
        width: initial;
    }

    .limit-85 {
        width: initial;
    }

    .space200 {
        height: 100px;
    }

    .example .jtabs {
        overflow: auto;
        width: inherit;
    }

    .md pre > code {
        white-space: pre;
    }
}

@media (min-width: 600px) {

    .home {
        margin-top: 60px;
    }

    .home h1 {
        font-size: 3.3em;
    }

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

.breadcrumb {
    padding: 30px 0 0 0;
    font-size: 0.9em;
    line-height: 24px;
}

.breadcrumb i {
    font-size: 16px;
    line-height: 24px;
    margin: 0 5px;
    color: #888;
}

.breadcrumb strong {
    font-weight: normal;
}

.new {
    position: relative;
}

.new:after {
    position: absolute;
    top: 4px;
    right: 10px;
    content: 'New';
    font-size: 0.8em;
    color: red;
}

.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;
}

.button-copy-code {
    background: #2e3440;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border: none;
}

.button-copy-code-demo {
    background: transparent;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border: none;
    position: absolute;
    z-index: 1;
    right: 0;
    margin: 10px 30px 0 0;
}

.button-blitz {
    background: #2e3440;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border: none;
}

.code-wrapper {
    position: relative;
    padding: 10px;
    margin: 10px 0 0 10px;
    max-width: 1000px;
    min-width: 790px;
    width: 100%;
    height: 500px;
}

/* code mirror */
.CodeMirror {
    border: solid 1px var(--gray-active);
    border-radius: 5px;
    height: 100%;
    width: 1300px;
}

.CodeMirror-scroll {
  max-height: 600px;
  overflow-y: auto;
}

.CodeMirror-gutter {
    background-color: #f0f0f0;
    width: 10px;
}

.CodeMirror-foldmarker {
    font-size: 20px;
    color: #000000;
    box-shadow: none !important; /* Remove sombra/glow */
    text-shadow: none !important;
}

.CodeMirror-foldgutter-folded {
    color:#000000;
}

.CodeMirror-foldgutter-folded:after {
    color:#000000;
}