html,
body {
    height: 100%;
    min-height: 100%;
}

.demo-active {
    background: #000;

    #demo-app {
        min-height: 100%;
    }

    #header,
    #sidebar,
    #hero,
    #content,
    #footer,
    .sidebar-overlay {
        display: none;
    }
}

.demo-overlay {
    background: black;
    width: 100%;
    height: 100%;
    min-height: 100%;
    line-height: 1.3;
    overflow: auto;
    color: #DDDDDD;
    display: block;
    font-size: 15px;
    font-family: 'Ubuntu Mono', 'Monaco', monospace;
    @include box-shadow(0px -2px 30px 0px rgba(0, 0, 0, 0.40));
    z-index: 1000;
}

.instruction-wrapper {
    background: #000;
    width: 100%;
    padding: 20px;
    position: fixed;
    top: 0;
    z-index: 5;
}

.instruction {
    overflow: auto;
    padding: 10px;
    max-width: 800px;
    min-width: 400px;
    margin: 0 auto;
    background-color: darken($blue, 28%);

    code {
        background: none;
        color: inherit;
        font-weight: 700;
        padding-left: 10px;
    }

    a {
        color: white;
        text-decoration: underline;
    }

    p:last-child {
        margin-bottom: 0px;
    }

    ul {
        padding-left: 15px;
    }

    li {
        list-style-type: none;
    }

}

.close-terminal{
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    color: #8B8A8F;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    @include lato-light();
    transition: all 250ms ease-in;
    cursor: pointer;
    z-index: 10;

    &:hover{
        text-decoration: none;
        color: $white;
        transition: all 250ms ease-in;
    }
}


.demo-terminal {
    background-color: black;
    padding: 25px 65px 0 25px;
    padding-top: 250px;
    padding-bottom: 50px;
    min-height: 100%;
    width: 100%;
    display: block;
    overflow: auto;
    position: relative;
    z-index: 1;

    &.fullscreen {
        min-height: 300px;
        padding-top: 20px;
        z-index: 6;
    }

    .log {
        white-space: pre;
    }

    input.shell {
        padding: 0;
        margin: 0;
        display: inline-block;
        bottom: 0;
        width: 90%;
        background-color: black;
        border: 0;
        outline: 0;

        &.hidden {
            opacity: 0;
        }
    }
}
