/* Chawso Encode - responsive layout overrides (added by Chawso, not upstream).
   Makes operations/recipe/input/output usable on narrow screens by stacking
   the split.js panes vertically and letting the banner wrap. */
@media (max-width: 767.98px) {
    #banner {
        height: 60px;
        line-height: 28px;
        flex-wrap: wrap;
        overflow: hidden;
    }
    #banner .col {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    #banner #notice-wrapper {
        display: none;
    }
    #workspace-wrapper {
        top: 60px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    div#operations,
    div#recipe,
    div#IO,
    div#input,
    div#output,
    #operations.split,
    #recipe.split,
    #IO.split,
    #input.split,
    #output.split {
        float: none !important;
        width: 100% !important;
        position: relative !important;
        border-bottom: 2px solid #ccc;
    }
    .gutter.gutter-horizontal,
    .gutter.gutter-vertical {
        display: none !important;
    }
    #IO, #IO.split {
        height: auto !important;
    }
    #operations, #operations.split {
        height: 45vh !important;
    }
    #recipe, #recipe.split {
        height: 42vh !important;
    }
    #input, #input.split {
        height: 34vh !important;
    }
    #output, #output.split {
        height: 34vh !important;
    }
    #banner a {
        font-size: 13px;
    }
}
