@keyframes animateLegend {
    0% {
        opacity: 0
    }

    1% {
        opacity: .1
    }

    100% {
        opacity: 1
    }
}

.guide-header {
    padding: 32px 0;
    border-bottom: 1px solid var(--oha-border-color)
}

.breadcrumb-wrapper {
    padding: 8px 0 32px
}

.legend {
    background-color: var(--oha-white);
    margin-bottom: 32px;
    -webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,.3);
    -moz-box-shadow: 0 4px 5px 0 rgba(0,0,0,.3);
    box-shadow: 0 4px 5px rgba(0,0,0,.3)
}

@media(min-width:1400px) {
    .legend {
        margin-right: 32px
    }
}

.legend span.title {
    display: block;
    padding: 12px 8px 10px;
    text-transform: uppercase;
    color: var(--oha-black)
}

.legend .legend-item {
    width: 100%;
    border-top: 1px solid var(--oha-gray-500)
}

    .legend .legend-item .legend-header {
        position: relative
    }

        .legend .legend-item .legend-header button.legend-button, .legend .legend-item .legend-header a.legend-button {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border-radius: 0;
            border: 0;
            border-radius: 0;
            display: block;
            width: 100%;
            text-align: left;
            padding: 8px;
            cursor: pointer;
            background-color: var(--oha-white);
            color: #000;
            text-decoration: none;
            -webkit-transition: background-color .222s ease-out;
            -moz-transition: background-color .222s ease-out;
            -ms-transition: background-color .222s ease-out;
            -o-transition: background-color .222s ease-out;
            transition: background-color .222s ease-out
        }

            .legend .legend-item .legend-header button.legend-button:hover, .legend .legend-item .legend-header button.legend-button:active, .legend .legend-item .legend-header button.legend-button:focus, .legend .legend-item .legend-header a.legend-button:hover, .legend .legend-item .legend-header a.legend-button:active, .legend .legend-item .legend-header a.legend-button:focus {
                background-color: var(--oha-gray-300)
            }

    .legend .legend-item .legend-content {
        display: none;
        padding: 0
    }

        .legend .legend-item .legend-content .legend-body {
            opacity: 0
        }

            .legend .legend-item .legend-content .legend-body > ul {
                margin: 0;
                padding: 0;
                border: 0;
                list-style: none;
                display: block
            }

                .legend .legend-item .legend-content .legend-body > ul > li {
                    margin: 0;
                    padding: 0;
                    border: 0;
                    list-style: none;
                    display: block
                }

                    .legend .legend-item .legend-content .legend-body > ul > li a {
                        margin: 0;
                        padding: 0;
                        border: 0;
                        list-style: none;
                        display: block;
                        -webkit-transition: background-color .222s ease-out;
                        -moz-transition: background-color .222s ease-out;
                        -ms-transition: background-color .222s ease-out;
                        -o-transition: background-color .222s ease-out;
                        transition: background-color .222s ease-out;
                        color: var(--oha-black);
                        padding: 12px 8px 10px 16px
                    }

                        .legend .legend-item .legend-content .legend-body > ul > li a:hover, .legend .legend-item .legend-content .legend-body > ul > li a:active, .legend .legend-item .legend-content .legend-body > ul > li a:focus {
                            background-color: var(--oha-white)
                        }

                    .legend .legend-item .legend-content .legend-body > ul > li > ul {
                        display: none;
                        list-style-type: "-";
                        padding: 0 0 0 32px
                    }

                        .legend .legend-item .legend-content .legend-body > ul > li > ul > li {
                            padding: 0
                        }

                            .legend .legend-item .legend-content .legend-body > ul > li > ul > li > a {
                                padding: 0 0 12px 8px
                            }

                            .legend .legend-item .legend-content .legend-body > ul > li > ul > li.active > a {
                                font-weight: 600;
                                text-decoration: none
                            }

                    .legend .legend-item .legend-content .legend-body > ul > li.active {
                        background-color: var(--oha-white)
                    }

                        .legend .legend-item .legend-content .legend-body > ul > li.active > ul {
                            display: block
                        }

                        .legend .legend-item .legend-content .legend-body > ul > li.active > a {
                            font-weight: 600;
                            text-decoration: none
                        }

    .legend .legend-item.active {
        background-color: var(--oha-gray-200)
    }

        .legend .legend-item.active .legend-header button.legend-button {
            background-color: var(--oha-gray-300)
        }

        .legend .legend-item.active .legend-content {
            display: block
        }

    .legend .legend-item.open .legend-content .legend-body {
        opacity: 1
    }

    .legend .legend-item.animate .legend-content .legend-body {
        animation: animateLegend .79s ease-out;
        opacity: 1
    }

#content {
    border: 0
}

    #content.guide-body {
        padding: 32px 0 !important;
        background-color: var(--oha-gray-100)
    }

    #content .guide-content {
        padding: 16px 0
    }

@media(min-width:992px) {
    #content .guide-content {
        padding: 16px 32px
    }
}

.example {
    margin: 32px 0;
    padding: 0;
    background-color: var(--oha-white)
}

.highlight {
    margin: 0 0 32px;
    padding: 0
}

    .highlight > pre {
        margin: 0;
        padding: 8px;
        border-radius: 8px;
        white-space: pre-wrap;
        word-wrap: break-word;
        -webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,.3);
        -moz-box-shadow: 0 4px 5px 0 rgba(0,0,0,.3);
        box-shadow: 0 4px 5px rgba(0,0,0,.3)
    }

.code-copy-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    display: block;
    padding: 8px;
    background-color: #272822;
    text-align: center;
    width: 110px;
    color: #fff;
    margin-top: 32px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 2px;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,.3);
    -moz-box-shadow: 0 4px 5px 0 rgba(0,0,0,.3);
    box-shadow: 0 4px 5px rgba(0,0,0,.3);
    -webkit-transition: background-color .222s ease-out;
    -moz-transition: background-color .222s ease-out;
    -ms-transition: background-color .222s ease-out;
    -o-transition: background-color .222s ease-out;
    transition: background-color .222s ease-out
}

    .code-copy-btn:hover, .code-copy-btn:active, .code-copy-btn:focus {
        text-decoration: underline;
        background-color: #000;
        color: #e6db74
    }
