:root{
    --doc-header-height:68px;
    --doc-aside-width:240px;
    --doc-exp-width:240px;
    --doc-mobile-exp-nav-height:50px;
}
html,body{
    min-height: 100dvh;
}

body{
    display: flex;
    flex-direction: column;    
}

.doc-header {
    border-bottom: solid 1px var(--bulma-border-weak);
    position: fixed;
    inset-inline-start: 0;
    inset-block-start: 0;
    width: 100%;
    height:var(--doc-header-height);
    overflow: hidden;
    z-index: 10;
}

.doc-aside-menu {
    left:0px;
    top: var(--doc-header-height);
    position: fixed;    
    z-index: 9;
    padding: 1rem;
    width: var(--doc-aside-width);
    height: 100%;
    min-height: 100%;
    overflow:auto;
    background-color: var(--bulma-scheme-main);
    border-right: solid 1px var(--bulma-border-weak);
}


.doc-main{
    display: flex;
    padding-top:var(--doc-header-height);
    padding-inline-start: var(--doc-aside-width);
}

.doc-content{
    flex:1;
    width: 100%;
    padding: 2rem 6rem;
}
.doc-exp-menu {
    min-width: var(--doc-exp-width);    
    font-size: 0.8125rem;
}
.doc-main .content h1,
.doc-main .content h2,
.doc-main .content h3,
.doc-main .content h4 {
    scroll-margin-top: calc(var(--doc-header-height) + 1.5rem);
}
.outline-marker {
    display: block;   
    width: 2px;
    height: 1rem;
    background-color: var(--bulma-primary);
    position: absolute; 
    left:0px;
    opacity: 0;    
    transition: all 0.3s;
    transform: scaleY(0.2);
    transform-origin: 50% 50%;
}
.outline-marker.show{
    opacity: 1;
    transform: scaleY(1);
}
.doc-exp-menu aside {
    position: fixed;
    top: 0;
    border-inline-start: 1px solid var(--sl-color-hairline);    
    border-left: solid 1px var(--bulma-border-weak);
    padding-top: var(--doc-header-height);
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}
.exp-content summary {
    font-size: 1rem;
    font-weight: 500;
}
.exp-content {
    padding: 1rem;
}
.exp-content a {
    color:var(--bulma-text);
    transition: all 0.3s;
}
.exp-content a:hover {
    color:var(--bulma-text-weak);
}
.exp-content a:active {
    color:var(--bulma-link-text);
}

.exp-content a.is-active {
    color:var(--bulma-link-text);
}

.exp-content li {
    line-height: 2;
}
.exp-content li ul {
    padding-inline-start: 1rem;
}

/** mobile */
.doc-mobile-exp-menu {
    position: fixed;
    height: var(--doc-mobile-exp-nav-height);
    top:var(--doc-header-height);
    left:var(--doc-aside-width);
    border-bottom: solid 1px var(--bulma-border-weak);    
    background-color: var(--bulma-scheme-main);
    visibility: collapse;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 5;

}
.doc-mobile-exp-menu .exp-button{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding:0px 1rem;
}

.doc-mobile-exp-menu .dropdown-menu{
    padding-top:1px;
    width:100%;
}

.mobile-exp-content {
    padding: 1rem;
    border-bottom: solid 1px var(--bulma-border-weak);    
    background-color: var(--bulma-scheme-main);
    font-size: 0.8125rem;  
}

.mobile-topbar {
    display: none;
    padding-bottom: 0.55rem;
}
.mobile-topbar hr.btn-hr{
    margin:0.65rem 0px;
}

.doc-aside-menu.is-active {
    display: block;
}
.doc-main .content table{
    width:100%;
}
.doc-main .content .tabs {
    display: block;
}
.doc-main .content .tabs ul {
    margin:0px;
}
.content .tab-items>div[data-tab] {
    display: none;
}
.content .tab-items>div.is-active{
    display: block;
}
.doc-main .content .tab-items{
    position: relative;
}
.doc-main .content .copy-box
{
    position: absolute;
    z-index: 4;
    top:0.5rem;
    right:0.5rem;
}
.doc-main .tabs .copy-box .icon:last-child,
.doc-main .tabs .copy-box .icon:first-child {
    margin:0px;
}
.doc-main .copy-success-text{
    opacity: 0;
    transition: all 0.3s;
}
.doc-main .copy-success-text.show{
    opacity: 1;
}
.tabs .tab-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bulma-background);
    border-bottom: var(--bulma-tabs-border-bottom-width) var(--bulma-tabs-border-bottom-style) var(--bulma-tabs-border-bottom-color);
    padding:var(--bulma-tabs-link-padding);
   
}
@media screen and (max-width: 1150px) {
    .doc-mobile-exp-menu {
        visibility:visible;
    }  
    .doc-main{
        display: flex;
        padding-top:calc(var(--doc-header-height) + var(--doc-mobile-exp-nav-height));
        padding-inline-start: var(--doc-aside-width);
    }
    .doc-exp-menu {
        display: none;
    }
    .doc-content{
        padding: 1.8rem 4rem;
    }
}
@media screen and (max-width: 1023px) {
    .mobile-topbar {
        display: block;
    }
    .doc-main{
        padding-inline-start: 0px;        
    }
    .doc-mobile-exp-menu {
        left:0px;
    }
    .doc-aside-menu {
        display:none;
    }
    .doc-content{
        padding: 1.2rem;
    }
    .doc-main .content h1,
    .doc-main .content h2,
    .doc-main .content h3,
    .doc-main .content h4{
        scroll-margin-top: calc(var(--doc-header-height) + var(--doc-mobile-exp-nav-height) + 1.5rem);
    }
}