body.demo-site {
    margin-top: 40px;
}

#gm-demo-bar {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    position: fixed;
    display: block;
    top: 0;
    width: 100%;
    height: auto;
    background: #3c3640;
    max-height: 40px;
    z-index: 9999;
    box-shadow: 0 2px 2px rgba(0,0,0,0.3);
}

.admin-bar #gm-demo-bar {
    margin-top: 32px !important;
}

.demo-bar-inner {
    width: 100%;
    max-width: 1280px;
    display: flex;
    position: relative;
    margin: 0 auto;
}

.demo-bar-nav {
    position: relative;
    width: 30%;
}

.demo-menu-toggle {
    border: 0;
    outline: 0;
    cursor: pointer;
    background: #3c3640;
    padding: 10px;
    color: white;
    width: auto;
    font-family: "Montserrat", sans-serif;
    border-radius: 0;
}

.demo-menu-toggle span {
    margin-left: 3px;
    vertical-align: middle;
}

.demo-menu-toggle:hover {
     background: #d67c46;
     color: white;
 }

.subsite-nav-list {
    padding: 0;
    margin: 0;
    min-width: 240px;
    list-style-type: none;
    display: none;
    position: absolute;
    top: 100%;
    background: #3c3640;
}

.subsite-nav-list li {
    margin: 0;
    display: block;
}

.subsite-nav-list a,
.subsite-nav-list a:visited{
    color: white;
    display: block;
    padding: 10px;
}

.subsite-nav-list a:hover,
.subsite-nav-list a:active{
    color: white;
    background: #d67c46;
    text-decoration: none;
}

.demo-bar-right {
    align-self: flex-end;
    margin-left: auto;
    text-align: right;
}

.btn,
.btn:visited {
    display: inline-block;
    color: white;
    padding: 10px;
}

.btn:hover,
.btn:active {
    background: #d67c46;
    text-decoration: none;
    color: white !important;
}

.btn span {
    margin-left: 3px;
}


@media screen and (max-width: 784px ) {

    body.demo-site {
        margin-top: 0;
        padding-bottom: 80px;
        height: auto;
    }

    #gm-demo-bar {
        top: auto;
        bottom: 0;
        max-height: none;
        box-shadow: 0 -2px 2px rgba(0,0,0,0.3);
    }

    .demo-bar-inner {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .demo-bar-nav,
    .demo-bar-right {
        width: 100%;
        text-align: center;
    }
    .subsite-nav-list {
        width: 100%;
        top: auto;
        bottom: 100%;
    }
}

@media screen and (max-width: 489px ) {
    body.demo-site {
        padding-bottom: 120px;
    }
}

