/*============================ Layout ========================================*/
:root {
    --bx-panel-height: 0px;
    --bx-panel-fixed: 0;
}

html, body  {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
html.is-mobile-ios {
    overflow: hidden;
}
html {
    /*scroll-padding: calc((var(--bx-panel-height, 0px) * var(--bx-panel-fixed, 0px)) + var(--header-height, 0px) + (var(--lead-magnet-height, 0px) * var(--is-lead-magnet, 0px)) + 60px) 0 0 0;*/
}
body {
    position: relative;
    height: auto;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    flex: 0 0 auto;

    --is-index-page: 0;
}
.is-mobile-ios body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
body.is-index-page {
    --is-index-page: 1;
}
html.scroll-lock {
    /*scrollbar-gutter: stable;*/
}
.scroll-lock body {
    /*overflow: hidden;*/
}

.is-bx-panel {
    --bx-panel-height: 147px;
    --bx-panel-fixed: 0;
}
.is-bx-panel--folded {
    --bx-panel-height: 39px;
}
.is-bx-panel--fixed {
    --bx-panel-fixed: 1;
}

#bx-panel-back {
    flex: 0 0 auto;
}
/*=========================== !Layout! =======================================*/